:root {
  --bg: #070505;
  --bg-2: #0d0807;
  --ink: #f2eeec;
  --ink-2: #b9b0ad;
  --ink-3: #8a807d;
  --red: #ff2a12;
  --red-deep: #c4170a;
  --orange: #ff5a1f;
  --line: rgba(255, 70, 40, .22);
  --ink-deep: #1c0401;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(72% 26% at 50% 30%, rgba(255, 70, 20, .09), transparent 72%),
    radial-gradient(64% 22% at 50% 55%, rgba(255, 60, 20, .13), transparent 72%),
    radial-gradient(64% 22% at 50% 80%, rgba(255, 55, 18, .10), transparent 72%),
    linear-gradient(180deg, #070505 0%, #120605 26%, #1a0704 52%, #140504 76%, #090403 100%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* clip doesn't create a scroll container, so position:sticky still works */
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  border-radius: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .2s;
}
.btn--outline { border: 1.5px solid var(--red); }
.btn--sm { padding: 12px 18px; font-size: 11px; border-radius: 12px; }
.btn--glow { box-shadow: 0 0 24px rgba(255, 42, 18, .35), inset 0 0 18px rgba(255, 42, 18, .12); }
.btn:hover { background: var(--red); color: #fff; box-shadow: 0 0 36px rgba(255, 42, 18, .55); }
.btn:active { transform: scale(.97); }

.link-play {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  transition: color .2s;
}
.link-play__icon {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: var(--ink);
  transition: background-color .2s, transform .2s;
}
.link-play:hover { color: var(--ink); }
.link-play:hover .link-play__icon { background: var(--red); transform: scale(1.1); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--red);
}

/* ---------- Nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto;
  padding: 30px var(--gutter);
}
.nav__links { display: flex; gap: clamp(20px, 3.5vw, 42px); margin-left: auto; }
.nav__links a {
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); opacity: .9; position: relative; transition: opacity .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: clamp(16px, 3vw, 48px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto;
  padding: 170px var(--gutter) 90px;
  min-height: 780px;
}
.hero__glow {
  position: absolute; z-index: -1; pointer-events: none;
  inset: -200px calc(50% - 50vw) -100px;
  background:
    radial-gradient(60% 55% at 62% 18%, rgba(255, 70, 20, .75), rgba(200, 30, 10, .35) 40%, transparent 70%),
    radial-gradient(40% 50% at 75% 55%, rgba(120, 15, 5, .5), transparent 70%);
}
/* Grid at two scales: a 30px mesh with a stronger 150px grid over it. Masked
   radially rather than drawn edge to edge - an unfaded grid ends at a hard
   rectangle, which is what makes these read as stuck on. Uses mask-image with
   a plain gradient, never the `mask` shorthand (see DESIGN-NOTES). */
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 calc(50% - 50vw);
  background-image:
    linear-gradient(to right, rgba(255, 90, 50, .20) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 90, 50, .20) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 90, 50, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 90, 50, .07) 1px, transparent 1px);
  background-size: 150px 150px, 150px 150px, 30px 30px, 30px 30px;
  -webkit-mask-image: radial-gradient(95% 88% at 20% 10%, #000 0%, transparent 76%);
  mask-image: radial-gradient(95% 88% at 20% 10%, #000 0%, transparent 76%);
}

.pill {
  display: inline-block; padding: 7px 14px;
  border: 1px solid rgba(255, 42, 18, .55); border-radius: 999px;
  background: rgba(40, 4, 2, .35);
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}
.hero__title {
  margin-top: 56px;
  /* Inter, not Inter Tight: the reference is standard width, not condensed.
     Heavier (800) and fractionally looser than the condensed face needed. */
  font-family: "Inter", "Inter Tight", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(46px, 7.6vw, 104px);
  font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
  white-space: nowrap;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--red); }

.hero__sub {
  margin-top: 40px; max-width: 580px;
  font-size: clamp(16px, 1.35vw, 18px); font-weight: 300; line-height: 1.4;
  color: var(--ink-2);
}
.hero__actions { margin-top: 64px; display: flex; align-items: center; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; }

.hero__phone { display: flex; justify-content: center; position: relative; }
.hero__phone::before {
  /* dark hand-shaped shadow behind the phone */
  content: ""; position: absolute; width: 120%; height: 120%; top: 10%; left: -15%;
  background: radial-gradient(45% 50% at 40% 55%, rgba(0, 0, 0, .65), transparent 70%);
  z-index: -1;
}

/* ---------- Phone frame ---------- */
.phone {
  position: relative;
  border-radius: 44px;
  padding: 10px;
  background: #0b0b0b;
  box-shadow:
    0 0 0 1.5px #2a2a2a,
    0 0 0 3px #0a0a0a,
    0 40px 80px rgba(0, 0, 0, .6);
}
.phone__screen { position: relative; overflow: hidden; border-radius: 34px; height: 100%; }
.phone--hero { width: 100%; aspect-ratio: 9 / 19.5; transform: rotate(-2deg); }

/* TikTok UI */
.tt { color: #fff; font-size: 9px; }
.tt__creator { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Sits above the SVG silhouette, below the TikTok chrome (which is z-index 2).
   The reel is 9:16 and the screen is 9:19.5, so cover trims a little top and
   bottom rather than letterboxing. */
.tt__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  background: #120201;
}
.tt__status, .tt__tabs, .tt__rail, .tt__caption, .tt__bar { position: absolute; z-index: 2; }
.tt__status { top: 12px; left: 22px; right: 18px; display: flex; justify-content: space-between; font-weight: 600; font-size: 10px; }
.tt__icons { display: flex; gap: 4px; align-items: center; }
.tt__icons svg { fill: currentColor; }
.tt__tabs { top: 40px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; font-size: 9.5px; }
.tt__tabs span { opacity: .75; }
.tt__rail { right: 8px; top: 44%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 7px; }
.tt__act { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tt__act svg { width: 20px; height: 20px; fill: #fff; }
.tt__avatar { width: 24px; height: 24px; border-radius: 50%; background: #1b1b1b; border: 1.5px solid #fff; position: relative; }
.tt__avatar::after { content: "+"; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: #fe2c55; font-size: 9px; line-height: 12px; text-align: center; }
.tt__disc { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #ddd 0 25%, #222 27% 100%); animation: spin 4s linear infinite; }
.tt__caption { left: 14px; bottom: 54px; display: flex; flex-direction: column; gap: 2px; font-size: 8px; }
.tt__caption b { font-size: 9px; }
.tt__sound { opacity: .9; }
.tt__bar { left: 0; right: 0; bottom: 0; height: 44px; padding: 6px 10px 8px; background: #000; display: flex; justify-content: space-between; align-items: center; font-size: 6px; }
.tt__bar > span { display: flex; flex-direction: column; align-items: center; gap: 2px; opacity: .85; }
.tt__bar svg { width: 13px; height: 13px; fill: currentColor; }
.tt__plus { width: 26px; height: 16px; border-radius: 4px; background: #fff; color: #000; font-size: 13px; font-weight: 700; line-height: 16px; text-align: center; box-shadow: -2px 0 0 #25f4ee, 2px 0 0 #fe2c55; opacity: 1 !important; display: block !important; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Services ---------- */
.services {
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gutter) 70px;
}
.services__grid {
  margin-top: 30px;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.service {
  padding: 4px 18px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.service + .service { border-left: 1px solid rgba(255, 255, 255, .12); }
.service__icon {
  width: 52px; height: 52px; margin-bottom: 18px;
  fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 42, 18, .35));
  transition: transform .3s;
}
.service:hover .service__icon { transform: translateY(-4px) scale(1.06); }
.service h3 {
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5;
  max-width: 15ch;
}
.service p { margin-top: 10px; font-size: 13.5px; font-weight: 300; color: var(--ink-3); max-width: 22ch; }

/* ---------- Work ---------- */
.work {
  position: relative; overflow: clip;
  padding: 90px 0 130px;
}
.work__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(30% 42% at 50% 46%, rgba(255, 60, 20, .22), transparent 72%),
    radial-gradient(26% 36% at 8% 70%, rgba(255, 40, 10, .14), transparent 72%),
    radial-gradient(26% 36% at 92% 72%, rgba(255, 40, 10, .14), transparent 72%);
}
.work .eyebrow { position: relative; margin: 0; padding: 0; text-align: center; }
.work__stage {
  position: relative;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(30px, 4.5vw, 56px);
}

.phone--case { width: 230px; zoom: var(--phone-zoom, .81); aspect-ratio: 9 / 19.5; border-radius: 36px; padding: 6px; background: #120706; box-shadow: 0 0 0 1.5px #3a1410, 0 30px 60px rgba(0, 0, 0, .55); }
.phone--case .phone__screen { border-radius: 30px; }
.phone--feature { box-shadow: 0 0 0 1.5px #5a1a10, 0 0 60px rgba(255, 70, 20, .35), 0 30px 60px rgba(0, 0, 0, .55); }
.case { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.case:hover { transform: translateY(-10px); }

.case__screen { padding: 56px 14px 18px; display: flex; flex-direction: column; }
.case__screen::before { /* dynamic island */
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 18px; border-radius: 10px; background: #000;
}
.case__screen--dark { background: linear-gradient(180deg, #170807, #0e0404); }
.case__screen--hot { background: linear-gradient(170deg, #ff5a1f 0%, #ff3a12 50%, #e8380e 100%); color: #1a0302; }
.case__screen--center { justify-content: center; text-align: center; }
.case__logo { position: absolute; top: 30px; right: 16px; width: 14px; height: auto; }
.case__title { font-size: 15px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
.case__title--light { color: var(--red); }
.case__title--light b { font-weight: 700; }
.case__title--big { margin-top: 40px; font-size: 21px; line-height: 1.02; letter-spacing: -.03em; }
.case__title--big b { font-weight: 700; display: block; margin-bottom: 6px; }
.case__title--caps { color: var(--red); font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.case__notes { margin-top: auto; margin-bottom: 26px; display: grid; gap: 6px; padding-left: 40%; }
.case__notes li { font-size: 7.5px; line-height: 1.3; color: rgba(255, 42, 18, .7); }
.case__year { position: absolute; bottom: 14px; right: 16px; font-size: 7px; color: rgba(255, 42, 18, .7); }
.case__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; line-height: 1.1; }
.case__foot b { display: block; font-weight: 600; }
.case__foot span:last-child { font-size: 7px; }

/* floating tilted phones */
.float { position: absolute; pointer-events: none; }
.float__phone {
  width: 96px; aspect-ratio: 9 / 18; border-radius: 18px;
  background: linear-gradient(160deg, #3a0c08, #120403);
  box-shadow: 0 0 0 1.5px #4a1610, 0 0 50px rgba(255, 50, 15, .45), 0 20px 40px rgba(0, 0, 0, .6);
  display: grid; place-items: center;
}
.tt-glyph { width: 34px; height: 34px; fill: #ff5a3a; filter: drop-shadow(-2px 0 0 rgba(37, 244, 238, .25)) drop-shadow(2px 0 0 rgba(254, 44, 85, .35)); }
.float--left { left: 3%; top: 48%; transform: rotate(-28deg); filter: blur(.6px); animation: bob 7s ease-in-out infinite; }
.float--right { right: 9%; top: 40%; transform: rotate(24deg); filter: blur(.6px); animation: bob 8s ease-in-out infinite -2s; }
.float--right2 { right: 0%; top: 56%; transform: rotate(32deg); filter: blur(1px); animation: bob 9s ease-in-out infinite -4s; }
.float--left .float__phone { width: 92px; }
@keyframes bob { 50% { translate: 0 -14px; } }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gutter) 40px;
}
.stat { text-align: center; padding: 6px 12px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat strong {
  display: block;
  font-size: clamp(36px, 5.2vw, 70px); font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: var(--red);
  text-shadow: 0 0 30px rgba(255, 42, 18, .3);
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 12px; font-size: clamp(14px, 1.3vw, 17px); color: var(--ink-2); }
.stats-wrap { border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }

/* ---------- Brands ---------- */
.brands { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 110px; }
.brands__title {
  display: flex; align-items: center; gap: 28px; justify-content: center;
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
}
.brands__title::before, .brands__title::after { content: ""; width: 50px; height: 1px; background: rgba(255, 255, 255, .2); }
.brands__row {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px;
  color: #9b9592;
}
.brands__row li { transition: color .25s; font-size: 20px; display: flex; align-items: center; }
.brands__row li:hover { color: var(--ink); }
/* The marks are supplied pre-tinted to the row colour on transparency, so
   opacity alone carries the hover. Height is set and width left auto, which
   keeps six very different aspect ratios optically even. */
.brands__row img {
  display: block; height: 30px; width: auto;
  opacity: .72; transition: opacity .25s;
}
.brands__row li:hover img { opacity: 1; }
/* Aberlite is a stacked mark and Geologie a long wordmark, so they need
   nudging to sit on the same optical line as the rest. */
.brands__row li:nth-child(1) img { height: 38px; }
.brands__row li:nth-child(2) img { height: 24px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .case.reveal.is-in:hover { transform: translateY(-10px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .tt__disc { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .service:nth-child(4) { border-left: 0; }
  .float--left, .float--right2 { display: none; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; min-height: 0; }
  .hero__title { margin-top: 36px; }
  .hero__actions { margin-top: 40px; }
  /* The hero phone costs a full screen of scrolling on a handset before any
     copy is reached, and Three services shows the same device three times
     further down. Dropped rather than shrunk. */
  .hero__phone { display: none; }
  .hero { padding-bottom: 60px; }
  .br-desk { display: none; }
  .float { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .nav { padding-top: 22px; }
  .hero__title { font-size: 12.4vw; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service { border-left: 0 !important; }
  .service:last-child { grid-column: 1 / -1; }
  /* Only the centred phone is really legible on a handset, so it is worth
     letting it fill the screen. 230px x 1.02 = ~235px wide. */
  .phone--case { zoom: 1.02; }
  .brands__row { justify-content: center; gap: 22px 34px; }
  .brands__row li { font-size: 18px; }
  .brands__row img { height: 24px; }
  .brands__row li:nth-child(1) img { height: 30px; }
  .brands__row li:nth-child(2) img { height: 19px; }
  .brands__title::before, .brands__title::after { width: 24px; }
}

/* ---------- Motion ---------- */
.hero__tilt {
  width: min(240px, 100%);
  perspective: 900px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
}
.phone--hero { animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
/* the "video" playing on screen: slow push-in and a flickering rim light */
.tt__creator { transform-origin: 60% 40%; animation: videoPush 9s ease-in-out infinite alternate; }
@keyframes videoPush { from { transform: scale(1); } to { transform: scale(1.12) translateX(-4%); } }
.tt::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Softened from .35 now that real footage sits underneath: at full strength
     the warm wash tinted the creators orange. Enough left to keep the rim
     light the rest of the hero is built around. */
  background: radial-gradient(60% 40% at 70% 25%, rgba(255, 140, 60, .14), transparent 70%);
  animation: rimFlicker 3.2s ease-in-out infinite;
}
@keyframes rimFlicker { 0%, 100% { opacity: .3; } 40% { opacity: .9; } 70% { opacity: .5; } }
.tt__heart svg { fill: #fe2c55; animation: heartBeat 2.4s ease-in-out infinite; }
@keyframes heartBeat { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(1.3); } 20% { transform: scale(.95); } 30% { transform: scale(1.15); } }
/* tap-hearts floating up beside the phone */
.heart-burst {
  position: absolute; right: calc(50% - 150px); top: 55%;
  color: #fe2c55; font-size: 22px; opacity: 0; pointer-events: none;
  animation: heartRise 4.8s ease-out infinite;
}
.heart-burst.h2 { animation-delay: 1.6s; font-size: 16px; right: calc(50% - 160px); }
.heart-burst.h3 { animation-delay: 3.2s; font-size: 26px; right: calc(50% - 140px); }
@keyframes heartRise {
  0% { opacity: 0; transform: translate(0, 0) scale(.6) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(-30px, -180px) scale(1.2) rotate(-18deg); }
}
/* typing caret */
.caret {
  display: inline-block; width: 2px; height: 1em; margin-left: 2px;
  vertical-align: -0.12em; background: currentColor;
  animation: caretBlink .9s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .phone--hero, .tt__creator, .tt::after, .tt__heart svg, .heart-burst { animation: none; }
  .hero__tilt { transform: none; }
}

/* ---------- Our approach ---------- */
.approach {
  position: relative; overflow: clip;
  padding: 50px 0 84px;
}
.approach > * { position: relative; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.approach__inner { width: 100%; }
.approach__head { display: block; }
.approach__head + .approach__sticky { margin-top: clamp(22px, 3vw, 38px); }
.approach__lead {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink);
}
.approach__stage { position: relative; margin-top: 44px; }
/* Variant A - dark card. Variant B (flat red) is kept in DESIGN-NOTES.md. */
.approach__sticky {
  position: relative;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, rgba(32, 10, 7, .92), rgba(10, 5, 4, .96));
  backdrop-filter: blur(2px);
  padding: 26px clamp(18px, 3vw, 34px) 24px;
  overflow: hidden;
}
.approach__sticky::before {
  content: ""; position: absolute; inset: -60% -10% auto -10%; height: 110%;
  background: radial-gradient(50% 55% at 50% 22%, rgba(255, 70, 20, .18), transparent 70%);
  pointer-events: none;
}

.approach__steps { position: relative; z-index: 2; display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.approach__step { flex: 1; }
.approach__rail { display: block; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; transition: background-color .25s; }
.approach__rail i { display: block; height: 100%; width: 0; background: var(--red); box-shadow: 0 0 14px rgba(255, 42, 18, .8); transition: width .6s ease; }
.approach__step.is-done .approach__rail i, .approach__step.is-on .approach__rail i { width: 100%; }
.approach__num {
  display: block; margin-top: 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); transition: color .25s;
}
.approach__step.is-on .approach__num { color: var(--orange); }

.approach__field { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.approach__node { transition: opacity .55s ease, fill .55s ease, r .45s ease; }

/* Phases sit side by side and slide horizontally with scroll */
.approach__viewport { position: relative; z-index: 2; margin-top: 18px; overflow: hidden; }
.approach__panels { display: flex; width: 100%; will-change: transform; }
/* Grid rather than a flex row, so the three pieces can be reordered on a
   handset without touching the markup. */
.approach__panel {
  flex: 0 0 100%; min-width: 100%;
  display: grid; align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title target" "copy target";
  gap: 0 28px;
}
.approach__title { grid-area: title; }
.approach__copy { grid-area: copy; }
.approach__target { grid-area: target; align-self: end; }
.approach__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.approach__copy { margin-top: 9px; max-width: 460px; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.approach__target { text-align: right; }
.approach__target span {
  display: block; margin-bottom: 4px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.approach__target b {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em;
  color: var(--red); text-shadow: 0 0 30px rgba(255, 42, 18, .45); white-space: nowrap;
}


@media (max-width: 760px) {
  .approach__meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* Target sits between the heading and the explanation - it is the point of
     the phase, and on a narrow screen it was being pushed below a paragraph. */
  .approach__panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "target" "copy";
    align-items: start;
  }
  .approach__target { text-align: left; align-self: start; margin: 16px 0 14px; }
  .approach__copy { margin-top: 0; }
  .study__facts dt { font-size: 11px; }
  .study__facts dd { font-size: 26px; margin-top: 7px; }
  .study__facts { gap: 30px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .approach__rail i { width: 100%; }
}

/* Clickable phase labels */
.approach__jump {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  font: inherit; text-align: left; cursor: pointer; -webkit-appearance: none;
}
.approach__jump:hover .approach__num { color: var(--ink-2); }
.approach__jump:hover .approach__rail { background: rgba(255, 70, 40, .4); }
.approach__step.is-on .approach__jump:hover .approach__num { color: var(--orange); }
.approach__jump:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; border-radius: 4px; }

/* ---------- Loading screen ---------- */
/* One inline SVG: the field is drawn once, then drawn again clipped to the
   mark and brightened — so the logo is literally a brighter window onto the
   same gradient. Animation is SMIL on the gradients, so no CSS mask needed. */
.loader { position: fixed; inset: 0; z-index: 9999; background: #070202; }
.loader__svg { width: 100%; height: 100%; display: block; }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility 0s .65s; }
html.is-loading, html.is-loading body { overflow: hidden; }

/* If JS never runs, the screen still clears itself. */
.loader { animation: loaderBail .8s ease 5s forwards; }
@keyframes loaderBail { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .loader { animation: loaderBail .4s ease 1s forwards; }
}

/* ---------- Case studies ---------- */
.study { padding: 120px 0 170px; }
.study__head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.study__nav { display: flex; gap: 8px; }
.study__arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font-size: 15px; line-height: 1; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.study__arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }
.study__arrow[disabled] { opacity: .3; cursor: default; }
.study__arrow[disabled]:hover { background: transparent; border-color: var(--line); color: var(--ink-2); }

/* Horizontal rail — add more .study__item blocks and it just works. */
.study__rail {
  display: flex; gap: clamp(20px, 4vw, 48px);
  margin-top: 18px;
  /* Full-bleed so items can scroll past the edge, but the first one lines up
     with the --max container the section header sits in. */
  --rail-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding: 4px var(--rail-pad) 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
}
.study__rail::-webkit-scrollbar { display: none; }
.study__rail:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; border-radius: 12px; }
.study__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center;
  gap: clamp(26px, 4vw, 56px);
}

.study__chart {
  position: relative; margin: 0;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(165deg, rgba(32, 10, 7, .55), rgba(10, 5, 4, .75));
  padding: 16px 16px 12px;
}
.study__cap {
  display: flex; justify-content: space-between; gap: 16px; margin-bottom: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.study__cap span:first-child { color: var(--orange); }
.study__cap span:last-child { color: var(--ink-3); }
.study__svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: pan-x pan-y; cursor: crosshair; }
.study__line { filter: drop-shadow(0 0 8px rgba(255, 42, 18, .55)); }
.study__gl { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.study__tx { fill: var(--ink-3); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.study__dot { fill: var(--bg); stroke: #ff2a12; stroke-width: 2; }

.study__tip {
  position: absolute; z-index: 3; pointer-events: none;
  transform: translate(-50%, -140%);
  padding: 7px 11px; border-radius: 10px;
  border: 1px solid rgba(255, 90, 31, .4); background: rgba(14, 5, 4, .94);
  white-space: nowrap;
}
/* Flipped under the point when there is no room above it - see script.js. */
.study__tip.study__tip--below { transform: translate(-50%, 40%); }
.study__tip b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.study__tip span { display: block; margin-top: 1px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.study__h { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
.study__big {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 300; line-height: 1.12; letter-spacing: -.03em;
  color: var(--ink);
}
.study__big b { font-weight: 700; color: var(--red); }
.study__body { margin-top: 16px; max-width: 460px; font-size: 15.5px; font-weight: 300; line-height: 1.55; color: var(--ink-2); }
/* Grid, not wrapping flex: four across or a clean 2x2, never 3 + 1. */
.study__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; margin: 24px 0 0; }
.study__facts dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.study__facts dd { margin: 5px 0 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }

@media (max-width: 920px) { .study__item { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .study__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Our team ---------- */
.team { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) 160px; }
.team__intro { display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); margin-top: 30px; flex-wrap: wrap; }
.team__founders { display: flex; }
.team__av {
  display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--orange);
}
.team__av + .team__av { margin-left: -16px; }
.team__lead {
  flex: 1; min-width: 280px; max-width: 760px;
  font-size: clamp(20px, 2.3vw, 30px); font-weight: 300; line-height: 1.28; letter-spacing: -.02em;
  color: var(--ink);
}
.team__lead b { font-weight: 600; color: var(--red); }

/* Pod chart */
.pod { margin-top: clamp(46px, 6vw, 72px); }
.pod__title {
  font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3); text-align: center;
}
.pod__top { display: flex; justify-content: center; margin-top: 18px; }
.pod__card {
  display: grid; place-items: center; height: 100%;
  min-height: 72px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(165deg, rgba(32, 10, 7, .55), rgba(10, 5, 4, .7));
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.pod__card:hover { border-color: rgba(255, 70, 40, .5); transform: translateY(-3px); }
.pod__card--lead {
  min-width: 260px; border-color: rgba(255, 70, 40, .55);
  background: var(--red);
}
.pod__card--lead .pod__role { color: var(--ink-deep); font-weight: 700; }
.pod__role { font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }

.pod__row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 18px);
}
.pod__node { position: relative; }
/* Connectors are drawn from measured card positions, so the joins are exact. */
.pod__wires { display: block; width: 100%; height: 56px; overflow: visible; }
.pod__wires path {
  fill: none; stroke: rgba(255, 70, 40, .38); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Always one row of five under the manager. On phones the row scrolls
   rather than wrapping, so the structure stays readable. */
@media (max-width: 900px) {
  .pod__role { font-size: 11.5px; }
  .pod__card { min-height: 64px; padding: 12px 10px; border-radius: 12px; }
  .pod__card--lead { min-width: 220px; }
}
/* A taller phone than the viewport can hold would push the heading off the
   pinned stage, so short screens step back down. */
@media (max-width: 560px) and (max-height: 720px) {
  .phone--case { zoom: .84; }
}
@media (max-width: 640px) {
  .pod__scroll {
    overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  }
  .pod__scroll::-webkit-scrollbar { display: none; }
  .pod__row, .pod__wires { min-width: 560px; }
  .pod__role { font-size: 11px; }
  .team__lead { font-size: 20px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: var(--max); margin: 0 auto; padding: 140px var(--gutter) 150px; }
.faq__lead {
  margin-top: 18px; max-width: 620px;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 300; line-height: 1.25; letter-spacing: -.02em;
  color: var(--ink);
}
.faq__list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; letter-spacing: -.01em; color: var(--ink);
  transition: color .2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--orange); }
.faq__item:focus-within .faq__q { color: var(--orange); }
.faq__icon { position: relative; flex: 0 0 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 1.5px;
  background: var(--red); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a {
  overflow: hidden;
  font-size: 15.5px; font-weight: 300; line-height: 1.6; color: var(--ink-2);
}
.faq__a p { max-width: 720px; padding: 0 2px 24px; margin-top: -4px; }
.faq__item[open] .faq__a { animation: faqOpen .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__a { animation: none; }
  .faq__icon::before, .faq__icon::after { transition: none; }
}

/* ---------- Legal pages ---------- */
.legal__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 26px var(--gutter);
}
.legal__home { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.legal__back { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.legal__back:hover { color: var(--orange); }

.legal { max-width: 820px; margin: 0 auto; padding: 36px var(--gutter) 90px; }
.legal__title { margin-top: 16px; font-size: clamp(34px, 5vw, 58px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.legal__meta { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.legal__body { margin-top: 44px; }
.legal__body h2 {
  margin: 44px 0 14px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: -.015em; color: var(--ink);
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin-bottom: 16px; font-size: 15.5px; font-weight: 300; line-height: 1.7; color: var(--ink-2); }
.legal__body strong { font-weight: 600; color: var(--ink); }
.legal__body ul, .legal__body ol { margin: 0 0 16px; padding-left: 20px; list-style: revert; }
.legal__body li { margin-bottom: 9px; font-size: 15.5px; font-weight: 300; line-height: 1.65; color: var(--ink-2); }
.legal__body li::marker { color: rgba(255, 70, 40, .6); }
.legal__body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.foot { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.foot__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  padding: clamp(40px, 5vw, 62px) 0; border-top: 1px solid var(--line);
}
.foot__brand img { margin-bottom: 16px; }
.foot__co { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.foot__mail { display: inline-block; margin-top: 7px; font-size: 14px; font-weight: 300; color: var(--ink-2); transition: color .2s; }
.foot__mail:hover { color: var(--orange); }

.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.foot__h {
  margin-bottom: 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--red);
}
.foot__col a {
  font-size: 13px; font-weight: 400; letter-spacing: .04em; color: var(--ink-2);
  position: relative; transition: color .2s;
}
.foot__col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.foot__col a:hover { color: var(--ink); }
.foot__col a:hover::after { transform: scaleX(1); }

.foot__base {
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 11.5px; font-weight: 400; letter-spacing: .08em; color: var(--ink-3);
}

@media (max-width: 760px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ============================================================
   MONO BODY TEST  —  delete this whole block to revert
   Body copy, labels and UI text switch to JetBrains Mono.
   Display type stays Inter Tight so headlines keep their weight.
   ============================================================ */
:root { --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

body { font-family: var(--font-mono); }

/* Display type keeps the original face */
h1, h2, h3,
.hero__title,
.approach__lead, .approach__title,
.study__big, .study__facts dd,
.team__lead,
.faq__lead,
.legal__title,
.stat strong, .case__title, .brands__title {
  font-family: var(--font);
}

/* The hero phone is a mock of the TikTok UI, so it keeps TikTok's own face
   rather than the site's mono body text. */
.phone--hero .phone__screen, .phone--hero .phone__screen * { font-family: var(--font); }

/* Mono runs wider, so tracked-out uppercase needs pulling back in */
.eyebrow, .pill, .btn, .nav__links a, .link-play,
.approach__num, .study__cap, .study__facts dt, .pod__title,
.foot__h, .foot__col a, .foot__base, .legal__back, .legal__home,
.service h3, .case__notes li, .case__year, .stat span {
  letter-spacing: .1em;
}
.hero__title { letter-spacing: -.035em; }
.legal__title { letter-spacing: -.045em; }
.btn { font-size: 12px; }
.service h3 { font-size: 12px; line-height: 1.55; }
.legal__body p, .legal__body li { font-size: 14px; line-height: 1.75; }
.approach__copy, .study__body, .faq__a { font-size: 14px; line-height: 1.7; }
.faq__q { letter-spacing: -.005em; }
.hero__sub { font-size: 15px; line-height: 1.6; }
.foot__col a, .foot__mail, .foot__co { font-size: 12.5px; }

/* ---------- Phone sequence (desktop) ---------- */
.work__track { display: flex; align-items: center; gap: clamp(26px, 3.5vw, 44px); }

@media (prefers-reduced-motion: no-preference) {
  .work { min-height: 340vh; padding-bottom: 0; }
  .work__stage {
    position: sticky; top: 0;
    height: 100vh; margin: 0 auto;
  }
  .work__track {
    will-change: transform;
    transition: transform .65s cubic-bezier(.22, .8, .24, 1), opacity .5s ease;
  }
  .work__track .case {
    will-change: transform, opacity;
    transition: transform .65s cubic-bezier(.22, .8, .24, 1), opacity .5s ease;
  }
  .work__track .case:hover { transform: none; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .work { min-height: 300vh; }
  .work__stage { height: 92vh; }
}

/* ---------- Approach: pinned scroll sequence ---------- */
@media (prefers-reduced-motion: no-preference) {
  .approach { min-height: 235vh; padding-bottom: 0; }
  .approach__stage {
    position: sticky; top: 0;
    height: 100vh; margin-top: 0;
    display: flex; align-items: center;
  }
  .approach__stage > .approach__inner { width: 100%; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .approach { min-height: 220vh; }
  .approach__stage { height: 88vh; }
}

/* Heading pins with the phones rather than scrolling past them */
.work__track { width: 100%; justify-content: center; }

/* ---------- Site-wide scroll choreography ---------- */
/* JS drives transform and opacity per frame, so the reveal transition and its
   hover offsets have to step aside. Without JS, .reveal stays visible. */
.scrollfx .reveal {
  opacity: 0;
  transform: none;
  transition: none;
  will-change: transform, opacity;
}
.scrollfx .case.reveal.is-in:hover { transform: none; }

.work__stage .eyebrow { will-change: transform, opacity; }
