/* ==========================================================================
   Sort The Clicks - Production stylesheet
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Soft scroll-snap on section boundaries (desktop only).
   "proximity" only snaps when the user stops near a snap point —
   never fights an active scroll, never blocks long sections. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  body > section { scroll-snap-align: start; scroll-snap-stop: normal; }
}
body {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 400;
  background: #FAF8F4;
  color: #141414;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }

:root {
  --charcoal: #141414;
  --charcoal-mid: #1C1C1C;
  --charcoal-soft: #2A2A2A;
  --off-white: #F4F1EC;
  --warm-white: #FAF8F4;
  --acid: #D4FF00;
  --muted: #888880;
  --border-light: #E8E5E0;
  --border-dark: #2A2A2A;
  --darker-off-white: #ECE9E4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

section { padding: 120px 0; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  text-wrap: pretty;
}

/* Dot grid motif */
.dot-grid { position: relative; }
.dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 2px, transparent 2px);
  background-size: 24px 24px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
}
.dot-grid > * { position: relative; z-index: 1; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  height: 40px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-logo img { height: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 4px;
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-acid {
  background: var(--acid);
  color: var(--charcoal);
  padding: 14px 28px;
}
.btn-acid:hover { background: #E5FF33; }
.btn-outline-light {
  background: transparent;
  color: var(--warm-white);
  border: 1.5px solid var(--warm-white);
  padding: 12.5px 26.5px;
}
.btn-outline-light:hover { background: var(--warm-white); color: var(--charcoal); }
.btn-nav {
  background: var(--acid);
  color: var(--charcoal);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-nav:hover { background: #E5FF33; }
.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---------- Navigation ---------- */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
nav.top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #777;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--warm-white); }
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--acid);
  border-radius: 2px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links-extras { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-left: 12px;
}
.nav-toggle .bars {
  position: relative;
  width: 22px;
  height: 14px;
  display: block;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after,
.nav-toggle .bars span {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--warm-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars span { top: 6px; }
.nav-toggle .bars::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 6px; transform: rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  background: var(--charcoal);
  color: var(--warm-white);
  min-height: 100vh;
  padding: 68px 0 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero-motif {
  position: absolute;
  right: -14%;
  top: 50%;
  transform: translateY(-50%);
  width: 95vh;
  max-width: 940px;
  height: auto;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 0 80px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--warm-white);
  margin-bottom: 0;
}
.hero h1 .acid {
  color: var(--acid);
  display: block;
  margin-top: 0.1em;
}
.hero p.lead {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 36px 0 0;
}
.hero .ctas {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212,255,0,0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-eyebrow span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--charcoal-mid);
  height: 48px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 0 32px;
  flex-shrink: 0;
}
.ticker-item .sep {
  color: var(--acid);
  margin-left: 32px;
  opacity: 0.6;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .hero-eyebrow .dot,
  .training-card-eyebrow .pulse { animation: none; }
  html { scroll-behavior: auto; }
  .r-line > span,
  .reveal,
  .training-card .border-line,
  .stat-num { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* ==========================================================================
   Edge / motion layer
   ========================================================================== */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(212,255,0,0.5);
}

/* ---------- Custom cursor (desktop, hover-capable only) ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--acid);
  margin: -4px 0 0 -4px;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--acid);
  margin: -18px 0 0 -18px;
  transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease,
              margin 0.25s ease, background-color 0.25s ease;
}
body.has-cursor .cursor-dot { opacity: 1; }
.cursor-ring { display: none; }
body.has-cursor a,
body.has-cursor button,
body.has-cursor .pf-card,
body.has-cursor .service-card,
body.has-cursor .nav-toggle { cursor: none; }

/* ---------- Hero headline reveal ---------- */
.hero h1 .r-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  line-height: 1;
}
.hero h1 .r-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.95s cubic-bezier(.2,.85,.2,1);
  will-change: transform;
}
.hero h1.is-revealed .r-line > span { transform: translateY(0); }
.hero h1 .r-line:nth-child(1) > span,
.hero h1 .acid .r-line:nth-child(1) > span { transition-delay: 0.05s; }
.hero h1 .r-line:nth-child(2) > span,
.hero h1 .acid .r-line:nth-child(2) > span { transition-delay: 0.13s; }
.hero h1 .r-line:nth-child(3) > span { transition-delay: 0.21s; }
.hero h1 .acid .r-line:nth-child(1) > span { transition-delay: 0.42s; }
.hero h1 .acid .r-line:nth-child(2) > span { transition-delay: 0.50s; }

.hero-eyebrow,
.hero p.lead,
.hero .ctas {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero.is-revealed .hero-eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.hero.is-revealed p.lead { opacity: 1; transform: none; transition-delay: 0.7s; }
.hero.is-revealed .ctas { opacity: 1; transform: none; transition-delay: 0.85s; }

/* ---------- Generic reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.service-card.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.step.reveal { transition-delay: calc(var(--i, 0) * 100ms); }
.testimonial-pull-sm.reveal { transition-delay: calc(var(--i, 0) * 120ms); }
.about-chapter.reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Stats count-up ---------- */
.stat-num { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }

/* ---------- Year underline draw ---------- */
.about-chapter .year {
  position: relative;
  border-top: none;
}
.about-chapter .year::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s cubic-bezier(.7,0,.3,1);
}
.about-chapter.in .year::before { transform: scaleX(1); transition-delay: 0.2s; }
@media (max-width: 900px) {
  .about-chapter .year { border-bottom: none; padding-bottom: 6px; }
  .about-chapter .year::before { top: auto; bottom: 0; }
}

/* ---------- "real" word underline draw ---------- */
.about-quote .acid {
  position: relative;
  display: inline-block;
}
.about-quote .acid::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s cubic-bezier(.7,0,.3,1) 0.4s;
}
.about-quote.in .acid::after { transform: scaleX(1); }

/* ---------- Step number clip reveal + sequential dot lighting ---------- */
.step-num {
  display: inline-block;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.7,0,.2,1);
}
.step.in .step-num { clip-path: inset(0 0 0 0); }
.step .step-dot {
  background: var(--charcoal);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
.step.lit .step-dot {
  background: var(--acid);
  box-shadow: 0 0 0 4px rgba(212,255,0,0.18);
}

/* ---------- Training card border draw ---------- */
.training-card { position: relative; }
.training-card .border-line {
  position: absolute;
  background: var(--acid);
  z-index: 5;
  pointer-events: none;
}
.training-card .border-top    { top: 0;    left: 0; height: 1.5px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s ease; }
.training-card .border-right  { top: 0;    right: 0; width: 1.5px; height: 100%; transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.5s ease 0.45s; }
.training-card .border-bottom { bottom: 0; right: 0; height: 1.5px; width: 100%; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.5s ease 0.9s; }
.training-card .border-left   { bottom: 0; left: 0; width: 1.5px; height: 100%; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.5s ease 1.35s; }
.training-card.in .border-top,
.training-card.in .border-bottom { transform: scaleX(1); }
.training-card.in .border-right,
.training-card.in .border-left   { transform: scaleY(1); }

/* ---------- AI badge parallax (transform set by JS) ---------- */
.training-ai-badge { will-change: transform; transition: transform 0.1s linear; }

/* ---------- Word cycle (CTA "sort") — typewriter ---------- */
.word-cycle {
  display: inline-block;
  vertical-align: top;
  color: var(--acid);
  min-width: 4ch;
  text-align: left;
  white-space: nowrap;
}
.word-cycle::after {
  content: '';
  display: inline-block;
  width: 0.05em;
  height: 0.82em;
  background: var(--acid);
  vertical-align: -0.04em;
  margin-left: 0.06em;
  animation: caret-blink 0.9s steps(2) infinite;
  box-shadow: 0 0 6px rgba(212,255,0,0.45);
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- Portfolio counter roll ---------- */
.portfolio-counter .now {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: top;
  position: relative;
}
.portfolio-counter .digit-stack {
  display: block;
  transition: transform 0.55s cubic-bezier(.7,.05,.3,1);
  will-change: transform;
}
.portfolio-counter .digit-stack span {
  display: block;
  height: 1em;
  line-height: 1;
}

/* ---------- Portfolio URL typing caret ---------- */
.pf-url::after {
  content: '';
  display: inline-block;
  width: 1px; height: 0.9em;
  background: #888;
  margin-left: 2px;
  vertical-align: middle;
  opacity: 0;
  animation: caret-blink 1s steps(2) infinite;
}
.pf-card.is-active .pf-url::after { opacity: 1; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- Portrait grain ---------- */
.about-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---------- Film grain on dark sections (overlay above content, non-interactive) ---------- */
.hero, .about, .cta { position: relative; }
.hero::after,
.about::after,
.cta::after,
.training-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ---------- Magnetic CTA (transform set by JS, smooth return) ---------- */
.btn-acid, .btn-outline-light { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background-color 0.2s ease, color 0.2s ease; }

/* ---------- Section label scramble holder ---------- */
.section-label[data-scramble] { display: inline-block; min-width: 1ch; }

/* ---------- Inline brand glyphs (proof marks) ---------- */
.brand-glyph {
  display: inline-block;
  vertical-align: -0.18em;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}
.btn .brand-glyph { margin-right: 10px; vertical-align: -0.16em; }
.portfolio-also .brand-glyph { width: 14px; height: 14px; vertical-align: -0.18em; margin: 0 2px 0 4px; color: var(--charcoal); }

/* ---------- Tools we build with (training) ---------- */
.training-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-dark);
}
.training-tools .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.training-tools-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tool-badge:hover { border-color: var(--warm-white); background: rgba(255,255,255,0.03); }
.tool-badge .brand-glyph { width: 14px; height: 14px; vertical-align: middle; }
.tool-badge .brand-glyph.claude { color: #D97757; }
.tool-badge .brand-glyph.chatgpt { color: #10A37F; }


/* ---------- Services ---------- */
.services { background: var(--off-white); }
.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.services-header h2 { font-size: clamp(36px, 5vw, 56px); }
.services-header .intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 32px 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transition-delay: calc(var(--i, 0) * 80ms);
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--acid);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(20,20,20,0.18);
}
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}
.service-card .num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.service-card .num .slash { color: var(--border-light); margin: 0 6px; }
.service-card h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--charcoal);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.service-card p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: #555550;
  margin: 0 0 22px;
}

/* Service card mark - 64x64 visual signature */
.service-card-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  position: relative;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Mark 01 - Brand: colour swatches + Aa */
.mark-brand { padding: 10px; gap: 4px; flex-direction: column; align-items: stretch; }
.mark-brand .row1 { display: flex; gap: 3px; height: 12px; }
.mark-brand .row1 span { flex: 1; border-radius: 1px; }
.mark-brand .row1 span:nth-child(1) { background: var(--charcoal); }
.mark-brand .row1 span:nth-child(2) { background: var(--acid); }
.mark-brand .row1 span:nth-child(3) { background: var(--muted); }
.mark-brand .typo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  text-align: center;
}

/* Mark 02 - Web: code/markup */
.mark-web { padding: 0; flex-direction: column; gap: 0; }
.mark-web .bar {
  width: 100%; height: 14px; background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
}
.mark-web .bar i {
  font-family: 'DM Sans', monospace, sans-serif;
  font-size: 9px; font-weight: 600;
  color: var(--acid); line-height: 1;
  font-style: normal;
}
.mark-web .stack {
  flex: 1; padding: 7px 8px;
  display: flex; flex-direction: column; gap: 4px;
  justify-content: center;
}
.mark-web .stack .l {
  font-family: 'DM Sans', monospace, sans-serif;
  font-size: 8px; line-height: 1;
  color: var(--charcoal);
  white-space: nowrap;
}
.mark-web .stack .l .tag { color: var(--muted); }
.mark-web .stack .l .acid { color: #B8DD00; font-weight: 600; }
.mark-web .stack .l:nth-child(2) { padding-left: 8px; }

/* Mark 03 - AI: prompt + response */
.mark-ai {
  background: var(--charcoal); padding: 0;
  flex-direction: column; gap: 0; align-items: stretch;
}
.mark-ai .prompt {
  flex: 1;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 8px; gap: 5px;
}
.mark-ai .spark {
  color: var(--acid);
  font-size: 13px; line-height: 1;
  flex-shrink: 0;
}
.mark-ai .text {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  color: var(--warm-white);
  line-height: 1;
  white-space: nowrap;
}
.mark-ai .caret {
  width: 1px; height: 9px;
  background: var(--acid);
  animation: aiBlink 1s steps(2) infinite;
}
@keyframes aiBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
.mark-ai .reply {
  height: 14px;
  background: #1C1C1C;
  border-top: 1px solid #2A2A2A;
  display: flex; align-items: center;
  padding: 0 8px; gap: 4px;
}
.mark-ai .reply span {
  height: 2px; background: var(--acid);
  border-radius: 1px; opacity: 0.85;
}
.mark-ai .reply span:nth-child(1) { width: 14px; }
.mark-ai .reply span:nth-child(2) { width: 10px; opacity: 0.5; }
.mark-ai .reply span:nth-child(3) { width: 18px; opacity: 0.7; }

/* Mark 04 - Marketing: bars + hockey-stick line */
.mark-marketing {
  padding: 8px; gap: 3px; align-items: flex-end;
  position: relative;
}
.mark-marketing > span {
  flex: 1; background: var(--charcoal);
  border-radius: 1px; opacity: 0.4;
}
.mark-marketing > span:nth-child(1) { height: 22%; }
.mark-marketing > span:nth-child(2) { height: 28%; }
.mark-marketing > span:nth-child(3) { height: 38%; }
.mark-marketing > span:nth-child(4) { height: 95%; opacity: 1; }
.mark-marketing svg.line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.mark-marketing svg.line path {
  fill: none;
  stroke: var(--acid);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mark-marketing svg.line circle { fill: var(--acid); }

/* Includes chips */
.service-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.service-includes span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: var(--off-white);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

/* Deliverable footer row */
.service-deliverable {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.service-deliverable .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.service-deliverable .value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
  text-align: right;
}
.services-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.services-footer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.services-footer a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Portfolio (horizontal scroll-jack) ---------- */
.portfolio {
  background: var(--darker-off-white);
  position: relative;
  padding: 0;
}
.portfolio-pin {
  height: 380vh;
  position: relative;
}
.portfolio-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-motif {
  position: absolute;
  right: -8%;
  top: 80px;
  width: 280px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: rotate(15deg);
}
.portfolio-topbar {
  padding: 96px 32px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  z-index: 2;
  position: relative;
}
.portfolio-topbar h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-top: 16px;
}
.portfolio-counter {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.portfolio-counter .now {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 56px;
  color: var(--charcoal);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  display: inline-block;
}
.portfolio-counter .of {
  color: var(--muted);
  font-size: 13px;
}
.portfolio-track-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.portfolio-track {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 0 50vw;
  will-change: transform;
  height: 52vh;
  max-height: 540px;
}
.pf-card {
  flex-shrink: 0;
  width: 560px;
  height: 100%;
  background: var(--charcoal-mid);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: box-shadow 0.4s ease;
  position: relative;
}
.pf-card.is-active {
  box-shadow: 0 40px 80px -30px rgba(20,20,20,0.45);
}
.pf-chrome {
  background: var(--charcoal-soft);
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
  flex-shrink: 0;
}
.pf-dots { display: flex; gap: 6px; }
.pf-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.pf-url {
  flex: 1;
  background: #1a1a1a;
  height: 22px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #666;
  letter-spacing: 0.04em;
}
.pf-mock {
  flex: 1;
  background: linear-gradient(180deg, #2A2A2A 0%, #333 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  gap: 12px;
}
.pf-mock.has-shot { padding: 0; gap: 0; background: #1a1a1a; }
.pf-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mock-bar { background: rgba(255,255,255,0.05); border-radius: 2px; }
.mock-nav { height: 10px; width: 28%; }
.mock-hero-l { height: 22px; width: 80%; }
.mock-hero-l2 { height: 22px; width: 60%; }
.mock-hero-cta { height: 32px; width: 120px; background: rgba(212,255,0,0.22); margin-top: 8px; border-radius: 3px; }
.mock-grid { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-grid span { height: 56px; background: rgba(255,255,255,0.06); border-radius: 2px; }
.pf-mock.variant-jazz {
  background: linear-gradient(180deg, #1f1f1f 0%, #2a2a2a 100%);
}
.pf-mock.variant-jazz .mock-hero-l { width: 90%; height: 26px; }
.pf-mock.variant-jazz .mock-hero-l2 { width: 70%; height: 26px; }
.pf-mock.variant-mentor .mock-image {
  height: 130px;
  background: rgba(212,255,0,0.08);
  border-radius: 3px;
  margin-top: 12px;
}

.pf-meta {
  padding: 28px 32px;
  background: var(--charcoal-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
}
.pf-meta-left h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.pf-meta-left p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pf-view {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--charcoal);
  background: var(--acid);
  padding: 10px 16px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.pf-view:hover { background: #E5FF33; }

.portfolio-progress {
  height: 2px;
  background: rgba(20,20,20,0.08);
  margin: 32px 0 24px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  width: calc(100% - 64px);
  margin-left: auto;
  margin-right: auto;
}
.portfolio-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--charcoal);
  width: 0%;
  transition: width 0.1s linear;
}
.portfolio-bottom {
  padding: 0 32px 56px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.portfolio-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.portfolio-hint .arrow {
  width: 24px; height: 1px; background: var(--muted); position: relative;
}
.portfolio-hint .arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--muted);
  border-top: 1px solid var(--muted);
  transform: rotate(45deg);
}
.portfolio-also {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
}

/* Mobile pagination dots (hidden on desktop) */
.portfolio-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  max-width: 1200px;
  width: 100%;
}
.pf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(20,20,20,0.18);
  transition: background-color 0.25s ease, width 0.25s ease;
}
.pf-dot.is-active {
  background: var(--charcoal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .portfolio-dots { display: flex; }
}

/* ---------- About ---------- */
.about {
  background: var(--charcoal);
  color: var(--warm-white);
  overflow-x: clip;
  position: relative;
}
.about-left {
  max-height: none;
}
.about-motif {
  position: absolute;
  left: -22%;
  bottom: -25%;
  width: 720px;
  max-width: 70vw;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-8deg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
  align-items: start;
}
.about-left {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
}
.about-portrait {
  margin-top: 28px;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--charcoal-mid);
  position: relative;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-portrait::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(20,20,20,0.6));
  pointer-events: none;
}
.about-portrait-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-white);
}
.about-portrait-caption strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
  margin-bottom: 2px;
  color: var(--warm-white);
}
.about-body {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.about-chapter {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}
.about-chapter .year {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
  padding-top: 6px;
  border-top: 1px solid var(--acid);
}
.about-chapter .chapter-body h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--warm-white);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.about-chapter .chapter-body p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}
.about-chapter .chapter-body p:last-child { margin-bottom: 0; }
.about-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--warm-white);
  max-width: 480px;
  margin: 0;
}
.about-quote .acid { color: var(--acid); }
.about-body p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 20px;
}
.about-body p:last-child { margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--border-dark);
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 52px);
  color: var(--acid);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 200px;
}

/* ---------- AI Training ---------- */
.training { background: var(--off-white); position: relative; overflow: hidden; }
.training-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.training-divider .from {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.training-divider .from strong { color: var(--charcoal); font-weight: 500; }
.training-divider .arrow {
  flex: 1;
  height: 1px;
  background: var(--border-light);
  position: relative;
  min-width: 60px;
}
.training-divider .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--charcoal);
  border-top: 1px solid var(--charcoal);
  transform: rotate(45deg);
}
.training-zoom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--charcoal);
  color: var(--acid);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.training-zoom .num { color: var(--warm-white); opacity: 0.5; }

.training-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.training-ai-badge {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(120px, 16vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--charcoal);
  user-select: none;
}
.training-ai-badge .dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--acid);
  border-radius: 50%;
  vertical-align: top;
  margin-left: 6px;
  margin-top: 14px;
}
.training-headline-text h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  margin: 0;
  color: var(--charcoal);
}
.training-headline-text .lead {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 560px;
}

.training-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--charcoal);
  border-radius: 6px;
  overflow: hidden;
  color: var(--warm-white);
  position: relative;
  min-height: 540px;
}
.training-card-image {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-mid);
}
.training-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.training-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0) 50%, rgba(20,20,20,0.7) 100%);
  pointer-events: none;
}
.training-card-image .img-tag {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-white);
}
.training-card-image .img-tag strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
  display: block;
  margin-bottom: 2px;
  color: var(--warm-white);
}
.training-card-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.training-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.training-card-eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(212,255,0,0.5);
  animation: pulse 2s ease-in-out infinite;
}
.training-card-eyebrow span:last-child {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.training-card-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin: 0 0 8px;
  line-height: 1.1;
}
.training-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.training-detail .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.training-detail .value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--warm-white);
  line-height: 1.4;
}
.training-card-body .body {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 32px;
}
.training-card-body .btn-acid { align-self: flex-start; }

/* ---------- How it works ---------- */
.how { background: var(--warm-white); position: relative; overflow: hidden; }
.how-motif {
  position: absolute;
  left: -6%;
  bottom: -25%;
  width: 360px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-12deg);
}
.how-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.how-header h2 { font-size: clamp(36px, 5vw, 56px); margin-top: 24px; }
.how-header .intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  border-top: 1px solid var(--border-light);
}
.step {
  position: relative;
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border-light);
}
.step:last-child { border-right: none; padding-right: 0; }
.step + .step { padding-left: 32px; }
.step-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.step-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--charcoal);
  flex-shrink: 0;
}
.step:nth-child(1) .step-dot { background: var(--acid); box-shadow: 0 0 0 4px rgba(212,255,0,0.18); }
.step-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
  position: relative;
}
.step:last-child .step-line::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid var(--charcoal);
  border-top: 1px solid var(--charcoal);
  transform: rotate(45deg);
}
.step-num-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 88px;
  color: var(--charcoal);
  letter-spacing: -0.05em;
  line-height: 0.85;
  user-select: none;
}
.step-num .slash { color: var(--border-light); }
.step-duration {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.step-body {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 320px;
}
.step-deliver {
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.step-deliver .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.step-deliver .what {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.45;
}

.how-cta {
  margin-top: 64px;
  padding: 32px 40px;
  background: var(--charcoal);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.how-cta-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 6px;
}
.how-cta-line {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--warm-white);
  letter-spacing: -0.02em;
}

/* ---------- Testimonials ---------- */
.case-study {
  background: var(--charcoal);
  color: var(--warm-white);
}
.case-study-header {
  margin-bottom: 64px;
  max-width: 720px;
}
.case-study-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--warm-white);
  margin: 24px 0 0;
}

/* Featured case-study card */
.case-study-feature {
  display: grid;
  grid-template-columns: minmax(200px, 220px) 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 96px;
}
.case-study-frame {
  position: relative;
  background: var(--charcoal-mid);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 60px -32px rgba(20,20,20,0.45);
  display: flex;
  flex-direction: column;
}
.case-study-frame::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--acid);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(212,255,0,0.5);
}
.case-study-frame .pf-chrome {
  background: var(--charcoal-soft, #2A2A2A);
  border-bottom: 1px solid #2A2A2A;
}
.case-study-stage {
  position: relative;
  background: var(--charcoal);
  aspect-ratio: 9 / 16;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-study-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-study-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  padding: 0;
  box-shadow: 0 0 0 8px rgba(212,255,0,0.18), 0 0 24px rgba(212,255,0,0.55), 0 12px 32px -8px rgba(0,0,0,0.45);
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, opacity 0.2s ease;
}
.case-study-play svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  transform: translateX(2px);
}
.case-study-play:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 10px rgba(212,255,0,0.22), 0 0 32px rgba(212,255,0,0.7), 0 12px 32px -8px rgba(0,0,0,0.45);
}
.case-study-play:active { transform: scale(0.98); }
.case-study-play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}
@media (hover: none) {
  .case-study-play:hover { transform: none; }
}
.case-study-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 8px;
}
.case-study .testimonial-pull,
.testimonial-pull {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--warm-white);
  margin: 0;
  position: relative;
}
.testimonial-pull::before {
  content: '\201C';
  position: absolute;
  top: -0.5em;
  left: -0.05em;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.8em;
  color: var(--acid);
  opacity: 0.35;
  line-height: 1;
  pointer-events: none;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--warm-white);
}
.testimonial-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(250,248,244,0.6);
}
.testimonial-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--acid);
  text-decoration-thickness: 2px;
  margin-top: 6px;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.testimonial-link:hover { color: var(--acid); }

/* Case-study meta strip: timeline + deliverables */
.case-study-meta {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(250,248,244,0.12);
}
.case-study-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-study-meta-cell .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.5);
}
.case-study-meta-cell .value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--warm-white);
  letter-spacing: -0.01em;
}
.case-study-cta { align-self: flex-start; }

.testimonial-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.testimonial-chips span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  background: rgba(250,248,244,0.04);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(250,248,244,0.18);
}

/* Editorial pull-quote row (no boxes) */
.testimonial-pulls-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.5);
  margin-bottom: 32px;
}
.testimonial-pulls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.testimonial-pull-sm {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--warm-white);
  margin: 0;
  padding: 20px 0 0;
  border-top: 2px solid var(--acid);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-pull-sm .quote-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(250,248,244,0.5);
}
.testimonial-pull-sm p {
  margin: 0;
  position: relative;
  padding-left: 0;
}
.testimonial-pull-sm p::before {
  content: '\201C';
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: var(--acid);
  opacity: 0.55;
  margin-right: 0.05em;
}
.testimonial-pull-sm p::after {
  content: '\201D';
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  color: var(--acid);
  opacity: 0.55;
  margin-left: 0.02em;
}

/* ---------- FAQ ---------- */
.faq { background: var(--warm-white); }
.faq-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 64px;
  align-items: end;
}
.faq-header h2 {
  font-size: clamp(36px, 5vw, 56px);
}
.faq-intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
  margin: 0;
}
.faq-list {
  border-top: 1px solid var(--border-light);
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  user-select: none;
  transition: padding-left 0.25s cubic-bezier(.2,.8,.2,1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: 8px; }
.faq-q {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: -0.02em;
  color: var(--charcoal);
  flex: 1;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.faq-item summary:hover .faq-q { color: var(--charcoal); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--charcoal);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--acid); }
.faq-item[open] .faq-q { color: var(--charcoal); }
.faq-item[open] summary { padding-bottom: 16px; }
.faq-a {
  padding: 0 48px 32px 0;
  max-width: 760px;
  animation: faq-fade 0.4s cubic-bezier(.2,.8,.2,1);
}
.faq-a p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0;
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .faq-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .faq-item summary { padding: 22px 0; gap: 16px; }
  .faq-a { padding: 0 0 24px 0; }
  .faq-q { font-size: 18px; }
}

/* Definitional opener inside service cards (bolder, AI-extractable lead) */
.service-card .def {
  display: block;
  margin-bottom: 8px;
  color: var(--charcoal);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--charcoal);
  color: var(--warm-white);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-motif {
  position: absolute;
  right: -8%;
  top: -20%;
  width: 640px;
  max-width: 60vw;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  transform: rotate(12deg);
}
.cta-motif-2 {
  position: absolute;
  left: -10%;
  bottom: -30%;
  width: 520px;
  max-width: 50vw;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-15deg);
}
.cta h2 {
  font-size: clamp(48px, 7vw, 76px);
  color: var(--warm-white);
  line-height: 1;
  margin: 0 auto;
  max-width: 900px;
}
.cta h2 .acid { color: var(--acid); }
.cta .lead {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin: 28px auto 0;
}
.cta .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.cta .email {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 32px;
}
.cta .email a { color: var(--warm-white); }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site {
  background: var(--charcoal);
  color: var(--muted);
  padding: 0 0 32px;
  position: relative;
}

/* ---------- Status banner ---------- */
.footer-status-bar {
  background: var(--charcoal-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 18px 0;
  margin-bottom: 80px;
}
.footer-status-bar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.footer-status .status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(212,255,0,0.5);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.footer-status .status-text strong {
  font-weight: 500;
  color: var(--warm-white);
}
.footer-status-cta {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--acid);
  transition: gap 0.2s ease, color 0.2s ease;
}
.footer-status-cta:hover { color: #E5FF33; }

/* ---------- Main grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 96px;
}
.footer-brand .footer-logo img { height: 44px; }
.footer-tagline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 320px;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-meta-sep { color: var(--acid); opacity: 0.5; }

.footer-col-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.25s cubic-bezier(.2,.8,.2,1);
  padding-left: 0;
  position: relative;
}
.footer-nav a:hover {
  color: var(--warm-white);
  padding-left: 12px;
}
.footer-nav a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--acid);
  transition: width 0.25s cubic-bezier(.2,.8,.2,1);
}
.footer-nav a:hover::before { width: 8px; }

.footer-email {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--warm-white);
  display: inline-block;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(250,248,244,0.2);
  padding-bottom: 6px;
  transition: border-color 0.2s ease;
  word-break: break-word;
}
.footer-email:hover { border-color: var(--acid); }

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  width: fit-content;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.footer-action:hover {
  border-color: var(--warm-white);
  color: var(--warm-white);
  background: rgba(255,255,255,0.03);
}
.footer-action svg { flex-shrink: 0; }

/* ---------- Big typographic statement ---------- */
.footer-statement {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border-dark);
}
.footer-statement p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--warm-white);
  margin: 0;
  max-width: 900px;
}
.footer-statement .acid { color: var(--acid); }

/* ---------- Bottom strip ---------- */
.footer-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 0 0 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #6a6a64;
  letter-spacing: 0.02em;
}
.footer-bottom-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom-meta .acid-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acid);
  display: inline-block;
}

/* ==========================================================================
   Responsive — mobile-first deep pass
   ========================================================================== */

/* ---------- Tablet & smaller (≤900px) ---------- */
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .container { padding: 0 24px; }

  /* ----- Nav: full-screen overlay menu ----- */
  .nav-toggle { display: inline-flex; }
  .nav-right { gap: 12px; }
  .btn-nav { display: none; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 32px max(48px, calc(env(safe-area-inset-bottom) + 32px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  /* Keep close (X) button reliably above the menu overlay */
  .nav-toggle { position: relative; z-index: 101; }
  .nav-links::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 2px, transparent 2px);
    background-size: 24px 24px;
    pointer-events: none;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 9vw, 56px);
    color: var(--warm-white);
    padding: 12px 0;
    letter-spacing: -0.03em;
    line-height: 1.05;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.2,.8,.2,1), opacity 0.5s ease, color 0.2s ease, padding-left 0.25s ease;
  }
  .nav-links.is-open a {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-links.is-open a:nth-child(1) { transition-delay: 0.06s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.12s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.18s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.24s; }
  .nav-links a:hover,
  .nav-links a:active { color: var(--acid); padding-left: 8px; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { color: var(--acid); }

  /* Mobile nav contact extras */
  .nav-links-extras {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .nav-links-extras a.btn-acid {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    justify-content: center;
  }
  .nav-links-extras .nav-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
  }
  .nav-links-extras .nav-meta .dot {
    width: 8px; height: 8px;
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212,255,0,0.5);
    animation: pulse 2s ease-in-out infinite;
  }
  body.menu-open { overflow: hidden; }

  /* ----- Hero ----- */
  .hero-inner { padding: 56px 0 64px; align-items: flex-start; padding-top: 96px; }
  .hero-motif {
    right: -20%;
    width: 90vw;
    max-width: 520px;
    opacity: 0.10;
  }
  .hero h1 .r-line { padding-bottom: 0.04em; }
  .hero p.lead { color: rgba(250,248,244,0.78); }

  /* ----- Services ----- */
  .services-header { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card {
    padding: 28px 24px 24px;
    transform: none !important;
  }
  .service-card-header { gap: 12px; margin-bottom: 20px; }
  .service-card-mark { width: 56px; height: 56px; }
  .services-footer { flex-direction: column; align-items: flex-start; }

  /* ----- Portfolio: horizontal swipe + dots ----- */
  .portfolio-pin { height: auto; }
  .portfolio-stage { position: relative; height: auto; padding-bottom: 56px; }
  .portfolio-topbar {
    padding: 64px 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .portfolio-counter { font-size: 12px; }
  .portfolio-counter .now { font-size: 36px; }
  .portfolio-track-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-top: 32px;
  }
  .portfolio-track-wrap::-webkit-scrollbar { display: none; }
  .portfolio-track {
    padding: 0 24px;
    gap: 16px;
    height: auto;
    transform: none !important;
  }
  .pf-card {
    width: 84vw;
    max-width: 520px;
    height: auto;
    scroll-snap-align: center;
    transform: none !important;
    opacity: 1 !important;
  }
  .pf-mock { height: 240px; flex: none; }
  .portfolio-progress { display: none; }
  .portfolio-bottom {
    padding: 32px 24px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* ----- About ----- */
  .about-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .about-left { position: static; max-height: none; }
  .about-quote { max-width: none; }
  .about-portrait { max-width: 320px; aspect-ratio: 4 / 5; }
  .about-chapter {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-dark);
  }
  .about-chapter:last-child { border-bottom: none; padding-bottom: 0; }
  .about-chapter .year {
    padding: 4px 0;
    border-top: none;
    display: inline-block;
    align-self: start;
    font-size: 11px;
  }
  .about-chapter .year::before {
    top: auto; bottom: 0;
  }
  .about-chapter .chapter-body h4 { font-size: 22px; margin-top: 4px; }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-top: 64px;
    padding-top: 40px;
  }
  .stat-num { font-size: clamp(40px, 11vw, 56px); }

  /* ----- How it works: vertical acid connector ----- */
  .how-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: none;
    position: relative;
    padding-left: 24px;
  }
  .steps::before {
    content: '';
    position: absolute;
    left: 5px; top: 16px; bottom: 16px;
    width: 2px;
    background: linear-gradient(180deg, var(--acid) 0%, var(--border-light) 30%, var(--border-light) 100%);
    opacity: 0.4;
  }
  .step {
    border-right: none;
    border-bottom: none;
    padding: 28px 0 28px 0;
    position: relative;
  }
  .step:last-child { padding-bottom: 0; }
  .step + .step { padding-left: 0; }
  .step-marker {
    position: absolute;
    left: -24px;
    top: 32px;
    width: auto;
    margin-bottom: 0;
  }
  .step-marker .step-line { display: none; }
  .step-dot {
    width: 12px; height: 12px;
    border: 2px solid var(--charcoal);
    background: var(--warm-white) !important;
    box-shadow: 0 0 0 1px var(--border-light);
  }
  .step.lit .step-dot {
    background: var(--acid) !important;
    box-shadow: 0 0 0 4px rgba(212,255,0,0.18) !important;
  }
  .step-num { font-size: 56px; }
  .step-title { font-size: 22px; }
  .step-body { max-width: none; }

  /* ----- Training ----- */
  .training-headline { grid-template-columns: 1fr; gap: 12px; margin-bottom: 48px; }
  .training-ai-badge { font-size: clamp(96px, 22vw, 140px); }
  .training-card { grid-template-columns: 1fr; min-height: 0; }
  .training-card-image { height: 240px; }
  .training-card-body { padding: 32px 24px; }
  .training-details { grid-template-columns: 1fr 1fr; gap: 20px; }
  .training-divider { gap: 16px; }
  .training-divider .arrow { display: none; }
  .training-divider .from { width: 100%; margin-top: 4px; }

  /* ----- Case study ----- */
  .case-study-header { margin-bottom: 32px; }
  .case-study-heading { font-size: clamp(32px, 8vw, 44px); }
  .case-study-feature {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }
  .case-study-frame { width: 100%; max-width: none; margin: 0; }
  .case-study-play {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    box-shadow: 0 0 0 6px rgba(212,255,0,0.18), 0 0 18px rgba(212,255,0,0.55), 0 8px 24px -6px rgba(0,0,0,0.45);
  }
  .case-study-play svg { width: 24px; height: 24px; }
  .case-study-aside { gap: 24px; padding-top: 0; }
  .case-study .testimonial-pull,
  .testimonial-pull { font-size: clamp(24px, 6.4vw, 32px); }
  .case-study-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-study-cta { align-self: stretch; }
  .case-study-cta.btn { width: 100%; }

  /* "More from Kat" → horizontal scroll-snap row on mobile */
  .testimonial-pulls-label { margin-bottom: 20px; }
  .testimonial-pulls {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px 8px;
  }
  .testimonial-pulls::-webkit-scrollbar { display: none; }
  .testimonial-pull-sm {
    flex: 0 0 80%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* ----- CTA ----- */
  .cta .ctas { flex-direction: column; align-items: stretch; }
  .cta .ctas .btn { width: 100%; }
  .how-cta { flex-direction: column; align-items: flex-start; padding: 28px; gap: 16px; }
  .how-cta .btn-large { width: 100%; }

  /* ----- Footer ----- */
  .footer-status-bar { margin-bottom: 56px; padding: 16px 0; }
  .footer-status-bar > .container { gap: 16px; }
  .footer-status { font-size: 12px; flex-wrap: nowrap; }
  .footer-status .status-meta { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    margin-bottom: 64px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-statement { padding: 56px 0 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* ----- Buttons ----- */
  .btn { transform: none !important; }
}

/* ---------- Phone (≤640px) ---------- */
@media (max-width: 640px) {
  section { padding: 72px 0; }

  /* Hero: tighter scaling, full-width CTAs */
  .hero h1 { font-size: clamp(44px, 11vw, 60px); letter-spacing: -0.045em; }
  .hero p.lead { font-size: 16px; margin-top: 28px; }
  .hero .ctas { flex-direction: column; gap: 10px; margin-top: 32px; }
  .hero .ctas .btn { width: 100%; padding: 16px 24px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-inner { padding: 80px 0 56px; }

  .ticker { height: 44px; }
  .ticker-item { font-size: 12px; padding-left: 24px; }
  .ticker-item .sep { margin-left: 24px; }

  /* Services */
  .service-card { padding: 24px 20px; }
  .service-card h3 { font-size: 20px; }
  .service-card-header { margin-bottom: 18px; }
  .service-includes { gap: 5px; }
  .service-includes span { font-size: 10.5px; padding: 4px 9px; }

  /* Portfolio */
  .pf-card { width: 88vw; }
  .pf-mock { height: 200px; padding: 18px 20px; }
  .pf-meta { padding: 20px; gap: 16px; flex-wrap: wrap; }
  .pf-meta-left h4 { font-size: 18px; }
  .pf-view { font-size: 12px; padding: 9px 14px; }

  /* About */
  .about-portrait { max-width: 100%; aspect-ratio: 5 / 6; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .stat-label { font-size: 12px; }

  /* Training */
  .training-details { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .training-detail .value { font-size: 14px; }
  .tool-badge { font-size: 11px; padding: 6px 10px 6px 8px; }
  .training-tools { gap: 12px; }

  /* Testimonials */
  .testimonial-pull-sm { padding: 24px 22px 26px; font-size: 17px; }

  /* CTA */
  .cta { padding: 96px 0; }
  .cta h2 { font-size: clamp(40px, 11vw, 60px); }
  .cta .lead { font-size: 16px; margin-top: 20px; }

  /* Footer */
  footer.site { padding-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-tagline { font-size: 14px; }
  .footer-email { font-size: 16px; }
  .footer-statement p { font-size: clamp(28px, 9vw, 44px); }
  .footer-status-bar > .container { flex-direction: column; align-items: flex-start; }
  .footer-status-cta { font-size: 13px; }

  /* How */
  .step-num { font-size: 48px; }

  /* Section labels keep readable */
  .section-label { font-size: 11px; }
}

/* ---------- Small phone (≤380px) ---------- */
@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  .stats { grid-template-columns: 1fr; }
  .training-details { grid-template-columns: 1fr; }
  .pf-card { width: 92vw; }
}

/* ---------- Touch / no-hover devices ---------- */
@media (hover: none) {
  /* Disable hover-only effects on touch */
  .service-card:hover { transform: none; box-shadow: none; }
  .pf-card:hover { transform: none; }
  .btn:hover { transform: none; }
  .footer-nav a:hover { padding-left: 0; }
  .footer-nav a:hover::before { width: 0; }
  /* Hide custom cursor entirely */
  .cursor-dot { display: none; }
}
