/* ==========================================================================
   Content Writing page (Service: Content Writing)
   Own "midnight violet" colours, related to the site brand: deep violet page #0c0820, lavender
   paper #f5f2ff for the editorial pieces, orchid pen #d946ef, violet highlighter #7c3aed, gold
   #fbbf24 and sky #38bdf8 accents. Accent words use Instrument Serif.
   Sections live in pages/content-writing/sections/.
   ========================================================================== */

body.page-template-service-content-writing { --cw-bg: #0c0820; --cw-text: #f1edff; --cw-soft: #b3abd3; --cw-dline: rgba(167, 139, 250, .2); --cw-paper: #f5f2ff; --cw-paper2: #e6defc; --cw-card: #fbfaff; --cw-ink: #1a1238; --cw-muted: #5b5478; --cw-red: #d946ef; --cw-hl: #fbbf24; --cw-teal: #38bdf8; --cw-indigo: #7c3aed; --cw-line: rgba(26, 18, 56, .12); --cw-serif: "Instrument Serif", Georgia, "Times New Roman", serif; background: var(--cw-bg); background-image: radial-gradient(900px 600px at 100% 0%, rgba(124, 58, 237, .22), transparent 60%), radial-gradient(800px 600px at 0% 45%, rgba(217, 70, 239, .1), transparent 60%), radial-gradient(rgba(167, 139, 250, .09) 1px, transparent 1.3px); background-size: auto, auto, 22px 22px; color: var(--cw-text); }

/* Shared ------------------------------------------------------------------------------------ */
.cwsec { position: relative; padding-block: clamp(44px, 5.4vw, 84px); color: var(--cw-text); }
.cwsec + .cwsec::before { content: "✻"; position: absolute; top: -12px; left: 50%; translate: -50% 0; color: var(--cw-red); font-size: 18px; line-height: 24px; padding: 0 16px; background: var(--cw-bg); }
.cwsec + .cwsec::after { content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: min(760px, 80%); height: 1px; translate: -50% 0; background: var(--cw-dline); }
.cwhead { max-width: 760px; margin: 0 auto clamp(26px, 3.6vw, 44px); text-align: center; }
.cwhead--left { margin-inline: 0; text-align: left; }
.cwkick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 4px; background: linear-gradient(120deg, #7c3aed, #c026d3); color: #fff; box-shadow: 0 10px 22px -12px #c026d3; font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; rotate: -1.5deg; }
.cwkick svg { color: var(--cw-hl); }
.cwkick--dark { background: var(--cw-hl); color: var(--cw-ink); } .cwkick--dark svg { color: var(--cw-ink); }
.cwhead__title { margin: 16px 0 0; color: var(--cw-text); font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.cwhead__title em, .cwlet h2 em { font-family: var(--cw-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.cwhead__title em { color: #f5d0fe; background: linear-gradient(transparent 60%, rgba(124, 58, 237, .75) 60%, rgba(124, 58, 237, .75) 92%, transparent 92%); padding: 0 .08em; }
.cwhead__text { margin: 12px 0 0; color: var(--cw-soft); font-size: 1.05rem; line-height: 1.7; }
.cwbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 6px; background: linear-gradient(120deg, #7c3aed, #a21caf); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 5px 5px 0 var(--cw-hl); transition: transform .25s, box-shadow .25s, gap .25s; }
.cwbtn:hover { color: #fff; transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--cw-hl); gap: 14px; }
.cwbtn--line { background: transparent; border: 2px solid var(--cw-ink); color: var(--cw-ink); box-shadow: 5px 5px 0 var(--cw-red); }
.cwbtn--line:hover { background: var(--cw-ink); color: #fff; box-shadow: 7px 7px 0 var(--cw-red); }

/* Hero (word tiles) --------------------------------------------------------------------------- */
.cwhero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(20px, 3vw, 36px)) 0 clamp(44px, 5vw, 76px); text-align: center; color: var(--cw-text); }
.cwhero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(100px); }
.cwhero__glow--1 { left: 50%; top: 10%; width: 780px; height: 420px; translate: -50% 0; background: radial-gradient(circle, rgba(124, 58, 237, .5), rgba(217, 70, 239, .18) 55%, transparent 70%); animation: float-a 16s ease-in-out infinite; }
.cwhero__glow--2 { left: 50%; bottom: -10%; width: 900px; height: 300px; translate: -50% 0; background: radial-gradient(circle, rgba(56, 189, 248, .16), transparent 65%); }
.cwhero__float { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.cwhero__float span { position: absolute; padding: 8px 16px; border-radius: 10px; background: color-mix(in srgb, var(--c) 14%, rgba(255, 255, 255, .03)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: color-mix(in srgb, var(--c) 75%, #fff); font-family: var(--cw-serif); font-size: 1.25rem; font-style: italic; white-space: nowrap; rotate: var(--r); opacity: .55; box-shadow: 0 0 30px -10px var(--c); animation: cwdrift 10s ease-in-out infinite; }
@keyframes cwdrift { 50% { transform: translateY(-18px); } }
.cwhero__inner { display: flex; flex-direction: column; align-items: center; }
.cwhero .breadcrumbs ol { justify-content: center; margin-bottom: 20px; background: rgba(255, 255, 255, .05); border-color: var(--cw-dline); }
.cwhero .breadcrumbs a, .cwhero .breadcrumbs li, .cwhero .breadcrumbs span { color: var(--cw-soft); }
.cwhero .breadcrumbs [aria-current] { color: var(--cw-text); }
.cwtiles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(8px, 1.4vw, 16px); max-width: 1100px; margin: 22px 0 22px; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.cwtile { display: inline-block; padding: .12em .34em .18em; border-radius: .18em; background: var(--cw-card); color: var(--cw-ink); rotate: var(--r); box-shadow: 0 .12em 0 rgba(0, 0, 0, .25), 0 .35em .6em -.2em rgba(0, 0, 0, .55); transition: rotate .4s var(--ease), transform .4s var(--ease); animation: cwtilein .7s var(--ease) both; animation-delay: calc(var(--i) * .1s); }
.cwtile:hover { rotate: 0deg; transform: translateY(-6px) scale(1.04); }
@keyframes cwtilein { from { opacity: 0; transform: translateY(30px) scale(.8); } }
.cwtile--orchid { background: linear-gradient(135deg, #e879f9, #a21caf); color: #fff; box-shadow: 0 .12em 0 #701a75, 0 .35em .8em -.2em rgba(217, 70, 239, .8); }
.cwtile--gold { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1a1238; box-shadow: 0 .12em 0 #b45309, 0 .35em .8em -.2em rgba(251, 191, 36, .7); }
.cwtile--amp { padding: .1em .22em .16em; background: transparent; color: #c4b5fd; box-shadow: none; font-family: var(--cw-serif); font-style: italic; font-weight: 400; }
.cwhero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cwbtn--glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); color: #fff; box-shadow: 5px 5px 0 var(--cw-red); }
.cwbtn--glass svg { color: var(--cw-hl); }
.cwbtn--glass:hover { background: #fff; color: var(--cw-ink); box-shadow: 7px 7px 0 var(--cw-red); }
.cwhero__promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.cwhero__promise li { display: inline-flex; align-items: center; gap: 7px; color: var(--cw-text); font-size: .86rem; font-weight: 700; }
.cwhero__promise svg { color: var(--cw-teal); }
.cwhero__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(980px, 100%); margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; list-style: none; text-align: left; }
.cwhero__cards li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: linear-gradient(130deg, color-mix(in srgb, var(--c) 18%, #17102f), #130d2a 70%); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transition: transform .35s var(--ease), box-shadow .35s; }
.cwhero__cards li:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -24px var(--c); }
.cwhero__cards li > span:first-child { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #1a1238; }
.cwhero__cards li > span:last-child { display: grid; gap: 2px; }
.cwhero__cards strong { color: var(--cw-text); font-family: var(--font-display); }
.cwhero__cards small { color: var(--cw-soft); font-size: .84rem; }

/* Hero intro sentence with inline chips */
.cwsent { max-width: 860px; margin: 0 0 28px; padding: 18px 24px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--cw-dline); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--cw-soft); font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 2.25; }
.cwsent__chip { display: inline-flex; align-items: center; gap: 6px; margin: 0 2px; padding: 3px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); color: #fff; font-weight: 700; line-height: 1.5; vertical-align: middle; transition: transform .3s var(--ease), background .3s; }
.cwsent__chip svg { color: var(--c); }
.cwsent__chip:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 30%, transparent); }
.cwsent__hand { position: relative; display: inline-block; color: #fff; font-family: var(--cw-serif); font-style: italic; font-size: 1.3em; line-height: 1; }
.cwsent__hand svg { position: absolute; left: 0; right: 0; bottom: -.25em; width: 100%; height: .4em; overflow: visible; fill: none; stroke: var(--cw-hl); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: cwhand 1.2s var(--ease) .9s forwards; }
@keyframes cwhand { to { stroke-dashoffset: 0; } }
.cwsent__lang { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 3px; border-radius: 999px; background: #fff; color: var(--cw-ink); font-weight: 700; line-height: 1.6; vertical-align: middle; }
.cwsent__lang b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #7c3aed; color: #fff; font-size: .62rem; }
.cwsent__lang--ne b { background: #dc2626; font-size: .8rem; }
.cwsent__win { display: inline-flex; align-items: center; gap: 6px; padding: 2px 4px; color: #f5d0fe; font-weight: 800; background: linear-gradient(transparent 62%, rgba(124, 58, 237, .7) 62%); line-height: 1.5; }
.cwsent__win svg { color: var(--cw-red); }
.cwsent__win--search { color: #bae6fd; background: linear-gradient(transparent 62%, rgba(56, 189, 248, .4) 62%); }
.cwsent__win--search svg { color: var(--cw-teal); }
/* Hero background layers */
.cwhero__bg { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.cwhero__aurora { position: absolute; inset: -10% -10% 20%; filter: blur(70px); opacity: .6; }
.cwhero__aurora i { position: absolute; width: 45%; height: 60%; border-radius: 50%; mix-blend-mode: screen; animation: cwaur 20s ease-in-out infinite alternate; }
.cwhero__aurora i:nth-child(1) { left: 0; top: 5%; background: radial-gradient(circle, rgba(124, 58, 237, .7), transparent 65%); }
.cwhero__aurora i:nth-child(2) { right: 0; top: 0; background: radial-gradient(circle, rgba(217, 70, 239, .5), transparent 65%); animation-duration: 24s; animation-delay: -8s; }
.cwhero__aurora i:nth-child(3) { left: 30%; top: 40%; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 65%); animation-duration: 28s; animation-delay: -14s; }
@keyframes cwaur { 50% { transform: translate(8%, 6%) scale(1.15); } 100% { transform: translate(-6%, -4%) scale(.95); } }
.cwhero__lines { position: absolute; inset: 0; background: repeating-linear-gradient(transparent 0 39px, rgba(167, 139, 250, .1) 39px 40px); -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 80%); }
.cwhero__lines::before { content: ""; position: absolute; left: 12%; top: 0; bottom: 0; width: 2px; background: rgba(217, 70, 239, .22); }
.cwhero__big { position: absolute; color: transparent; -webkit-text-stroke: 1.5px rgba(196, 181, 253, .16); font-family: var(--cw-serif); line-height: 1; }
.cwhero__big--q { left: 4%; top: 6%; font-size: clamp(14rem, 30vw, 28rem); }
.cwhero__big--aa { right: 3%; bottom: 4%; font-size: clamp(9rem, 20vw, 18rem); font-style: italic; }
.cwhero__ink { position: absolute; left: 0; right: 0; bottom: 6%; width: 100%; height: 160px; fill: none; stroke: rgba(217, 70, 239, .45); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; filter: drop-shadow(0 0 8px rgba(217, 70, 239, .6)); animation: cwinkline 6s var(--ease) .4s forwards; }
@keyframes cwinkline { to { stroke-dashoffset: 0; } }
.cwhero__spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(251, 191, 36, .8); animation: cwspark 3.2s ease-in-out infinite; }
.cwhero__spark:nth-child(3n) { box-shadow: 0 0 10px 2px rgba(217, 70, 239, .8); }
.cwhero__spark:nth-child(3n+1) { box-shadow: 0 0 10px 2px rgba(56, 189, 248, .8); }
@keyframes cwspark { 0%, 100% { opacity: .1; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.4); } }

/* Shelf (bookshelf) ------------------------------------------------------------------------- */
.cwshelf__wrap { position: relative; max-width: 940px; margin: 0 auto; padding: 60px 20px 0; }
.cwshelf__books { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 330px; margin: 0; padding: 0; list-style: none; }
.cwbook { position: relative; width: var(--w); height: var(--h); outline: none; cursor: pointer; transition: transform .45s var(--ease); }
.cwbook:nth-child(3) { rotate: -6deg; transform-origin: bottom left; margin-left: 10px; }
.cwbook__spine { display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; padding: 14px 0; border-radius: 4px 4px 2px 2px; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 18%, rgba(255, 255, 255, .15) 50%, transparent 82%, rgba(0, 0, 0, .25)), var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 4px 0 10px -4px rgba(0, 0, 0, .4); }
.cwbook__spine i { width: 70%; height: 4px; border-top: 2px solid rgba(255, 255, 255, .55); border-bottom: 2px solid rgba(255, 255, 255, .55); }
.cwbook__spine b { color: #fff; font-family: var(--cw-serif); font-size: 1.15rem; font-weight: 400; writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.cwbook:nth-child(5) .cwbook__spine b { color: var(--cw-ink); text-shadow: none; } .cwbook:nth-child(5) .cwbook__spine i { border-color: rgba(26, 18, 56, .5); }
.cwbook__note { position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 18px); width: 220px; padding: 14px 16px; translate: -50% 10px; border-radius: 10px; background: var(--cw-card); border: 2px solid var(--c); color: var(--cw-muted); font-size: .86rem; line-height: 1.5; box-shadow: 0 20px 34px -18px rgba(26, 18, 56, .5); opacity: 0; pointer-events: none; transition: opacity .3s, translate .35s var(--ease); }
.cwbook__note strong { display: block; margin-bottom: 4px; color: var(--cw-ink); font-family: var(--font-display); }
.cwbook__note::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; translate: -50% -7px; rotate: 45deg; background: var(--cw-card); border-right: 2px solid var(--c); border-bottom: 2px solid var(--c); }
.cwbook:hover, .cwbook:focus-visible { transform: translateY(-26px); }
.cwbook:hover .cwbook__note, .cwbook:focus-visible .cwbook__note, .cwbook:focus .cwbook__note { opacity: 1; translate: -50% 0; }
.cwbook:focus-visible .cwbook__spine { outline: 3px solid var(--cw-hl); outline-offset: 3px; }
.cwshelf__plant { position: relative; width: 70px; height: 110px; margin-left: 12px; }
.cwshelf__plant b { position: absolute; left: 12px; right: 12px; bottom: 0; height: 44px; border-radius: 4px 4px 12px 12px; background: var(--cw-red); }
.cwshelf__plant i { position: absolute; left: 30px; bottom: 40px; width: 14px; height: 54px; border-radius: 100% 0; background: var(--cw-teal); transform-origin: bottom; }
.cwshelf__plant i:nth-child(1) { rotate: -35deg; } .cwshelf__plant i:nth-child(2) { height: 66px; } .cwshelf__plant i:nth-child(3) { rotate: 35deg; }
.cwshelf__board { display: block; height: 22px; margin: 0 -20px; border-radius: 4px; background: linear-gradient(180deg, #6d4fd1, #3b2a85); box-shadow: 0 18px 24px -14px rgba(26, 18, 56, .6); }
.cwshelf__list { display: none; }

/* Red pen ----------------------------------------------------------------------------------- */
.cwred__grid { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; max-width: 1060px; margin: 0 auto; }
.cwred__grid > * { min-width: 0; }
.cwred__sheet { position: relative; padding: 46px 30px 30px; background: var(--cw-card) repeating-linear-gradient(transparent 0 35px, rgba(124, 58, 237, .14) 35px 36px); background-position: 0 14px; border: 1px solid var(--cw-line); box-shadow: 0 30px 60px -40px rgba(26, 18, 56, .5); }
.cwred__sheet--before { rotate: -1.5deg; }
.cwred__sheet--before::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: rgba(217, 70, 239, .35); }
.cwred__sheet p { margin: 0; color: var(--cw-ink); font-size: 1.12rem; line-height: 36px; }
.cwred__sheet--before p { padding-left: 14px; }
.cwred__sheet del { color: rgba(26, 18, 56, .45); text-decoration: line-through; text-decoration-color: var(--cw-red); text-decoration-thickness: 2px; }
.cwred__sheet ins { position: relative; display: inline-block; margin: 0 4px; color: var(--cw-red); font-family: "Segoe Print", "Bradley Hand", var(--cw-serif); font-size: .98rem; text-decoration: none; rotate: -2deg; }
.cwred__circle { position: absolute; right: 18px; bottom: 16px; padding: 4px 12px; border: 2px solid var(--cw-red); border-radius: 50%; color: var(--cw-red); font-family: "Segoe Print", "Bradley Hand", var(--cw-serif); font-size: .9rem; rotate: -8deg; }
.cwred__tag { position: absolute; left: 30px; top: -14px; padding: 5px 14px; background: var(--cw-red); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cwred__tag--ok { background: var(--cw-teal); }
.cwred__sheet--after { rotate: 1deg; border-top: 4px solid var(--cw-teal); }
.cwred__sheet--after p { font-size: 1.25rem; font-family: var(--cw-serif); line-height: 1.6; }
.cwred__sheet mark { padding: 0 .15em; background: linear-gradient(transparent 50%, var(--cw-hl) 50%); color: var(--cw-ink); }
.cwred__ex { display: block; margin-top: 14px; color: var(--cw-muted); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cwred__arrow { justify-self: center; color: var(--cw-red); font-size: 2.6rem; font-weight: 800; animation: cwnudge 1.6s ease-in-out infinite; }
@keyframes cwnudge { 50% { transform: translateX(8px); } }
.cwred__rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1060px; margin: 30px auto 0; padding: 0; list-style: none; }
.cwred__rules li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px solid var(--cw-ink); border-radius: 10px; background: var(--cw-card); box-shadow: 4px 4px 0 var(--cw-ink); }
.cwred__rules b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cw-red); color: #fff; font-family: var(--cw-serif); font-size: 1.2rem; font-weight: 400; }
.cwred__rules span { display: grid; gap: 2px; color: var(--cw-muted); font-size: .88rem; line-height: 1.45; }
.cwred__rules strong { color: var(--cw-ink); font-family: var(--font-display); font-size: .98rem; }

/* Board (corkboard) ------------------------------------------------------------------------- */
.cwboard__cork { padding: clamp(26px, 4vw, 48px); border-radius: 16px; background: radial-gradient(rgba(0, 0, 0, .25) 1.4px, transparent 1.8px) 0 0 / 9px 9px, radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.4px) 4px 4px / 11px 11px, #3d2a7d; border: 14px solid #251a52; box-shadow: inset 0 0 40px rgba(10, 4, 30, .6), 0 30px 60px -36px rgba(26, 18, 56, .6); }
.cwboard__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); margin: 0; padding: 0; list-style: none; }
.cwcard { position: relative; padding: 26px 20px 20px; background: #fdfcff repeating-linear-gradient(transparent 0 25px, rgba(124, 58, 237, .16) 25px 26px); background-position: 0 58px; border-top: 22px solid #fdfcff; rotate: var(--r); box-shadow: 0 16px 24px -14px rgba(5, 0, 20, .7); transition: rotate .35s var(--ease), transform .35s var(--ease); }
.cwcard::before { content: ""; position: absolute; left: 16px; top: -22px; bottom: 0; width: 2px; background: rgba(217, 70, 239, .4); }
.cwcard:hover { rotate: 0deg; transform: scale(1.04); z-index: 2; }
.cwcard__pin { position: absolute; left: 50%; top: -30px; width: 22px; height: 22px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .7), var(--pin) 45%); box-shadow: 2px 5px 6px rgba(0, 0, 0, .35); }
.cwcard__no { color: var(--cw-red); font-family: var(--cw-serif); font-size: 1rem; }
.cwcard h3 { margin: 4px 0 6px; color: var(--cw-ink); font-size: 1.12rem; line-height: 1.25; }
.cwcard p { margin: 0; color: var(--cw-muted); font-size: .92rem; line-height: 26px; }
.cwboard__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.cwboard__benefits li { display: flex; gap: 12px; align-items: flex-start; }
.cwboard__benefits li > span:first-child { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff; }
.cwboard__benefits li > span:last-child { display: grid; gap: 4px; }
.cwboard__benefits mark { justify-self: start; padding: 0 4px; background: linear-gradient(100deg, transparent 2%, var(--cw-hl) 4%, var(--cw-hl) 96%, transparent 98%); color: var(--cw-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.cwboard__benefits small { color: var(--cw-soft); font-size: .9rem; }

/* SEO (doc with comments) -------------------------------------------------------------------- */
.cwdoc { max-width: 1060px; margin: 0 auto; border-radius: 14px; background: #eef0f6; border: 1px solid var(--cw-line); box-shadow: 0 40px 80px -50px rgba(26, 18, 56, .55); overflow: hidden; }
.cwdoc__bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--cw-line); }
.cwdoc__bar > span { display: flex; gap: 5px; } .cwdoc__bar > span i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .cwdoc__bar > span i:nth-child(2) { background: #febc2e; } .cwdoc__bar > span i:nth-child(3) { background: #28c840; }
.cwdoc__bar b { flex: 1; color: var(--cw-ink); font-size: .84rem; }
.cwdoc__bar em { padding: 2px 9px; border-radius: 999px; background: #eef0f6; color: var(--cw-muted); font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cwdoc__rows { display: grid; padding: 22px clamp(14px, 3vw, 30px); }
.cwdoc__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: center; }
.cwdoc__part { position: relative; padding: 12px 22px; background: #fff; border-left: 4px solid transparent; color: #202124; transition: background .3s; }
.cwdoc__row:first-child .cwdoc__part { padding-top: 28px; border-radius: 6px 6px 0 0; } .cwdoc__row:last-child .cwdoc__part { padding-bottom: 28px; border-radius: 0 0 6px 6px; }
.cwdoc__part::after { content: ""; position: absolute; left: 18px; right: 18px; top: 4px; bottom: 4px; border-radius: 4px; background: color-mix(in srgb, var(--c) 14%, transparent); opacity: 0; transition: opacity .3s; }
.cwdoc__row:hover .cwdoc__part::after { opacity: 1; }
.cwdoc__part > * { position: relative; z-index: 1; }
.cwdoc__part b { display: block; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.cwdoc__part small { display: block; color: #4d5156; font-size: .84rem; line-height: 1.5; }
.cwdoc__part p { margin: 0; font-size: .94rem; line-height: 1.6; }
.cwdoc__part strong { display: block; margin-bottom: 8px; font-family: Georgia, serif; font-size: 1.15rem; }
.cwdoc__part > i { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: #e3e5ea; } .cwdoc__part > i + i { width: 72%; }
.cwdoc__img { display: block; height: 70px; border-radius: 6px; background: radial-gradient(circle at 75% 35%, #c9a227 0 16%, transparent 17%), linear-gradient(120deg, #1f3d2b, #2f5a40); }
.cwdoc__part code { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 4px; background: #f1f3f4; color: #188038; font-size: .74rem; }
.cwdoc__part u { color: #1a0dab; text-decoration-color: #1a0dab; }
.cwdoc__comment { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--cw-line); border-left: 4px solid var(--c); box-shadow: 0 6px 14px -8px rgba(26, 18, 56, .3); transition: transform .3s var(--ease); }
.cwdoc__comment::before { content: ""; position: absolute; right: 100%; top: 50%; width: 26px; height: 2px; background: var(--c); }
.cwdoc__row:hover .cwdoc__comment { transform: translateX(-4px); }
.cwdoc__av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: .78rem; font-weight: 800; }
.cwdoc__comment > span:last-child { display: grid; gap: 1px; }
.cwdoc__comment strong { color: var(--cw-ink); font-size: .9rem; }
.cwdoc__comment small { color: var(--cw-muted); font-size: .8rem; line-height: 1.4; }
.cwdoc__row + .cwdoc__row .cwdoc__comment { margin-top: 10px; }

/* Contents (table of contents) -------------------------------------------------------------- */
.cwtoc__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.cwtoc__grid > * { min-width: 0; }
.cwtoc__grid .cwhead { margin-bottom: 0; }
.cwtoc__grid .cwbtn { margin-top: 24px; }
.cwtoc__page { position: relative; padding: clamp(26px, 4vw, 46px); background: var(--cw-card); border: 1px solid var(--cw-line); box-shadow: -10px 10px 0 #3d2a7d, -10px 10px 0 1px rgba(167, 139, 250, .4), 0 40px 70px -50px rgba(26, 18, 56, .6); }
.cwtoc__ribbon { position: absolute; right: 34px; top: -8px; width: 26px; height: 90px; background: var(--cw-red); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.cwtoc__page h3 { margin: 0 0 18px; color: var(--cw-ink); font-family: var(--cw-serif); font-size: 2.4rem; font-weight: 400; }
.cwtoc__page ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cwtoc__page li { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--cw-line); transition: padding .3s var(--ease); }
.cwtoc__page li:hover { padding-left: 8px; }
.cwtoc__num { flex: none; color: var(--cw-red); font-family: var(--cw-serif); font-size: 1.7rem; line-height: 1; }
.cwtoc__txt { flex: 1; display: grid; gap: 3px; min-width: 0; }
.cwtoc__line { display: flex; align-items: baseline; gap: 8px; }
.cwtoc__line strong { color: var(--cw-ink); font-family: var(--font-display); font-size: 1.05rem; }
.cwtoc__line i { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(26, 18, 56, .35); translate: 0 -4px; }
.cwtoc__line em { color: var(--cw-teal); font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cwtoc__txt small { color: var(--cw-muted); font-size: .88rem; }

/* Tone (mixer) ------------------------------------------------------------------------------ */
.cwmix { max-width: 1000px; margin: 0 auto; padding: clamp(18px, 3vw, 30px); border-radius: 22px; background: linear-gradient(160deg, #1f1645, #120c2a); border: 1px solid var(--cw-dline); color: var(--cw-paper); box-shadow: 0 40px 80px -40px rgba(26, 18, 56, .7); }
.cwmix__presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.cwmix__presets label { position: relative; cursor: pointer; }
.cwmix__presets input { position: absolute; opacity: 0; pointer-events: none; }
.cwmix__presets span { display: inline-block; padding: 10px 22px; border-radius: 999px; border: 2px solid rgba(251, 247, 239, .25); color: rgba(251, 247, 239, .7); font-weight: 800; transition: background .3s, color .3s, border-color .3s; }
.cwmix__presets label:hover span { border-color: var(--c); color: #fff; }
.cwmix__presets input:checked + span { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 10px 24px -10px var(--c); }
.cwmix__presets input:focus-visible + span { outline: 2px solid var(--cw-hl); outline-offset: 3px; }
.cwmix__desk { --cwk: var(--p0); --k: #38bdf8; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.cwmix:has(input[value="1"]:checked) .cwmix__slider { --cwk: var(--p1); } .cwmix:has(input[value="1"]:checked) .cwmix__desk { --k: #7c3aed; }
.cwmix:has(input[value="2"]:checked) .cwmix__slider { --cwk: var(--p2); } .cwmix:has(input[value="2"]:checked) .cwmix__desk { --k: #d946ef; }
.cwmix__slider { --cwk: var(--p0); display: grid; grid-template-columns: 74px 1fr 74px; align-items: center; gap: 12px; padding: 12px 0; color: rgba(251, 247, 239, .7); font-size: .8rem; font-weight: 700; }
.cwmix__slider span:last-child { text-align: right; }
.cwmix__track { position: relative; height: 8px; border-radius: 999px; background: rgba(251, 247, 239, .12); }
.cwmix__track i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--cwk); border-radius: inherit; background: var(--k); transition: width .6s var(--ease), background .4s; }
.cwmix__track b { position: absolute; left: var(--cwk); top: 50%; width: 24px; height: 24px; translate: -50% -50%; border-radius: 6px; background: #fff; box-shadow: 0 0 0 4px var(--k), 0 6px 12px rgba(0, 0, 0, .4); transition: left .6s var(--ease), box-shadow .4s; }
.cwmix__out { position: relative; min-height: 180px; padding: 22px; border-radius: 16px; background: var(--cw-card); color: var(--cw-ink); }
.cwmix__out small { color: var(--cw-muted); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cwmix__out p { display: none; margin: 10px 0 0; color: var(--cw-ink); font-family: var(--cw-serif); font-size: 1.6rem; line-height: 1.3; border-left: 4px solid var(--c); padding-left: 14px; animation: cwink .5s var(--ease) both; }
.cwmix:has(input[value="0"]:checked) [data-tone="0"], .cwmix:has(input[value="1"]:checked) [data-tone="1"], .cwmix:has(input[value="2"]:checked) [data-tone="2"] { display: block; }

/* Languages --------------------------------------------------------------------------------- */
.cwlang__wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; max-width: 1000px; margin: 0 auto; }
.cwlang__wrap > * { min-width: 0; }
.cwlang__card { position: relative; overflow: hidden; padding: clamp(24px, 3.4vw, 40px); border-radius: 22px; transition: transform .4s var(--ease); }
.cwlang__card:hover { transform: translateY(-6px) rotate(-.5deg); }
.cwlang__card--en { background: linear-gradient(140deg, #7c3aed, #4c1d95); color: #fff; }
.cwlang__card--ne { background: var(--cw-hl); color: var(--cw-ink); }
.cwlang__card b { display: block; font-family: var(--cw-serif); font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 400; line-height: 1; }
.cwlang__card--ne b { font-family: "Nirmala UI", "Mangal", "Noto Sans Devanagari", var(--cw-serif); font-weight: 700; font-size: clamp(3rem, 6vw, 4.8rem); }
.cwlang__card strong { display: block; margin: 14px 0 6px; font-family: var(--font-display); font-size: 1.2rem; }
.cwlang__card p { margin: 0; opacity: .85; line-height: 1.6; }
.cwlang__swap { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: 0 0 0 8px var(--cw-bg); animation: cwspin 6s ease-in-out infinite; }
@keyframes cwspin { 50% { rotate: 180deg; } }

/* Stamps (tools) ---------------------------------------------------------------------------- */
.cwstamp__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3vw, 30px); margin: 0; padding: 0; list-style: none; }
.cwstamp__item { display: grid; justify-items: center; gap: 4px; width: 170px; padding: 14px 14px 16px; background: #fdfcff; text-align: center; rotate: var(--r); filter: drop-shadow(0 12px 14px rgba(26, 18, 56, .25)); border: 7px dotted var(--cw-bg); outline: 1px solid var(--cw-line); outline-offset: -7px; box-shadow: 0 0 0 1px rgba(26, 18, 56, .06); transition: rotate .35s var(--ease), transform .35s var(--ease); }
.cwstamp__item:hover { rotate: 0deg; transform: scale(1.06); }
.cwstamp__pic { position: relative; display: grid; place-items: center; width: 100%; height: 100px; margin-bottom: 6px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 50%), var(--c); outline: 2px solid var(--c); outline-offset: 3px; }
.cwstamp__pic b { color: #fff; font-family: var(--cw-serif); font-size: 2.4rem; font-weight: 400; }
.cwstamp__pic i { position: absolute; right: -10px; bottom: 6px; padding: 3px 8px; border: 2px solid rgba(26, 18, 56, .55); border-radius: 50%; color: rgba(26, 18, 56, .65); font-style: normal; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; rotate: -16deg; }
.cwstamp__item strong { color: var(--cw-ink); font-family: var(--font-display); font-size: .96rem; }
.cwstamp__item small { color: var(--cw-muted); font-size: .78rem; }

/* Packages ---------------------------------------------------------------------------------- */
.cwpack { background: linear-gradient(180deg, transparent, rgba(124, 58, 237, .16) 20%, rgba(124, 58, 237, .16) 80%, transparent); color: var(--cw-text); }
.cwpack.cwsec::before { color: var(--cw-hl); }
.cwpack .cwhead__title { color: #fff; }
.cwpack .cwhead__title em { color: var(--cw-hl); background: none; }
.cwpack .cwhead__text { color: rgba(251, 247, 239, .7); }
.cwpack .price-card { background: linear-gradient(180deg, #1f1645, #130d2c); }
.cwpack .price-card:nth-child(3n+1) { --kc: #a78bfa !important; --kc2: #5b21b6 !important; }
.cwpack .price-card:nth-child(3n+2) { --kc: #f0abfc !important; --kc2: #a8281a !important; }
.cwpack .price-card:nth-child(3n) { --kc: #38bdf8 !important; --kc2: #075985 !important; }
.cwpack .price-card__count span { background: #130d2c; }
.cwpack .price-card__badge { background: var(--cw-hl); color: var(--cw-ink); }
.cwpack__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; max-width: 760px; margin: 28px auto 0; padding: 14px 18px; border: 2px dashed rgba(251, 191, 36, .5); border-radius: 10px; color: rgba(251, 247, 239, .85); text-align: center; }
.cwpack__note > svg { color: var(--cw-hl); }
.cwpack__note a { color: var(--cw-hl); font-weight: 800; text-decoration: none; }

/* Bookmarks (add-ons) ----------------------------------------------------------------------- */
.cwmark__row { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 3vw, 34px); margin: 0; padding: 18px 0 0; list-style: none; }
.cwmark__row::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 10px; border-radius: 6px; background: linear-gradient(180deg, #6d4fd1, #3b2a85); }
.cwmark__item { position: relative; display: flex; flex-direction: column; align-items: center; width: 250px; min-height: 340px; padding: 34px 24px 70px; background: var(--c); color: #fff; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 40px), 0 100%); transform-origin: top; animation: cwsway 6s ease-in-out infinite; animation-delay: calc(var(--d) * -2s); transition: filter .3s; }
.cwmark__item:hover { filter: brightness(1.08); animation-play-state: paused; }
@keyframes cwsway { 50% { rotate: 1.6deg; } }
.cwmark__ico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 2px dashed rgba(255, 255, 255, .6); }
.cwmark__item h3 { margin: 0 0 8px; color: #fff; font-family: var(--cw-serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.cwmark__item p { margin: 0 0 16px; color: rgba(255, 255, 255, .88); font-size: .92rem; line-height: 1.55; }
.cwmark__item a { margin-top: auto; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--c); font-size: .84rem; font-weight: 800; text-decoration: none; }

/* Quotes (who) ------------------------------------------------------------------------------ */
.cwquote__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cwquote__item { position: relative; display: flex; flex-direction: column; padding: 26px 24px 20px; border-top: 3px solid var(--cw-ink); background: var(--cw-card); box-shadow: 0 20px 40px -32px rgba(26, 18, 56, .6); transition: transform .35s var(--ease); }
.cwquote__item:hover { transform: translateY(-5px); }
.cwquote__item--big { grid-row: span 2; justify-content: center; padding: clamp(28px, 4vw, 44px); background: linear-gradient(150deg, #a21caf, #7c3aed); border-top: 0; color: #fff; }
.cwquote__mark { color: var(--cw-red); font-family: var(--cw-serif); font-size: 5rem; line-height: .6; }
.cwquote__item--big .cwquote__mark { color: var(--cw-hl); font-size: 8rem; }
.cwquote__item p { margin: 10px 0 14px; color: var(--cw-ink); font-family: var(--cw-serif); font-size: 1.4rem; line-height: 1.25; }
.cwquote__item--big p { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.12; }
.cwquote__item small { margin-top: auto; color: var(--cw-muted); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cwquote__item--big small { color: rgba(255, 255, 255, .85); }
.cwquote__grid li:nth-child(4) { grid-column: 2 / span 2; }

/* Folders (related) ------------------------------------------------------------------------- */
.cwfold__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 18px; margin: 0; padding: 22px 0 0; list-style: none; }
.cwfold__item { position: relative; transition: transform .35s var(--ease); }
.cwfold__item:hover { transform: translateY(-6px); }
.cwfold__tab { position: absolute; left: 0; bottom: 100%; display: inline-flex; align-items: center; gap: 7px; padding: 7px 18px 6px 14px; border-radius: 10px 10px 0 0; background: var(--c); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); padding-right: 30px; }
.cwfold__body { position: relative; padding: 22px 20px 20px; border-radius: 0 14px 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, #fffdf8), #fffdf8 60%); border: 2px solid var(--c); box-shadow: 0 22px 40px -30px rgba(26, 18, 56, .6); }
.cwfold__body::before { content: ""; position: absolute; left: 14px; right: 14px; top: -12px; height: 12px; border-radius: 6px 6px 0 0; background: #fff; border: 1px solid var(--cw-line); border-bottom: 0; transition: top .35s var(--ease); }
.cwfold__item:hover .cwfold__body::before { top: -22px; }
.cwfold__body h3 { margin: 0 0 6px; font-size: 1.12rem; }
.cwfold__body h3 a { color: var(--cw-ink); text-decoration: none; }
.cwfold__body p { margin: 0 0 12px; color: var(--cw-muted); font-size: .92rem; line-height: 1.55; }
.cwfold__open { color: var(--c); font-size: .84rem; font-weight: 800; }

/* Interview (FAQ) --------------------------------------------------------------------------- */
.cwint__wrap { max-width: 860px; }
.cwint__list { display: grid; }
.cwq { border-bottom: 1px solid var(--cw-dline); }
.cwq:first-child { border-top: 3px solid #7c3aed; }
.cwq summary { display: flex; align-items: baseline; gap: 16px; padding: 20px 4px; list-style: none; cursor: pointer; }
.cwq summary::-webkit-details-marker { display: none; }
.cwq__q { flex: none; color: var(--cw-red); font-family: var(--cw-serif); font-size: 2rem; line-height: 1; }
.cwq__text { flex: 1; color: var(--cw-text); font-family: var(--font-display); font-size: 1.14rem; font-weight: 700; line-height: 1.35; }
.cwq__toggle { position: relative; flex: none; width: 26px; height: 26px; align-self: center; border: 2px solid var(--cw-text); border-radius: 50%; transition: background .3s, rotate .4s var(--ease); }
.cwq__toggle::before, .cwq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; translate: -50% -50%; background: var(--cw-text); transition: background .3s, rotate .3s; }
.cwq__toggle::after { rotate: 90deg; }
.cwq[open] .cwq__toggle { background: var(--cw-red); border-color: var(--cw-red); rotate: 180deg; }
.cwq[open] .cwq__toggle::before, .cwq[open] .cwq__toggle::after { background: #fff; }
.cwq[open] .cwq__toggle::after { rotate: 0deg; }
.cwq p { display: flex; gap: 16px; margin: 0; padding: 0 4px 22px; color: var(--cw-soft); font-size: 1.02rem; line-height: 1.75; }
.cwq__a { flex: none; color: var(--cw-teal); font-family: var(--cw-serif); font-size: 2rem; line-height: 1; }
.cwint__more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin: 26px 0 0; color: var(--cw-soft); font-family: var(--cw-serif); font-size: 1.3rem; text-align: center; }
.cwint__more a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #25d366; color: #052e16; font-family: var(--font-body); font-size: .9rem; font-weight: 800; text-decoration: none; }

/* Letter (CTA) ------------------------------------------------------------------------------ */
.cwlet__env { position: relative; max-width: 820px; margin: 0 auto; padding: 0 clamp(14px, 4vw, 40px) 40px; }
.cwlet__back { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; border-radius: 14px; background: var(--cw-red); }
.cwlet__back::before { content: ""; position: absolute; left: 0; right: 0; top: -38%; height: 40%; background: #a21caf; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.cwlet__front { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 34%; border-radius: 0 0 14px 14px; background: linear-gradient(160deg, #f0abfc, var(--cw-red)); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.cwlet__paper { position: relative; z-index: 1; padding: clamp(28px, 4.4vw, 50px); padding-bottom: clamp(150px, 18vw, 210px); background: var(--cw-card) repeating-linear-gradient(transparent 0 31px, rgba(124, 58, 237, .1) 31px 32px); border: 1px solid var(--cw-line); box-shadow: 0 30px 60px -40px rgba(26, 18, 56, .6); animation: cwrise 1s var(--ease) both; }
@keyframes cwrise { from { transform: translateY(40px); } }
.cwlet__stamp { position: absolute; right: 26px; top: 22px; display: grid; place-items: center; width: 62px; height: 72px; background: var(--cw-hl); color: var(--cw-ink); outline: 2px dashed var(--cw-ink); outline-offset: -6px; rotate: 6deg; }
.cwlet__dear { margin: 0 0 6px; color: var(--cw-red); font-family: "Segoe Print", "Bradley Hand", var(--cw-serif); font-size: 1.2rem; }
.cwlet h2 { max-width: 560px; margin: 0 0 12px; color: var(--cw-ink); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.cwlet h2 em { color: var(--cw-red); }
.cwlet__paper > p { max-width: 580px; margin: 0 0 22px; color: var(--cw-muted); font-size: 1.04rem; line-height: 1.7; }
.cwlet__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cwlet__sign { margin: 26px 0 0 !important; color: var(--cw-muted); font-family: "Segoe Print", "Bradley Hand", var(--cw-serif); }
.cwlet__sign b { display: block; color: var(--cw-ink); font-weight: 400; font-size: 1.1rem; }

/* Ruler (word counts) ----------------------------------------------------------------------- */
.cwrule__wrap { position: relative; padding: 150px 10px 150px; }
.cwrule__stick { position: relative; height: 64px; border-radius: 8px; background: linear-gradient(180deg, #fde68a, #fbbf24); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 20px 40px -20px rgba(251, 191, 36, .6); }
.cwrule__stick span { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; background: rgba(26, 18, 56, .5); color: var(--cw-ink); font-size: 0; }
.cwrule__stick span.is-big { height: 26px; background: var(--cw-ink); font-size: .72rem; font-weight: 800; }
.cwrule__stick span.is-big { text-indent: 0; line-height: 1; }
.cwrule__stick span.is-big { padding-top: 32px; white-space: nowrap; display: flex; justify-content: center; width: 2px; }
.cwrule__stick span.is-big { background-clip: content-box; }
.cwrule__stick span.is-big::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 26px; background: var(--cw-ink); }
.cwrule__stick span.is-big { background: none; }
.cwrule__marks { position: absolute; left: 24px; right: 24px; top: 150px; height: 64px; margin: 0; padding: 0; list-style: none; }
.cwrule__mark { position: absolute; left: var(--x); bottom: 100%; width: 0; }
.cwrule__mark::before { content: ""; position: absolute; left: -1px; bottom: 0; width: 3px; height: 30px; background: var(--c); }
.cwrule__mark::after { content: ""; position: absolute; left: -7px; bottom: -6px; width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px rgba(12, 8, 32, .9), 0 0 16px var(--c); }
.cwrule__mark.is-down { top: 100%; bottom: auto; }
.cwrule__mark.is-down::before { top: 0; bottom: auto; }
.cwrule__mark.is-down::after { top: -6px; bottom: auto; }
.cwrule__card { position: absolute; left: 0; bottom: 30px; display: grid; gap: 2px; width: 150px; translate: -50% 0; padding: 10px 12px; border-radius: 12px; background: #1d1440; border: 1px solid var(--c); text-align: center; transition: transform .3s var(--ease); }
.cwrule__mark.is-down .cwrule__card { top: 30px; bottom: auto; }
.cwrule__mark:first-child .cwrule__card { translate: -16% 0; }
.cwrule__card:hover { transform: translateY(-4px); }
.cwrule__card b { color: var(--c); font-family: var(--cw-serif); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.cwrule__card b small { color: var(--cw-soft); font-family: var(--font-body); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.cwrule__card strong { color: var(--cw-text); font-size: .84rem; line-height: 1.25; }
.cwrule__card em { color: var(--cw-soft); font-style: normal; font-size: .72rem; }
.cwrule__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--cw-soft); font-size: .86rem; text-align: center; }
.cwrule__note svg { color: var(--cw-hl); }

.cwrule__stick span.is-big:first-child { justify-content: flex-start; }
.cwrule__stick span.is-big:last-child { justify-content: flex-end; }
.cwrule__stick { margin-inline: 14px; }

/* Calendar ---------------------------------------------------------------------------------- */
.cwcal__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cwcal__grid > * { min-width: 0; }
.cwcal__grid .cwhead { margin-bottom: 0; }
.cwcal__legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.cwcal__legend li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--cw-dline); color: var(--cw-text); font-size: .82rem; font-weight: 700; }
.cwcal__legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.cwcal__wall { position: relative; padding: 34px 18px 18px; border-radius: 18px; background: var(--cw-card); box-shadow: 0 50px 90px -40px rgba(124, 58, 237, .8); rotate: 1deg; }
.cwcal__rings { position: absolute; left: 7%; right: 7%; top: -14px; display: flex; justify-content: space-between; }
.cwcal__rings i { width: 12px; height: 30px; border-radius: 6px; background: linear-gradient(90deg, #6b6488, #d8d3ea, #6b6488); box-shadow: 0 4px 6px rgba(0, 0, 0, .4); }
.cwcal__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--cw-ink); }
.cwcal__top strong { color: var(--cw-ink); font-family: var(--cw-serif); font-size: 1.8rem; font-weight: 400; }
.cwcal__top em { color: var(--cw-muted); font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cwcal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cwcal__days b { padding: 4px 0; color: var(--cw-muted); font-size: .66rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.cwcal__days span { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 64px; padding: 6px; border-radius: 8px; background: var(--cw-paper); }
.cwcal__days span.is-empty { background: transparent; }
.cwcal__days em { color: var(--cw-muted); font-style: normal; font-size: .74rem; font-weight: 700; }
.cwcal__days span.has-item { background: color-mix(in srgb, var(--c) 16%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .25s var(--ease); }
.cwcal__days span.has-item:hover { transform: scale(1.08); z-index: 1; }
.cwcal__days span.has-item em { color: var(--cw-ink); }
.cwcal__days i { padding: 2px 5px; border-radius: 4px; background: var(--c); color: #1a1238; font-style: normal; font-size: .58rem; font-weight: 800; line-height: 1.3; }

/* Typewriter (quality checklist) ------------------------------------------------------------ */
.cwtype__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cwtype__grid > * { min-width: 0; }
.cwtype__machine { position: relative; display: grid; justify-items: center; padding-top: 10px; }
.cwtype__sheet { position: relative; z-index: 1; width: 82%; padding: 22px 24px 30px; background: var(--cw-card); color: var(--cw-ink); font-family: ui-monospace, "Cascadia Mono", "Courier New", monospace; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.cwtype__sheet strong { display: block; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px dashed rgba(26, 18, 56, .25); font-size: 1rem; letter-spacing: .2em; }
.cwtype__sheet ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cwtype__sheet li { display: flex; gap: 10px; font-size: .84rem; line-height: 1.35; }
.cwtype__sheet li b { flex: none; color: #a21caf; }
.cwtype__sheet li span { display: inline-block; transition: clip-path .9s steps(26); transition-delay: calc(.4s + var(--cwi) * .55s); }
.js .cwtype__machine:not(.is-visible) .cwtype__sheet li span { clip-path: inset(0 100% 0 0); }
.cwtype__roller { position: relative; z-index: 2; display: block; width: 94%; height: 26px; margin-top: -8px; border-radius: 13px; background: linear-gradient(180deg, #4b3a8c, #241a52); box-shadow: 0 6px 12px rgba(0, 0, 0, .5); }
.cwtype__roller i { position: absolute; right: -16px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0abfc, #a21caf); }
.cwtype__body { position: relative; display: grid; place-items: center; width: 100%; height: 130px; margin-top: -4px; border-radius: 14px 14px 26px 26px; background: linear-gradient(180deg, #7c3aed, #4c1d95); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); box-shadow: 0 30px 50px -20px rgba(124, 58, 237, .7); }
.cwtype__keys { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; width: 74%; }
.cwtype__keys i { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #d8d3ea 60%, #8e86b0); box-shadow: 0 3px 0 #2e1f66; }
.cwtype__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cwtype__list li { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--cw-dline); color: var(--cw-text); font-size: .88rem; line-height: 1.4; }
.cwtype__list svg { flex: none; margin-top: 2px; color: var(--cw-teal); }

/* Contact section on this page: keep the shared dark contact block on an ink band. */
.cw-contact { position: relative; padding: clamp(20px, 3vw, 40px) 0 10px; }
.cw-contact .contact-split { padding-top: clamp(20px, 3vw, 40px); }

/* Responsive ---------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.cwcal__grid, .cwtype__grid { grid-template-columns: minmax(0, 1fr); }
	.cwcal__wall { rotate: 0deg; }
	.cwrule__wrap { padding: 0; }
	.cwrule__stick { display: none; }
	.cwrule__marks { position: static; height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
	.cwrule__mark, .cwrule__mark.is-down { position: static; width: auto; }
	.cwrule__mark::before, .cwrule__mark::after { display: none; }
	.cwrule__card, .cwrule__mark.is-down .cwrule__card, .cwrule__mark:first-child .cwrule__card { position: static; width: auto; translate: none; }
	.cwred__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.cwred__arrow { rotate: 90deg; }
	.cwboard__cards, .cwfold__grid { grid-template-columns: repeat(2, 1fr); }
	.cwdoc__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cwdoc__comment { margin: 6px 0 14px; }
	.cwdoc__comment::before { display: none; }
	.cwdoc__part { border-radius: 6px !important; padding: 16px 18px !important; }
	.cwmix__desk { grid-template-columns: minmax(0, 1fr); }
	.cwquote__grid { grid-template-columns: 1fr 1fr; }
	.cwquote__item--big { grid-row: auto; grid-column: 1 / -1; }
	.cwquote__grid li:nth-child(4) { grid-column: auto; }
	.cwlang__wrap { grid-template-columns: minmax(0, 1fr); }
	.cwlang__swap { justify-self: center; }
}
@media (max-width: 760px) {
	.cwhero__cards { grid-template-columns: minmax(0, 1fr); }
	.cwhero__float span { font-size: .95rem; opacity: .35; }
	.cwshelf__wrap, .cwshelf .cwhead__text { display: none; }
	.cwshelf__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
	.cwshelf__list li { display: grid; gap: 4px; padding: 14px 14px 14px 18px; border-radius: 6px; background: var(--cw-card); border-left: 8px solid var(--c); color: var(--cw-muted); font-size: .86rem; line-height: 1.45; box-shadow: 0 10px 20px -16px rgba(26, 18, 56, .5); }
	.cwshelf__list strong { color: var(--cw-ink); font-family: var(--cw-serif); font-size: 1.2rem; font-weight: 400; }
	.cwred__rules, .cwboard__benefits { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.cwsent { padding: 14px 16px; line-height: 2.1; }
	.cwhero__big--q { font-size: 12rem; }
	.cwhero__ink { height: 90px; }
	.cwhero__btns, .cwhero__btns .cwbtn { width: 100%; }
	.cwhero__float span:nth-child(n+5) { display: none; }
	.cwtype__list { display: none; }
	.cwtype__sheet { width: 94%; padding: 18px 16px 24px; }
	.cwtype__sheet li span { white-space: normal; }
	.cwcal__days span { min-height: 46px; padding: 4px; }
	.cwcal__days i { font-size: 0; height: 6px; padding: 0; }
	.cwrule__marks { grid-template-columns: minmax(0, 1fr); }
	.cwshelf__list, .cwboard__cards, .cwfold__grid, .cwquote__grid { grid-template-columns: minmax(0, 1fr); }
	.cwboard__cork { border-width: 8px; }
	.cwmix__slider { grid-template-columns: 60px 1fr 60px; font-size: .72rem; }
	.cwmix__out p { font-size: 1.3rem; }
	.cwstamp__item { width: calc(50% - 12px); }
	.cwmark__item { width: 100%; min-height: 0; }
	.cwlet__stamp { width: 48px; height: 56px; right: 14px; top: 14px; }
	.cwred__sheet { padding: 40px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.cwhero__ink, .cwsent__hand svg { animation: none; stroke-dashoffset: 0; }
	.cwtype__sheet li span { transition: none; }
}
