/* Quiet editorial page: one off-white canvas, no color blocks, hairlines and whitespace do the separating. Navy type, lavender and orange only in thin lines and the deck spiral. */
:root {
  --bg: #F7F5F0;
  --ink: #0B2A4A;
  --ink-2: #4A5070;
  --plum: #4F4B7E;
  --lav: #D7D6E1;
  --orange: #FF601D;
  --line: rgba(11, 42, 74, 0.12);
  --display: 'Century Gothic', 'Jost', 'Futura', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }

.band { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1120px; margin: 0 auto; }
section { padding-block: clamp(72px, 9vw, 128px); }
section + section .wrap { border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 128px); }
section + section { padding-top: 0; }

h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--plum); letter-spacing: -0.01em; }
.label { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-2); max-width: 46ch; }

.link { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--body); text-decoration: none; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--orange); transition: gap 0.2s ease; }
.link::after { content: "\2192"; }
.link:hover { gap: 16px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 15px/1 var(--body); text-decoration: none; transition: gap 0.2s ease; }
.pill::after { content: "\2192"; }
.pill:hover { gap: 16px; }
@media (prefers-reduced-motion: reduce) { .link, .pill { transition: none; } html { scroll-behavior: auto; } }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.wm { font-family: var(--display); font-weight: 500; font-size: 19px; text-decoration: none; padding: 4px 10px 5px; border: 1px solid var(--ink); line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav > a:not(.navcta) { display: none; } .nav { gap: 18px; } }

/* Spiral from the deck */
.vx { position: absolute; pointer-events: none; z-index: 0; }
.vx svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vx * { vector-effect: non-scaling-stroke; }
.spin svg { animation: spin 180s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin svg { animation: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 96px); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); max-width: 14ch; }
.vx-hero { width: min(56vw, 700px); aspect-ratio: 1; right: -14%; top: -6%; opacity: 0.85; }
@media (max-width: 760px) { .vx-hero { width: 110vw; right: -62%; top: -4%; opacity: 0.35; } }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 8px; }

/* Hero chart: two thin lines, nothing else */
.gap { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 12px; }
.gap svg { width: 100%; height: clamp(90px, 11vw, 150px); display: block; overflow: visible; }
.gap .spend { fill: none; stroke: #8E8BAE; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.gap .value { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.gap figcaption { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.gap figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.gap figcaption i { width: 22px; border-top: 1.5px dashed #8E8BAE; }
.gap figcaption i.v { border-top: 2px solid var(--orange); }

/* Two-column text sections */
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.two h2 { font-size: clamp(34px, 4.2vw, 58px); margin-bottom: 28px; }
.two .body { display: flex; flex-direction: column; gap: 18px; }
.two .body p { color: var(--ink-2); max-width: 58ch; }
.two .body .link { align-self: flex-start; margin-top: 14px; }
@media (max-width: 820px) { .two { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 64px); }
.steps li { display: flex; flex-direction: column; gap: 4px; }
.steps b { font-family: var(--display); font-weight: 500; font-size: 20px; }
.steps span { color: var(--ink-2); font-size: 17px; }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Timeline */
.tl-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(44px, 5vw, 68px); }
.tl-head h2 { font-size: clamp(34px, 4.2vw, 58px); }
.tl-head p { color: var(--ink-2); }
.tl { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.tl li { position: relative; padding: 34px 24px 0 0; min-width: 0; }
.tl li::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; border-top: 2px solid var(--orange); transform-origin: left center; }
.tl li:first-child::before { left: 6px; }
.tl li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange); }
.tl li.loop::before { border-top-style: dashed; right: 0; }
.tl li:last-child:not(.loop)::before { right: calc(100% - 8px); }
.tl li.loop::after { background: var(--orange); }
.tl .when { font-size: 13px; letter-spacing: 0.08em; color: var(--orange); }
.tl h3 { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 4px 0 8px; }
.tl p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.tl .get { margin-top: 12px; font-size: 14px; color: var(--ink); }
.tl .get::before { content: "You get: "; color: var(--ink-2); }
.tl-head .dur { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) {
  .tl { grid-template-columns: minmax(0, 1fr); }
  .tl li { padding: 0 0 36px 36px; }
  .tl li::before, .tl li:first-child::before { top: 6px; bottom: 0; left: 6px; right: auto; border-top: 0; border-left: 2px solid var(--orange); }
  .tl li.loop::before { border-left-style: dashed; border-top: 0; }
  .tl h3 { margin-top: 0; }
}
.next { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; color: var(--ink-2); }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; }
.contact h2 { font-size: clamp(40px, 5.6vw, 80px); max-width: 15ch; }
.vx-close { width: min(60vw, 760px); aspect-ratio: 1; right: -18%; bottom: -40%; opacity: 0.6; }
@media (max-width: 760px) { .vx-close { width: 120vw; right: -60%; bottom: -30%; opacity: 0.3; } }
.reach { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; margin-top: 12px; }
.mail { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); }
.copybtn { font: 500 13px/1 var(--body); margin-left: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; }
.copybtn:hover { color: var(--ink); border-color: var(--ink); }

footer .wrap { border-top: 1px solid var(--line); padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }

/* ---------- Home ---------- */
.drift { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 12px; }
.drift svg { width: 100%; height: clamp(90px, 11vw, 150px); display: block; overflow: visible; }
.drift .wander { fill: none; stroke: #8E8BAE; stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.drift .hold { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.drift figcaption { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.drift figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.drift figcaption i { width: 22px; border-top: 1.5px dashed #8E8BAE; }
.drift figcaption i.v { border-top: 2px solid var(--orange); }
.big { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink-2); text-wrap: balance; }
.big strong { color: var(--ink); font-weight: 500; }

.proof { list-style: none; padding: 0; margin-bottom: clamp(36px, 4vw, 56px); }
.proof li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.proof li:first-child { border-top: 1px solid var(--line); }
.proof .name { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; line-height: 1.1; }
.proof .lost .name { color: #8E8BAE; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.proof p { color: var(--ink-2); }
.proof .tag { display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-top: 4px; }
.proof .lost .tag { color: #8E8BAE; }
@media (max-width: 640px) { .proof li { grid-template-columns: minmax(0, 1fr); } }
.closer { font-family: var(--display); font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }

.photo { display: flex; flex-direction: column; gap: 24px; }
.photo img { width: 100%; height: clamp(260px, 38vw, 520px); object-fit: cover; object-position: 50% 62%; border-radius: 6px; filter: saturate(0.6); display: block; }
.photo h2 { font-size: clamp(32px, 4.2vw, 58px); }

.services-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.services-head h2 { font-size: clamp(34px, 4.2vw, 58px); }
.practices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 88px); }
@media (max-width: 820px) { .practices { grid-template-columns: minmax(0, 1fr); } }
.practice h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.practice > p { color: var(--ink-2); margin: 6px 0 18px; }
.svc { list-style: none; padding: 0; }
.svc a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding-block: 16px; border-top: 1px solid var(--line); text-decoration: none; }
.svc li:last-child a { border-bottom: 1px solid var(--line); }
.svc b { font-family: var(--display); font-weight: 500; font-size: 19px; transition: color 0.2s ease; }
.svc .dur { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.svc .one { grid-column: 1 / -1; font-size: 15.5px; color: var(--ink-2); }
.svc a:hover b { color: var(--plum); }
.svc a:hover b::after { content: " \2192"; color: var(--orange); }
.ongoing { margin-top: clamp(40px, 5vw, 64px); }
.method { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.method li { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 2px solid var(--orange); }
.method b { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; line-height: 1.1; }
.method span { color: var(--ink-2); }
@media (max-width: 720px) { .method { grid-template-columns: minmax(0, 1fr); } }

.principle { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.principle h2 { font-size: clamp(38px, 5.6vw, 80px); max-width: 16ch; }
.principle p { color: var(--ink-2); }

/* Footer service index */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; width: 100%; padding-bottom: 14px; }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ================= Dynamic layer: color shifts, clamshells, reveals ================= */
@property --bg { syntax: "<color>"; inherits: true; initial-value: #F7F5F0; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #0B2A4A; }
@property --ink-2 { syntax: "<color>"; inherits: true; initial-value: #4A5070; }
@property --plum { syntax: "<color>"; inherits: true; initial-value: #4F4B7E; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(11, 42, 74, 0.12); }
:root { interpolate-size: allow-keywords; transition: --bg 0.9s ease, --ink 0.9s ease, --ink-2 0.9s ease, --plum 0.9s ease, --line 0.9s ease, --dot 0.9s ease; }
:root[data-tone="lav"] { --bg: #E7E5F0; --plum: #45417A; }
:root[data-tone="peach"] { --bg: #FCE7DC; --ink-2: #534A5C; --plum: #4A4578; --line: rgba(11, 42, 74, 0.14); }
:root[data-tone="navy"] { --bg: #D6DEEB; --ink: #0B2A4A; --ink-2: #3F4B66; --plum: #3F3B74; --line: rgba(11, 42, 74, 0.16); }
html, body { background: var(--bg); }
.wm { border-color: currentColor; }
:root[data-tone="navy"] .vx-close { opacity: 0.75; }
@media (prefers-reduced-motion: reduce) { :root { transition: none; } }

/* Clamshells */
.clams { border-top: 1px solid var(--line); }
.clam { border-bottom: 1px solid var(--line); }
.clam summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding-block: 20px; }
.clam summary::-webkit-details-marker { display: none; }
.clam summary b { font-family: var(--display); font-weight: 500; font-size: 20px; transition: color 0.25s ease; }
.clam summary:hover b { color: var(--plum); }
.clam .num { font-size: 13px; color: var(--orange); letter-spacing: 0.06em; }
.plus { position: relative; width: 14px; height: 14px; align-self: center; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--ink); transition: transform 0.35s ease; }
.plus::after { transform: rotate(90deg); }
.clam[open] > summary .plus::after { transform: rotate(0deg); }
.clam[open] > summary .plus::before { border-color: var(--orange); }
.clam[open] > summary .plus::after { border-color: var(--orange); }
.clam::details-content { block-size: 0; overflow: clip; transition: block-size 0.45s ease, content-visibility 0.45s allow-discrete; }
.clam[open]::details-content { block-size: auto; }
.clam-in { padding: 0 30px 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(-6px); transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s; }
.clam[open] .clam-in { opacity: 1; transform: none; }
.clam-in p { color: var(--ink-2); max-width: 60ch; }
.clam-in .mini { font-size: 14px; letter-spacing: 0.02em; }
.clams:not(.moves) .clam:not(.svc-clam) .clam-in { padding-left: 45px; }
.svc-clam summary { grid-template-columns: minmax(0, 1fr) auto auto; }
.svc-clam summary b { font-size: 19px; }
.svc-clam .dur { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 480px) { .svc-clam summary { grid-template-columns: minmax(0, 1fr) auto; } .svc-clam .dur { grid-column: 1; grid-row: 2; } .svc-clam .plus { grid-column: 2; grid-row: 1; } }
.moves .move summary { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; padding-block: clamp(18px, 2.4vw, 30px); }
.moves .move summary b { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.025em; line-height: 1; }
.moves .move summary span { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 21px); }
.moves .move[open] summary b { color: var(--plum); }
.moves .links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.moves .clam-in { padding-left: 0; }
@media (max-width: 640px) { .moves .move summary { grid-template-columns: minmax(0, 1fr) auto; } .moves .move summary span { grid-column: 1; grid-row: 2; } .moves .move .plus { grid-column: 2; grid-row: 1; } }
@media (prefers-reduced-motion: reduce) { .clam::details-content, .clam-in, .plus::before, .plus::after { transition: none; } }

/* Scroll reveals (only when JS is on) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .tl li::before { transform: scaleX(0); transition: transform 0.7s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 0.16s); }
.js .tl li::after { transform: scale(0); transition: transform 0.4s ease calc(var(--i, 0) * 0.16s + 0.1s); }
.js .tl.in li::before, .js .tl.in li::after { transform: none; }
@media (max-width: 900px) { .tl li::before { transform-origin: center top; } .js .tl li::before { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .tl li::before, .js .tl li::after { opacity: 1; transform: none; transition: none; } }

/* Intake form */
.intake-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.intake { display: flex; flex-direction: column; gap: 28px; max-width: 680px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 600px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.f { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f > span, .f legend { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: 4px; }
.f i { font-style: normal; text-transform: none; letter-spacing: 0; }
.f input, .f select, .f textarea { font: 400 18px/1.4 var(--body); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 8px 0 10px; border-radius: 0; transition: border-color 0.25s ease; width: 100%; }
.f textarea { resize: vertical; min-height: 110px; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--orange); }
.f ::placeholder { color: var(--ink-2); opacity: 0.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.send .pill { border: 0; cursor: pointer; }
.note { font-size: 14px; color: var(--ink-2); }
.err { color: #B23A0E; font-size: 15px; }
.ok { color: var(--ink); }

/* Practice teasers + pages */
.practice { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.practice .ptag { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.practice > p:not(.label) { color: var(--ink-2); margin: 0; }
.covers { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; width: 100%; }
.covers li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; }
.covers li:last-child { border-bottom: 1px solid var(--line); }
.covers li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; border-top: 2px solid var(--orange); }
.big-p { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink) !important; max-width: 34ch !important; }
.big-p + .big-p { color: var(--ink-2) !important; }
.two .covers { margin-top: 36px; }
.two .clams + .ongoing, .ongoing { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-direction: column; gap: 12px; }

/* Service cards on home (Cartoonbase-style: name, brief, Learn more) */
.practice-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; text-decoration: none; padding-top: 24px; border-top: 2px solid var(--ink); transition: border-color 0.3s ease; }
.practice-card h3 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.05; transition: color 0.3s ease; }
.practice-card p:not(.label) { color: var(--ink-2); font-size: clamp(18px, 1.5vw, 20px); max-width: 40ch; }
.practice-card .link { margin-top: 6px; }
.practice-card:hover { border-color: var(--orange); }
.practice-card:hover h3 { color: var(--plum); }
.practice-card:hover .link { gap: 16px; }

/* Method: three plain moves */
.moves-simple { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.moves-simple li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; gap: 16px; padding-block: clamp(18px, 2.4vw, 30px); border-bottom: 1px solid var(--line); }
.moves-simple b { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.025em; line-height: 1; transition: color 0.3s ease; }
.moves-simple span { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 21px); }
.moves-simple li:hover b { color: var(--plum); }
@media (max-width: 640px) { .moves-simple li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Header: Our services menu */
.navmenu { position: relative; }
.navmenu summary { list-style: none; cursor: pointer; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s ease; }
.navmenu[open] summary::after { transform: translateY(1px) rotate(225deg); }
.navmenu summary:hover, .navmenu[open] summary { color: var(--ink); }
.navmenu .menu { position: absolute; right: -16px; top: calc(100% + 14px); min-width: 230px; display: flex; flex-direction: column; padding: 14px 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(11, 42, 74, 0.12); z-index: 30; }
.navmenu .menu a { padding: 7px 20px 7px 34px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.navmenu .menu a.mh { padding: 9px 20px; color: var(--ink); font-weight: 500; }
.navmenu .menu a.mh:first-child { padding-top: 7px; }
.navmenu .menu a.mh span { font-weight: 400; color: var(--ink-2); }
.navmenu .menu a:hover { color: var(--plum); background: color-mix(in srgb, var(--ink) 5%, transparent); }
@media (max-width: 640px) { .navmenu .menu { right: -60px; } }

/* Practice pages: simple service rows */
.svc-rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc-rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding-block: 24px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; }
.sr-name { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; transition: color 0.25s ease; }
.sr-dur { font-size: 14px; color: var(--ink-2); white-space: nowrap; grid-column: 2; grid-row: 1; }
.sr-one { color: var(--ink-2); grid-column: 1; }
.svc-rows .link { grid-column: 1; justify-self: start; margin-top: 8px; font-size: 15px; }
.svc-rows a:hover .sr-name { color: var(--plum); }
.svc-rows a:hover .link { gap: 16px; }
@media (max-width: 520px) { .svc-rows a { grid-template-columns: minmax(0, 1fr); } .sr-dur { grid-column: 1; grid-row: auto; } }

/* Practice pages: services inline (no subpages) */
.svc-rows li { padding-block: 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sr-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.sr-top .sr-name { margin: 0; }
.sr-one { color: var(--ink-2); max-width: 60ch; }
.sr-steps { font-size: 14.5px; color: var(--ink); letter-spacing: 0.01em; }
.sr-steps span { display: inline-block; margin-right: 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* Frozen header: always on top, picks up each section's color */
.top { position: fixed; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top .wm, .top .nav a, .top .navmenu summary { transition: color 0.9s ease, border-color 0.9s ease; }
main { padding-top: calc(76px + env(safe-area-inset-top, 0px)); }

/* Why Cureos */
.why { display: flex; flex-direction: column; gap: 22px; }
.why h2 { font-size: clamp(34px, 4.2vw, 58px); margin-bottom: 6px; }
.why .big-p { max-width: 30ch !important; }
.gap-line { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--plum); max-width: 32ch; }
.why-body { color: var(--ink-2); max-width: 58ch; padding-top: 22px; border-top: 1px solid var(--line); }

/* Practice page service clamshells */
.svc-clam summary { grid-template-columns: minmax(0, 1fr) auto; padding-block: 24px; }
.svc-clam summary b { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.015em; }
.svc-clam .clam-in { padding-left: 0; }

/* Accent words: upright, same typeface, color shift only (no italic serif) */
em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--plum); }
.gap-line { font-family: var(--display); font-style: normal; font-weight: 500; letter-spacing: -0.01em; }

/* Services: brief on the left, swipeable card deck on the right */
.svc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .svc-split { grid-template-columns: minmax(0, 1fr); } }
.svc-split .services-head { margin-bottom: 0; }
.deck-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.deck-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.deck-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.deck-dots { display: flex; gap: 8px; }
.deck-dots .dot { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width 0.35s ease, background-color 0.35s ease; }
.deck-dots .dot[aria-current="true"] { width: 28px; background: var(--orange); }
.deck { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 18px; margin: -6px -4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.deck::-webkit-scrollbar { display: none; }
.deck:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 22px; }
.pcard { position: relative; overflow: hidden; flex: 0 0 min(82%, 440px); scroll-snap-align: start; min-height: clamp(360px, 38vw, 460px); border-radius: 22px; padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; text-decoration: none; transform: scale(0.94); opacity: 0.7; transition: transform 0.6s cubic-bezier(.2,.7,.2,1), opacity 0.6s ease, box-shadow 0.6s ease; }
.pcard.is-active, .pcard:hover, .pcard:focus-visible { transform: none; opacity: 1; box-shadow: 0 24px 50px rgba(11, 42, 74, 0.16); }
.pcard h3 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 42px); letter-spacing: -0.02em; line-height: 1.05; margin-top: auto; position: relative; }
.pcard p { position: relative; font-size: 17px; line-height: 1.55; max-width: 34ch; }
.pcard .link { position: relative; align-self: flex-start; margin-top: 6px; }
.pcard-num { position: relative; font-size: 13px; letter-spacing: 0.16em; }
.pcard-vx { position: absolute; width: 300px; height: 300px; right: -90px; top: -90px; opacity: 0.55; pointer-events: none; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard.is-active .pcard-vx, .pcard:hover .pcard-vx { transform: rotate(40deg) scale(1.08); }
.pcard-vx * { vector-effect: non-scaling-stroke; }
.pcard-navy { background: #0B2A4A; color: #F7F5F0; }
.pcard-navy p, .pcard-navy .pcard-num { color: #C9C8D8; }
.pcard-navy .link { color: #F7F5F0; }
.pcard-peach { background: #FFC7AE; color: #0B2A4A; }
.pcard-peach p, .pcard-peach .pcard-num { color: #4A3B45; }
.pcard-lav { background: #F7F5F0; color: #0B2A4A; border: 1px solid rgba(11, 42, 74, 0.12); }
.pcard-lav p, .pcard-lav .pcard-num { color: #4A5070; }
.pcard-lav .pcard-vx { opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard-vx, .deck-dots .dot { transition: none; } .deck { scroll-behavior: auto; } }
.deck { margin: -10px calc(-1 * max(20px, (100vw - 1120px) / 2)) -40px -10px; padding: 10px max(20px, (100vw - 1120px) / 2) 50px 10px; scroll-padding-left: 10px; }
.pcard.is-active, .pcard:hover, .pcard:focus-visible { box-shadow: 0 18px 36px rgba(11, 42, 74, 0.14); }

/* Stacked deck (overrides the scroll carousel) */
.deck { position: relative; display: block; overflow: visible; margin: 0; padding: 0; height: clamp(420px, 40vw, 480px); margin-top: 56px; touch-action: pan-y; user-select: none; cursor: grab; }
.deck.dragging { cursor: grabbing; }
.deck .pcard { position: absolute; inset: 0; width: 100%; max-width: 520px; min-height: 0; flex: none; transform-origin: 50% 100%; transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.45s ease, box-shadow 0.45s ease; box-shadow: 0 18px 36px rgba(11, 42, 74, 0.14); opacity: 1; }
.deck.dragging .pcard[data-pos="0"] { transition: none; }
.deck .pcard[data-pos="1"] { transform: translate(22px, -26px) scale(0.95); opacity: 0.9; pointer-events: none; box-shadow: 0 10px 24px rgba(11, 42, 74, 0.10); }
.deck .pcard[data-pos="2"] { transform: translate(44px, -52px) scale(0.9); opacity: 0.75; pointer-events: none; box-shadow: none; }
.deck .pcard[data-pos="0"] .pcard-vx { transform: rotate(40deg) scale(1.08); }
@media (max-width: 900px) { .deck { margin-top: 64px; height: 420px; } .deck .pcard { max-width: calc(100% - 44px); } }
@media (prefers-reduced-motion: reduce) { .deck .pcard { transition: none; } }

/* Unique line art per service card */
.pcard-art { position: absolute; width: 280px; height: 280px; right: -36px; top: -40px; pointer-events: none; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard-art * { vector-effect: non-scaling-stroke; }
.deck .pcard[data-pos="0"] .pcard-art, .pcard:hover .pcard-art { transform: rotate(18deg) scale(1.05); }
.pcard-art .va { stroke: var(--art-a); }
.pcard-art .vb { stroke: var(--art-b); }
.pcard-art .vn { fill: var(--art-b); stroke: none; }
.pcard-navy { --art-a: rgba(201, 200, 216, 0.45); --art-b: #FF7A40; }
.pcard-peach { --art-a: rgba(11, 42, 74, 0.35); --art-b: #E8521A; }
.pcard-lav { --art-a: rgba(79, 75, 126, 0.45); --art-b: #FF601D; }
@media (max-width: 900px) { .pcard-art { width: 190px; height: 190px; right: -28px; top: -34px; } }
@media (prefers-reduced-motion: reduce) { .pcard-art { transition: none; } }

/* Subtler card art, in the deck's spiral style */
.pcard-art { width: 380px; height: 380px; right: -150px; top: -150px; opacity: 0.32; }
.pcard-navy .pcard-art { opacity: 0.45; }
.deck .pcard[data-pos="0"] .pcard-art, .pcard:hover .pcard-art { transform: rotate(12deg); }
@media (max-width: 900px) { .pcard-art { width: 300px; height: 300px; right: -130px; top: -130px; } }

/* Client names marquee */
#clients .wrap:first-child { margin-bottom: clamp(32px, 4vw, 52px); }
.clients-head h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 24ch; margin-top: 14px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); border-block: 1px solid var(--line); }
.marquee-track { list-style: none; margin: 0; padding: 26px 0; display: flex; flex: none; gap: 0; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.01em; color: var(--ink-2); padding: 0 clamp(22px, 3vw, 40px); position: relative; white-space: nowrap; }
.marquee-track li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0.7; transform: translateY(-50%); }
@keyframes marquee { to { transform: translateX(-100%); } }
.clients-note { font-size: 13px; color: var(--ink-2); margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; flex: 1 1 auto; row-gap: 12px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* Logo marquee: monochrome navy, uniform optical size */
.logos .marquee-track { align-items: center; padding: 34px 0; animation-duration: 40s; }
.logos .marquee-track li { padding: 0 clamp(30px, 4vw, 56px); display: flex; align-items: center; opacity: 0.72; transition: opacity 0.3s ease; }
.logos .marquee-track li:hover { opacity: 1; }
.logos .marquee-track li::after { display: none; }
.logos img { display: block; width: auto; }
.lg-dod img { height: 64px; }
.lg-pepsi img { height: 34px; }
.lg-wd40 img { height: 50px; }
.lg-hbf img { height: 30px; }
.logos .wordmark { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: #0B2A4A; }
.logos .lg-roche { letter-spacing: 0.02em; }
.logos .lg-ul { font-weight: 600; font-size: 26px; }
@media (max-width: 640px) { .lg-dod img { height: 52px; } .lg-pepsi img { height: 28px; } .lg-wd40 img { height: 42px; } .lg-hbf img { height: 25px; } .logos .wordmark { font-size: 24px; } }
#clients .wrap:last-child { border-top: 0; padding-top: 0; }
.clients-note { margin-top: 18px; }

.crumb a { text-decoration: none; color: inherit; }
.crumb a:hover { color: var(--ink); }
.crumb a[aria-current="page"] { color: var(--ink); }

/* Our Why letter */
.letter-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.letter { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.75; color: var(--ink); }
.letter p { color: var(--ink-2); }
.letter .salute { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 26px); color: var(--ink); line-height: 1.3; }
.letter p:nth-of-type(2) { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.01em; color: var(--plum); }
.letter .sign { margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.letter .sign p { color: var(--ink-2); }
.letter .sig-name { font-family: var(--display); font-weight: 500; font-size: 26px; color: var(--ink) !important; margin-top: 10px; }
.letter .sig-role { font-size: 15px; }

/* Metrics */
.measure-intro { color: var(--ink-2); max-width: 56ch; margin: -6px 0 28px; }
.metrics { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.metrics li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--line); position: relative; }
.metrics li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; border-top: 2px solid var(--orange); }
.metrics b { font-family: var(--display); font-weight: 500; font-size: 20px; }
.metrics span { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.metric-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.mcol .label { margin-bottom: 14px; color: var(--ink); }
@media (max-width: 900px) { .metric-cols { grid-template-columns: minmax(0, 1fr); } }
.principles { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: pr; }
.principles li { counter-increment: pr; padding: 22px 24px; border-radius: 16px; background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.principles li::before { content: counter(pr, decimal-leading-zero); display: block; font-size: 13px; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 10px; }
.principles b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .principles { grid-template-columns: minmax(0, 1fr); } }
/* Fewer dividers in the logos section */
.marquee { border-block: 0; }
#clients .wrap:first-child { border-top: 0; padding-top: 0; }

#metrics .principles { margin-top: clamp(8px, 2vw, 20px); }

/* Service tabs (replace arrows + dots) */
.deck-tabs { display: flex; flex-direction: column; gap: 0; margin-top: 26px; border-top: 1px solid var(--line); }
.deck-tabs .dot { all: unset; box-sizing: border-box; cursor: pointer; position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--ink-2); transition: color 0.3s ease, padding-left 0.3s ease; }
.deck-tabs .dot::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; border-top: 2px solid var(--line); transition: width 0.3s ease, border-color 0.3s ease; }
.deck-tabs .dot:hover { color: var(--ink); }
.deck-tabs .dot[aria-current="true"] { color: var(--ink); padding-left: 32px; }
.deck-tabs .dot[aria-current="true"]::before { width: 20px; border-color: var(--orange); }
.deck-tabs .dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .deck-tabs .dot, .deck-tabs .dot::before { transition: none; } }
.deck-tabs .dot, .deck-tabs .dot[aria-current="true"] { width: auto; height: auto; background: none; border-radius: 0; }

#clients .wrap:first-child { border-top: 1px solid var(--line); padding-top: clamp(72px, 9vw, 128px); }

/* Logo: wordmark + drift loop (option B) */
.wm { display: inline-flex; align-items: center; gap: 7px; border: 0 !important; padding: 2px 0; font-size: 22px; letter-spacing: -0.03em; }
.wm-mark { width: 28px; height: 28px; flex: none; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.wm-mark.sm { width: 20px; height: 20px; }
.wm-mark { width: 40px; height: 23px; }
.wm-mark.sm { width: 28px; height: 16px; }
.wm { gap: 9px; }

/* Logo dot shifts with the section tone */
@property --dot { syntax: "<color>"; inherits: true; initial-value: #FF601D; }
:root { --dot: #FF601D; }
:root[data-tone="lav"] { --dot: #FF601D; }
:root[data-tone="peach"] { --dot: #4F4B7E; }
:root[data-tone="navy"] { --dot: #FF601D; }
.wm-dot { fill: var(--dot); }

/* Practice pages: two short offerings instead of clamshells */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 40px; }
.offer { border-top: 1px solid var(--ink); padding-top: 22px; }
.offer .label { margin: 0 0 10px; }
.offer h3 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 0 0 14px; }
.offer p { margin: 0 0 12px; color: var(--ink-2); font-size: 17px; }
.offer .offer-lead { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; gap: 36px; } }
.offers-wide { gap: 24px; margin-top: 48px; }
.offers-wide .offer { border-top: 0; background: rgba(255, 255, 255, 0.55); border-radius: 18px; padding: 36px 40px 30px; }
.offers-wide .offer h3 { font-size: 30px; }
@media (max-width: 760px) { .offers-wide .offer { padding: 28px 24px 22px; } }
#services > .wrap > h2 { font-size: clamp(34px, 4.2vw, 58px); margin-top: 14px; }
/* Client names as plain text */
.logos .wordmark { font-weight: 500; font-size: 26px; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink); opacity: .82; }
@media (max-width: 640px) { .logos .wordmark { font-size: 21px; } }

/* Home hero: keep headline, intro and buttons inside the first screen on laptops */
@media (min-width: 761px) {
  .hero { padding-top: clamp(32px, 6vh, 88px); }
  .hero .wrap { gap: clamp(16px, 2.4vh, 28px); }
  .hero h1 { font-size: clamp(46px, min(7.4vw, 10.5vh), 104px); max-width: 16ch; }
  .hero .lede { max-width: 58ch; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .hero { padding-top: clamp(20px, 4vh, 40px); }
  .hero h1 { font-size: clamp(42px, min(7vw, 9.5vh), 96px); }
  .hero .lede { font-size: 18px; line-height: 1.55; }
  .hero-row { margin-top: 0; }
}
/* Cards peeking behind the front card can be clicked to bring them forward */
.deck .pcard[data-pos="1"], .deck .pcard[data-pos="2"] { cursor: pointer; }
.deck .pcard[data-pos="1"]:hover { transform: translate(22px, -32px) scale(.95); }
.deck .pcard[data-pos="2"]:hover { transform: translate(44px, -58px) scale(.9); }
.deck .pcard[data-pos="1"], .deck .pcard[data-pos="2"] { pointer-events: auto; }

/* Case studies (bottom of service pages) */
.cases { margin-top: 40px; position: relative; outline: none; }
.case-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; border-radius: 22px; }
.case-track::-webkit-scrollbar { display: none; }
.case { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, 0.6); box-shadow: 0 18px 36px rgba(11, 42, 74, 0.10); }
.case-lead { position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.case-lead .pcard-art { width: 380px; height: 380px; right: -150px; top: -150px; opacity: .32; }
.case-lead h3 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; margin: 0; position: relative; }
.case-lead .pcard-num { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; position: relative; }
.case-sector { margin: 0; font-weight: 500; position: relative; }
.case-note { margin: auto 0 0; font-size: 14px; opacity: .8; position: relative; }
.case-navy .case-lead { background: #0B2A4A; color: #F7F5F0; }
.case-navy .case-lead .pcard-num, .case-navy .case-sector, .case-navy .case-note { color: #C9C8D8; }
.case-peach .case-lead { background: #FFC7AE; color: #0B2A4A; }
.case-peach .case-lead .pcard-num, .case-peach .case-note { color: #4A3B45; }
.case-lav .case-lead { background: #E7E5F0; color: #0B2A4A; }
.case-body { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.case-body .label { margin: 0 0 6px; }
.case-body p, .case-body li { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.case-body ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; }
.case-body li::marker { color: var(--orange); }
.case-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.cbtn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.cdot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(11, 42, 74, .25); cursor: pointer; }
.cdot[aria-current="true"] { background: var(--orange); width: 26px; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }
.cases-band .wrap > h2 { font-size: clamp(34px, 4.2vw, 58px); margin-top: 14px; }
@media (min-width: 601px) and (max-width: 760px) { .case { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .case-lead h3 { font-size: 24px; } .case-body p, .case-body li { font-size: 16px; } }
@media (max-width: 600px) { .case { grid-template-columns: 1fr; } }
.case { box-shadow: none; } .case-track { box-shadow: 0 18px 36px rgba(11, 42, 74, 0.10); }
/* Case cards, tighter: narrow lead panel holding the result, smaller type */
.case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.case-lead { padding: clamp(24px, 2.6vw, 34px); gap: 10px; }
.case-lead .pcard-art { width: 300px; height: 300px; right: -130px; top: -130px; }
.case-lead h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; }
.case-sector { font-size: 15px; }
.case-result { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(11, 42, 74, 0.25); position: relative; }
.case-result .label { margin: 0 0 6px; }
.case-result p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: #0B2A4A; font-weight: 500; }
.case-body { padding: clamp(24px, 2.6vw, 34px); gap: 16px; }
.case-body p, .case-body li { font-size: 16px; line-height: 1.5; }
.case-body ul { gap: 4px; }
@media (min-width: 601px) and (max-width: 760px) { .case { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .case-lead h3 { font-size: 21px; } .case-body p, .case-body li { font-size: 15px; } }
@media (max-width: 600px) { .case { grid-template-columns: 1fr; } .case-result { margin-top: 12px; } }
@media (max-width: 600px) { .case-track { align-items: flex-start; } .case { align-content: start; } }

/* How we work */
.how-points, .how-team, .how-gains { margin-top: 36px; }
.how-more { margin-top: 32px; }
.shifts { display: flex; flex-direction: column; margin-top: 12px; }
.shift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 20px 0; border-top: 1px solid var(--line); }
.shift p { margin: 0; font-size: 17px; line-height: 1.5; }
.shift .was { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(79, 75, 126, 0.45); text-decoration-thickness: 1px; }
.shift .now { color: var(--ink); font-weight: 500; position: relative; padding-left: 22px; }
.shift .now::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.shift-head { border-top: 0; padding-top: 0; }
.shift-head p { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none !important; font-weight: 400; color: var(--ink-2); padding-left: 0 !important; }
.shift-head .now::before { display: none; }
.how-price { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
@media (max-width: 640px) { .shift { grid-template-columns: 1fr; gap: 6px; } .shift-head { display: none; } }

/* How we work: team orbit */
.team-h, .value-h { font-size: clamp(34px, 4.2vw, 58px); margin: 14px 0 18px; max-width: 18ch; }
.team-viz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; }
.ring { position: absolute; border-radius: 50%; transition: border-color .4s ease, background-color .4s ease; }
.ring-3 { inset: 0; border: 1.5px dashed rgba(79, 75, 126, 0.45); animation: orbit-spin 120s linear infinite reverse; }
.ring-2 { inset: 17%; border: 1.5px solid rgba(255, 96, 29, 0.55); animation: orbit-spin 80s linear infinite; }
.ring-tag { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); background: var(--bg); padding: 2px 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--plum); white-space: nowrap; animation: orbit-spin 120s linear infinite; }
.chip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.chip i { display: block; font-style: normal; font-size: 13px; line-height: 1; white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: #F7F5F0; color: var(--ink); border: 1px solid rgba(11, 42, 74, 0.14); box-shadow: 0 6px 14px rgba(11, 42, 74, 0.08); animation: orbit-spin 80s linear infinite reverse; transition: background-color .4s ease, color .4s ease; }
.core { position: absolute; inset: 36%; border-radius: 50%; background: #0B2A4A; color: #F7F5F0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-family: var(--display); font-size: clamp(14px, 1.4vw, 17px); line-height: 1.15; box-shadow: 0 0 0 10px rgba(255, 96, 29, 0.14); transition: box-shadow .4s ease; }
@keyframes orbit-spin { to { rotate: 360deg; } }
.team-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.team-legend li { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; row-gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); cursor: default; }
.team-legend li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; }
.team-legend li[data-r="1"]::before { background: #0B2A4A; }
.team-legend li[data-r="2"]::before { border: 1.5px solid var(--orange); }
.team-legend li[data-r="3"]::before { border: 1.5px dashed var(--plum); }
.team-legend b { font-family: var(--display); font-weight: 500; font-size: 21px; }
.team-legend span { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.team-viz:has(li[data-r="1"]:hover) .core { box-shadow: 0 0 0 18px rgba(255, 96, 29, 0.28); }
.team-viz:has(li[data-r="2"]:hover) .ring-2 { border-color: var(--orange); background: rgba(255, 96, 29, 0.06); }
.team-viz:has(li[data-r="2"]:hover) .chip i { background: var(--orange); color: #fff; border-color: transparent; }
.team-viz:has(li[data-r="3"]:hover) .ring-3 { border-color: var(--plum); background: rgba(79, 75, 126, 0.06); }
@media (prefers-reduced-motion: reduce) { .ring, .ring-tag, .chip i { animation: none; } }
@media (max-width: 760px) { .team-viz { grid-template-columns: 1fr; } .orbit { width: min(100%, 340px); } .chip i { font-size: 11.5px; padding: 6px 9px; } }

/* How we work: value cards */
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 3.5vw, 48px); }
.gain { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); min-height: 260px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease; }
.gain:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(11, 42, 74, 0.14); }
.gain .pcard-art { width: 280px; height: 280px; right: -110px; top: -110px; opacity: .32; }
.gain-num { font-size: 12px; letter-spacing: .12em; position: relative; }
.gain h3 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.02em; margin: auto 0 0; position: relative; }
.gain h3 em { font-style: normal; }
.gain p { margin: 0; font-size: 16px; line-height: 1.5; position: relative; }
.gain-navy { background: #0B2A4A; color: #F7F5F0; } .gain-navy p, .gain-navy .gain-num { color: #C9C8D8; } .gain-navy h3 em { color: #FFB08E; }
.gain-cream { background: #F7F5F0; color: #0B2A4A; } .gain-cream p, .gain-cream .gain-num { color: #4A5070; } .gain-cream h3 em { color: var(--orange); }
.gain-lav { background: #E7E5F0; color: #0B2A4A; } .gain-lav p, .gain-lav .gain-num { color: #4A5070; } .gain-lav h3 em { color: var(--plum); }
.price-strip { margin-top: 18px; display: flex; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(11, 42, 74, 0.10); }
.price-tag { flex: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; padding: 8px 14px; }
.price-strip p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .gains { grid-template-columns: 1fr; } .gain { min-height: 0; } .gain h3 { margin-top: 18px; } .price-strip { border-radius: 18px; flex-direction: column; align-items: flex-start; } }

/* How we work: simple trio lists with a little motion (replaces orbit and cards) */
.trio { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trio li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 22px; }
.trio li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.trio.in li::before { transform: scaleX(1); }
.trio.in li:nth-child(2)::before { transition-delay: .15s; }
.trio.in li:nth-child(3)::before { transition-delay: .3s; }
.trio b { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.2; }
.trio span { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.trio-gains b { font-size: 26px; }
.trio-gains b em { color: var(--orange); }
.how-price b { color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .trio li::before { transform: none; transition: none; } }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 22px; } }

/* Three-line menu when the header gets narrow */
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; cursor: pointer; position: relative; color: var(--ink); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(11, 42, 74, 0.10); }
.mnav[hidden] { display: none; }
.mnav .wrap { display: flex; flex-direction: column; padding-block: 18px 28px; }
.mnav .label { margin: 4px 0 6px; }
.mnav a { text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 22px; padding: 10px 0; }
.mnav a.mnav-main { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.mnav a.pill { align-self: flex-start; margin-top: 14px; font-family: var(--body); font-size: 15px; padding: 14px 24px; color: var(--bg); }
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (min-width: 861px) { .mnav { display: none !important; } }
.top .mnav .wrap { align-items: flex-start; justify-content: flex-start; gap: 0; } .mnav { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); } .mnav a.mnav-main { align-self: stretch; }

/* Self-assessment tool */
.qhead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.qprog { height: 4px; background: rgba(11, 42, 74, 0.10); border-radius: 4px; overflow: hidden; }
.qprog span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.qtheme { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); margin: 0 0 18px; }
.stmt { border: 0; margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.stmt legend { padding: 0; display: flex; gap: 14px; font-size: 19px; line-height: 1.45; color: var(--ink); margin-bottom: 16px; max-width: 46em; }
.qn { font-size: 12px; letter-spacing: .1em; color: var(--orange); padding-top: 6px; flex: none; }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.scale label { position: relative; cursor: pointer; }
.scale input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scale span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(11, 42, 74, 0.16); background: rgba(255, 255, 255, 0.55); font-size: 14px; color: var(--ink-2); transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.scale label:hover span { border-color: var(--ink); color: var(--ink); }
.scale input:checked + span { background: var(--ink); border-color: var(--ink); color: #F7F5F0; transform: translateY(-1px); }
.scale input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.qnav .pill { margin-left: auto; border: 0; cursor: pointer; font-size: 15px; }
.qback { background: none; border: 0; border-bottom: 1px solid var(--orange); cursor: pointer; padding: 0 0 6px; }
.err { color: #A3341A; font-size: 15px; }
#result { display: flex; flex-direction: column; gap: 28px; }
.r-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.r-score { background: #0B2A4A; color: #F7F5F0; border-radius: 22px; padding: clamp(26px, 3vw, 38px); }
.r-score .label { color: #C9C8D8; margin: 0; }
.r-num { font-family: var(--display); font-size: clamp(72px, 9vw, 120px); line-height: 1; margin: 12px 0 6px; letter-spacing: -0.04em; }
.r-num small { font-size: 0.28em; color: #C9C8D8; letter-spacing: 0; margin-left: 6px; }
.r-band { margin: 0; font-size: 20px; color: #FFB08E; font-weight: 500; }
.r-desc { font-size: 19px; line-height: 1.55; color: var(--ink); margin: 0 0 22px; }
.tbars { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.tbars li { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); }
.tb-track { height: 8px; background: rgba(11, 42, 74, 0.10); border-radius: 8px; overflow: hidden; }
.tb-fill { display: block; height: 100%; width: 0; background: var(--plum); border-radius: 8px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.tbars li.weak { color: var(--ink); font-weight: 500; } .tbars li.weak .tb-fill { background: var(--orange); }
.tb-val { text-align: right; }
.r-weak { color: var(--ink-2); margin: 0; }
.r-weak b { color: var(--ink); font-weight: 500; }
.gate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: #FFC7AE; }
.gate h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 8px 0 10px; }
.gate p { margin: 0; color: #4A3B45; }
.gate-fields { display: flex; flex-direction: column; gap: 12px; }
.gate .f span i { font-style: normal; opacity: .7; }
.gate button.pill { align-self: flex-start; border: 0; cursor: pointer; font-size: 15px; margin-top: 4px; }
.gate-note { font-size: 13px; }
.full { display: flex; flex-direction: column; gap: 18px; }
.full-head h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); margin: 6px 0 0; }
#r-full { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fr { background: rgba(255, 255, 255, 0.6); border-radius: 18px; padding: 26px 28px; }
.fr .label { margin: 0; }
.fr h3 { font-family: var(--display); font-weight: 500; font-size: 26px; margin: 6px 0 10px; }
.fr-detail { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.fr ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 16px; }
.fr li::marker { color: var(--orange); }
.full-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 8px; }
.full-cta p { margin: 0; flex: 1 1 320px; color: var(--ink); }
.full-cta button.link { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.r-again button { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.tool-cta { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; align-items: end; padding: clamp(26px, 3vw, 40px); border-radius: 22px; background: #0B2A4A; color: #F7F5F0; text-decoration: none; transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.tool-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(11, 42, 74, 0.18); }
.tool-cta .label { grid-column: 1 / -1; color: #C9C8D8; margin: 0; }
.tc-title { font-family: var(--display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.tc-copy { grid-column: 1; color: #C9C8D8; }
.tool-cta .link { grid-column: 2; grid-row: 2 / span 2; color: #F7F5F0; align-self: center; }
@media (max-width: 760px) {
  .scale { grid-template-columns: 1fr; gap: 6px; } .scale span { justify-content: flex-start; min-height: 44px; padding: 10px 14px; }
  .r-top, .gate, #r-full { grid-template-columns: 1fr; }
  .tbars li { grid-template-columns: 88px 1fr 30px; }
  .tool-cta { grid-template-columns: 1fr; } .tool-cta .link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}
@media print {
  .top, .tool-hero, .gate, .full-cta, .r-again, footer, .contact, #quiz-wrap, .vx { display: none !important; }
  body, .band { background: #fff !important; } .full { display: flex !important; } .fr { break-inside: avoid; border: 1px solid #ddd; }
}
[hidden] { display: none !important; }
.stmt legend { float: left; width: 100%; }
.stmt .scale { clear: both; }
.qback::after { content: none !important; display: none !important; }
.qback::before { content: "\2190  "; }

/* Home: How we work (contrast row) */
.how-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.how-head h2 { font-size: clamp(34px, 4.2vw, 58px); margin: 14px 0 0; }
.how-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.how-intro .lede { margin: 0; }
.how-row { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.how-row li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; }
.how-row li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.how-row.in li::before { transform: scaleX(1); }
.how-row.in li:nth-child(2)::before { transition-delay: .12s; } .how-row.in li:nth-child(3)::before { transition-delay: .24s; } .how-row.in li:nth-child(4)::before { transition-delay: .36s; }
.hp-n { font-size: 12px; letter-spacing: .12em; color: var(--orange); }
.hp-was { font-size: 14px; color: var(--ink-2); text-decoration-color: rgba(79, 75, 126, 0.55); opacity: 0; transition: opacity .6s ease .5s; }
.how-row.in .hp-was { opacity: .85; }
.how-row b { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ink); }
.hp-d { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .how-row li::before { transform: none; transition: none; } .hp-was { opacity: .85; transition: none; } }
@media (max-width: 1000px) { .how-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .how-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .how-row { grid-template-columns: 1fr; gap: 24px; } }

/* Home: The problem (dark band, rows that drift) */
@property --dot { syntax: "<color>"; inherits: true; initial-value: #FF601D; }
:root[data-tone="ink"] { --bg: #0B2A4A; --ink: #F7F5F0; --ink-2: #B9BED0; --plum: #FFB08E; --line: rgba(247, 245, 240, 0.16); --dot: #FF601D; }
.problem h2 { font-size: clamp(38px, 5.4vw, 76px); margin: 14px 0 clamp(36px, 4.5vw, 60px); max-width: 16ch; }
.drift-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.drift-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); max-width: 900px; }
.drift-list li:last-child { border-bottom: 1px solid var(--line); }
.dl-text { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; color: var(--ink); }
.dl-tag { flex: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
/* each row lands a little further off the line: the drift itself */
.js .drift-list li.rv.in:nth-child(1) { transform: translateX(0); }
.js .drift-list li.rv.in:nth-child(2) { transform: translateX(clamp(8px, 3vw, 48px)); transition-delay: .1s; }
.js .drift-list li.rv.in:nth-child(3) { transform: translateX(clamp(16px, 6vw, 96px)); transition-delay: .2s; }
.js .drift-list li.rv.in:nth-child(4) { transform: translateX(clamp(24px, 9vw, 144px)); transition-delay: .3s; }
.drift-list li:nth-child(4) .dl-tag { color: var(--plum); }
.drift-punch { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); max-width: 24ch; margin: clamp(36px, 4.5vw, 60px) 0 0; }
.drift-punch em { color: var(--plum); }
@media (max-width: 640px) {
  .drift-list li { flex-direction: column; gap: 6px; }
  .js .drift-list li.rv.in:nth-child(2) { transform: translateX(10px); } .js .drift-list li.rv.in:nth-child(3) { transform: translateX(20px); } .js .drift-list li.rv.in:nth-child(4) { transform: translateX(30px); }
}
@media (prefers-reduced-motion: reduce) { .js .drift-list li.rv.in { transition: none; } }
.drift-list li { max-width: min(900px, calc(100% - clamp(24px, 9vw, 144px))); } @media (max-width: 640px) { .drift-list li { max-width: calc(100% - 32px); } }
.problem h2 { margin-bottom: 18px; }
.drift-intro { color: var(--ink-2); font-size: clamp(18px, 1.6vw, 21px); margin: 0 0 clamp(28px, 3.5vw, 44px); }
.dl-text { font-family: var(--display); font-size: clamp(21px, 2.1vw, 28px); letter-spacing: -0.01em; }
.js .drift-list li.rv.in:nth-child(2) { transform: translateX(clamp(6px, 2.2vw, 36px)); }
.js .drift-list li.rv.in:nth-child(3) { transform: translateX(clamp(12px, 4.4vw, 72px)); }
.js .drift-list li.rv.in:nth-child(4) { transform: translateX(clamp(18px, 6.6vw, 108px)); }
.js .drift-list li.rv.in:nth-child(5) { transform: translateX(clamp(24px, 8.8vw, 144px)); transition-delay: .4s; }
.drift-list li:nth-child(4) .dl-tag { color: var(--ink-2); }
.drift-list li:nth-child(5) .dl-tag { color: var(--plum); }
@media (max-width: 640px) {
  .js .drift-list li.rv.in:nth-child(2) { transform: translateX(8px); } .js .drift-list li.rv.in:nth-child(3) { transform: translateX(16px); }
  .js .drift-list li.rv.in:nth-child(4) { transform: translateX(24px); } .js .drift-list li.rv.in:nth-child(5) { transform: translateX(32px); }
  .drift-list li { max-width: calc(100% - 34px); }
}
.dl-text { font-family: var(--body); font-size: clamp(19px, 1.8vw, 23px); letter-spacing: 0; }
.problem { padding-bottom: clamp(40px, 5vw, 72px); }
.problem + #why { border-top: 0; }
.dl-text { font-family: var(--display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; letter-spacing: -0.015em; }
.drift-list li { padding: 26px 0; }
/* One continuous dark stretch from The Problem into Why Cureos */
#problem + #why > .wrap { border-top: 0; padding-top: clamp(24px, 3vw, 48px); }
.shift .was { text-decoration-color: color-mix(in srgb, currentColor 60%, transparent); }
/* Softer color changes between sections, especially into and out of dark navy */
:root { transition-duration: 1.3s; transition-timing-function: cubic-bezier(.45, 0, .25, 1); }
:root[data-tone="ink"] { transition-duration: 1.6s; }
.top .wm, .top .nav a, .top .navmenu summary { transition-duration: 1.3s; }

/* Home: The problem (light, redesigned) */
.problem-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.problem .problem-head h2 { font-size: clamp(36px, 4.6vw, 64px); margin: 14px 0 0; max-width: 14ch; }
.problem-side { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); padding-left: 20px; border-left: 2px solid var(--orange); }
.symptoms { list-style: none; padding: 0; margin: clamp(44px, 5.5vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.symptoms li { position: relative; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(11, 42, 74, 0.08); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; box-shadow: 0 14px 30px rgba(11, 42, 74, 0.06); }
.symptoms p { margin: 0; font-family: var(--display); font-size: clamp(23px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.sym-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.sym-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
/* each card settles a little lower than the last: drift, quietly */
.js .symptoms li.rv.in:nth-child(2) { transform: translateY(28px); transition-delay: .12s; }
.js .symptoms li.rv.in:nth-child(3) { transform: translateY(56px); transition-delay: .24s; }
.symptoms { padding-bottom: 56px; }
@media (max-width: 860px) {
  .problem-head { grid-template-columns: 1fr; }
  .symptoms { grid-template-columns: 1fr; padding-bottom: 0; }
  .symptoms li { min-height: 0; }
  .js .symptoms li.rv.in:nth-child(2), .js .symptoms li.rv.in:nth-child(3) { transform: none; }
}
/* Problem cards: a gentle, never-quite-still drift, plus a small wiggle on hover */
@keyframes sym-float { 0%, 100% { translate: 0 0; rotate: -0.6deg; } 50% { translate: 0 -6px; rotate: 0.6deg; } }
@keyframes sym-wiggle { 0%, 100% { rotate: 0deg; } 20% { rotate: -2deg; } 45% { rotate: 1.6deg; } 70% { rotate: -1deg; } 85% { rotate: 0.5deg; } }
.symptoms li.in { animation: sym-float 6.5s ease-in-out infinite; }
.symptoms li.in:nth-child(2) { animation-duration: 7.2s; animation-delay: -2.4s; }
.symptoms li.in:nth-child(3) { animation-duration: 5.8s; animation-delay: -4.1s; }
.symptoms li.in:hover { animation: sym-wiggle .7s ease-in-out; box-shadow: 0 20px 38px rgba(11, 42, 74, 0.12); }
@media (prefers-reduced-motion: reduce) { .symptoms li.in, .symptoms li.in:hover { animation: none; } }
/* Softer card motion */
@keyframes sym-float { 0%, 100% { translate: 0 0; rotate: -0.35deg; } 50% { translate: 0 -4px; rotate: 0.35deg; } }
@keyframes sym-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -1.1deg; } 55% { rotate: 0.8deg; } 80% { rotate: -0.4deg; } }
