/* ============================================================
   SPIKE SECURITY — Brand guidelines (/branding)
   Standalone: this page does not load style.css. Tokens here
   are the proposed brand system (v3.0) and are documented in
   DESIGN.md.
   ============================================================ */

/* Fonts are served from our own site (see the privacy notice). Paths resolve from /css/ to /assets/fonts/. */
@font-face { font-family: 'Archivo'; src: url('../assets/fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
/* Martian Mono, fixed at the brand's 87.5% width (only the weight axis is kept) */
@font-face { font-family: 'Martian Mono'; src: url('../assets/fonts/martian-mono-latin.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;

  /* Colour */
  --obsidian: #0B0C0E;
  --obsidian-2: #131417;
  --graphite: #1C1E23;
  --line: #2A2B2D;
  --line-strong: #46474A;
  --ash: #A39E94;
  --bone: #EEEAE0;
  --bone-2: #E4DFD2;
  --line-light: #CECBC3;
  --stone: #5E5A52;
  --placeholder: #88837A;
  --orange: #FF5B1A;
  --orange-hover: #FF7A42;
  --ember: #B33A06;

  /* Type: Archivo at three widths for words, Martian Mono for numbers */
  --font: 'Archivo', 'Arial Narrow', 'Roboto Condensed', Arial, Helvetica, sans-serif;
  --mono: 'Martian Mono', ui-monospace, Menlo, Consolas, 'Courier New', monospace;
  --condensed: 62%;
  --semi: 87%;
  --expanded: 125%;

  /* Space (4 pt base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --bar-h: 60px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --mid: 320ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.7;
  letter-spacing: 0.005em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input { font: inherit; color: inherit; }
a, button, input, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 91, 26, 0.2); }
p, li, dd, figcaption { text-wrap: pretty; }
h3, h4 { text-wrap: balance; }

/* Reflow safety at large text sizes (WCAG 1.4.4): one-column grids may not grow past the
   viewport. Declared early so the multi-column layouts below still override it. */
.cover-grid, .anatomy, .lockups, .matrix, .space, .width, .scale, .sg-pair, .steps, .traits, .words,
.garments, .signs, .social, .sig-form, .field-set, .install-list, .pack-body, .picks-list,
.photo-list, .rules, .swatch, .lockup, .sg, .garment, .sign, .social-item, .minsize { grid-template-columns: minmax(0, 1fr); }
::selection { background: var(--orange); color: var(--obsidian); }

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

/* The Record Rule: Martian Mono sets the numbers people dial, check or copy, and the numbers that put
   things in order. Never words: no headlines, labels, buttons or body text. */
.data, .copy, .s-data, .btn-meta, .sec-num b, .bar-nav a b, .contents b, .steps b, .ratio-seg b, .pair-ratio, .axis-out, .minsize .label,
.scale-row > span[role="cell"]:not(:nth-child(2)) {
  font-family: var(--mono); font-stretch: normal; letter-spacing: 0; font-variant-numeric: normal;
}
.data, .copy, .s-data { font-weight: 400; font-size: 0.9em; }
.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;
}
html:not(.js) .js-only { display: none !important; }

.skip {
  position: absolute; left: var(--s4); top: -100px; z-index: 30;
  background: var(--orange); color: var(--obsidian);
  padding: var(--s3) var(--s4); font-weight: 700; text-decoration: none;
}
.skip:focus { top: var(--s3); }

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

/* ── Type roles ───────────────────────────────────────────── */
.label {
  font-size: 0.875rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--ash);
}

.link {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--orange);
  transition: color var(--fast) var(--ease);
}
.link:hover { color: var(--orange); }
/* Standalone links (not inside a sentence) get a full-size target */
.link--solo { display: inline-flex; align-items: center; min-height: 44px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px var(--s3);
  min-height: 48px; padding: 12px 20px; text-align: center;
  border: 1px solid transparent; border-radius: 0;
  font-size: 1rem; font-weight: 700; font-stretch: 100%;
  letter-spacing: 0; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.btn--primary { background: var(--orange); color: var(--obsidian); }
.btn--primary:hover { background: var(--bone); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--bone); background: var(--graphite); }
.btn--dark { background: var(--obsidian); color: var(--bone); }
.btn--dark:hover { background: var(--bone); color: var(--obsidian); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.75rem; }
.btn--lg { min-height: 60px; padding: 16px 28px; font-size: 1rem; }
.btn-meta { font-size: 0.8125em; font-weight: 500; opacity: 0.72; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
@media (max-width: 479px) {
  .btn { font-size: 0.9375rem; padding-left: 16px; padding-right: 16px; }
  .actions .btn, .sig-actions .btn { flex: 1 1 100%; }
}

/* ── Sticky bar ───────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--obsidian);
  border-bottom: 1px solid var(--line);
}
.bar-in {
  width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto;
  height: var(--bar-h);
  display: flex; align-items: center; gap: var(--s5);
}
.bar-brand {
  display: flex; align-items: center; gap: var(--s3); flex: none; min-height: 44px; min-width: 44px;
  color: var(--bone); text-decoration: none;
  font-size: 0.875rem; font-weight: 700; font-stretch: 100%;
  letter-spacing: 0;
}
.bar-mark { width: 22px; height: 28px; }
.bar-nav { flex: 1; min-width: 0; align-self: stretch; }
.bar-nav ol {
  display: flex; height: 100%; gap: var(--s1);
  overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 24px), transparent 100%);
}
.bar-nav ol::-webkit-scrollbar { display: none; }
.bar-nav a {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 10px; white-space: nowrap;
  color: var(--ash); text-decoration: none;
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0;
  transition: color var(--fast) var(--ease);
}
.bar-nav a b { font-size: 0.8125em; font-weight: 500; margin-right: 6px; color: var(--ash); transition: color var(--fast) var(--ease); }
.bar-nav a::after {
  content: ''; position: absolute; left: var(--s3); right: var(--s3); bottom: -1px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--mid) var(--ease);
}
.bar-nav a:hover { color: var(--bone); }
.bar-nav a[aria-current="true"] { color: var(--bone); }
.bar-nav a[aria-current="true"] b { color: var(--orange); }
.bar-nav a[aria-current="true"]::after { transform: scaleX(1); }
.bar-dl { flex: none; }

/* Give the section links room before they ever need to scroll */
@media (max-width: 1439px) { .bar-nav a b { display: none; } }
@media (max-width: 1199px) { .bar-brand span { display: none; } }
@media (max-width: 899px) {
  .bar-brand span { display: none; }
  .bar-dl { display: none; }
  .bar-in { gap: var(--s2); }
}

/* ── Cover ────────────────────────────────────────────────── */
.cover {
  position: relative;
  padding-top: clamp(32px, 4.5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.cover-grid {
  display: grid; gap: var(--s7);
  grid-template-columns: 1fr;
  align-items: end;
}
.cover-h1 { margin-bottom: var(--s5); }
/* Phones: hide the company name visually but keep it in the h1 for screen readers */
@media (max-width: 479px) { .kick-co { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Sized from the longest line: "ON RECORD." is 4.40em wide in Archivo 62%/800,
   so the column width ÷ 4.45 keeps all three lines whole. */
.cover-title {
  font-weight: 800; font-stretch: var(--condensed);
  text-transform: uppercase; letter-spacing: 0.005em;
  font-size: min(calc((100vw - 2 * var(--gutter)) / 4.45), 10rem);
  line-height: 0.86;
}
@media (min-width: 900px) {
  .cover-title {
    font-size: max(4.5rem, min(
      calc((min(100vw - 2 * var(--gutter), var(--max)) - var(--s7)) * 7 / 12 / 4.45),
      calc((100svh - 430px) / 2.58)
    ));
  }
}
.cover-line { display: block; }
.cover-line--o { color: var(--orange); }
.cover-lede {
  margin-top: var(--s6);
  max-width: 40ch;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
}
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.cover-status {
  display: flex; align-items: baseline; gap: var(--s3);
  margin-top: var(--s6); max-width: 52ch;
  font-size: 0.875rem; line-height: 1.55; color: var(--ash);
}
.status-dot { flex: none; width: 8px; height: 8px; background: var(--orange); transform: translateY(-1px); }

.cover-fig { display: grid; justify-items: end; gap: var(--s4); }
.cover-mark { width: auto; height: clamp(220px, 34vh, 600px); }
.fig-cap { color: var(--ash); }
.fig-note { color: var(--ash); font-size: 0.9375rem; max-width: 60ch; }

@media (max-width: 899px) {
  .cover-fig { order: -1; justify-items: start; }
  .cover-mark { height: clamp(120px, 30vw, 220px); }
  .cover-fig .fig-cap { display: none; }
}
@media (min-width: 900px) {
  .cover-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .cover-mark { height: min(56vh, 560px); }
}

.contents {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 8vw, 112px);
  border-top: 1px solid var(--line);
  counter-reset: none;
}
.contents li { display: flex; }
.contents a {
  flex: 1; min-width: 0; overflow-wrap: anywhere;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3);
  min-height: 56px; padding: var(--s4) var(--s3) var(--s4) 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone); text-decoration: none;
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0;
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.contents b { font-size: 1rem; font-weight: 500; color: var(--ash); transition: color var(--fast) var(--ease); }
.contents a:hover { border-bottom-color: var(--orange); }
.contents a:hover b { color: var(--orange); }
@media (min-width: 640px) { .contents { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .contents { grid-template-columns: repeat(8, minmax(0, 1fr)); } .contents a { flex-direction: column; gap: var(--s1); } }

/* Cover entrance: one orchestrated reveal, nothing else moves on load */
@media (prefers-reduced-motion: no-preference) {
  .js .cover-line, .js .cover-lede, .js .actions, .js .cover-status, .js .cover-h1 {
    animation: rise 700ms var(--ease) both;
  }
  .js .cover-h1 { animation-delay: 40ms; }
  .js .cover-line:nth-child(1) { animation-delay: 80ms; }
  .js .cover-line:nth-child(2) { animation-delay: 150ms; }
  .js .cover-line:nth-child(3) { animation-delay: 220ms; }
  .js .cover-lede { animation-delay: 320ms; }
  .js .actions { animation-delay: 380ms; }
  .js .cover-status { animation-delay: 440ms; }
  .js .cover-mark { animation: mark-in 1100ms var(--ease) 120ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: translateY(32px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ── Sections ─────────────────────────────────────────────── */
.sec { padding-top: clamp(72px, 10vw, 152px); padding-bottom: clamp(72px, 10vw, 152px); border-top: 1px solid var(--line); }

/* Section opening: a hanging numeral, the section's one orange element, set in the
   margin beside a statement headline. The number and name never sit above the heading. */
.sec-head {
  --title: clamp(2.25rem, 5.4vw, 4.75rem);
  display: grid; grid-template-columns: fit-content(38%) minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 48px); row-gap: var(--s5);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.sec-num { display: grid; gap: var(--s2); justify-items: start; }
.sec-num b {
  font-size: clamp(1.75rem, 3.4vw, 3rem); font-weight: 700; line-height: 1; color: var(--orange);
}
.sec-num span {
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0; color: var(--ash);
}
.sec-title {
  font-weight: 800; font-stretch: var(--condensed);
  text-transform: uppercase; letter-spacing: 0.005em;
  font-size: var(--title);
  line-height: 0.88;
  max-width: 16ch;
  text-wrap: balance;
  overflow-wrap: anywhere; hyphens: auto;
}
.sec-lede { grid-column: 1 / -1; max-width: 54ch; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; }
@media (min-width: 1000px) {
  .sec-head { grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); column-gap: var(--s6); align-items: end; }
  .sec-num, .sec-title { align-self: start; }
  .sec-lede { grid-column: auto; padding-bottom: 0.3em; }
}

.sub { margin-top: clamp(72px, 9vw, 128px); }
.sub-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.sub-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; font-stretch: var(--semi);
  line-height: 1.15; letter-spacing: -0.005em;
}
.sub > .sub-title { margin-bottom: var(--s6); }
.sub-lede { max-width: 62ch; color: var(--ash); }
@media (min-width: 1000px) {
  .sub-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; column-gap: var(--s8); }
}

.note { margin-top: var(--s5); color: var(--ash); font-size: 0.9375rem; }
.fallbacks .note { display: flex; flex-wrap: wrap; gap: 0 var(--s6); }

/* Definition lists used as rule sheets */
.rules { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rules > div { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.rules dt {
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0;
}
.rules dd { max-width: 60ch; }
.rules i { font-style: italic; font-weight: 600; }
@media (min-width: 700px) {
  .rules > div { grid-template-columns: 10rem minmax(0, 1fr); column-gap: var(--s6); }
  .rules--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
  .rules--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s6); }
  .rules--2 > div, .rules--3 > div { grid-template-columns: 1fr; }
}

/* Download link rows */
.dl { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s2) var(--s4); }
.dl-name {
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%;
  letter-spacing: 0;
}
.dl-links { display: flex; flex-wrap: wrap; gap: var(--s1); }
.dl-links a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 8px;
  font-size: 0.875rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0;
  color: inherit; text-decoration: none;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 32%, transparent);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.dl-links a:hover { border-color: currentColor; }
@media (pointer: coarse) { .dl-links a { min-height: 44px; padding: 8px 12px; } }

/* Quick picks: the four files most people need, in plain words */
.picks { margin-bottom: clamp(64px, 8vw, 112px); }
.picks .sub-title { margin-bottom: var(--s5); }
.picks-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .picks-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); } }
.pick {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s1) var(--s5);
  min-height: 92px; padding: var(--s4) 0; border-bottom: 1px solid var(--line);
  color: var(--bone); text-decoration: none;
}
.pick-for { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.35; }
.pick-file { grid-column: 1; font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ash); }
.pick-go {
  grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.pick-go svg { width: 18px; height: 18px; }
.pick:hover .pick-go { background: var(--orange); border-color: var(--orange); color: var(--obsidian); }
.pick:hover .pick-for { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--orange); text-underline-offset: 0.2em; }

/* ── 01 Logo ──────────────────────────────────────────────── */
.anatomy { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1000px) { .anatomy { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s8); } }
.anatomy-fig { display: grid; gap: var(--s4); }
.anatomy-fig svg { width: 100%; height: auto; max-width: 600px; }

.fig-zone { fill: var(--obsidian-2); stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.fig-box { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fig-dim path, .fig-ang path { fill: none; stroke: var(--ash); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.fig-ang .fig-ext { stroke-dasharray: 4 4; }
.fig-ang .fig-arc { stroke: var(--bone); stroke-width: 1.5; }
.fig-t { fill: var(--bone); font-size: 22px; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.fig-t--x { font-style: italic; font-stretch: 100%; font-size: 26px; }
.fig-t--big { font-size: 96px; font-style: italic; font-stretch: 100%; fill: var(--ash); }

.lockups { display: grid; gap: var(--s4); }
@media (min-width: 800px) { .lockups { grid-template-columns: 6fr 3fr 3fr; } }
.lockup { display: grid; grid-template-rows: 1fr auto; gap: var(--s4); }
.lockup-art {
  display: grid; place-items: center; min-height: 220px; padding: var(--s7) var(--s6);
  background: var(--obsidian-2); border: 1px solid var(--line);
}
.lockup--h .lk { width: min(100%, 440px); height: auto; }
.lockup--s .lk { width: min(100%, 190px); height: auto; }
.lockup--m .lk { width: auto; height: 104px; }
.lockup figcaption { color: var(--ash); max-width: 40ch; }
.lockup figcaption b {
  display: block; margin-bottom: var(--s1); color: var(--bone);
  font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0;
}

/* Colourway matrix: each row is a band in its own background */
.matrix { display: grid; gap: var(--s2); }
.cw {
  --bg: var(--obsidian); --ink: var(--bone); --muted: var(--ash); --edge: var(--line);
  display: grid; gap: 0;
  background: var(--bg); color: var(--ink); border: 1px solid var(--edge);
}
.cw--light { --bg: var(--bone); --ink: var(--obsidian); --muted: var(--stone); --edge: var(--bone); }
.cw--orange { --bg: var(--obsidian-2); }
.cw--bone { --bg: var(--graphite); --edge: var(--graphite); }
.cw--obsidian { --bg: var(--orange); --ink: var(--obsidian); --muted: var(--obsidian); --edge: var(--orange); }
.cw-head { padding: var(--s5); display: grid; gap: var(--s2); align-content: start; }
.cw-name { font-size: 1.25rem; font-weight: 700; font-stretch: var(--semi); line-height: 1.2; }
.cw-use { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; max-width: 30ch; }
.cw-cell { display: grid; grid-template-rows: 1fr auto; gap: var(--s4); padding: var(--s5); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.cw-art { display: grid; place-items: center; min-height: 120px; }
.cw .lk--horizontal { width: min(100%, 300px); height: auto; }
.cw .lk--stacked { width: min(100%, 150px); height: auto; }
.cw .lk--shield { width: auto; height: 84px; }
.cw .dl-name { color: var(--muted); }
.cw--obsidian .dl-links a:hover, .cw--light .dl-links a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cw--obsidian :focus-visible, .cw--light :focus-visible { outline-color: var(--obsidian); }
@media (min-width: 1000px) {
  .cw { grid-template-columns: minmax(0, 3fr) minmax(0, 4.25fr) minmax(0, 2.75fr) minmax(0, 2fr); }
  .cw-cell { border-top: 0; border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .cw-art { min-height: 150px; }
}
@media (max-width: 639px) {
  /* Phones: horizontal lockup full width, stacked and shield side by side */
  .cw { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cw-head, .cw-cell--horizontal { grid-column: 1 / -1; }
  .cw-cell { padding: var(--s4); }
  .cw-cell--shield { border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .cw-cell--stacked .dl, .cw-cell--shield .dl { flex-direction: column; align-items: flex-start; }
  .cw .lk--shield { height: 72px; }
}
@media (min-width: 640px) and (max-width: 999px) {
  .cw { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cw-head { grid-column: 1 / -1; }
  .cw-cell + .cw-cell { border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .cw-cell .dl { flex-direction: column; align-items: flex-start; }
}

.space { display: grid; gap: var(--s7); align-items: end; }
@media (min-width: 1000px) { .space { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.space-fig { display: grid; gap: var(--s4); }
.space-fig svg { width: 100%; height: auto; }
.minsize { display: grid; gap: var(--s5); align-content: end; }
.minsize-item { display: flex; align-items: center; gap: var(--s5); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.minsize-art { width: 136px; display: flex; align-items: center; }
.minsize-note { color: var(--ash); font-size: 0.9375rem; max-width: 36ch; }

.misuse { display: grid; gap: var(--s5) var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.misuse li { display: grid; gap: var(--s3); }
.misuse-art {
  display: grid; place-items: center; height: 160px; padding: var(--s5);
  background: var(--obsidian-2); border: 1px solid var(--line); overflow: hidden;
}
.misuse-art .lk { width: min(100%, 230px); height: auto; }
.misuse-stretch { width: 260px !important; height: 30px !important; }
.misuse-rotate { transform: rotate(-11deg); }
.misuse-glow { filter: drop-shadow(0 0 12px rgba(255, 91, 26, 0.9)) drop-shadow(5px 6px 0 #3D7BD9); }
.misuse-retype { display: flex !important; align-items: center; justify-content: center; gap: 12px; }
.misuse-retype svg { width: auto; height: 50px; }
.misuse-retype span { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--bone); }
.misuse-orange { background: var(--orange); border-color: var(--orange); }
.misuse p { display: flex; align-items: baseline; gap: var(--s3); color: var(--bone); font-size: 0.9375rem; line-height: 1.5; }
.misuse .x { position: relative; flex: none; width: 14px; height: 14px; transform: translateY(2px); }
.misuse .x::before, .misuse .x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--bone); }
.misuse .x::before { transform: translate(-50%, -50%) rotate(45deg); }
.misuse .x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ── 02 Colour ────────────────────────────────────────────── */
.ratio-fig { display: grid; gap: var(--s4); }
.ratio { display: flex; flex-direction: column; height: auto; border: 1px solid var(--line); }
.ratio-seg { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s1); padding: var(--s4) var(--s5); }
.ratio-seg b { font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 700; line-height: 0.95; }
.ratio-seg span { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.ratio-seg--ob { background: var(--obsidian); color: var(--bone); min-height: 220px; }
.ratio-seg--bone { background: var(--bone); color: var(--obsidian); min-height: 110px; }
.ratio-seg--or { background: var(--orange); color: var(--obsidian); min-height: 84px; }
@media (min-width: 760px) {
  .ratio { flex-direction: row; height: clamp(260px, 30vw, 380px); }
  .ratio-seg { min-height: 0; }
  .ratio-seg--ob { flex: 70; }
  .ratio-seg--bone { flex: 20; }
  .ratio-seg--or { flex: 10; padding-left: var(--s3); padding-right: var(--s3); min-width: 96px; }
}

.swatches { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); margin-top: var(--s8); }
@media (min-width: 900px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.swatch { display: grid; gap: var(--s3); align-content: start; }
.swatch-chip { height: 96px; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: var(--s3) var(--s4); }
.swatch-chip .label { font-size: 0.6875rem; }
.swatch-name { margin-top: var(--s2); font-size: 1.5rem; font-weight: 700; font-stretch: var(--semi); line-height: 1.15; }
.swatch-role { color: var(--ash); max-width: 34ch; }
.specs { margin-top: var(--s3); border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; }
.specs dt { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ash); padding-top: 3px; }
.specs dd { font-variant-numeric: tabular-nums; }

.copy {
  position: relative; display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 32px; margin: -4px 0; padding: 4px 8px 4px 0;
  background: none; border: 0; cursor: pointer;
  flex-wrap: wrap; max-width: 100%;
  font-weight: 500; letter-spacing: 0;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em;
  transition: color var(--fast) var(--ease), text-decoration-color var(--fast) var(--ease);
}
.copy::after {
  content: 'Copy'; font-family: var(--font); font-size: 0.8125rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ash); opacity: 0; transition: opacity var(--fast) var(--ease);
}
.copy:hover, .copy:focus-visible { text-decoration-color: var(--orange); }
.copy:hover::after, .copy:focus-visible::after { opacity: 1; }
.copy.is-copied::after { content: 'Copied'; color: var(--orange); opacity: 1; }
@media (pointer: coarse) { .copy { min-height: 44px; } .copy::after { opacity: 1; } }

.tones { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.tones th, .tones td { text-align: left; padding: 12px var(--s4) 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tones thead th { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ash); }
.tones tbody th { font-weight: 700; white-space: nowrap; }
.tones td:last-child { color: var(--ash); }
.tone { display: block; width: 40px; height: 28px; border: 1px solid var(--line-strong); }
@media (max-width: 640px) {
  .tones thead { display: none; }
  .tones tr { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: var(--s3); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tones th, .tones td { border: 0; padding: 0; }
  .tones td:first-child { grid-row: span 2; }
  .tones td:last-child { grid-column: 2 / -1; }
}

.pairs { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pair {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'aa name' 'aa ratio' 'aa verdict';
  column-gap: var(--s5); align-items: center; padding: var(--s5);
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
}
.pair-aa { grid-area: aa; color: var(--fg); font-size: 3.5rem; font-weight: 800; font-stretch: var(--condensed); line-height: 1; }
.pair-name { grid-area: name; font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.pair-ratio { grid-area: ratio; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.pair-v { grid-area: verdict; display: flex; align-items: center; gap: var(--s2); font-size: 0.875rem; font-weight: 600; }
.pair-v::before { content: ''; flex: none; width: 10px; height: 10px; }
.pair-v--ok::before { width: 6px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.pair-v--no::before { background: linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%); }

/* ── 03 Type ──────────────────────────────────────────────── */
.widths { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .widths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .width:nth-child(even) { border-left: 1px solid var(--line); padding-left: var(--s6); } .width { padding-right: var(--s6); } }
.width { display: grid; grid-template-rows: auto 1fr auto; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line); }
.width-spec { color: var(--ash); }
.width-sample { color: var(--bone); overflow-wrap: anywhere; hyphens: auto; }
.width-sample--c { font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; font-size: clamp(3rem, 5.4vw, 4.75rem); line-height: 0.86; letter-spacing: 0.005em; }
.width-sample--n { font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.45; max-width: 26ch; }
.width-sample--e { font-weight: 700; font-stretch: var(--semi); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.005em; }
.width-sample--m { font-family: var(--mono); font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 400; line-height: 1.7; color: var(--ash); }
.width-sample--m b { display: block; margin-bottom: var(--s2); font-size: clamp(1.75rem, 2.8vw, 2.5rem); font-weight: 700; line-height: 1.1; color: var(--bone); }
.width-use { color: var(--ash); font-size: 0.9375rem; }

.axis { margin-top: var(--s8); padding: var(--s6) var(--s5); background: var(--obsidian-2); border: 1px solid var(--line); display: grid; gap: var(--s4); }
.axis-ctrl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.axis-out { font-size: 0.8125rem; font-weight: 500; color: var(--bone); }
.axis-range { width: 100%; height: 44px; accent-color: var(--orange); cursor: ew-resize; background: transparent; }
.axis-sample {
  font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.9;
  font-size: clamp(3.5rem, 13vw, 11rem); white-space: nowrap; overflow: hidden;
}

.scale { display: grid; border-top: 1px solid var(--line); }
.scale-row { display: grid; gap: var(--s2) var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.scale-row > span:not([role="cell"]) { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ash); }
.scale-row > span[role="cell"]:not(:nth-child(2)) { font-size: 0.8125rem; color: var(--ash); }
.scale-row--head { padding-top: var(--s3); padding-bottom: var(--s3); }
.scale-row--head span { color: var(--ash); }
.s-display { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.86; }
.s-h1 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.9; }
.s-h3 { font-size: 1.75rem; font-weight: 700; font-stretch: var(--semi); line-height: 1.15; }
.s-body { font-size: 1.0625rem; }
.s-small { font-size: 0.875rem; }
.s-label { font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.scale-row--head { display: none; }
@media (min-width: 900px) {
  .scale-row { grid-template-columns: 7rem minmax(0, 1fr) 7.5rem 9.5rem 11rem; }
  .scale-row--head { display: grid; }
}

/* ── 04 Supergraphic ─────────────────────────────────────── */
.sg-pair { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .sg-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sg { display: grid; gap: var(--s4); }
.sg-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--obsidian); border: 1px solid var(--line); }
.sg-crop { position: absolute; width: auto; height: 210%; left: 46%; top: -40%; }
.sg--shadow .sg-crop { left: -18%; top: -70%; height: 230%; }
.sg-lockup { position: absolute; left: 7%; bottom: 8%; width: 34%; height: auto; }
.sg-text {
  position: absolute; left: 7%; top: 10%; right: 22%;
  font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.88;
  font-size: clamp(2rem, 4.8vw, 3.75rem); color: var(--bone);
}
.sg figcaption { color: var(--ash); max-width: 52ch; }
.sg figcaption b { display: block; margin-bottom: var(--s1); color: var(--bone); font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }

.steps { display: grid; gap: 0; margin-top: var(--s8); border-top: 1px solid var(--line); counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps li + li { border-left: 1px solid var(--line); } }
.steps li { display: grid; gap: var(--s3); align-content: start; padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .steps li + li { padding-left: var(--s5); } }
.steps b { font-size: 1rem; font-weight: 500; color: var(--ash); line-height: 1.5; }

/* ── 05 Voice (paper) ─────────────────────────────────────── */
.sec--paper {
  --ash: var(--stone); --line: var(--line-light); --line-strong: #9B978E;
  background: var(--bone); color: var(--obsidian); border-top-color: var(--bone);
}
.sec--paper .sec-num b { color: var(--ember); }
.sec--paper :focus-visible { outline-color: var(--obsidian); }
.sec--paper ::selection { background: var(--obsidian); color: var(--bone); }
.traits { display: grid; gap: 0; border-top: 2px solid var(--obsidian); }
@media (min-width: 800px) { .traits { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trait + .trait { border-left: 1px solid var(--line-light); padding-left: var(--s6); } .trait { padding-right: var(--s6); } }
.trait { display: grid; gap: var(--s3); align-content: start; padding-top: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line-light); }
.trait h3 { overflow-wrap: anywhere; hyphens: auto; font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 800; font-stretch: var(--condensed); text-transform: uppercase; line-height: 0.9; }
.trait p { color: var(--stone); max-width: 32ch; }

.dodont { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dodont th { text-align: left; padding: 0 var(--s5) var(--s3) 0; font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--stone); }
.dodont td { padding: var(--s5) var(--s5) var(--s5) 0; border-top: 1px solid var(--line-light); vertical-align: top; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.4; }
.dodont td:first-child { font-weight: 600; }
.dodont td:last-child { color: var(--stone); text-decoration: line-through; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.dodont tbody tr:last-child td { border-bottom: 1px solid var(--line-light); }

.words { display: grid; gap: var(--s7); }
@media (min-width: 800px) { .words { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.words .sub-title { margin-bottom: var(--s5); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tags li { padding: 6px 12px; border: 1px solid var(--obsidian); font-weight: 600; font-size: 0.9375rem; }
.tags--avoid li { border-color: var(--line-strong); color: var(--stone); text-decoration: line-through; text-decoration-color: var(--ember); }

/* ── 06 In use ────────────────────────────────────────────── */
.garments { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .garments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.garment { display: grid; gap: var(--s4); }
.garment-art { display: grid; place-items: center; padding: var(--s6) var(--s5); background: var(--obsidian-2); border: 1px solid var(--line); }
.garment-art svg { width: min(100%, 360px); height: auto; }
.garment-art--hivis { background: var(--graphite); }
.g-body { fill: #0E0F11; stroke: var(--line-strong); stroke-width: 1.5; stroke-linejoin: round; }
.g-seam { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.g-hivis { fill: var(--orange); stroke: #C9440F; stroke-width: 1.5; stroke-linejoin: round; }
.g-tape { fill: #C8C6C0; }
.garment figcaption { display: grid; gap: var(--s4); }
.garment figcaption > p:first-child { color: var(--ash); }
.garment figcaption b { display: block; color: var(--bone); font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; margin-bottom: var(--s1); }

.g-dim { fill: none; stroke: var(--ash); stroke-width: 1; }
.g-dim-t { fill: var(--ash); font-size: 11px; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }

/* Photography: rules, not stock pictures */
.photo-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 800px) { .photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); } }
.photo-list li { padding: var(--s5) 0; border-bottom: 1px solid var(--line); color: var(--ash); max-width: 58ch; }
.photo-list b { display: block; margin-bottom: var(--s1); color: var(--bone); font-weight: 700; font-stretch: var(--semi); font-size: 1.125rem; }

.signs { display: grid; gap: var(--s5); }
@media (min-width: 700px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sign { display: grid; gap: var(--s4); }
.sign img { width: 100%; border: 1px solid var(--line); }
.signs-note { color: var(--ash); max-width: 62ch; font-size: 0.9375rem; }
@media (min-width: 700px) { .signs-note { grid-column: 1 / -1; } }

.social { display: grid; gap: var(--s6); }
@media (min-width: 900px) {
  .social { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); grid-template-areas: 'avatar banner' 'avatar share'; align-items: start; }
  .social-item--avatar { grid-area: avatar; }
  .social-item--banner { grid-area: banner; }
  .social-item--share { grid-area: share; max-width: 620px; }
}
.social-item { display: grid; gap: var(--s4); }
.social-item img { width: 100%; border: 1px solid var(--line); }
.social-item--avatar img { border-radius: 50%; width: min(100%, 240px); }
.social-item figcaption { display: grid; gap: var(--s3); color: var(--ash); }
.social-item figcaption b { display: block; color: var(--bone); font-size: 0.875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; margin-bottom: var(--s1); }
.social-item .dl { justify-content: flex-start; color: var(--bone); }

/* ── 07 Email signature ───────────────────────────────────── */
.sig { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: start; }
@media (min-width: 1000px) { .sig { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); } }
.sig-form { display: grid; gap: var(--s6); }
.field-set { margin: 0; padding: 0; border: 0; display: grid; gap: var(--s4); min-width: 0; }
.field-set legend { padding: 0; margin-bottom: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .opt { margin-left: var(--s2); font-weight: 400; color: var(--ash); font-size: 0.8125rem; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--obsidian-2); border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 1rem; color: var(--bone);
  transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.field input::placeholder { color: var(--placeholder); }
.field input:hover { border-color: var(--ash); }
.field input:focus-visible { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field-hint { color: var(--ash); font-size: 0.875rem; }

.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-strong); width: fit-content; max-width: 100%; }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg-opt span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px;
  font-size: 0.875rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0;
  color: var(--ash); transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.seg-opt + .seg-opt span { border-left: 1px solid var(--line-strong); }
.seg-opt input:checked + span { background: var(--bone); color: var(--obsidian); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.seg-opt:hover input:not(:checked) + span { color: var(--bone); }
.seg--sm .seg-opt span { min-height: 36px; padding: 6px 12px; font-size: 0.6875rem; }
@media (pointer: coarse) { .seg--sm .seg-opt span { min-height: 44px; } }

.sig-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.sig-status { min-height: 3.2em; color: var(--ash); font-size: 0.9375rem; line-height: 1.6; }
.sig-status.is-ok { color: var(--bone); }
.sig-status.is-ok::before { content: ''; display: inline-block; width: 6px; height: 11px; margin-right: 10px; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }

.mail { --mail-bg: #FFFFFF; --mail-ink: #1D1D1F; --mail-muted: #6B6B70; --mail-line: #E3E3E6;
  background: var(--mail-bg); color: var(--mail-ink); border: 1px solid var(--line);
  transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease);
}
.mail[data-theme="dark"] { --mail-bg: #1E1F22; --mail-ink: #E8E8EA; --mail-muted: #9C9CA2; --mail-line: #34353A; }
.mail-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding: 10px var(--s4); background: var(--obsidian-2); border-bottom: 1px solid var(--line); }
.mail-bar .seg { border-color: var(--line-strong); }
.mail-head { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--mail-line); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 0.875rem; line-height: 1.6; }
.mail-head p { overflow-wrap: anywhere; }
.mail-head span { display: inline-block; width: 4.5rem; color: var(--mail-muted); }
.mail-body { padding: var(--s5) var(--s5) var(--s6); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 0.9375rem; line-height: 1.6; letter-spacing: 0; }
.mail-body > p + p { margin-top: var(--s4); }
.mail-sig { margin-top: var(--s4); overflow-x: auto; }
.mail-sig table { font-weight: 400; }
.sig-note { margin-top: var(--s4); color: var(--ash); font-size: 0.875rem; max-width: 60ch; }

.install-list { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .install-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); } }
.install details { border-bottom: 1px solid var(--line); }
.install summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 56px; padding: var(--s3) 0; cursor: pointer; list-style: none;
  font-weight: 600;
}
.install summary::-webkit-details-marker { display: none; }
.install summary::after { content: '+'; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--ash); transition: transform var(--mid) var(--ease); }
.install details[open] summary::after { transform: rotate(45deg); }
.install details p { padding: 0 0 var(--s5); color: var(--ash); max-width: 52ch; }

/* ── 08 Downloads: the page ends on the brand colour ──────── */
.sec--pack {
  --ash: var(--obsidian); --line: #C94A17; --line-strong: var(--obsidian);
  background: var(--orange); color: var(--obsidian); border-top-color: var(--orange);
}
.sec--pack .sec-num b { color: var(--obsidian); }
.sec--pack :focus-visible { outline-color: var(--obsidian); }
.sec--pack ::selection { background: var(--obsidian); color: var(--orange); }
.sec--pack .link { text-decoration-color: var(--obsidian); }
.sec--pack .link:hover { color: var(--obsidian); text-decoration-thickness: 2px; }
.pack-body { display: grid; gap: var(--s7); align-items: end; }
@media (min-width: 1000px) { .pack-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); } }
.pack-list { border-top: 1px solid var(--line); }
.pack-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.5; }
.pack-list b { font-family: var(--mono); font-weight: 600; font-size: 0.9375em; margin-right: 0.25em; }
.pack-cta { display: grid; gap: var(--s4); justify-items: start; }
.pack-cta .note { margin-top: 0; max-width: 44ch; color: var(--obsidian); }

/* ── Footer ───────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-top: var(--s8); padding-bottom: var(--s7); }
.foot-in { display: grid; gap: var(--s4); }
.foot-lockup { width: 180px; height: auto; margin-bottom: var(--s3); }
.foot-legal { color: var(--ash); font-size: 0.875rem; max-width: 72ch; }

/* ── Print: the guidelines double as a PDF ───────────────── */
@media print {
  .bar, .skip, .js-only, .sig-form, .contents { display: none !important; }
  .sec { break-before: page; }
  body { font-size: 11pt; }
}
