/* Split n Spin · Red Label (2026-10-30)
   The page is the record: light sections like a white inner sleeve, dark sections like grooved
   vinyl, labels in red and yellow. Big Shoulders Display for anything set like a label,
   Courier Prime for everything you read, like liner notes and label credits. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --sleeve: #EEEEEC;      /* light sections */
  --ink: #111111;         /* text on light */
  --ink-muted: #555555;   /* secondary text on light (6.6:1) */
  --vinyl: #0B0B0B;       /* dark sections */
  --groove: #151515;
  --on-vinyl: #F4F1EA;    /* text on dark */
  --on-vinyl-muted: #BDB8AD;
  --red: #B3171D;         /* the label; text on it is --on-vinyl (6.4:1) */
  --yellow: #E8B22A;      /* the second label; text on it is --vinyl */
  --leak: #FF5A4F;        /* "leaking" on dark (6:1) */
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --text: "Courier Prime", "Courier New", Courier, monospace;
  --gutter: max(24px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
/* The design is the same in dark mode; the white sections just glare less. */
@media (prefers-color-scheme: dark) {
  :root { --sleeve: #D9D9D5; }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--vinyl); color: var(--on-vinyl); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; text-wrap: balance; line-height: 0.88; }
svg { display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--yellow); color: var(--vinyl); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.s-light { --focus: var(--red); background: var(--sleeve); color: var(--ink); }
.s-dark { --focus: var(--yellow); background: var(--vinyl); color: var(--on-vinyl); }
.s-red { --focus: var(--vinyl); background: var(--red); color: var(--on-vinyl); }
:focus-visible { outline: 3px solid var(--focus, var(--yellow)); outline-offset: 3px; }
.grooves { background-image: repeating-radial-gradient(circle at 50% 50%, var(--vinyl) 0, var(--vinyl) 2px, var(--groove) 3px, var(--groove) 4px); }
.grooves-low { background-image: repeating-radial-gradient(circle at 50% 120%, var(--vinyl) 0, var(--vinyl) 2px, var(--groove) 3px, var(--groove) 4px); }
.red { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 10px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--red); color: var(--on-vinyl);
  font: 700 1.5rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--vinyl); color: var(--yellow); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* ---------- the record ---------- */

.record { width: 100%; height: auto; overflow: visible; }
.rec-vinyl { fill: #050505; }
.rec-groove { fill: none; stroke: #222222; stroke-width: 0.35; }
.rec-label-a { fill: var(--red); }
.rec-label-b { fill: var(--yellow); }
.rec-label-c { fill: var(--on-vinyl); }
.rec-ring { fill: none; stroke-width: 0.25; }
.rec-ring-a { stroke: var(--on-vinyl); }
.rec-ring-b, .rec-ring-c { stroke: var(--vinyl); }
.rec-hole { fill: var(--sleeve); }
.spin { transform-origin: 32px 32px; animation: spin 7s linear infinite; }
/* Each slice moves out along the middle of its share (50 / 30 / 20 of the circle) */
.slice-a { --out: translate(3px, 0); }
.slice-b { --out: translate(-2.4px, 1.8px); }
.slice-c { --out: translate(-1.8px, -2.4px); }
.slice { transform: var(--out); animation: slice 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slice { 0%, 34%, 90%, 100% { transform: translate(0, 0); } 46%, 78% { transform: var(--out); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin, .slice { animation: none; }   /* shown still, already split open */
  .btn { transition: none; }
}

/* ---------- hero (light) ---------- */

.hero { display: flex; flex-wrap: wrap; align-items: center; overflow: hidden; min-height: clamp(560px, 60vw, 820px); }
.hero-copy { flex: 1 1 520px; min-width: 0; padding: 48px var(--gutter); display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lockup-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--sleeve), 0 0 0 7px var(--ink); }
.lockup-name { font: 900 1.9rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.lockup-tag { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.hero h1 { font-size: clamp(3.6rem, 8.4vw, 7.75rem); line-height: 0.86; }
.lede { max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
/* The record sits whole beside the headline: it's the main picture, so nothing is cropped */
.hero-record { flex: 1 1 400px; min-width: 0; max-width: 620px; margin: 0 auto; padding: 32px var(--gutter) 40px 0; }

/* ---------- labels (side 1, side 2) ---------- */

.side1 { display: flex; justify-content: center; padding: 88px var(--gutter); }
.label {
  position: relative; width: min(100%, 640px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 clamp(18px, 4vw, 40px) #050505;
}
.label-red { background: var(--red); color: var(--on-vinyl); }
.label-yellow { background: var(--yellow); color: var(--vinyl); width: min(100%, 520px); box-shadow: 0 0 0 28px #050505; }
.label-arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc-rule { fill: none; stroke: var(--on-vinyl); stroke-width: 1.2; }
.arc-big { fill: var(--on-vinyl); font: 900 30px var(--display); letter-spacing: 6px; }
.arc-small { fill: var(--on-vinyl); font: 400 11.5px var(--text); letter-spacing: 2px; }
.arc-hole { fill: var(--vinyl); }
.label-text { position: relative; width: 70%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: clamp(0.75rem, 1.5vw, 0.95rem); line-height: 1.35; }
.label-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.label-side { display: none; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.label-yellow .label-side { display: block; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: track; }
.credits li { counter-increment: track; }
.credits b { display: block; font-weight: 700; text-transform: uppercase; }
.credits b::before { content: counter(track) ". "; }
.chapters { margin: 0; padding: 0; list-style: none; counter-reset: ch; line-height: 1.55; }
.chapters li { counter-increment: ch; }
.chapters li::before { content: counter(ch) ". "; font-weight: 700; }
.chapters a { text-decoration: none; }
.chapters a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the money (light) ---------- */

.problem { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 88px max(var(--gutter), calc((100% - 1200px) / 2)); }
.problem-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.problem-copy h2 { font-size: clamp(3.2rem, 6vw, 5.25rem); }
.moneymap { flex: 1 1 460px; min-width: 0; margin: 0; padding: 24px; background: var(--vinyl); color: var(--on-vinyl); box-shadow: 8px 8px 0 var(--red); }
.moneymap figcaption { margin-bottom: 12px; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-vinyl-muted); }
.moneymap table { width: 100%; border-collapse: collapse; }
.moneymap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.moneymap td { padding: 10px 10px 10px 0; border-bottom: 1px solid #2A2A2A; vertical-align: top; }
.moneymap tr:last-child td { border-bottom: 0; }
.moneymap td:first-child { color: var(--on-vinyl-muted); width: 3ch; }
.moneymap td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.moneymap small { display: block; font-size: 0.8125rem; color: var(--on-vinyl-muted); }
.moneymap .leak { color: var(--leak); font-weight: 700; }
.moneymap .todo { color: var(--on-vinyl-muted); }

/* ---------- the three 45s (dark) ---------- */

.singles { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; padding: 88px var(--gutter); }
.single {
  width: 300px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 44px; text-align: center; box-shadow: 0 0 0 16px #050505;
}
.single h3 { font-size: 2rem; line-height: 0.92; }
.single p { font-size: 0.8125rem; line-height: 1.35; }
.single-rpm { font-size: 0.6875rem; letter-spacing: 0.2em; }
.single-yellow { background: var(--yellow); color: var(--vinyl); }
.single-red { background: var(--red); color: var(--on-vinyl); }
.single-white { background: var(--on-vinyl); color: var(--vinyl); }
.singles-more { flex: 1 1 100%; text-align: center; margin-top: 8px; }

/* ---------- side 2 and price (light) ---------- */

.side2 { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; justify-content: center; padding: 96px var(--gutter); }
.side2 .label { flex: 0 0 auto; }
.price { flex: 1 1 340px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.price h2 { font-size: clamp(2.75rem, 5vw, 4.25rem); }

/* ---------- waitlist (red) ---------- */

.join { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 72px var(--gutter); }
.join-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.join-copy h2 { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.join-copy p { max-width: 26em; }
.join-panel { flex: 1 1 460px; min-width: 0; }
.waitlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-weight: 700; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--vinyl); border-radius: 0;
  background: var(--vinyl); color: var(--on-vinyl); font: inherit;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-vinyl) 50%), linear-gradient(135deg, var(--on-vinyl) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field [aria-invalid="true"] { border-color: var(--yellow); }
.hint { font-size: 0.875rem; }
.field-error { font-weight: 700; color: var(--vinyl); background: var(--yellow); padding: 4px 8px; font-size: 0.9375rem; }
.form-status { grid-column: 1 / -1; padding: 10px 14px; background: var(--vinyl); color: var(--yellow); font-weight: 700; }
.waitlist .btn { align-self: end; }
.privacy-note { grid-column: 1 / -1; font-size: 0.875rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--vinyl); color: var(--on-vinyl); }
.thanks h3 { font-size: clamp(2.25rem, 4vw, 3.25rem); color: var(--yellow); }
.thanks:focus { outline: none; }

/* ---------- footer (dark) ---------- */

.foot { padding: 48px var(--gutter) 24px; display: flex; flex-direction: column; gap: 32px; }
.privacy { display: flex; flex-direction: column; gap: 10px; max-width: 46em; font-size: 0.9375rem; color: var(--on-vinyl-muted); }
.privacy h2 { font-size: 1.75rem; color: var(--on-vinyl); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9375rem; }
.foot-legal a { color: var(--on-vinyl-muted); text-underline-offset: 4px; }
.foot-legal a:hover { color: var(--on-vinyl); }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-vinyl-muted); border-top: 1px solid #2A2A2A; padding-top: 16px; }

/* ---------- phones ---------- */

@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero-copy { padding-bottom: 8px; }
  .hero-record { flex-basis: 100%; max-width: 420px; padding: 8px var(--gutter) 40px; }
  /* Labels: a round label can't hold all the credits on a phone, so it stretches into an oval */
  .label { aspect-ratio: auto; border-radius: 48% / 22%; padding: 64px 0; }
  .label-text { width: 84%; }
  .label-yellow { border-radius: 48% / 18%; }
  .label-arcs { display: none; }
  .label-side { display: block; }
  .single { width: 280px; padding: 40px; }
}
