/* RSMP holding site. Design tokens first: change colours, type and spacing here. */
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #202426; --bg-deep: #15191B; --bg-alt: #292D2F; --card: #34383A; --card-hover: #3F4547;
  --text: #F5F1E8; --text-2: #CDD1CF; --muted: #ADB5B3;
  --amber: #E8B56C; --amber-hover: #F3C783; --amber-pressed: #D6A052; --btn-text: #202426;
  --border: #596163; --border-subtle: #41484A;
  --input-bg: #F5F1E8; --input-text: #202426; --focus: #F3C783; --error: #FFB4A8; --success: #A8D5B2;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --max: 1280px; --prose: 720px; --gutter: 40px; --header: 80px; --section: 88px; --gap: 24px;
  --r-card: 10px; --r-btn: 8px;
  --h1: 64px; --h2: 44px; --h3: 26px; --intro: 22px; --body: 19px; --small: 16px; --nav: 17px;
}
@media (max-width: 1279px) { :root { --gutter: 28px; --h1: 54px; --h2: 38px; } }
@media (max-width: 767px) { :root { --gutter: 20px; --header: 68px; --section: 56px; --gap: 16px; --h1: 40px; --h2: 32px; --h3: 23px; --intro: 19px; --body: 18px; --nav: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text-2); font: 400 var(--body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--amber); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--text); margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.intro { font-size: var(--intro); line-height: 1.45; color: var(--text-2); }
.small, .help { font-size: var(--small); line-height: 1.5; color: var(--muted); }
.eyebrow, .caption-tech { font: 500 14px/1.45 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); margin: 0 0 14px; }
.caption-tech { color: var(--muted); text-transform: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--btn-text); padding: 10px 16px; border-radius: var(--r-btn); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 700 17px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out; }
.btn-primary { background: var(--amber); color: var(--btn-text); }
.btn-primary:hover { background: var(--amber-hover); color: var(--btn-text); }
.btn-primary:active { background: var(--amber-pressed); transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--amber); color: var(--text); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.is-loading .btn-text::after { content: "…"; }
@media (max-width: 767px) { .btn { min-height: 54px; } }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link::after { content: "→"; transition: transform 180ms ease-out; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 25, 27, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
.header-inner { height: var(--header); display: flex; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.wordmark:hover { color: var(--text); }
.mark { width: 30px; height: 30px; fill: #3c4244; stroke: #6b7375; stroke-width: 0.8; }
.mark .led { fill: var(--amber); stroke: none; }
.wm-short { font-size: 22px; letter-spacing: 0.04em; }
.wm-long { font: 500 14px/1.2 var(--mono); color: var(--muted); letter-spacing: 0.02em; padding-left: 10px; border-left: 1px solid var(--border-subtle); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul a { color: var(--text-2); text-decoration: none; font: 600 var(--nav)/1.3 var(--sans); padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--text); }
.site-nav ul a[aria-current="page"] { color: var(--text); border-bottom-color: var(--amber); }
.btn-nav { min-height: 46px; padding: 0 16px; }
.tag { font: 500 12px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; background: rgba(32, 36, 38, 0.14); padding: 5px 7px; border-radius: 4px; }
.menu-toggle { display: none; }
@media (max-width: 1100px) { .wm-long { display: none; } }
@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 46px; padding: 0 14px; background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--r-btn); font: 600 16px var(--sans); cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 180ms ease-out, background-color 180ms ease-out; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; left: 0; right: 0; top: var(--header); bottom: 0; background: var(--bg-deep); flex-direction: column; align-items: stretch; gap: 8px; padding: 24px var(--gutter) 40px;
    margin: 0; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s linear 180ms; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease-out, transform 180ms ease-out; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font-size: 22px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--border-subtle); color: var(--amber); }
  .btn-nav { margin-top: 20px; min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.section-head { max-width: var(--prose); margin-bottom: 40px; }
.section-head p:last-child { margin-bottom: 0; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap) 48px; align-items: center; }
.split > .text { grid-column: span 5; } .split > .media { grid-column: span 7; }
.split.reverse > .text { order: 2; } .split.reverse > .media { order: 1; }
@media (max-width: 1023px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split > .text, .split > .media { grid-column: 1 / -1; } .split.reverse > .text { order: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 600px at 75% 40%, rgba(232, 181, 108, 0.09), transparent 60%), var(--bg-deep); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; min-height: 720px; padding-top: 56px; padding-bottom: 56px; }
.hero h1 .line2 { display: block; color: var(--amber); font-size: 0.66em; line-height: 1.12; letter-spacing: -0.025em; margin-top: 0.3em; text-wrap: balance; }
.hero .intro { max-width: 34em; }
.status { display: inline-flex; gap: 10px; align-items: baseline; margin: 8px 0 28px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-btn); color: var(--text); font-size: var(--small); background: rgba(52, 56, 58, 0.5); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(232, 181, 108, 0.8); flex: 0 0 auto; transform: translateY(-1px); }
.status strong { font-weight: 600; }
.hero-media { justify-self: center; position: relative; }
.hero-media picture img { max-height: 760px; width: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.hero-media .caption-tech { text-align: center; margin-top: 14px; }
.hero-phone { display: none; }
@media (max-width: 1023px) { .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 40px; } .hero-media picture img { max-height: 640px; } }
@media (max-width: 767px) {
  .hero-inner { padding-top: 32px; padding-bottom: 48px; gap: 28px; }
  .hero-media { order: -1; width: 100%; }
  .hero-desktop { display: none; } .hero-phone { display: block; }
  .hero-phone img { width: 100%; max-height: none; border-radius: 8px; }
}

/* ---------- cards ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border-subtle); border-radius: var(--r-card); overflow: hidden; transition: background-color 200ms ease-out, border-color 200ms ease-out; }
.card-media { aspect-ratio: 4 / 3; background: #0e1011; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: 6px; font-size: 21px; }
.card-body p { margin: 0; font-size: var(--small); color: var(--text-2); }

/* ---------- radio ---------- */
.radio-media picture img { width: 100%; border-radius: var(--r-card); border: 1px solid var(--border-subtle); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.facts { list-style: none; padding: 0; margin: 24px 0 20px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: baseline; font-size: var(--small); color: var(--text-2); }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); flex: 0 0 auto; transform: translateY(-1px); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(var(--n, 4), 1fr); counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border-subtle); border-radius: var(--r-card); padding: 20px; }
.steps li::before { content: "0" counter(step); display: block; font: 500 14px/1 var(--mono); color: var(--amber); letter-spacing: 0.04em; margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; font-size: var(--small); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .steps { grid-template-columns: 1fr; } }

/* ---------- mock collections (illustrative, in the RSMP player's visual language) ---------- */
.mock { margin: 0; }
.mock-panel { background: #232220; border: 1px solid #0c0c0c; border-radius: var(--r-card); padding: 16px 18px 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.4); }
.mock-head { margin: 0 0 12px; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; }
.mock-ttl { color: #f0ece2; padding: 4px 7px 5px; border-bottom: 2px solid #e8461f; }
.mock-ttl-cd { border-bottom-color: #3f7fd0; }
.mock-note { margin-top: 12px; font-size: var(--small); color: var(--muted); }
.mock-tag { display: inline-block; margin-right: 6px; font: 500 12px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--bg-deep); background: var(--muted); padding: 5px 7px; border-radius: 4px; vertical-align: 2px; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
@media (max-width: 599px) { .shelf { grid-template-columns: 1fr; } }
.spine { --label: #f3eedf; --band: #c23c16; --shell: #161617; display: flex; align-items: stretch; height: 62px; background: var(--shell); border-radius: 3px; padding: 5px; gap: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55); }
.spine-chrome { --band: #c9a54a; --shell: #0e0e0f; }
.spine-clear { --band: #1f3d7a; --shell: #8a979e; --label: #dfeaf3; }
.spine-studio { --band: #2b59c3; --shell: #d9d8d3; --label: #fbfbf8; }
.sp-band { flex: 0 0 52px; background: var(--band); border-radius: 2px 0 0 2px; display: flex; align-items: center; justify-content: center; }
.sp-band span { font: 700 13px/1 var(--sans); color: #fff; letter-spacing: 0.06em; }
.spine-chrome .sp-band span { color: #161616; }
.sp-lines { flex: 1; min-width: 0; background: var(--label); display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 12px; }
.sp-lines > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 17px/1.15 var(--hand); color: #1d2f7a; border-bottom: 1px solid #d4cbb5; }
.sp-lines b { font: 700 11px/1 var(--sans); color: #5f594b; margin-right: 6px; }
.sp-no { flex: 0 0 54px; background: var(--label); border-left: 1px dashed #c9c0aa; border-radius: 0 2px 2px 0; display: flex; align-items: center; justify-content: center; gap: 3px; font: 500 17px/1 var(--mono); color: #161616; }
.sp-no small { font-size: 10px; }
/* CD rack */
.mock-cd-panel { padding-top: 22px; }
.cd-view { display: flex; gap: 28px; align-items: center; margin-bottom: 26px; flex-wrap: wrap; }
.cd-case-art { position: relative; width: min(360px, 70%); aspect-ratio: 1.55; flex: 0 0 auto; }
.cd-case { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1; z-index: 2; background: #111; border-radius: 3px; overflow: hidden; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6); }
.cd-case img { position: absolute; left: 5.5%; top: 1.5%; width: 93%; height: 97%; object-fit: cover; }
.cd-case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.28) 0, rgba(255,255,255,.08) 2.5%, rgba(0,0,0,.35) 4.5%, rgba(255,255,255,.06) 5.5%, rgba(255,255,255,0) 40%), linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,0) 35%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.cd-disc { position: absolute; left: 4%; top: 4%; height: 92%; aspect-ratio: 1; border-radius: 50%; z-index: 1; transform: translateX(34%) rotate(40deg);
  background: radial-gradient(circle, transparent 0 6.5%, rgba(200,204,208,.95) 6.6% 27%, rgba(120,124,128,.6) 27.1% 27.8%, var(--c) 28% 96%, rgba(205,210,214,.95) 96.2%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55); display: flex; align-items: flex-start; justify-content: center; }
.cd-disc-label { margin-top: 16%; font: 800 12px/1 var(--sans); color: var(--i); letter-spacing: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
  .cd-disc { transform: translateX(0) rotate(0); transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
  .in-view .cd-disc, .mock-cds:hover .cd-disc { transform: translateX(34%) rotate(40deg); }
}
.cd-info { flex: 1; min-width: 200px; }
.cd-meta { font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; color: #b3ad9f; margin: 0 0 4px; }
.cd-artist { font: 700 24px/1.15 var(--sans); color: #f4f0e6; margin: 0; }
.cd-album { font-size: 18px; color: #c9c3b6; margin: 0 0 10px; }
.cd-tracks { margin: 0; padding-left: 1.5em; font-size: 15px; color: #cfcabe; }
.rack { list-style: none; margin: 0; padding: 0 2px 14px; display: flex; gap: 0; overflow-x: auto; min-height: 250px; align-items: flex-end;
  background: linear-gradient(to bottom, transparent calc(100% - 14px), #6a4f38 calc(100% - 14px), #4a3524 calc(100% - 11px), #24190f 100%); }
.cd { position: relative; flex: 0 0 auto; width: 34px; height: 236px; background: var(--c); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 3px 0 0 rgba(255,255,255,.15), 1px 0 2px rgba(0,0,0,.5);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--i); overflow: hidden; white-space: nowrap; }
.cd-no { font: 600 10px/1 var(--sans); }
.cd-ar { font: 800 13px/1 var(--sans); text-transform: uppercase; letter-spacing: 0.02em; }
.cd-ti { font: 500 12px/1 var(--sans); text-transform: uppercase; }
.cd-out { transform: translateY(-14px); }
.cd-out::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 12, 0.45); }
.cd-blank { background: linear-gradient(90deg, rgba(255,255,255,.55) 0, rgba(255,255,255,.14) 7%, rgba(26,26,28,.94) 15%, rgba(46,46,50,.94) 48%, rgba(26,26,28,.94) 85%, rgba(255,255,255,.5) 100%); }
.cd-lean { transform-origin: 0 100%; transform: rotate(-8deg); margin-left: 10px; }

/* ---------- forms ---------- */
.form { max-width: 560px; }
.form label { display: block; font-weight: 600; color: var(--text); margin-bottom: 8px; font-size: 17px; }
.field { margin-bottom: 14px; }
.inline-field { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-field input { flex: 1 1 240px; }
input[type="email"], input[type="text"], select { width: 100%; min-height: 52px; padding: 0 14px; border-radius: var(--r-btn); border: 2px solid transparent; background: var(--input-bg); color: var(--input-text); font: 400 18px/1.3 var(--sans); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #202426 50%), linear-gradient(135deg, #202426 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder { color: #6a7072; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: var(--small); margin: 8px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--amber); flex: 0 0 auto; }
.check label { font-weight: 400; color: var(--text-2); font-size: var(--small); margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .field:first-child, .form-grid .field-other { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 6px; }
.form-actions .help { margin: 0; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: 15px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: var(--small); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); } .form-status.err { color: var(--error); }
.form-status.staged { color: var(--text); background: rgba(232, 181, 108, 0.12); border: 1px solid rgba(232, 181, 108, 0.45); padding: 12px 14px; border-radius: var(--r-btn); }
@media (max-width: 767px) { .form { max-width: none; } .inline-field .btn { width: 100%; } }
.panel-form { background: var(--card); border: 1px solid var(--border-subtle); border-radius: var(--r-card); padding: 28px; }
@media (max-width: 767px) { .panel-form { padding: 20px; } }

/* ---------- reassurance ---------- */
.trio { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.trio li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); color: var(--text); font-weight: 600; }
.trio svg { width: 34px; height: 34px; flex: 0 0 auto; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .trio { grid-template-columns: 1fr; } }

/* ---------- story ---------- */
.story-media { aspect-ratio: 4 / 3; }
.placeholder { width: 100%; height: 100%; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px;
  border: 2px dashed var(--border); border-radius: var(--r-card); color: var(--muted); background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px), var(--bg); }
.placeholder strong { color: var(--text); font-weight: 600; }
.placeholder span { font: 500 14px/1.45 var(--mono); }
.img-missing { padding: 40px; border: 2px dashed var(--error); color: var(--error); }

/* ---------- page heads and long pages ---------- */
.page-head { padding: 72px 0 48px; background: var(--bg-deep); border-bottom: 1px solid var(--border-subtle); }
.page-head .intro { max-width: var(--prose); margin: 0; }
@media (max-width: 767px) { .page-head { padding: 44px 0 32px; } }
.longform h2 { margin-top: 1.6em; } .longform h2:first-child { margin-top: 0; }
.longform p, .longform li { max-width: var(--prose); }
.longform ul { padding-left: 1.2em; }
.longform li { margin-bottom: 6px; }
.unit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--border-subtle); }
.unit:first-of-type { border-top: 0; padding-top: 0; }
.unit-media img { width: 100%; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.unit ul { margin: 0; padding-left: 1.1em; }
.unit li { margin-bottom: 6px; }
@media (max-width: 1023px) { .unit { grid-template-columns: 1fr; gap: 20px; } }
.note-box { border-left: 3px solid var(--amber); background: var(--card); padding: 16px 20px; border-radius: 0 var(--r-card) var(--r-card) 0; margin: 24px 0; max-width: var(--prose); }
.note-box p:last-child { margin: 0; }
.todo { border: 1px dashed var(--error); background: rgba(255, 180, 168, 0.06); color: var(--text); padding: 12px 16px; border-radius: var(--r-btn); font-size: var(--small); margin: 12px 0 20px; max-width: var(--prose); }
.todo::before { content: "To confirm before launch: "; font: 600 13px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--error); display: block; margin-bottom: 6px; }
.label-exploring { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--amber); color: var(--amber); padding: 6px 8px; border-radius: 4px; margin-bottom: 14px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
@media (max-width: 899px) { .cols-2 { grid-template-columns: 1fr; } }
.cta-band { text-align: left; }
.cta-band .form { margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); padding: 56px 0 32px; font-size: var(--small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
.footer-about p { max-width: 34em; color: var(--muted); }
.footer-name { color: var(--text) !important; font-weight: 600; margin: 12px 0 6px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.footer-nav li { margin-bottom: 10px; break-inside: avoid; }
.footer-nav a { color: var(--text-2); text-decoration: none; }
.footer-nav a:hover { color: var(--amber); text-decoration: underline; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border-subtle); color: var(--muted); }
.footer-legal p { margin: 0 0 6px; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* real photographs supplied by Guy */
.story-photo img { width: 100%; border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.tdk-c90 img { width: 100%; max-width: 640px; margin: 0 auto; filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55)); transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) { .tdk-c90 img { transition: transform 400ms ease-out; } .tdk-c90:hover img { transform: rotate(0deg); } }
.story-photo figure { margin: 0; }
.story-photo figcaption { margin: 12px 0 0; }

/* memorial quote: handwritten in blue biro on a cassette-label card */
.memorial { padding: 72px 0 96px; }
.hand-quote { margin: 0 auto; max-width: 760px; text-align: center; }
.hand-quote blockquote { --lh: 50px; --pt: 30px; margin: 0; padding: var(--pt) 40px 26px; background-color: #f1eadb; border-radius: 6px; transform: rotate(-1.5deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--lh) - 1px), rgba(40, 60, 120, 0.25) calc(var(--lh) - 1px) var(--lh)); background-position: 0 calc(var(--pt) - 4px);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 24px 50px rgba(0, 0, 0, 0.5); border-top: 10px solid #c8102e; }
.hand-quote blockquote p { margin: 0; font: 600 44px/var(--lh) "Caveat", "Segoe Print", "Bradley Hand", cursive; color: #1f3a8f; text-wrap: balance; }
.hand-quote figcaption { margin-top: 28px; color: var(--muted); font-size: var(--small); }
@media (max-width: 767px) { .hand-quote blockquote { --lh: 40px; --pt: 24px; padding: var(--pt) 18px 20px; } .hand-quote blockquote p { font-size: 32px; } }

/* hero: the spectrum analyser bars move (a simulation drawn over the photo; see site.js) */
.hero-live { position: absolute; pointer-events: none; display: none; }
.hero-live.on { display: block; }
@media (min-width: 768px) { .hero h1 .line2 .nb { white-space: nowrap; } }
@media (min-width: 1024px) and (max-width: 1279px) { .hero h1 .line2 { font-size: 0.6em; } }
