/* KEY-01 launch page */
:root {
  --bg: #121110;
  --bg-2: #181614;
  --bg-3: #1f1d1a;
  --line: #2b2825;
  --line-2: #3a3632;
  --ink: #ede8dd;
  --ink-2: #b9b2a4;
  --mute: #8f887a;
  --acc: #e26a3a;
  --acc-2: #f08a5c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 180ms;
  --t-key: 70ms;

  /* cross-section defaults (tactile) */
  --xs-stem: #a0714d;
  --xs-leg: 1;
  --xs-cap-top: #eee9dc;
  --xs-cap-bottom: #cfc7b3;
  --xs-cap-edge: #a39b86;
  --xs-cap-shine: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(226,106,58,.12), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgba(226,106,58,.06), transparent 60%);
}
main, header, footer { position: relative; z-index: 1; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
kbd {
  font-family: var(--mono); font-size: .85em; padding: .05em .4em;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; background: var(--bg-3);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--acc); color: #1a0d06; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 3px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(18,17,16,.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--mono); font-weight: 600; letter-spacing: .08em; font-size: 15px;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--acc); }
.nav { display: flex; gap: 20px; margin-left: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top .sound-btn { margin-left: auto; }

.sound-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer;
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
}
.sound-btn:hover { border-color: var(--mute); color: var(--ink); }
.sound-btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sound-btn .ico .spk { fill: currentColor; stroke: none; }
.sound-btn .wave { display: none; }
.sound-btn[aria-pressed="true"] { border-color: var(--acc); color: var(--acc-2); background: rgba(226,106,58,.1); }
.sound-btn[aria-pressed="true"] .wave { display: block; }
.sound-btn[aria-pressed="true"] .cross { display: none; }
.sound-btn.big { padding: 10px 16px; font-size: 14px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(226,106,58,.18); }
h1 {
  font-family: var(--serif); font-size: clamp(44px, 7.4vw, 96px); line-height: .98; letter-spacing: -.015em; margin-top: 18px;
}
h2 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.01em; margin-top: 14px; }
h1 em, h2 em { font-style: italic; color: var(--acc-2); }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 60ch; margin-top: 18px; text-wrap: pretty; }

/* ---------- hero ---------- */
.hero { scroll-margin-top: 72px; padding: clamp(40px, 7vw, 88px) var(--gutter) 24px; max-width: var(--max); margin: 0 auto; }
.hero-copy { max-width: 820px; }
.stage { margin-top: clamp(32px, 5vw, 64px); }

/* board */
.board {
  position: relative;
  container-type: inline-size;
  perspective: 1600px;
}
.case {
  --u: calc(100cqw / 16.95);
  position: relative;
  padding: calc(var(--u) * .34) calc(var(--u) * .34) calc(var(--u) * .5);
  border-radius: calc(var(--u) * .38);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--case) 80%, #fff 6%), var(--case) 30%, color-mix(in srgb, var(--case) 85%, #000) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -2px 0 rgba(0,0,0,.4),
    0 calc(var(--u) * .3) calc(var(--u) * .9) rgba(0,0,0,.55),
    0 calc(var(--u) * .06) 0 color-mix(in srgb, var(--case) 60%, #000);
  transform: rotateX(7deg);
  transform-origin: 50% 100%;
  transition: background var(--t) var(--ease);
}
.plate {
  display: grid;
  grid-template-columns: repeat(64, minmax(0, 1fr));
  grid-auto-rows: var(--u);
  gap: 0;
  padding: calc(var(--u) * .12);
  border-radius: calc(var(--u) * .22);
  background: var(--plate);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.6);
}
.badge {
  position: absolute; right: calc(var(--u) * .62); bottom: calc(var(--u) * .13);
  display: flex; gap: .4em;
  font-family: var(--mono); font-size: calc(var(--u) * .2); letter-spacing: .15em; color: var(--case-ink);
  opacity: .6;
}
.badge span:last-child { color: var(--acc); }

.key {
  position: relative;
  display: block;
  padding: calc(var(--u) * .045);
  margin: 0; border: 0; background: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none; -webkit-user-select: none;
}
.key:focus-visible { outline: none; }
.key:focus-visible .cap { outline: 2px solid var(--acc-2); outline-offset: 1px; }
.cap {
  display: block;
  position: relative;
  height: 100%; width: 100%;
  border-radius: calc(var(--u) * .13);
  background: var(--k-side);
  box-shadow:
    0 calc(var(--u) * .075) 0 var(--k-shadow),
    0 calc(var(--u) * .13) calc(var(--u) * .18) rgba(0,0,0,.45);
  transform: translateY(0);
  transition: transform var(--t-key) var(--ease), box-shadow var(--t-key) var(--ease), background var(--t) var(--ease);
}
.cap::before {
  content: "";
  position: absolute;
  inset: calc(var(--u) * .05) calc(var(--u) * .085) calc(var(--u) * .13);
  border-radius: calc(var(--u) * .1);
  background: linear-gradient(180deg, var(--k-top) 0%, var(--k-top2) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  transition: background var(--t) var(--ease);
}
.key.accent .cap { background: var(--a-side); box-shadow: 0 calc(var(--u) * .075) 0 var(--a-shadow), 0 calc(var(--u) * .13) calc(var(--u) * .18) rgba(0,0,0,.45); }
.key.accent .cap::before { background: linear-gradient(180deg, var(--a-top), var(--a-top2)); }
.key.accent .lg, .key.accent .sub, .key.accent .fn-lg { color: var(--a-legend); }

.lg, .sub, .fn-lg {
  position: absolute; z-index: 1;
  font-family: var(--mono); color: var(--k-legend);
  line-height: 1; pointer-events: none;
  transition: color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.lg { left: calc(var(--u) * .19); bottom: calc(var(--u) * .24); font-size: calc(var(--u) * .3); font-weight: 500; }
.key.small .lg { font-size: calc(var(--u) * .2); letter-spacing: .02em; }
.key.glyph .lg { font-size: calc(var(--u) * .34); }
.sub { left: calc(var(--u) * .19); top: calc(var(--u) * .15); font-size: calc(var(--u) * .2); opacity: .75; }
.fn-lg { right: calc(var(--u) * .14); top: calc(var(--u) * .14); font-size: calc(var(--u) * .17); opacity: 0; font-weight: 600; }
.board.fn-layer .key[data-fn] .fn-lg { opacity: 1; color: var(--acc); }
.key.accent .fn-lg { color: var(--a-legend); }
.board.fn-layer .key[data-fn] .sub,
.board.fn-layer .key[data-fn] .lg { opacity: .35; }
.led {
  position: absolute; z-index: 1; right: calc(var(--u) * .18); top: calc(var(--u) * .18);
  width: calc(var(--u) * .09); height: calc(var(--u) * .09); border-radius: 50%;
  background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.key.lit .led { background: var(--acc); box-shadow: 0 0 calc(var(--u) * .12) var(--acc); }
.key.sticky .cap::before { box-shadow: inset 0 0 0 2px var(--acc); }

.key.is-down .cap {
  transform: translateY(calc(var(--u) * .07));
  box-shadow:
    0 calc(var(--u) * .02) 0 var(--k-shadow),
    0 calc(var(--u) * .04) calc(var(--u) * .08) rgba(0,0,0,.45);
}
.key.accent.is-down .cap { box-shadow: 0 calc(var(--u) * .02) 0 var(--a-shadow), 0 calc(var(--u) * .04) calc(var(--u) * .08) rgba(0,0,0,.45); }
.key.is-down .cap::before { filter: brightness(.94); }

/* colourways */
.board[data-colour="bone"] {
  --k-top: #efe9db; --k-top2: #ddd5c3; --k-side: #c6bda9; --k-shadow: #9b927d; --k-legend: #2a2723;
  --a-top: #ec8257; --a-top2: #d9622f; --a-side: #b64e22; --a-shadow: #873816; --a-legend: #fff1e8;
  --case: #2a2622; --case-ink: #cfc6b2; --plate: #14120f;
}
.board[data-colour="graphite"] {
  --k-top: #4e4c48; --k-top2: #3d3b38; --k-side: #2c2b29; --k-shadow: #1a1917; --k-legend: #e8e2d4;
  --a-top: #a8e6cb; --a-top2: #7fcdaa; --a-side: #5ba585; --a-shadow: #37725a; --a-legend: #0f2219;
  --case: #1c1c1c; --case-ink: #a8a39a; --plate: #0e0e0e;
}
.board[data-colour="cobalt"] {
  --k-top: #34467a; --k-top2: #283860; --k-side: #1d2a4a; --k-shadow: #121a32; --k-legend: #eceef5;
  --a-top: #f5d061; --a-top2: #e2b63d; --a-side: #b88f28; --a-shadow: #7e6118; --a-legend: #2b2100;
  --case: #22252f; --case-ink: #b8bccb; --plate: #10121a;
}

.hint {
  position: absolute; left: 50%; top: calc(var(--u, 40px) * -.9); transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  white-space: nowrap;
  animation: hint-pulse 2.2s ease-in-out infinite;
  transition: opacity var(--t) var(--ease);
}
.board.touched .hint { opacity: 0; animation: none; }
@keyframes hint-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* transcript */
.transcript { margin-top: clamp(28px, 4vw, 44px); padding: 0 clamp(0px, 1vw, 12px); }
.typed-wrap {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.01em;
  min-height: 2.3em; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
}
.placeholder { color: var(--mute); font-style: italic; }
.transcript.has-text .placeholder { display: none; }
.caret {
  display: inline-block; width: .06em; height: .95em; margin-left: .06em; vertical-align: -.12em;
  background: var(--acc); animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.meter { margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--mute); }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-2); font-family: var(--mono); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--acc-2); }

/* controls */
.controls {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex; flex-wrap: wrap; gap: 20px 36px;
  padding: 18px 0 0; border-top: 1px solid var(--line);
}
.ctl { display: flex; flex-direction: column; gap: 10px; }
.ctl-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ctl-note { font-size: 12px; color: var(--mute); max-width: 26ch; }
.ctl-sound { margin-left: auto; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.seg button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--bg-3); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 2px 6px rgba(0,0,0,.4); }

.stem {
  display: inline-block; width: 12px; height: 12px; border-radius: 3px; position: relative;
  background: var(--stem-c);
}
.stem::after { content: ""; position: absolute; inset: 3px; background: rgba(0,0,0,.28); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); }
.stem-linear { --stem-c: #d14a3f; }
.stem-tactile { --stem-c: #a0714d; }
.stem-clicky { --stem-c: #4f8fd6; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.sw-bone { background: linear-gradient(135deg, #efe9db 50%, #e2652f 50%); }
.sw-graphite { background: linear-gradient(135deg, #4e4c48 50%, #8fd7b5 50%); }
.sw-cobalt { background: linear-gradient(135deg, #34467a 50%, #f0c84f 50%); }

/* ---------- sections ---------- */
.section { scroll-margin-top: 72px; padding: clamp(64px, 9vw, 128px) var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 760px; }

/* switches */
.switch-grid {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
}
.xsec {
  margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2);
  position: sticky; top: 84px;
}
.xsec svg { width: 100%; height: auto; display: block; }
.xsec figcaption { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.xsec-name { color: var(--acc-2); }

.stem-group { transition: transform 90ms var(--ease); }
.spring { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 90ms var(--ease); }
.leaf-moving { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 90ms var(--ease); }
#xsec.down .stem-group { transform: translateY(26px); }
#xsec.down .spring { transform: scaleY(.62); }
#xsec.down .leaf-moving { transform: rotate(-9deg); }
#xsec.linear { --xs-stem: #d14a3f; --xs-leg: 0; }
#xsec.tactile { --xs-stem: #a0714d; --xs-leg: 1; }
#xsec.clicky { --xs-stem: #4f8fd6; --xs-leg: 1; }

.switch-cards { display: grid; gap: 14px; }
.card {
  display: grid; gap: 10px; text-align: left;
  padding: 22px 22px 20px; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease), transform var(--t) var(--ease);
}
.card:hover { border-color: var(--line-2); background: var(--bg-3); }
.card[aria-checked="true"] { border-color: var(--acc); background: linear-gradient(180deg, rgba(226,106,58,.1), rgba(226,106,58,.03)); }
.card-top { display: flex; align-items: center; gap: 10px; }
.card-kind { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--mute); }
.card strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.card p { color: var(--ink-2); font-size: 15px; }
.card-sound { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.card[aria-checked="true"] .card-sound { color: var(--acc-2); }

/* layout */
.layout-grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.profile { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.profile svg { width: 100%; height: auto; display: block; }
.profile figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); }
.profile-caps path { fill: #e2dccd; stroke: #a39b86; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-weight: 600; font-size: 16px; }
.facts span { color: var(--ink-2); font-size: 15px; }

/* colour */
.colour-grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cw {
  display: grid; gap: 8px; text-align: left; padding: 22px; border-radius: 18px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.cw:hover { background: var(--bg-3); border-color: var(--line-2); }
.cw[aria-checked="true"] { border-color: var(--acc); }
.cw strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; margin-top: 8px; }
.cw > span:last-child { color: var(--ink-2); font-size: 15px; }
.cw-caps { display: flex; gap: 8px; padding: 18px; border-radius: 12px; background: var(--cw-case); }
.cw-caps i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 7px;
  font: 500 14px var(--mono); font-style: normal; color: var(--cw-legend);
  background: linear-gradient(180deg, var(--cw-top), var(--cw-top2));
  box-shadow: 0 4px 0 var(--cw-side), 0 6px 10px rgba(0,0,0,.4);
}
.cw-caps i.acc { color: var(--cw-alegend); background: linear-gradient(180deg, var(--cw-atop), var(--cw-atop2)); box-shadow: 0 4px 0 var(--cw-aside), 0 6px 10px rgba(0,0,0,.4); }
.cw-bone { --cw-case: #2a2622; --cw-top: #efe9db; --cw-top2: #ddd5c3; --cw-side: #c6bda9; --cw-legend: #2a2723; --cw-atop: #ec8257; --cw-atop2: #d9622f; --cw-aside: #b64e22; --cw-alegend: #fff1e8; }
.cw-graphite { --cw-case: #1c1c1c; --cw-top: #4e4c48; --cw-top2: #3d3b38; --cw-side: #2c2b29; --cw-legend: #e8e2d4; --cw-atop: #a8e6cb; --cw-atop2: #7fcdaa; --cw-aside: #5ba585; --cw-alegend: #0f2219; }
.cw-cobalt { --cw-case: #22252f; --cw-top: #34467a; --cw-top2: #283860; --cw-side: #1d2a4a; --cw-legend: #eceef5; --cw-atop: #f5d061; --cw-atop2: #e2b63d; --cw-aside: #b88f28; --cw-alegend: #2b2100; }

/* reserve */
.reserve { padding-bottom: clamp(64px, 9vw, 128px); }
.reserve-inner {
  padding: clamp(32px, 5vw, 64px); border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(226,106,58,.16), transparent 60%),
    var(--bg-2);
}
.reserve-form { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 360px) auto; gap: 12px; align-items: start; }
.reserve-form input {
  width: 100%; min-width: 0; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px;
}
.reserve-form input::placeholder { color: var(--mute); }
.reserve-form input:focus { outline: 2px solid var(--acc-2); outline-offset: 2px; border-color: var(--acc); }
.reserve-form button[type="submit"] {
  padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--acc); color: #1a0d06; font-weight: 600; font-size: 16px;
  box-shadow: 0 4px 0 #9e4521, 0 8px 16px rgba(0,0,0,.35);
  transition: transform var(--t-key) var(--ease), box-shadow var(--t-key) var(--ease), background var(--t) var(--ease);
}
.reserve-form button[type="submit"]:hover { background: var(--acc-2); }
.reserve-form button[type="submit"]:active { transform: translateY(3px); box-shadow: 0 1px 0 #9e4521, 0 3px 8px rgba(0,0,0,.35); }
.form-note { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; color: var(--mute); min-height: 1.4em; }
.form-note.ok { color: var(--acc-2); }
.form-note.err { color: #f0a08a; }

/* footer */
.foot { padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto; color: var(--mute); font-size: 14px; }
.foot strong { color: var(--ink-2); font-family: var(--mono); letter-spacing: .08em; font-weight: 600; }
.foot-tip { margin-top: 6px; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .switch-grid { grid-template-columns: 1fr; }
  .xsec { position: static; max-width: 420px; }
  .layout-grid { grid-template-columns: 1fr; }
  .colour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { gap: 12px; padding: 12px var(--gutter); }
  .nav { display: none; }
  .sound-btn { padding: 7px 10px; }
  .case { transform: rotateX(4deg); }
  .hint { top: -34px; font-size: 11px; }
  .controls { flex-direction: column; gap: 18px; }
  .ctl-sound { margin-left: 0; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; }
  .reserve-form { grid-template-columns: 1fr; }
  .reserve-form button[type="submit"] { width: 100%; }
  .cw-caps i { width: 38px; height: 38px; }
  .xsec figcaption { flex-direction: column; gap: 4px; }
  .badge { display: none; }
  .key.small .lg { font-size: calc(var(--u) * .19); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-iteration-count: 1 !important; }
  .hint { animation: none; opacity: .9; }
  .caret { animation: none; }
}
