/* =====================================================================
   Alex Peric — site styles
   One stylesheet for every page. No framework.
   Light paper background with a few dark "ink" sections.
   Green = "variant / winner", coral = "control".
   ===================================================================== */

@font-face { font-family: "Geist"; src: url(/assets/fonts/Geist-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/Geist-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url(/assets/fonts/Newsreader-Italic-latin.woff2) format("woff2"); font-style: italic; font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url(/assets/fonts/Newsreader-Italic-latin-ext.woff2) format("woff2"); font-style: italic; font-weight: 400 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f5f4ef;
  --paper-2: #edebe4;
  --surface: #ffffff;
  --ink: #12130f;
  --ink-2: #1b1c18;
  --ink-3: #26271f;
  --text: #12130f;
  --muted: #5d5f57;
  --dim: #7a7c73;
  --line: rgba(18, 19, 15, .10);
  --line-2: rgba(18, 19, 15, .18);
  --win: #0c7a4d;          /* winner green on light */
  --win-bright: #3ddc97;   /* winner green on dark */
  --win-soft: rgba(12, 122, 77, .09);
  --coral: #d9512c;
  --coral-soft: rgba(217, 81, 44, .10);
  --on-ink: #f2f1ea;
  --on-ink-muted: #a6a89e;
  --on-ink-line: rgba(255, 255, 255, .10);
  --radius: 1.25rem;
  --radius-sm: .75rem;
  --wrap: 78rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(18,19,15,.04), 0 8px 24px -12px rgba(18,19,15,.12);
  --shadow-lg: 0 2px 4px rgba(18,19,15,.04), 0 24px 60px -24px rgba(18,19,15,.25);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--win); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; border-radius: .5rem; background: var(--ink); color: var(--paper); font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--line { border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink .muted, .section--ink .lead { color: var(--on-ink-muted); }
.section--ink .eyebrow { color: var(--on-ink-muted); }
.section--ink .serif.accent { color: var(--win-bright); }
.section--white { background: var(--surface); }

/* ---------- Type ---------- */
.eyebrow { display: block; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.h-display { font-size: clamp(2.6rem, 6.4vw, 5.25rem); letter-spacing: -.045em; line-height: 1; }
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.75rem); letter-spacing: -.04em; }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.accent { color: var(--win); }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 40rem; }
.muted { color: var(--muted); }
.head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 4rem; } }
.head--center { text-align: center; justify-items: center; grid-template-columns: 1fr !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.875rem; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 500; font-size: .975rem; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(18,19,15,.5); }
.btn--ghost { border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--lg { min-height: 3.25rem; padding: .9rem 1.5rem; font-size: 1.0125rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(3px); }
.u { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
.u:hover { text-decoration-color: currentColor; }

/* ---------- Tags / dots ---------- */
.tag { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 500; background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }
.tag--win { background: var(--win-soft); color: var(--win); border-color: transparent; }
.tag--coral { background: var(--coral-soft); color: var(--coral); border-color: transparent; }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--win); box-shadow: 0 0 0 3px var(--win-soft); flex: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 239, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 1.5rem; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.brand small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); letter-spacing: 0; }
.nav__links { display: none; margin-left: auto; align-items: center; gap: .25rem; font-size: .95rem; }
.nav__links > a, .nav__dd > a { padding: .5rem .75rem; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links > a:hover, .nav__dd > a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(18,19,15,.05); }
.nav__dd { position: relative; }
.nav__sub { position: absolute; top: calc(100% + .4rem); left: 50%; translate: -50% 0; min-width: 15rem; padding: .5rem; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__sub::before { content: ""; position: absolute; inset: -.6rem 0 auto; height: .6rem; }
.nav__sub a { padding: .55rem .75rem; border-radius: .6rem; color: var(--muted); font-size: .925rem; }
.nav__sub a:hover { background: var(--paper); color: var(--ink); }
.nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav .btn { margin-left: auto; }
.nav__toggle { display: inline-grid; place-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav__toggle span { display: block; width: 1.05rem; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 1023px) {
  .nav .btn { padding-inline: 1rem; min-height: 2.5rem; font-size: .9rem; }
  .nav .btn svg { display: none; }
  .nav__links.is-open { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: .75rem var(--gutter) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); max-height: calc(100vh - 4.5rem); overflow: auto; }
  .nav__links.is-open > a, .nav__links.is-open .nav__dd > a { display: block; padding: .8rem 0; border-radius: 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); background: none; }
  .nav__links.is-open .nav__sub { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .25rem 0 .5rem 1rem; background: none; min-width: 0; }
}
@media (max-width: 420px) { .brand small { display: none; } }
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: .5rem; }
  .nav__toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: .95fr 1.05fr; } }
.hero__status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.75rem; padding: .35rem .9rem .35rem .35rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.hero__status img { width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.hero__status b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .hide-sm { display: none; } }
.avail { display: inline-flex; align-items: center; gap: .5rem; color: var(--win); font-weight: 500; }
.hero h1 { margin-bottom: 1.5rem; font-size: clamp(2.5rem, 4.6vw, 4.1rem); }
.hero__sub { margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__proof { display: flex; align-items: center; gap: .9rem; margin-top: 2.25rem; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.hero__proof b { display: block; color: var(--ink); font-weight: 600; }
.avatars { display: flex; flex: none; }
.avatars img { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; }
.avatars img + img { margin-left: -.65rem; }

/* Hero visual: the original page and my redesign under one drag handle */
.hp { position: relative; }
.hp__row { display: flex; justify-content: center; align-items: flex-end; padding-bottom: 1.75rem; }
.hp__phone { position: relative; flex: none; display: block; width: clamp(8rem, 13.5vw, 12rem); margin-inline: -.9rem; padding: .45rem; border-radius: 2.1rem; background: var(--ink); box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); }
.hp__phone:first-child { z-index: 1; margin-bottom: 2.5rem; }
.hp__phone:last-child { z-index: 1; margin-bottom: 1.25rem; }
.hp__phone--main { z-index: 2; width: clamp(10.5rem, 19vw, 16.5rem); padding: .55rem; border-radius: 2.6rem; }
.hp__phone:hover { transform: translateY(-4px); }
.hp__screen { position: relative; display: block; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 1.7rem; background: var(--surface); }
.hp__phone--main .hp__screen { border-radius: 2.1rem; }
.hp__screen img { display: block; width: 100%; height: auto; transition: transform var(--dur, 4s) cubic-bezier(.45, 0, .55, 1); }
.hp__phone:hover .hp__screen img, .hp__phone:focus-visible .hp__screen img { transform: translateY(var(--shift)); }
.hp__chip { position: absolute; left: 50%; bottom: -1.1rem; translate: -50% 0; z-index: 3; display: grid; justify-items: center; padding: .45rem .9rem; border-radius: .9rem; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .7rem; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.hp__chip strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.03em; color: var(--win); }
.hp__phone--main .hp__chip strong { font-size: 1.45rem; }
.hp__note { margin-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .hp__phone { width: 30vw; margin-inline: -2.5vw; padding: .3rem; border-radius: 1.4rem; }
  .hp__phone--main { width: 42vw; padding: .38rem; border-radius: 1.8rem; }
  .hp__screen { border-radius: 1.15rem; }
  .hp__phone--main .hp__screen { border-radius: 1.5rem; }
  .hp__chip { padding: .35rem .6rem; font-size: .6rem; }
  .hp__chip strong { font-size: .95rem; }
  .hp__phone--main .hp__chip strong { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .hp__screen img, .hp__phone { transition: none; } .hp__phone:hover .hp__screen img { transform: none; } }

/* "Who it's for" list on service and hire pages */
.who { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 800px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who li { display: flex; gap: .85rem; align-items: flex-start; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.who svg { flex: none; width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%; background: var(--win-soft); color: var(--win); margin-top: .05rem; }

/* ---------- Sliding strip of things I design ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(1.25rem, 2.5vw, 1.9rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.marquee li.is-dim { color: rgba(18, 19, 15, .2); }
.marquee li::after { content: "✦"; margin-inline: clamp(1.25rem, 3vw, 2.25rem); font-size: .5em; color: var(--win); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: clamp(1.25rem, 3vw, 2rem); }
.stat__n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-bottom: .75rem; }
.stat__n .serif { font-size: .7em; color: var(--win); margin-left: .1em; }
.stat p { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* ---------- Bento (why) ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, 1fr); } .tile--4 { grid-column: span 4; } .tile--2 { grid-column: span 2; } .tile--3 { grid-column: span 3; } }
@media (min-width: 700px) and (max-width: 999px) { .tile--wide-md { grid-column: span 2; } }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .75rem; }
.tile h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.tile p { color: var(--muted); font-size: .975rem; }
.tile__icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: .75rem; border: 1px solid var(--line-2); color: var(--win); margin-bottom: .5rem; }
.tile__icon svg { width: 1.2rem; height: 1.2rem; }
.tile--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tile--ink p { color: var(--on-ink-muted); }
.tile--ink .tile__icon { background: var(--ink-3); color: var(--win-bright); }
.tile--win { background: var(--win); color: #fff; border-color: var(--win); }
.tile--win p { color: rgba(255, 255, 255, .82); }
.tile--win .tile__icon { border-color: rgba(255, 255, 255, .3); color: #fff; }
.tile--quote { justify-content: space-between; }
.tile.tile--quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; }
.tile__big { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -.05em; margin-top: auto; line-height: 1; }
.tile blockquote { font-size: 1.15rem; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.tile cite { display: flex; align-items: center; gap: .7rem; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: auto; padding-top: 1rem; }
.tile cite img { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.tile cite b { display: block; color: var(--ink); font-weight: 600; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; font-size: .8rem; }
.flow span { padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.flow span.on { background: var(--win-soft); color: var(--win); border-color: var(--win); }
.flow i { width: .9rem; height: 1px; background: var(--line-2); }

/* ---------- Work (case study rows) ---------- */
.work { display: grid; gap: 1rem; }
.work__row { display: grid; gap: 1.5rem; padding: clamp(1rem, 2vw, 1.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); }
.work__row:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (min-width: 900px) { .work__row { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; } }
.work__body { padding: .5rem .5rem 1rem; display: grid; gap: .9rem; align-content: center; }
.work__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.work__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.work__body p { color: var(--muted); }
.work__metric { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.05em; color: var(--win); line-height: 1; }
.work__metric small { display: block; font-size: .85rem; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: .4rem; }
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.25rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.1rem; background: var(--paper); overflow: hidden; }
.duo__p { position: relative; display: grid; gap: .6rem; justify-items: center; }
.duo__p .ba-label { justify-self: start; }
.duo__arrow { position: absolute; left: 50%; top: 55%; translate: -50% -50%; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); z-index: 2; box-shadow: var(--shadow); }
.duo__arrow svg { width: 1rem; height: 1rem; }
.shot { width: 100%; aspect-ratio: 9 / 16; border-radius: .9rem; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img, .shot svg { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.duo--wide .shot { aspect-ratio: 1440 / 1000; }
.duo--wide .duo__arrow { top: 58%; }

/* Case study thumbnails, cards and filters */
.case-thumb { border-radius: 1.1rem; overflow: hidden; background: #121310; aspect-ratio: 3 / 2; }
/* .ct: the designed thumbnail (content/case-thumb.mjs). Sized in cqw so the card and the 1200x800 social image match. */
.ct { position: relative; height: 100%; overflow: hidden; container-type: inline-size; color: #fff; isolation: isolate;
  background: radial-gradient(70% 90% at 78% 30%, color-mix(in srgb, var(--brand) 70%, transparent) 0%, transparent 70%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 4cqw 4cqw, linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 4cqw 4cqw, #111210;
  transition: box-shadow .35s var(--ease); }
.ct * { box-sizing: border-box; }
.ct__kind { position: absolute; left: 4.5cqw; top: 4.5cqw; font-size: 1.75cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.ct__res { position: absolute; left: 4.5cqw; bottom: 4.5cqw; z-index: 3; display: grid; gap: .8cqw; max-width: 31cqw; }
.ct__res b { font-size: 8cqw; line-height: .95; font-weight: 700; letter-spacing: -.05em; color: #fff; font-variant-numeric: tabular-nums; }
.ct__res span { font-size: 2.5cqw; line-height: 1.2; font-weight: 600; color: #fff; }
.ct__lab { display: flex; align-items: center; justify-content: center; gap: .9cqw; margin-bottom: 1.4cqw; font-size: 1.6cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.ct__lab i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #f07a5f; }
.ct__lab--a { color: #fff; }
.ct__lab--a i { background: #3ddc97; box-shadow: 0 0 0 .5cqw rgba(61,220,151,.25); }
.ct__ph, .ct__br { position: absolute; display: block; transition: transform .6s var(--ease), opacity .45s, filter .45s; }
.ct__dev { display: block; border-radius: 3.6cqw; padding: .9cqw; background: #2b2c28; box-shadow: 0 0 0 .15cqw rgba(255,255,255,.12), 0 3cqw 6cqw -2cqw rgba(0,0,0,.6); }
.ct__scr { display: block; overflow: hidden; background: #fff; }
.ct__scr img { display: block; width: 100%; height: auto; transition: transform 3.2s cubic-bezier(.45,.05,.3,1); }
.ct--m .ct__scr { border-radius: 2.8cqw; aspect-ratio: 390 / 844; }
.ct--m .ct__ph--b { left: 37.5cqw; top: 14cqw; width: 21.5cqw; opacity: .78; filter: grayscale(.45) brightness(.86); }
.ct--m .ct__ph--a { left: 70cqw; top: 8cqw; width: 25.5cqw; }
.ct--m .ct__ph--a .ct__dev { box-shadow: 0 0 0 .15cqw rgba(255,255,255,.16), 0 0 9cqw rgba(61,220,151,.16), 0 3cqw 6cqw -2cqw rgba(0,0,0,.6); }
.ct__go { position: absolute; left: 61.4cqw; top: 30cqw; z-index: 2; width: 6.2cqw; height: 6.2cqw; display: grid; place-items: center; border-radius: 50%; background: #3ddc97; color: #0b2a1c; box-shadow: 0 0 5cqw rgba(61,220,151,.35); transition: transform .45s var(--ease); }
.ct__go svg { width: 3cqw; height: 3cqw; }
.ct--d .ct__win { display: block; border-radius: 1.4cqw; overflow: hidden; background: #fff; box-shadow: 0 0 0 .15cqw rgba(255,255,255,.12), 0 3cqw 7cqw -2cqw rgba(0,0,0,.65); }
.ct__bar { display: flex; gap: .7cqw; align-items: center; height: 2.6cqw; padding: 0 1.3cqw; background: #ecebe6; }
.ct__bar i { width: .9cqw; height: .9cqw; border-radius: 50%; background: #cfcdc5; }
.ct--d .ct__scr { aspect-ratio: 1440 / 1000; }
.ct--d .ct__br--b { left: 36cqw; top: 13cqw; width: 38cqw; transform: rotate(-4deg); opacity: .72; filter: grayscale(.75) brightness(.85); }
.ct--d .ct__br--a { left: 49cqw; top: 22cqw; width: 47cqw; }
.ct--d .ct__br--a .ct__lab { justify-content: flex-end; }
.ct--d .ct__br--b .ct__lab { justify-content: flex-start; }
.case-card:hover .ct, .work__row:hover .ct { box-shadow: inset 0 0 0 2px #3ddc97; }
.case-card:hover .ct__ph--a, .work__row:hover .ct__ph--a { transform: translateY(-1.2cqw); }
.case-card:hover .ct__ph--a img, .work__row:hover .ct__ph--a img { transform: translateY(-42%); }
.case-card:hover .ct__ph--b, .work__row:hover .ct__ph--b { opacity: .5; transform: translateX(-1cqw) rotate(-3deg); }
.case-card:hover .ct__go, .work__row:hover .ct__go { transform: translateX(.8cqw) scale(1.06); }
.case-card:hover .ct__br--a, .work__row:hover .ct__br--a { transform: translateY(-1.4cqw) scale(1.025); }
.case-card:hover .ct__br--b, .work__row:hover .ct__br--b { opacity: .45; transform: translateX(-1.5cqw) rotate(-6deg); }
@media (prefers-reduced-motion: reduce) { .ct, .ct__ph, .ct__br, .ct__go, .ct__scr img { transition: none; } }
.case-grid { display: grid; gap: 1rem; }
@media (min-width: 820px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.case-card { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(.75rem, 1.5vw, 1rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); }
.case-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-card[hidden] { display: none; }
.case-card__body { display: grid; gap: .7rem; padding: 0 .5rem .75rem; }
.case-card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.025em; line-height: 1.2; }
.case-card p { color: var(--muted); }
.case-card__foot { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-top: .25rem; color: var(--muted); font-size: .9rem; }
.case-card__metric { font-size: 1.75rem; font-weight: 600; letter-spacing: -.04em; color: var(--win); line-height: 1; }
.case-filters { display: grid; gap: .75rem; margin-bottom: 1.75rem; }
.case-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.case-filters__k { width: 100%; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .case-filters__k { width: 8.5rem; } }
.filter.is-none { opacity: .4; }
.filter__n { margin-left: .2rem; opacity: .55; font-variant-numeric: tabular-nums; }
.case-filters__count { color: var(--muted); font-size: .9rem; }
.case-empty { padding: 3rem 0; text-align: center; color: var(--muted); }
.case-empty button { background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink); }

/* Before / after labels and slider */
.ba-label { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ba-label--a { background: var(--coral-soft); color: var(--coral); }
.ba-label--b { background: var(--win-soft); color: var(--win); }
.ba { position: relative; }
.ba__labels { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.ba__hint { text-align: center; font-size: .85rem; color: var(--dim); margin-top: .9rem; }
.browser { border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.browser__bar { display: flex; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--paper); }
.browser__bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line-2); }
.phone { width: min(100%, 22rem); margin-inline: auto; border-radius: 2.25rem; padding: .55rem; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone__screen { border-radius: 1.8rem; overflow: hidden; aspect-ratio: 9 / 19.5; background: var(--surface); }
.cs-ba { position: relative; width: 100%; height: 100%; overflow: hidden; --pos: 50%; user-select: none; }
.cs-ba > img, .cs-ba > svg, .cs-ba-control > img, .cs-ba-control > svg { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-ba-control { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cs-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--surface); box-shadow: 0 0 0 1px rgba(18,19,15,.15); pointer-events: none; }
.cs-ba-knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-lg); }
.cs-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Services ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; gap: .5rem 2rem; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .3s var(--ease); }
@media (min-width: 900px) { .svc__row { grid-template-columns: 4rem 1fr 1.4fr auto; } }
a.svc__row:hover { padding-left: .75rem; }
a.svc__row:hover h3 { color: var(--win); }
.svc__n { font-size: .85rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.svc__row h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); transition: color .2s; }
.svc__row p { color: var(--muted); }
.svc__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.svc__go { display: none; }
@media (min-width: 900px) { .svc__go { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line-2); align-self: center; } .svc__go svg { width: 1rem; height: 1rem; } a.svc__row:hover .svc__go { background: var(--ink); color: var(--paper); border-color: var(--ink); } }

/* ---------- Process ---------- */
.process { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.step__n { font-size: .85rem; color: var(--win); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.35rem; }
.step em { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Speaking (NYU) ---------- */
.speak { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .speak { grid-template-columns: 1.35fr 1fr; } }
.speak__photo { position: relative; border-radius: 1.25rem; overflow: hidden; }
.speak__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.speak__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .8rem; border-radius: 999px; background: rgba(18,19,15,.72); backdrop-filter: blur(8px); font-size: .8rem; color: var(--on-ink); }
.speak__copy p { color: var(--on-ink-muted); margin-top: 1.1rem; }
.speak__copy p strong { color: var(--on-ink); font-weight: 500; }
.speak__media { display: grid; gap: 1rem; }
@media (max-width: 999px) { .speak__media { order: 2; } }
.speak__logo { display: block; height: 2.25rem; width: auto; margin-bottom: 1.75rem; }
.speak__post { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--on-ink-line); border-radius: 1rem; background: var(--ink-2); transition: border-color .25s, background .25s; }
.speak__post:hover { border-color: rgba(255, 255, 255, .25); background: var(--ink-3); }
.speak__post img { width: 4.5rem; height: 6rem; object-fit: cover; object-position: top; border-radius: .5rem; flex: none; }
.speak__post blockquote { font-size: .95rem; color: var(--on-ink); line-height: 1.45; }
.speak__post cite { display: block; font-style: normal; font-size: .8rem; color: var(--on-ink-muted); margin-top: .4rem; }
.speak__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .85rem; font-weight: 500; color: var(--win-bright); }
.speak__go svg { width: .9rem; height: .9rem; transition: translate .25s var(--ease); }
.speak__post:hover .speak__go svg { translate: 3px 0; }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 950px) { .about { grid-template-columns: .85fr 1fr; } }
.about__photo { position: relative; border-radius: 1.5rem; overflow: hidden; background: #ececec; }
.about__photo > img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: center top; }
.about__badges { position: absolute; right: 1rem; top: 1rem; display: grid; gap: .5rem; }
.about__badges img { width: 4.25rem; height: 4.25rem; border-radius: 50%; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.about__badges a:hover img { transform: scale(1.06); }
.about__name { position: absolute; left: 1rem; bottom: 1rem; padding: .7rem 1rem; border-radius: .9rem; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); font-size: .82rem; color: var(--muted); line-height: 1.35; }
.about__name b { display: block; color: var(--ink); font-size: .95rem; }
.about__copy p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.about__copy p strong { color: var(--ink); font-weight: 600; }
.checks { list-style: none; display: grid; gap: .7rem; margin: 1.75rem 0 2rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--win-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / .7rem no-repeat; }
.checks a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
.note { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: 1rem; background: var(--paper-2); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.note svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; color: var(--ink); }
.note b { color: var(--ink); font-weight: 600; }

/* ---------- Experience ---------- */
.xp { list-style: none; border-top: 1px solid var(--line); }
.xp__row { display: grid; gap: .4rem 2rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .xp__row { grid-template-columns: 11rem 1fr 1.4fr; align-items: baseline; } }
.xp__when { font-size: .9rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.xp__role h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.xp__role p { color: var(--muted); font-size: .95rem; }
.xp__role p span { color: var(--dim); }
.xp__what { color: var(--muted); font-size: .975rem; }
.xp__what p { color: var(--ink); }
.xp__what ul { list-style: none; display: grid; gap: .45rem; margin-top: .85rem; }
.xp__what li { position: relative; padding-left: 1.1rem; }
.xp__what li::before { content: ""; position: absolute; left: 0; top: .6em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--line-2); }

/* ---------- Testimonials ---------- */
.quotes { columns: 1; column-gap: 1rem; }
@media (min-width: 750px) { .quotes { columns: 2; } }
@media (min-width: 1100px) { .quotes { columns: 3; } }
.quote { break-inside: avoid; margin-bottom: 1rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 1.25rem; }
.quote__mark { font-family: var(--serif); font-size: 3.5rem; line-height: .5; color: var(--win); height: 1.2rem; }
.quote p { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.quote mark { background: linear-gradient(transparent 58%, rgba(61, 220, 151, .35) 58%); color: inherit; padding: 0 .1em; }
.quote footer { display: flex; align-items: center; gap: .75rem; font-size: .85rem; color: var(--muted); line-height: 1.35; }
.quote footer img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.quote footer b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.quote__src { display: flex; align-items: center; gap: .35rem; margin-top: .15rem; font-size: .75rem; color: var(--dim); }
.quote__initial { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--win-soft); color: var(--win); font-weight: 600; flex: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.4rem; font-size: 1.15rem; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312130f' stroke-width='2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / .85rem no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.5rem; color: var(--muted); max-width: 44rem; }
.faq__a p + p { margin-top: .75rem; }
.faq__a a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.faq--inline { max-width: none; margin: 1rem 0 2rem; }

/* ---------- CTA (dark) ---------- */
.cta { background: var(--ink); color: var(--on-ink); padding-block: clamp(5rem, 10vw, 9rem); text-align: center; position: relative; overflow: hidden; }
.cta .eyebrow { color: var(--on-ink-muted); }
.cta .serif { color: var(--win-bright); }
.cta__lead { margin: 1.5rem auto 2.5rem; color: var(--on-ink-muted); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.cta .btn--ghost { border-color: var(--on-ink-line); color: var(--on-ink); }
.cta .btn--ghost:hover { background: var(--ink-3); border-color: var(--on-ink-muted); }
.copy-mail { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--on-ink-line); background: transparent; color: var(--on-ink); cursor: pointer; font-size: .975rem; transition: border-color .2s, background .2s; }
.copy-mail:hover { border-color: var(--on-ink-muted); background: var(--ink-3); }
.copy-mail svg { width: 1rem; height: 1rem; }
.copy-mail.is-copied { border-color: var(--win-bright); color: var(--win-bright); }

/* ---------- Footer (dark) ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); border-top: 1px solid var(--on-ink-line); padding-block: 3.5rem 2.5rem; font-size: .925rem; }
.footer .brand { color: var(--on-ink); }
.footer .brand small { color: var(--on-ink-muted); }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--on-ink-line); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr 2fr; } }
.footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__cols h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink); font-weight: 500; margin-bottom: .9rem; }
.footer__cols ul { list-style: none; display: grid; gap: .55rem; }
.footer__cols a:hover { color: var(--on-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; font-size: .85rem; }
.footer__bottom a:hover { color: var(--on-ink); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { margin-block: 1rem 1.5rem; max-width: 56rem; }
.page-hero .lead { max-width: 46rem; }
.back { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.back svg { width: 1rem; height: 1rem; }
.back:hover { color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--dim); margin-bottom: 1.25rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }

/* KPI cards */
.kpis { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpi { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kpi--win { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.kpi__n { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.kpi--win .kpi__n { color: var(--win-bright); }
.kpi__l { font-weight: 500; margin-top: .5rem; }
.kpi__s { font-size: .875rem; color: var(--muted); margin-top: .2rem; }
.kpi--win .kpi__s { color: var(--on-ink-muted); }
.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; padding-block: 1.5rem; border-block: 1px solid var(--line); }
@media (min-width: 800px) { .meta { grid-template-columns: repeat(4, 1fr); } }
.meta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: .25rem; }
.meta dd { margin: 0; font-weight: 500; }
.cs-visual { margin-top: 3rem; }

/* Prose / article */
.prose { max-width: 46rem; margin-bottom: 2.5rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 1rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; font-size: 1.05rem; }
.prose p strong { color: var(--ink); font-weight: 600; }
.block { margin-block: 1rem 4rem; }
.block--phone { max-width: 24rem; margin-inline: auto; }
.changes { display: grid; gap: 1rem; }
@media (min-width: 800px) { .changes { grid-template-columns: repeat(2, 1fr); } }
.change { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .85rem; align-content: start; }
.change__head { display: flex; align-items: baseline; gap: .75rem; }
.change__head span { font-size: .8rem; color: var(--win); font-weight: 600; }
.change__head h3 { font-size: 1.2rem; }
.change__row { display: grid; gap: .35rem; }
.change__row .ba-label { justify-self: start; }
.change__row p { color: var(--muted); font-size: .95rem; }
.change__why { font-size: .95rem; padding-top: .85rem; border-top: 1px dashed var(--line-2); }
.change__why b { font-weight: 600; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 4rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.5rem; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.next:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.next small { display: block; color: var(--dim); margin-bottom: .5rem; font-size: .85rem; }
.next strong { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; display: block; }
.next__arrow { flex: none; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.next__arrow svg { width: 1.1rem; height: 1.1rem; }
.placeholder-flag { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem; border-radius: .6rem; background: #fff6d9; border: 1px solid #f0dc9a; color: #6b5310; font-size: .82rem; font-weight: 500; margin-bottom: 1.25rem; }

/* Card grids (SEO pages, services) */
.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: .975rem; }
.card p a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
.card__n { font-size: .8rem; font-weight: 600; color: var(--win); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); display: block; font-size: .8rem; font-weight: 600; color: var(--win); margin-bottom: 1rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.2fr; } }
.split__copy p { color: var(--muted); margin-bottom: 1rem; }
.split__copy p a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.deliver { list-style: none; display: grid; gap: .65rem; }
.deliver li { display: flex; gap: .75rem; padding: 1rem 1.15rem; border-radius: .9rem; background: var(--surface); border: 1px solid var(--line); }
.deliver li b { display: block; font-weight: 600; }
.deliver li span { color: var(--muted); font-size: .95rem; }
.deliver li::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .15rem; border-radius: 50%; background: var(--win-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center / .7rem no-repeat; }
.links-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.links-grid a { padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .925rem; transition: background .2s, border-color .2s; }
.links-grid a:hover { background: var(--surface); border-color: var(--ink); }

/* ---------- Short answer (answer-first block under the hero) ---------- */
.sa { padding-block: 0 clamp(3.5rem, 7vw, 6rem); }
.sa__card { display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 900px) { .sa__card { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: start; } }
.sa .eyebrow { color: var(--win); margin-bottom: .9rem; }
.sa__q { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.sa__a { margin-top: 1rem; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ink); max-width: 36rem; }
.sa__facts { margin: 0; border-top: 1px solid var(--line); }
.sa__facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.sa__facts dt { padding-top: .15rem; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sa__facts dd { margin: 0; font-size: .95rem; line-height: 1.45; }
@media (max-width: 480px) { .sa__facts > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- FAQ hub ---------- */
.faq-index { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.qa { display: grid; gap: clamp(3rem, 6vw, 4.5rem); max-width: 52rem; }
.qa__group { scroll-margin-top: 6rem; }
.qa__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); }
.qa__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: -.025em; }
.qa__head .link-arrow { font-size: .9rem; color: var(--muted); }
.qa__item { padding-block: 1.4rem; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.qa__item h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.qa__item p { margin-top: .5rem; color: var(--muted); max-width: 46rem; }
.qa__item a { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Book a call ---------- */
.book { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 1000px) { .book { grid-template-columns: 1fr 1fr; } }
.book__card { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.1rem; border-radius: 1.1rem; background: var(--surface); border: 1px solid var(--line); }
.book__card img { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.book__card p { font-size: .95rem; color: var(--muted); line-height: 1.45; }
.book__card b { color: var(--ink); }
.book__badges { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }
.book__badges img { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.book__badges span { font-size: .85rem; color: var(--muted); padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form h2 { font-size: 1.6rem; }
.form > p { color: var(--muted); margin: .4rem 0 1.75rem; }
.fields { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 500; padding: 0; }
.field input, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: .75rem; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.pick__opts { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.pick__opts label { position: relative; display: inline-flex; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 400; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pick__opts input { position: absolute; opacity: 0; pointer-events: none; }
.pick__opts label:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick__opts label:has(input:focus-visible) { outline: 2px solid var(--win); outline-offset: 2px; }
.form .btn { width: 100%; }
.form__fine { font-size: .82rem; color: var(--dim); margin-top: .9rem; text-align: center; }
.form-done, .form-fail { display: none; padding: 1rem 1.2rem; border-radius: .9rem; margin-top: 1rem; }
.form-done { background: var(--win-soft); color: var(--win); }
.form-fail { background: var(--coral-soft); color: var(--coral); }
.form.is-done form { display: none; }
.form.is-done .form-done, .form.is-fail .form-fail { display: block; }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.filter { padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.posts { display: grid; gap: 1rem; }
@media (min-width: 750px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts--index { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; gap: .85rem; padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.post-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-card[hidden] { display: none; }
.post-card__meta { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--dim); }
.post-card h2, .post-card h3 { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .link-arrow { margin-top: auto; font-size: .92rem; }
@media (min-width: 1100px) { .post-card--feature { grid-column: span 2; background: var(--ink); color: var(--on-ink); border-color: var(--ink); } .post-card--feature p, .post-card--feature .post-card__meta { color: var(--on-ink-muted); } .post-card--feature h2 { font-size: 2rem; max-width: 30rem; } .post-card--feature .tag--win { background: rgba(61,220,151,.14); color: var(--win-bright); } }
.empty { padding: 3rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

.post__head { padding-bottom: 2rem; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; font-size: .9rem; color: var(--muted); margin-top: 1.5rem; }
.post__meta img { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.post__meta b { color: var(--ink); font-weight: 600; }
.post__grid { display: grid; gap: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (min-width: 1000px) { .post__grid { grid-template-columns: 15rem 1fr; gap: 4rem; } }
.toc { font-size: .9rem; }
@media (min-width: 1000px) { .toc { position: sticky; top: 6rem; align-self: start; } }
.toc > p { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin-bottom: .75rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); }
.toc a:hover, .toc a.is-on { color: var(--ink); border-left-color: var(--ink); }
.post__body { max-width: 44rem; min-width: 0; }
.answer, .takeaways { padding: 1.4rem 1.5rem; border-radius: var(--radius); margin-bottom: 1rem; }
.answer { background: var(--ink); color: var(--on-ink); }
.answer p:last-child { font-size: 1.05rem; }
.takeaways { background: var(--surface); border: 1px solid var(--line); }
.answer__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--win); font-weight: 600; margin-bottom: .5rem; }
.answer .answer__label { color: var(--win-bright); }
.takeaways ul { padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--muted); }
.article { margin-top: 2.5rem; font-size: 1.075rem; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.75rem 0 1rem; scroll-margin-top: 6rem; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.article p, .article li { color: #34362f; }
.article p { margin-bottom: 1.1rem; }
.article ul, .article ol { padding-left: 1.25rem; margin-bottom: 1.25rem; display: grid; gap: .45rem; }
.article a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--line-2); }
.article a:hover { text-decoration-color: currentColor; }
.article strong { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.table-wrap th, .table-wrap td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { font-weight: 600; background: var(--paper); }
.callout { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--win-soft); margin: 2rem 0; }
.callout__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--win); font-weight: 600; margin-bottom: .4rem !important; }
.sources { font-size: .9rem; }
.author { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.author img { width: 4rem; height: 4rem; border-radius: 50%; flex: none; }
.author__name { font-weight: 600; margin-bottom: .35rem; }
.author p { color: var(--muted); font-size: .95rem; }
.author__links { margin-top: .6rem; font-size: .9rem; }
.author__links a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

/* 404 / legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: .75rem; }
.legal ul { padding-left: 1.2rem; }

/* ---------- Reveal (subtle) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Blog figures, charts and tools ---------- */
.fig { margin: 2rem 0; }
.fig figcaption { margin-top: .75rem; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.fig figcaption a { color: inherit; }
.fig > img, .fig-pair img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.fig > img { width: auto; max-width: 100%; max-height: 32rem; display: block; margin-inline: auto; }
.fig-pair { display: grid; gap: .75rem; }
@media (min-width: 640px) { .fig-pair { grid-template-columns: 1fr 1fr; } }
.fig-pair > div { display: grid; gap: .5rem; align-content: start; }
.fig-pair .ba-label { justify-self: start; }
.fig-card { padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.fig-card__title { font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: .2rem !important; }
.fig-card__sub { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem !important; }
.fig-card svg { display: block; width: 100%; height: auto; }

/* horizontal bar chart: one series, 18px bars with a rounded end */
.bars { display: grid; gap: .6rem; }
.bars__row { display: grid; grid-template-columns: minmax(7rem, 13rem) 1fr 4.5rem; gap: .75rem; align-items: center; font-size: .85rem; }
.bars__label { color: var(--ink); line-height: 1.3; }
.bars__label small { display: block; color: var(--dim); font-size: .75rem; }
.bars__track { position: relative; height: 18px; }
.bars__bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); min-width: 3px; background: var(--win); border-radius: 0 4px 4px 0; transition: width .4s var(--ease); }
.bars__bar--muted { background: #b9bbb2; }
.bars__val { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; text-align: right; }
.bars__row:hover .bars__bar { filter: brightness(1.12); }
@media (max-width: 560px) { .bars__row { grid-template-columns: 1fr 4.2rem; } .bars__label { grid-column: 1 / -1; } }
.fig-data { margin-top: 1rem; font-size: .85rem; }
.fig-data summary { cursor: pointer; color: var(--muted); }
.fig-data .table-wrap { margin: .75rem 0 0; }

/* step-by-step diagrams */
.flowd { list-style: none; padding: 0 !important; margin: 0 !important; display: grid !important; gap: .6rem !important; counter-reset: flowd; }
.flowd li { position: relative; display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .85rem; align-items: center; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); counter-increment: flowd; font-size: .85rem; color: var(--muted) !important; line-height: 1.4; }
.flowd li::before { content: counter(flowd); grid-row: span 3; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 600; }
.flowd b { color: var(--ink); font-size: .95rem; }
.flowd em { font-style: normal; color: var(--win); font-weight: 500; }
@media (min-width: 640px) { .flowd li { grid-template-columns: 1.6rem 9.5rem 1fr 1.2fr; } .flowd li::before { grid-row: auto; } }

/* page mock-ups used in diagrams */
.mocks { display: grid; gap: 1rem; }
@media (min-width: 640px) { .mocks { grid-template-columns: 1fr 1fr; } }
.mock { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); overflow: hidden; font-size: .78rem; }
.mock__bar { display: flex; gap: .3rem; align-items: center; padding: .5rem .7rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.mock__bar i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--line-2); }
.mock__bar span { margin-left: .4rem; color: var(--dim); }
.mock__in { padding: .9rem; display: grid; gap: .55rem; }
.mock__title { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.mock__chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.mock__chips span { padding: .2rem .5rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface); }
.mock__chips span.exit { border-color: rgba(217, 81, 44, .45); color: var(--coral); }
.mock__cta { justify-self: start; padding: .45rem .8rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; }
.mock__line { height: .45rem; border-radius: 999px; background: var(--line); }
.mock__line--s { width: 60%; }
.mock__foot { padding: .6rem .9rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mock__foot small { font-weight: 400; color: var(--muted); }
.match { display: grid; gap: .75rem; align-items: center; }
@media (min-width: 640px) { .match { grid-template-columns: 1fr auto 1fr; } }
.match__arrow { justify-self: center; color: var(--dim); font-size: 1.4rem; }
.match mark { background: var(--win-soft); color: var(--win); padding: 0 .15em; border-radius: .2em; }
.ad { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); padding: .9rem; font-size: .82rem; display: grid; gap: .35rem; }
.ad__src { color: var(--dim); font-size: .72rem; }
.ad__h { color: #1a4fd6; font-size: 1rem; line-height: 1.3; }

/* annotated anatomy (numbered parts of a page) */
.anat { display: grid; gap: 1rem; }
@media (min-width: 720px) { .anat { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.anat__mock { position: relative; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); padding: 1rem; display: grid; gap: .6rem; font-size: .78rem; }
.anat__row { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.anat__box { position: relative; border-radius: .5rem; background: var(--surface); border: 1px solid var(--line); padding: .6rem; min-height: 2.25rem; color: var(--muted); }
.anat__box--img { min-height: 9rem; background: linear-gradient(135deg, #e9e7df, #f6f5f1); }
.anat__n, .anat__list li::marker { font-weight: 600; }
.anat__n { position: absolute; top: -.55rem; left: -.55rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--win); color: #fff; font-size: .7rem; font-weight: 600; }
.anat__list { margin: 0 !important; padding-left: 1.25rem !important; font-size: .92rem; }
.anat__list li::marker { color: var(--win); }

/* interactive tools */
.tool { margin: 2rem 0; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.tool__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--win-bright); font-weight: 600; margin-bottom: .35rem !important; }
.tool h2, .tool h3 { color: var(--on-ink); margin: 0 0 1.25rem !important; font-size: 1.3rem; }
.tool p, .tool li { color: var(--on-ink-muted) !important; }
.tool__grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.75rem), 1fr)); }
.tool label { display: grid; gap: .35rem; font-size: .8rem; color: var(--on-ink-muted); }
.tool input[type="number"], .tool input[type="text"], .tool select { width: 100%; padding: .65rem .75rem; border-radius: .6rem; border: 1px solid var(--on-ink-line); background: var(--ink-2); color: var(--on-ink); font: inherit; font-size: 1rem; }
.tool input:focus-visible, .tool select:focus-visible { outline: 2px solid var(--win-bright); outline-offset: 1px; }
.tool__out { display: grid; gap: 1px; margin-top: 1.25rem; border-radius: .9rem; overflow: hidden; background: var(--on-ink-line); grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.tool__out div { background: var(--ink-2); padding: .9rem 1rem; font-size: .78rem; color: var(--on-ink-muted); }
.tool__out b { display: block; margin-top: .2rem; font-size: 1.45rem; color: var(--on-ink); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tool__out .is-key b { color: var(--win-bright); }
.tool__note { margin: 1rem 0 0 !important; font-size: .9rem; }
.tool .bars__label, .tool .bars__val { color: var(--on-ink); }
.tool .bars__bar { background: var(--win-bright); }
.tool .bars { margin-top: 1.25rem; }
.checks-tool { list-style: none; padding: 0 !important; margin: 0 !important; display: grid !important; gap: .4rem !important; }
.checks-tool label { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .8rem; border-radius: .6rem; background: var(--ink-2); font-size: .92rem; color: var(--on-ink); cursor: pointer; line-height: 1.4; }
.checks-tool label small { display: block; color: var(--on-ink-muted); font-size: .8rem; margin-top: .15rem; }
.checks-tool input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--win-bright); }
.score { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.score__bar { flex: 1 1 12rem; height: .55rem; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.score__bar::before { content: ""; display: block; height: 100%; width: var(--score, 0%); background: var(--win-bright); border-radius: inherit; transition: width .3s var(--ease); }
.score b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.score button { background: none; border: 1px solid var(--on-ink-line); color: var(--on-ink-muted); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; font: inherit; font-size: .8rem; }
.tool ol.headlines { margin: 1.25rem 0 0 !important; padding-left: 1.25rem !important; display: grid; gap: .5rem; }
.tool ol.headlines li { color: var(--on-ink) !important; font-size: 1.05rem; line-height: 1.4; }

/* blog covers on cards and posts */
.post-card__img { margin: -1.75rem -1.75rem .25rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--paper-2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.025); }
.post__cover { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post__cover img { width: 100%; height: auto; }

/* ---------- Ad portfolio (ad creatives service page) ---------- */
.adset { margin-top: 2.5rem; padding: clamp(1rem, 2.5vw, 1.75rem); border-radius: 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.adset__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 1.25rem; }
.adset__head h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.adset__head span { font-size: .85rem; color: var(--muted); }
.adset__k { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 1.25rem 0 .75rem; }
.adrow { display: grid; gap: .6rem; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.adrow > * { scroll-snap-align: start; width: 100%; height: auto; border-radius: .7rem; background: var(--paper-2); }
.adrow--v { grid-auto-columns: minmax(9.5rem, 1fr); }
.adrow--v video { aspect-ratio: 9 / 16; object-fit: cover; }
.adrow--s { grid-auto-columns: minmax(10.5rem, 1fr); }
.adrow--s img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Folds that only close on phones (details[data-fold-sm], main.js) ---------- */
details[data-fold-sm] > summary { list-style: none; cursor: pointer; }
details[data-fold-sm] > summary::-webkit-details-marker { display: none; }
.xp__more summary, .sa__more summary { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .875rem; font-weight: 500; color: var(--ink); }
.xp__more summary::after, .sa__more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; color: var(--win); }
.xp__more[open] summary::after, .sa__more[open] summary::after { content: "–"; }
.sa__more[open] summary { margin-bottom: .75rem; }
.qa__item > summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
@media (min-width: 700px) {
  .xp__more summary, .sa__more summary { display: none; }
  .qa__item > summary { pointer-events: none; }
}
@media (max-width: 699px) {
  .qa__item > summary::after { content: "+"; flex: none; font-size: 1.25rem; line-height: 1.1; color: var(--win); }
  .qa__item[open] > summary::after { content: "–"; }
}

/* ---------- Phones: shorter page ----------
   Long card lists become swipe rows (the next card peeks in), spacing tightens,
   and a few decorative bits drop. Nothing that carries an argument is removed. */
@media (max-width: 1023px) {
  /* solid bar: the translucent one turned grey over the dark sections */
  .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 699px) {
  .section { padding-block: 3.25rem; }
  .head { gap: 1rem; margin-bottom: 1.75rem; }
  .h-xl { font-size: 2rem; }
  .eyebrow { margin-bottom: .9rem; }
  .hero { padding-block: 1.75rem 3rem; }
  .hero__status { margin-bottom: 1.25rem; }
  .hero__proof { margin-top: 1.75rem; }

  /* swipe rows */
  .work, .quotes, .process, .cards, .steps, .faq-index { display: flex; gap: .75rem; columns: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: .25rem; }
  .work::-webkit-scrollbar, .quotes::-webkit-scrollbar, .process::-webkit-scrollbar, .cards::-webkit-scrollbar, .steps::-webkit-scrollbar, .faq-index::-webkit-scrollbar { display: none; }
  .work > *, .quotes > *, .process > *, .cards > *, .steps > * { flex: 0 0 86%; scroll-snap-align: start; margin-bottom: 0; }
  .js .work > [data-reveal], .js .quotes > [data-reveal], .js .process > [data-reveal], .js .cards > [data-reveal], .js .steps > [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card { padding: 1.35rem; }
  .steps li { padding: 1.35rem; }
  .steps li::before { margin-bottom: .5rem; }

  /* chip index on /faq: one swipe line instead of a wrapped block */
  .faq-index { flex-wrap: nowrap; margin-bottom: 2rem; }
  .faq-index a { flex: none; white-space: nowrap; }

  /* page heroes with stats: one compact row per stat */
  .page-hero { padding-block: 2rem 2.5rem; }
  .kpis { gap: .5rem; margin-top: 1.75rem; }
  .kpi { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; column-gap: 1rem; padding: .9rem 1.1rem; border-radius: 1rem; }
  .kpi__n { grid-row: span 2; font-size: 1.75rem; }
  .kpi__l { margin-top: 0; font-size: .95rem; line-height: 1.3; }
  .kpi__s { font-size: .8rem; line-height: 1.35; }

  /* short answer: the answer shows, the facts fold */
  .sa { padding-block: 0 2.5rem; }
  .sa__card { gap: 0; padding: 1.35rem; }
  .sa__a { font-size: 1.025rem; }

  .who { gap: .5rem; }
  .who li { padding: .9rem 1.1rem; font-size: .975rem; }
  .deliver { gap: .5rem; }
  .deliver li { padding: .8rem 1rem; }
  .deliver li span { font-size: .9rem; }

  /* /case-studies: two small cards per row (thumbnail, title, result); the case page has the story */
  .case-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .case-card { gap: .6rem; padding: .45rem; border-radius: 1rem; }
  .case-card .ct { border-radius: .7rem; }
  .case-card__body { gap: .35rem; padding: 0 .3rem .4rem; }
  .case-card .work__tags, .case-card p { display: none; }
  .case-card h2 { font-size: .95rem; letter-spacing: -.015em; }
  .case-card__foot { display: grid; gap: .15rem; font-size: .75rem; line-height: 1.25; }
  .case-card__metric { font-size: 1.3rem; }

  /* blog cards: cover on the left, title on the right */
  .posts { gap: .6rem; }
  .post-card { display: grid; grid-template-columns: 6.5rem 1fr; gap: .35rem .9rem; align-items: start; padding: .75rem; }
  .post-card__img { grid-row: span 3; margin: 0; aspect-ratio: 1; border-radius: .7rem; }
  .post-card__img img { object-position: left center; }
  .post-card p, .post-card .link-arrow { display: none; }
  .post-card h2, .post-card h3 { font-size: 1.02rem; line-height: 1.25; }

  /* /faq: questions fold, answers open on tap */
  .qa { gap: 2.25rem; }
  .qa__item { padding-block: 1rem; }
  .qa__item h3 { font-size: 1rem; }
  .work__row { gap: 1rem; padding: .75rem; border-radius: 1.25rem; }
  .work__row:hover { transform: none; }
  .work__body { padding: .25rem .25rem .5rem; gap: .6rem; }
  .work__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
  .work__metric { font-size: 2rem; }
  .quotes { align-items: flex-start; }
  .quote { padding: 1.35rem; gap: 1rem; }
  .step { padding: 1.35rem; }
  .step__n { margin-bottom: .5rem; }

  /* why: icons go, tiles tighten, the quote tile goes (it's in the testimonials below) */
  .bento { gap: .75rem; }
  .tile { padding: 1.25rem; gap: .5rem; }
  .tile__icon { display: none; }
  .tile--quote { display: none; }
  .tile__big { font-size: 2.25rem; }

  .svc__row { padding-block: 1.1rem; gap: .35rem; }
  .svc__row h3 { font-size: 1.3rem; }
  .svc__row p { font-size: .95rem; }


  /* about: a smaller photo */
  .about { gap: 1.5rem; }
  .about__photo > img { aspect-ratio: 16 / 10; object-position: center 18%; }
  .about__badges { top: .6rem; right: .6rem; gap: .35rem; }
  .about__badges img { width: 2.9rem; height: 2.9rem; }
  .about__name { left: .6rem; bottom: .6rem; padding: .45rem .7rem; font-size: .75rem; }
  .about__name b { font-size: .85rem; }
  .about__copy p { font-size: 1rem; }
  .checks { margin: 1.25rem 0 1.5rem; }

  .xp__row { padding-block: 1.25rem; }
  .faq summary { padding-block: 1.1rem; font-size: 1.05rem; }
  .cta { padding-block: 3.5rem; }
  .footer { padding-block: 2.5rem 2rem; }
  .footer__top { gap: 1.75rem; padding-bottom: 1.75rem; }
  .book { gap: 2rem; }
}
