/* ============================================================
   SiC Labs website, direction B "Lattice".
   Source of truth: brand/SIC-LABS-STYLE-GUIDE.md.
   Static, final-state page: nothing here hides content. Initial
   hidden states live in motion.css, only under html.js.
   ============================================================ */

/* ---------- Brand tokens (brand/sic-labs-tokens.css, first :root block) ---------- */
:root {
  /* Colour */
  --sic-paper: #F4F6F3;              /* page and slide background (default surface) */
  --sic-white: #FFFFFF;              /* panels, tables, content cards on paper */
  --sic-graphite: #22262A;           /* primary text, mark structure, dark panels */
  --sic-blue: #1E4FD8;               /* carbide blue, the single accent */
  --sic-slate: #6B7480;              /* secondary text, captions, "Labs" in the wordmark */
  --sic-hairline: #DFE3DE;           /* table rules and dividers on paper */
  --sic-blue-tint: rgba(30, 79, 216, 0.08); /* highlight fill behind a row or callout */
  --sic-on-graphite: #F4F6F3;        /* text on graphite panels (= paper); slate stays slate */

  /* Type families */
  --sic-font-heading: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --sic-font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sic-heading-width: "wdth" 112;   /* use as: font-variation-settings: var(--sic-heading-width); */

  /* Type scale (deck shell sizes, kept) */
  --sic-size-display: clamp(64px, 10vw, 480px);
  --sic-size-h1: clamp(44px, 6.5vw, 280px);
  --sic-size-h2: clamp(28px, 3.8vw, 160px);
  --sic-size-h3: clamp(20px, 2.4vw, 90px);
  --sic-size-body: clamp(14px, 1.4vw, 56px);
  --sic-size-small: clamp(11px, 1vw, 36px);
  --sic-size-overline: clamp(10px, 0.9vw, 28px);

  /* Shape and structure */
  --sic-radius: 0;                   /* chips and tags may use 2px */
  --sic-radius-chip: 2px;
  --sic-bar-w: 64px;                 /* accent bar under a title */
  --sic-bar-h: 6px;
  --sic-rule-table: 2px;             /* blue rule under a table head */
  --sic-leading-heading: 1.02;       /* 0.98 to 1.05 */
  --sic-leading-body: 1.5;           /* 1.45 to 1.55 */
  --sic-tracking-heading: -0.02em;   /* -0.02em to -0.025em */
}

/* ---------- Site tokens: page-sized type, layout ---------- */
:root {
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
  --fs-card: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  --fs-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-lede: clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
  --fs-h1: clamp(2.5rem, 1rem + 4.6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2vw, 2.5rem);
  --fs-sub: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-h3: clamp(1.125rem, 1.02rem + 0.45vw, 1.35rem);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-pad: clamp(56px, 8vw, 112px);
  --header-h: 66px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--sic-paper);
  color: var(--sic-graphite);
  font-family: var(--sic-font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--sic-leading-body);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
strong { font-weight: 600; }

h1, h2, h3, th, .label, .chip, .btn {
  font-family: var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  letter-spacing: var(--sic-tracking-heading);
  text-transform: none;
}
h1, h2 { font-weight: 800; line-height: var(--sic-leading-heading); color: var(--sic-graphite); text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.12; text-wrap: balance; }
p { max-width: 70ch; }
p, li, .stat__label { text-wrap: pretty; }
h1, h2, h3, p, li, td, th { overflow-wrap: break-word; }

a {
  color: var(--sic-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 3px solid var(--sic-blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--gutter); top: 8px;
  z-index: 40;
  padding: 0.6em 1em;
  background: var(--sic-graphite);
  color: var(--sic-paper);
  font: 600 0.9375rem var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  transform: translateY(-200%);
}
.skip:focus { transform: none; outline: 3px solid var(--sic-blue); outline-offset: 2px; }

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

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0;
  z-index: 30;
  background: var(--sic-paper);
  border-bottom: 1px solid var(--sic-hairline);
}
.top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 32px;
  min-height: calc(var(--header-h) - 1px);
}
.top__brand { display: block; line-height: 0; flex: none; }
.lockup {
  display: block;
  height: 28px; width: auto;
  aspect-ratio: 5836 / 892;
  overflow: visible;
}
.top__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; }
.top__nav a {
  padding: 0.35em 0;
  border-bottom: 2px solid transparent;
  color: var(--sic-graphite);
  font: 500 0.9375rem/1.2 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  text-decoration: none;
}
.top__nav a:hover { color: var(--sic-blue); }
.top__nav a:focus-visible { outline-offset: 2px; }
.top__nav a.is-current {
  color: var(--sic-blue);
  border-bottom-color: var(--sic-blue);
}
/* Sliding bar: positioned by site.js, shown from 920px (see Responsive) */
.nav-underline { display: none; }

/* ---------- Sections ---------- */
.sec {
  padding-block: var(--sec-pad);
  scroll-margin-top: var(--header-h);
}
.sec + .sec:not(.sec--contact) { border-top: 1px solid var(--sic-hairline); }

.sec__head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.label {
  margin-bottom: 14px;
  color: var(--sic-blue);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.t { font-size: var(--fs-h2); }
.t::after {
  content: "";
  display: block;
  width: var(--sic-bar-w); height: var(--sic-bar-h);
  margin-top: 0.4em;
  background: var(--sic-blue);
  transform: scaleX(var(--bar, 1));
  transform-origin: left;
}
.lede {
  max-width: 62ch;
  margin-top: 1.1em;
  font-size: var(--fs-lede);
  line-height: 1.45;
}

/* ---------- Hero ---------- */
.sec--hero {
  position: relative;
  display: flex; align-items: center;
  padding-block: clamp(32px, 6vw, 88px);
  border-top: 0;
  overflow: hidden;
  overflow: clip;
}
.sec--hero > .wrap { position: relative; z-index: 1; width: 100%; }
/* Lattice behind the hero: site.js builds the SVG and shifts it at 0.2x of scroll,
   so the hero clips it and the content sits above it. Not shown on phones. */
.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.hero-field svg { display: block; width: 100%; height: 100%; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.hero__mark { order: -1; width: 132px; }
.hero-mark { display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.hero__eyebrow {
  margin-bottom: 20px;
  color: var(--sic-blue);
  font: 600 var(--fs-lede)/1.2 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  letter-spacing: var(--sic-tracking-heading);
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.02;
  text-wrap: balance;
}
.hero__title::after {
  content: "";
  display: block;
  width: var(--sic-bar-w); height: var(--sic-bar-h);
  margin-top: 0.3em;
  background: var(--sic-blue);
}
.hero__sub {
  max-width: 54ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: var(--fs-lede);
  line-height: 1.45;
}
.hero__links {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 16px 32px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.hero__links a:not(.btn) { font-size: var(--fs-body); }

.btn {
  display: inline-block;
  padding: 0.85em 1.4em;
  background: var(--sic-blue);
  color: var(--sic-white);
  border-radius: 0;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.btn:hover { text-decoration-thickness: 2px; }
.btn--lg {
  padding: 0.8em 1.2em;
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.6rem);
}

/* ---------- What we do: the map ---------- */
.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.map__col {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--sic-white);
  border: 1px solid var(--sic-hairline);
}
.map__col h3 {
  padding-bottom: 14px;
  border-bottom: var(--sic-rule-table) solid var(--sic-graphite);
  font-size: var(--fs-sub);
  font-weight: 700;
  line-height: 1.08;
}
.map__list li {
  padding-block: 16px;
  font-size: var(--fs-card);
  line-height: 1.45;
}
.map__list li + li { border-top: 1px solid var(--sic-hairline); }
.map__list li:last-child { padding-bottom: 0; }
.map__list a {
  font: 600 var(--fs-body)/1.3 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  letter-spacing: var(--sic-tracking-heading);
}
.map__note {
  margin-top: clamp(20px, 2.4vw, 28px);
  color: var(--sic-graphite);
  line-height: 1.45;
}

/* ---------- Builds ---------- */
.build, .product { scroll-margin-top: calc(var(--header-h) + 32px); }
.build + .build {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--sic-hairline);
}
.build > h3 {
  font-size: var(--fs-sub);
  font-weight: 700;
  line-height: 1.08;
}
.build > p { margin-top: 1em; }
.build > h3 + p { margin-top: 0.8em; }
.build__list,
.lab__list,
.product__points { display: grid; gap: 0.7em; }
.build__list { max-width: 70ch; margin-top: 1.3em; }
.build__list li,
.lab__list li,
.product__points li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}
.build__list li::before,
.lab__list li::before,
.product__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.58em;
  width: 7px; height: 7px;
  background: var(--sic-blue);
}
.build-scene { display: none; }
.build-scene svg { display: block; width: 100%; max-width: 100%; height: auto; }
.scene-slot { display: block; width: 100%; }
.scene-slot svg { display: block; width: 100%; height: auto; }
.scene-slot:not(:empty) { margin-top: clamp(20px, 3vw, 40px); }

.phases {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(20px, 3vw, 36px);
}
.phase {
  padding: 20px 20px 24px;
  background: var(--sic-white);
  border: 1px solid var(--sic-hairline);
  border-top: 3px solid var(--sic-hairline);
  transition: border-top-color 0.4s ease;
}
.phase:focus-visible { outline: 3px solid var(--sic-blue); outline-offset: 3px; }
.phase h3, .phase p { transition: opacity 0.4s ease; }
.phase.is-active { border-top-color: var(--sic-blue); }
.phase.is-dim h3, .phase.is-dim p { opacity: 0.7; }
.phase__num {
  display: block;
  margin-bottom: 10px;
  color: var(--sic-blue);
  font: 600 0.9375rem/1 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
}
.phase p, .principle p, .person p, .product p, .product__points { font-size: var(--fs-card); }
.phase h3 { margin-bottom: 0.6em; }
.phase p { line-height: 1.5; }
.gate { display: block; margin-top: 0.6em; font-weight: 600; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 56px) 32px;
}
.product { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.product h3 { font-size: var(--fs-sub); font-weight: 700; }
.product__for { color: var(--sic-graphite); font-weight: 600; }
.chip {
  display: inline-block;
  padding: 0.25em 0.65em;
  background: var(--sic-blue-tint);
  color: var(--sic-blue);
  border-radius: var(--sic-radius-chip);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}
.chip-dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sic-blue);
  vertical-align: 0.08em;
}
.chip--design {
  background: rgba(107, 116, 128, 0.14);
  color: var(--sic-graphite);
}
.shot {
  width: 100%;
  margin-top: auto;
  overflow: hidden;
  background: var(--sic-white);
  border: 1px solid var(--sic-hairline);
  border-radius: 0;
  clip-path: inset(0 var(--wipe, 0%) 0 0);
}
/* The frame keeps the image's aspect ratio; the image is 8% larger, anchored
   top left, so site.js can pan it inside the frame without showing blank. */
#product-takeoff .shot { aspect-ratio: 1200 / 815; }
#product-logistics .shot { aspect-ratio: 1200 / 866; }
.shot img { display: block; width: 108%; max-width: none; height: auto; }
.product__link,
.lab__link {
  font: 600 var(--fs-body)/1.3 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  letter-spacing: var(--sic-tracking-heading);
}
.product__link { align-self: flex-start; }

/* ---------- The Labs in the name ---------- */
.lab__list { max-width: 70ch; }
.lab__close {
  max-width: 70ch;
  margin-top: clamp(28px, 3.4vw, 44px);
  color: var(--sic-graphite);
  line-height: 1.45;
}

/* ---------- How we work ---------- */
.how__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 32px;
}
/* Without the scene (no JS), the principles take the full row */
.how__grid:has(> .scene-slot:empty) { grid-template-columns: minmax(0, 1fr); }
.principle { padding-top: 18px; border-top: 2px solid var(--sic-graphite); }
.principle h3 { margin-bottom: 0.5em; }

.stats-wrap {
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--sic-white);
  border: 1px solid var(--sic-hairline);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--sic-hairline);
}
.stat { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2.4vw, 28px); background: var(--sic-white); }
.stat__fig {
  color: var(--sic-blue);
  font: 600 clamp(2.5rem, 1.6rem + 3.2vw, 4rem)/1 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--sic-tracking-heading);
}
.stat__label { font-size: var(--fs-card); line-height: 1.4; }
.stats__note {
  max-width: none;
  border-top: 1px solid var(--sic-hairline);
  padding: 0.85em clamp(18px, 2.4vw, 28px);
  color: var(--sic-slate);
  font-size: var(--fs-small);
  line-height: 1.4;
}

/* ---------- Who we are ---------- */
.who__intro { max-width: 70ch; }
.people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.people-strut { display: none; }
.person {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-content: start;
  padding: 20px;
  background: var(--sic-white);
  border: 1px solid var(--sic-hairline);
}
.person__photo {
  width: 120px; height: 120px;
  border: 1px solid var(--sic-hairline);
  object-fit: cover;
}
.person h3 { font-weight: 700; }
.person__role {
  margin: 4px 0 12px;
  color: var(--sic-blue);
  font: 600 var(--fs-card)/1.3 var(--sic-font-heading);
  font-variation-settings: var(--sic-heading-width);
  letter-spacing: var(--sic-tracking-heading);
}
.note {
  max-width: 70ch;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: 20px 24px 22px;
  background: var(--sic-blue-tint);
}
.note h3 { margin-bottom: 0.5em; }
.note p { font-size: var(--fs-card); }

/* ---------- Contact: graphite panel ---------- */
.sec--contact {
  background: var(--sic-graphite);
  color: var(--sic-on-graphite);
}
.sec--contact .t { color: var(--sic-on-graphite); }
.sec--contact a:focus-visible { outline-color: var(--sic-paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.contact-mark { display: block; width: 140px; height: auto; aspect-ratio: 1; overflow: visible; }
.contact__text { margin-top: 1.4em; font-size: var(--fs-lede); line-height: 1.45; }
.contact__link { margin-top: clamp(24px, 3vw, 36px); }
.contact__link .btn { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.foot {
  padding-block: 28px 36px;
  background: var(--sic-graphite);
  color: var(--sic-on-graphite);
  border-top: 1px solid rgba(244, 246, 243, 0.16);
  font-size: var(--fs-small);
}
.foot__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px;
}
.foot__line { max-width: none; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--sic-on-graphite); }
.foot a:focus-visible { outline-color: var(--sic-paper); }
.foot .lockup { height: 24px; }

/* ============================================================
   Responsive: <700 single column, 700 to 1099 two columns,
   1100 and up the desktop grid.
   ============================================================ */

/* Phone: lockup above the nav */
@media (max-width: 699px) {
  :root { --header-h: 74px; }
  .top__inner { flex-wrap: wrap; min-height: 0; padding-block: 10px 6px; gap: 6px 16px; }
  .lockup { height: 24px; }
  .top__nav { flex-wrap: nowrap; width: 100%; justify-content: space-between; gap: 8px; }
  .top__nav a { font-size: 0.8125rem; white-space: nowrap; }
  .hero-field { display: none; }
}

/* Six links no longer fit beside the lockup: one row, lockup left, the nav
   scrolls sideways. Each link is a 44px target; the focus ring sits inside the
   link because the scroller would clip an outer one. */
@media (max-width: 519px) {
  :root { --header-h: 45px; }
  .top__inner { flex-wrap: nowrap; padding-block: 0; gap: 12px; }
  .top__nav {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 0 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { display: flex; align-items: center; flex: none; min-height: 44px; padding: 0; }
  .top__nav a:focus-visible { outline-offset: -3px; }
}

@media (min-width: 480px) and (max-width: 699px) {
  .person { grid-template-columns: 120px minmax(0, 1fr); column-gap: 20px; }
}

@media (min-width: 700px) {
  .sec--hero { min-height: min(calc(100svh - var(--header-h)), 820px); }
  .hero__grid { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 48px; }
  .hero__mark { order: 0; width: 100%; max-width: 440px; justify-self: center; }

  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The strut band sits between the cards, level with the portraits:
     card padding plus half the photo, less half the band. */
  .people { grid-template-columns: minmax(0, 1fr) clamp(64px, 9vw, 128px) minmax(0, 1fr); column-gap: 0; }
  .people-strut {
    display: flex;
    align-items: center;
    align-self: start;
    min-height: 48px;
    margin-top: 56px;
  }
  .people-strut svg { display: block; width: 100%; height: auto; }

  .contact__grid { grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 80px); }
  .contact-mark { width: 100%; max-width: 320px; }
}

/* The sliding bar needs one row of links, which the nav has from 920px */
@media (min-width: 920px) {
  .top__nav { position: relative; }
  .top__nav a.is-current { border-bottom-color: transparent; }
  .nav-underline {
    display: block;
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--sic-blue);
    pointer-events: none;
  }
}

@media (min-width: 1100px) {
  .phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how__grid:not(:has(> .scene-slot:empty)) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .person { grid-template-columns: 140px minmax(0, 1fr); column-gap: 24px; padding: 24px; }
  .person__photo { width: 140px; height: 140px; }
  .people-strut { margin-top: 70px; }

  /* Builds: text left (70ch), a scene card on the right beside the first three
     text rows (h3, p, and the list or second p); the track and phases stay full width. */
  .build {
    display: grid;
    grid-template-columns: minmax(0, 70ch) minmax(0, 1fr);
    column-gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }
  .build > :not(.build-scene) { grid-column: 1; }
  .build > .scene-slot,
  .build > .phases { grid-column: 1 / -1; }
  .build > .build-scene {
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: stretch;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 16px;
    background: var(--sic-white);
    border: 1px solid var(--sic-hairline);
  }
  .build > .build-scene:empty { display: none; }

  /* Products: full-width rows, text 40% and screenshot 60%, the second mirrored.
     Six text items, then a 1fr filler row so the screenshot's height never
     stretches the text rows. */
  .products { gap: clamp(48px, 6vw, 88px); }
  .product {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: repeat(6, auto) 1fr;
    column-gap: clamp(32px, 4vw, 64px);
    align-items: start;
    justify-items: start;
  }
  .product > :not(.shot) { grid-column: 1; }
  .product > .shot { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
  .product:nth-child(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .product:nth-child(even) > :not(.shot) { grid-column: 2; }
  .product:nth-child(even) > .shot { grid-column: 1; }
}

/* ============================================================
   Print: show everything in its final state, no navigation.
   ============================================================ */
@media print {
  .top, .skip { display: none; }
  .sec { padding-block: 28px; scroll-margin-top: 0; break-inside: auto; }
  .sec--hero { min-height: 0; }
  .phase, .map__col, .product, .principle, .person, .stat, .note { break-inside: avoid; }
  .shot { clip-path: none; }
  .hero-field, .build-scene { display: none !important; }
  a { color: var(--sic-blue); }
  .foot a, .sec--contact a { color: var(--sic-on-graphite); }
}
