/* =========================================================
   THE SURGE — shared styles
   Dark, cinematic, sharp.
   ========================================================= */

:root {
  --bg: #f5f2eb;
  --bg-2: #ede9e1;
  --panel: #e9e6de;
  --panel-2: #e2dfd7;
  --line: #d4d0c8;
  --line-2: #c8c4bc;
  --ink: #0d0b09;
  --ink-2: #3d3a34;
  --mute: #837f79;
  --legal: #9e9a94;

  --y: #ffd400;     /* surge yellow */
  --o: #ff8a1e;     /* mid orange */
  --m: #ff2db4;     /* surge magenta */
  --p: #a020ff;     /* deep magenta-purple, kept subtle */

  --grad: linear-gradient(95deg, #ffd400 0%, #ffb115 25%, #ff6a3d 55%, #ff2db4 100%);
  --grad-soft: linear-gradient(95deg, rgba(255,212,0,.18), rgba(255,45,180,.18));

  --ff-display: "Archivo", "Archivo Narrow", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
}

*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; background: var(--bg); }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--m); color: #fff; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ink-2);
  display: inline-block;
}
.eyebrow.num::before { display: none; }
.eyebrow .num {
  font-family: var(--ff-mono);
  color: var(--m);
  margin-right: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.96;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.h-display {
  font-size: clamp(46px, 8.2vw, 132px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}
.h-xl {
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.h-lg {
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.h-md {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.05;
}
.h-sm {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.body-copy {
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.body-copy p + p { margin-top: 0.85em; }

.fade { color: var(--mute); }
.legal {
  font-size: 12px;
  line-height: 1.5;
  color: var(--legal);
  max-width: 70ch;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
em.grad-text, .grad-text { font-style: normal; }

.italic-display {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 900;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: #1a1714; }
.btn-secondary {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-secondary:hover { border-color: var(--ink-2); background: rgba(255,255,255,.06); }
.btn-grad {
  position: relative;
  color: #07070a;
  background: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
}
.btn-grad:hover { background-position: 100% 50%; }
.btn-ghost {
  padding: 12px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
}
.btn-ghost:hover { border-color: var(--y); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.site-header.is-stuck .brand-logo {
  filter: invert(1) drop-shadow(0 0 10px rgba(0,0,0,.12));
}

/* ---- SVG logo ---- */
@keyframes spectrumStroke {
  0%   { stroke: #ff2db4; }
  16%  { stroke: #ff6600; }
  33%  { stroke: #ffd400; }
  50%  { stroke: #00cc88; }
  66%  { stroke: #4488ff; }
  83%  { stroke: #a020ff; }
  100% { stroke: #ff2db4; }
}
@keyframes spectrumCycle {
  0%   { fill: #ff2db4; }
  16%  { fill: #ff6600; }
  33%  { fill: #ffd400; }
  50%  { fill: #00cc88; }
  66%  { fill: #4488ff; }
  83%  { fill: #a020ff; }
  100% { fill: #ff2db4; }
}
@keyframes spectrumText {
  0%   { fill: #ff2db4; }
  16%  { fill: #ff6600; }
  33%  { fill: #ffd400; }
  50%  { fill: #00cc88; }
  66%  { fill: #4488ff; }
  83%  { fill: #a020ff; }
  100% { fill: #ff2db4; }
}

/* ----- Header SVG ----- */
.brand-logo-svg {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.brand-logo-svg .surge-arrow {
  animation: spectrumCycle 4s linear infinite;
}
.site-header:not(.is-stuck) .brand-logo-svg .surge-text { fill: #ffffff; }
.site-header.is-stuck .brand-logo-svg .surge-text { fill: #274f9e; }

/* Hover dazzle — header */
.brand:hover .brand-logo-svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px currentColor);
}
.brand:hover .brand-logo-svg .surge-arrow {
  animation-duration: 0.25s;
}
.brand:hover .brand-logo-svg .surge-text {
  animation: spectrumText 0.25s linear infinite;
}

/* ----- Footer SVG ----- */
.footer-logo-svg {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  cursor: pointer;
}
.footer-logo-svg .surge-text { fill: var(--ink); }
.footer-logo-svg .surge-arrow {
  animation: spectrumCycle 4s linear infinite;
}

/* Hover dazzle — footer */
.footer-brand-col:hover .footer-logo-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(255,45,180,0.5));
}
.footer-brand-col:hover .footer-logo-svg .surge-arrow {
  animation-duration: 0.25s;
}
.footer-brand-col:hover .footer-logo-svg .surge-text {
  animation: spectrumText 0.25s linear infinite;
}

@media (max-width: 720px) {
  .brand-logo-svg { height: 36px; }
  .footer-logo-svg { height: 56px; }
}
.site-header:not(.is-stuck) .nav a { color: rgba(198,194,187,0.85); }
.site-header:not(.is-stuck) .nav a.active { color: var(--m); }
.site-header:not(.is-stuck) .mobile-toggle { border-color: rgba(198,194,187,0.4); color: #f4f1ea; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 18px;
}
.brand-mark {
  width: 28px; height: 28px;
  display: inline-block;
  background-image: url("assets/surge-logo.png");
  background-size: 240% 240%;
  background-position: 50% 45%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 18px rgba(255,45,180,.35));
}
.brand-name { letter-spacing: 0.12em; }
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(255,45,180,.25));
}
.footer-logo {
  height: 86px;
  width: auto;
  display: block;
  filter: invert(1) drop-shadow(0 0 16px rgba(0,0,0,.15));
}
@media (max-width: 720px) {
  .brand-logo { height: 36px; }
  .footer-logo { height: 64px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  font-weight: 500;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--m); }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }

.mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.mobile-toggle svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  /* Safe-area padding for iPhone notch/home bar */
  padding: max(96px, calc(80px + env(safe-area-inset-top))) var(--pad-x) calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  /* CSS transition = fallback when GSAP isn't available.
     cubic-bezier(0.16,1,0.3,1) is the expo-out equivalent —
     imperceptibly slow start, sweeps in, settles with no bounce. */
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  /* filter deliberately removed — causes iOS Safari to break fixed positioning */
  will-change: transform;
}
/* CSS open state — works with or without GSAP */
.mobile-nav.open {
  pointer-events: auto;
  transform: translateX(0%);
}
.mobile-nav a {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
.mobile-nav .btn-grad { font-size: 14px; padding: 12px 22px; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(17px, 1.7vw, 22px);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--m);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 24px;
  color: var(--ink-2);
  line-height: 1.7;
}
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 96px 0 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
/* ---- Radial colour-fill circle (expands from bottom-right on hover) ---- */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--footer-fill, transparent);
  clip-path: circle(0% at calc(100% + 4px) calc(100% + 4px));
  transition: clip-path 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
  will-change: clip-path;
}
.site-footer.footer-hovering::before {
  clip-path: circle(180% at calc(100% + 4px) calc(100% + 4px));
}

/* Lift all footer content above the fill */
.site-footer .wrap {
  position: relative;
  z-index: 1;
}

/* Colour transitions on all footer text elements */
.site-footer .footer-col h5,
.site-footer .footer-col a,
.site-footer .footer-col p,
.site-footer .footer-bottom,
.site-footer .footer-address,
.site-footer .footer-address a,
.site-footer .h-lg,
.site-footer p,
.site-footer .footer-logo-svg .surge-text,
.site-footer .footer-logo-svg .surge-arrow {
  transition: color 0.55s ease, fill 0.55s ease, border-color 0.55s ease;
}
/* Filled state — text inversion */
.site-footer.footer-hovering .footer-col h5         { color: var(--fi-muted); }
.site-footer.footer-hovering .footer-col a          { color: var(--fi-ink); }
.site-footer.footer-hovering .footer-col a:hover    { color: var(--fi-ink); opacity: 0.7; }
.site-footer.footer-hovering .footer-address,
.site-footer.footer-hovering .footer-address a      { color: var(--fi-muted); border-color: var(--fi-border); }
.site-footer.footer-hovering .footer-bottom         { color: var(--fi-muted); border-color: var(--fi-border); }
.site-footer.footer-hovering .h-lg                  { color: var(--fi-ink); }
.site-footer.footer-hovering p                      { color: var(--fi-ink); }
.site-footer.footer-hovering .footer-logo-svg .surge-text  { fill: var(--fi-ink); }
.site-footer.footer-hovering .footer-logo-svg .surge-arrow { fill: var(--fi-ink); animation: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.footer-brand-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cta-block { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cta-block .h-lg { margin-bottom: 0; }
.footer-col h5 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--m); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--mute);
}
.footer-bottom .left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-address {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
  font-size: 11px;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.footer-address a { color: var(--mute); text-decoration: none; transition: color .2s; }
.footer-address a:hover { color: var(--m); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animations (CSS fallback when no JS) ---------- */
.reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Common section ---------- */
.section {
  padding: clamp(80px, 10vw, 160px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .body-copy { padding-bottom: 8px; }
.section-head-right { display: flex; flex-direction: column; gap: 16px; }
.img-duo {
  border-radius: 15px;
  overflow: hidden;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.img-duo:hover {
  transform: scale(1.05);
}
.img-duo:hover .get4right-img {
  filter: grayscale(1);
}
.get4right-img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.5s ease;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section { padding: 80px 0; }
}

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .35s ease, transform .4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background .4s ease;
}
.card:hover {
  transform: scale(1.04) translateY(-4px);
  background: linear-gradient(160deg, #fff 0%, #f0ecff 100%);
  border-color: var(--m);
}
.card .num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  display: inline-block;
  margin-bottom: 24px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card h3 { margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; margin: 0; }
.card .card-tag {
  position: absolute;
  top: 24px; right: 24px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--y);
  box-shadow: 0 0 14px var(--y);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px)  { .card-grid, .card-grid.cols-4, .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- Tag / chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--y);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Proof strip ---------- */
.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.proof-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}
.proof-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
}
.proof-cell:last-child { border-right: 0; }
.platforms-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.proof-cell .k {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-k-fill {
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  display: block;
}
.proof-since {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 4px;
}
.proof-cell .l {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* Crest proof cell */
.proof-cell-crest {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}
.proof-cell-crest .l {
  color: var(--ink-2);
}
.crest-logo-svg {
  width: 72%;
  height: auto;
  display: block;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
/* Every path cycles the full spectrum */
.crest-logo-svg .crest-body {
  animation: spectrumCycle 4s linear infinite;
}
/* Hover: speed up cycle only, no shadow */
.proof-cell-crest:hover .crest-logo-svg {
  transform: scale(1.05);
}
.proof-cell-crest:hover .crest-body {
  animation-duration: 0.28s;
}
@media (max-width: 900px) {
  .proof-strip-inner { grid-template-columns: 1fr 1fr; }
  .proof-cell:nth-child(2) { border-right: 0; }
  .proof-cell:nth-child(1), .proof-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .proof-strip-inner { grid-template-columns: 1fr; }
  .proof-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-cell:last-child { border-bottom: 0; }
}

/* ---------- Client logos image ---------- */
.client-logos-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  margin-top: 48px;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}
.client-logos-img:hover {
  filter: grayscale(0%);
}

/* ---------- Logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}
.logo-wall .lg {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 22px;
  color: var(--ink-2);
  text-align: center;
  min-height: 110px;
  transition: color .3s, background .3s;
}
.logo-wall .lg:hover { color: var(--ink); background: var(--panel-2); }
.logo-wall .lg:nth-child(4n) { border-right: 0; }
.logo-wall .lg:nth-last-child(-n+4) { border-bottom: 0; }
@media (max-width: 800px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall .lg { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .logo-wall .lg:nth-child(2n) { border-right: 0 !important; }
}

/* ---------- Split CTA ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.split .panel {
  padding: 48px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.split .panel .badge {
  position: absolute;
  inset: auto auto 48px 48px;
}
.split .panel .panel-bg {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .45;
}
.split .panel-ec .panel-bg { background: radial-gradient(60% 80% at 80% 0%, rgba(255,212,0,.18), transparent 70%); }
.split .panel-lg .panel-bg { background: radial-gradient(60% 80% at 80% 0%, rgba(255,45,180,.22), transparent 70%); }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split .panel { padding: 32px; min-height: 280px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
.hero .stage {
  position: absolute; inset: 0;
  background: #111;
}
.hero .stage canvas, .hero .stage video, .hero .stage .placeholder-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Hero poster images — visible instantly, sit behind the video iframes */
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.hero-poster-mobile { display: none; }
@media (max-width: 800px) {
  .hero-poster-desktop { display: none; }
  .hero-poster-mobile  { display: block; }
}

/* Vimeo background iframes */
.vimeo-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 */
  border: 0;
  pointer-events: none;
}
.vimeo-mobile { display: none; }
@media (max-width: 800px) {
  .vimeo-desktop { display: none; }
  .vimeo-mobile { display: block; }
}
.hero .overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,10,.35) 0%, rgba(7,7,10,.15) 35%, rgba(7,7,10,.85) 100%),
    radial-gradient(60% 50% at 20% 30%, rgba(255,212,0,.08), transparent 70%),
    radial-gradient(50% 60% at 80% 70%, rgba(255,45,180,.08), transparent 70%);
}
.hero .content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero .content > .wrap { width: 100%; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 28px; max-width: 56ch; }
.hero .body-copy { margin-bottom: 36px; max-width: 60ch; }
.hero .scroll-cue {
  position: absolute;
  bottom: 24px; right: var(--pad-x);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .scroll-cue .line {
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--ink-2);
  transform-origin: 0 50%;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.4); }
}

/* line-by-line reveal clip */
.line-clip {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* compact hero variant for inner pages */
.hero-compact {
  height: auto;
  padding: 200px 0 120px;
  min-height: 720px;
}
.hero-compact .content {
  position: relative;
  padding: 0;
  align-items: stretch;
}
.hero-compact .stage { opacity: 0.9; }
.hero-compact .overlay {
  background:
    linear-gradient(180deg, rgba(7,7,10,.65) 0%, rgba(7,7,10,.45) 40%, rgba(7,7,10,.9) 100%);
}

/* ---------- Hero ad strip (for inner pages) ---------- */
.hero-ad-rail {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ad-tile {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.ad-tile .ad-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
  position: relative;
}
.ad-tile .ad-art {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 14vw;
  line-height: 0.8;
  color: rgba(255,255,255,.06);
  letter-spacing: -0.04em;
  overflow: hidden;
}
.ad-tile .corner {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--mute);
}
.ad-tile-1 { background: linear-gradient(160deg, #1a1006 0%, #07070a 100%); }
.ad-tile-1 .ad-art { color: rgba(255,212,0,.16); }
.ad-tile-2 { background: linear-gradient(160deg, #1a0414 0%, #07070a 100%); }
.ad-tile-2 .ad-art { color: rgba(255,45,180,.16); }
.ad-tile-3 { background: linear-gradient(160deg, #160a1f 0%, #07070a 100%); }
.ad-tile-3 .ad-art { color: rgba(160,32,255,.16); }
.ad-tile-4 { background: linear-gradient(160deg, #1a0a04 0%, #07070a 100%); }
.ad-tile-4 .ad-art { color: rgba(255,138,30,.18); }
.ad-tile-5 { background: linear-gradient(160deg, #06101a 0%, #07070a 100%); }
.ad-tile-5 .ad-art { color: rgba(120,180,255,.15); }
@media (max-width: 800px) {
  .hero-ad-rail { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Step list ---------- */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 120px 1.4fr 2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step .step-n {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--m);
}
.step h3 { font-size: clamp(24px, 2.2vw, 32px); }
.step p { color: var(--ink-2); margin: 0; max-width: 56ch; }
@media (max-width: 800px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Problem cards (animated) ---------- */
.problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.problem {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.problem .px {
  width: 26px; height: 26px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--m);
  color: var(--m);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-top: 1px;
}
.problem p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
@media (max-width: 800px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Case study cards ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.case {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case .case-art {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Case study poster + play button */
.case-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.case-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.case-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.case-play-btn svg {
  width: clamp(52px, 6vw, 80px);
  height: clamp(52px, 6vw, 80px);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.case-play-btn .case-play-circle {
  stroke: rgba(255,255,255,0.75);
  stroke-width: 2;
  transition: stroke 0.3s ease;
  animation: spectrumStroke 7s linear infinite;
}
.case-play-btn:hover svg {
  transform: scale(1.14);
  filter: drop-shadow(0 4px 32px rgba(255,45,180,0.7));
}
.case-art .stamp,
.case-art .corner {
  z-index: 3;
}

/* Case study video modal */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.case-modal.open {
  opacity: 1;
  pointer-events: all;
}
.case-modal-inner {
  position: relative;
  width: min(960px, 92vw);
}
.case-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.case-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.case-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}
.case-modal-close:hover { opacity: 1; transform: scale(1.15); }
.case .case-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.case .case-body h3 { font-size: clamp(22px, 2vw, 30px); }
.case .case-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--m);
  text-transform: uppercase;
}
.case .case-body p { color: var(--ink-2); margin: 0; }
.case .case-body .btn-ghost { margin-top: 8px; align-self: flex-start; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* case art variants */
.case-art-1 { background:
  radial-gradient(80% 80% at 30% 30%, rgba(255,212,0,.4), transparent 70%),
  radial-gradient(80% 80% at 80% 70%, rgba(255,45,180,.45), transparent 70%),
  #0d0a14; }
.case-art-2 { background:
  linear-gradient(180deg, #0a0a14 0%, #170c1c 100%); }
.case-art-3 { background:
  radial-gradient(60% 60% at 70% 40%, rgba(255,138,30,.3), transparent 70%),
  #0a0a0e; }
.case-art-4 { background:
  radial-gradient(80% 80% at 20% 80%, rgba(160,32,255,.28), transparent 70%),
  #0a0a0e; }

.case-art-1::after, .case-art-2::after, .case-art-3::after, .case-art-4::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
}
.case-art .stamp {
  position: absolute;
  inset: auto auto 20px 24px;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.case-art .corner {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--y);
  background: var(--panel-2);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23c6c2bb' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form button[type="submit"] {
  margin-top: 8px;
  justify-self: start;
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Big-CTA panel ---------- */
.bigcta {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(255,45,180,.16), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(255,212,0,.12), transparent 70%),
    var(--panel);
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 48px;
  align-items: center;
}
.bigcta h2 { margin-bottom: 20px; }
.bigcta { align-items: stretch; }
.bigcta .right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; height: 100%; }
.bigcta-img {
  width: 100%;
  flex: 1 1 0;
  min-height: 200px;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  display: block;
}
@media (max-width: 1100px) {
  .bigcta { grid-template-columns: 1fr 1fr; }
  .bigcta-img { display: none; }
}
@media (max-width: 900px) {
  .bigcta { grid-template-columns: 1fr; }
}

/* ---------- VSL ---------- */
.vsl-section {
  padding: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .vsl-section { overflow: visible; }
  .vsl-wrap { height: 100vh; }
}
/* Break the inner .wrap out of its max-width constraint */
.vsl-section .wrap {
  max-width: 100%;
  padding: 0;
  width: 100%;
}
.vsl-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80vh;
  overflow: visible;
}
.vsl-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: width, height, border-radius, opacity;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.2);
  /* GSAP controls all sizing — no CSS width/height needed */
  opacity: 0;
  flex-shrink: 0;
}
.vsl-gif {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.vsl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vsl-play svg {
  width: clamp(72px, 9vw, 120px);
  height: clamp(72px, 9vw, 120px);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.4));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.play-circle {
  stroke-width: 3;
  animation: spectrumStroke 7s linear infinite;
}
.vsl-thumb:hover .vsl-play svg {
  transform: scale(1.12);
  filter: drop-shadow(0 4px 40px rgba(255,45,180,0.6));
}

/* Modal */
.vsl-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.vsl-modal.open {
  opacity: 1;
  pointer-events: all;
}
.vsl-modal-inner {
  position: relative;
  width: min(900px, 92vw);
}
.vsl-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
}
.vsl-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vsl-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.vsl-close:hover { opacity: 1; transform: scale(1.15); }
.vsl-close svg { width: 28px; height: 28px; }

/* ---------- Misc utility ---------- */
.divider { height: 1px; background: var(--line); margin: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.grid-2.wider { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; gap: 28px; } }

/* small marquee */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  animation: ticker 38s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: 22px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.ticker-item .dot { width: 6px; height: 6px; background: var(--y); border-radius: 999px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Decorative gradient glow ---------- */
.glow {
  position: absolute;
  inset: auto;
  filter: blur(90px);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}
.glow.y { background: rgba(255,212,0,.25); width: 320px; height: 320px; }
.glow.m { background: rgba(255,45,180,.28); width: 360px; height: 360px; }

/* ---------- "Boring vs Surge" comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}
.compare-col { padding: 36px 32px; }
.compare-col + .compare-col { border-left: 1px solid var(--line); }
.compare-col h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
  font-weight: 500;
}
.compare-col.surge h4 { color: var(--m); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-col li {
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.compare-col li::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--mute);
  margin-top: 12px;
  flex-shrink: 0;
}
.compare-col.surge li::before {
  background: var(--grad);
  height: 2px;
}
@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sticky page side ---------- */
.page-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  gap: 32px;
  padding: 96px 0 0;
}
.page-meta span b { color: var(--ink); font-weight: 500; }

/* List — problem items */
.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  /* subtle dark base so rows have a container feel */
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.arrow-list li {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px 1fr 48px;
  gap: 16px;
  align-items: center;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.45s ease;
  transform-origin: center;
}
.arrow-list li:first-child { border-top: none; }

.arrow-list li .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--m);
  transition: color 0.35s ease;
}

/* Circle icon */
.arrow-list li .li-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.arrow-list li .li-x {
  width: 18px;
  height: 18px;
  opacity: 0.45;
  color: #fff;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.arrow-list li .li-check {
  width: 20px;
  height: 20px;
  position: absolute;
  opacity: 0;
  transform: scale(0.4) rotate(-20deg);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.6, 0.64, 1);
  flex-shrink: 0;
}

/* ── Ticked state ── */
.problem-item.ticked {
  background: #22c55e;
}
.problem-item.ticked .num {
  color: rgba(255,255,255,0.65);
}
.problem-item.ticked > span:nth-child(2) {
  color: #fff;
  font-weight: 700;
}
/* Circle turns white, tick appears */
.problem-item.ticked .li-icon {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.problem-item.ticked .li-x {
  opacity: 0;
  transform: scale(0.3) rotate(45deg);
}
.problem-item.ticked .li-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
/* Keep border between ticked rows visible */
.problem-item.ticked + .problem-item {
  border-top-color: rgba(255,255,255,0.25);
}

/* small "audit" badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,45,180,.08);
  border: 1px solid rgba(255,45,180,.25);
  color: var(--m);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.badge-pill .live {
  width: 8px; height: 8px; border-radius: 999px; background: var(--y);
  box-shadow: 0 0 12px var(--y);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Pretty utility */
.text-y { color: var(--m); }
.text-m { color: var(--m); }
.text-ink2 { color: var(--ink-2); }
.text-mute { color: var(--mute); }
.mono { font-family: var(--ff-mono); }
.upper { text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; }
.tight { letter-spacing: -0.03em; }

/* keep section panels above glow */
.section > .wrap, .section > * { position: relative; z-index: 2; }

/* ---------- Statement / word reveal ---------- */
.statement-section {
  padding: clamp(48px, 6vw, 96px) 0 0;
  background: linear-gradient(to bottom, #ffffff 0%, var(--bg) 100%);
}
/* Break statement text out of the max-width wrap */
.statement-section .wrap {
  max-width: 100%;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}
.statement-text {
  font-family: var(--ff-display);
  font-size: clamp(37px, 6.6vw, 109px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: none;
  margin: 0 0 0.4em;
  text-align: center;
}
.statement-punch {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4.8vw, 80px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-align: center;
}
.wr-word {
  display: inline-block;
}
/* Pink highlight phrase — background lives on each word span so it fades in with the text */
.statement-text mark.hl-pink {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
}
.statement-text mark.hl-pink .wr-word {
  background: var(--m);
  color: #fff;
  padding: 0.04em 0.28em 0.1em;
  border-radius: 5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.statement-arrow {
  display: flex;
  justify-content: center;
  margin: clamp(16px, 2vw, 28px) 0 0;
  color: var(--ink);
  animation: arrowBob 1.8s ease-in-out infinite;
}
.statement-arrow svg {
  width: 100px;
  height: 140px;
}
@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ---------- spacer that releases the pin ---------- */
.pin-spacer-extra { height: 100vh; pointer-events: none; }

/* ---------- Work Gallery (horizontal scroll) ---------- */
#portfolio { overflow: hidden; background: var(--bg); }
.horiz-gallery-wrapper { width: 100%; }
.horiz-gallery-strip {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  padding: 0 clamp(20px, 4vw, 56px);
}
.project-wrap {
  width: 33vw;
  padding: clamp(12px, 1.5vw, 24px);
  box-sizing: content-box;
  flex-shrink: 0;
}
.project-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: block;
  transition: transform .4s ease, border-color .3s ease;
}
.project-wrap:hover img { transform: scale(1.02); border-color: var(--line-2); }
.project-label {
  margin: 14px 0 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (max-width: 800px) {
  .project-wrap { width: 72vw; }
}

/* ---------- Hero always dark (video section) ---------- */
.hero h1,
.hero .lead,
.hero .body-copy,
.hero .body-copy p,
.hero .body-copy strong { color: #f4f1ea; }
.hero .lead,
.hero .body-copy,
.hero .body-copy p { color: #c6c2bb; }
.hero .scroll-cue { color: rgba(198,194,187,0.7); }
.hero .scroll-cue .line { background: rgba(198,194,187,0.7); }
.hero .btn-secondary {
  border-color: rgba(198,194,187,0.35);
  color: #f4f1ea;
  background: rgba(255,255,255,.06);
}
.hero .btn-secondary:hover {
  border-color: rgba(198,194,187,0.7);
  background: rgba(255,255,255,.10);
}

/* ---------- Hero headline block highlight ---------- */
.hl-line {
  display: block;
  position: relative;
  width: fit-content;
}
.hl-block {
  position: absolute;
  inset: -0.06em -0.12em;
  background: var(--m);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 0;
  border-radius: 2px;
}
.hl-text {
  position: relative;
  z-index: 1;
  color: #fff;
}

/* Hero-compact inner pages also stay dark */
.hero-compact h1, .hero-compact h2,
.hero-compact .h-display, .hero-compact .h-xl, .hero-compact .h-lg,
.hero-compact .lead, .hero-compact .body-copy,
.hero-compact .eyebrow { color: #f4f1ea; }
.hero-compact .lead, .hero-compact .body-copy { color: #c6c2bb; }
.hero-compact .eyebrow { color: rgba(198,194,187,0.75); }

/* ---------- Brand trust marquee strips ---------- */
.brand-strip-section {
  padding: clamp(48px, 6vw, 80px) 0 0;
  overflow: hidden;
  background: #ffffff;
}
.brand-strip-label {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  text-align: center;
  margin: 0 0 clamp(24px, 3.5vw, 48px);
}
.brand-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each row */
.brand-marquee {
  overflow: hidden;
  width: 100%;
  /* Fade the left/right edges so it bleeds cleanly */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

/* The sliding track — both images side-by-side for a seamless loop */
.brand-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
}
.brand-marquee__img {
  height: clamp(70px, 8.75vw, 110px);
  width: auto;
  display: block;
  flex-shrink: 0;
  /* prevent gap between duplicate images */
  margin: 0;
  padding: 0;
  user-select: none;
  pointer-events: none;
}

/* Direction variants */
.brand-marquee--left .brand-marquee__track {
  animation: bmLeft 28s linear infinite;
}
.brand-marquee--right .brand-marquee__track {
  animation: bmRight 28s linear infinite;
}

@keyframes bmLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes bmRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Respect reduce-motion preference */
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none !important; }
}
