/* ==========================================================================
   thechrischan.com
   Grammar: chaptered editorial. Each chapter lands on its own ground with a
   hard cut. Type does the work. One signature move: the headline edits itself.
   Page-level rules only. engine/scrollcraft.css is the mechanism, never edited.
   ========================================================================== */

@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

/* ---------------------------------------------------------------- tokens -- */
:root {
  --sc-canvas:     #060516;
  --sc-surface:    #0E0D2E;
  --sc-ink:        #F3F2FB;
  --sc-ink-soft:   #B6B4D8;
  --sc-accent:     #00C058;
  --sc-accent-ink: #04130A;
  --sc-font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sc-font-text:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --night:  #060516;
  --indigo: #14123F;
  --mist:   #ECEDF6;
  --pen:    #00C058;
  --nav-h:  3.5rem;
}

/* Chapter grounds. Hard cuts, never interpolated. Light grounds restate every
   inherited token, including color, so type stays legible on both sides. */
.g-night  { background: var(--night); }
.g-indigo { background: var(--indigo); --sc-surface: #1D1B55; }
.g-mist {
  background: var(--mist);
  --sc-ink: #0C0B2A;
  --sc-ink-soft: #4A4975;
  --sc-accent: #00793A;
  --sc-accent-ink: #FFFFFF;
  --pen: #0A9A3A;
  color: var(--sc-ink);
}

body { font-weight: 400; }
.skip { position: fixed; left: var(--sc-4); top: -4rem; z-index: 100; background: var(--sc-accent); color: var(--sc-accent-ink);
  padding: var(--sc-2) var(--sc-4); border-radius: var(--sc-r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--sc-3); }

/* ===== v3. Structure studied from fullcircleagency.com (phone recording). Brand: Libre Baskerville + Hanken Grotesk, night / indigo / mist / green. ===== */
:root { --ink: #F3F2FB; --soft: #B6B4D8; --card: #0E0D2E; --card2: #1D1B55; --line: color-mix(in oklab, #F3F2FB 12%, transparent);
  --g: #00C058; --gd: #00793A; --r: 20px; }
.g-mist { --line: color-mix(in oklab, #0C0B2A 14%, transparent); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: var(--sc-font-text); -webkit-font-smoothing: antialiased; }
.caps { text-transform: uppercase; }

/* progress line, floating nav pill, dock */
.bar { position: fixed; z-index: 50; display: flex; align-items: center; gap: var(--sc-4); box-sizing: border-box; }
.btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 0.85rem 1.5rem; background: #00C058; color: #04130A; font-weight: 600; font-size: var(--sc-t-base); text-decoration: none; transition: background-color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out); }
.btn:active { transform: translateY(1px) scale(0.98); } @media (hover: hover) and (pointer: fine) { .btn:hover { background: #22D878; } }
a { text-underline-offset: 0.3em; }
.progress { position: fixed; z-index: 60; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sc-page, 0)); background: var(--g); pointer-events: none; }
.bar { inset: 0.75rem var(--sc-gutter) auto var(--sc-gutter); width: auto; height: 3.5rem; border: 1px solid var(--line); border-radius: 18px; padding-inline: 0.9rem 0.6rem;
  background: #060516; max-width: 74rem; margin-inline: auto; }
.bar__mark { margin-right: auto; display: block; line-height: 0; } .bar__mark img { height: 1.7rem; width: auto; mix-blend-mode: screen; display: block; }
.bar__nav { display: flex; gap: clamp(0.9rem, 2.2vw, 1.8rem); margin-right: var(--sc-4); }
.bar__nav a { color: var(--soft); text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { color: var(--ink); } }
.btn { gap: 0.55rem; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,192,88,.6); }
.btn--sm { padding: 0.55rem 1rem; box-shadow: none; }
.btn--lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; width: 100%; }
.btn--ghost { background: color-mix(in oklab, #F3F2FB 5%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost .ic { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--g); color: #04130A; }
.btn--ghost .ic .ico { width: 0.8rem; height: 0.8rem; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: color-mix(in oklab, #F3F2FB 10%, transparent); } }
.ico { width: 1em; height: 1em; flex: none; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--g); flex: none; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,192,88,.55); } 70%,100% { box-shadow: 0 0 0 0.6rem rgba(0,192,88,0); } }
.dock { position: fixed; z-index: 55; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: none; align-items: center; gap: 0.75rem; padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 999px; background: #060516; box-shadow: inset 0 0 0 1px var(--line), 0 12px 40px rgba(0,0,0,.5); transform: translateY(160%); transition: transform 380ms var(--sc-ease-out); }
.dock.is-on { transform: none; } .dock__t { flex: 1; text-align: center; font-weight: 600; font-size: var(--sc-t-sm); color: var(--ink); }

/* shared */
.ch { padding-block: clamp(4rem, 9vw, 8rem); position: relative; } .ch--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.tagpill { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--sc-5); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, #00C058 45%, transparent); }
.tagpill--l { color: var(--gd); box-shadow: inset 0 0 0 1px color-mix(in oklab, #00793A 50%, transparent); }
.mono { margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.mono--d { color: var(--sc-ink-soft); } .mono--c { text-align: center; margin-top: var(--sc-6); } .mono--l { color: var(--gd); } .mono__n { color: var(--g); }
.h2 { margin: 0 0 var(--sc-5); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.9rem, 1.1rem + 3.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; }
.h2 .hl, .h1 .ln--accent { color: var(--g); } .g-mist .h2 .hl { color: var(--gd); }
.h2--xl { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.2rem); max-width: 14ch; text-align: center; margin-inline: auto; }
.lede2 { margin: 0 0 var(--sc-6); max-width: 52ch; font-size: var(--sc-t-lg); line-height: 1.55; color: var(--soft); } .g-mist .lede2 { color: var(--sc-ink-soft); } .lede2--c { text-align: center; margin-inline: auto; }
.fine { margin: var(--sc-4) 0 0; font-size: var(--sc-t-sm); font-style: italic; color: var(--soft); } .g-mist .fine { color: var(--sc-ink-soft); }
.stack { display: grid; gap: var(--sc-3); width: min(100%, 26rem); } .stack--row { display: flex; flex-wrap: wrap; width: auto; margin-top: var(--sc-5); }
.stack--row .btn { width: auto; }

/* hero */
.hero { display: block; padding-top: 6.5rem; padding-bottom: 0; min-height: 0; overflow: hidden; }
.hero__glow { position: absolute; z-index: 0; pointer-events: none; width: min(80rem, 100%); aspect-ratio: 1; left: 50%; translate: -50% 0; top: -30%;
  background: radial-gradient(closest-side, rgba(36,34,140,.7), rgba(16,15,62,.3) 55%, transparent 100%); }
.hero__grid { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sc-5); }
.hero__grid > .tagpill { margin: 0; }
.draft { position: relative; display: inline-block; margin: 0; max-width: 100%; font-family: var(--sc-font-display); font-style: italic; font-size: clamp(0.9rem, 0.85rem + 0.4vw, 1.15rem); line-height: 1.4; color: var(--soft); }
.draft__pen { position: absolute; left: -1.5%; top: 50%; width: 103%; height: 0.55em; transform: translateY(-50%); overflow: visible; }
.pen path { fill: none; stroke: var(--pen); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.h1 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.1rem, 1rem + 4.4vw, 4.6rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 17ch; text-wrap: balance; }
.h1 .ln { display: inline; }
.h1 .ln--mark { display: block; margin-top: 0.12em; }
.mark { display: inline-block; padding: 0.04em 0.3em 0.1em; background: var(--g); color: #04130A; transform: rotate(-1.6deg); box-shadow: 0 12px 24px -14px rgba(18,237,40,.55); }
.rl-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.18em; margin-bottom: -0.18em; } .rl-word .wi { display: inline-block; }
.vcard { position: relative; margin: var(--sc-3) 0 0; width: min(100%, 46rem); border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1D1B55, #0B0A2B); box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -30px rgba(0,0,0,.8); }
.vcard__poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: grid; align-items: center; text-align: left; padding-left: clamp(1rem, 4vw, 3rem); }
.vcard__poster img { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%); mask-image: linear-gradient(90deg, transparent, #000 28%); }
.vcard__name { position: relative; z-index: 1; margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.8rem, 1rem + 4vw, 4.2rem); line-height: 1; color: var(--ink); }
.vcard__cap { position: absolute; left: clamp(1rem, 4vw, 3rem); bottom: 3.6rem; z-index: 1; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--g); }
.vcard--b { width: 100%; margin: 0; } .vcard__poster--b { aspect-ratio: 4 / 5; padding: 0; } .vcard__poster--b img { position: static; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
.watch { position: absolute; left: 0.9rem; bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.45rem; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: var(--sc-t-sm);
  color: var(--ink); background: rgba(6,5,22,.78); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); }
.watch .ico { width: 2.2rem; height: 2.2rem; padding: 0.7rem 0.6rem 0.7rem 0.75rem; border-radius: 50%; background: var(--g); color: #04130A; box-sizing: border-box; }
.hero__sub { margin: 0; max-width: 40ch; font-size: var(--sc-t-lg); line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.facts { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.4rem 0.8rem; font-size: var(--sc-t-sm); color: var(--soft); }
.facts b { color: var(--ink); } .facts i { width: 4px; height: 4px; border-radius: 50%; background: var(--g); }
.swarm { position: relative; width: min(100%, 52rem); height: clamp(16rem, 38vw, 24rem); margin-top: var(--sc-4); }
.swarm canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip2 { position: absolute; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.82rem; color: var(--soft); background: rgba(14,13,46,.9); box-shadow: inset 0 0 0 1px var(--line); animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.chip2 b { color: var(--ink); } .c1 { right: 6%; top: 14%; } .c2 { left: 14%; top: 50%; animation-delay: -2s; } .c3 { left: 4%; bottom: 8%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.formula { list-style: none; margin: 0; padding: 0 0 clamp(3rem, 6vw, 5rem); width: 100%; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.1fr; gap: var(--sc-3); align-items: stretch; }
.fc { display: grid; gap: 0.25rem; align-content: start; text-align: left; padding: var(--sc-5); border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fc b { font-family: var(--sc-font-display); font-size: 1.05rem; } .fc span:not(.fc__i) { font-size: var(--sc-t-sm); color: var(--soft); line-height: 1.4; }
.fc__i { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: var(--sc-3); border-radius: 10px; font-weight: 700; color: var(--g); background: color-mix(in oklab, #00C058 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, #00C058 35%, transparent); }
.fc--sum { background: var(--g); box-shadow: none; } .fc--sum b, .fc--sum span { color: #04130A !important; } .fc--sum .fc__i { background: #04130A; color: var(--g); box-shadow: none; }
.fop { align-self: center; font-family: var(--sc-font-display); font-size: 1.6rem; color: var(--g); }

/* ribbons */
.ribbons { position: relative; z-index: 3; height: 9.5rem; margin-block: -2.5rem -4.5rem; overflow: hidden; pointer-events: none; }
.rib { position: absolute; left: -5%; width: 110%; padding-block: 0.8rem; overflow: hidden; }
.rib--light { top: 1.2rem; background: var(--mist); color: #0C0B2A; transform: rotate(-2.2deg); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.rib--dark { top: 4.6rem; background: #14123F; color: var(--ink); transform: rotate(1.8deg); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.rib__t { display: flex; width: max-content; gap: 2.5rem; animation: marq 40s linear infinite; font-family: var(--sc-font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(0.95rem, 0.8rem + 0.7vw, 1.3rem); }
.rib__t span { white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; } .rib__t span::after { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gd); } .rib--dark .rib__t span::after { background: var(--g); }
.rib__t--rev { animation-direction: reverse; }
@keyframes marq { to { transform: translateX(-50%); } }

/* results */
.logos { overflow: hidden; margin-block: var(--sc-6) var(--sc-7); padding-block: 14px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__row { display: flex; width: max-content; gap: 1.2rem; margin: 0; padding: 0; list-style: none; animation: marq 45s linear infinite; }
.lg { display: grid; place-items: center; min-width: 11rem; height: 5rem; padding-inline: 1.6rem; border-radius: 14px; background: #fff; color: #0C0B2A; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.35rem; box-shadow: 0 0 0 2px #0C0B2A, 5px 6px 0 #0C0B2A; white-space: nowrap; }
.lg--t { font-family: var(--sc-font-text); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }
.bigstat { padding: clamp(1.6rem, 4vw, 3rem); border-radius: 28px; background: #060516; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(6,5,22,.7); position: relative; overflow: hidden; }
.bigstat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(36,34,140,.7), transparent 70%); pointer-events: none; }
.bigstat > * { position: relative; }
.bigstat__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; color: var(--g); font-size: 1.4rem; background: color-mix(in oklab, #00C058 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, #00C058 35%, transparent); }
.bigstat__n { margin: var(--sc-5) 0 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(4rem, 2rem + 9vw, 9rem); line-height: 1; letter-spacing: -0.03em; color: var(--g); font-variant-numeric: tabular-nums; }
.bigstat__t { margin: var(--sc-3) 0 var(--sc-4); font-size: var(--sc-t-lg); max-width: 34ch; line-height: 1.45; }
.trio { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sc-4); }
.tc { display: grid; gap: var(--sc-3); padding: var(--sc-6); border-radius: 22px; background: #060516; color: var(--ink); align-content: start; }
.tc__n { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1; color: var(--g); font-variant-numeric: tabular-nums; }
.tc__l { color: var(--soft); font-size: var(--sc-t-sm); line-height: 1.5; }

/* meet */
.meet { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-top: var(--sc-6); }
.meet__body { display: grid; gap: var(--sc-5); } .meet__body p { margin: 0; color: var(--soft); max-width: 58ch; line-height: 1.65; }
.meet__body .lede { color: var(--ink); font-family: var(--sc-font-display); font-size: clamp(1.15rem, 1rem + 0.8vw, 1.55rem); line-height: 1.5; }
.boxes { list-style: none; margin: var(--sc-3) 0 0; padding: 0; display: grid; gap: var(--sc-3); }
.boxes li { display: flex; align-items: baseline; gap: 1rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.boxes b { min-width: 4.2rem; font-family: var(--sc-font-display); font-size: 1.6rem; color: var(--g); } .boxes span { color: var(--soft); font-size: var(--sc-t-sm); }

/* how I work */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-5); margin-top: var(--sc-6); }
.pcard { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.pcard::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--g), transparent); }
.pcard h3 { margin: var(--sc-3) 0 var(--sc-3); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.2; }
.pcard__p { margin: 0 0 var(--sc-5); color: var(--soft); line-height: 1.6; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-4); }
.checks li { position: relative; padding-left: 2.4rem; font-weight: 600; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--g); }
.checks li::after { content: ""; position: absolute; left: 0.5rem; top: 0.3rem; width: 0.38rem; height: 0.7rem; border: solid #04130A; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.term { border-radius: 16px; background: #060516; box-shadow: inset 0 0 0 1px var(--line); padding: 0 1rem 1rem; font-size: 0.86rem; line-height: 1.55; }
.term__bar { display: flex; align-items: center; gap: 0.4rem; padding-block: 0.8rem; color: var(--soft); font-size: 0.74rem; letter-spacing: 0.04em; }
.term__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--g); } .term__bar i:nth-child(2) { background: #8F8DB8; } .term__bar i:nth-child(3) { background: #4A4975; } .term__bar span { margin-left: 0.6rem; }
.term__l { margin: 0 0 0.7rem; display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.6rem; }
.term__l b { color: var(--g); font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; padding-top: 0.15rem; }
.term__l span { color: var(--ink); } .term__l:first-of-type span { text-decoration: line-through; text-decoration-color: var(--g); color: var(--soft); }
.term .caret::after { content: ""; display: inline-block; width: 0.5ch; height: 1em; margin-left: 2px; background: var(--g); vertical-align: -0.12em; animation: blink 1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } }

/* services carousel */
.head2 { display: flex; align-items: end; justify-content: space-between; gap: var(--sc-5); } .swipe { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.6rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); }
.car { list-style: none; margin: var(--sc-5) 0 0; padding: 0.5rem var(--sc-gutter) 2rem; display: flex; gap: var(--sc-4); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--sc-gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.car::-webkit-scrollbar { display: none; }
.sv { flex: 0 0 min(80vw, 20rem); scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--sc-3); padding: var(--sc-4); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(12,11,42,.06), 0 24px 40px -24px rgba(12,11,42,.35); }
.sv__pn { display: grid; place-items: center; height: 9rem; border-radius: 16px; background: #060516; color: var(--g); font-family: var(--sc-font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: var(--sc-3); background-image: radial-gradient(70% 90% at 80% 0%, rgba(36,34,140,.8), transparent 70%); }
.sv h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; line-height: 1.25; color: #0C0B2A; }
.sv p:not(.mono):not(.sv__f) { margin: 0; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.55; }
.sv__f { margin: auto 0 0; padding-top: var(--sc-4); border-top: 1px solid var(--line); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gd); }

/* old / new */
.pairs { display: grid; gap: var(--sc-5); margin-top: var(--sc-6); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-4); }
.old, .new { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; }
.old { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); } .new { background: var(--g); color: #04130A; }
.old h3, .new h3 { margin: var(--sc-4) 0 var(--sc-3); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.15; text-transform: uppercase; }
.old p:not(.otag) { margin: 0; color: var(--soft); } .new p:not(.otag) { margin: 0; color: #0A3A16; font-weight: 500; }
.otag { margin: 0; display: flex; align-items: center; gap: 0.7rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.num { font-family: var(--sc-font-display); font-size: 2.4rem; letter-spacing: 0; line-height: 1; }
.old .num { color: #B6B4D8; -webkit-text-stroke: 0; } .new .num { color: #04130A; }
.otag i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #E5484D; } .new .otag i { background: #04130A; } .old .otag { color: #E58A8D; }

/* work */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: var(--sc-6) 0; }
.chip { font: inherit; cursor: pointer; padding: 0.6rem 1.1rem; border: 0; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #0C0B2A; background: transparent; box-shadow: inset 0 0 0 1px #0C0B2A; }
.chip.is-on { background: #060516; color: var(--g); box-shadow: none; }
.cases { display: grid; gap: var(--sc-5); }
.case { padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 28px; background: #060516; color: var(--ink); display: grid; gap: var(--sc-4); align-content: start; position: relative; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(6,5,22,.8); }
.case[hidden] { display: none; }
.case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(36,34,140,.55), transparent 70%); pointer-events: none; } .case > * { position: relative; }
.case__top { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; } .case .mono--d { color: var(--soft); }
.ftag { padding: 0.4rem 0.9rem; border-radius: 10px; background: var(--g); color: #04130A; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.case__n { margin: var(--sc-4) 0 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem); line-height: 1; letter-spacing: -0.02em; color: var(--g); } .case__n small { display: block; margin-top: 0.4rem; font-family: var(--sc-font-text); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: 0; color: var(--soft); }
.case__n s { color: #8F8DB8; text-decoration-color: var(--g); text-decoration-thickness: 3px; } .case__n em { font-style: normal; color: var(--ink); }
.bars { display: grid; gap: 0.5rem; max-width: 28rem; } .bars span { display: block; height: 0.55rem; width: var(--w); border-radius: 999px; background: #34336A; } .bars .on { background: var(--g); }
.case h3 { margin: var(--sc-3) 0 0; font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); line-height: 1.3; max-width: 30ch; }
.metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sc-3); }
.metrics li { display: flex; gap: 0.9rem; align-items: baseline; padding: 0.8rem 1rem; border-radius: 12px; background: var(--card2); color: var(--soft); font-size: var(--sc-t-sm); } .metrics b { min-width: 5.5rem; font-family: var(--sc-font-display); font-size: 1.15rem; color: var(--ink); }
.case__p { margin: 0; color: var(--soft); line-height: 1.65; max-width: 62ch; } .case__p b { color: var(--ink); } .case .fine { color: var(--soft); margin: 0; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sc-4); margin-top: var(--sc-6); }
.q { margin: 0; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 22px; background: #F6F6FB; color: #0C0B2A; display: grid; gap: var(--sc-4); align-content: start; }
.q--lead { grid-column: 1 / -1; background: var(--g); } .q--lead .qm, .q--lead figcaption span { color: #04130A; }
.qm { font-family: var(--sc-font-display); font-weight: 700; font-size: 4.4rem; line-height: 0.6; color: var(--gd); height: 1.6rem; }
.q blockquote { margin: 0; } .q p { margin: 0; font-size: 1.05rem; line-height: 1.6; } .q--lead p { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); line-height: 1.35; }
.q figcaption { display: grid; gap: 0.15rem; } .q figcaption b { font-weight: 700; } .q figcaption span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #4A4975; }

/* timeline */
.tl { list-style: none; margin: var(--sc-6) 0 0; padding: 0; display: grid; gap: var(--sc-6); position: relative; max-width: 44rem; }
.tl::before { content: ""; position: absolute; left: 1.65rem; top: 1.65rem; bottom: 1.65rem; width: 2px; background: linear-gradient(var(--gd), color-mix(in oklab, #0C0B2A 18%, transparent)); }
.tl li { display: grid; grid-template-columns: 3.3rem 1fr; gap: var(--sc-5); align-items: start; position: relative; }
.tl__n { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; font-size: 0.85rem; font-weight: 600; background: var(--mist); box-shadow: inset 0 0 0 2px color-mix(in oklab, #0C0B2A 20%, transparent); color: #4A4975; } .tl__n.is-on { background: var(--g); color: #04130A; box-shadow: 0 0 0 7px color-mix(in oklab, #00C058 25%, transparent); }
.tl h3 { margin: 0.5rem 0 var(--sc-2); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); } .tl p { margin: 0; color: var(--sc-ink-soft); line-height: 1.6; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { display: grid; gap: var(--sc-3); }
.faq details { border-radius: 16px; background: #F6F6FB; box-shadow: inset 0 0 0 1px var(--line); padding-inline: var(--sc-5); color: #0C0B2A; } .faq details[open] { box-shadow: inset 0 0 0 1px #00793A; background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sc-4); cursor: pointer; list-style: none; padding-block: 1.2rem; font-weight: 600; } .faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1px #00793A; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 2px; background: #00793A; transform: translate(-50%, -50%); } .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 200ms; } details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0 0 var(--sc-5); color: var(--sc-ink-soft); line-height: 1.65; max-width: 60ch; }

/* close and footer */
.close { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 10rem); text-align: center; }
.close__swarm { position: absolute; left: 50%; top: 4%; width: min(60rem, 140%); height: 90%; transform: translateX(-50%); opacity: 0.8; pointer-events: none; }
.close__wrap { position: relative; display: grid; justify-items: center; gap: var(--sc-5); }
.foot { padding-block: var(--sc-8) var(--sc-6); border-top: 1px solid var(--line); }
.foot__wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sc-7); } .foot__brand p { margin: var(--sc-4) 0 0; color: var(--soft); max-width: 32ch; line-height: 1.55; }
.foot__logo img { height: 1.8rem; width: auto; mix-blend-mode: screen; display: block; }
.foot__col { display: grid; gap: 0.7rem; align-content: start; } .foot__col a { color: var(--ink); text-decoration: none; } .foot__col .mono { color: var(--g); margin-bottom: 0.3rem; }
.foot__legal { margin-top: var(--sc-7); margin-bottom: 0; font-size: 0.8rem; color: var(--soft); }

/* the edit: plays once on load; reduced motion lands on the finished state */
.js .pen { clip-path: inset(-6px 100% -6px 0); transition: clip-path 720ms var(--sc-ease-out); }
.js .is-drawn > .pen { clip-path: inset(-6px -3px -6px 0); }
.js .rl-word .wi { transform: translateY(108%); }
.js .hero__grid > :not(.h1):not(.draft):not(.tagpill) { opacity: 0; transform: translateY(12px); }
.js.rl-go .draft__pen { clip-path: inset(-6px -3px -6px 0); transition-delay: 250ms; transition-duration: 650ms; }
.js.rl-go .draft__t { animation: rl-dim 520ms ease-out 900ms forwards; }
.js.rl-go .rl-word .wi { animation: rl-rise 760ms var(--sc-ease-out) calc(860ms + var(--i, 0) * 70ms) forwards; }
.js.rl-go .hero__grid > :not(.h1):not(.draft):not(.tagpill) { animation: rl-fade 700ms var(--sc-ease-out) calc(1500ms + var(--k, 0) * 140ms) forwards; }
.js.rl-go .mark { animation: markpop 700ms var(--sc-ease-out) 1900ms both; } @keyframes markpop { from { transform: rotate(0) scale(.96); } }
@keyframes rl-dim  { to { color: #8F8DB8; opacity: 0.72; } } @keyframes rl-rise { to { transform: none; } } @keyframes rl-fade { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .pen { clip-path: inset(-6px -3px -6px 0); transition: none; } .js .rl-word .wi { transform: none; }
  .js .hero__grid > :not(.h1):not(.draft):not(.tagpill) { opacity: 1; transform: none; }
  .js.rl-go .draft__t, .js.rl-go .rl-word .wi, .js.rl-go .hero__grid > *, .js.rl-go .mark { animation: none; } .draft__t { opacity: .72; }
  .rib__t, .logos__row, .chip2, .dot { animation: none; } .logos, .car { overflow-x: auto; } .rib { overflow-x: auto; }
}

/* tablet and phone */
@media (max-width: 860px) {
  .bar__nav { display: none; }
  .hero { padding-top: 5.5rem; } .formula { grid-template-columns: 1fr; } .fop { justify-self: center; }
  .trio, .duo, .pair, .quotes, .faq, .foot__wrap, .meet { grid-template-columns: 1fr; }
  .chip2 { font-size: 0.74rem; } .c2 { left: 4%; } .c1 { right: 2%; }
  .vcard__cap { display: none; } .case { padding: var(--sc-5); }
  .head2 { align-items: start; }
}

/* mobile containment: nothing may widen the page */
html, body { max-width: 100%; overflow-x: clip; }
.sc-grain { overflow: hidden; contain: paint; }

/* readability: struck text stays legible */
.draft { color: #D3D1EC; }
.draft__pen { height: 0.4em; opacity: .75; } .draft__pen path { stroke-width: 2; }
@keyframes rl-dim { to { color: #B6B4D8; opacity: 1; } }
.js.rl-go .draft__t { animation: rl-dim 520ms ease-out 900ms forwards; }
.draft__t { opacity: 1; } @media (prefers-reduced-motion: reduce) { .draft__t { opacity: 1; } }
.term__l:first-of-type span { text-decoration-thickness: 1px; text-decoration-color: rgba(0,192,88,.7); color: #D3D1EC; }
.case__n s { color: #B6B4D8; text-decoration-thickness: 2px; text-decoration-color: rgba(0,192,88,.7); }

/* ===== v4: Full Circle match ===== */
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-latin-500-normal.woff2") format("woff2"); }
:root { --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace; --sc-section: clamp(5rem, 12vw, 10.5rem); --mist: #F4EFE4; }
.g-mist { background: #F4EFE4; --sc-ink-soft: #5C5446; }
.g-mist { --line: rgba(20,17,12,.13); }
.tagpill, .eyebrow, .chip2 span, .vcard__cap, .vcard__tag, .vcard__tiles span, .formula li small, .case__n small, .fine, .term, .facts dt { font-family: var(--mono); }
.tagpill, .vcard__tag, .vcard__cap, .vcard__tiles span { letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
/* video card, board style */
.vcard { width: min(100%, 52rem); border-radius: 20px; background: linear-gradient(160deg, #14123F, #0A0924); box-shadow: inset 0 0 0 1px rgba(0,192,88,.28), 0 30px 80px -30px rgba(0,0,0,.8); }
.vcard__poster { display: grid; grid-template-columns: 1fr 40%; grid-template-areas: "top img" "tiles tiles"; aspect-ratio: auto; padding: clamp(1rem,3vw,1.8rem); gap: 1rem 1.2rem; align-items: stretch; text-align: left; }
.vcard__top { grid-area: top; display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; justify-content: center; }
.vcard__tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .66rem; color: var(--g); border: 1px solid rgba(0,192,88,.35); border-radius: 999px; padding: .3rem .7rem; }
.vcard__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--g); }
.vcard__cap { position: static; display: block !important; font-size: .64rem; color: var(--soft); }
.vcard__name { font-size: clamp(2rem, 1rem + 5vw, 4.4rem); }
.vcard__poster img { position: static; grid-area: img; width: 100%; height: 100%; min-height: 9rem; border-radius: 12px; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 18%; }
.vcard__tiles { grid-area: tiles; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.vcard__tiles li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: .7rem .75rem; display: flex; flex-direction: column; gap: .2rem; }
.vcard__tiles span { font-size: .58rem; color: var(--soft); }
.vcard__tiles b { font-family: var(--sc-font-display); font-size: clamp(1.1rem, .8rem + 1.4vw, 1.7rem); color: var(--ink); line-height: 1.05; }
.vcard__tiles em { font-style: normal; font-size: .72rem; line-height: 1.3; color: var(--soft); }
.watch { display: inline-flex; align-items: center; gap: .8rem; text-align: left; } .watch span { display: flex; flex-direction: column; line-height: 1.15; } .watch strong { font-weight: 600; } .watch small { font-family: var(--mono); font-size: .66rem; opacity: .75; letter-spacing: .06em; }
.vcard--b .vcard__poster--b { display: block; padding: 0; }
@media (max-width: 860px) { .vcard__poster { grid-template-columns: 1fr 38%; } .vcard__tiles em { font-size: .64rem; } .vcard__tiles li { padding: .55rem .55rem; } .vcard__cap { display: block !important; } }
.vcard { display: flex; flex-direction: column; }
.vcard .watch { position: static; margin: 0 clamp(1rem,3vw,1.8rem) clamp(1rem,3vw,1.8rem); align-self: flex-start; }
.vcard__poster img { aspect-ratio: 4 / 5; height: auto; max-height: 15rem; align-self: start; justify-self: end; width: 100%; }
.vcard__poster { grid-template-columns: 1fr minmax(8rem, 30%); }
.vcard--b .watch { display: none; }
@media (max-width: 860px) { .vcard__poster { grid-template-columns: 1fr 38%; } .vcard__poster img { max-height: 12rem; } }


/* ---- header: scroll-spy state and phone menu ---- */
.bar__nav a { position: relative; padding-block: .4rem; transition: color var(--sc-d-fast) var(--sc-ease-out); }
.bar__nav a.is-on { color: var(--ink); }
.bar__nav a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--g); }
.bar__menu { display: none; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 12px; background: color-mix(in oklab, #F3F2FB 8%, transparent); cursor: pointer; place-items: center; padding: 0; }
.bar__menu span, .bar__menu span::before { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--ink); content: ""; position: relative; transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.bar__menu span::before { position: absolute; top: -6px; left: 0; }
.bar__menu span::after { content: ""; position: absolute; top: 6px; left: 0; width: 1.1rem; height: 2px; border-radius: 2px; background: var(--ink); }
.bar__menu[aria-expanded="true"] span { background: transparent; } .bar__menu[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); } .bar__menu[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.menu { position: fixed; z-index: 49; inset: 4.6rem var(--sc-gutter) auto var(--sc-gutter); padding: .6rem; border-radius: 18px; background: #060516; border: 1px solid var(--line); display: none; flex-direction: column; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.menu.is-open { display: flex; }
.menu a { padding: .95rem 1rem; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.menu a + a { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .bar__menu { display: grid; } .bar .btn--sm { display: none; } .bar__mark { margin-right: auto; } }
@media (min-width: 861px) { .menu { display: none !important; } }
section[id] { scroll-margin-top: 5rem; }

/* ---- work samples library ---- */
.samples { display: grid; gap: var(--sc-4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smp { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -24px rgba(12,11,42,.5); }
.smp[hidden] { display: none; }
.smp__t { margin: 0; font-size: .8rem; font-weight: 600; color: var(--gd); }
.smp h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; color: #0C0B2A; }
.smp__p { margin: 0; font-size: var(--sc-t-sm); line-height: 1.6; color: var(--sc-ink-soft); }
.smp__r { margin: auto 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: var(--sc-t-sm); font-weight: 600; color: #0C0B2A; line-height: 1.5; }
.smp__l { font-size: var(--sc-t-sm); font-weight: 600; color: var(--gd); text-decoration: underline; text-decoration-thickness: 1px; }
.sub-h { margin: var(--sc-7) 0 var(--sc-3); font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); color: #0C0B2A; }
@media (max-width: 1000px) { .samples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .samples { grid-template-columns: 1fr; } }


/* ---- two greens: bright for headline and highlights on dark, deeper logo green for buttons ---- */
.g-night, .g-indigo, .case, .vcard, .close { --g: #12ED28; --sc-accent: #12ED28; }
.hero .h1 .ln--accent, .hero .mark, .bigstat__n, .case__n, .vcard__tiles b { --g: #12ED28; }
.hero .mark { background: #12ED28; }
.btn { background: #00C058; color: #02140A; }

/* ---- services as a grid of clear buttons ---- */
.svc-grid { list-style: none; margin: var(--sc-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-4); }
.svc { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -24px rgba(12,11,42,.5); }
.svc h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: #0C0B2A; }
.svc p { margin: 0; color: var(--sc-ink-soft); line-height: 1.6; font-size: var(--sc-t-sm); }
.svc .btn { margin-top: auto; align-self: flex-start; padding: .7rem 1.15rem; font-size: .95rem; }
.svc .btn--dark { background: #0C0B2A; color: #fff; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc .btn { align-self: stretch; } }

/* results: bright numbers, and the big stat uses its width on desktop */
.tc { --g: #12ED28; }
@media (min-width: 861px) {
  .bigstat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 5rem); align-items: center; }
  .bigstat__ic { grid-column: 1 / -1; }
  .bigstat__n { grid-column: 1; grid-row: 2 / span 2; margin: 0; }
  .bigstat__t { grid-column: 2; grid-row: 2; max-width: 32ch; }
  .bigstat .mono { grid-column: 2; grid-row: 3; }
}
@media (min-width: 861px) { .bigstat { row-gap: .6rem; } .bigstat__ic { margin-bottom: .8rem; } }

/* ---- case study layout ---- */
.case__grid { display: grid; gap: var(--sc-5); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: var(--sc-3); padding-top: var(--sc-5); border-top: 1px solid var(--line); }
.case h4 { margin: 0 0 var(--sc-2); font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g); }
.case__story > * + h4, .case__proof > * + h4 { margin-top: var(--sc-5); }
.case .did { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sc-3); }
.case .did li { position: relative; padding-left: 1.3rem; color: var(--soft); line-height: 1.6; font-size: var(--sc-t-sm); }
.case .did li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--g); }
.case .metrics { gap: .5rem; }
.case .fine { margin-top: var(--sc-3); }
.lks { display: flex; flex-wrap: wrap; gap: .6rem; }
.lk { display: inline-flex; align-items: center; padding: .7rem 1.1rem; border-radius: 999px; font-size: .86rem; font-weight: 600; text-decoration: none; color: #02140A; background: #00C058; transition: transform .2s, background .2s; }
.lk:hover, .lk:focus-visible { background: #12ED28; transform: translateY(-2px); }
.smp__ls { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.smp__l { display: inline-block; }
@media (max-width: 860px) { .case__grid { grid-template-columns: 1fr; } }

/* hero headline: three clean lines */
.hero .h1 { max-width: 26ch; font-size: clamp(1.7rem, 0.9rem + 3.6vw, 3.9rem); }
.hero .h1 .ln { display: block; }

/* ghost buttons: keep them secondary, readable in every state */
.btn.btn--ghost { background: rgba(243,242,251,.07); color: #F3F2FB; box-shadow: inset 0 0 0 1px rgba(243,242,251,.35); }
.btn.btn--ghost .ic { background: #12ED28; color: #04130A; }
@media (hover: hover) and (pointer: fine) { .btn.btn--ghost:hover { background: rgba(243,242,251,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(243,242,251,.6); } }
.g-mist .btn.btn--ghost { background: transparent; color: #0C0B2A; box-shadow: inset 0 0 0 1.5px #0C0B2A; }
@media (hover: hover) and (pointer: fine) { .g-mist .btn.btn--ghost:hover { background: rgba(12,11,42,.08); color: #0C0B2A; box-shadow: inset 0 0 0 1.5px #0C0B2A; } }
.btn:focus-visible, .lk:focus-visible, .chip:focus-visible { outline: 3px solid #12ED28; outline-offset: 3px; }
.g-mist .btn:focus-visible, .g-mist .chip:focus-visible { outline-color: #00793A; }
.smp__l { display: inline-flex; align-items: center; min-height: 2.2rem; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { background: rgba(12,11,42,.1); } .smp__l:hover { color: #0C0B2A; } }

/* about portrait: show the whole picture */
.vcard--b .vcard__poster--b img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: inherit; justify-self: stretch; align-self: auto; }
.fc--sum .fc__i { color: var(--g) !important; }
.fc--sum .fc__i .ico { width: 1.1rem; height: 1.1rem; }

/* ---- recent content / videos ---- */
.vids { display: grid; gap: var(--sc-4); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--sc-5); }
.vid { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: .8rem; color: var(--ink); }
.vid--feat { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--sc-5); align-items: center; }
.vid__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #14123F; box-shadow: 0 24px 50px -30px rgba(0,0,0,.9), inset 0 0 0 1px var(--line); }
.vid__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--sc-ease-out, ease); }
.vid__img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; display: grid; place-items: center; border-radius: 50%; background: #00C058; color: #02140A; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .25s, background .25s; }
.vid--feat .vid__play { width: 4.6rem; height: 4.6rem; margin: -2.3rem 0 0 -2.3rem; }
.vid__play svg { width: 42%; height: 42%; margin-left: 6%; }
.vid__t { font-family: var(--sc-font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.vid--feat .vid__t { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); }
.vid:focus-visible { outline: 3px solid #12ED28; outline-offset: 6px; border-radius: 18px; }
@media (hover: hover) and (pointer: fine) { .vid:hover .vid__img img { transform: scale(1.04); } .vid:hover .vid__play { transform: scale(1.08); background: #12ED28; } }
.vids__more { margin: var(--sc-6) 0 0; display: flex; justify-content: center; }
@media (max-width: 860px) { .vids { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vid--feat { grid-template-columns: 1fr; gap: .8rem; } }
@media (max-width: 520px) { .vids { grid-template-columns: 1fr; } }

/* logo scroller inside the hero */
.brands { width: 100%; padding: 0; margin-top: var(--sc-5); }
.brands__t { margin: 0 0 var(--sc-4); text-align: center; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.brands__view { 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); }
.brands__row { display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 0; width: max-content; margin: 0; padding: .4rem 0; list-style: none; animation: marq 38s linear infinite; }
.brands__row li { flex: none; padding-inline: clamp(1.4rem, 3vw, 2.6rem); display: flex; align-items: center; }
.brands__row img { height: calc(var(--h, 2.4rem) * .84); max-width: none; }
@media (hover: hover) and (pointer: fine) { .brands__view:hover .brands__row { animation-play-state: paused; } }
@media (max-width: 640px) { .brands__row img { height: calc(var(--h, 2.4rem) * .66); } }
@media (prefers-reduced-motion: reduce) { .brands__row { animation: none; } .brands__view { overflow-x: auto; } }
/* black ribbon, green type */
.rib--dark { background: #000; color: #12ED28; box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 1px rgba(243,242,251,.1); }
.rib--dark .rib__t span::after { background: #F3F2FB; }

/* ===== v6: phone pass. Top panel first: headline, one sentence, the button, all in the first screen ===== */
@media (max-width: 860px) {
  .bar__mark { display: flex; align-items: center; min-height: 2.75rem; padding-right: .5rem; }
  .menu a { min-height: 3rem; display: flex; align-items: center; }
  .hero { padding-top: 5.6rem; }
  .hero__grid { gap: 1.1rem; }
  .hero__grid > .h1 { order: 1; } .hero__grid > .hero__sub { order: 2; } .hero__grid > .stack { order: 3; }
  .hero__grid > .facts { order: 4; } .hero__grid > .vcard { order: 5; margin-top: .6rem; }
  .hero__grid > .brands { order: 6; } .hero__grid > .swarm { order: 7; } .hero__grid > .formula { order: 8; }
  .hero__grid > .tagpill { display: none; }
  .hero .h1 { font-size: clamp(1.7rem, 7.3vw, 3rem); line-height: 1.12; max-width: 100%; }
  .hero .mark { padding: .06em .28em .12em; max-width: calc(100% - .6rem); text-wrap: balance; }
  .hero__sub { font-size: 1.06rem; line-height: 1.5; max-width: 34ch; }
  .btn--lg { padding: .95rem 1.4rem; font-size: 1.02rem; min-height: 3.25rem; }
  .stack { gap: .6rem; }
  .facts { font-size: .86rem; gap: .3rem .7rem; }
}
@media (max-width: 640px) {
  /* proof tiles: a readable list, number on the left */
  .vcard__tiles { grid-template-columns: 1fr; gap: .5rem; }
  .vcard__tiles li { display: grid; grid-template-columns: 5.4rem 1fr; grid-template-areas: "b s" "b e"; column-gap: .9rem; row-gap: .1rem; align-items: center; padding: .7rem .85rem; }
  .vcard__tiles b { grid-area: b; font-size: 1.7rem; }
  .vcard__tiles span { grid-area: s; font-size: .72rem; letter-spacing: .08em; line-height: 1.3; }
  .vcard__tiles em { grid-area: e; font-size: .82rem; }
  .vcard__tag { font-size: .72rem; } .vcard__cap { font-size: .72rem; letter-spacing: .08em; line-height: 1.4; }
  .vcard__poster { gap: .9rem; padding: 1rem; }
  .vcard__name { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  /* scroller + swarm */
  .brands { margin-top: .8rem; } .brands__t { font-size: .72rem; letter-spacing: .14em; }
  .swarm { height: 13rem; margin-top: 0; } .chip2 { font-size: .78rem; }
  /* formula: three short rows instead of tall cards */
  .formula { gap: .35rem; padding-bottom: 2.5rem; }
  .fc { grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .05rem; align-items: center; padding: .85rem 1rem; }
  .fc__i { grid-row: 1 / 3; margin-bottom: 0; }
  .fop { line-height: 1; font-size: 1.2rem; margin: -.1rem 0; }
  /* small mono labels: nothing under 12px */
  .tagpill, .mono, .otag, .chip, .eyebrow, .watch small { font-size: .78rem; }
  .term, .term * { font-size: max(1em, .78rem); }
  /* tap targets 44px */
  .chip { min-height: 2.75rem; padding-block: .5rem; display: inline-flex; align-items: center; }
  .chips { gap: .5rem; }
  .smp__ls { gap: .1rem .4rem; }
  .smp__l { min-height: 2.75rem; padding-inline: .45rem; }
  .lk { min-height: 2.75rem; }
}
@media (max-width: 400px) { .hero__sub { font-size: 1rem; } .vcard__tiles li { grid-template-columns: 4.8rem 1fr; } .vcard__tiles b { font-size: 1.5rem; } }
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding-top: 5rem; } .hero__grid > .h1 { max-width: 26ch; }
}
@media (max-width: 860px) { .hero { padding-top: 6.3rem; } }
@media (max-width: 640px) {
  .vcard__tiles li { grid-template-columns: 6.6rem 1fr; }
  .vcard__tiles b { font-size: 1.55rem; white-space: nowrap; }
  .swarm { height: 11.5rem; }
}
@media (max-width: 400px) { .vcard__tiles li { grid-template-columns: 6rem 1fr; } .vcard__tiles b { font-size: 1.4rem; } }
@media (max-width: 640px) { .hero .h1 { font-size: clamp(1.4rem, 6.7vw, 2.6rem); } .hero .h1 .ln { white-space: nowrap; } .hero .h1 .ln--mark { white-space: normal; } }
@media (max-width: 860px) {
  .vcard__tag, .vcard__cap, .vcard__tiles span, .brands__t { font-size: .76rem; }
  .vcard__tiles em { font-size: .82rem; }
  .tagpill, .mono, .otag, .chip, .watch small, .term, .term * { font-size: max(1em, .78rem); }
  .chip { min-height: 2.75rem; padding-block: .5rem; display: inline-flex; align-items: center; }
  .smp__l { min-height: 2.75rem; padding-inline: .45rem; }
  .foot__col a, .foot__logo { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .draft b, .term b { font-size: .78rem; }
}
@media (max-width: 860px) { .case h4 { font-size: .78rem; } }
@media (max-width: 860px) { .foot__col { gap: 0; } .foot__col .mono { margin-bottom: .2rem; } }
@media (max-width: 640px) { .hero .h1 { font-size: clamp(1.4rem, 6.3vw, 2.6rem); } }
@media (max-height: 480px) and (orientation: landscape) { .hero .h1 { font-size: clamp(1.5rem, 4.2vw, 2.4rem); } .hero__sub { max-width: 52ch; } }
/* tag above the headline stays on phones; wider intro sentence */
.hero__sub { max-width: 56ch; }
@media (max-width: 860px) {
  .hero__grid > .tagpill { display: inline-flex; order: 0; justify-content: center; text-align: center; padding: .5rem .9rem; line-height: 1.45; letter-spacing: .1em; font-size: .78rem; }
  .hero { padding-top: 5.8rem; }
  .hero__sub { max-width: 100%; }
}
@media (max-width: 400px) { .hero__grid > .tagpill { letter-spacing: .06em; padding-inline: .75rem; } }
#words { padding-bottom: clamp(2rem, 5vw, 4rem); } #about { padding-top: clamp(2.5rem, 6vw, 5rem); }

/* ===== v7: facts line, five proof chips, numbers inside case studies, testimonial photos ===== */
.facts span { white-space: nowrap; }
.hero__grid { padding-bottom: clamp(3rem, 6vw, 5rem); }
.chip2 b { margin-right: .1rem; }
.c1 { right: 5%; top: 6%; } .c2 { left: 6%; top: 30%; } .c3 { left: 3%; bottom: 6%; }
.c4 { right: 3%; top: 52%; animation-delay: -1s; } .c5 { right: 12%; bottom: 4%; animation-delay: -3s; }
.nums { margin: var(--sc-6) 0 var(--sc-7, 3rem); }
.nums .bigstat { margin-top: 0; }
.q figcaption { display: flex; align-items: center; gap: .9rem; }
.q__ph { width: 3.2rem; height: 3.2rem; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(12,11,42,.12); background: #D9D8EC; }
.q--lead .q__ph { width: 4.2rem; height: 4.2rem; box-shadow: 0 0 0 3px rgba(4,19,10,.35); }
.q__who { display: grid; gap: .15rem; min-width: 0; }
@media (max-width: 860px) {
  .facts { gap: .3rem .7rem; } .facts span { white-space: normal; text-align: center; }
  .c1 { right: 2%; top: 3%; } .c2 { left: 2%; top: 22%; } .c3 { right: 2%; left: auto; top: 41%; bottom: auto; }
  .c4 { left: 2%; right: auto; top: 60%; } .c5 { right: 2%; bottom: 0; top: auto; }
  .chip2 { max-width: 94%; white-space: normal; line-height: 1.3; }
}
@media (max-width: 640px) { .swarm { height: 19rem; } .q__ph { width: 3rem; height: 3rem; } }
@media (max-width: 640px) {
  .hero .h1 { font-size: clamp(1.3rem, 5.8vw, 2.4rem); }
  .facts { flex-direction: column; gap: .2rem; } .facts i { display: none; }
}

/* ===== v7b: smallest phones, and a fallback for browsers without overflow: clip ===== */
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
.svc, .svc-grid > li, .case, .smp, .q { min-width: 0; }
@media (max-width: 380px) {
  .hero .h1 { font-size: clamp(1.05rem, 5.5vw, 2rem); }
  .svc .btn, .lk, .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .svc .btn { padding-inline: 1rem; }
  .hero__grid > .tagpill { letter-spacing: .04em; font-size: .74rem; }
  .vcard__name { font-size: 1.7rem; }
}

/* ===== v8: brighter green on every CTA; headline can wrap but never clip ===== */
.btn, .lk, .vid__play { background: #12ED28; color: #02140A; }
.btn { box-shadow: 0 8px 20px -10px rgba(18,237,40,.55); }
.btn--sm { box-shadow: none; }
.btn.btn--ghost { background: rgba(243,242,251,.07); color: #F3F2FB; box-shadow: inset 0 0 1px 1px rgba(243,242,251,.35); }
.g-mist .btn.btn--ghost { background: transparent; color: #0C0B2A; box-shadow: inset 0 0 0 1.5px #0C0B2A; }
.svc .btn--dark { background: #0C0B2A; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn:not(.btn--ghost):hover, .lk:hover, .lk:focus-visible { background: #4DFA60; }
}
@media (max-width: 640px) {
  .hero .h1 .ln { white-space: normal; overflow-wrap: break-word; }
  .hero .h1 { max-width: 100%; text-wrap: balance; }
}
