/* CADENCE TYPE CO. One typeface, four axes, strict time. */

:root {
  --concrete: #e9e7e2;
  --ink: #191919;
  --tempo: #e8ff2a;

  --ink-06: rgba(25, 25, 25, 0.06);
  --ink-12: rgba(25, 25, 25, 0.12);
  --ink-28: rgba(25, 25, 25, 0.28);
  --ink-45: rgba(25, 25, 25, 0.45);
  --ink-62: rgba(25, 25, 25, 0.62);
  --ink-75: rgba(25, 25, 25, 0.75);
  --con-25: rgba(233, 231, 226, 0.25);
  --con-60: rgba(233, 231, 226, 0.6);
  --con-72: rgba(233, 231, 226, 0.72);

  /* Recursive axes, inherited everywhere. JS snaps these per step. */
  --wght: 400;
  --casl: 0;
  --slnt: 0;
  --mono: 0;
  --crsv: 0.5;

  /* The house easings. Nothing on this site uses a default curve. */
  --ez-in: cubic-bezier(0.16, 0.84, 0.24, 1);   /* reveals: fast out, soft landing */
  --ez-hit: cubic-bezier(0.22, 1, 0.24, 1);      /* interface hits */
  --ez-tick: cubic-bezier(0.34, 0, 0.08, 1);     /* metronome tick slide */
  --ez-pop: cubic-bezier(0.2, 1.4, 0.3, 1);      /* small overshoot accents */

  --cellH: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-variation-settings:
    "MONO" var(--mono, 0),
    "CASL" var(--casl, 0),
    "slnt" var(--slnt, 0),
    "CRSV" var(--crsv, 0.5),
    "wght" var(--wght, 400);
}

html {
  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--concrete);
  color: var(--ink);
  font-family: "Recursive", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* paper grain: one procedural SVG noise field over the whole page, multiplied
   so ink stays ink and concrete picks up tooth. Static texture, zero requests. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='260'%20height='260'%3E%3Cfilter%20id='g'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.8'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.098%200%200%200%200%200.098%200%200%200%200%200.098%200%200%200%200.6%200'/%3E%3C/filter%3E%3Crect%20width='260'%20height='260'%20filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

i, em { font-style: normal; }
b, strong { --wght: 700; font-weight: normal; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; border-radius: 0; }
input, output { font: inherit; color: inherit; }
a { color: inherit; }
ul { list-style: none; }
svg { display: block; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

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

.skip {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 50;
  background: var(--ink);
  color: var(--concrete);
  padding: 12px 18px;
  text-decoration: none;
  --wght: 640;
  translate: 0 -300%;
  transition: translate 0.24s var(--ez-hit);
}
.skip:focus-visible { translate: 0 0; }

.wrap {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.balance { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- microtype ---------- */

.bar-tag,
.nav-links a,
.nav-tempo,
.tbtn,
.chip,
.knob label,
.knob output,
.axis-label,
.seq-help,
.count-row,
.insp-tag,
.insp-read,
.insp-note,
.range-lab,
.w-meta,
.price span,
.fine,
.ghost-link,
.foot-links a,
.colophon-line,
.foot-legal,
.barline p,
.chassis-tag,
.tag {
  --mono: 1;
  --casl: 0.35;
  --wght: 470;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bar-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-75);
}
.bar-tag::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--ink);
  flex: none;
}

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--concrete);
  border-bottom: 1.5px solid var(--ink);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 58px;
}

.wm {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  --casl: 1;
  --wght: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wm-dot {
  width: 9px; height: 9px;
  background: var(--ink-28);
  transition: background-color 0.15s var(--ez-hit);
}
.wm-dot.beat { background: var(--tempo); }

.nav-links {
  display: flex;
  gap: 26px;
}
.nav-links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.18s var(--ez-hit), text-underline-offset 0.18s var(--ez-hit);
}
.nav-links a:hover {
  text-decoration-color: var(--ink);
  text-underline-offset: 7px;
}

.nav-tempo {
  white-space: nowrap;
  color: var(--ink-75);
}
.nav-tempo output {
  --wght: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

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

.hero {
  padding-top: clamp(36px, 5vh, 72px);
  padding-bottom: clamp(60px, 7.5vw, 100px);
}

.hero-head {
  margin-top: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  --wght: 870;
  --casl: 0.15;
}

.lede {
  font-size: 1.08rem;
  line-height: 1.62;
  --wght: 430;
  max-width: 52ch;
  color: var(--ink-75);
}

/* the device */

.instrument {
  position: relative;
  margin-top: clamp(36px, 5vw, 64px);
  border: 2px solid var(--ink);
  /* pressed-plate offset: the chassis sits on the page like printed chrome */
  box-shadow: 5px 5px 0 var(--ink-12);
}

.chassis-tag {
  position: absolute;
  top: -9px;
  right: 20px;
  background: var(--concrete);
  padding-inline: 10px;
  color: var(--ink-75);
}

.stage {
  padding: clamp(30px, 4vw, 56px) 20px 22px;
  border-bottom: 1.5px solid var(--ink);
  text-align: center;
  transition: scale 0.11s var(--ez-pop);
}
.stage.thump { scale: 1.013; }

.word {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 4px solid transparent;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(56px, 13vw, 176px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  --wght: 400;
  caret-color: var(--ink);
  /* registration offset: a second pass of the press, slightly off */
  text-shadow: 0.02em 0.024em 0 rgba(25, 25, 25, 0.16);
}
.word:focus-visible {
  outline: none;
  border-bottom-color: var(--ink);
}

.beat-strip {
  margin-top: clamp(18px, 2.5vw, 30px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 14px;
}
.beat-strip span {
  width: clamp(12px, 1.6vw, 22px);
  height: 6px;
  background: var(--ink-28);
}
.beat-strip span.q { height: 13px; background: var(--ink-45); }
.beat-strip span.live { background: var(--tempo); outline: 1px solid var(--ink); }

/* transport */

.transport {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 16px 18px;
  border-bottom: 1.5px solid var(--ink-28);
}

.play {
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  transition: background-color 0.16s var(--ez-hit), box-shadow 0.16s var(--ez-hit);
}
.play svg { width: 20px; height: 20px; fill: var(--ink); }
.play .ic-stop { display: none; }
.play[aria-pressed="true"] { background: var(--tempo); }
.play[aria-pressed="true"] .ic-play { display: none; }
.play[aria-pressed="true"] .ic-stop { display: block; }
.play:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.tbtn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border: 1.5px solid var(--ink);
  transition: background-color 0.15s var(--ez-hit);
}
.tbtn:hover { background: var(--ink-06); }

.snd-dot {
  width: 8px; height: 8px;
  border: 1.5px solid var(--ink);
  flex: none;
}
[aria-pressed="true"] > .snd-dot { background: var(--tempo); border-color: var(--ink); }

.knob {
  display: flex;
  align-items: center;
  gap: 10px;
}
.knob label { color: var(--ink-75); }
.knob output {
  --wght: 700;
  font-variant-numeric: tabular-nums;
  min-width: 3.4ch;
  text-align: right;
}
.knob output.flash { background: var(--tempo); outline: 2px solid var(--tempo); }

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: clamp(96px, 11vw, 150px);
  height: 26px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--ink);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  background: var(--ink);
  margin-top: -6.5px;
}
input[type="range"]:active::-webkit-slider-thumb { background: var(--tempo); outline: 1.5px solid var(--ink); }
input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--ink);
}
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  background: var(--ink);
  border: none;
  border-radius: 0;
}
input[type="range"]:active::-moz-range-thumb { background: var(--tempo); outline: 1.5px solid var(--ink); }

/* presets */

.preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1.5px solid var(--ink);
}

.presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-tools {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1.5px solid var(--ink);
  transition: background-color 0.15s var(--ez-hit), color 0.15s var(--ez-hit);
}
.chip:hover { background: var(--ink-12); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--concrete); }

/* sequencer grid */

.seq {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 18px 10px;
}

.seq-labels {
  display: grid;
  gap: 8px;
  padding-top: 26px;
  align-content: start;
}
.axis-label {
  height: var(--cellH);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  letter-spacing: 0.08em;
}
.axis-label b { --wght: 800; font-size: 13px; }
.axis-label span { color: var(--ink-62); font-size: 10.5px; text-transform: none; letter-spacing: 0.1em; }

.seq-scroll { min-width: 0; }

.count-row,
.seq-row {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 7px;
}
.count-row { margin-bottom: 8px; height: 18px; }
.count-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-62);
  font-size: 11px;
}
.count-row span.beat-1 { color: var(--ink); --wght: 800; }
.count-row span.cur { background: var(--tempo); color: var(--ink); --wght: 800; }

#seqRows { display: grid; gap: 8px; }

.count-row span:nth-child(4n + 1):not(:first-child),
.seq-row .cell:nth-child(4n + 1):not(:first-child) { margin-left: 14px; }

.cell {
  height: var(--cellH);
  border: 1.5px solid var(--ink-45);
  /* no transitions at all: the playhead must change atomically, like hardware */
  transition: none;
}
.cell:hover { box-shadow: inset 0 0 0 2px var(--ink); border-color: var(--ink); }
.cell[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.cell.scan { box-shadow: inset 0 0 0 2px var(--tempo); border-color: var(--ink); }
.cell.hit { background: var(--tempo); border-color: var(--ink); }

.seq-help {
  padding: 4px 18px 18px;
  color: var(--ink-62);
  text-transform: none;
  letter-spacing: 0.06em;
}

/* ---------- bar lines ---------- */

.barline { padding-top: 4px; }
.barline .ticks {
  height: 12px;
  border-top: 2px solid var(--ink);
  background-image:
    linear-gradient(to right, var(--ink) 0 2px, transparent 2px),
    repeating-linear-gradient(to right, var(--ink-45) 0 1.5px, transparent 1.5px calc(100% / 16)),
    repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 25%);
  background-size: 100% 12px, 100% 7px, 100% 12px;
  background-position: right top, left top, left top;
  background-repeat: no-repeat;
}
.barline p {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--ink-62);
}

/* ---------- section rhythm ---------- */

section { padding-block: clamp(76px, 9vw, 124px) clamp(56px, 7vw, 92px); }

h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  --wght: 850;
  --casl: 0.75;
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.section-lede {
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-75);
  margin-bottom: clamp(44px, 6vw, 76px);
}

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

.manifesto {
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--ink-06) 35px 36px);
}

.mani-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(30px, 4vw, 56px);
}

.pull {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  line-height: 1.16;
  text-wrap: balance;
}
.pull span { display: block; }
.pull .s-rigid { --mono: 1; --wght: 560; }
.pull .s-loose { --casl: 1; --slnt: -15; --crsv: 1; --wght: 690; margin-top: 0.45em; }

.mani-copy p {
  font-size: 1.06rem;
  line-height: 1.68;
  --wght: 430;
}
.mani-copy p + p { margin-top: 1.25em; }

/* ---------- axes panels ---------- */

.axis-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink-12);
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 22px 22px 28px;
}
.panel + .panel { border-left: 1.5px solid var(--ink); }

.panel header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.panel .tag { --wght: 800; font-size: 13px; }
.panel .range-lab { color: var(--ink-62); }
.live-dot {
  margin-left: auto;
  width: 9px; height: 9px;
  border: 1.5px solid var(--ink-45);
}
.live-dot.on { background: var(--tempo); border-color: var(--ink); }

.pane-glyphs {
  order: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(72px, 6.6vw, 118px);
  line-height: 1.05;
  margin-block: 30px 26px;
  overflow: hidden;
}
.pane-glyphs .gA { opacity: 0.32; }
.gb-wght { --wght: 1000; }
.gb-casl { --casl: 1; --crsv: 1; }
.gb-slnt { --slnt: -15; --crsv: 1; }
.gb-mono { --mono: 1; }

.panel h3 { order: 2; font-size: 1.3rem; --wght: 760; margin-bottom: 10px; }
.panel p:not(.balance) { order: 3; color: var(--ink-75); line-height: 1.6; font-size: 0.98rem; }

.panel:nth-child(even) .pane-glyphs { order: 4; margin-block: auto 0; padding-top: 26px; }

/* ---------- metronome interlude ---------- */

.metronome { text-align: center; }
.metro-wrap { display: grid; justify-items: center; }
.metro-wrap .bar-tag { justify-content: center; }

.amp {
  font-size: clamp(150px, 24vw, 340px);
  line-height: 0.95;
  --casl: 1;
  --crsv: 1;
  --wght: 340;
  margin-top: clamp(16px, 3vw, 40px);
  text-shadow: 0.016em 0.02em 0 rgba(25, 25, 25, 0.14);
}

.ruler {
  position: relative;
  width: min(720px, 100%);
  height: 30px;
  margin-top: clamp(20px, 3vw, 36px);
  border-bottom: 2px solid var(--ink);
  background-image:
    linear-gradient(to right, var(--ink) 0 2px, transparent 2px),
    repeating-linear-gradient(to right, var(--ink-45) 0 1.5px, transparent 1.5px calc(100% / 16)),
    repeating-linear-gradient(to right, var(--ink) 0 2px, transparent 2px 25%);
  background-size: 100% 100%, 100% 12px, 100% 100%;
  background-position: right bottom, left bottom, left bottom;
  background-repeat: no-repeat;
}

.m-tick {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 13px;
  height: 30px;
  background: var(--ink-28);
  transform: translateX(var(--mx, 0px));
  transition: transform 0.09s var(--ez-tick);
}
.m-tick.live { background: var(--tempo); outline: 1.5px solid var(--ink); }

.metro-cap {
  max-width: 46ch;
  margin-top: clamp(24px, 3.4vw, 40px);
  color: var(--ink-75);
  line-height: 1.6;
}

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

.weight-list li {
  position: relative;
  display: grid;
  grid-template-columns: 270px 72px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 19px 4px;
  border-top: 1px solid var(--ink-28);
}
.weight-list li:last-child { border-bottom: 1px solid var(--ink-28); }

/* dynamics marks: the notation column. pp at Light, ffff at Black. */
.w-dyn {
  --casl: 1;
  --slnt: -15;
  --crsv: 1;
  --wght: 730;
  font-size: 1.25rem;
  color: var(--ink-75);
  justify-self: start;
  padding: 0 6px;
}
.w-dyn.hitflash { background: var(--tempo); color: var(--ink); outline: 1.5px solid var(--ink); }

.w-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.w-meta b { --wght: 780; min-width: 4ch; }
.w-meta i { --wght: 560; }
.w-meta em { color: var(--ink-62); text-transform: none; letter-spacing: 0.1em; }

.w-sample {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.14;
  --casl: 0.5;
}

/* ---------- glyphs ---------- */

.glyph-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 1px;
  background: var(--ink-45);
  border: 1.5px solid var(--ink);
}
.g-cell {
  aspect-ratio: 1;
  background: var(--concrete);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  --wght: 480;
  transition: background-color 0.13s var(--ez-hit), color 0.13s var(--ez-hit);
}
.g-cell:hover { background: #dcd9d1; }
.g-cell[aria-pressed="true"] { background: var(--ink); color: var(--concrete); }
.g-cell:focus-visible { outline-offset: -4px; z-index: 1; }

.inspector {
  position: sticky;
  top: 84px;
  border: 2px solid var(--ink);
  padding: 18px 20px 22px;
  box-shadow: 4px 4px 0 var(--ink-12);
}
.insp-tag { color: var(--ink-62); }
.insp-glyph {
  font-size: 168px;
  line-height: 1;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insp-read {
  border-top: 1.5px solid var(--ink-28);
  padding-top: 12px;
  color: var(--ink-75);
  text-transform: none;
  letter-spacing: 0.08em;
}
.insp-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.insp-note {
  margin-top: 16px;
  color: var(--ink-62);
  text-transform: none;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

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

.lic-list { border-top: 2px solid var(--ink); }

.lic-list li {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  gap: clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: 30px 22px;
  border-bottom: 1.5px solid var(--ink);
}

.lic-list h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  --wght: 820;
  --casl: 0.75;
}
.lic-list li > p:not(.price) {
  color: var(--ink-75);
  line-height: 1.6;
  font-size: 0.99rem;
  max-width: 52ch;
}
.price {
  justify-self: end;
  text-align: right;
  --mono: 1;
  --wght: 720;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price span {
  display: block;
  --wght: 470;
  color: var(--ink-62);
  margin-top: 4px;
}

.lic-list .featured {
  background: var(--ink);
  color: var(--concrete);
}
.lic-list .featured > p:not(.price) { color: var(--con-72); }
.lic-list .featured .price span { color: var(--con-72); }

.lic-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: clamp(36px, 5vw, 56px);
}

.btn-mail {
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 17px 28px;
  text-decoration: none;
  --wght: 740;
  --casl: 0.5;
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 var(--ink-12);
  transition: background-color 0.2s var(--ez-hit), color 0.2s var(--ez-hit);
}
.btn-mail:hover { background: var(--ink); color: var(--concrete); }

.ghost-link {
  color: var(--ink-75);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s var(--ez-hit);
}
.ghost-link:hover { color: var(--ink); }

.fine {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 74ch;
  color: var(--ink-62);
  text-transform: none;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

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

footer {
  background: var(--ink);
  color: var(--concrete);
  padding-block: clamp(72px, 9vw, 120px) 48px;
}
footer ::selection { background: var(--tempo); color: var(--ink); }

.coda-tag { color: var(--con-72); }
.coda-tag::before { background: var(--tempo); }

.foot-brand {
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  --wght: 990;
  --casl: 1;
  margin-block: clamp(20px, 3vw, 40px) clamp(36px, 5vw, 64px);
  text-shadow: 0.018em 0.022em 0 rgba(233, 231, 226, 0.14);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  border-top: 1.5px solid var(--con-25);
  padding-top: clamp(28px, 4vw, 44px);
}

.foot-line {
  max-width: 40ch;
  font-size: 1.15rem;
  line-height: 1.5;
  --wght: 520;
}

.foot-strip {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 13px;
  margin-top: 26px;
}
.foot-strip span {
  width: 16px;
  height: 5px;
  background: var(--con-25);
}
.foot-strip span.q { height: 12px; }
.foot-strip span.live { background: var(--tempo); }

.foot-links {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.foot-links a {
  color: var(--con-72);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color 0.16s var(--ez-hit), text-decoration-color 0.16s var(--ez-hit);
}
.foot-links a:hover { color: var(--concrete); text-decoration-color: var(--tempo); }

.colophon-line {
  margin-top: clamp(40px, 5.5vw, 64px);
  color: var(--con-72);
  text-transform: none;
  letter-spacing: 0.07em;
  max-width: 70ch;
  line-height: 1.7;
}
.foot-legal {
  margin-top: 14px;
  color: var(--con-60);
  text-transform: none;
  letter-spacing: 0.07em;
}

.noscript-note {
  padding: 14px 20px;
  background: var(--ink);
  color: var(--concrete);
  text-align: center;
}

/* ---------- reveals (beat-quantized by JS) ---------- */

.rv {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.44s var(--ez-in), translate 0.44s var(--ez-in);
  transition-delay: var(--rv-d, 0s);
}
.rv.on {
  opacity: 1;
  translate: 0 0;
}

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

@media (max-width: 1080px) {
  .glyph-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
  .insp-glyph { font-size: 140px; height: 170px; }
}

@media (max-width: 940px) {
  .hero-head { grid-template-columns: 1fr; align-items: start; }
  .mani-grid { grid-template-columns: 1fr; }
  .axis-panels { grid-template-columns: 1fr 1fr; }
  .panel { min-height: 360px; }
  .panel:nth-child(2) { border-left: 1.5px solid var(--ink); }
  .panel:nth-child(3) { border-left: none; }
  .panel:nth-child(n + 3) { border-top: 1.5px solid var(--ink); }
  .glyph-wrap { grid-template-columns: 1fr; }
  .inspector { position: static; order: -1; }
  .insp-glyph { height: 150px; }
}

@media (max-width: 880px) {
  .nav-links a { display: none; }
  .nav-links a.nav-guide { display: inline; }
}

@media (max-width: 760px) {
  :root { --cellH: 42px; }

  .seq { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding-inline: 14px; }
  .axis-label span { display: none; }
  .axis-label b { font-size: 12px; }

  .seq-scroll {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
    overscroll-behavior-x: contain;
  }
  .count-row,
  .seq-row { grid-template-columns: repeat(16, 42px); width: max-content; }
  .seq-row .cell:nth-child(4n + 1) { scroll-snap-align: start; }

  .lic-list li { grid-template-columns: 1fr; gap: 12px; padding: 24px 18px; }
  .price { justify-self: start; text-align: left; }
  .price span { display: inline; margin-left: 8px; }

  .weight-list li { grid-template-columns: 1fr; gap: 10px; padding-block: 16px; }
  .w-dyn { position: absolute; top: 14px; right: 6px; padding: 0 4px; font-size: 1.1rem; }
  .w-sample { font-size: clamp(1.5rem, 6.4vw, 2rem); }
}

@media (max-width: 620px) {
  .axis-panels { grid-template-columns: 1fr; }
  .panel { min-height: 0; padding-bottom: 26px; }
  .panel:nth-child(2) { border-left: none; }
  .panel + .panel { border-left: none; border-top: 1.5px solid var(--ink); }
  .panel:nth-child(even) .pane-glyphs { order: 1; margin-block: 26px 22px; padding-top: 0; justify-content: flex-end; }
  .pane-glyphs { font-size: clamp(72px, 19vw, 96px); }

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

  .transport { gap: 12px; }
  .instrument { margin-inline: -4px; }

  .map { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
  .g-cell { font-size: 18px; }
}

@media (max-width: 420px) {
  .chip { padding: 10px 11px; font-size: 11px; }
  .tbtn { padding: 12px 13px; }
  .stage { padding-inline: 12px; }
  .seq { grid-template-columns: 88px minmax(0, 1fr); }
}

/* ---------- reduced motion: composed at rest, snaps allowed ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .m-tick { transition: none; }
  .skip { transition: none; }
  .stage { transition: none; }
  .stage.thump { scale: none; }
}
