/* thingmatter. — Identity for the physical world.
   Visual system: Swiss information design × Braun instrument discipline ×
   industrial identification. Tokens first; everything composes from them. */

:root {
  --paper: #F2F0EA;
  --paper-bright: #F7F7F5;
  --ink: #171717;
  --ink-muted: #56544E;
  --stone: #A6A49E;
  --signal: #E84721;
  --line: rgba(23, 23, 23, .16);
  --line-strong: rgba(23, 23, 23, .36);
  --line-invert: rgba(242, 240, 234, .18);
  --header-bg: #F2F0EA;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --space: 8px;
  --shell: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --gutter: clamp(16px, 2.4vw, 32px);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --radius: 2px;
}

/* Dark theme is the default. Surfaces invert; paper becomes graphite and the
   inverted bands (context, access) become warm white so the rhythm holds. */

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171717;
  --paper-bright: #1F1F1E;
  --ink: #F2F0EA;
  --ink-muted: #A6A49E;
  --stone: #A6A49E;
  --line: rgba(242, 240, 234, .16);
  --line-strong: rgba(242, 240, 234, .36);
  --line-invert: rgba(23, 23, 23, .18);
  --header-bg: #171717;
}

html[data-theme="light"] { color-scheme: light; }

/* Inverted bands stay internally consistent when the theme flips. */

html[data-theme="dark"] .band--dark,
html[data-theme="dark"] .end {
  --stone: #56544E;
  --line-invert: rgba(23, 23, 23, .18);
}

/* Specimens are physical: printed labels stay paper-white in any theme. */

html[data-theme="dark"] .plate__label {
  --paper-bright: #F7F7F5;
  --ink-muted: #56544E;
  color: #171717;
}

html[data-theme="dark"] .spec-standard,
html[data-theme="dark"] .spec-tech {
  --ink-muted: #56544E;
  color: #171717;
}

html[data-theme="dark"] .things tbody tr:hover td { background: rgba(232, 71, 33, .1); }

/* Reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd, dt, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--signal); color: #F7F7F5; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Utilities */

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }

.micro {
  font-size: .6875rem;
  line-height: 1.45;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}

.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }

.dot {
  display: inline-block;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: baseline;
}

.dot--hollow { background: transparent; border: 1.5px solid var(--signal); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* Header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 64px;
}

.wordmark {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark__dot {
  display: inline-block;
  width: .2em;
  height: .2em;
  margin-left: .12em;
  border-radius: 50%;
  background: var(--signal);
  vertical-align: baseline;
}

.site-nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }

.site-nav a {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color .2s var(--ease);
}

.site-nav a:hover { color: var(--ink); }

.head-cta {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.head-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.site-head__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: inherit;
  padding: 10px 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.theme-toggle:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.theme-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

html[data-theme="light"] .theme-toggle__dot {
  background: transparent;
  border: 1.5px solid var(--signal);
}

/* Hero */

.hero { padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 96px); }

.hero__eyebrow { margin-bottom: clamp(32px, 6vw, 64px); }

.hero__title {
  grid-column: 1 / 8;
  font-size: clamp(2.85rem, 8.4vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 700;
}

.hero__aside {
  grid-column: 10 / 13;
  align-self: end;
  display: grid;
  gap: 20px;
  padding-bottom: .5em;
}

.hero__aside p { max-width: 34ch; }
.hero__aside .micro { color: var(--ink-muted); }

.hero__object {
  margin-top: clamp(48px, 7vw, 96px);
  align-items: start;
}

.specimen { grid-column: 1 / 8; }

.specimen figcaption {
  margin-top: 16px;
  font-size: .8125rem;
  color: var(--ink-muted);
  max-width: 52ch;
}

/* Identification plate */

.plate {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background:
    repeating-linear-gradient(102deg, rgba(255, 255, 255, .07) 0 2px, rgba(23, 23, 23, .03) 2px 4px),
    linear-gradient(100deg, #c9c7c1 0%, #efede7 16%, #b3b1ab 30%, #e4e2dc 48%, #aba9a3 64%, #d9d7d1 82%, #c2c0ba 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 -1px 0 rgba(23, 23, 23, .25),
    0 24px 48px -28px rgba(23, 23, 23, .5);
}

.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(23, 23, 23, .05));
  pointer-events: none;
}

.plate__screw {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #f2f0ea, #98968f 58%, #6f6d67);
  box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .35);
}

.plate__screw::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: rgba(23, 23, 23, .55);
  transform: translate(-50%, -50%) rotate(-18deg);
}

.plate__screw--tl { left: 16px; top: 16px; }
.plate__screw--tr { right: 16px; top: 16px; }
.plate__screw--bl { left: 16px; bottom: 16px; }
.plate__screw--br { right: 16px; bottom: 16px; }

.plate__label {
  position: absolute;
  left: 6.5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(62%, 420px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  background: var(--paper-bright);
  border-radius: var(--radius);
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 1px 3px rgba(23, 23, 23, .22);
}

.plate__id {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: .01em;
  line-height: 1.1;
}

.plate__id .dot { margin-right: .5em; }

.plate__name { font-size: .8125rem; letter-spacing: .08em; font-weight: 500; }

.plate__spec { font-size: .75rem; color: var(--ink-muted); }

.plate__qr { grid-column: 2; grid-row: 2 / 4; width: clamp(52px, 8vw, 76px); height: auto; }

/* Hero meta */

.hero__meta { grid-column: 10 / 13; }

.hero__meta-title { margin-bottom: 4px; }

.kv > div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.kv dt {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.kv dd { font-size: .95rem; }

/* Sections */

.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }

.sec-head__num { grid-column: 1 / 3; color: var(--ink-muted); padding-bottom: .45em; }

.sec-head__title {
  grid-column: 3 / 9;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 700;
}

.sec-head__note { grid-column: 10 / 13; color: var(--ink-muted); max-width: 38ch; }

/* Pipeline */

.pipeline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.pipeline__list { display: grid; grid-template-columns: repeat(4, 1fr); }

.pipeline__item {
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.pipeline__item:first-child { border-left: 0; padding-left: 0; }

.pipeline__num { color: var(--ink-muted); margin-bottom: clamp(24px, 5vw, 56px); }

.pipeline__word {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}

.pipeline__word .dot { margin-left: .4em; }

.pipeline__gloss { margin-top: 12px; color: var(--ink-muted); font-size: .9rem; max-width: 26ch; }

/* Dark band */

.band--dark { background: var(--ink); color: var(--paper); }
.band--dark .muted,
.band--dark .sec-head__num,
.band--dark .sec-head__note,
.band--dark .pipeline__num,
.band--dark .pipeline__gloss { color: var(--stone); }

.context-figure { margin: 0; }

.net { width: 100%; height: auto; color: var(--paper); }

.net text {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: .22em;
  opacity: .75;
}

.net__id { font-size: 16px !important; font-weight: 700; letter-spacing: .04em !important; opacity: 1; }

.net__sub { font-size: 10px !important; letter-spacing: .22em !important; opacity: .6; }

.js .net__lines line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset .9s var(--ease);
}

.js .net__lines line:nth-child(2) { transition-delay: .1s; }
.js .net__lines line:nth-child(3) { transition-delay: .2s; }
.js .net__lines line:nth-child(4) { transition-delay: .3s; }
.js .net__lines line:nth-child(5) { transition-delay: .4s; }

.js .net.is-visible .net__lines line { stroke-dashoffset: 0; }

.js .net__nodes,
.js .net__labels,
.js .net__cross { opacity: 0; transition: opacity .7s var(--ease) .5s; }

.js .net.is-visible .net__nodes,
.js .net.is-visible .net__labels,
.js .net.is-visible .net__cross { opacity: 1; }

.net__pulse { animation: netpulse 3.2s var(--ease) infinite; }

@keyframes netpulse {
  0% { r: 7; opacity: .85; }
  70%, 100% { r: 26; opacity: 0; }
}

.context-figure figcaption { margin-top: 20px; color: var(--stone); }

/* Steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.step { border-top: 1px solid var(--line-strong); padding-top: 24px; }

.step__num { color: var(--ink-muted); margin-bottom: clamp(32px, 6vw, 72px); }

.step__title { font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }

.step__title .dot { margin-left: .4em; }

.step p { color: var(--ink-muted); margin-top: 10px; max-width: 32ch; }

.step__micro { margin-top: 24px !important; }

/* Capabilities */

.caps-wrap { margin-top: clamp(64px, 8vw, 112px); }

.caps-title { margin-bottom: 16px; }

.caps { border-top: 1px solid var(--line); }

.caps li {
  display: grid;
  grid-template-columns: 72px minmax(150px, 260px) 1fr auto;
  gap: var(--gutter);
  align-items: baseline;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.caps .n { color: var(--ink-muted); }

.caps .t { font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -.015em; }

.caps .d { color: var(--ink-muted); max-width: 52ch; }

.caps .dot { justify-self: end; width: 8px; height: 8px; }

/* Identification system */

.idgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.idcard { border: 1px solid var(--line); display: flex; flex-direction: column; }

.idcard__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}

.idcard__stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 56px) 20px;
  background: var(--paper-bright);
  min-height: 210px;
}

.idcard__foot {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-muted);
}

.spec-micro {
  border: 1px solid var(--line-strong);
  padding: 8px 12px;
  font-size: .8rem;
  letter-spacing: .06em;
  white-space: nowrap;
}

.spec-micro .dot { margin-right: .5em; }

.spec-standard {
  width: min(100%, 240px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 28px -20px rgba(23, 23, 23, .5);
}

.spec-standard__brand {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: -.02em;
}

.spec-standard__id { font-weight: 700; font-size: 1.05rem; }

.spec-standard__qr { grid-column: 2; grid-row: 2 / 4; }

.spec-standard__status { grid-column: 1; color: var(--ink-muted); }

.spec-standard__status .dot { margin-right: .5em; }

.spec-tech {
  width: min(100%, 250px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 28px -20px rgba(23, 23, 23, .5);
}

.spec-tech__id {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 1.05rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.spec-tech__id .dot { margin-right: .5em; }

.spec-tech__fields { display: grid; gap: 6px; }

.spec-tech__fields > div { display: flex; justify-content: space-between; gap: 12px; }

.spec-tech__fields dt { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }

.spec-tech__fields dd { font-size: .78rem; margin: 0; }

.spec-tech__qr { grid-column: 2; grid-row: 2; }

.spec-tech__nfc { grid-column: 2; justify-self: center; color: var(--ink-muted); }

/* Interface preview */

.app { border: 1px solid var(--line); background: var(--paper-bright); }

.app__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.app__wordmark { font-size: 1rem; }

.app__bar .micro { color: var(--ink-muted); }

.things { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }

.things th {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  color: var(--ink-muted);
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.things td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  transition: background .2s var(--ease);
}

.things tbody tr:last-child td { border-bottom: 0; }

.things tbody tr:hover td { background: rgba(232, 71, 33, .045); }

.col-status { text-align: right; }

.status { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }

.status .dot { width: .45em; height: .45em; }

.status--service { color: var(--ink-muted); }

.status .micro,
.things .micro { letter-spacing: .1em; }

.app__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.app__foot .micro { color: var(--ink-muted); }

.app__add { letter-spacing: .14em; white-space: nowrap; }

/* Story */

.story { border-top: 1px solid var(--line-strong); }

.story__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.story__id { font-weight: 700; font-size: clamp(1.05rem, 1.8vw, 1.35rem); letter-spacing: -.01em; }

.story__id .dot { margin-right: .5em; }

.story__head .micro { color: var(--ink-muted); }

.events li {
  display: grid;
  grid-template-columns: 160px 200px 1fr;
  gap: var(--gutter);
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.events time { color: var(--ink-muted); }

.events .ev { font-weight: 500; letter-spacing: .02em; }

.events .note { color: var(--ink-muted); }

/* Environments */

.envs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }

.env { border-top: 1px solid var(--line-strong); padding-top: 24px; }

.env__num { color: var(--ink-muted); margin-bottom: clamp(32px, 5vw, 56px); }

.env h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; letter-spacing: -.015em; }

.env p { color: var(--ink-muted); margin-top: 12px; max-width: 34ch; }

.env ul { margin-top: 24px; border-top: 1px solid var(--line); }

.env li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}

.env li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--stone);
  flex: none;
}

/* End: access + footer */

.end { background: var(--ink); color: var(--paper); }

.end .micro { color: var(--stone); }

.cta { padding-block: clamp(80px, 11vw, 160px); border-bottom: 1px solid var(--line-invert); }

.cta__title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: .97;
  letter-spacing: -.032em;
  font-weight: 700;
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  margin-top: clamp(32px, 5vw, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid currentColor;
  padding: 16px 26px;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.btn .dot { width: 6px; height: 6px; }

.btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.cta__contact { color: var(--stone); }

.cta__contact a { color: var(--stone); text-underline-offset: 3px; }

.cta__contact a:hover { color: var(--paper); }

.foot { padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }

.foot__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.foot__word { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1; }

.foot__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }

.foot__col { min-width: 140px; }

.foot__col .micro { margin-bottom: 14px; }

.foot__list { display: grid; gap: 8px; }

.foot__list a { color: var(--stone); text-decoration: none; font-size: .92rem; }

.foot__list a:hover { color: var(--paper); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line-invert);
}

.credit {
  display: inline;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--stone);
}

.credit__heart {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 .3em;
  vertical-align: -.12em;
  transform-origin: center;
  animation: heartbeat 2.6s var(--ease) infinite;
}

.credit__name { font-weight: 700; color: var(--paper); }

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.22); }
  20% { transform: scale(1); }
  30% { transform: scale(1.14); }
  45% { transform: scale(1); }
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms);
}

.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */

@media (max-width: 1080px) {
  .hero__title { grid-column: 1 / 9; }
  .hero__aside { grid-column: 9 / 13; }
  .sec-head__title { grid-column: 3 / 10; }
  .sec-head__note { grid-column: 3 / 10; margin-top: 16px; }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(6, 1fr); }

  .hero__title,
  .hero__aside,
  .specimen,
  .hero__meta,
  .sec-head__num,
  .sec-head__title,
  .sec-head__note { grid-column: 1 / 7; }

  .hero__aside { margin-top: 28px; }
  .hero__meta { margin-top: 40px; }

  .sec-head__num { padding-bottom: 0; margin-bottom: 10px; }
  .sec-head__note { margin-top: 14px; }

  .pipeline__list { grid-template-columns: 1fr; }
  .pipeline__item { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .pipeline__item:first-child { border-top: 0; }

  .steps { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 48px); }

  .caps li { grid-template-columns: 48px 1fr auto; align-items: start; }
  .caps .n { grid-column: 1; grid-row: 1; }
  .caps .t { grid-column: 2; grid-row: 1; }
  .caps .dot { grid-column: 3; grid-row: 1; align-self: center; }
  .caps .d { grid-column: 2 / 3; grid-row: 2; }

  .idgrid { grid-template-columns: 1fr; }

  .envs { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 48px); }

  .story__head { flex-direction: column; gap: 6px; }

  .events li { grid-template-columns: 110px 1fr; }
  .events .note { grid-column: 2; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-head__inner { gap: 16px; }
  .site-head__actions { gap: 8px; }
  .theme-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .theme-toggle__label { display: none; }
  .head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .col-location { display: none; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 4rem); }
  .plate__spec { display: none; }
  .plate__label { width: min(72%, 420px); }
  .things th, .things td { padding: 12px 12px; }
  .things td:first-child { white-space: nowrap; }
}

/* Not found */

.nf { padding-block: clamp(80px, 14vw, 180px) clamp(48px, 8vw, 96px); }

.nf .micro { color: var(--ink-muted); }

.nf__title {
  margin-top: clamp(24px, 4vw, 40px);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .95;
}

.nf__note { margin-top: 24px; color: var(--ink-muted); max-width: 44ch; }

.nf__action { margin-top: clamp(32px, 5vw, 48px); }

.nf__action .head-cta { display: inline-block; }

.nf__foot { padding-bottom: clamp(40px, 6vw, 64px); }

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
  .js .net__lines line { stroke-dashoffset: 0; }
  .js .net__nodes,
  .js .net__labels,
  .js .net__cross { opacity: 1; }
  .net__pulse { animation: none; opacity: 0; }
}
