/* =========================================================================
   Slingshot website v2 · shell stylesheet
   One file for every page: fonts, tokens, base, layout, type, buttons,
   data tags, the relayfi-style bar + mega sheet + phone sheet, films,
   footer, closing band, and the motion utilities (merged, per TECH-BASE).
   Every rule describes a FINAL state. Start states for motion live behind
   `.motion` (set in <head> only when JS runs and reduced motion is off).
   ========================================================================= */

/* ---------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-600-700.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/Inter-400-500.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/Inter-sym.woff2") format("woff2");
  unicode-range: U+394, U+2192, U+2197, U+25A0;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/JetBrainsMono-400-500.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/JetBrainsMono-sym.woff2") format("woff2");
  unicode-range: U+394, U+2192, U+2197, U+25A0;
}

/* --------------------------------------------------------------- tokens -- */
:root {
  --carbon: #1c1c1e;
  --stone: #f5f0eb;
  --white: #ffffff;
  --deep: #3a3a3c;
  --amber: #d97706; /* on light: fills only, never text */
  --amber-d: #f59e0b; /* on dark */
  /* v4b · the logo's heat inks (SPEC-V4 §2; a departure from the brand
     guide's amber-only accent, flagged for Chad). Text rules:
     rust only on Warm Stone / White, amber and peach only on dark */
  --heat-rust: #bf3a00;
  --heat-amber: #d97706;
  --heat-amber-d: #f59e0b;
  --heat-peach: #f7cfb2;
  /* v5.1 (Ethan): yellow on the left, where the eye lands, to orange */
  --heat-band: linear-gradient(100deg, #f7ae2e 0%, #f59e0b 34%, #e57a0b 70%, #d9590a 100%);
  --bg: #121214;
  --s1: #1c1c1e;
  --s2: #2c2c2e;
  --s3: #3a3a3c;
  --on-d: #f5f0eb;
  --on-d-82: rgba(245, 240, 235, 0.82);
  --on-d-60: rgba(245, 240, 235, 0.62);
  --rule-l: rgba(58, 58, 60, 0.12);
  --rule-d: rgba(245, 240, 235, 0.1);

  --f-display:
    "Space Grotesk", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --f-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;
  --f-mono:
    "JetBrains Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-hero: clamp(2.75rem, 1.1rem + 5.2vw, 5.96rem);
  --fs-d1: clamp(2.25rem, 1rem + 3.6vw, 4.768rem);
  --fs-d2: clamp(1.953rem, 1rem + 2.4vw, 3.815rem);
  --fs-statement: clamp(1.75rem, 0.9rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.563rem, 1.2rem + 0.9vw, 1.953rem);
  --fs-figure: clamp(3rem, 1.4rem + 5vw, 6rem);
  --fs-lede: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  --fs-body: 1rem;
  --fs-ui: 0.9375rem;
  --fs-tag: 0.6875rem;
  --fs-code: 0.875rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sling: cubic-bezier(0.6, -0.28, 0.2, 1);
  --dur-fast: 150ms;
  --dur-normal: 200ms;
  --dur-reveal: 500ms;
  --dur-sig: 700ms;
  --stagger: 80ms;

  --bar-h: 64px;
  --pad: 20px;
  --gut: 16px;
  --max: 1360px;
  --sheet-r: 24px;

  --plus-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%23F5F0EB' stroke-opacity='.32'/%3E%3C/svg%3E");
  --plus-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11'%3E%3Cpath d='M5.5 0v11M0 5.5h11' stroke='%233A3A3C' stroke-opacity='.4'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root {
    --pad: 40px;
    --gut: 24px;
  }
}
@media (min-width: 1280px) {
  :root {
    --pad: 64px;
    --fs-body: 1.0625rem;
  }
}

/* ----------------------------------------------------------------- base -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--carbon);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[hidden] {
  display: none !important;
}
img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 700;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
em,
i,
cite,
blockquote,
address {
  font-style: normal;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--amber-d);
  color: var(--carbon);
}

[id] {
  scroll-margin-top: calc(var(--bar-h) + 16px);
}

/* focus: carbon ring on light, amber on dark (brand-tokens' amber ring fails on stone) */
:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: 3px;
}
.dark :focus-visible {
  outline-color: var(--amber-d);
}
.light :focus-visible {
  outline-color: var(--carbon);
}

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--stone);
  color: var(--carbon);
  font: 500 var(--fs-ui) / 1 var(--f-body);
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform var(--dur-normal) var(--ease-out);
}
.skip:focus {
  transform: none;
  outline: 2px solid var(--amber-d);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------- layout -- */
.wrap {
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
}
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
}
.grid12 > * {
  grid-column: 1 / -1;
  min-width: 0;
}

.dark {
  background: var(--bg);
  color: var(--on-d);
}
.dark-1 {
  background: var(--s1);
  color: var(--on-d);
}
.light {
  background: var(--stone);
  color: var(--carbon);
}

/* rising Warm Stone sheet (24px top radius) */
.sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--sheet-r) * -1);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
}

/* exposed structure: hairlines at the container edges (>=1024) and plus
   ticks at the top corners (>=1360). Painted under the content. */
.rules {
  position: relative;
  isolation: isolate;
}
@media (min-width: 1024px) {
  .rules::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: calc(min(100% - var(--pad) * 2, var(--max)) + 11px);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
    --r: var(--rule-d);
    background:
      linear-gradient(var(--r), var(--r)) 5px 0 / 1px 100% no-repeat,
      linear-gradient(var(--r), var(--r)) calc(100% - 5px) 0 / 1px 100%
        no-repeat;
  }
  .light.rules::before,
  .light .rules::before {
    --r: var(--rule-l);
  }
}
@media (min-width: 1360px) {
  .rules::before {
    background:
      var(--plus-d) 0 0 / 11px 11px no-repeat,
      var(--plus-d) 100% 0 / 11px 11px no-repeat,
      linear-gradient(var(--r), var(--r)) 5px 0 / 1px 100% no-repeat,
      linear-gradient(var(--r), var(--r)) calc(100% - 5px) 0 / 1px 100%
        no-repeat;
  }
  .light.rules::before {
    background:
      var(--plus-l) 0 0 / 11px 11px no-repeat,
      var(--plus-l) 100% 0 / 11px 11px no-repeat,
      linear-gradient(var(--r), var(--r)) 5px 0 / 1px 100% no-repeat,
      linear-gradient(var(--r), var(--r)) calc(100% - 5px) 0 / 1px 100%
        no-repeat;
  }
}

/* static 3% film grain on dark beats */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ----------------------------------------------------------------- type -- */
.t-hero,
.t-d1,
.t-d2 {
  font-family: var(--f-display);
  font-weight: 700;
  text-wrap: balance;
}
.t-hero {
  font-size: var(--fs-hero);
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 12ch;
}
.t-d1 {
  font-size: var(--fs-d1);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 16ch;
}
.t-d2 {
  font-size: var(--fs-d2);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 18ch;
}
.t-statement {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-statement);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 24ch;
  text-wrap: pretty;
}
.t-h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.t-figure {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: var(--fs-figure);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums;
}
.t-lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  max-width: 52ch;
}
.dark .t-lede,
.dark-1 .t-lede {
  color: var(--on-d-82);
}
.light .t-lede {
  color: var(--carbon);
}
.t-body {
  font-size: var(--fs-body);
  line-height: 1.6;
  max-width: 68ch;
}

.mono,
.t-tag,
.tag,
.kicker {
  font-family: var(--f-mono);
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums;
}
.t-tag,
.kicker {
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
/* eyebrows, kickers and section numbers: peach on dark, rust on light */
.kicker {
  display: block;
  color: var(--heat-peach);
}
.light .kicker {
  color: var(--heat-rust);
}

/* --------------------------------------------------------- buttons/links -- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 var(--fs-ui) / 1 var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-normal) var(--ease-out),
    color var(--dur-normal) var(--ease-out),
    border-color var(--dur-normal) var(--ease-out),
    transform var(--dur-fast) var(--ease-sling);
}
.btn::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 9px;
  height: 2px;
  background: var(--amber-d);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-normal) var(--ease-out);
}
.btn:hover::after,
.btn:focus-visible::after {
  transform: scaleX(1);
}
.btn:active {
  transform: scale(0.98);
}
.btn-stone {
  background: var(--stone);
  color: var(--carbon);
}
.btn-stone::after {
  background: var(--heat-rust);
}
.btn-outline {
  border-color: rgba(245, 240, 235, 0.72);
  color: var(--stone);
  background: transparent;
}
.btn-outline:hover {
  background: var(--stone);
  color: var(--carbon);
  border-color: var(--stone);
}
.btn-outline:hover::after {
  background: var(--amber);
}
.btn-carbon {
  background: var(--carbon);
  color: var(--stone);
}
.btn-amber {
  background: var(--amber-d);
  color: var(--carbon);
}
.btn-amber::after {
  display: none;
}
.btn-amber:hover {
  background: #fbb33a;
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--dur-normal) var(--ease-out);
}
/* links: a peach underline on dark, rust on light */
.dark .tlink,
.dark-1 .tlink {
  text-decoration-color: var(--heat-peach);
}
.light .tlink {
  text-decoration-color: var(--heat-rust);
}
.dark .tlink:hover,
.dark-1 .tlink:hover,
.light .tlink:hover {
  text-decoration-thickness: 2px;
}

/* ------------------------------------------------------------ data tags -- */
.tag {
  display: inline-block;
  padding: 6px 8px;
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--stone);
  background: rgba(28, 28, 30, 0.78);
  border: 1px solid rgba(245, 240, 235, 0.4);
  border-radius: 2px;
}
.light .tag,
.tag-light {
  color: var(--carbon);
  background: var(--white);
  border-color: rgba(28, 28, 30, 0.3);
}
.tag-amber {
  color: var(--carbon) !important;
  background: var(--amber-d) !important;
  border-color: var(--amber-d) !important;
}
.light .tag-amber {
  background: var(--amber) !important;
  border-color: var(--carbon) !important;
}

/* ================================================================ BAR ==== */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  color: var(--stone);
  background: transparent;
  view-transition-name: site-header;
}
.bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--bar-h);
  background: var(--bg);
  border-bottom: 1px solid var(--rule-d);
  transition: opacity 200ms linear;
}
.bar.is-over::before {
  opacity: 0;
}
.bar.is-over.has-panel::before,
.bar.is-over.has-menu::before {
  opacity: 1;
}

.bar-in {
  position: relative;
  z-index: 61;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
}
.bar-mark {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  margin-left: -8.6px;
  border-radius: 2px;
}
.bar-mark img {
  width: 132px;
  height: 49px;
  object-fit: contain;
  /* Optical centering (2026-10-20): the artwork's visual mass sits ~3px below
     its box center at this size (tall thin mark tail, low wordmark), so the
     box-centered logo read as bottom-heavy in the bar. */
  transform: translateY(-3px);
}
.bar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  font: 500 var(--fs-ui) / 1 var(--f-body);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.bar-item > span {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms linear;
}
.bar-item:hover > span,
.bar-item:focus-visible > span,
.bar-item[aria-expanded="true"] > span,
.bar-item[aria-current="page"] > span {
  border-bottom-color: currentColor;
}
.bar-caret {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 200ms var(--ease-out);
}
.bar-item[aria-expanded="true"] .bar-caret {
  transform: rotate(180deg);
}
.bar-mid {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.bar-cta {
  min-height: 44px; /* v5.3: a 44px target */
  padding: 0 18px;
  font-size: 0.875rem;
}
.bar-cta::after {
  bottom: 9px;
  left: 18px;
  right: 18px;
}
.bar-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(245, 240, 235, 0.5);
  border-radius: 999px;
  font: 500 0.75rem / 1 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.bar-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.bar-toggle-bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 200ms var(--ease-out);
}
.bar.has-menu .bar-toggle-bars i:first-child {
  transform: translateY(2.5px) rotate(45deg);
}
.bar.has-menu .bar-toggle-bars i:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.bar-noscript {
  position: relative;
  z-index: 61;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
  padding: 12px 0;
  background: var(--bg);
  font-size: 0.875rem;
}

@media (max-width: 1023px) {
  .bar-nav,
  .bar-cta,
  .bar-mid {
    display: none;
  }
  .bar-toggle {
    display: inline-flex;
  }
}

/* ------------------------------------------------- mega sheet (>=1024) -- */
.bar-sheet {
  position: absolute;
  inset: var(--bar-h) 0 auto 0;
  z-index: 60;
  contain: layout;
  background: var(--s1);
  color: var(--stone);
  border-bottom: 1px solid var(--rule-d);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 120ms linear,
    transform 120ms var(--ease-out);
}
.bar-sheet.is-open {
  opacity: 1;
  transform: none;
}
.sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 56px;
  padding-block: 32px 40px;
  align-items: start;
}
.sheet-panels {
  position: relative;
  transition: height 200ms var(--ease-out);
}
.panel {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 120ms linear,
    visibility 0s linear 120ms;
}
.panel.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 120ms linear 40ms,
    visibility 0s;
}
.mrows {
  display: grid;
  gap: 4px;
}
.mrows-2 {
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.mrows-tight {
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-d);
}
.mrow {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 72px;
  padding: 12px 12px 10px;
  margin-inline: -12px;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 120ms linear;
}
.mrow-s {
  min-height: 56px;
  align-items: center;
}
.mrow:hover {
  background: var(--s2);
}
.mglyph {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 240, 235, 0.16);
  background: var(--bg);
  border-radius: 2px;
}
.glyph {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.5;
  stroke-linecap: square;
}
.mrow-txt {
  display: block;
  min-width: 0;
}
.mrow-t {
  display: block;
  font: 500 1rem / 1.25 var(--f-body);
  color: var(--stone);
}
.mrow-b {
  display: block;
  margin-top: 4px;
  font: 400 0.875rem / 1.4 var(--f-body);
  color: var(--on-d-60);
}

.mcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mcard {
  display: block;
  text-decoration: none;
  border-radius: 2px;
}
.mcard-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--s2);
}
.mcard-img picture {
  display: contents;
}
.mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transition: transform 400ms var(--ease-out);
}
.mcard:hover .mcard-img img {
  transform: scale(1.03);
}
.mcard-t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font: 600 1.125rem / 1.2 var(--f-display);
  letter-spacing: -0.01em;
}
.mcard-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--stone);
  stroke-width: 1.5;
}
.mcard-b {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--on-d-60);
}

.sheet-feature {
  display: grid;
  gap: 0;
}
.mfeat {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
  text-decoration: none;
  border: 1px solid var(--rule-d);
  border-radius: 2px;
}
.mfeat-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.mfeat:hover .mfeat-img img {
  transform: scale(1.04);
}
.mfeat-body {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 8px;
  padding: 48px 16px 16px;
  background: linear-gradient(
    to top,
    rgba(18, 18, 20, 0.94) 40%,
    rgba(18, 18, 20, 0)
  );
}
.mfeat-meta {
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--on-d-82);
}
.mfeat-t {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font: 600 1.1875rem / 1.15 var(--f-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.mfeat-arrow {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  fill: none;
  stroke: var(--amber-d);
  stroke-width: 1.75;
}
.mall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-top: 8px;
  font: 500 0.875rem / 1 var(--f-body);
  color: var(--on-d-82);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-d);
}
.mall:hover {
  color: var(--stone);
  border-bottom-color: var(--stone);
}
.mall svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ----------------------------------------------- phone sheet (<1024) -- */
.pm {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 59;
  background: var(--bg);
  color: var(--stone);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--rule-d);
}
.pm-in {
  width: min(100% - var(--pad) * 2, 720px);
  min-height: 100%;
  margin-inline: auto;
  padding: 8px 0 24px;
  display: flex;
  flex-direction: column;
}
.pm-in > * {
  animation: pm-in 200ms var(--ease-out) both;
}
.pm-in > .pm-cta {
  animation-delay: 60ms;
}
@keyframes pm-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pm-list > li {
  border-bottom: 1px solid var(--rule-d);
}
.pm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  text-decoration: none;
  font: 600 1.375rem / 1.1 var(--f-display);
  letter-spacing: -0.01em;
  cursor: pointer;
}
.pm-chev {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 200ms var(--ease-out);
}
.pm-row[aria-expanded="true"] .pm-chev {
  transform: rotate(180deg);
}
.pm-sub {
  display: grid;
  gap: 2px;
  padding-bottom: 16px;
}
.pm-sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  font: 500 1rem / 1.3 var(--f-body);
  text-decoration: none;
}
.pm-cta {
  margin-top: auto;
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
}
.pm-in .pm-cta {
  margin-top: 32px;
}
body.is-locked {
  overflow: hidden;
}

/* ========================================================= GRAVITY == */
/* SPEC-V3 §2, orbital instrumentation: every figure is a canvas drawn by
   js/gravity.js, with DOM tags it positions (translate) inside the figure.
   Without JS the figure shows a code-rendered still from a <noscript>. */
.gfig {
  position: relative;
}
.gcanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
html:not(.js) .gcanvas,
/* the stills carry their tags baked in; beat 2's chips and beat 6's
   ONE SYSTEM tag are live DOM in every mode */
html:not(.js) [data-gtag]:not(li):not(.ovh-one-tag) {
  display: none;
}
.gstill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gtag,
.glabel {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
}
.glabel {
  padding: 2px 5px;
  font: 500 0.625rem / 1.3 var(--f-mono);
  letter-spacing: 0.1em;
  font-variant-ligatures: none;
  color: var(--on-d-82);
  background: rgba(18, 18, 20, 0.72);
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
}
.light .glabel {
  color: var(--deep);
  background: rgba(245, 240, 235, 0.86);
}
/* a ring label that pops as a tag (beat 5's REINSURANCE) */
.glabel.is-tag {
  color: var(--stone);
  background: rgba(28, 28, 30, 0.78);
  border-color: rgba(245, 240, 235, 0.4);
}
/* a tag the engine has switched off is hidden whenever JS runs (reduced
   motion included); without JS the stills carry the tags. Beat 6's
   ONE SYSTEM tag is laid out by CSS, not the engine, and keeps its own
   pre/landing states (home.css) */
.js [data-gtag]:not(.is-on):not(.ovh-one-tag) {
  opacity: 0;
}
/* an optional tag with no clean spot gives way (js/gravity.js) */
[data-gtag].is-yield {
  opacity: 0 !important;
}
.motion [data-gtag].is-on {
  transition:
    opacity 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    color 240ms var(--ease-out);
}

/* ================================================================ FOOTER = */
/* the trajectory hairline stays in the top band, at least one wordmark
   x-height clear of the logo on every side (brand guide clear space) */
.foot {
  position: relative;
  padding: 120px 0 32px;
  overflow: hidden;
}
.foot-traj {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 140px;
  fill: none;
  stroke: rgba(245, 240, 235, 0.12);
  stroke-width: 1;
  pointer-events: none;
}
.foot-top {
  display: grid;
  gap: 24px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-d);
}
.foot-mark {
  display: inline-block;
  width: clamp(220px, 22vw, 280px);
  margin-left: calc(clamp(220px, 22vw, 280px) * -0.056);
}
.foot-mark img {
  width: 100%;
  height: auto;
}
.foot-line {
  max-width: 40ch;
  color: var(--on-d-82);
  font-size: var(--fs-body);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
  padding-block: 48px;
}
.foot-h {
  margin-bottom: 16px;
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--heat-peach);
}
.foot-col li + li {
  margin-top: 0;
}
/* v5.3: every footer link is a 44px target */
.foot-col a {
  display: inline-block;
  min-width: 44px;
  padding-block: 10px;
  line-height: 24px;
  color: var(--on-d-82);
  text-decoration: none;
  background: linear-gradient(var(--amber-d), var(--amber-d)) 0
    calc(100% - 8px) / 0 2px no-repeat;
  transition:
    color 150ms linear,
    background-size 200ms var(--ease-out);
}
.foot-col a:hover {
  color: var(--stone);
  background-size: 100% 2px;
}
.foot-mail {
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-variant-ligatures: none;
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-d);
}
.foot-copy {
  font: 500 var(--fs-tag) / 1.4 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--on-d-60);
}
.foot-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--on-d-82);
  text-underline-offset: 6px;
}
.foot-top-link:hover {
  color: var(--stone);
  text-decoration-color: var(--amber-d);
  text-decoration-thickness: 2px;
}
@media (min-width: 768px) {
  .foot-top {
    grid-template-columns: auto 1fr;
    gap: 48px;
  }
  .foot-line {
    justify-self: end;
    text-align: left;
  }
  .foot-cols {
    grid-template-columns: 2fr 1fr 1.4fr;
  }
}

/* ======================================================= CLOSING BAND == */
.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 160px) 0;
}
.closing-traj {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(245, 240, 235, 0.45);
  stroke-width: 1;
  pointer-events: none;
}
.closing-in {
  position: relative;
  display: grid;
  gap: 24px;
  justify-items: start;
}
.closing-in .btn {
  margin-top: 8px;
}
/* amber on light is #D97706 with a Carbon label (5.34:1), as on Home */
.light .btn-amber {
  background: var(--amber);
}
.light .btn-amber:hover {
  background: #e58a12;
}

/* ===================================================== MOTION UTILITIES = */
/* [data-reveal]: fade + 16px rise, once */
.motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}
.motion [data-reveal][data-stagger] {
  opacity: 1;
  transform: none;
}
.motion [data-reveal][data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
}
.motion [data-reveal][data-stagger].is-in > * {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
}

/* [data-lines]: masked line wrappers built after fonts load */
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.ln-i {
  display: block;
}

/* [data-wipe]: clip-path wipe up from the bottom edge */
.motion [data-wipe] {
  clip-path: inset(100% 0 0 0);
}
.motion [data-wipe].is-wiped {
  clip-path: inset(0 0 0 0);
  transition: clip-path 900ms var(--ease-out);
}

/* pinned scenes: final state by default; JS flips to "scrub" >=900px */
.m-scene {
  position: relative;
}
.motion .m-scene[data-state="scrub"] {
  height: calc(100svh + var(--len, 100vh));
}
.motion .m-scene[data-state="scrub"] > .m-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

/* view transitions between pages (240ms fade, header stays) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 240ms;
    animation-timing-function: var(--ease-out);
  }
}

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

/* ============================================================ HEAT (v4b) =
   SPEC-V4 §2. The tag that marks the reader's program or a decision takes
   a 1px heat border (peach on dark, rust on light); other tags stay
   neutral. Key figures: the Slingshot side of a comparison in amber (dark)
   or rust (light). */
.tag-heat {
  border-color: var(--heat-peach);
}
.light .tag-heat {
  border-color: var(--heat-rust);
}
.dark .heat-fig,
.dark-1 .heat-fig {
  color: var(--heat-amber-d);
}
.light .heat-fig {
  color: var(--heat-rust);
}

/* links in running text: a rust underline on light, peach on dark */
.light a:not(.btn):not(.mrow):not(.mcard):not(.mfeat) {
  text-decoration-color: var(--heat-rust);
}
.dark a:not(.btn):not(.mrow):not(.mcard):not(.mfeat),
.dark-1 a:not(.btn):not(.mrow):not(.mcard):not(.mfeat) {
  text-decoration-color: var(--heat-peach);
}

/* the one heat band per page (SPEC-V4 §2): the final call to action on a
   rust to amber field, the words on the rust end only (Stone on rust
   4.85:1). Home's #start and the closing partial on Team, Newsroom and the
   release. Phones run it top to bottom so the words stay on rust. */
.band {
  background: var(--heat-band);
  color: var(--carbon);
}
/* v5.1: Carbon words on the yellow end; the CTA a Carbon pill */
.band .t-d1,
.band .t-d2,
.band .t-lede {
  color: var(--carbon);
}
.band .btn-amber,
.band .btn-carbon {
  background: var(--carbon);
  color: var(--stone);
}
.band .btn-amber::after,
.band .btn-carbon::after {
  background: var(--amber-d);
}
.band :focus-visible {
  outline-color: var(--carbon);
}
.closing.band .closing-in {
  max-width: min(100%, 640px);
  margin-inline: max(var(--pad), (100% - var(--max)) / 2);
}
@media (max-width: 899px) {
  .band {
    background: linear-gradient(180deg, #f7ae2e 0%, #f59e0b 40%, #e57a0b 78%, #d9590a 100%);
  }
}

/* ============================================================ EMBARGO (v5)
   A launch-day slot: <x data-embargo="key" hidden> beside its visible
   fallback (.emb-fb). tools/embargo.py --apply fills the slot and drops
   its hidden attribute on 2026-10-22; the fallback then steps aside. */
.emb [data-embargo]:not([hidden]) ~ .emb-fb {
  display: none;
}

/* ========================================================= STARFIELD (v5.1)
   SPEC-V5.1 §B1: fine stars behind every dark section, pre-rendered
   (tools/starfield.py): two tiled layers, no JS, no rAF, no twinkle. Sparse
   and dim, so text contrast and the heat measure don't move. */
main section.dark,
main section.dark-1,
main article.dark,
main article.dark-1,
footer.foot {
  background-image: url("/assets/media/stars-a.webp"), url("/assets/media/stars-b.webp");
  background-size: 512px 512px, 768px 768px;
  background-position: 0 0, 211px 137px;
  background-repeat: repeat;
}
