/* ============================================================
   MASS — TONNE VARIABLE · Specimen No. 01
   Paper #f4f2ec · Ink #131210 · Acid #d8ff2a
   ============================================================ */

@font-face {
  font-family: 'Tonne';
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/anybody:vf@latest/latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Tonne';
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/anybody:vf@latest/latin-wdth-italic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: 'Tonne Serif';
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/fraunces:vf@latest/latin-full-italic.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Mass Mono';
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/space-mono@latest/latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mass Mono';
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/space-mono@latest/latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f2ec;
  --paper-dim: #eae7de;
  --ink: #131210;
  --ink-soft: #3c3a35;
  --acid: #d8ff2a;
  --hair: rgba(19, 18, 16, 0.18);
  --hair-strong: rgba(19, 18, 16, 0.55);
  --mono: 'Mass Mono', 'SFMono-Regular', Menlo, monospace;
  --disp: 'Tonne', 'Arial Narrow', sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], footer[id] { scroll-margin-top: 3.2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--acid); color: var(--ink); }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- shared atoms ---------- */

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.7;
}

.scene-tag {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 1.1rem var(--pad);
  border-top: 1px solid var(--hair-strong);
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
}
.scene-no {
  background: var(--ink);
  color: var(--acid);
  padding: 0.25em 0.55em;
  letter-spacing: 0.12em;
}
.scene-tag--light { border-color: rgba(244, 242, 236, 0.35); color: var(--paper); }
.scene-tag--light .scene-no { background: var(--acid); color: var(--ink); }
.scene-tag--inset { border-top: none; }

.chip {
  padding: 0.2em 0.6em;
  border: 1px solid var(--ink);
}
.chip--acid { background: var(--acid); border-color: var(--ink); color: var(--ink); font-weight: 700; }

/* ---------- top bar ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair-strong);
}
.bar__brand {
  font-family: var(--disp);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
}
.bar__brand sup { font-size: 0.45em; font-weight: 400; vertical-align: super; }
.bar__mid { color: var(--ink-soft); }
.bar__nav { display: flex; gap: 1.6em; }
.bar__nav a { text-decoration: none; position: relative; }
.bar__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bar__buy {
  background: var(--ink);
  color: var(--acid) !important;
  padding: 0.35em 0.8em;
}
.bar__buy:hover { background: var(--acid); color: var(--ink) !important; text-decoration: none !important; }

/* scroll "mass gauge" — the page literally fills with weight as you scroll */
.bar__gauge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  pointer-events: none;
}
.bar__gauge-fill {
  height: 100%;
  width: 100%;
  background: var(--acid);
  box-shadow: 0 0 0 0.5px var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* keyboard focus — ink on paper scenes, acid on ink scenes */
.bar__nav a:focus-visible,
.ot__toggle:focus-visible,
.footer__col a:focus-visible,
.footer__legal a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.bar__buy:focus-visible,
.play__ital:focus-visible,
.play__presets button:focus-visible,
.license__cta:focus-visible,
.license__row:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}
.play__word:focus-visible { outline: none; }
.license__row--full:focus-visible { outline-color: var(--ink); }

/* ---------- 01 hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  padding-top: 3.3rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hair-strong);
}

/* --- giant ticker: the hero's wild element --- */
.hero__marqueewrap {
  overflow: hidden;
  border-bottom: 1px solid var(--hair-strong);
  background: var(--paper);
}
.hero__marquee { display: flex; white-space: nowrap; }
.hero__mtrack {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.18em 0;
  animation: hero-ticker 30s linear infinite;
  will-change: transform;
}
@keyframes hero-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hm {
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  font-weight: 900;
  font-stretch: 118%;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.hm::after {
  content: '';
  width: 0.34em; height: 0.34em;
  background: var(--acid);
  outline: 1px solid var(--ink);
  margin: 0 0.85em;
}
.hm--acid { background: var(--acid); padding: 0.04em 0.28em; }
.hm--acid::after { margin-left: 1.05em; }
.hm--fill {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.hero__center { margin: auto 0; }
.hero__rule {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--pad);
  color: var(--ink-soft);
  border-top: 1px solid var(--hair);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}
.hero__word {
  font-size: 19.5vw;
  line-height: 0.92;
  text-align: center;
  letter-spacing: -0.015em;
  user-select: none;
  cursor: crosshair;
  margin: 0.5rem 0 1rem;
  white-space: nowrap;
}
.hero__letter {
  display: inline-block;
  font-weight: 100;
  font-stretch: 100%;
  font-variation-settings: 'wght' 100, 'wdth' 100;
  will-change: font-variation-settings;
}
.hero__claim {
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  font-weight: 500;
  text-align: center;
  max-width: 34em;
  margin: 0 auto 2.2rem;
  padding: 0 var(--pad);
}
.hero__claim em { font-style: italic; font-weight: 700; }
.acc-under {
  background: linear-gradient(transparent 62%, var(--acid) 62%);
  padding: 0 0.08em;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem var(--pad) 0;
  border-top: 1px solid var(--hair);
}
.hero__readout { display: flex; gap: 1.6em; align-items: center; }
.hero__readout b { font-weight: 700; display: inline-block; min-width: 3ch; }
.hero__hint { color: var(--ink-soft); }
.cue-arrow { display: inline-block; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- 02 manifesto ---------- */

.manifesto { padding-bottom: clamp(4rem, 9vw, 8rem); }
.manifesto__statement {
  font-size: clamp(2.6rem, 7.2vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
  max-width: 18em;
}
.manifesto__statement .mw {
  display: inline-block;
  font-variation-settings: 'wght' 100, 'wdth' 100;
  will-change: font-variation-settings;
}
.manifesto__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--pad);
  border-top: 1px solid var(--hair);
  padding-top: 2.2rem;
}
.manifesto__col h3 {
  color: var(--ink);
  margin-bottom: 1.1em;
  padding-left: 1.1em;
  position: relative;
}
.manifesto__col h3::before {
  content: '';
  position: absolute;
  left: 0; top: 0.35em;
  width: 0.55em; height: 0.55em;
  background: var(--acid);
  outline: 1px solid var(--ink);
}
.manifesto__col p {
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.55;
  font-weight: 420;
  color: var(--ink-soft);
}
.manifesto__quote {
  margin: clamp(3rem, 7vw, 6rem) var(--pad) 0;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--ink);
  position: relative;
}
.manifesto__quote::after {
  content: 'PRESS';
  position: absolute;
  top: -1px; right: -1px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  background: var(--ink);
  color: var(--paper);
  padding: 0.4em 0.9em;
}
.manifesto__quote p {
  font-family: 'Tonne Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: 'opsz' 100, 'SOFT' 0, 'WONK' 1;
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  line-height: 1.18;
  max-width: 24em;
}
.q-acid { background: var(--acid); padding: 0 0.12em; font-style: inherit; }
.manifesto__quote cite { display: block; margin-top: 1.6em; font-style: normal; color: var(--ink-soft); }

/* ---------- 03 axes pinned ---------- */

.axes { border-top: 1px solid var(--hair-strong); }
.axes__pin {
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    repeating-linear-gradient(to right, transparent 0 calc(10% - 1px), var(--hair) calc(10% - 1px) 10%),
    var(--paper-dim);
}
.axes__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
}
.axes__glyph {
  font-size: min(34vh, 30vw);
  line-height: 0.9;
  font-variation-settings: 'wght' 100, 'wdth' 100;
  will-change: font-variation-settings;
  user-select: none;
}
.axes__hud {
  position: absolute;
  inset: auto 0 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 0 var(--pad);
}
.axes__bignum { display: flex; align-items: baseline; gap: 1.2em; font-size: 13px; }
.axes__value { font-size: 34px; font-weight: 700; letter-spacing: 0.05em; min-width: 3ch; text-align: center; }
.axes__track {
  width: min(560px, 78vw);
  height: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.axes__fill { height: 100%; width: 0%; background: var(--acid); border-right: 3px solid var(--ink); }
.axes__stylename {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink);
}
.axes__caption {
  padding: 1rem var(--pad) 1.2rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--hair);
}

/* ---------- 04 glyph rain ---------- */

.rain {
  position: relative;
  height: 130svh;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.rain .scene-tag { position: absolute; inset: 0 0 auto 0; z-index: 3; border-top-color: transparent; }
#rainCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rain__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--pad);
  pointer-events: none;
}
.rain__title {
  font-size: clamp(2.8rem, 8vw, 8rem);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-shadow: 0 0 34px rgba(19, 18, 16, 0.95), 0 0 8px rgba(19, 18, 16, 0.9);
}
.rain__sub {
  margin-top: 1.6rem;
  color: var(--acid);
  max-width: 42em;
  text-shadow: 0 0 12px rgba(19, 18, 16, 1);
}

/* ---------- 05 weights ---------- */

.weights { border-top: 1px solid var(--hair-strong); }
.weights__list { list-style: none; }
.weights__row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.35rem var(--pad);
  border-bottom: 1px solid var(--hair);
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease;
}
.weights__num { color: var(--ink-soft); }
.weights__sample {
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 1.12;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  white-space: nowrap;
}
.weights__use { color: var(--ink-soft); text-align: right; }
.weights__row:hover, .weights__row:focus-visible { background: var(--ink); color: var(--paper); }
.weights__row:hover .weights__num,
.weights__row:hover .weights__use { color: var(--acid); }
.weights__note { padding: 1.4rem var(--pad); color: var(--ink-soft); }

/* ---------- 06 playground ---------- */

.play {
  background: var(--ink);
  color: var(--paper);
}
.play .scene-tag { border-top-color: rgba(244, 242, 236, 0.4); }
.play__stage {
  position: relative;
  height: 62svh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
  overflow: hidden;
  background:
    linear-gradient(rgba(244,242,236,0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(244,242,236,0.06) 1px, transparent 1px) 0 0 / 12.5% 100%;
}
.play__stage:active { cursor: grabbing; }
.play__word {
  font-size: clamp(4rem, 15vw, 15rem);
  line-height: 1;
  color: var(--paper);
  font-variation-settings: 'wght' 760, 'wdth' 100;
  will-change: font-variation-settings;
  outline: none;
  white-space: nowrap;
  max-width: 96vw;
  overflow: hidden;
  text-align: center;
  caret-color: var(--acid);
}
.play__word:focus { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 0.04em; text-underline-offset: 0.12em; }
.play__crosshair {
  position: absolute;
  pointer-events: none;
  color: var(--acid);
  font-size: 10px;
  letter-spacing: 0.1em;
  transform: translate(-50%, -130%);
  white-space: nowrap;
  display: none;
}
.play__crosshair::after {
  content: '';
  position: absolute;
  left: 50%; top: 130%;
  width: 9px; height: 9px;
  border: 1.5px solid var(--acid);
  transform: translate(-50%, -50%) rotate(45deg);
}
.play__console { border-top: 1px solid rgba(244, 242, 236, 0.4); }
.play__instr { padding: 0.9rem var(--pad); color: rgba(244, 242, 236, 0.72); border-bottom: 1px solid rgba(244, 242, 236, 0.18); }
.play__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--pad);
  border-bottom: 1px solid rgba(244, 242, 236, 0.18);
}
.play__readouts { display: flex; gap: 1.8em; align-items: center; color: var(--paper); }
.play__readouts b { color: var(--acid); font-weight: 700; display: inline-block; min-width: 3ch; }
.play__ital {
  background: none;
  border: 1px solid rgba(244, 242, 236, 0.6);
  color: var(--paper);
  padding: 0.45em 0.9em;
  cursor: pointer;
}
.play__ital[aria-pressed="true"] { background: var(--acid); color: var(--ink); border-color: var(--acid); font-weight: 700; }
.play__presets { display: flex; flex-wrap: wrap; gap: 0.6em; }
.play__presets button {
  background: none;
  border: 1px solid rgba(244, 242, 236, 0.6);
  color: var(--paper);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0.45em 0.9em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.play__presets button:hover { background: var(--paper); color: var(--ink); }
.play__css {
  display: flex;
  align-items: center;
  gap: 1.2em;
  padding: 1rem var(--pad);
  cursor: copy;
  color: var(--paper);
}
.play__csslabel { background: var(--acid); color: var(--ink); font-weight: 700; padding: 0.2em 0.6em; }
.play__css code { font-family: var(--mono); letter-spacing: 0.03em; text-transform: none; font-size: 12px; transition: color 0.15s ease; }
.play__css:hover { background: rgba(244, 242, 236, 0.05); }
.play__css:hover code { color: var(--acid); }
.play__css:hover::after {
  content: 'CLICK TO COPY';
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(244, 242, 236, 0.55);
}
.play__css:has(.play__copied.on)::after { content: none; }
.play__copied { color: var(--acid); opacity: 0; transition: opacity 0.2s; }
.play__copied.on { opacity: 1; }

/* ---------- 07 opentype ---------- */

.ot { border-top: 1px solid var(--hair-strong); }
.ot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ot__card {
  padding: 1.8rem var(--pad) 2.2rem;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 20rem;
}
.ot__card:last-child { border-right: none; }
.ot__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ot__head h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.ot__toggle {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: none;
  border: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  color: var(--ink);
}
.ot__knob {
  width: 42px; height: 22px;
  border: 1.5px solid var(--ink);
  position: relative;
  background: var(--paper);
  transition: background 0.2s;
}
.ot__knob::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 15px; height: 15px;
  background: var(--ink);
  transition: left 0.2s ease;
}
.ot__toggle[aria-pressed="true"] .ot__knob { background: var(--acid); }
.ot__toggle[aria-pressed="true"] .ot__knob::after { left: 22px; }
.ot__tag { font-weight: 700; }
.ot__demo {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 1.25;
  font-weight: 560;
  min-height: 3.9em;
  transition: color 0.2s;
}
.ot__demo--num { display: flex; flex-direction: column; font-variant-numeric: normal; }
.ot__demo.feat-tnum { font-feature-settings: 'tnum' 1; }
.ot__demo.feat-frac { font-feature-settings: 'frac' 1; }
.ot__demo.feat-ital { font-style: italic; }
.ot__demo.lit { color: var(--ink); }
.ot__desc { font-size: 0.95rem; line-height: 1.5; color: var(--ink-soft); margin-top: auto; }

/* ---------- 08 charset ---------- */

.charset { border-top: 1px solid var(--hair-strong); }
.charset__grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  border-left: 1px solid var(--hair);
}
.charset__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-size: clamp(1.2rem, 3.4vw, 3rem);
  font-variation-settings: 'wght' 300, 'wdth' 100;
  transition: background 0.18s ease, color 0.18s ease, font-variation-settings 0.28s ease;
  user-select: none;
  position: relative;
}
.charset__cell:hover {
  background: var(--acid);
  font-variation-settings: 'wght' 900, 'wdth' 128;
  z-index: 2;
}
.charset__cell::before {
  content: attr(data-code);
  position: absolute;
  top: 4px; left: 6px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  opacity: 0;
}
.charset__cell:hover::before { opacity: 1; }
.charset__cell.pulse {
  background: var(--ink);
  color: var(--acid);
  font-variation-settings: 'wght' 900, 'wdth' 118;
}
.charset__note { padding: 1.4rem var(--pad); color: var(--ink-soft); }

/* ---------- 09 license ---------- */

.license {
  background: var(--ink);
  color: var(--paper);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.license .scene-tag { border-top-color: transparent; }
.license__title {
  font-size: clamp(3.4rem, 11vw, 11rem);
  font-weight: 900;
  font-stretch: 118%;
  line-height: 0.95;
  letter-spacing: -0.02em;
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
}
.license__table { border-top: 1px solid rgba(244, 242, 236, 0.4); }
.license__row {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) 2fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem var(--pad);
  border-bottom: 1px solid rgba(244, 242, 236, 0.25);
  transition: background 0.2s ease, color 0.2s ease;
  outline: none;
}
.license__row:hover, .license__row:focus-visible { background: var(--paper); color: var(--ink); }
.license__kind { font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 700; }
.license__desc { color: rgba(244, 242, 236, 0.68); }
.license__row:hover .license__desc, .license__row:focus-visible .license__desc { color: var(--ink-soft); }
.license__price { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 900; text-align: right; }
.license__per { display: block; text-align: right; color: var(--acid); }
.license__row:hover .license__per, .license__row:focus-visible .license__per { color: var(--ink); }
.license__row--full { background: var(--acid); color: var(--ink); }
.license__row--full .license__desc, .license__row--full .license__per { color: var(--ink); }
.license__row--full:hover { background: var(--paper); }
.license__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: clamp(2rem, 5vw, 4rem) var(--pad) 0;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--acid);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  font-stretch: 115%;
  font-size: clamp(1.4rem, 3.4vw, 3rem);
  letter-spacing: 0.01em;
  border: 1px solid var(--acid);
  transition: background 0.2s, color 0.2s;
}
.license__cta:hover { background: var(--ink); color: var(--acid); }
.license__cta-sub { font-weight: 400; }
.license__fine { padding: 1.6rem var(--pad) 0; color: rgba(244, 242, 236, 0.62); text-align: center; }

/* ---------- footer ---------- */

.footer {
  border-top: 4px solid var(--ink);
  overflow: hidden;
}
.footer__word {
  font-size: 27vw;
  line-height: 0.78;
  text-align: center;
  font-weight: 100;
  font-variation-settings: 'wght' 100, 'wdth' 100;
  will-change: font-variation-settings;
  letter-spacing: -0.01em;
  transform: translateY(6%);
  user-select: none;
  white-space: nowrap;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem var(--pad);
  border-top: 1px solid var(--hair-strong);
}
.footer__col h4 { margin-bottom: 0.9em; color: var(--ink-soft); }
.footer__col p { font-size: 0.95rem; line-height: 1.6; font-weight: 450; }
.footer__col a { text-decoration-color: var(--ink-soft); text-underline-offset: 3px; }
.footer__col a:hover { background: var(--acid); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad) 1.2rem;
  border-top: 1px solid var(--hair);
  color: var(--ink-soft);
}
.footer__legal a { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .manifesto__cols { grid-template-columns: 1fr; }
  .ot__grid { grid-template-columns: 1fr; }
  .ot__card { border-right: none; border-bottom: 1px solid var(--hair); min-height: 0; }
  .charset__grid { grid-template-columns: repeat(5, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .bar__mid { display: none; }
  .license__row { grid-template-columns: 1fr auto; }
  .license__desc { grid-column: 1 / -1; order: 3; }
  .hero__rule span:nth-child(n+5) { display: none; }
  .hero__hint { display: none; }
}

@media (max-width: 560px) {
  .bar__nav { gap: 1em; }
  .bar__nav a:not(.bar__buy) { display: none; }
  .hero__word { font-size: 21vw; }
  .weights__row { grid-template-columns: 3rem 1fr; }
  .weights__use { display: none; }
  .play__row { flex-direction: column; align-items: flex-start; }
  .play__css { flex-wrap: wrap; }
  .play__css code { font-size: 10px; }
  .footer__legal { flex-direction: column; }
  .hero__scrollcue { display: none; }
  .hero__readout { justify-content: space-between; width: 100%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .cue-arrow { animation: none; }
  .hero__mtrack { animation: none; }
  .hero__letter { font-variation-settings: 'wght' 640, 'wdth' 104 !important; }
  .manifesto__statement .mw { font-variation-settings: 'wght' 640, 'wdth' 100 !important; }
  .footer__word { font-variation-settings: 'wght' 500, 'wdth' 100 !important; }
  * { transition-duration: 0.01ms !important; }
}
