/* East Slope — shared styles
   Side pages (engineering.html, defense.html): black ground, uppercase Archivo headings, IBM Plex Sans text,
   thin rules, one photo per page (the hero). Same system on both sides; the content tells them apart.
   Product imagery (Cradl renders and footage) is shown as framed, captioned figures: see "Cradl renders" below.
   Landing page (index.html) styles are at the end of this file. */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --text: #F3F4F5;
  --soft: #B3B9BF;
  --dim: #8A9299;
  --rule: rgba(255, 255, 255, .14);
  --rule-strong: rgba(255, 255, 255, .42);
  --field: rgba(255, 255, 255, .26);
  --ice: #A7C4DE;
  --ice-hi: #C6DAEC;
  --err: #E39A84;

  /* landing palette */
  --paper: #F4F5F7;
  --ink: #111418;
  --steel: #3B6B94;
  --night: #121619;
  --night-2: #1A2024;
  --night-line: #313A40;
  --frost: #E6E8EA;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;

  --wrap: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  /* Vertical rhythm: one rule. Every hairline divider has the same INK space on both sides: --pad from the last
     baseline (or the bottom edge of a button, frame or rule) down to the divider, and --pad from the divider down to
     the first cap. Text at the edge of a band is trimmed to its ink (see "Ink edges"), so the padding IS the gap you
     see. Phones and widescreens scale along one curve (56 px at 390, about 88 at 1287, 104 from 1700 up).
     A section head sits --head-gap above what it introduces (less than --pad, so the head groups with its content).
     --stack-gap: heading to copy to button, wherever they stack (phones), and copy to button beside a heading. */
  --pad: clamp(56px, 4vw + 36px, 104px);
  --head-gap: clamp(40px, 3vw + 20px, 64px);
  --stack-gap: clamp(32px, 1.6vw + 20px, 40px);
  --head-h: 72px;
  /* sticky side columns (contact, specifications, privacy contents) park this far below the top: under the header plus a breath */
  --stick-top: calc(var(--head-h) + 40px);
  --col-gap: clamp(24px, 2.6vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); color-scheme: dark; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
}
body:not(.landing) { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { text-wrap: balance; }
body:not(.landing) p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px;
  background: var(--white); color: var(--black); font-weight: 600; text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

/* Shared label voice: nav, buttons, small labels */
.nw { white-space: nowrap; }
.over, .nav a, .btn, .stat > span, .span, .mat, label, .label, .datasheet dt,
.who, .dev, .kind, .foot-links a, .files button {
  font-family: var(--display); font-weight: 600; font-stretch: 105%;
  letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.solid, .site-header.menu-open { background: var(--black); border-bottom-color: var(--rule); }
.bar { display: flex; align-items: center; gap: 40px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
/* Logo lockups are outlined SVG (brand/README.md). Size them by height only; width follows the artwork.
   logo-2 = two-line lockup (mark + EAST SLOPE + division), logo-1 = one-line lockup (mark + EAST SLOPE). */
.brand svg.logo { display: block; flex: none; width: auto; overflow: visible; }
.brand .logo-2 { height: 36px; }
.brand .logo-1 { height: 27.5px; }

/* J4 lockup is wider than J3F: never let the header squeeze it below spec (Nov 12 QA) */
.site-header .brand { flex: none; }
@media (min-width: 1081px) and (max-width: 1180px) { .site-header .bar { gap: 24px; } }
@media (max-width: 760px) { .site-header .bar { gap: 12px; } }

/* links never wrap inside themselves; the gap closes up a little just above the menu breakpoint so they fit on one line */
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(24px, 2.4vw, 36px); }
.nav a {
  font-size: .75rem; line-height: 20px; color: inherit; text-decoration: none; padding: 12px 0; white-space: nowrap;
  text-decoration-thickness: 1px; text-underline-offset: 8px;
}
.nav a:hover { text-decoration-line: underline; }
/* where you are: the current page, or the section in view (set by site.js) */
.nav a[aria-current="page"], .nav a.is-current {
  text-decoration-line: underline; text-decoration-color: var(--ice); text-decoration-thickness: 2px;
}
.nav .switch { position: relative; margin-left: 2px; padding-left: 36px; color: var(--ice); }
.nav .switch::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px;
  margin-top: -8px; background: var(--rule-strong);
}
.nav .m-only { display: none; }

.menu-btn {
  display: none; flex: none; margin-left: auto; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  place-content: center; gap: 7px; color: inherit; background: none; border: 0; cursor: pointer;
}
.menu-btn span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --head-h: 64px; }
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px; background: var(--black); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
  .nav a { font-size: 1.375rem; letter-spacing: .08em; padding: 20px 0; border-bottom: 1px solid var(--rule); }
  .nav a:hover { text-decoration: none; color: var(--ice); }
  .nav a[aria-current="page"], .nav a.is-current { text-decoration: none; color: var(--ice); }
  .nav .switch { margin: 28px 0 0; padding-left: 0; border-bottom: 0; font-size: .875rem; letter-spacing: .16em; }
  .nav .switch::before { display: none; }
  .nav .m-only { display: inline; }
  html:has(.site-header.menu-open) { overflow: hidden; }
}
@media (max-width: 760px) {
  .site-header .brand .logo-2 { height: 30px; }
}
@media (max-width: 359px) {
  .site-header .brand .logo-2 { height: 26px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 38px;
  font-size: .8125rem; color: var(--white); background: transparent; border: 2px solid var(--white);
  border-radius: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn { text-align: center; line-height: 1.35; }
@media (max-width: 420px) { .btn { padding: 12px 26px; letter-spacing: .14em; } }
.btn.ghost { border-color: rgba(255,255,255,.42); }
.btn.ghost:hover { border-color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero-actions .dl { margin-left: 10px; }
/* phones: buttons stack full width, the download link sits under them */
@media (max-width: 560px) {
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-actions .dl { justify-self: start; margin: 4px 0 0; }
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: transparent; color: var(--white); }

/* ---------- Hero (the page's one photo) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.photo { position: absolute; inset: 0; z-index: -2; background: var(--black); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* phones show a narrow slice of the 16:9 frame: keep the peaks in it */
@media (max-width: 760px) {
  .eng .photo img { object-position: 38% 50%; }
  .def .photo img { object-position: 60% 50%; }
}
/* if the photo fails to load, the hero falls back to a plain dark field */
.photo.empty img { display: none; }
.photo.empty {
  background:
    radial-gradient(70% 60% at 88% 8%, rgba(167,196,222,.13) 0%, rgba(167,196,222,.045) 45%, rgba(167,196,222,0) 75%),
    linear-gradient(180deg, #070B0F 0%, #030507 55%, #000 100%);
}
/* top band for the header, a left wash behind the headline, and a fade into the black page */
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 12%, rgba(0,0,0,0) 24%),
    linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.22) 42%, rgba(0,0,0,0) 68%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.72) 16%, rgba(0,0,0,.34) 44%, rgba(0,0,0,0) 70%);
}
@media (max-width: 760px) {
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 18%),
      linear-gradient(0deg, #000 0%, rgba(0,0,0,.8) 22%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.12) 76%, rgba(0,0,0,0) 100%);
  }
}
.hero-inner { width: 100%; padding-top: calc(var(--head-h) + 72px); padding-bottom: clamp(80px, 13vh, 136px); }
@media (max-width: 760px) { .hero-inner { padding-top: calc(var(--head-h) + 48px); padding-bottom: 56px; } }
.over { margin: 0 0 22px; font-size: .8125rem; letter-spacing: .2em; color: rgba(255,255,255,.78); }
.hero h1 {
  margin: 0 0 24px; max-width: 12ch; font-family: var(--display); font-weight: 700; font-stretch: 112%;
  font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: .98; letter-spacing: .005em; text-transform: uppercase;
}
/* phones: keep the eyebrow on one line; narrow phones (375 and below) also keep the headline to three */
@media (max-width: 430px) { .over { font-size: .75rem; letter-spacing: .14em; } }
@media (max-width: 385px) {
  .hero h1 { font-size: 2.75rem; }
}
/* 320-wide phones: the eyebrow (CRADL™ BY EAST SLOPE ENGINEERING) still fits the 280 px column on one line */
@media (max-width: 359px) { .over { font-size: .6875rem; letter-spacing: .12em; } }
.lede { margin: 0 0 40px; max-width: 46ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.84); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }

/* ---------- Section scaffolding ---------- */
section[id] { scroll-margin-top: var(--head-h); }
.section { padding: var(--pad) 0; }
/* no divider under the hero, or under the header on pages that start with a title block: those edges are already edges */
.hero + .section > .wrap::before, .page-top > .wrap::before { display: none; }
.section > .wrap { position: relative; }
.section > .wrap::before {
  content: ""; position: absolute; top: calc(-1 * var(--pad)); left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--rule);
}
.section h2 {
  margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.02; letter-spacing: .01em;
}
/* 320-wide phones: the longest one-word headline (SPECIFICATIONS) fits the 280 px column */
@media (max-width: 359px) { .section h2 { font-size: 1.75rem; } }
/* Section head: headline in columns 1-6, its paragraph in 7-12, top-aligned: the headline's cap line and the
   paragraph's first cap line are one line (both are trimmed to their ink, see "Ink edges"). Every two-column block
   on the site hangs from that line: heads, calls to action, datasheets, the legal contents and the contact form.
   Column 7 is the page's one right-hand line: the second option card, stop 03, the datasheets,
   the contact form and the privacy prose all start on it too. Phones stack headline over paragraph. */
.head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--stack-gap);
  align-items: start; margin-bottom: var(--head-gap);
}
.head h2, .head > h1 { grid-column: 1 / span 6; }
.head > p { grid-column: 7 / -1; margin: 0; max-width: 46ch; color: var(--soft); font-size: 1.125rem; }
h3 { margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
@media (max-width: 860px) {
  .head { grid-template-columns: minmax(0, 1fr); }
  .head h2, .head > h1, .head > p { grid-column: 1 / -1; }
}

/* ---------- Figures ---------- */
/* the stat row follows the hero's fade to black, so it needs less room above it than a ruled section
   (no divider there); below it, the divider gets the same --pad on both sides as every other */
.figures { padding-top: clamp(48px, 6vw, 88px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
/* no rule over each figure: a hairline on these pages only ever marks a section boundary, full width */
.stat { padding: 0; }
.stat b {
  display: block; font-family: var(--display); font-weight: 600; font-stretch: 100%;
  font-size: clamp(3.25rem, 6.6vw, 6.25rem); line-height: 1; letter-spacing: -.015em; font-variant-numeric: tabular-nums;
}
.stat > span { display: block; margin-top: 18px; font-size: .8125rem; color: var(--soft); text-wrap: balance; }
/* a counting figure (site.js) keeps its final width from the first frame, so the footnote mark after it never moves */
.count { display: inline-grid; }
.count::before { content: attr(data-final); visibility: hidden; }
.count::before, .count > span { grid-area: 1 / 1; }
/* Footnote marks (Apple's pattern): a raised asterisk on the figure that links to the note at the foot of the page.
   The visible box stays small; ::after widens the tap target to 44 px without moving the type. */
.stat b .mark { font-size: .42em; font-weight: 500; line-height: 0; vertical-align: .95em; margin-left: .04em; letter-spacing: 0; }
.mark a, a.fn { position: relative; color: inherit; text-decoration: none; }
.mark a::after, a.fn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.mark a:hover, a.fn:hover { color: var(--ice); }
.mark a:focus-visible, a.fn:focus-visible { outline-offset: 2px; }
/* The qualifier the claim can't stand without stays at the stat row (FTC: clear, conspicuous and next to the claim).
   The full note sits in .notes at the bottom of the page. */
.stats-qual {
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  color: var(--soft); font-size: .875rem; line-height: 1.6;
}
.stats-qual a { position: relative; color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; white-space: nowrap; }
.stats-qual a:hover { color: var(--ice); text-decoration-color: currentColor; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; row-gap: 40px; }
  .stats-qual { margin-top: 36px; }
}

/* ---------- Notes: footnotes at the foot of the page, above the footer (Apple's legal-footnote pattern) ---------- */
/* a quieter section: less room than --pad (the same on both sides of its ink), and the same hairline at its top edge as every section */
.notes { --notes-pad: clamp(40px, 2.4vw + 26px, 64px); padding: var(--notes-pad) 0; }
.notes > .wrap { position: relative; }
.notes > .wrap::before { content: ""; position: absolute; top: calc(-1 * var(--notes-pad)); left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.notes-title {
  margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-stretch: 105%;
  font-size: .6875rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--soft);
}
.note-list { list-style: none; margin: 0; padding: 0; }
/* The note keeps its leading asterisk as written. The asterisk hangs: the note is indented by .45em (the asterisk's
   width in IBM Plex Sans) and its first line pulled back by the same amount, so the text and the back link share one edge. */
.note { max-width: 92ch; padding-left: .45em; font-size: .8125rem; scroll-margin-top: calc(var(--head-h) + 32px); }
.note p { margin: 0; text-indent: -.45em; color: var(--dim); line-height: 1.65; transition: color .4s ease; }
.note:target p { color: var(--text); }
/* the 44 px tap box is taller than its ink: the caps' baseline sits 18 px above its foot (the arrow's stroke ends a
   px lower). It hangs those 18 px into the padding, so the notes end on their ink like every other band */
.note-back {
  display: flex; width: max-content; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; margin-bottom: -18px;
  font-family: var(--display); font-weight: 600; font-stretch: 105%; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--soft); text-decoration: none;
}
.note-back svg { width: 14px; height: 14px; flex: none; color: var(--ice); }
.note-back:hover { color: var(--white); }

/* ---------- Engineering: one insert, every stop ---------- */
.stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); }
.span { grid-row: 1; padding-top: 16px; border-top: 2px solid var(--white); font-size: .75rem; color: var(--white); }
.span.reuse { grid-column: 1 / 4; }
.span.oneway { grid-column: 4 / 5; border-top-color: var(--ice); color: var(--ice); }
.stop-list {
  grid-column: 1 / -1; grid-row: 2; list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.stop .n, .steps .n {
  display: block; margin-bottom: 18px; font-family: var(--display); font-weight: 500; font-stretch: 100%;
  font-size: 2.25rem; line-height: 1; color: var(--dim); font-variant-numeric: tabular-nums;
}
.stop h3 { font-size: 1.125rem; margin-bottom: 10px; }
.stop p { margin: 0; max-width: 30ch; color: var(--soft); font-size: 1rem; }
.stop .kind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) {
  .stops { display: block; }
  .span { display: none; }
  .stop-list { margin: 0; grid-template-columns: 1fr; }
  /* no rule under the last stop: the section rule follows, and two parallel hairlines read as a mistake */
  .stop { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 8px; padding: 24px 0; border-top: 1px solid var(--rule); }
  .stop:first-child { border-top-color: var(--rule-strong); }
  .stop:last-child { padding-bottom: 0; }
  .stop .n { grid-row: 1 / span 3; margin: 0; font-size: 1.5rem; }
  .stop p { max-width: none; }
  .stop .kind { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-top: 12px; font-size: .6875rem; color: var(--white); }
  .stop.last .kind { color: var(--ice); }
}

/* ---------- Engineering: two ways to order ---------- */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
/* no rule over each card: per-column rules drew a split line that read as a broken divider */
.option { padding: 0; }
/* text cards open with a big title: a little more room under the head than a picture gets
   (padding, not margin: a margin would collapse into the head's --head-gap and do nothing) */
@media (min-width: 761px) { .head + .options:not(.with-shots) { padding-top: 16px; } }
.option h3 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-stretch: 108%; letter-spacing: .01em; line-height: 1.04; }
.mat { margin: 16px 0 22px; font-size: .75rem; color: var(--ice); }
.option p:last-child { margin: 0; max-width: 38ch; color: var(--soft); font-size: 1.0625rem; }
/* side by side, the two cards share rows: if one title wraps, both labels and texts still start on one line.
   Without subgrid each card stays a plain block, as on phones. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .option { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  }
}
/* the closing line under a section's cards or steps: grouped with them by --head-gap, no rule of its own */
.also { margin: var(--head-gap) 0 0; color: var(--soft); font-size: 1rem; }
/* the links travel together: when the line wraps they start a new line flush left, never indented */
.also-links { display: inline-flex; flex-wrap: wrap; gap: 0 20px; }
.also a { position: relative; color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; white-space: nowrap; }
/* one-line text links that stand on their own: a 44 px tall tap area without moving the type */
.also a::after, .stats-qual a::after, .landing-legal a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.also a:hover { color: var(--ice); text-decoration-color: currentColor; }
@media (max-width: 760px) {
  .options { grid-template-columns: 1fr; row-gap: 48px; }
  /* the links take their own line(s); the last line's leading below the baseline hangs into the padding, so the
     section still ends on the baseline (text-box can't reach into a flex line, so a margin does it) */
  .also-links { display: flex; margin-top: 6px; margin-bottom: calc(.375em - .5lh); }
}

/* ---------- Call to action (trial, Cradl "Send us a part") ----------
   Same head grid: the headline centres on the paragraph, and the button hangs under the paragraph on column 7. */
/* .cta-side is a plain wrapper div (no role, never focused), so display: contents only lifts its paragraph and button
   into the head grid. Where display: contents isn't supported, its grid-column keeps the old layout: both under column 7,
   with the paragraph's bottom margin standing in for the grid's row-gap (--stack-gap). */
.head.cta { margin-bottom: 0; }
.cta-side { display: contents; grid-column: 7 / -1; }
.head.cta > h2 { grid-row: 1; }
.cta-side p { grid-column: 7 / -1; grid-row: 1; margin: 0 0 var(--stack-gap); max-width: 46ch; color: var(--soft); font-size: 1.125rem; }
@supports (display: contents) { .cta-side p { margin-bottom: 0; } }
.cta-side .btn { grid-column: 7 / -1; grid-row: 2; justify-self: start; }
@media (max-width: 860px) {
  .head.cta > h2, .cta-side, .cta-side p, .cta-side .btn { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Downloads: one pattern everywhere ----------
   <a class="dl" href="file.pdf" download type="application/pdf">
     <svg class="dl-i">…</svg><span class="dl-name">Sell sheet</span><span class="dl-meta">PDF · 2 pages</span></a>
   On its own (hero, contact column, footer) it is a quiet link. Inside .dl-list it is a full-width row. */
.dl {
  display: inline-flex; align-items: center; gap: 10px 12px; min-height: 44px;
  color: var(--white); text-decoration: none;
}
.dl-i { width: 18px; height: 18px; flex: none; color: var(--ice); transition: transform .2s ease; }
.dl-name {
  font-family: var(--display); font-weight: 600; font-stretch: 105%; letter-spacing: .16em; text-transform: uppercase;
  font-size: .75rem; line-height: 1.35;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 6px;
  transition: text-decoration-color .2s ease;
}
.dl-meta { font-size: .8125rem; line-height: 1.35; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dl:hover .dl-name { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) { .dl:hover .dl-i { transform: translateY(2px); } }

.dl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.dl-list li { border-bottom: 1px solid var(--rule); }
.dl-list .dl { display: flex; width: 100%; min-height: 68px; padding: 12px 0; gap: 16px; }
.dl-list .dl-i { width: 20px; height: 20px; }
.dl-list .dl-name { font-weight: 700; font-stretch: 106%; font-size: .9375rem; letter-spacing: .08em; text-wrap: balance; }
.dl-list .dl-meta { margin-left: auto; padding-left: 8px; }
.dl-list .dl:hover .dl-name { color: var(--ice); text-decoration-color: transparent; }
.dl-list .dl:focus-visible { outline-offset: 2px; }
@media (max-width: 560px) { .dl-list .dl-name { font-size: .875rem; letter-spacing: .06em; } }

/* Engineering: downloads under the trial call to action */
.downloads {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 24px;
  align-items: start; margin-top: clamp(72px, 8vw, 112px);
}
.downloads h3 { grid-column: 1 / span 6; padding-top: 21px; font-size: 1.375rem; }
.downloads .dl-list { grid-column: 7 / -1; }
@media (max-width: 860px) {
  .downloads { grid-template-columns: 1fr; }
  .downloads h3, .downloads .dl-list { grid-column: 1 / -1; }
  .downloads h3 { padding-top: 0; }
}
/* the same rows in a side column (Cradl specifications, Defense company data, contact columns) */
.side-files { margin-top: 36px; max-width: 30rem; }
.contact-side .read-first { margin: 40px 0 0; font-size: 1rem; }
.read-first + .side-files { margin-top: 12px; }

/* ---------- About: one line ---------- */
.statement {
  margin: 0; max-width: 24ch; font-family: var(--display); font-weight: 500; font-stretch: 104%;
  font-size: clamp(1.75rem, 3.9vw, 3.375rem); line-height: 1.14; letter-spacing: -.005em; color: var(--text);
  text-wrap: balance;
}

/* ---------- Defense: services ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.svc { border-top: 1px solid var(--rule-strong); padding-top: 32px; }
.svc h3 { font-size: 1.375rem; margin-bottom: 14px; }
.svc p { margin: 0; max-width: 34ch; color: var(--soft); }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; row-gap: 48px; }
}

/* ---------- Defense: seven steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 20px; }
.steps li { border-top: 1px solid var(--rule-strong); padding-top: 28px; }
.steps li.yours { border-top: 2px solid var(--ice); padding-top: 27px; }
.steps .t { display: block; font-family: var(--display); font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .05em; font-size: .9375rem; line-height: 1.35; }
.who { display: block; margin-top: 10px; font-size: .6875rem; color: var(--ice); }
.steps .yours .n { color: var(--ice); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 48px; column-gap: var(--col-gap); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li, .steps li.yours { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--rule); }
  .steps li:last-child { border-bottom: 1px solid var(--rule); }
  .steps .n { grid-row: 1 / span 2; margin: 0; font-size: 1.5rem; }
  .who { margin-top: 6px; }
}

.report {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px;
  margin-top: clamp(80px, 9vw, 128px);
}
.report-head { grid-column: 1 / span 5; }
.report-head h3 { font-size: 1.375rem; margin-bottom: 14px; }
.report-head p { margin: 0; max-width: 30ch; color: var(--soft); }
/* report fields: field name | what it records. Two columns on wide screens, stacked on phones */
.fields { grid-column: 7 / -1; margin: 0; border-top: 1px solid var(--rule-strong); }
.fields > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 32px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.fields dt { font-family: var(--display); font-weight: 500; font-stretch: 104%; font-size: 1.125rem; line-height: 1.3; color: var(--white); }
.fields dd { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--soft); }
@media (max-width: 560px) {
  .fields > div { grid-template-columns: 1fr; padding: 18px 0; }
}

/* ---------- Cradl explainer page ---------- */
/* Page title block (Cradl, Privacy): the eyebrow sits above the head grid, so the paragraph centres on the h1 alone */
.page-top { padding-top: calc(var(--head-h) + 1px + var(--pad)); }   /* under the header and its 1 px hairline, --pad to the eyebrow's caps */
.page-top .over { margin-bottom: 18px; }
.page-top .head:last-child { margin-bottom: 0; }
.page-h1 {
  margin: 0; font-family: var(--display); font-weight: 700; font-stretch: 112%; text-transform: uppercase;
  font-size: clamp(2.75rem, 6.4vw, 5.75rem); line-height: .98; letter-spacing: .005em;
}
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--col-gap); }
.steps .d { display: block; margin-top: 12px; color: var(--soft); font-size: .9375rem; line-height: 1.5; max-width: 28ch; }
/* Side by side, the steps share rows (number, title, description) so every description starts on one line even
   when a title wraps. The "You sign off" tag moves up beside its step number. Without subgrid each step stays a
   plain block, with the tag under its title. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .steps.five li { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .steps.five .n { grid-area: 1 / 1; margin-bottom: 18px; }
    .steps.five .t { grid-area: 2 / 1; }
    .steps.five .d { grid-area: 3 / 1; }
    .steps.five .who { grid-area: 1 / 1; justify-self: end; align-self: start; margin: 12px 0 0; }
  }
}
/* 3 across: the second band is spaced by a margin, not row-gap (each step spans three rows, and a row-gap would
   also open up between a step's own number, title and description) */
@media (max-width: 1100px) {
  .steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .steps.five li:nth-child(n+4) { margin-top: 48px; }
}
@media (max-width: 640px) {
  .steps.five { grid-template-columns: 1fr; row-gap: 0; }
  .steps.five li:nth-child(n+4) { margin-top: 0; }
  .steps.five li:first-child { border-top-color: var(--rule-strong); }
  .steps.five li:last-child { border-bottom: 0; padding-bottom: 0; }
  .steps.five .d { grid-column: 2; max-width: none; }
  .steps.five .n { grid-row: 1 / span 3; }
}
/* ---------- Order steps v2: one rail, a node per step (cradl.html "How an order works", engineering.html "How ordering works") ----------
   The rail runs through every step; your steps (.yours) get a filled ice node. Same markup as before. */
.steps.five { position: relative; }
.steps.five li, .steps.five li.yours { position: relative; border-top: 0; padding-top: 30px; }
.steps.five::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--rule-strong); }
.steps.five li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--rule-strong); box-sizing: border-box;
}
.steps.five li.yours::before { background: var(--ice); border-color: var(--ice); box-shadow: 0 0 0 4px rgba(167, 196, 222, .14); }
.steps.five .n { font-size: 1.5rem; }
@media (max-width: 1100px) {
  .steps.five::before { display: none; }
  .steps.five li { border-top: 1px solid var(--rule-strong); }
  .steps.five li::before { top: -6px; }
}
@media (max-width: 640px) {
  /* phones: the rail runs down the left, through the step numbers */
  .steps.five::before { display: block; left: 5px; right: auto; top: 26px; bottom: 26px; width: 1px; height: auto; }
  .steps.five li, .steps.five li.yours { border-top: 0; padding: 18px 0 18px 30px; grid-template-columns: 3rem minmax(0, 1fr); }
  .steps.five li:last-child { border-bottom: 0; }
  .steps.five li::before { top: 26px; }
  .steps.five .n { font-size: 1.25rem; }
  /* the first step starts right under the head, like any other content (its dot and the rail move up with it) */
  .steps.five li:first-child { padding-top: 0; }
  .steps.five li:first-child::before, .steps.five::before { top: 8px; }
}

/* ---------- Bento (cradl.html "What it replaces"): the exploded render with the three points around it ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.bento .cell { position: relative; padding: 28px 28px 30px; background: #06080A; border: 1px solid var(--rule); }
.bento .cell.big { grid-column: 1 / span 8; grid-row: 1 / span 2; padding: 0; background: none; border: 0; }
.bento .cell.big .frame { border-color: var(--rule); }
.bento .cell.big figcaption { margin-top: 12px; }
.bento .cell:not(.big) { grid-column: 9 / -1; }
.bento .cell.wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
.bento .cell.wide .tag { grid-column: 1 / span 1; }
.bento .cell.wide h3 { grid-column: 2 / span 3; margin: 0; }
.bento .cell.wide p { grid-column: 5 / -1; }
.bento .tag { display: block; margin-bottom: 18px; font-family: var(--display); font-weight: 600; font-stretch: 105%; font-size: .75rem; letter-spacing: .16em; color: var(--ice); }
.bento h3 { font-size: 1.25rem; margin-bottom: 12px; }
.bento p { margin: 0; color: var(--soft); max-width: 46ch; }
@media (max-width: 1100px) {
  .bento .cell.big { grid-column: 1 / -1; grid-row: auto; }
  .bento .cell:not(.big) { grid-column: span 6; }
  .bento .cell.wide { grid-column: 1 / -1; display: block; }
  .bento .cell.wide h3 { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  .bento .cell:not(.big) { grid-column: 1 / -1; }
  .bento .cell { padding: 24px 22px 26px; }
}

/* ---------- How it works (cradl.html): the scroll-driven exploded view ----------
   Static (no JS, reduced motion): the fully exploded frame beside the four beats. With .is-scrub (site.js) the track
   is tall, the stage sticks under the header, and the canvas draws the frame for how far the track has scrolled. */
.scrub-stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; align-items: center; }
.scrub-media { grid-column: 6 / -1; grid-row: 1; margin: 0; }
.scrub-media .frame { aspect-ratio: 1 / 1; margin-inline: auto; background: #030405; }
.scrub-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.scrub-rail { display: none; }
.scrub-beats { grid-column: 1 / span 5; grid-row: 1; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.scrub-beats li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 8px; align-content: start; padding: 22px 0 22px 18px; border-bottom: 1px solid var(--rule); }
.scrub-beats li::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px; background: var(--ice); }
.scrub-beats .n { grid-row: 1 / span 2; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.2; color: var(--dim); font-variant-numeric: tabular-nums; }
.scrub-beats .t { font-family: var(--display); font-weight: 700; font-stretch: 106%; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; line-height: 1.35; }
.scrub-beats .d { margin-top: 6px; color: var(--soft); font-size: 1rem; line-height: 1.5; }
@media (max-width: 860px) {
  .scrub-media, .scrub-beats { grid-column: 1 / -1; }
  .scrub-beats { grid-row: 2; }
  /* the list closes the section: no rule parallel to the divider, and it ends on the last beat's baseline */
  .scrub-beats li:last-child { border-bottom: 0; padding-bottom: 0; }
  .scrub-beats li:last-child::before { bottom: 0; }
  .scrub-beats li:last-child .d { text-box: trim-end cap alphabetic; }
}
.scrub.is-scrub .scrub-track { height: 300vh; height: 300svh; }
/* the stage's empty room above and below its centred content, measured by site.js, given back to the page: unpinned,
   the picture sits --head-gap under the heading and the next divider --pad under the last beat, as everywhere else */
.scrub.is-scrub .scrub-track { margin-top: calc(-1 * var(--scrub-lead, 0px)); margin-bottom: calc(-1 * var(--scrub-tail, 0px)); }
.scrub.is-scrub .scrub-stage {
  position: sticky; top: var(--head-h); min-height: calc(100vh - var(--head-h)); min-height: calc(100svh - var(--head-h));
  padding-block: 20px; align-content: center;
}
.scrub.is-scrub .scrub-media .frame { width: min(100%, calc(100svh - var(--head-h) - 72px)); }
.scrub.is-scrub .scrub-media img { opacity: 0; }
.scrub.is-scrub.ready .scrub-media canvas { opacity: 1; }
.scrub.is-scrub .scrub-rail { display: block; position: relative; height: 2px; margin: 14px auto 0; width: min(100%, calc(100svh - var(--head-h) - 72px)); background: var(--rule); overflow: hidden; }
.scrub.is-scrub .scrub-rail span { position: absolute; inset: 0; background: var(--ice); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.scrub.is-scrub .scrub-beats .t, .scrub.is-scrub .scrub-beats .d { color: var(--dim); transition: color .35s ease; }
.scrub.is-scrub .scrub-beats li::before { opacity: 0; transition: opacity .35s ease; }
.scrub.is-scrub .scrub-beats li.on .t { color: var(--white); }
.scrub.is-scrub .scrub-beats li.on .d { color: var(--soft); }
.scrub.is-scrub .scrub-beats li.on .n { color: var(--ice); }
.scrub.is-scrub .scrub-beats li.on::before { opacity: 1; }
/* phones: the picture on top, and one beat at a time under it (all four share one cell, so nothing moves) */
@media (max-width: 860px) {
  .scrub.is-scrub .scrub-stage { row-gap: 14px; align-content: center; }
  .scrub.is-scrub .scrub-media .frame { width: min(100%, calc(100svh - var(--head-h) - 300px)); }
  .scrub.is-scrub .scrub-rail { width: min(100%, calc(100svh - var(--head-h) - 300px)); }
  .scrub.is-scrub .scrub-beats { display: grid; border-top: 0; }
  .scrub.is-scrub .scrub-beats li { grid-area: 1 / 1; opacity: 0; border-bottom: 0; padding-top: 6px; padding-bottom: 0; transition: opacity .3s ease; }
  /* the beat ends on its baseline (so does the stage, and the section after it) */
  .scrub.is-scrub .scrub-beats li::before { bottom: 0; }
  .scrub.is-scrub .scrub-beats .d { text-box: trim-end cap alphabetic; }
  .scrub.is-scrub .scrub-beats li.on { opacity: 1; }
}
/* the section after the track needs no extra rule gap: the stage has already scrolled away */

/* ---------- Heading reveal (site.js): words rise into place as a heading scrolls into view. Reduced motion: off ---------- */
.rv .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
/* (revealed headings take their ink trim from margins, not text-box: see "Ink edges") */
.rv .w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; transition-delay: calc(var(--i, 0) * 45ms); }
.rv.in .w > span { transform: none; opacity: 1; }

/* ---------- Phones: a quote button pinned to the bottom of /cradl (site.js shows it between the title and "Send us a part") ---------- */
.quote-bar { display: none; }
@media (max-width: 760px) {
  .quote-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .9); border-top: 1px solid var(--rule);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .3s ease; visibility: hidden;
  }
  .quote-bar.on { transform: none; visibility: visible; }
  .quote-bar .btn { width: 100%; min-height: 48px; }
  /* the pinned stage keeps its content clear of the quote bar */
  body:has(.quote-bar) .scrub.is-scrub .scrub-stage { padding-bottom: 84px; }
}

/* ---------- /cradl title block: a fine engineering grid behind the title, fading out (no image, no motion) ---------- */
.page-top.grid-bg { position: relative; isolation: isolate; }
.page-top.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 0%, transparent 75%);
}

.naics.per-tote b { min-width: 2.2em; }
.per-tote-note { margin: 0 0 10px; }
.nav a[aria-current="page"] { color: var(--ice); }

/* ---------- Cradl renders and product footage (cradl.html, engineering.html) ----------
   Real Cradl imagery shown as product media, never as background:
     <figure class="media"><div class="frame"><picture>…</picture></div><figcaption><span class="k">Render</span>…</figcaption></figure>
   A clip (.media.clip) adds a muted <video> over its poster <picture> and a play/pause button; site.js plays it only
   while it's on screen. The frame holds the asset's aspect ratio from first paint, so nothing moves when it loads.
   Files: assets/img/cradl/, assets/video/cradl/ (built by tools/cradl-media.js). */
.media { margin: 0; }
.frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #05080B; border: 1px solid var(--rule); }
.frame.square { aspect-ratio: 1 / 1; }
.frame picture, .frame img, .frame video { display: block; width: 100%; height: 100%; }
.frame img, .frame video { object-fit: cover; }
/* cutouts (transparent PNG/WebP) sit on one shared studio sweep, so both colourways are lit and framed alike */
.frame.studio { background: radial-gradient(ellipse 62% 75% at 50% 45%, #787D82 0%, #282C30 100%); border-color: transparent; }
.media figcaption { margin-top: 14px; max-width: 76ch; color: var(--soft); font-size: .9375rem; line-height: 1.5; }
.media figcaption .k {
  margin-right: 12px; font-family: var(--display); font-weight: 600; font-stretch: 105%;
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ice);
}
/* a figure under the content it illustrates */
.media-after { margin-top: clamp(48px, 5.5vw, 80px); }
/* two figures side by side (packing and unpacking) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; align-items: start; }
/* a 16:9 clip beside a square still: columns 16:9 so both frames come out the same height */
.fit-grid { display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); column-gap: var(--col-gap); row-gap: 40px; align-items: start; }
@media (max-width: 760px) {
  .duo, .fit-grid { grid-template-columns: minmax(0, 1fr); }
}
/* dimension drawing: 16:9 on wide screens, the 4:5 version on phones so the numbers stay readable */
.dims .frame { background: #141719; }
@media (max-width: 760px) { .dims .frame { aspect-ratio: 4 / 5; } }
/* two kinds: each card leads with its colourway, the title under the picture */
.option .shot { margin-bottom: 32px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) { .options.with-shots .option { grid-row: span 4; } }
}
/* a text link that leads on to another page */
a.more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; vertical-align: middle;
  font-family: var(--display); font-weight: 600; font-stretch: 105%; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.head > p a.more { display: flex; width: max-content; margin-bottom: -18px; }   /* the 44 px tap box hangs 18 px below the caps, into --head-gap */
a.more svg { width: 16px; height: 16px; flex: none; color: var(--ice); transition: transform .2s ease; }
a.more:hover { color: var(--ice); }
@media (prefers-reduced-motion: no-preference) { a.more:hover svg { transform: translateX(3px); } }

/* clips: the poster shows until the video is actually playing (site.js adds .js, then .live) */
.clip video { position: absolute; inset: 0; background: transparent; }
.clip.js video { opacity: 0; transition: opacity .25s ease; }
.clip.js.live video { opacity: 1; }
.clip-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--white);
  background: rgba(0, 0, 0, .5); border: 1.5px solid rgba(255, 255, 255, .62); border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease;
}
.clip-btn:hover { background: rgba(0, 0, 0, .72); border-color: var(--white); }
.clip-btn:focus-visible { outline-offset: 3px; }
.clip-btn svg { width: 18px; height: 18px; fill: currentColor; }
.clip-btn .i-pause, .clip-btn .i-replay { display: none; }
.clip-btn[data-state="playing"] .i-play, .clip-btn[data-state="ended"] .i-play { display: none; }
.clip-btn[data-state="playing"] .i-pause, .clip-btn[data-state="ended"] .i-replay { display: block; }
/* reduced motion or Data Saver: nothing plays on its own, so the poster gets a clear play button in the middle */
.clip[data-calm] .clip-btn[data-state="idle"] { right: 50%; bottom: 50%; width: 64px; height: 64px; transform: translate(50%, 50%); background: rgba(0, 0, 0, .66); border-color: var(--white); }
.clip[data-calm] .clip-btn[data-state="idle"] svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .clip-btn { right: 10px; bottom: 10px; } }

/* ---------- Defense: simulated test videos ---------- */
.demo { margin-top: clamp(72px, 8vw, 112px); }
.demo-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 12px; align-items: end; margin-bottom: 28px; }
.demo-head h3 { grid-column: 1 / span 6; font-size: 1.375rem; }
.demo-head p { grid-column: 7 / -1; margin: 0; max-width: 46ch; color: var(--soft); }
.demo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.demo-tabs button {
  display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px 0; margin: 0; text-align: left; cursor: pointer;
  font: inherit; font-size: .9375rem; line-height: 1.35; color: var(--soft); background: none; border: 0; border-top: 2px solid transparent; margin-top: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.demo-tabs button b { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: 1rem; letter-spacing: .08em; color: var(--white); }
.demo-tabs button i { font-style: normal; font-size: .8125rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.demo-tabs button:hover { color: var(--white); }
.demo-tabs button[aria-selected="true"] { color: var(--white); border-top-color: var(--ice); }
.demo-tabs button[aria-selected="true"] b { color: var(--ice); }
.demo-tabs button:focus-visible { outline-offset: -2px; }
.demo-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: 8px; background: #05080B; border: 1px solid var(--rule); }
@media (max-width: 860px) {
  .demo-head { grid-template-columns: 1fr; }
  .demo-head h3, .demo-head p { grid-column: 1 / -1; }
  .demo-tabs { grid-template-columns: 1fr 1fr; }
}
/* phones: one row per test, letter | title | length */
@media (max-width: 560px) {
  .demo-tabs { grid-template-columns: 1fr; border-top: 0; }
  .demo-tabs button {
    grid-template-columns: 3.5rem minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline;
    min-height: 56px; padding: 16px 0; margin: 0; border-top: 1px solid var(--rule);
  }
  .demo-tabs button:last-child { border-bottom: 1px solid var(--rule); }
  .demo-tabs button[aria-selected="true"] { border-top-color: var(--rule); box-shadow: inset 0 2px 0 var(--ice); }
  .demo-tabs button i { padding-left: 8px; }
  .demo-video { margin-top: 20px; }
}
@media (max-width: 860px) {
  .report { grid-template-columns: 1fr; }
  .report-head, .fields { grid-column: 1 / -1; }
}

/* ---------- Defense: threats ---------- */
.threats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
.threats li {
  padding: 26px 0 28px; border-top: 1px solid var(--rule);
  font-family: var(--display); font-weight: 500; font-stretch: 104%; font-size: 1.25rem; line-height: 1.3;
}
.threats li:nth-child(-n+3) { border-top-color: var(--rule-strong); }
.dev { display: block; margin-top: 8px; font-size: .6875rem; color: var(--ice); }
@media (max-width: 860px) {
  .threats { grid-template-columns: 1fr; }
  .threats li:nth-child(-n+3) { border-top-color: var(--rule); }
  .threats li:first-child { border-top-color: var(--rule-strong); }
  .threats li:last-child { border-bottom: 1px solid var(--rule); }
  .threats li { padding: 22px 0; font-size: 1.125rem; }
}

/* ---------- Defense: company data ---------- */
.company { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.company-side { grid-column: 1 / span 5; }
/* the intro stays in view while the long datasheet beside it scrolls past */
@media (min-width: 861px) { .company-side { position: sticky; top: var(--stick-top); } }
.company-side h2 { margin-bottom: 24px; }
.company-side p { max-width: 36ch; color: var(--soft); font-size: 1.125rem; }
.company-side p:last-child { margin-bottom: 0; }
.datasheet { grid-column: 7 / -1; margin: 0; border-bottom: 1px solid var(--rule); }
.datasheet > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
.datasheet > div:first-child { border-top-color: var(--rule-strong); }
.datasheet dt { font-size: .75rem; line-height: 1.5; color: var(--dim); padding-top: 3px; text-wrap: balance; }
.datasheet dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.datasheet a { text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.datasheet a:hover { color: var(--ice); }
.naics { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.naics b { display: inline-block; min-width: 4.6em; font-weight: 500; }
.naics span { color: var(--soft); }
@media (max-width: 860px) {
  .company { grid-template-columns: 1fr; }
  .company-side, .datasheet { grid-column: 1 / -1; }
  /* stacked, a closing rule would run parallel to the section divider --pad below it: end on the last baseline */
  .section .datasheet:last-child { border-bottom: 0; }
  .section .datasheet:last-child > div:last-child { padding-bottom: 0; }
  .section .datasheet:last-child > div:last-child dd { text-box: trim-end cap alphabetic; }
}
@media (max-width: 480px) {
  .datasheet div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Contact + file upload ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; }
.contact-side { grid-column: 1 / span 5; align-self: start; }
@media (min-width: 961px) { .contact-side { position: sticky; top: var(--stick-top); } }
.contact-side h2 { margin-bottom: 24px; max-width: 12ch; }
.contact-side p { max-width: 36ch; color: var(--soft); font-size: 1.125rem; }
.reach { margin: 26px 0 0; }
.reach a { display: inline-block; padding: 10px 0; color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.reach a:hover { color: var(--ice); }
#contact-form { grid-column: 7 / -1; }
@media (max-width: 960px) {
  .contact { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .contact-side, #contact-form { grid-column: 1 / -1; }
}

form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
label, .label { font-size: .75rem; color: var(--soft); }
input, select, textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; margin: 0;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--white);
  background: transparent; border: 1px solid var(--field); border-radius: 0;
  color-scheme: dark; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  padding-right: 44px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E") right 18px center / 12px 8px no-repeat;
}
select option { background: #111; color: #fff; }
input::placeholder, textarea::placeholder { color: #747C83; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.45); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--white); box-shadow: 0 0 0 1px var(--white); }
textarea { min-height: 148px; resize: vertical; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.drop {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 30px 20px 32px; text-align: center;
  border: 1px dashed rgba(255,255,255,.36); transition: border-color .15s ease, background-color .15s ease;
}
.drop:hover, .drop.over { border-color: var(--ice); background: rgba(167,196,222,.06); }
.drop:focus-within { border-color: var(--white); border-style: solid; box-shadow: 0 0 0 1px var(--white); }
.drop svg { width: 22px; height: 22px; margin-bottom: 8px; color: var(--ice); }
.drop strong { font-weight: 500; color: var(--white); }
.drop span { font-size: .875rem; color: var(--dim); text-wrap: balance; }
.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.files { list-style: none; margin: 0; padding: 0; }
.files:empty { display: none; }
.files li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.files li:first-child { border-top: 1px solid var(--rule); }
.files .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--white); }
.files .fsize { color: var(--dim); font-size: .875rem; font-variant-numeric: tabular-nums; }
.files button { font-size: .6875rem; color: var(--soft); background: none; border: 0; padding: 8px 0 8px 8px; cursor: pointer; }
.files button:hover { color: var(--white); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 6px; }
.form-note { margin: 0; max-width: 40ch; font-size: .875rem; line-height: 1.5; color: var(--dim); }
.form-status { margin: 0; padding: 16px 18px; border-left: 2px solid var(--rule-strong); background: rgba(255,255,255,.04); color: var(--soft); font-size: .9375rem; }
.form-status.ok { border-left-color: var(--ice); color: var(--white); }
.form-status.err { border-left-color: var(--err); }
.form-status a { color: var(--white); }
.form-status p { margin: 0; }
.status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 14px !important; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: .75rem; text-decoration: none; }
.field-err { margin: 0; font-size: .875rem; line-height: 1.4; color: var(--err); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.field.invalid input:focus, .field.invalid textarea:focus { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
/* export-control notice above the drop zone */
.form-warn { margin: 0; padding: 14px 18px; border-left: 2px solid var(--ice); background: rgba(167,196,222,.06); font-size: .9375rem; line-height: 1.55; color: var(--soft); }
.form-warn strong { font-weight: 600; color: var(--white); }
.form-warn a { color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.form-warn a:hover { color: var(--ice); }
/* required checkbox: the whole label is the tap target (44px+) */
label.check {
  display: flex; align-items: flex-start; gap: 14px; min-height: 44px; padding: 10px 0; cursor: pointer;
  font-family: var(--body); font-weight: 400; font-stretch: normal; letter-spacing: 0; text-transform: none;
  font-size: .9375rem; line-height: 1.5; color: var(--text);
}
.check input[type="checkbox"] {
  flex: none; display: grid; place-content: center; width: 24px; height: 24px; min-height: 0; padding: 0; margin: 0;
  border: 1px solid rgba(255,255,255,.55); background: transparent; cursor: pointer;
}
.check input[type="checkbox"]::before {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border: solid var(--black); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); opacity: 0;
}
.check input[type="checkbox"]:checked { background: var(--ice); border-color: var(--ice); }
.check input[type="checkbox"]:checked::before { opacity: 1; }
.check:hover input[type="checkbox"] { border-color: var(--white); }
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.field.invalid .check input[type="checkbox"]:not(:checked) { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }

/* ---------- Footer ---------- */
.site-footer { --foot-pad: 64px; padding: var(--foot-pad) 0 52px; color: var(--dim); font-size: .875rem; }
/* even, like every band: the logo sits about 6 px inside its row and the last legal line has 18 px under its
   baseline (its own 12 px padding plus leading), so 64 above and 52 below are about 70 px of ink space each.
   On the 404 the footer opens on a link line instead of the logo (12 px padding plus leading above its caps). */
.notfound + .site-footer { --foot-pad: 52px; }
.site-footer > .wrap { position: relative; }
.site-footer > .wrap::before { content: ""; position: absolute; top: calc(-1 * var(--foot-pad)); left: var(--gutter); right: var(--gutter); height: 1px; background: var(--rule); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand .logo-2 { height: 32px; }
@media (max-width: 760px) { .site-footer .brand .logo-2 { height: 28px; } }
/* Nav and footer links: align their caps with the EAST SLOPE line of the two-line lockup, not the middle of the box */
@media (min-width: 1081px) { .site-header .nav, .foot-links { margin-bottom: 6px; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 36px; }
.foot-links a { font-size: .6875rem; line-height: 20px; color: var(--white); text-decoration: none; padding: 12px 0; }
.foot-links a:hover { color: var(--ice); }
/* downloads and email first, the legal lines last (the same order on every page and every width) */
.foot-base { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 4px; margin-top: 28px; }
.foot-base > span { padding: 12px 0; }
.foot-legal { display: grid; gap: 2px; padding: 12px 0; }
.foot-base a { color: var(--soft); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.foot-base a:hover { color: var(--white); }
.foot-files { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; }
.foot-files .dl { color: var(--white); }
.foot-files .dl-name { font-size: .6875rem; }
.foot-files .dl-meta { font-size: .8125rem; color: var(--dim); }
.foot-files .dl-i { width: 16px; height: 16px; }
.foot-mail { display: inline-block; padding: 12px 0; }
@media (max-width: 640px) {
  .foot { flex-direction: column; align-items: flex-start; }
  /* two even columns instead of a ragged wrap */
  .foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); width: 100%; }
  .foot-files { flex-direction: column; align-items: flex-start; }
}

.foot-links a[aria-current="page"] { color: var(--ice); }

/* ---------- Privacy page ---------- */
.handling dd { color: var(--soft); font-variant-numeric: normal; overflow-wrap: normal; line-height: 1.6; }
.handling a { color: var(--white); }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; align-items: start; }
.legal-side { grid-column: 1 / span 5; position: sticky; top: var(--stick-top); }
.legal-side h2 { margin-bottom: 28px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 11px 0; font-size: .9375rem; line-height: 1.4; color: var(--soft); text-decoration: none; }
.toc a:hover { color: var(--white); }
.prose { grid-column: 7 / -1; max-width: 70ch; }
.prose h3 { margin: 52px 0 14px; font-size: 1.125rem; scroll-margin-top: calc(var(--head-h) + 24px); }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--soft); font-size: 1.0625rem; line-height: 1.65; }
.prose ul { margin: 0 0 16px; padding-left: 1.15em; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--dim); }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { color: var(--white); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--ice); }
.prose .effective { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--dim); }
/* Terms pages: the warranty disclaimer and liability limits must be conspicuous (NRS 104.2316): bold capitals in white,
   set off from the grey text around them by a ruled box with an ice edge */
.prose .conspicuous { margin: 0 0 16px; padding: 18px 20px; border: 1px solid var(--rule-strong); border-left: 3px solid var(--ice); color: var(--white); line-height: 1.6; letter-spacing: .01em; }
.prose .conspicuous strong { font-weight: 600; }
.form-note a { color: var(--soft); text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.form-note a:hover { color: var(--white); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .legal-side { position: static; }
  .legal-side, .prose { grid-column: 1 / -1; }
}
/* A sticky side column that would be taller than the window scrolls with the page instead, so its end is never
   out of reach (site.js sets .is-tall from the column's height and the window's). */
.contact-side.is-tall, .company-side.is-tall, .legal-side.is-tall { position: static; }

/* ---------- 404 ---------- */
/* shorter than the screen: the shared footer (links, sheets, legal) starts on the first screen */
/* centred between the top of the page and the footer's divider: the same room above the logo as under the buttons
   (the one-line logo, 27.5 px, sits centred in its 44 px link box, so the box starts that much higher) */
.notfound { min-height: 70vh; min-height: 70svh; display: grid; align-content: center; padding-block: calc(var(--pad) + 24px); }
.notfound .brand { color: var(--white); margin-top: calc((27.5px - 44px) / 2); margin-bottom: 64px; }
.notfound h1 {
  margin: 0 0 18px; font-family: var(--display); font-weight: 700; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; letter-spacing: .01em;
}
.notfound p { margin: 0 0 40px; max-width: 46ch; color: var(--soft); font-size: 1.125rem; text-wrap: balance; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 14px 18px; }
/* phones: the two buttons stack full width, like the hero's */
@media (max-width: 560px) { .notfound .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---------- Ink edges ----------
   A text box is taller than its ink: half the leading plus the font's ascent above the cap line, half the leading
   plus its descent below the baseline. Text that opens or closes a band (and both columns of a head) is trimmed to
   its ink with text-box, so a block's box runs from cap line to baseline and padding is the visible gap.
   Trims go on the text itself, never on a whole section, so the spacing inside each block is unchanged.
   Last in the side-page styles, so these margins win over each block's own.
   Browsers without text-box get the same trim from margins, from the fonts' own metrics:
     Archivo        ascent .878, descent .21   ->  k = (ascent - descent) / 2 = .334em
     IBM Plex Sans  ascent 1.025, descent .275 ->  k = .375em
     top trim = 1cap - .5lh - k, bottom trim = k - .5lh */
.head > h1, .head > h2, .head > p, .cta-side > p, .statement { text-box: trim-both cap alphabetic; }
.company-side > h2:first-child, .legal-side > h2:first-child, .contact-side > h2:first-child, .notes-title,
.prose > :first-child, #contact-form > .field-row:first-child label, .page-top .over { text-box: trim-start cap alphabetic; }
.media figcaption, .also, .stats-qual, .option > p:last-child, .prose > :last-child, .form-note { text-box: trim-end cap alphabetic; }
/* Revealed headings (site.js wraps each word in an inline-block aligned to the line's top): WebKit takes the TRIMMED
   line top for that alignment, so with text-box their caps landed 8 px low. They take the same trim from margins
   instead (the fonts' metrics, as in the fallback below), which puts their caps on the copy's cap line in every
   engine. After the trims above, so text-box: none wins over them. */
.section h2.rv { text-box: none; }
.head > h2.rv, .contact-side > h2.rv:first-child, .company-side > h2.rv:first-child { margin-top: calc(1cap - .5lh - .334em); }
.head > h2.rv { margin-bottom: calc(.334em - .5lh); }
@supports not (text-box: trim-both cap alphabetic) {
  /* a negative top margin on a wrap's first block would collapse through the wrap and pull its divider up with it */
  .about > .wrap, .notes > .wrap { display: flow-root; }
  /* Archivo, top */
  .head > h1, .head > h2, .statement, .company-side > h2:first-child, .legal-side > h2:first-child,
  .contact-side > h2:first-child, .notes-title, .prose > h3:first-child, .page-top .over,
  #contact-form > .field-row:first-child label { margin-top: calc(1cap - .5lh - .334em); }
  /* Archivo, bottom */
  .head > h1, .head > h2, .statement { margin-bottom: calc(.334em - .5lh); }
  /* IBM Plex Sans, top */
  .head > p, .cta-side > p, .prose > p:first-child { margin-top: calc(1cap - .5lh - .375em); }
  /* IBM Plex Sans, bottom */
  .head > p, .media figcaption, .stats-qual, .option > p:last-child, .prose > :last-child,
  .form-note { margin-bottom: calc(.375em - .5lh); }
  @media (min-width: 761px) { .also { margin-bottom: calc(.375em - .5lh); } }
  @media (max-width: 860px) {
    .scrub-beats li:last-child .d, .scrub.is-scrub .scrub-beats .d,
    .section .datasheet:last-child > div:last-child dd { margin-bottom: calc(.375em - .5lh); }
  }
  /* the call to action's paragraph keeps the button's gap under it */
  .cta-side > p { margin-bottom: calc(var(--stack-gap) + .375em - .5lh); }
  @supports (display: contents) { .cta-side > p { margin-bottom: calc(.375em - .5lh); } }
}

/* ---------- Landing page (index.html) ---------- */
body.landing { --gutter: clamp(16px, 4vw, 48px); background: var(--night); color: #F4F5F7; font-family: var(--body); }
.landing :focus-visible { outline: 3px solid #F4F5F7; outline-offset: 3px; border-radius: 2px; }
.landing a { text-underline-offset: 3px; }
.stage { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.stage-video {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  background: #4A4E52 url("video/flyover.jpg") center / cover no-repeat;
}
.stage-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,18,22,.55) 0%, rgba(14,18,22,0) 22%),
    linear-gradient(0deg, rgba(14,18,22,.72) 0%, rgba(14,18,22,.28) 34%, rgba(14,18,22,0) 58%),
    linear-gradient(90deg, rgba(14,18,22,.38) 0%, rgba(14,18,22,0) 55%);
}
.landing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px var(--gutter) 0; }
.landing .brand { color: #FFFFFF; }
.landing .brand .logo-mark { height: 28px; }
.landing-mail { color: #F4F5F7; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: .9; }
.landing-mail:hover { color: #F4F5F7; text-decoration: underline; opacity: 1; }
.landing-main { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding: 48px var(--gutter) 28px; flex-wrap: wrap; }
.landing-copy { max-width: 640px; text-shadow: 0 1px 18px rgba(10,14,18,.35); }
/* The landing title is the one place EAST SLOPE is set in live type: exactly the wordmark spec (Archivo 780 / 125% / .10em, caps).
   The negative margin cancels the E's side bearing so the stem lines up with the mark and the lede. */
.landing-copy h1 { margin: 0 0 14px -.07em; font-family: var(--display); font-size: clamp(3rem, 9vw, 7.75rem); line-height: .94; font-weight: 780; font-stretch: 125%; letter-spacing: .10em; text-transform: uppercase; color: #FFFFFF; }
.landing-copy p { margin: 0; max-width: 36ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; color: rgba(244,245,247,.92); text-wrap: balance; }
.place { margin-left: auto; }
.play-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: #F4F5F7; background: rgba(14,18,22,.36); border: 1.5px solid rgba(244,245,247,.6); border-radius: 50%;
}
.play-toggle:hover { border-color: #F4F5F7; background: rgba(14,18,22,.5); }
.play-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.play-toggle .i-pause { display: none; }
.play-toggle[data-playing="true"] .i-pause { display: block; }
.play-toggle[data-playing="true"] .i-play { display: none; }
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; align-content: start; gap: 6px;
  padding: clamp(22px, 3vw, 36px) var(--gutter) clamp(26px, 3.4vw, 40px); text-decoration: none;
  transition: background-color .25s ease, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}
/* fills the gap under a tile when it lifts on hover */
.door::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; background: inherit; }
.door-eng { background: var(--paper); color: var(--ink); }
.door-def { background: var(--night); color: var(--frost); border-left: 1px solid var(--night-line); }
a.door-eng:hover { background: #FFFFFF; color: var(--ink); }
a.door-def:hover { background: var(--night-2); color: var(--frost); }
.door-kicker { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: .7; }
.door-title { font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 1.95rem); line-height: 1.1; font-weight: 700; font-stretch: 112%; letter-spacing: .005em; text-transform: uppercase; }
.door-text { max-width: 46ch; opacity: .82; text-wrap: pretty; }
.door-go {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 16px;
  min-height: 48px; padding: 0 22px 0 24px;
  font-family: var(--display); font-weight: 700; font-stretch: 108%; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}
.door-go svg { width: 18px; height: 18px; flex: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.door-eng .door-go { background: var(--ink); color: #FFFFFF; }
.door-def .door-go { background: var(--ice); color: var(--night); }
a.door-eng:hover .door-go { background: var(--steel); }
a.door-def:hover .door-go { background: var(--ice-hi); }
a.door:active .door-go { filter: brightness(.94); }
@media (prefers-reduced-motion: no-preference) {
  a.door:hover .door-go svg { transform: translateX(4px); }
}
/* desktop: the whole tile lifts a little toward the cursor (not for reduced-motion visitors) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.door:hover { transform: translateY(-10px); box-shadow: 0 -22px 44px -24px rgba(0,0,0,.55); z-index: 1; }
}
.door:focus-visible { outline: 3px solid var(--ice); outline-offset: -6px; }
.door-eng:focus-visible { outline-color: var(--steel); }
/* a side that isn't open yet: not a link, no lift, muted label instead of a button */
.door-soon { cursor: default; }
.door-soon .door-go {
  padding: 0 24px; background: transparent; color: rgba(230,232,234,.66);
  box-shadow: inset 0 0 0 1.5px rgba(230,232,234,.26); cursor: default;
}
@media (max-width: 760px) {
  .stage-shade { background: linear-gradient(180deg, rgba(14,18,22,.62) 0%, rgba(14,18,22,.30) 40%, rgba(14,18,22,.30) 60%, rgba(14,18,22,.72) 100%); }
  .doors { grid-template-columns: 1fr; }
  .door-def { border-left: 0; }
  .landing-main { padding-top: 24px; }
  .landing .brand .logo-mark { height: 24px; }
  .landing-mail { font-size: 0.85rem; }
}
@media (max-width: 420px) { .landing-mail { display: none; } }
/* The legal strip under the doors: one quiet line on desktop, so the privacy policy is linked from the home page.
   Each item carries its own "·" in front; the list's clip hides the dot that starts a line, so wrapped lines start clean. */
.landing-legal { padding: 14px var(--gutter) 16px; background: var(--night); border-top: 1px solid var(--night-line); color: var(--dim); font-size: .8125rem; line-height: 1.5; }
.landing-legal ul { display: flex; flex-wrap: wrap; row-gap: 4px; margin: 0 0 0 -1.75em; padding: 0; list-style: none; clip-path: inset(-14px -14px -14px calc(1.75em - 8px)); }
.landing-legal li { position: relative; padding-left: 1.75em; }
.landing-legal li + li { white-space: nowrap; }
.landing-legal li::before { content: "·"; position: absolute; left: 0; width: 1.75em; text-align: center; }
.landing-legal a { position: relative; color: var(--soft); text-decoration-color: rgba(179, 185, 191, .4); }
.landing-legal a:hover { color: #FFFFFF; text-decoration-color: currentColor; }

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