:root {
  --ink: #0c0b0a;
  --ink-2: #151311;
  --ink-3: #1d1a17;
  --line: rgb(236 229 211 / 0.1);
  --bone: #ece5d3;          /* skull-head parchment from the icon */
  --bone-dim: #aba38f;
  --amber: #f08a24;         /* Loop Mode timer bar / sequencer bar lines */
  --amber-lite: #ffb465;
  --amber-deep: #7a3a0b;
  --stick: #d9a15a;         /* drumstick wood */
  /* Pad Mode palette, straight from PadPalette in the app */
  --pad-cym: #ffc93c;
  --pad-hat: #2fe6d8;
  --pad-tom: #9b7bff;
  --pad-snare: #ff8a2b;
  --pad-kick: #ff3d5a;
  --pad-play: #3dff8b;
  --pad-rec: #ff3d5a;
  --pad-bg: #0a0a0d;
  --radius: 18px;
  --wrap: 1180px;
  --font-display: "Oswald", "Arial Narrow", Impact, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.02; letter-spacing: 0.005em; text-transform: uppercase; font-weight: 700; }
h2 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 20px; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--amber); color: #120900; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow {
  font: 600 14px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--amber);
  margin-bottom: 16px;
}
.eyebrow--pad { color: var(--pad-hat); }
.section-lede { color: var(--bone-dim); font-size: clamp(17px, 1.6vw, 19px); max-width: 40em; margin-bottom: 44px; text-wrap: pretty; }
.note { color: var(--bone-dim); font-size: 14px; margin-top: 28px; }

:focus-visible { outline: 3px solid var(--amber-lite); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(12 11 10 / 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--font-display); letter-spacing: 0.01em; }
.brand b { color: var(--amber); font-weight: 700; }
.brand img { border-radius: 9px; }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--bone-dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--bone); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber); color: #150a00; text-decoration: none;
  font: 600 15px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  border-radius: 999px; padding: 14px 22px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--amber-lite); transform: translateY(-1px); }
.btn--small { padding: 11px 16px; font-size: 14px; margin-left: auto; }
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .btn--small { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 48px 0 56px;
  background:
    radial-gradient(55% 60% at 72% 58%, rgb(240 138 36 / 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, rgb(236 229 211 / 0.06), transparent 70%),
    linear-gradient(180deg, #0c0b0a 0%, #14100c 60%, #1b130b 100%);
  overflow: hidden;
}
.hero::before {
  /* the app's own splash art, deep in the background */
  content: ""; position: absolute; inset: 0;
  background: url("assets/splash.webp") center 30% / cover no-repeat;
  opacity: .13; filter: grayscale(.4);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(50px, 7.6vw, 92px); line-height: .92; margin-bottom: 24px; }
.hot {
  color: var(--amber);
  background: linear-gradient(180deg, var(--amber-lite), var(--amber) 55%, #c9600f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rank { display: inline-block; background: var(--amber); color: #150a00; padding: 4px 7px 3px; border-radius: 5px; margin-right: 4px; letter-spacing: .04em; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--bone-dim); max-width: 33em; margin-bottom: 30px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.appstore { display: inline-block; border-radius: 12px; transition: transform .2s; }
.appstore:hover { transform: translateY(-2px); }
.appstore img { height: 56px; width: auto; }
.meta { color: var(--bone-dim); font-size: 14px; }

.hero__demo { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
@media (min-width: 1040px) {
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; }
}

/* ---------- Landscape device ---------- */
.device {
  width: 100%; max-width: 720px;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(160deg, #3a3631, #121110 38%, #25221f);
  box-shadow:
    0 0 0 1.5px #4a453e inset,
    0 40px 80px -24px rgb(0 0 0 / 0.8),
    0 0 110px -20px rgb(240 138 36 / 0.45);
}
@media (max-width: 520px) { .device { padding: 6px; border-radius: 30px; } }
.device__screen {
  position: relative; aspect-ratio: 2 / 1;
  border-radius: 36px; overflow: hidden;
  background: #0b0a09 url("assets/wood.webp") center / cover;
  isolation: isolate;
}
@media (max-width: 520px) { .device__screen { border-radius: 25px; } }
.island {
  position: absolute; z-index: 5; left: 1.6%; top: 50%; translate: 0 -50%;
  width: 3.4%; height: 26%; border-radius: 99px; background: #000;
  pointer-events: none;
}
.stage { position: absolute; inset: 0; }
.drum {
  position: absolute; left: var(--l); top: var(--t); width: var(--w); aspect-ratio: 1;
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.drum img { width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .55)); }
.drum:focus-visible { outline: 3px solid var(--amber-lite); outline-offset: -4px; border-radius: 50%; }
.drum::after {
  content: attr(data-key);
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: none; place-items: center; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 6px; background: rgb(12 11 10 / .72); border: 1px solid rgb(236 229 211 / .35);
  font: 600 12px/1 var(--font-display); color: var(--bone); pointer-events: none;
}
.drum--crash::after { left: 58%; top: 58%; }
.drum--hho::after, .drum--hhc::after { left: 62%; }
.drum--kick::after { top: 40%; }
.drum--ride::after { top: 62%; }
.show-keys .drum::after { display: grid; }

/* Loop Mode top bar: 32 cells with an orange playhead, like tb_0...tb_31 */
.topbar {
  position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 7.5%;
  background: linear-gradient(180deg, #1a1816, #2a2724);
  border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
  padding: 0 7% 0 7%;
  box-shadow: 0 6px 12px -4px rgb(0 0 0 / .6);
  transform: translateY(-110%); transition: transform .35s cubic-bezier(.3,1.2,.5,1);
}
.is-looping .topbar { transform: none; }
.topbar__cells { display: grid; grid-template-columns: repeat(32, 1fr); gap: 1.5px; height: 62%; padding-top: .3%; }
.topbar__cells i { background: #6e3a10; border-radius: 1.5px; transition: background .08s; }
.topbar__cells i:nth-child(4n+1) { background: #85460f; }
.topbar__cells i.on { background: #ffa04a; box-shadow: 0 0 8px #f08a24; }

.kit-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; max-width: 100%; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--bone-dim);
  background: rgb(236 229 211 / 0.06); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; min-height: 38px;
}
.status svg { flex: none; color: var(--amber); }
.status.is-live svg { color: var(--pad-play); }
.keys-hint { display: none; font-size: 13px; color: var(--bone-dim); text-align: center; }
@media (hover: hover) and (pointer: fine) { .keys-hint { display: block; } }
kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; margin: 0 3px 0 6px;
  font: 600 11px/1 var(--font-display); color: var(--bone);
  border: 1px solid rgb(236 229 211 / .3); border-bottom-width: 2px; border-radius: 5px; background: var(--ink-2);
}
kbd + kbd { margin-left: 0; }

/* Chips / buttons */
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 14px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink-3); color: var(--bone); border: 1px solid rgb(236 229 211 / .18);
  padding: 11px 16px; border-radius: 999px; min-height: 40px;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgb(236 229 211 / .4); }
.chip--play { background: var(--amber); border-color: var(--amber); color: #150a00; }
.chip--play:hover { background: var(--amber-lite); border-color: var(--amber-lite); }
.chip--play[aria-pressed="true"] { background: var(--ink-3); color: var(--amber-lite); border-color: var(--amber); }
.i-stop { display: none; }
[aria-pressed="true"] > .i-play { display: none; }
[aria-pressed="true"] > .i-stop { display: block; }

/* ---------- Proof strip ---------- */
.proof { background: var(--ink-2); border-block: 1px solid var(--line); }
.proof__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.proof__list li { padding: 22px 8px; display: flex; flex-direction: column; gap: 4px; }
.proof__list b { font: 700 clamp(30px, 4vw, 42px)/1 var(--font-display); color: var(--bone); }
.proof__list li:first-child b { color: var(--amber); }
.proof__list span { font-size: 14px; color: var(--bone-dim); line-height: 1.35; }
@media (min-width: 820px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list li { padding: 28px 24px; border-left: 1px solid var(--line); }
  .proof__list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Feel ---------- */
.feel { padding: 96px 0; background: radial-gradient(60% 50% at 100% 0%, rgb(240 138 36 / .1), transparent 70%), var(--ink); }
.zones { display: grid; gap: 20px; }
@media (min-width: 820px) { .zones { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.zone {
  margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 26px; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.zone__drum {
  position: relative; width: min(220px, 70%); aspect-ratio: 1; padding: 0; border: 0; background: none;
  border-radius: 50%; cursor: pointer; margin-bottom: 22px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.zone__drum img { width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 10px 18px rgb(0 0 0 / .6)); }
.zone__ring {
  position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 100%); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: 2px dashed var(--amber); box-shadow: 0 0 0 999px rgb(12 11 10 / 0); pointer-events: none;
  opacity: .9;
}
.zone__tag {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font: 600 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  background: var(--amber); color: #150a00; padding: 4px 7px 3px; border-radius: 4px; pointer-events: none;
}
.zone__tag--out { top: 6%; }
.zone h3 { font-size: 24px; margin-bottom: 8px; }
.zone p { color: var(--bone-dim); font-size: 16px; }

/* ---------- Loop Maker ---------- */
.loops { padding: 96px 0; background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.loops__head { display: grid; gap: 28px; margin-bottom: 44px; }
@media (min-width: 960px) { .loops__head { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.loops__head h2 { font-size: clamp(36px, 4.6vw, 54px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 26px; color: var(--bone-dim); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--amber); box-shadow: 0 0 10px rgb(240 138 36 / .5); }
.ticks b { color: var(--bone); font-weight: 600; }
.ticks--pad li:nth-child(1)::before { background: var(--pad-hat); box-shadow: 0 0 10px var(--pad-hat); }
.ticks--pad li:nth-child(2)::before { background: var(--pad-snare); box-shadow: 0 0 10px var(--pad-snare); }
.ticks--pad li:nth-child(3)::before { background: var(--pad-tom); box-shadow: 0 0 10px var(--pad-tom); }
.ticks--pad li:nth-child(4)::before { background: var(--pad-cym); box-shadow: 0 0 10px var(--pad-cym); }

.seq {
  background: linear-gradient(180deg, #1c1a18, #121110);
  border: 1px solid rgb(236 229 211 / .12); border-radius: 22px;
  padding: 16px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
}
@media (min-width: 720px) { .seq { padding: 22px 24px; } }
.seq__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.seq__pick { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-width: 0; }
.seq__label { font: 600 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.seq__pick select {
  flex: 1; min-width: 0; appearance: none; -webkit-appearance: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f08a24' stroke-width='2'/%3E%3C/svg%3E") right 12px center no-repeat;
  color: var(--bone); border: 1px solid rgb(236 229 211 / .2); border-radius: 10px;
  font: 500 16px/1.2 var(--font-body); padding: 10px 34px 10px 12px;
}
.tempo { display: inline-flex; align-items: center; gap: 6px; }
.tempo__btn, .pbtn--sm {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgb(236 229 211 / .2); background: var(--ink);
  font: 600 18px/1 var(--font-body); cursor: pointer; display: grid; place-items: center; touch-action: manipulation;
}
.tempo__val { font: 700 24px/1 var(--font-display); min-width: 2.2em; text-align: center; font-variant-numeric: tabular-nums; }
.tempo__unit { font: 600 11px/1 var(--font-display); letter-spacing: .12em; color: var(--bone-dim); margin-right: 4px; }
.seq__actions { display: flex; gap: 8px; }

.seq__grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .bar { grid-template-columns: 58px 1fr; } .trk-name { font-size: 11px; letter-spacing: .1em; } }
@media (min-width: 900px) { .seq__grid { grid-template-columns: calc((100% + 56px) / 2) 1fr; gap: 10px; } .seq__grid .bar + .bar .trk-name { display: none; } .seq__grid .bar + .bar { grid-template-columns: 1fr; } }
.bar { display: grid; grid-template-columns: 46px 1fr; gap: 4px 8px; align-items: center; }
.bar__title { grid-column: 2; font: 600 11px/1 var(--font-display); letter-spacing: .14em; color: var(--bone-dim); text-transform: uppercase; }
.seq__grid .bar + .bar .bar__title { grid-column: 2; }
@media (min-width: 900px) { .seq__grid .bar + .bar .bar__title { grid-column: 1; } }
.trk-name { font: 600 10px/1 var(--font-display); letter-spacing: .08em; color: var(--bone-dim); text-transform: uppercase; white-space: nowrap; }
.row { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; }
.cell {
  aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: #2a2724; box-shadow: inset 0 -1px 0 rgb(0 0 0 / .45);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.row .cell:nth-child(4n+1) { background: #34302b; }
.row .cell:nth-child(4n+1):not(:first-child) { box-shadow: inset 0 -1px 0 rgb(0 0 0 / .45), -2px 0 0 -0.5px rgb(240 138 36 / .55); }
.row .cell.e1 { background: rgb(255 160 74 / var(--v)); box-shadow: 0 0 8px rgb(240 138 36 / calc(var(--v) * .6)); }
.row .cell.e2 { background: rgb(236 229 211 / calc(var(--v) * .9)); box-shadow: inset 0 0 0 2px var(--amber); }
.row .cell.e3 { background: rgb(47 230 216 / calc(var(--v) * .85)); }
.cell.ph { outline: 2px solid rgb(255 255 255 / .7); outline-offset: -1px; }
.cell:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 3px; }
.seq__legend { margin-top: 16px; font-size: 13px; color: var(--bone-dim); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.seq__legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }
.lg--1 { background: #ffa04a; }
.lg--2 { background: var(--bone); box-shadow: inset 0 0 0 2px var(--amber); }
.lg--3 { background: var(--pad-hat); }

/* ---------- Pad Mode ---------- */
.pads {
  padding: 96px 0;
  background: radial-gradient(60% 70% at 80% 50%, #1d1e26, var(--pad-bg) 70%);
}
.pads__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .pads__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; } }
.pads .section-lede { margin-bottom: 28px; }

.padsurf {
  display: grid; gap: 14px; padding: 14px; border-radius: 26px;
  background: radial-gradient(90% 90% at 60% 45%, #1d1e26, var(--pad-bg));
  border: 1px solid rgb(255 255 255 / .07);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9), 0 0 0 8px #141418, 0 0 0 9px #26262c;
  margin: 9px;
}
@media (min-width: 640px) { .padsurf { grid-template-columns: 150px 1fr; padding: 18px; gap: 18px; } }
.padsurf__rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
@media (min-width: 640px) { .padsurf__rail { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; } }
.padsurf__kit { font: 700 17px/1 var(--font-display); letter-spacing: .1em; text-align: center; color: #fff; }
.padsurf__transport { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pbtn {
  display: grid; place-items: center; cursor: pointer; color: rgb(255 255 255 / .85);
  background: linear-gradient(180deg, #2a2b32, #17181d); border: 1.5px solid rgb(255 255 255 / .1);
  border-radius: 12px; min-height: 46px; min-width: 52px; touch-action: manipulation;
  transition: color .15s, border-color .15s, box-shadow .15s;
}
.pbtn--play[aria-pressed="true"] { color: var(--pad-play); border-color: var(--pad-play); box-shadow: 0 0 16px -2px var(--pad-play); }
.pbtn--rec { color: rgb(255 61 90 / .75); }
.pbtn--rec[aria-pressed="true"] { color: var(--pad-rec); border-color: var(--pad-rec); box-shadow: 0 0 16px -2px var(--pad-rec); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 4px -2px var(--pad-rec); } }
.pbtn--sm { min-height: 34px; min-width: 34px; color: #fff; background: linear-gradient(180deg, #2a2b32, #17181d); border-color: rgb(255 255 255 / .1); }
.padsurf__tempo { display: flex; align-items: center; justify-content: center; gap: 6px; }
.padsurf__bpm { display: flex; flex-direction: column; align-items: center; min-width: 3ch; }
.padsurf__bpm output { font: 800 26px/1 ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; color: #fff; }
.padsurf__bpm span { font: 700 9px/1.4 var(--font-body); letter-spacing: .1em; color: rgb(255 255 255 / .4); }
.pbtn--file { font: 700 11px/1 var(--font-body); letter-spacing: .08em; gap: 4px; padding: 8px 12px; min-height: 46px; }
@media (min-width: 640px) { .pbtn--file { min-height: 54px; } }

.padsurf__main { display: grid; gap: 12px; min-width: 0; }
.steplights { display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; height: 8px; }
.steplights i { border-radius: 2px; background: #2a2b31; }
.steplights i:nth-child(4n+1) { background: #34353c; }
.steplights i.filled { background: #55565e; }
.steplights i.head { background: #fff; box-shadow: 0 0 8px #fff; }
.steplights.rec i.head { background: var(--pad-rec); box-shadow: 0 0 8px var(--pad-rec); }

.padgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 640px) { .padgrid { gap: 12px; } }
.pad {
  --c: #fff;
  position: relative; aspect-ratio: 1.18; min-width: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--c) 28%, transparent);
  background: linear-gradient(180deg, #2a2b32, #17181d);
  touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  text-align: left;
}
.pad::before {
  /* the light inside the pad */
  content: ""; position: absolute; inset: 0; opacity: var(--lit, 0);
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), color-mix(in srgb, var(--c) 40%, #fff), var(--c) 40%, color-mix(in srgb, var(--c) 55%, transparent));
  transition: opacity .38s ease-out;
}
.pad.hit::before { transition: none; }
.pad__led { position: absolute; left: 9px; top: 9px; width: 16px; height: 3px; border-radius: 2px; background: var(--c); opacity: .6; }
.pad__num { position: absolute; right: 8px; top: 7px; font: 700 10px/1 ui-monospace, Menlo, monospace; color: rgb(255 255 255 / .35); }
.pad__name { position: absolute; left: 9px; bottom: 8px; right: 6px; font: 800 10px/1.1 var(--font-body); letter-spacing: .06em; color: rgb(255 255 255 / .75); }
@media (min-width: 480px) { .pad__name { font-size: 11px; } }
.pad.hit { border-color: var(--c); box-shadow: 0 0 22px -4px var(--c); }
.pad:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Kits ---------- */
.kits { padding: 96px 0; background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.kitwall { display: grid; gap: 34px; }
.kitgroup h3 { font-size: 15px; letter-spacing: .16em; color: var(--bone-dim); margin-bottom: 16px; font-weight: 600; }
.kitgroup ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 18px 14px; }
@media (min-width: 720px) { .kitgroup ul { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 24px 20px; } }
.kithead {
  width: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: var(--bone);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.kithead img { width: 100%; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 10px 16px rgb(0 0 0 / .6)); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.kithead:hover img { transform: translateY(-3px) rotate(-4deg); }
.kithead span { font: 600 14px/1.1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.kithead:focus-visible { outline: none; }
.kithead:focus-visible img { outline: 3px solid var(--amber-lite); outline-offset: 3px; }

/* ---------- Manifesto ---------- */
.manifesto { padding: 104px 0; background: var(--ink); border-top: 1px solid var(--line); }
.nos { list-style: none; margin: 0 0 32px; padding: 0; }
.nos li {
  font: 700 clamp(44px, 9vw, 112px)/.95 var(--font-display); text-transform: uppercase; letter-spacing: -.005em;
  color: var(--bone);
}
.nos li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--bone-dim); }
.nos li:last-child { color: var(--amber); -webkit-text-stroke: 0; }
.manifesto__body { color: var(--bone-dim); max-width: 38em; font-size: clamp(17px, 1.6vw, 19px); }

/* ---------- Final CTA ---------- */
.final { padding: 24px 0 96px; background: var(--ink); }
.final__card {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: center; border-radius: 32px; padding: 64px 24px;
  background: #0d0c0b;
  border: 1px solid rgb(236 229 211 / .12);
  display: flex; flex-direction: column; align-items: center;
}
.final__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(12 11 10 / .55), rgb(12 11 10 / .88)),
    url("assets/splash.webp") center / cover no-repeat;
}
.final__card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 55%; z-index: -1;
  background: radial-gradient(60% 80% at 50% 100%, rgb(240 138 36 / .35), transparent 70%);
}
.final__icon { border-radius: 22px; margin-bottom: 26px; box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.7); }
.final__card h2 { margin-bottom: 14px; }
.final__card > p { color: rgb(236 229 211 / .85); margin-bottom: 28px; font-size: 18px; max-width: 30em; }
.final__card .final__meta { font-size: 14px; color: var(--bone-dim); margin: 18px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--bone-dim); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bone); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
