@charset "utf-8";

/* EXCUDION — typography-led, one accent, no decoration that carries no information.
   Palette and type from company/brand/Excudion_Brand_Guidelines.
   Ion Cyan is never used for running text: it fails contrast on white and the brand
   forbids it. On light grounds the accent is Excudion Navy; on dark grounds it is cyan. */

@font-face {
  font-family: Archivo;
  src: url(../fonts/archivo-var.woff2) format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ------------------------------------------------------------ */

:root {
  --deep: #0a1526;
  --navy: #1f3864;
  --mid: #2e5395;
  --cyan: #00b4d8;

  --bg: #fff;
  --bg-2: #f4f7fa;
  --fg: #111820;
  --fg-2: #55657c;
  --rule: #dbe1ea;
  --rule-2: #edf1f5;
  --accent: #1f3864;
  --link: #1f3864;
  --focus: #1f3864;

  --inv-bg: #0a1526;
  --inv-bg-2: #101f36;
  --inv-fg: #fff;
  --inv-fg-2: #8fa3bf;
  --inv-rule: rgb(143 163 191 / 0.24);
  --inv-accent: #00b4d8;

  --wrap: 74rem;
  --measure: 36rem;
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --s7: 6.5rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --t-display: clamp(2.4rem, 1.3rem + 4.4vw, 4.5rem);
  --t-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --t-h3: 1.1875rem;
  --t-lede: clamp(1.125rem, 1.02rem + 0.5vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.75rem;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1526;
    --bg-2: #0e1a2c;
    --fg: #f1f5fa;
    --fg-2: #9fb2cc;
    --rule: rgb(143 163 191 / 0.22);
    --rule-2: rgb(143 163 191 / 0.1);
    --accent: #00b4d8;
    --link: #8fb6ee;
    --focus: #00b4d8;
    --inv-bg: #050c17;
    --inv-bg-2: #0d1727;
  }
}

/* ---------- base -------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- motion ------------------------------------------------------------ */
/* Content is only ever hidden behind the `js` class, and that class is set by an
   inline script that first checks IntersectionObserver exists. No script, no
   observer, or a failed script means nothing is hidden and the page reads as
   normal. Only opacity and transform move, so nothing reflows and nothing shifts. */

.js .rv {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.js .rv.is-in {
  opacity: 1;
  transform: none;
}
/* Siblings in a row arrive one after another, not as a block. */
.js .rv:nth-child(2) {
  transition-delay: 70ms;
}
.js .rv:nth-child(3) {
  transition-delay: 140ms;
}
.js .rv:nth-child(4) {
  transition-delay: 210ms;
}
.js .rv:nth-child(n + 5) {
  transition-delay: 280ms;
}

@media (prefers-reduced-motion: reduce) {
  .js .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--t-body);
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--s2);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

img,
svg {
  max-width: 100%;
}
/* An image with declared width and height keeps its proportions when narrowed. */
img {
  height: auto;
}

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -100vw;
  top: 0;
  z-index: 50;
  background: var(--inv-bg);
  color: #fff;
  padding: 0.75rem 1rem;
}
.skip:focus {
  left: 0;
}

.token {
  font-family: ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 0.05em 0.4em;
  border: 1px dashed currentColor;
  opacity: 0.75;
  white-space: nowrap;
}

/* ---------- shared type ------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 var(--s2);
  font-size: var(--t-label);
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.prose {
  max-width: var(--measure);
}

.qualifier {
  max-width: var(--measure);
  margin: var(--s3) 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--accent);
  color: var(--fg-2);
}

.claim {
  max-width: 32ch;
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: 108%;
  line-height: 1.4;
  color: var(--fg);
}

.note {
  max-width: var(--measure);
  margin: var(--s3) 0 0;
  color: var(--fg-2);
}
.note--small {
  font-size: var(--t-small);
}
.sec--note {
  padding-block: var(--s5);
}
.sec--note .note {
  margin: 0;
}

.inline-link {
  white-space: nowrap;
}

/* ---------- header ------------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  /* Clear space: half a cell beside a 24 px mark. */
  gap: 0.8rem;
  color: var(--navy);
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  .brand {
    color: #fff;
  }
}
.brand svg {
  display: block;
  fill: currentColor;
}
.brand .mark-head {
  width: 1.5rem;
  height: 1.5rem;
}
.brand .mark-word {
  width: auto;
  height: 1.0625rem;
}

.nav__list,
.lang {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.1vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.4rem 0;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover {
  color: var(--fg);
}
/* aria-current="page" on the page itself, "true" on the menu entry of the area a
   child page belongs to (the Design Tool under Engineering Services). */
.nav__list a[aria-current] {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

.burger {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--rule);
  color: var(--fg);
  font: inherit;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}
.burger__box {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  position: relative;
}
.burger__box::before,
.burger__box::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.burger__box::before {
  inset: 4px -2px 4px -2px;
  height: 2px;
  top: 4px;
  bottom: auto;
}
.burger__box::after {
  inset: -2px 4px -2px 4px;
  width: 2px;
  left: 4px;
  right: auto;
}
.burger[aria-expanded="true"] {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 72rem) {
  .burger {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: var(--s2) var(--gutter) var(--s4);
  }
  .nav[hidden] {
    display: none;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule-2);
  }
  .nav__list a[aria-current] {
    border-bottom-color: var(--accent);
  }
}

@media (min-width: 72.001rem) {
  .nav[hidden] {
    display: block;
  }
}

/* The tabs of a macro area (Engineering Services: Services · Design Tool), under the
   sticky header on every page of the area. Not sticky itself. */
.subnav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.subnav__list {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
}
.subnav__list a {
  display: block;
  padding: 0.75rem 0;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--fg-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.subnav__list a:hover {
  color: var(--fg);
}
.subnav__list a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--accent);
}

/* ---------- hero -------------------------------------------------------------- */

.hero {
  background: var(--inv-bg);
  color: var(--inv-fg);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--inv-rule);
}

.hero .eyebrow {
  color: var(--inv-fg-2);
  position: relative;
  padding-top: 1.4rem;
}
.hero .eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3px;
  background: var(--inv-accent);
  transform-origin: left center;
  animation: rule-draw 0.7s 0.15s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
@keyframes rule-draw {
  from {
    transform: scaleX(0);
  }
}

/* The print animation. It reserves its own height, so nothing shifts when it plays. */
.hero__print {
  width: min(27rem, 78%);
  margin-bottom: var(--s5);
}
.hero__print svg {
  display: block;
  width: 100%;
  height: auto;
}
/* The wordmark already appears in the header; this is the same name, so it is not
   announced twice. The animation is decorative and marked aria-hidden at source. */
.hero--motion .eyebrow {
  padding-top: 0;
}
.hero--motion .eyebrow::before {
  display: none;
}

.hero__grid {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s4);
}
@media (min-width: 62rem) {
  .hero--split .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }
}

.hero__title {
  max-width: 21ch;
  font-size: var(--t-display);
  color: var(--inv-fg);
}

.hero__lede {
  max-width: 40ch;
  margin: 0;
  font-size: var(--t-lede);
  font-stretch: 105%;
  line-height: 1.42;
  color: var(--inv-fg);
}

.hero .prose {
  margin-top: var(--s3);
  color: var(--inv-fg-2);
}

.hero .qualifier {
  border-left-color: var(--inv-accent);
  color: var(--inv-fg-2);
}

/* The scoping-call offer, beside the hero button. Same words as the closing band. */
.hero__offer {
  max-width: 34rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--inv-accent);
}
.hero__offer-label {
  margin: 0 0 0.6rem;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--inv-accent);
}
.hero__offer-text {
  margin: 0;
  max-width: 38ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--inv-fg);
}

/* ---------- statement band ---------------------------------------------------- */
/* The refusal is the company's whole argument, so once per page it gets the floor. */

.stmt {
  background: var(--inv-bg);
  color: var(--inv-fg);
  border-top: 3px solid var(--inv-accent);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.stmt .eyebrow {
  color: var(--inv-accent);
}
.stmt > .wrap {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 62rem) {
  .stmt > .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
    gap: 0 clamp(2rem, 5vw, 4.5rem);
    align-items: end;
  }
  .stmt .eyebrow {
    grid-column: 1 / -1;
  }
}
.stmt__text {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 600;
  font-stretch: 118%;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.stmt__body {
  color: var(--inv-fg-2);
  border-left: 2px solid var(--inv-accent);
  padding-left: 1rem;
}

/* ---------- regulation timeline ----------------------------------------------- */

.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.tl__item {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: var(--s3) 0 var(--s3) 2.25rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 46rem) {
  .tl__item {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 0.15rem var(--s3);
  }
  /* The prose sits beside the date, not below the article reference. */
  .tl__text {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
/* The rail and its markers: filled where the obligation is already in force. */
.tl__item::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.tl__item:first-child::before {
  top: var(--s3);
}
.tl__item:last-child::before {
  bottom: calc(100% - var(--s3) - 0.75rem);
}
.tl__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--s3) + 0.35rem);
  width: 0.7rem;
  height: 0.7rem;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.tl__item--in-force::after {
  background: var(--accent);
}
.tl__date {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-size: var(--t-body);
  font-weight: 600;
  font-stretch: 108%;
}
.tl__state {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.tl__ref {
  margin: 0;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.tl__text {
  margin: 0;
  max-width: var(--measure);
  color: var(--fg-2);
}
.tl__cap {
  max-width: var(--measure);
  margin-top: var(--s2);
  font-size: var(--t-small);
  color: var(--fg-2);
}

/* ---------- call to action ---------------------------------------------------- */

.btn {
  display: inline-block;
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--solid {
  background: var(--inv-accent);
  border-color: var(--inv-accent);
  color: var(--deep);
}
.btn--solid:hover {
  background: transparent;
  color: var(--inv-accent);
}
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--deep);
}
.btn--light:hover {
  background: transparent;
  color: #fff;
}
/* The second button in a hero: outlined, so the solid one stays the primary action. */
.btn--ghost {
  background: transparent;
  border-color: var(--inv-fg-2);
  color: var(--inv-fg);
}
.btn--ghost:hover {
  border-color: var(--inv-accent);
  color: var(--inv-accent);
}
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.cta-inline {
  margin-top: var(--s4);
}

.band {
  background: var(--inv-bg-2);
  color: var(--inv-fg);
  border-top: 1px solid var(--inv-rule);
}
.band__inner {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.band__title {
  font-size: var(--t-h2);
}
.band__line {
  max-width: 42ch;
  margin: var(--s2) auto var(--s4);
  color: var(--inv-fg-2);
}
/* With no line under it, the heading keeps its distance from the button. */
.band__title + .btn {
  margin-top: var(--s4);
}

/* ---------- sections ---------------------------------------------------------- */

.sec {
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.sec:first-of-type {
  border-top: 0;
}
.hero + .sec {
  border-top: 0;
}

.sec > .wrap {
  display: grid;
  gap: var(--s3) clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 62rem) {
  .sec > .wrap {
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: 0 clamp(2rem, 5vw, 4.5rem);
  }
  .sec__head {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
  /* Sections whose content wants the full measure put the heading above it. */
  .sec--full > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s4);
  }
  .sec--full .sec__head {
    position: static;
  }
}

/* Every block after the first in a section body keeps one gap. Written with :not so it
   outranks the margin resets of .steps, .facts, .list and .jumps further down, which
   used to swallow it: the steps on the Design Tool page sat on the line above them
   (DECISIONS §47). */
.sec__body > :not(:first-child) {
  margin-top: var(--s4);
}

.sec__title {
  font-size: clamp(1.45rem, 1.15rem + 1.05vw, 2rem);
  max-width: 20ch;
}

.sec--full .sec__title {
  font-size: var(--t-h2);
  max-width: 24ch;
}

/* ---------- jump blocks ------------------------------------------------------- */

.jumps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
@media (min-width: 48rem) {
  .jumps {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--rule);
  }
  /* Two blocks fill the row; three columns would leave an empty cell. */
  .jumps--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jump {
  background: var(--bg);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: background-color 0.18s ease;
}
.jump__h {
  font-size: var(--t-h3);
}
.jump__h a {
  color: inherit;
  text-decoration: none;
}
.jump__h a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.jump {
  position: relative;
}
.jump:hover {
  background: var(--bg-2);
}
.jump p {
  margin: 0;
  color: var(--fg-2);
  font-size: var(--t-small);
}
.jump p.jump__tag {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.jump p.jump__cta {
  margin-top: auto;
  padding-top: var(--s2);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.jump__cta span {
  display: inline-block;
  transition: transform 0.18s ease;
}
.jump:hover .jump__cta span {
  transform: translateX(5px);
}

/* ---------- lists ------------------------------------------------------------- */

.list {
  max-width: var(--measure);
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2.6rem;
  border-top: 1px solid var(--rule-2);
}
.list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.list--num {
  counter-reset: n;
}
.list--num li {
  counter-increment: n;
}
.list--num li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.list--num li:first-child::before {
  top: 0;
}
.list--plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 1.1rem;
  height: 2px;
  background: var(--accent);
}
.list--plain li:first-child::before {
  top: 0.65rem;
}

/* ---------- cards ------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 56rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* An odd last card fills the row rather than leaving a dead cell. */
  .card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .card:last-child:nth-child(odd) .card__row dd {
    max-width: var(--measure);
  }
}

.card {
  background: var(--bg);
  padding: var(--s3);
}
.card__head {
  padding-bottom: var(--s2);
  border-bottom: 2px solid var(--accent);
}
.card__lead {
  margin: var(--s2) 0 0;
  font-size: var(--t-h3);
  font-stretch: 106%;
  line-height: 1.36;
}
.card__h {
  font-size: var(--t-h3);
}
.card__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  background: var(--accent);
  color: var(--bg);
}
.card__body {
  margin: 0;
}
.card__row {
  display: grid;
  gap: 0.2rem;
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule-2);
}
.card__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.card__row dt {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.card__row dd {
  margin: 0;
  font-size: var(--t-small);
}

/* ---------- steps ------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}
.step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 var(--s2);
  padding: var(--s3) 0;
  border-top: 1px solid var(--rule);
}
.step:first-child {
  border-top: 0;
  padding-top: 0;
}
.step__n {
  font-size: var(--t-h3);
  font-weight: 600;
  font-stretch: 118%;
  color: var(--accent);
  line-height: 1.35;
}
.step__h {
  font-size: var(--t-h3);
  margin-bottom: 0.4rem;
}
.step p {
  margin: 0;
  max-width: var(--measure);
  color: var(--fg-2);
}

/* ---------- screenshots ------------------------------------------------------- */

.fig--image {
  margin: 0 0 var(--s4);
}
.fig--image:last-child {
  margin-bottom: 0;
}
.fig--image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: #fff;
}

/* Two or more photographs in a row under one caption; one above the other where the
   column is narrow. (Team used it for two founders' photographs until 18 November 2026,
   DECISIONS §52; kept for the next use.) */
.gallery {
  display: grid;
  gap: var(--s3);
}
@media (min-width: 40rem) {
  .gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A portrait with a section heading (the founders on Team, DECISIONS §52): beside the
   eyebrow and the name on a phone, above them in the heading column on a desktop. The
   same thin rule as every other photograph; the ground is the portrait's own white. */
.sec__head--portrait {
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.sec__head--portrait .portrait {
  display: block;
  flex: 0 0 5.5rem;
  width: 5.5rem;
  height: auto;
  border: 1px solid var(--rule);
  background: #fff;
}
.sec__head-text {
  min-width: 0;
}
@media (min-width: 62rem) {
  .sec__head--portrait {
    display: block;
  }
  .sec__head--portrait .portrait {
    width: 9rem;
    margin-bottom: var(--s3);
  }
}

/* A concept illustration drawn on Deep Navy (the earbud on Home and Battery), as a
   block of its own: the figure carries the drawing's own ground edge to edge, the image
   is capped so an ultrawide screen does not inflate it, and the caption sits in the
   page measure. */
.fig--image.fig--bleed {
  margin: 0;
  background: #0a1526;
  border-top: 1px solid var(--inv-rule);
  border-bottom: 1px solid var(--inv-rule);
}
.fig--image.fig--bleed img {
  width: min(100%, 100rem);
  margin-inline: auto;
  border: 0;
  background: #0a1526;
}
.fig--image.fig--bleed .fig__cap {
  width: min(var(--wrap), 100%);
  max-width: none; /* starts at the page's left edge, like every other caption */
  margin: 0 auto;
  padding: var(--s2) var(--gutter) var(--s3);
  color: var(--inv-fg-2);
}

/* ---------- facts (definition rows) ------------------------------------------- */

.facts {
  margin: 0;
  border-top: 1px solid var(--rule);
}
.facts__row {
  display: grid;
  gap: 0.25rem var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 46rem) {
  .facts__row {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  }
}
.facts__row dt {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-top: 0.25em;
}
.facts__row dd {
  margin: 0;
  max-width: var(--measure);
}

/* Question-led rows: the reader's question is the prominent line, the answer follows. */
.facts--qa .facts__row dt {
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  color: var(--fg);
  padding-top: 0;
}
@media (min-width: 46rem) {
  .facts--qa .facts__row {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  }
}

/* ---------- table ------------------------------------------------------------- */

.scroller {
  overflow-x: auto;
  max-width: 100%;
}

.table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: var(--t-small);
  text-align: left;
}
.table th,
.table td {
  vertical-align: top;
  padding: var(--s2) var(--s2) var(--s2) 0;
  border-bottom: 1px solid var(--rule);
}
.table thead th {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 2px solid var(--accent);
}
.table tbody th {
  font-weight: 600;
  font-stretch: 108%;
  width: 30%;
}

/* A specimen of a report page, not a result: ruled like the document it stands for. */
.table--specimen {
  min-width: 38rem;
}
.table--specimen tbody th {
  width: 34%;
}
.table--specimen tbody tr:hover {
  background: var(--bg-2);
}
.verdict {
  display: inline-block;
  white-space: nowrap;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border: 1px solid currentColor;
}
.verdict--ok {
  color: var(--accent);
}
.verdict--gap {
  color: var(--fg-2);
  border-style: dashed;
}
.verdict--no {
  color: var(--bg);
  background: var(--fg);
  border-color: var(--fg);
}

/* ---------- tinted section ---------------------------------------------------- */
/* Sets a section apart from the ones around it without a rule or a heading change. */

.sec--tint {
  background: var(--bg-2);
}
.sec--tint .card,
.sec--tint .jump {
  background: var(--bg-2);
}

/* ---------- charts ------------------------------------------------------------ */
/* Measured curves. Colour carries no meaning beyond fresh vs shifted, and the shapes
   read the same with colour removed, because the traces end at different points. */

.chart {
  width: 100%;
  height: auto;
  display: block;
  color: var(--fg);
}
.chart-grid {
  stroke: var(--rule);
  stroke-width: 1;
}
.chart-tick,
.chart-axis,
.chart-head {
  fill: var(--fg-2);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.chart-tick {
  letter-spacing: 0.04em;
}
.chart-head {
  fill: var(--fg);
  letter-spacing: 0.18em;
}
.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-line--aged {
  stroke: var(--fg-2);
  stroke-width: 2;
  stroke-dasharray: 7 6;
}
.chart-dot {
  fill: var(--accent);
}
.chart-dot--aged {
  fill: var(--fg-2);
}

/* Draw the trace on, left to right, the same direction the print head travels. */
@media (prefers-reduced-motion: no-preference) {
  .hero__band .chart-line {
    stroke-dasharray: var(--len) var(--len);
    stroke-dashoffset: var(--len);
    animation: draw-on 2.4s cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
    animation-delay: calc(0.45s + var(--i) * 0.5s);
  }
  .hero__band .chart-line--aged {
    stroke-dasharray: var(--len) var(--len);
  }
  .hero__band .chart-dot {
    opacity: 0;
    animation: fade-on 0.4s linear forwards;
    animation-delay: calc(2.65s + var(--i) * 0.5s);
  }
  @keyframes draw-on {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes fade-on {
    to {
      opacity: 1;
    }
  }
}

/* On the hero's dark ground the accent is cyan and the rules are faint. */
.hero__band {
  margin: var(--s6) 0 0;
}
.hero__band .chart {
  color: var(--inv-fg);
}
.hero__band .chart-grid {
  stroke: var(--inv-rule);
}
.hero__band .chart-tick,
.hero__band .chart-axis {
  fill: var(--inv-fg-2);
}
.hero__band .chart-line {
  stroke: var(--inv-accent);
}
.hero__band .chart-line--aged {
  stroke: var(--inv-fg-2);
}
.hero__band .chart-dot {
  fill: var(--inv-accent);
}
.hero__band .chart-dot--aged {
  fill: var(--inv-fg-2);
}
.hero__cap {
  max-width: 62ch;
  margin: var(--s2) 0 0;
  font-size: var(--t-small);
  color: var(--inv-fg-2);
}

/* ---------- figures ----------------------------------------------------------- */

.fig {
  margin: var(--s4) 0 0;
}
.fig-svg {
  width: 100%;
  min-width: 33rem;
  height: auto;
  color: var(--fg);
}
.fig-col,
.fig-row,
.fig-key {
  fill: currentColor;
  font-family: Archivo, system-ui, sans-serif;
}
.fig-col,
.fig-key {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.fig-col {
  fill: var(--fg-2);
  text-transform: uppercase;
}
.fig-key {
  fill: var(--fg-2);
}
.fig-row {
  font-size: 14px;
  font-weight: 500;
}
.fig-rule {
  stroke: var(--rule);
  stroke-width: 1;
}
.fig-on {
  fill: var(--accent);
}
.fig-half {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.fig-off {
  fill: none;
  /* Must stay readable as a graphic: 3:1 against the ground, not a hairline. */
  stroke: var(--fg-2);
  stroke-width: 1.5;
}
.fig__cap {
  max-width: var(--measure);
  margin-top: var(--s2);
  font-size: var(--t-small);
  color: var(--fg-2);
}

/* The application row on the Engineering page (DECISIONS §49), in the line style of the
   LinkedIn banners but on the page's own ground and in its colours: strokes in the
   secondary text colour, the battery in the accent, which is navy on the light theme
   and cyan on the dark one, so cyan never sits on a light ground. */
.fig--apps {
  padding-block: var(--s2) 0;
}
.apps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3) var(--s2);
}
@media (min-width: 48rem) {
  .apps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.apps li {
  text-align: center;
}
.apps svg {
  display: block;
  width: 100%;
  max-width: 8.5rem;
  height: auto;
  margin: 0 auto;
}
.apps__label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.app-line {
  fill: none;
  stroke: var(--fg-2);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.app-cell {
  fill: var(--accent);
}
.app-dot {
  fill: var(--fg-2);
}
.app-wheel {
  fill: var(--bg);
  stroke: var(--fg-2);
  stroke-width: 3;
}

/* ---------- form -------------------------------------------------------------- */

.form {
  max-width: var(--measure);
}
.field {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 var(--s3);
}
.field label {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.field__hint {
  font-size: var(--t-small);
  color: var(--fg-2);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: var(--t-body);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-bottom-width: 2px;
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.field input[type="file"] {
  padding: 0.55rem 0.6rem;
  font-size: var(--t-small);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
}
.field textarea {
  resize: vertical;
}
.form__legal,
.form__pending {
  font-size: var(--t-small);
  color: var(--fg-2);
}
.form__pending {
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

/* ---------- footer ------------------------------------------------------------ */

.foot {
  background: var(--inv-bg);
  color: var(--inv-fg-2);
  padding-block: var(--s6) var(--s4);
  font-size: var(--t-small);
}
.foot a {
  color: var(--inv-fg);
}
.foot__standing {
  max-width: 46ch;
  margin: 0 0 var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--inv-rule);
  font-size: var(--t-lede);
  font-stretch: 108%;
  line-height: 1.4;
  color: var(--inv-fg);
}
.foot__grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 46rem) {
  .foot__grid {
    grid-template-columns: 1.2fr 1fr 1.6fr;
  }
}
.foot__label {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--inv-fg-2);
  margin-bottom: var(--s2);
}
.foot address {
  font-style: normal;
  line-height: 1.8;
  color: var(--inv-fg);
}
.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}
.foot__word {
  justify-self: start;
}
@media (min-width: 46rem) {
  .foot__word {
    justify-self: end;
    align-self: end;
  }
}
.foot__word svg {
  display: block;
  width: min(15rem, 60vw);
  height: auto;
}
.foot__fine {
  margin: var(--s5) 0 0;
  padding-top: var(--s3);
  border-top: 1px solid var(--inv-rule);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  color: var(--inv-fg-2);
}

/* The honeypot. Off-canvas rather than display:none, so a bot that checks
   visibility still fills it in, and no person ever reaches it. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
