/* ============================================================
   Phoenix Torch — home.css  (v3 editorial redesign, Figma PHX-Torch / v3)
   Palette: paper #F5F3ED · ink #181918 · blue #3024ED · hairline #A4A59F
   Type: Geist (all UI/display) · Rubik (wordmark only)
   ============================================================ */

:root {
  --paper: #F5F3ED;
  --ink:   #181918;
  --blue:  #3024ED;
  --orange:#FF691C;
  --hair:  #A4A59F;
  --icon:  #777C73;
  --paper-55: rgba(245,243,237,0.55);
  --paper-35: rgba(245,243,237,0.35);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wordmark: "Rubik", var(--font);

  --max: 1328px;
  --gutter: 56px;
  --nav-h: 92px;
  --title-col: 464px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t: 200ms ease;
}

/* ------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
hr { border: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.section--blue :focus-visible { outline-color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ LAYOUT */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hairline { height: 1px; background: var(--hair); }

.section { position: relative; padding: 85px 0; }
.section--blue { background: var(--blue); color: var(--paper); }

.split { display: grid; grid-template-columns: var(--title-col) minmax(0, 1fr); column-gap: 0; align-items: start; }
.deliver .split { column-gap: 48px; }

/* Section label: "01 | WHO WE WORK WITH" */
.section__label {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 26px;
  font-weight: 500;
}
.section__label-num { font-size: 46px; line-height: 60px; min-width: 64px; letter-spacing: -0.02em; }
.section__label-div { font-size: 30px; line-height: 39px; font-weight: 400; color: var(--hair); }
.section--blue .section__label-div { color: var(--paper); }
.section__label-text { font-size: 14px; line-height: 18px; text-transform: uppercase; letter-spacing: 0.02em; }

.section__headline {
  font-size: 60px; line-height: 78px; font-weight: 500;
  letter-spacing: -2.1px;
  max-width: 440px;
  text-wrap: balance;
}
.who .section__headline { max-width: 1100px; margin-bottom: 54px; }
.section__headline--faq { line-height: 75px; letter-spacing: -2.03px; max-width: 426px; }
.section__headline--contact { font-size: 64px; line-height: 83px; letter-spacing: -2.24px; max-width: 600px; }

/* ------------------------------------------------------------ BUTTONS (Editorial) */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 16px;
  height: 52px; min-width: 160px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 13px; line-height: 17px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn__label { flex: 1 0 auto; text-align: center; }
.btn__dots { display: inline-flex; flex-direction: column; gap: 4px; }
.btn__dots::before, .btn__dots::after { content: ""; width: 3px; height: 3px; background: currentColor; }
.btn--dark  { background: var(--ink);   color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--dark:hover  { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--light:hover { border-color: var(--orange); color: var(--orange); }

/* ------------------------------------------------------------ NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.nav__logomark { width: 41px; height: 41px; }
.nav__wordmark { font-family: var(--font-wordmark); font-size: 19.4px; letter-spacing: 0.01em; font-weight: 400; line-height: 1; }
.nav__wordmark strong { font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 33px; font-size: 13px; line-height: 17px; }
.nav__links a { position: relative; padding: 4px 0; transition: color var(--t); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--blue); }
.nav__cta { min-width: 168px; }
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 7px; align-items: flex-end; }
.nav__toggle span { display: block; width: 28px; height: 1.5px; background: var(--ink); transition: transform 300ms var(--ease-out), opacity var(--t); }
.nav.is-menu-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav.is-menu-open .nav__toggle span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }
.nav__mobile { display: none; }


/* Case Studies dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0; font-size: 13px; line-height: 17px; color: var(--ink);
  position: relative; transition: color var(--t);
}
.nav__dropdown-trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.nav__dropdown-trigger:hover::after, .nav__dropdown.is-open .nav__dropdown-trigger::after { transform: scaleX(1); }
.nav__dropdown.is-open .nav__dropdown-trigger { color: var(--blue); }
.nav__dropdown-arrow { width: 10px; height: 6px; transition: transform 300ms var(--ease-out); }
.nav__dropdown.is-open .nav__dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 260px;
  background: var(--paper); border: 1px solid var(--hair);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms ease, transform 300ms var(--ease-out), visibility 0s 200ms;
  z-index: 60;
}
.nav__dropdown.is-open .nav__dropdown-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.nav__dropdown-menu a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; font-size: 14px; line-height: 20px; color: var(--ink);
  transition: background var(--t), color var(--t);
}
.nav__dropdown-menu a + a { border-top: 1px solid var(--hair); }
.nav__dropdown-menu a:hover { color: var(--blue); }
.nav__dropdown-menu a::after { display: none; }
.nav__dropdown-num { font-size: 12px; color: var(--icon); min-width: 18px; }
.nav__mobile-group { display: none; }

/* Logomark hover reveal: rays draw in clockwise on hover (Figma: Logomark / Hover Reveal, Step=00…10) */
.logomark-reveal path { transform-box: fill-box; transform-origin: 50% 100%; transition: opacity 180ms ease, transform 420ms var(--ease-out); }
.nav__logo:hover .logomark-reveal path { animation: ray-reveal 520ms var(--ease-out) both; }
.logomark-reveal path:nth-child(1)  { animation-delay: 0ms !important; }
.logomark-reveal path:nth-child(2)  { animation-delay: 25ms !important; }
.logomark-reveal path:nth-child(3)  { animation-delay: 50ms !important; }
.logomark-reveal path:nth-child(4)  { animation-delay: 75ms !important; }
.logomark-reveal path:nth-child(5)  { animation-delay: 100ms !important; }
.logomark-reveal path:nth-child(6)  { animation-delay: 125ms !important; }
.logomark-reveal path:nth-child(7)  { animation-delay: 150ms !important; }
.logomark-reveal path:nth-child(8)  { animation-delay: 175ms !important; }
.logomark-reveal path:nth-child(9)  { animation-delay: 200ms !important; }
.logomark-reveal path:nth-child(10) { animation-delay: 225ms !important; }
.logomark-reveal path:nth-child(11) { animation-delay: 250ms !important; }
.logomark-reveal path:nth-child(12) { animation-delay: 275ms !important; }
.logomark-reveal path:nth-child(13) { animation-delay: 300ms !important; }
.logomark-reveal path:nth-child(14) { animation-delay: 325ms !important; }
.logomark-reveal path:nth-child(15) { animation-delay: 350ms !important; }
.logomark-reveal path:nth-child(16) { animation-delay: 375ms !important; }
.logomark-reveal path:nth-child(17) { animation-delay: 400ms !important; }
.logomark-reveal path:nth-child(18) { animation-delay: 425ms !important; }
.logomark-reveal path:nth-child(19) { animation-delay: 450ms !important; }
.logomark-reveal path:nth-child(20) { animation-delay: 475ms !important; }
@keyframes ray-reveal {
  0%   { opacity: 0; transform: scale(0.2); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

/* ------------------------------------------------------------ HERO */
.hero {
  position: relative;
  min-height: 774px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero__art {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero__art picture { position: absolute; inset: 0; }
.hero__art video, .hero__art img {
  /* Sized by the hero's height so the whole frame sits below the sticky nav */
  position: absolute;
  bottom: 0; right: -3%;
  height: 100%; width: auto; max-width: none;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}
.hero__video { object-fit: cover; }
.hero__fade {
  position: absolute; left: 0; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(115deg, var(--paper) 46%, rgba(245,243,237,0) 82%);
}
.hero__content { position: relative; padding-top: 108px; padding-bottom: 108px; }
.hero__headline { display: flex; flex-direction: column; align-items: flex-start; gap: 47px; font-weight: 500; }
.hero__strip {
  display: inline-block;
  background: var(--blue); color: var(--paper);
  padding: 0 12px;
  font-size: 90px; line-height: 100px; letter-spacing: -3.15px;
}
.hero__payoff {
  font-size: 82px; line-height: 86px; letter-spacing: -2.87px;
  max-width: 702px;
}
.hero__sub { margin-top: 47px; font-size: 24px; line-height: 31px; max-width: 585px; }
.hero__ctas { margin-top: 47px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero__ctas .btn--dark { min-width: 174px; }
.hero__ctas .btn--light { min-width: 230px; }

/* Entrance */
.hero__strip, .hero__payoff, .hero__sub, .hero__ctas { animation: rise 900ms var(--ease-out) both; }
.hero__payoff { animation-delay: 80ms; }
.hero__sub { animation-delay: 160ms; }
.hero__ctas { animation-delay: 240ms; }
.hero__art { animation: fade 1200ms ease both 200ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ TRUST STRIP */
.trust { padding: 92px 0; }
.trust__label { font-size: 18px; line-height: 23px; font-weight: 500; margin-bottom: 21px; }
.trust__logos {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 37px;
  color: var(--ink);
}
.trust__logo { height: 100%; width: auto; flex: 0 0 auto; transition: color var(--t), transform 300ms var(--ease-out); }
.trust__logo:hover { color: var(--blue); transform: translateY(-2px); }
.trust__nvidia { margin-top: 44px; font-size: 17px; line-height: 22px; }
.trust__nvidia a { text-decoration: underline; text-underline-offset: 3px; }
.trust__nvidia a:hover { color: var(--blue); }

/* ------------------------------------------------------------ PRINCIPLE STRIPS (motion previews) */
.principle {
  --dur: 6s;
  position: relative;
  height: 448px;
  background: var(--paper);
  overflow: hidden;
}
.principle__inner {
  position: relative; height: 100%;
  padding-top: 50px; padding-bottom: 50px;
  display: flex; flex-direction: column; gap: 12px;
}
.principle__row {
  position: relative; height: 168px; overflow: hidden;
  margin: 0 40px;
}
.principle__text {
  position: absolute; top: 0; left: 0; width: 100%;
  font-size: 136px; line-height: 154px; font-weight: 500; letter-spacing: -5.4px;
  color: var(--ink);
  white-space: nowrap;
}
.principle__row--right .principle__text { text-align: right; }
.principle__text--b { transform: translateX(-110%); color: var(--paper); }
.principle__row--right .principle__text--b { transform: translateX(110%); }
.principle__line { position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; }
.principle__line--top { top: 0; background: var(--hair); }
.principle__line--bottom { bottom: 0; background: var(--paper); transform: translateX(-100%); opacity: 0; }

/* Timeline (from Figma get_motion_context): 0–35% idle · 35–45.8% swap in · 45.8–80% hold · 80–90.8% swap back */
.principle.is-playing { animation: principle-bg var(--dur) linear infinite; }
.principle.is-playing .principle__text--a { animation: slide-a var(--dur) linear infinite; }
.principle.is-playing .principle__text--b { animation: slide-b var(--dur) linear infinite; }
.principle.is-playing .principle__row--right .principle__text--a { animation-name: slide-a-r; }
.principle.is-playing .principle__row--right .principle__text--b { animation-name: slide-b-r; }
.principle.is-playing .principle__line--top { animation: line-top var(--dur) linear infinite; }
.principle.is-playing .principle__line--bottom { animation: line-bottom var(--dur) linear infinite; }

@keyframes principle-bg {
  0%, 35%        { background-color: var(--paper); animation-timing-function: var(--ease-io); }
  45.833%, 80%   { background-color: var(--blue);  animation-timing-function: var(--ease-io); }
  90.833%, 100%  { background-color: var(--paper); }
}
@keyframes slide-a {
  0%, 35%       { transform: translateX(0);    color: var(--ink);   animation-timing-function: var(--ease-io); }
  45.833%, 80%  { transform: translateX(110%); color: var(--paper); animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(0);    color: var(--ink); }
}
@keyframes slide-b {
  0%, 35%       { transform: translateX(-110%); color: var(--ink);   animation-timing-function: var(--ease-io); }
  45.833%, 80%  { transform: translateX(0);     color: var(--paper); animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(-110%); color: var(--ink); }
}
@keyframes slide-a-r {
  0%, 35%       { transform: translateX(0);     color: var(--ink);   animation-timing-function: var(--ease-io); }
  45.833%, 80%  { transform: translateX(-110%); color: var(--paper); animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(0);     color: var(--ink); }
}
@keyframes slide-b-r {
  0%, 35%       { transform: translateX(110%); color: var(--ink);   animation-timing-function: var(--ease-io); }
  45.833%, 80%  { transform: translateX(0);    color: var(--paper); animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(110%); color: var(--ink); }
}
@keyframes line-top {
  0%, 35%       { transform: translateX(0);     opacity: 1; animation-timing-function: var(--ease-io); }
  45.833%       { transform: translateX(-100%); opacity: 0; }
  80%           { transform: translateX(100%);  opacity: 0; animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(0);     opacity: 1; }
}
@keyframes line-bottom {
  0%, 35%       { transform: translateX(-100%); opacity: 0; animation-timing-function: var(--ease-io); }
  45.833%, 80%  { transform: translateX(0);     opacity: 1; animation-timing-function: var(--ease-io); }
  90.833%, 100% { transform: translateX(100%);  opacity: 0; }
}

/* ------------------------------------------------------------ 01 WHO WE WORK WITH */
.who { padding-top: 145px; padding-bottom: 0; }
.who::after {
  /* paper block behind the lower part of the cards (cards overhang the blue) */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 356px;
  background: var(--paper); z-index: 0;
}
.who .container { position: relative; z-index: 1; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience__card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hair); border-top: 0;
  min-height: 480px;
  padding: 96px 28px 80px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.audience__card:hover { transform: translateY(-4px); }
.audience__title { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; max-width: 320px; }
.audience__body { font-size: 20px; line-height: 27px; flex: 1 0 auto; }
.audience__link { font-size: 18px; line-height: 23px; font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.audience__link span { display: inline-block; transition: transform 300ms var(--ease-out); }
.audience__link:hover span { transform: translateY(3px); }

/* ------------------------------------------------------------ 03 WHAT WE DELIVER */
.deliver { padding: 115px 0 145px; }
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.service { padding: 24px 0; display: flex; flex-direction: column; gap: 20px; position: relative; }
.service:nth-child(n+3) { border-top: 1px solid var(--hair); }
.service:nth-child(n+3)::before {
  /* hairline continues across the column gap */
  content: ""; position: absolute; top: -1px; left: -36px; width: 36px; height: 1px; background: var(--hair);
}
.service:nth-child(3)::before { display: none; }
.service__icon { width: 80px; height: 80px; overflow: visible; }
.service__icon .dodge { transition: transform 600ms var(--ease-out); }
.service:hover .service__icon .dodge { transform: translate(var(--dx), var(--dy)); }
.service__title { font-size: 24px; line-height: 31px; font-weight: 500; margin-top: 0; }
.service__desc { font-size: 20px; line-height: 25px; margin-top: -10px; }

/* ------------------------------------------------------------ 03 HOW IT WORKS */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 30px; padding: 24px 0; border-top: 1px solid var(--paper-35); }
.step:first-child { border-top: 0; }
.step__num { font-size: 28px; line-height: 36px; font-weight: 500; width: 72px; flex: 0 0 72px; }
.step__copy { display: flex; flex-direction: column; gap: 8px; max-width: 714px; }
.step__title { font-size: 26px; line-height: 34px; font-weight: 500; }
.step__desc { font-size: 20px; line-height: 26px; }

/* ------------------------------------------------------------ 04 RESULTS */
.results { padding: 85px 0 158px; }
.results__body { padding-top: 104px; display: flex; flex-direction: column; gap: 63px; }

/* Impact / 30 days highlight sweep (hover only, 550ms) */
.impact {
  position: relative; display: flex; align-items: center; height: 32px;
  font-size: 26px; line-height: 30px; font-weight: 500;
  padding-left: 19px;
}
.impact__bar {
  position: absolute; left: 0; top: 2px; height: 28px; width: 14px;
  background: var(--blue);
  transition: transform 550ms var(--ease-io), width 550ms var(--ease-io);
  will-change: transform, width;
}
/* Typewriter entrance: the bar is the cursor; characters switch on one by one */
.impact.is-typing .impact__bar { transition: transform 60ms linear, width 60ms linear; }
.impact.is-typing .impact__ch { visibility: hidden; }
.impact.is-typing .impact__ch.is-on { visibility: visible; }
.impact__hl { position: relative; display: inline-block; padding: 1px 5px; margin-left: 1px; }
.impact__hl-text { position: relative; color: var(--blue); transition: color 550ms var(--ease-io); }
.impact.is-hover .impact__hl-text { color: var(--paper); }

/* Case studies / Click to expand */
.cases { display: flex; gap: 12px; height: 456px; }
.case {
  position: relative;
  flex: 0 0 96px;
  background: var(--paper);
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: flex-basis 650ms var(--ease-io);
}
.case.is-open { flex-basis: 648px; }
.case::before {
  /* transition edge glow */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue);
  opacity: 0; transition: opacity 300ms ease;
}
.case.is-transitioning::before { opacity: 1; }
.case__rail {
  position: absolute; inset: 0; width: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 32px 0 28px;
  color: var(--ink);
  transition: opacity 250ms ease;
}
.case__rail-num { font-size: 16px; line-height: 1; }
.case__rail-arrow { width: 14px; height: 20px; transition: transform 300ms var(--ease-out); }
.case__rail:hover .case__rail-arrow { transform: translateY(4px); }
.case__rail-name {
  position: absolute; top: 124px; left: 50%; height: 300px; width: 26px;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(-50%);
  font-size: 20px; line-height: 26px; font-weight: 500; white-space: nowrap;
  writing-mode: vertical-rl; rotate: 180deg;
}
.case.is-open .case__rail { opacity: 0; pointer-events: none; }
.case__face {
  position: absolute; inset: 0;
  width: 648px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateX(24px);
  transition: opacity 350ms ease, transform 500ms var(--ease-out);
  pointer-events: none;
}
.case.is-open .case__face { opacity: 1; transform: none; pointer-events: auto; transition-delay: 180ms; }
.case__client { font-size: 14px; line-height: 20px; text-transform: uppercase; }
.case__outcome { min-height: 112px; display: flex; flex-direction: column; gap: 6px; }
.case__stat { font-weight: 500; letter-spacing: -0.02em; }
.case__stat--word { font-size: 42px; line-height: 68px; font-weight: 600; letter-spacing: -0.88px; margin-bottom: -7px; }
.case__stat--big  { font-size: 64px; line-height: 68px; }
.case__stat--phrase { font-size: 42px; line-height: 46px; }
.case__stat-label { font-size: 13px; line-height: 20px; text-transform: uppercase; }
.case__stat-label--bold { font-size: 20px; font-weight: 800; }
.case__lede { font-size: 26px; line-height: 30px; font-weight: 500; letter-spacing: -0.55px; }
.case__lede--light { font-size: 24px; font-weight: 400; letter-spacing: 0; }
.case__detail { font-size: 18px; line-height: 26px; opacity: 0.82; }
.case__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 40px; font-size: 14px; }
.case__dir { width: 40px; height: 40px; color: var(--ink); }
.case__read { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--blue); }
.case__read span { display: inline-block; transition: transform 300ms var(--ease-out); }
.case__read:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------ 05 FAQ */
.faq { padding: 30px 0 85px; overflow: visible; }
.faq__line {
  position: absolute; top: -39px; left: var(--gutter); right: var(--gutter);
  width: auto; height: 133px;
  pointer-events: none;
}
.faq__line-path { stroke-dasharray: 0 1; stroke-dashoffset: 0; visibility: hidden; }
.faq.is-drawn .faq__line-path { animation: faq-line 1850ms linear both; }
@keyframes faq-line {
  0%    { stroke-dasharray: 0 1;      stroke-dashoffset: 0;       visibility: visible; animation-timing-function: var(--ease-io); }
  26%   { stroke-dasharray: 0.3067 1; stroke-dashoffset: 0;       animation-timing-function: cubic-bezier(0.427, 0, 0.703, 0.538); }
  67.5% { stroke-dasharray: 0.3941 1; stroke-dashoffset: -0.6059; animation-timing-function: cubic-bezier(0.287, 0.533, 0.589, 1); }
  100%  { stroke-dasharray: 0 1;      stroke-dashoffset: -1;      visibility: hidden; }
}
.faq__arrow {
  position: absolute; top: 61px; right: calc(var(--gutter) + 9px); width: 44px; height: 48px;
  opacity: 0; transition: transform 300ms var(--ease-out);
}
.faq.is-drawn .faq__arrow { animation: faq-arrow 400ms ease both 1180ms; }
@keyframes faq-arrow { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq.is-drawn .faq__arrow:hover { transform: translateY(6px); }

.questions { padding-top: 88px; }
.q { border-bottom: 1px solid var(--hair); }
.q__row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 1px 22px 0;
  cursor: pointer; list-style: none;
}
.q__row::-webkit-details-marker { display: none; }
.q__text { font-size: 26px; line-height: 26px; font-weight: 500; max-width: 712px; }
.q__plus { font-size: 32px; line-height: 33px; width: 40px; text-align: center; font-weight: 400; transition: transform 350ms var(--ease-out); }
.q[open] .q__plus { transform: rotate(45deg); }
.q__answer {
  font-size: 18px; line-height: 27px; max-width: 712px;
  padding: 0 0 26px;
  animation: rise 350ms var(--ease-out) both;
}

/* ------------------------------------------------------------ 06 CONTACT */
.contact { padding: 96px 0 85px; }
.contact__layout { display: grid; grid-template-columns: 504px minmax(0, 1fr); column-gap: 60px; align-items: start; }
.contact__copy .section__headline { margin-bottom: 26px; }
.contact__sub { font-size: 23px; line-height: 30px; }
.contact__form-wrap { min-height: 420px; }
.contact__noscript { font-size: 16px; }
.contact__noscript a { text-decoration: underline; }
.contact__giant {
  margin-top: 85px;
  font-size: 130px; line-height: 1; font-weight: 500; letter-spacing: -0.03em;
  color: var(--paper);
  white-space: nowrap;
}

/* ------------------------------------------------------------ FOOTER */
.footer { background: var(--paper); color: var(--ink); }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 0 14px;
  font-size: 12px; line-height: 16px;
}
.footer__links { display: flex; gap: 64px; white-space: nowrap; }
.footer__links a:hover { color: var(--blue); }

/* ------------------------------------------------------------ SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  :root { --gutter: 40px; --title-col: 380px; }
  .section__headline { font-size: 52px; line-height: 64px; letter-spacing: -1.8px; }
  .section__headline--contact { font-size: 54px; line-height: 66px; }
  .hero__strip { font-size: 76px; line-height: 86px; }
  .hero__payoff { font-size: 68px; line-height: 72px; }
  .principle__text { font-size: 110px; line-height: 130px; letter-spacing: -4px; }
  .principle__row { height: 140px; }
  .principle { height: 392px; }
  .nav__links { gap: 22px; }
  .trust__logos { height: 30px; gap: 16px; }
  .cases { height: 480px; }
  .case.is-open { flex-basis: calc(100% - 216px); }
  .case__face { width: 100%; }
  .contact__layout { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .contact__giant { font-size: clamp(64px, 9vw, 130px); }
  .audience__card { padding: 120px 24px 72px; min-height: 500px; }
  .audience__title { font-size: 30px; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile {
    display: none; flex-direction: column; gap: 4px;
    padding: 8px var(--gutter) 28px;
    border-top: 1px solid var(--hair);
    background: var(--paper);
  }
  .nav__mobile a { font-size: 18px; line-height: 1.3; padding: 12px 0; border-bottom: 1px solid rgba(164,165,159,0.35); }
  .nav__mobile a.btn { margin-top: 20px; border-bottom: 1px solid var(--ink); }
  .nav__mobile-group { display: block; margin: 0; padding: 14px 0 6px; font-size: 13px; line-height: 17px; text-transform: uppercase; color: var(--icon); }
  .nav__mobile a.nav__mobile-sub { padding-left: 20px; font-size: 16px; }
  .nav__mobile[hidden] { display: none; }
  .nav.is-menu-open .nav__mobile { display: flex; }

  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .deliver .split { column-gap: 0; }
  .section__headline { max-width: 640px; }
  .results__body { padding-top: 0; gap: 40px; }
  .questions { padding-top: 0; }
  .faq__line { display: none; }
  .faq__arrow { display: none; }
  .audience { grid-template-columns: 1fr; gap: 20px; }
  .who::after { height: 40%; }
  .audience__card { min-height: 0; padding: 48px 24px 32px; gap: 20px; }
  .audience__title { font-size: 28px; line-height: 1.05; max-width: none; }
  .audience__body { font-size: 18px; line-height: 25px; }
  .contact__layout { grid-template-columns: 1fr; row-gap: 40px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  .nav__logomark { width: 36px; height: 36px; }
  .nav__wordmark { font-size: 17px; }

  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero__content { order: 1; padding-top: 36px; padding-bottom: 0; }
  .hero__art { order: 2; width: 100%; animation: none; opacity: 1; }
  .hero__headline { gap: 14px; }
  .hero__strip { font-size: 44px; line-height: 56px; letter-spacing: -1.5px; padding: 0 8px; }
  .hero__payoff { font-size: 42px; line-height: 44px; letter-spacing: -1.4px; }
  .hero__sub { margin-top: 20px; font-size: 20px; line-height: 26px; }
  .hero__ctas { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 10px; position: relative; z-index: 1; }
  .hero__ctas .btn { width: 100%; max-width: 230px; min-width: 0; }
  .hero__ctas .btn--dark { max-width: 174px; }
  /* Phone: the whole phoenix sits under the copy, centred, slightly enlarged so the
     empty margins of the 16:9 frame are cropped but the wings and tail stay visible. */
  .hero__art { position: relative; aspect-ratio: 16 / 11; margin-top: 8px; }
  .hero__art video, .hero__art img { top: 50%; bottom: auto; left: 50%; right: auto; transform: translate(-54%, -50%); width: 122%; height: auto; min-width: 0; -webkit-mask-image: none; mask-image: none; }
  .hero__fade { display: none; }

  .trust { padding: 44px 0; }
  .trust__label { font-size: 20px; line-height: 26px; }
  .trust__logos { height: 44px; justify-content: flex-start; gap: 40px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .trust__logos::-webkit-scrollbar { display: none; }
  .trust__logo { height: 36px; }
  .trust__nvidia { margin-top: 24px; font-size: 14px; line-height: 19px; }

  .principle { height: 240px; }
  .principle__inner { padding-top: 30px; padding-bottom: 30px; gap: 8px; }
  .principle__row { height: 72px; margin: 0; }
  .principle__text { font-size: 50px; line-height: 60px; letter-spacing: -2px; }
  .principle__line { left: 0; right: 0; }

  .section { padding: 60px 0; }
  .section__label { gap: 14px; margin-bottom: 20px; }
  .section__label-num { font-size: 32px; line-height: 40px; min-width: 0; }
  .section__label-div { font-size: 22px; line-height: 30px; }
  .section__label-text { font-size: 13px; }
  .section__headline { font-size: 38px; line-height: 44px; letter-spacing: -1.3px; }
  .section__headline--faq, .section__headline--contact { font-size: 38px; line-height: 44px; letter-spacing: -1.3px; }
  .who { padding-top: 60px; }
  .who .section__headline { margin-bottom: 36px; }
  .who::after { height: 72px; }
  .audience__card { border-top: 1px solid var(--hair); }

  .deliver { padding: 60px 0 40px; }
  .services { grid-template-columns: 1fr; }
  .service { border-top: 1px solid var(--hair); }
  .service::before { display: none !important; }
  .service__icon { width: 64px; height: 64px; }
  .service__title { font-size: 24px; }
  .service__desc { font-size: 17px; line-height: 23px; }

  .step { gap: 0; flex-direction: column; padding: 20px 0; }
  .step:first-child { border-top: 1px solid var(--paper-35); }
  .steps { border-top: 0; }
  .step__num { font-size: 24px; line-height: 30px; width: auto; flex: none; }
  .step__title { font-size: 24px; line-height: 30px; }
  .step__desc { font-size: 17px; line-height: 23px; }

  .results { padding-bottom: 60px; }
  .impact { height: auto; align-items: flex-start; font-size: 22px; line-height: 28px; padding-left: 19px; }
  .impact__bar { top: 2px; height: 24px; }
  .cases { flex-direction: column; height: auto; gap: 12px; }
  .case { flex: none !important; height: 56px; transition: height 550ms var(--ease-io); }
  .case.is-open { height: auto; min-height: 420px; }
  .case__rail {
    position: static; width: 100%; height: 56px;
    flex-direction: row; justify-content: flex-start; gap: 16px;
    padding: 0 20px;
  }
  .case__rail-name { position: static; height: auto; width: auto; transform: none; writing-mode: horizontal-tb; rotate: 0deg; margin-left: auto; font-size: 18px; }
  .case.is-open .case__rail { display: none; }
  .case__face { position: relative; width: 100%; padding: 20px; min-height: 420px; transform: none; }
  .case__outcome { min-height: 0; }
  .case__stat--word { font-size: 40px; line-height: 48px; margin-bottom: 0; }
  .case__stat--big { font-size: 52px; line-height: 56px; }
  .case__stat--phrase { font-size: 32px; line-height: 36px; }
  .case__lede { font-size: 22px; line-height: 27px; }
  .case__lede--light { font-size: 20px; }
  .case__detail { font-size: 16px; line-height: 23px; }
  .case__footer { margin-top: 24px; font-size: 13px; }

  .faq { padding: 60px 0; }
  .q__row { padding: 18px 0; gap: 16px; }
  .q__text { font-size: 20px; line-height: 24px; }
  .q__plus { font-size: 28px; width: 24px; }
  .q__answer { font-size: 16px; line-height: 24px; padding-bottom: 20px; }

  .contact { padding: 60px 0 50px; }
  .contact__sub { font-size: 18px; line-height: 25px; }
  .contact__giant { margin-top: 48px; font-size: clamp(40px, 11.5vw, 64px); }
  .footer__inner { flex-direction: column-reverse; align-items: flex-start; gap: 16px; padding: 20px 0 24px; }
  .footer__links { flex-wrap: wrap; gap: 16px 28px; white-space: normal; }
}

@media (max-width: 400px) {
  .hero__strip { font-size: 40px; line-height: 50px; }
  .hero__payoff { font-size: 38px; line-height: 40px; }
  .principle__text { font-size: 42px; line-height: 52px; }
}
