/* Supernal landing. The whole page stays inside the film's studio:
   one wall, one floor, four observers, thin bracket and HUD label grammar.
   Structure and the type scale live here. Every colour and font family lives in theme.css,
   which loads after this file, so a new look is a swap of that one file. */

:root {
  --pad: 48px;
  --maxw: 1200px;
  --header: 64px;
  /* One section rhythm: every section pads by --section-y top and bottom, so the break between two sections is twice it.
     A section that ends on the studio floor ends at the floor. --head-gap sits between a section header and its content. */
  --section-y: clamp(72px, 7.5vw, 120px);
  --head-gap: clamp(36px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Studio tokens, measured on the hero film (1928 x 1076). HUD lengths are fractions of frame width. */
  --fw: min(100vw, 1928px);
  --floor-gradient: linear-gradient(to bottom,
      var(--crease) 0, var(--crease-soft) 1.5px, var(--floor-0) 3px,
      var(--floor-1) 8%, var(--floor-1) 46%, var(--floor-2) 53%, var(--floor-2) 75%, var(--floor-3) 100%);
}
:root, .fw {
  --hud-bracket-arm: calc(var(--fw) * .0140);
  --hud-stroke: max(1px, calc(var(--fw) * .0008));
  --hud-size: calc(var(--fw) * .0080);
  --hud-track: .6em;
  --hud-under-gap: calc(var(--fw) * .0041);
  --hud-under: 1px;
  --hud-bracket-drop: calc(var(--fw) * .0036);
  --hud-size-page: max(11px, var(--hud-size));
  --hud-bracket-page: max(12px, var(--hud-bracket-arm));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.mono, .eyebrow {
  font-family: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.4;
}
.eyebrow { display: inline-flex; gap: 14px; align-items: center; }
.eyebrow .n { color: var(--accent-text); }

.h2 {
  font-family: var(--display);
  font-size: clamp(32px, 3.9vw, 56px);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.06;
  text-wrap: balance;
}
.accent { color: var(--accent-text); }

/* Section header: eyebrow, H2, sub. One pattern for every section. */
.eyebrow + h2 { margin-top: 18px; }
.ly-sub, .sq-sub, .hw-sub, .stops-sub, .pb-sub {
  margin-top: 20px; max-width: 26em;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -.015em; color: var(--body); text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .2s, transform .2s var(--ease);
}
.btn-ink { background: var(--btn-bg); color: var(--btn-text); }
.btn-ink:hover { background: var(--btn-hover); }
/* Secondary ("Send another inquiry"): same pill, outlined, so it never reads as plain text */
.btn:not(.btn-ink) { color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.btn:not(.btn-ink):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { border-radius: 999px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: var(--header-solid);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hair);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: none; }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { height: 18px; width: auto; aspect-ratio: 896 / 156; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a, .footer-links a, .sheet a {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav-links a .n, .sheet a .n {
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--mute); font-variant-numeric: tabular-nums;
}
.nav-links a:hover, .footer-links a:hover { color: var(--accent-text); }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; margin-right: -8px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink); content: '';
  transition: transform .25s var(--ease), background-color .2s;
}
.menu-btn span { top: 19px; }
.menu-btn span::before { left: 0; top: -6px; }
.menu-btn span::after { left: 0; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.sheet {
  position: fixed; inset: var(--header) 0 auto 0; z-index: 49;
  background: var(--wall); box-shadow: 0 1px 0 var(--hair);
  padding: 8px var(--pad) 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.sheet li + li { border-top: 1px solid var(--hair); }
.sheet a { padding: 16px 0; font-size: 18px; width: 100%; }
.menu-open .sheet { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
.menu-open .site-header { background: var(--wall); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; container-type: inline-size; background: var(--wall); }
.hero-inner {
  --hh: max(100svh, 620px);
  --sw: min(100cqw, calc((var(--hh) - 300px) * 2.674));
  --sh: calc(var(--sw) * .5583);
  position: relative;
  min-height: var(--hh);
  display: grid;
  grid-template-rows: var(--header) 1fr calc(var(--sh) * .69);
  /* The film's floor, crease included, continues past the film's edges on wide screens. */
  background:
    var(--floor-gradient) 0 100% / 100% calc(var(--sh) * .1984) no-repeat,
    var(--wall);
}
.stage {
  position: absolute; left: 50%; bottom: 0;
  width: var(--sw); height: var(--sh);
  transform: translateX(-50%);
}
.stage-media {
  position: absolute; inset: 0;
  /* The film's top edge dissolves into the wall, so no seam shows. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%);
}
.stage-media.feather-x {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.stage video, .stage img { width: 100%; height: 100%; object-fit: cover; }

.hero-band {
  grid-row: 2; z-index: 2;
  display: grid; align-content: center; justify-items: center;
  padding: 16px var(--pad) 8px;
  text-align: center;
}
.intro, .rest { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.intro h1 {
  font-family: var(--display);
  font-size: clamp(32px, min(3.9vw, 6svh), 56px);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.05;
  max-width: 15em; text-wrap: balance;
}
.intro .sub { margin-top: 14px; font-size: clamp(17px, min(1.45vw, 2.3svh), 21px); color: var(--body); letter-spacing: -.01em; }
.intro .btn { margin-top: clamp(18px, 3svh, 28px); }

.rest-title {
  font-family: var(--display);
  font-size: clamp(28px, min(3.4vw, 5.4svh), 50px);
  font-weight: 400; letter-spacing: -.018em; line-height: 1.08;
  text-wrap: balance;
}
.rest-title > span { display: block; }
.rest-body { display: flex; flex-direction: column; align-items: center; }
.rest-body p { font-family: var(--display); font-size: 26px; font-weight: 400; font-style: italic; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.rest-body .btn { margin-top: 24px; }

/* Desktop: the title hangs on the wall above the observers. */
@media (min-width: 1100px) {
  .rest-title {
    position: absolute; z-index: 2; left: var(--pad); right: var(--pad);
    bottom: calc(var(--sh) * .735);
    font-size: clamp(38px, calc(var(--sw) * .04), 60px);
  }
}
/* From tablet up: the question and the CTA stand between the two inner observers. */
@media (min-width: 720px) {
  .rest-body {
    position: absolute; z-index: 2;
    left: calc(50% - var(--sw) * .14);
    width: calc(var(--sw) * .28);
    bottom: calc(var(--sh) * .3);
  }
  .rest-body p { font-size: clamp(22px, calc(var(--sw) * .025), 38px); }
}

/* Phases: film, leaving (headline fades), rest (the stage answers). */
.js .intro { transition: opacity .5s ease, transform .5s ease, visibility 0s 0s; }
.js .hero[data-phase="leaving"] .intro,
.js .hero[data-phase="rest"] .intro {
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity .5s ease, transform .5s ease, visibility 0s .5s;
}
html:not(.js) .rest { display: none; }
.js .hero:not([data-phase="rest"]) .rest,
.js .hero:not([data-phase="rest"]) .rest-body { visibility: hidden; }
.js .rise {
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .hero[data-phase="rest"] .rise { opacity: 1; transform: none; }
.js .hero[data-phase="rest"] .r2 { transition-delay: .14s; }
.js .hero[data-phase="rest"] .r3 { transition-delay: .52s; }
.js .hero[data-phase="rest"] .r4 { transition-delay: .66s; }

/* First paint: the headline lands before the film starts. */
.js .hero-in { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero.is-ready .hero-in { opacity: 1; transform: none; }
.js .hero.is-ready .d2 { transition-delay: .1s; }
.js .hero.is-ready .d3 { transition-delay: .2s; }

.replay {
  position: absolute; right: var(--pad); bottom: 20px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
  border-radius: 999px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s, color .2s;
}
.replay svg { width: 12px; height: 12px; }
.replay.is-visible { opacity: 1; visibility: visible; transition: opacity .4s .9s, color .2s; }
.replay:hover { color: var(--ink); }

/* ---------- HUD primitives ---------- */
/* Film corners: thin dark arms, about 1.4% of frame width. */
.c { position: absolute; width: var(--hud-bracket-page); height: var(--hud-bracket-page); border: 0 solid var(--hud-bracket-ink); pointer-events: none; }
.c.tl { top: 0; left: 0; border-top-width: var(--hud-stroke); border-left-width: var(--hud-stroke); }
.c.tr { top: 0; right: 0; border-top-width: var(--hud-stroke); border-right-width: var(--hud-stroke); }
.c.bl { bottom: 0; left: 0; border-bottom-width: var(--hud-stroke); border-left-width: var(--hud-stroke); }
.c.br { bottom: 0; right: 0; border-bottom-width: var(--hud-stroke); border-right-width: var(--hud-stroke); }
.brk { position: absolute; inset: 0; pointer-events: none; }
.brk i { position: absolute; width: var(--hud-bracket-page); height: var(--hud-bracket-page); border: 0 solid var(--hud-bracket-ink); }
.brk .k1 { top: 0; left: 0; border-top-width: var(--hud-stroke); border-left-width: var(--hud-stroke); }
.brk .k2 { top: 0; right: 0; border-top-width: var(--hud-stroke); border-right-width: var(--hud-stroke); }
.brk .k3 { bottom: 0; left: 0; border-bottom-width: var(--hud-stroke); border-left-width: var(--hud-stroke); }
.brk .k4 { bottom: 0; right: 0; border-bottom-width: var(--hud-stroke); border-right-width: var(--hud-stroke); }
.brk.terra i { border-color: var(--accent); }

/* Film readout: widely tracked mono, one thin grey underline. */
.hud-label, .tag, .rd {
  font-family: var(--label); font-weight: 400; text-transform: uppercase;
  font-size: var(--hud-size-page); letter-spacing: var(--hud-track); line-height: 1; color: var(--hud-label-ink);
  padding-bottom: max(7px, var(--hud-under-gap));
  background: linear-gradient(var(--hud-under-ink), var(--hud-under-ink)) left bottom / calc(100% - var(--hud-track)) var(--hud-under) no-repeat;
  white-space: nowrap;
}
.rd { display: inline-flex; align-items: center; gap: .9em; }
.rd.n { letter-spacing: .3em; background-size: calc(100% - .3em) var(--hud-under); }

/* A full-bleed slice of the studio: wall, floor crease at 80.16% of its height, floor below. */
.studio { position: relative; container-type: inline-size; }
.floorbox { --S: 520px; position: relative; height: var(--S); isolation: isolate; }
.floorbox::before {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - 50vw); width: 100vw;
  background:
    var(--floor-gradient) 0 calc(var(--S) * .8016) / 100% calc(var(--S) * .1984) no-repeat,
    var(--wall);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 90%, transparent 100%);
}
/* A picture sized by width, its floor line pinned to the slice's floor line. */
.aplate {
  position: absolute; width: var(--pw); aspect-ratio: var(--ar); left: var(--px);
  top: calc(var(--S) * .8016 - var(--pw) * var(--fyw)); overflow: hidden;
}
.aplate img { width: 100%; height: auto; max-width: none; }
.aplate.feather {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fl, 14%), #000 calc(100% - var(--fr, 14%)), transparent 100%), linear-gradient(to bottom, transparent 0, #000 var(--ft, 10%), #000 calc(100% - var(--fb, 0%)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fl, 14%), #000 calc(100% - var(--fr, 14%)), transparent 100%), linear-gradient(to bottom, transparent 0, #000 var(--ft, 10%), #000 calc(100% - var(--fb, 0%)), transparent 100%);
  mask-composite: intersect;
}
.p-new { --ar: 2400 / 1357; --fyw: .4508; }
.ring-node {
  position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  border: 1.5px solid var(--accent); background: var(--wall);
}
.ring-node.fill { background: var(--accent); }
/* Stills with a faint blotch in the wall: darken keeps the figures and lets the flat page wall win. */
.blend-darken { mix-blend-mode: darken; }

/* ---------- Sections ---------- */
section { position: relative; }
.refound, .proof, .squad2, .how2 { padding: var(--section-y) 0; }

/* 4. Squad: Strategy at the centre, the other disciplines on one hairline orbit (variant A).
   Headline left, orbit of icon discs right, benefits with icons. Ring positions are fractions of the
   orbit box: seven nodes, 360/7 degrees apart, Engineering at the top. Breakpoints sit with this block. */

/* The orbit: one square box, the ring is its edge. Labels hang outside it. */
.sq-orbit { position: relative; width: var(--d); aspect-ratio: 1; margin: 0 auto; }
.sq-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sq-lines circle { fill: none; stroke: var(--hair-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sq-lines line { stroke: var(--hair); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sq-ring > li { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; }
.sq-ring > li.sq-centre { left: 50%; top: 50%; }
.sq-name { position: absolute; white-space: nowrap; }
.sq-to-t .sq-name { left: 0; bottom: var(--lg); transform: translateX(-50%); text-align: center; }
.sq-to-b .sq-name { left: 0; top: var(--lg); transform: translateX(-50%); text-align: center; }
.sq-to-r .sq-name { left: var(--lg); top: 0; transform: translateY(-50%); }
.sq-to-l .sq-name { right: var(--lg); top: 0; transform: translateY(-50%); text-align: right; }

.sq-ben { margin-top: var(--head-gap); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sq-ben .b { font-family: var(--display); font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; color: var(--ink); }

.sq-a { --d: clamp(300px, 30vw, 420px); --disc: 52px; --core: 136px; --lg: calc(var(--disc) / 2 + 12px); }
.sq-a .sq-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.sq-a .h2 { max-width: 8.6em; }
.sq-a .sq-stage { padding: 64px 0 58px; }
.sq-a .sq-node {
  position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: var(--disc); height: var(--disc); margin: calc(var(--disc) / -2) 0 0 calc(var(--disc) / -2);
  border-radius: 50%; border: 1px solid var(--hair-strong); background: var(--wall); color: var(--ink);
}
.sq-a .sq-node svg { width: 22px; height: 22px; }
.sq-a .sq-name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
.sq-a .sq-centre .sq-node {
  width: var(--core); height: var(--core); margin: calc(var(--core) / -2) 0 0 calc(var(--core) / -2);
  place-items: start center; padding-top: 34px; border: 1.5px solid var(--accent); color: var(--accent-text);
}
.sq-a .sq-centre .sq-node svg { width: 26px; height: 26px; }
.sq-a .sq-centre .sq-name { left: 0; top: 8px; transform: translateX(-50%); font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -.01em; color: var(--accent-text); }

.sq-a .sq-ben { gap: 24px; padding-top: 28px; }
.sq-a .sq-ben li { display: flex; align-items: center; gap: 16px; }
.sq-ico {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--hair-strong); color: var(--ink);
}
.sq-ico svg { width: 20px; height: 20px; }

@media (max-width: 1199px) {
  /* The bottom pair sits close together on a smaller ring: align each name to its outer disc edge. */
  .sq-a .sq-hang-l .sq-name { left: auto; right: calc(var(--disc) / -2); transform: none; }
  .sq-a .sq-hang-r .sq-name { left: calc(var(--disc) / -2); transform: none; }
}
@media (max-width: 1023px) {
  .sq-a .sq-top { gap: 24px; }
}
@media (max-width: 899px) {
  .sq-a { --d: min(400px, 56vw); }
  .sq-a .sq-top { grid-template-columns: 1fr; }
  .sq-a .sq-stage { padding-top: 72px; }
  .sq-a .sq-ben { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 719px) {
  /* Strategy on top, the seven in a two-column list under it. */
  .sq-a .sq-stage { padding: 0; margin-top: 36px; }
  .sq-a .sq-orbit { width: auto; aspect-ratio: auto; }
  .sq-a .sq-lines { display: none; }
  .sq-a .sq-ring { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .sq-a .sq-ring > li {
    position: static; width: auto; height: auto;
    display: flex; align-items: center; gap: 12px; padding: 12px 0;
  }
  .sq-a .sq-node, .sq-a .sq-centre .sq-node { position: static; flex: none; margin: 0; width: 40px; height: 40px; padding: 0; place-items: center; }
  .sq-a .sq-node svg, .sq-a .sq-centre .sq-node svg { width: 18px; height: 18px; }
  .sq-a .sq-name, .sq-a .sq-centre .sq-name { position: static; transform: none; white-space: normal; text-align: left; font-size: 15px; }
  .sq-a .sq-ring > li.sq-centre { grid-column: 1 / -1; padding: 16px 0; }
  .sq-a .sq-centre .sq-node { width: 56px; height: 56px; }
  .sq-a .sq-centre .sq-node svg { width: 24px; height: 24px; }
  .sq-a .sq-centre .sq-name { font-size: 26px; }
  .sq-a .sq-ben { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .sq-a .sq-ben li { gap: 12px; }
  .sq-ico { width: 40px; height: 40px; }
  .sq-ico svg { width: 18px; height: 18px; }
  .sq-ben .b { font-size: 17px; }
}

/* Refound: the visitor drags the film's seam. Left of it the rebuilt car, right of it the original; the driver never changes.
   Normal flow, no pin. The plate is not a .reveal, so its blend with the wall survives. */
.refound { overflow-x: clip; }
.rf-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; }
.refound-title { font-family: var(--display); font-size: clamp(32px, 3.9vw, 56px); font-weight: 400; letter-spacing: -.018em; line-height: 1.06; }
.refound-title span { display: block; }
.refound-title .t2 { color: var(--accent-text); }
.rf-quote {
  max-width: 14.5em; padding: 0; margin-bottom: 8px;
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 1.65vw, 24px); font-weight: 400; letter-spacing: -.005em; line-height: 1.35; color: var(--ink);
  text-wrap: balance;
}
.rf-fig { margin: clamp(12px, 1.6vw, 24px) 0 0; }
.rf-plate { position: relative; aspect-ratio: 1570 / 600; }
.rf-imgs {
  position: absolute; inset: 0; mix-blend-mode: darken;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.rf-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rf-new { clip-path: inset(0 calc(100% - var(--p) * 1%) 0 0); }
.rf-seam {
  position: absolute; top: 6%; bottom: 2%; left: calc(var(--p) * 1%); width: 2px; margin-left: -1px; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0, var(--accent) 14%, var(--accent) 86%, transparent 100%);
  box-shadow: 0 0 18px 3px var(--accent-glow);
}
.rf-knob {
  position: absolute; left: 50%; top: 36%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--wall); border: 1.5px solid var(--accent); box-shadow: 0 6px 18px var(--shadow);
}
.rf-knob::before, .rf-knob::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border: solid var(--accent-text); border-width: 0 0 1.5px 1.5px;
}
.rf-knob::before { left: 12px; transform: rotate(45deg); }
.rf-knob::after { right: 12px; transform: rotate(-135deg); }
.rf-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.rf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 600px; }
.rf-range::-moz-range-thumb { width: 44px; height: 600px; border: 0; }
.rf-range:focus-visible + .rf-seam .rf-knob { outline: 2px solid var(--accent); outline-offset: 4px; }
.rf-ledger { margin-top: clamp(4px, 1vw, 16px); display: grid; grid-template-columns: 3fr 1fr; }
.rf-ledger > div { padding-top: 16px; }
.rf-ledger h3 { margin-bottom: 10px; }
.rf-keep ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.rf-keep li, .rf-change p {
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 25px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; color: var(--ink);
}
.rf-change p { color: var(--accent-text); }

/* 5. How it works: a sticky stage on deep green. The header and one large time marker hold on the left,
   the four steps sit on a vertical line on the right. Scrolling moves the marker and opens one step at a time
   (main.js sets is-on / is-done). Without JS, under 900px, on short screens or with reduced motion,
   nothing pins and every step is open. */
.hw-b { z-index: 1; background: var(--stage-bg); color: var(--stage-ink); }
.hw-b .hw-l { display: block; }
.hw-b .eyebrow, .hw-b .eyebrow .n { color: var(--lime); }
.hw-b .h2 { color: var(--stage-ink); }
.hw-b .h2 .accent { color: var(--lime); font-style: italic; }
.hw-b .hw-sub { color: var(--stage-body); }
.hw-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 100px); align-items: start; }
.hw-big { display: none; }

.hw-steps { position: relative; }
.hw-step { position: relative; padding-left: 44px; }
.hw-step::before {
  content: ''; position: absolute; z-index: 1; left: 0; top: 26px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--lime); transition: top .5s var(--ease), background-color .4s, border-color .4s;
}
.hw-step::after {
  content: ''; position: absolute; left: 5px; top: 26px; bottom: -30px; width: 1px;
  background: var(--stage-line); transition: background-color .4s;
}
.hw-step:last-child::after { content: none; }
.hw-card { padding: 20px 0; }
.hw-b .hw-when { display: flex; gap: 10px; color: var(--lime); }
.hw-step h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.01em; line-height: 1.18;
}
.hw-fold { display: grid; grid-template-rows: 1fr; }
.hw-io { margin: 0; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.hw-io > div { padding-top: 20px; }
.hw-io dt { margin: 0; color: var(--lime); }
.hw-io dd { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--stage-body); text-wrap: pretty; }
.hw-io dd.hw-get { color: var(--stage-ink); font-weight: 500; }

@media (max-width: 599px) {
  .hw-io { grid-template-columns: 1fr; }
  .hw-step { padding-left: 30px; }
}
@media (max-width: 899px) {
  .hw-grid { grid-template-columns: 1fr; row-gap: var(--head-gap); }
}
@media (min-width: 900px) {
  .hw-left { position: sticky; top: calc(var(--header) + 40px); }
}

@media (min-width: 900px) and (min-height: 780px) and (prefers-reduced-motion: no-preference) {
  .js .hw-b { padding: 0; height: calc(290vh - var(--header)); }
  .js .hw-b .hw-pin {
    position: sticky; top: var(--header); height: calc(100vh - var(--header));
    display: grid; align-items: center; overflow: hidden;
  }
  .js .hw-b .hw-big { display: block; margin-top: clamp(32px, 6vh, 72px); }
  .js .hw-b .hw-count { color: var(--stage-mute); }
  .js .hw-b .hw-words {
    display: grid; margin-top: 14px; min-height: 1.76em;
    font-family: var(--display); font-size: clamp(88px, min(11vw, 18vh), 160px);
    line-height: .88; letter-spacing: -.04em; color: var(--lime);
  }
  .js .hw-b .hw-words span {
    grid-area: 1 / 1; opacity: 0; transform: translateY(.14em);
    transition: opacity .35s var(--ease), transform .6s var(--ease);
  }
  .js .hw-b .hw-words span.is-on { opacity: 1; transform: none; transition-delay: .12s; }

  .js .hw-b .hw-step::before { background: var(--stage-bg); border: 1px solid var(--stage-ring); }
  .js .hw-b .hw-step.is-done::before, .js .hw-b .hw-step.is-on::before { background: var(--lime); border-color: var(--lime); }
  .js .hw-b .hw-step.is-on::before { top: 44px; }
  .js .hw-b .hw-step.is-on::after { top: 50px; }
  .js .hw-b .hw-step:has(+ .is-on)::after { bottom: -58px; }
  .js .hw-b .hw-step.is-done::after { background: var(--lime); width: 3px; left: 4px; }
  .js .hw-b .hw-card {
    border-radius: 6px; opacity: .45;
    transition: opacity .4s, padding .5s var(--ease), margin .5s var(--ease), background-color .4s, border-color .4s;
  }
  .js .hw-b .hw-step.is-done .hw-card { opacity: .8; }
  .js .hw-b .hw-step.is-on .hw-card {
    opacity: 1; padding: 30px 34px 32px; margin: 10px 0; background: var(--stage-panel); border-color: transparent;
  }
  .js .hw-b .hw-step .hw-when { color: var(--stage-mute); transition: color .4s; }
  .js .hw-b .hw-step.is-on .hw-when { color: var(--lime); }
  .js .hw-b .hw-fold { grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .js .hw-b .hw-step.is-on .hw-fold { grid-template-rows: 1fr; }
}

/* 5. What we build: three slabs on the studio floor (layers.js). The section is one frame of the room:
   wall above, crease at 74% of the stage, floor below. The list on the left drives the object on the right. */
/* The section ends on the floor, so it has top padding only. */
.build { --S: clamp(600px, 54vw, 780px); --F: calc(var(--S) * .26); padding-top: var(--section-y); overflow-x: clip; }
.ly { position: relative; min-height: var(--S); padding: 0 0 var(--F); }
.ly::before {
  content: ''; position: absolute; z-index: 0; bottom: 0; height: var(--F);
  left: calc(50% - 50vw); width: 100vw; background: var(--floor-gradient);
}
.ly-head, .ly-list, .ly-next { position: relative; z-index: 2; }
.ly-head .h2 { max-width: 13em; }
.ly-stage {
  position: absolute; z-index: 1; bottom: 0; right: calc(var(--pad) * -1); width: calc(60% + var(--pad)); height: var(--S);
  pointer-events: none;
  /* The stage stops short of the viewport on both sides: fade its edges so a soft shadow never ends in a hard line. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 96%, transparent);
}
.ly-fallback, .ly-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ly-fallback { object-fit: contain; object-position: 50% 100%; transition: opacity .5s ease; }
.ly-canvas { opacity: 0; transition: opacity .5s ease; pointer-events: auto; touch-action: pan-y; }
.ly-stage.is-live .ly-canvas { opacity: 1; }
.ly-stage.is-live .ly-fallback { opacity: 0; }
.ly-stage.is-over .ly-canvas { cursor: pointer; }

.ly-list { margin-top: var(--head-gap); width: min(40%, 460px); }
.ly-list li {
  position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 4px; align-items: baseline;
  padding: 16px 0 17px;
  transition: opacity .4s var(--ease);
}
.ly-list li::before {
  content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--accent);
  transform-origin: left; transform: scaleX(0); transition: transform .4s var(--ease);
}
.ly-list .n { transition: color .4s var(--ease); }
.ly-list h3 { font-family: var(--display); font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; }
.ly-list button { text-align: left; }
.ly-list button::after { content: ''; position: absolute; inset: 0; }
.ly-list button:focus-visible { outline: none; }
.ly-list li:has(button:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ly-list p { grid-column: 2; margin-top: 6px; font-size: 16px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.ly-list.has-active li:not(.is-active) { opacity: .5; }
.ly-list li.is-active::before { transform: none; }
.ly-list li.is-active .n { color: var(--accent-text); }

.ly-next { position: absolute; left: 0; bottom: 0; height: var(--F); display: flex; align-items: center; }
.ly-next a {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.015em; transition: color .2s;
}
.ly-next svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.ly-next a:hover { color: var(--accent-text); }
.ly-next a:hover svg { transform: translateY(3px); }

@media (max-width: 899px) {
  .build { --S: clamp(360px, 106vw, 540px); padding-bottom: var(--section-y); }
  .ly { min-height: 0; padding-bottom: 0; }
  .ly::before { display: none; }
  /* Full bleed, sized by width so the object starts right under the text and fills the row. */
  .ly-stage {
    position: relative; right: auto; bottom: auto; width: auto; height: auto; aspect-ratio: 1.6;
    margin: 4px calc(var(--pad) * -1) 0; -webkit-mask-image: none; mask-image: none;
  }
  .ly-stage::before {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: var(--floor-gradient);
  }
  .ly-list { width: auto; margin-top: 0; }
  .ly-next { position: static; height: auto; padding: 28px 0 0; }
}

/* 6. Proof: one case told as a file. The story and the number on the left, the car mid-rebuild on the right. */
.pf {
  margin-top: var(--head-gap);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px);
}
.pf-story { display: flex; flex-direction: column; }
.pf-lede {
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -.015em; color: var(--body);
  max-width: 23em; text-wrap: pretty;
}
.pf-num { margin-top: auto; padding-top: 28px; }
.pf-val {
  margin: 14px 0 0 -.07em;
  font-family: var(--display);
  font-size: clamp(112px, 13vw, 184px); font-weight: 400; letter-spacing: -.03em; line-height: .82; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.pf-unit { margin-left: .14em; font-size: .4em; font-style: italic; letter-spacing: -.01em; color: var(--accent-text); }
.pf-specs { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.pf-specs div { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pf-specs dd { margin: 0; font-family: var(--display); font-size: clamp(19px, 1.8vw, 25px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; font-variant-numeric: lining-nums; }
.pf-specs s { color: var(--mute); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.pf-note { margin-top: 16px; }
.pf-fig { display: flex; flex-direction: column; }
.pf-plate { position: relative; flex: 1; min-height: 0; aspect-ratio: 4 / 3; }
.pf-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-plate .brk { inset: -10px; }
.pf-fig figcaption { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; }

.film-row {
  margin-top: clamp(56px, 6vw, 88px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.015em;
  transition: color .2s;
}
.film-row svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.film-row:hover { color: var(--accent-text); }
.film-row:hover svg { transform: translateX(3px); }

/* Pit stop cards: shared by the home "All stops" section and the use cases page.
   The grid takes any number of cards: 3 across, then 2, then 1. Each page keeps its own entrance. */
.stop-n { color: var(--accent-text); }
.stop-st { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.tb-st i, .stop-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); animation: ucPulse 2.4s ease-in-out infinite; }
.tb-st.is-done i, .stop-st.is-done i { background: var(--ink); box-shadow: none; animation: none; }
@keyframes ucPulse { 50% { box-shadow: 0 0 0 7px var(--accent-fade); } }
.uc-cards { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.uc-card {
  position: relative; display: flex; flex-direction: column; min-height: 228px; padding: 22px 22px 20px;
  background: var(--card-bg); border: 1px solid var(--hair); border-radius: 4px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.uc-card .brk { inset: -7px; opacity: 0; transition: opacity .3s var(--ease); }
.uc-card:hover { background: var(--card-bg-hover); border-color: var(--hair-strong); transform: translateY(-3px); }
.uc-card:hover .brk { opacity: 1; }
.uc-card-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .12em; }
.uc-card-top .stop-st { margin-left: 0; }
.uc-card-big { margin-top: 26px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .28em; font-family: var(--display); font-size: clamp(32px, 3.2vw, 46px); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; font-variant-numeric: lining-nums tabular-nums; }
.uc-card-big s { font-size: .46em; letter-spacing: 0; color: var(--mute); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.uc-card-big .arw { font-size: .44em; color: var(--accent-text); }
.uc-card-label { margin-top: 8px; font-size: 15px; color: var(--body); }
.uc-card-line { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.uc-card-go { margin-top: auto; padding-top: 16px; font-size: 12px; letter-spacing: .12em; color: var(--accent-text); }
.uc-card-go span { display: inline-block; transition: transform .3s var(--ease); }
.uc-card:hover .uc-card-go span { transform: translateY(3px); }
.stops .uc-card:hover .uc-card-go span { transform: translateX(3px); }
@media (max-width: 1023px) { .uc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 719px) {
  .uc-cards { grid-template-columns: 1fr; }
  .uc-card { min-height: 0; }
}

/* 6b. All stops: every pit stop as a card, under the featured one. A new stop is one more card. */
.stops { padding: var(--section-y) 0; }
.stops .uc-cards { margin-top: var(--head-gap); }

/* 7. Close: the headline and the button stand between the two inner observers, like the hero's resting state. */
.close-stage {
  position: relative; width: 100%; max-width: 1920px; margin: 0 auto; container-type: inline-size;
  /* The still's top 18.5% is empty wall: tuck it under How's bottom padding so the observers start one section break below. */
  margin-top: calc(var(--section-y) - min(100vw, 1920px) * .185);
}
.close-stage img {
  width: 100%; height: auto; mix-blend-mode: darken;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 88%, transparent 100%);
}
.close-band, .close-cta { position: absolute; left: 35%; width: 30%; display: flex; justify-content: center; text-align: center; }
.close-band { bottom: calc(28.5% + 48px + clamp(20px, 2cqw, 32px)); }
.close-band h2 { font-family: var(--display); font-size: clamp(26px, 2.6cqw, 50px); font-weight: 400; letter-spacing: -.018em; line-height: 1.06; }
.close-band h2 span { display: block; }
.close-cta { bottom: 28.5%; }

/* Footer: the brand, page links and copyright on one row, then the legal, contact and compliance rows.
   No rules: spacing and ink do the work. The legal rows live in pages.css. */
.site-footer { padding: 48px 0 56px; }
.site-footer .wrap { max-width: var(--maxw); width: calc(100% - var(--pad) * 2); margin: 0 auto; padding: 0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
/* Brand and page links read as one group on the left, copyright on the right, matching the legal and contact row below. */
.footer-top .footer-links { margin-left: 32px; margin-right: auto; }
.footer-links a { color: var(--mute); transition: color .2s; }
.copyright { font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--mute); font-variant-numeric: tabular-nums; }

/* Reveals */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .nav { gap: 24px; }
}
@media (max-width: 1023px) {
  :root { --pad: 32px; }
  .nav-links, .header-cta { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 899px) {
  .rf-head { grid-template-columns: 1fr; }
  .rf-quote { max-width: 20em; margin-bottom: 0; }
  .rf-fig { margin: 20px calc(var(--pad) * -1) 0; }
  .rf-ledger { margin-top: 12px; }

  .pf { grid-template-columns: 1fr; }
  .pf-fig { order: -1; }
  .pf-num { margin-top: 0; padding-top: 36px; }
}
@media (max-width: 719px) {
  :root { --pad: 16px; --header: 56px; }
  body { font-size: 16px; }
  .brand svg { height: 16px; }
  /* Mobile hero: the film at the width it has at 720 px (the car just bleeds off both edges, both observers
     stay in frame), directly under the left-aligned copy. Wall and floor dissolve into the page. */
  .hero-inner {
    --sw: calc(100cqw * 1.377);
    --sh: calc(var(--sw) * .749);
    min-height: 0; overflow-x: clip;
    grid-template-rows: var(--header) auto calc(var(--sh) - 64px);
    background: var(--wall);
  }
  .stage-media {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 24%, #000 90%, transparent 100%);
  }
  .hero-band { align-content: start; justify-items: start; text-align: left; padding: 44px var(--pad) 0; }
  .intro, .rest { align-items: flex-start; }
  .rest { height: 0; }
  .intro h1 { font-size: 40px; letter-spacing: -.02em; line-height: 1.04; max-width: 8.8em; }
  .intro .sub { margin-top: 18px; font-size: 19px; line-height: 1.35; }
  .intro .btn { margin-top: 28px; }
  .rest-title { font-size: 28px; }
  .rest-body { align-items: flex-start; margin-top: 20px; }
  /* Phone: the CTA stays under the title, the question stands above the four observers. */
  .rest-body p { position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(var(--sh) * .57); text-align: center; font-size: 24px; }
  .rest-body .btn { margin-top: 0; }
  .replay { right: 8px; bottom: 8px; }

  .rf-quote { font-size: 18px; }
  .rf-knob { width: 40px; height: 40px; margin: -20px 0 0 -20px; top: 30%; }
  .rf-knob::before { left: 10px; } .rf-knob::after { right: 10px; }
  .rf-ledger { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .rf-keep ul { grid-template-columns: 1fr; gap: 4px; }
  .rf-keep li, .rf-change p { font-size: 21px; }

  .pf-val { font-size: 104px; }
  .pf-specs div { padding-right: 8px; }
  .pf-specs dd { font-size: 18px; }
  .pf-fig figcaption { font-size: 11px; letter-spacing: .1em; }

  .close-stage { margin-top: var(--section-y); }
  .close-band { left: 0; width: 100%; top: 0; bottom: auto; height: 30%; align-items: center; padding: 0 var(--pad); }
  .close-band h2 { font-size: 28px; max-width: 7.6em; }
  .close-cta { position: static; width: auto; margin: 8px 0 24px; }

  /* Phone footer: brand, links, legal and contact, copyright. The top row opens up so the
     copyright can sit under the legal rows. */
  .site-footer { display: flex; flex-direction: column; padding: 40px 0 40px; }
  .site-footer .footer-top { display: contents; }
  .site-footer .brand { order: 0; align-self: flex-start; margin-left: var(--pad); }
  .footer-links, .site-footer .copyright { width: calc(100% - var(--pad) * 2); margin: 0 auto; }
  .footer-links { order: 1; gap: 0 24px; margin-top: 16px; }
  .footer-top .footer-links { margin: 16px auto 0; }
  .footer-links a { padding: 10px 0; font-size: 15px; }
  .site-footer .footer-meta { order: 2; }
  .site-footer .copyright { order: 3; margin-top: 28px; }
}
@media (max-width: 359px) {
  .btn { padding: 0 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}

/* Pit stop vs garage, under the Refound ledger */
.rf-pit { margin-top: var(--section-y); }
.rf-pit-title { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.rf-pit-title .accent { color: var(--accent-text); }
.rf-pit-grid { margin-top: var(--head-gap); display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.rf-pit-col { border-top: 1px solid var(--hair); padding-top: 16px; }
.rf-pit-col.is-us { border-top: 1.5px solid var(--accent); }
.rf-pit-col ul { margin-top: 14px; display: grid; gap: 10px; }
.rf-pit-col li { font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.015em; line-height: 1.3; color: var(--mute); }
.rf-pit-col.is-us li { color: var(--ink); font-weight: 500; }

/* Problems we solve: three pains on hairlines, between Refound and the crew */
.problems { padding: var(--section-y) 0; }
.pb-list { margin-top: var(--head-gap); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.pb-list li { border-top: 1px solid var(--hair); padding-top: 16px; }
.pb-list .n { color: var(--accent-text); }
.pb-list h3 { margin-top: 14px; font-family: var(--display); font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; letter-spacing: -.01em; line-height: 1.18; color: var(--ink); }
.pb-list p { margin-top: 8px; max-width: 26em; font-size: 16px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
@media (max-width: 899px) { .pb-list { grid-template-columns: 1fr; gap: 28px; } }

/* Crew roles: a name and a job under each icon */
.sq-a .sq-roles li { align-items: flex-start; }
.sq-roles p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--body); }

@media (max-width: 719px) {
  .rf-pit-grid { grid-template-columns: 1fr; gap: 24px; }
  .sq-a .sq-roles { grid-template-columns: 1fr; }
}

/* What we build: the HUD callout that follows the active slab during the pit stop cycle */
.ly-hud {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--label); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--hud-label-ink);
  opacity: 0; transition: opacity .35s var(--ease);
}
.ly-hud { padding: 8px 12px 8px 10px; border: 1px solid var(--hair); border-radius: 999px; background: var(--pill-bg); box-shadow: 0 6px 18px var(--shadow-soft); }
.ly-hud::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.ly-hud-n { color: var(--accent-text); }
.ly-hud-n:empty { display: none; }
.ly-hud.is-on { opacity: 1; }
@media (max-width: 719px) { .ly-hud { font-size: 11px; letter-spacing: .1em; } }
/* The opened stack is taller than the closed one: keep the header text in the left column so they never touch. */
@media (min-width: 900px) { .ly-head { max-width: 42%; } }
/* On narrow screens the stage is sized by width: give the opened stack enough height. */
@media (max-width: 899px) { .ly-stage { aspect-ratio: 1.02; } }

.pf-mono { color: var(--accent-text); margin-bottom: 14px; }
