:root {
  --orange: #ff4b0a;
  --orange-dark: #c92b00;
  --orange-soft: #fff0e9;
  --navy: #0b2d45;
  --navy-2: #153f59;
  --cream: #fffaf6;
  --white: #ffffff;
  --ink: #173244;
  --muted: #5b6d79;
  --line: #dce5e9;
  --shadow: 0 24px 70px rgba(11, 45, 69, 0.13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--navy); color: white; padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  height: 96px; background: var(--white); border-bottom: 1px solid rgba(11, 45, 69, .08);
  display: flex; align-items: center; position: relative; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-button { border: 0; background: transparent; padding: 0; cursor: pointer; }
.brand-logo { display: block; width: 205px; height: 62px; object-fit: contain; object-position: left center; }
.header-label { color: var(--navy); font-weight: 700; letter-spacing: .01em; }

.screen { display: none; min-height: calc(100vh - 96px); }
.screen.is-active { display: block; animation: fade-in .45s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-grid {
  min-height: 600px; display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 64px; align-items: center; padding: 72px 0 64px;
}
.eyebrow {
  margin: 0 0 18px; color: var(--orange-dark); text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700; font-size: 13px;
}
h1, h2 {
  font-family: "Lora", Georgia, serif; color: var(--navy);
  letter-spacing: -.025em; line-height: 1.06;
}
h1 { margin: 0 0 28px; font-size: clamp(46px, 5.2vw, 76px); max-width: 700px; }
.intro-copy > p:not(.eyebrow) { max-width: 670px; margin: 0 0 18px; font-size: 18px; line-height: 1.68; color: #395364; }
.intro-copy .closing-line { color: var(--navy) !important; font-weight: 700; }

.hero-record-wrap { position: relative; display: grid; place-items: center; min-height: 480px; }
.vinyl {
  position: relative; border-radius: 50%; background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 8px, rgba(255,255,255,.055) 9px 10px),
    radial-gradient(circle at 42% 38%, #344552 0, #111d24 24%, #05090c 66%, #17242c 100%);
  box-shadow: 0 34px 60px rgba(11, 45, 69, .28), inset 0 0 0 2px rgba(255,255,255,.05);
}
.vinyl::after {
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: linear-gradient(125deg, rgba(255,255,255,.15), transparent 22% 58%, rgba(255,255,255,.07) 71%, transparent);
  pointer-events: none;
}
.vinyl-hero { width: min(430px, 78vw); aspect-ratio: 1; animation: slow-spin 24s linear infinite; }
.vinyl-label {
  position: absolute; inset: 32%; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; background: var(--white);
  border: 8px solid var(--orange); overflow: hidden;
}
.vinyl-label::after {
  content: ""; position: absolute; width: 13px; aspect-ratio: 1; border-radius: 50%; background: #101a20; z-index: 3;
}
.vinyl-label img { width: 88%; height: 88%; object-fit: contain; opacity: .72; }
.music-note { position: absolute; color: var(--orange); font: 700 58px/1 Georgia, serif; opacity: .55; }
.note-one { right: 2%; top: 12%; transform: rotate(10deg); }
.note-two { left: 2%; bottom: 13%; transform: rotate(-12deg); font-size: 72px; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

.choice-band { padding: 48px 0 64px; background: var(--orange); color: var(--white); }
.choice-heading { margin: 0 0 22px; font-family: "Lora", Georgia, serif; font-size: 25px; font-weight: 600; }
.starter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.starter-card {
  border: 0; border-radius: 18px; padding: 24px; background: var(--white); color: var(--navy);
  cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  text-align: left; box-shadow: 0 12px 32px rgba(105, 24, 0, .16); transition: transform .2s ease, box-shadow .2s ease;
}
.starter-card:hover, .starter-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(105, 24, 0, .22); outline: 3px solid rgba(255,255,255,.65); }
.starter-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }
.starter-card strong { display: block; font-size: 18px; margin-bottom: 5px; }
.starter-card small { color: var(--muted); font-size: 14px; }
.arrow { font-size: 27px; color: var(--orange); }

.quiz-screen { background: linear-gradient(125deg, var(--cream) 0 66%, var(--orange-soft) 66%); }
.quiz-shell { padding: 50px 0 80px; }
.quiz-topline { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.text-button { background: transparent; border: 0; padding: 8px 0; cursor: pointer; color: var(--navy); font-weight: 700; }
.text-button:hover, .text-button:focus-visible { color: var(--orange-dark); }
.progress-track { height: 7px; border-radius: 999px; background: #e2e9ed; overflow: hidden; margin-top: 13px; }
.progress-track span { display: block; height: 100%; width: 10%; border-radius: inherit; background: var(--orange); transition: width .35s ease; }
.quiz-layout { min-height: 590px; display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: center; }
.quiz-aside { text-align: center; color: var(--muted); line-height: 1.6; }
.mini-record {
  width: 170px; aspect-ratio: 1; margin: 0 auto 26px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #152733 0 5px, #0b151b 6px 8px);
  box-shadow: 0 22px 35px rgba(11, 45, 69, .19); display: grid; place-items: center;
}
.mini-record-label { width: 60px; aspect-ratio: 1; background: var(--orange); border: 6px solid white; border-radius: 50%; position: relative; }
.mini-record-label::after { content: ""; position: absolute; inset: 42%; background: var(--navy); border-radius: 50%; }
.question-panel { max-width: 760px; }
.question-panel h2 { font-size: clamp(34px, 4vw, 56px); margin: 0 0 16px; }
.question-help { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0 0 30px; }
.answer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.answer-button {
  min-height: 78px; border: 2px solid var(--line); border-radius: 16px; background: var(--white);
  padding: 18px 20px; cursor: pointer; text-align: left; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 14px; transition: border-color .18s, transform .18s, background .18s;
}
.answer-button::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aabb5; flex: 0 0 auto;
}
.answer-button:hover, .answer-button:focus-visible { border-color: var(--orange); background: var(--orange-soft); transform: translateY(-2px); outline: 0; }
.answer-button:hover::before, .answer-button:focus-visible::before { border-color: var(--orange); box-shadow: inset 0 0 0 4px white; background: var(--orange); }

.loading-screen.is-active { display: grid; place-items: center; text-align: center; background: var(--orange-soft); }
.loading-content { padding: 80px 24px; }
.loading-vinyl { width: 220px; aspect-ratio: 1; margin: 0 auto 32px; animation: slow-spin 1.5s linear infinite; }
.simple-label { color: var(--navy); font-size: 60px; font-weight: 700; }
.loading-content h2 { font-size: 38px; margin: 0 0 12px; }
.loading-content p { color: var(--muted); }

.result-screen { background: linear-gradient(115deg, var(--orange) 0 42%, var(--cream) 42%); }
.result-grid { min-height: calc(100vh - 96px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; padding: 70px 0; }
.result-record-column { display: grid; place-items: center; }
.vinyl-result { width: min(440px, 82vw); aspect-ratio: 1; }
.result-label { inset: 29%; border: 7px solid #fff; background: var(--orange); color: white; text-align: center; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.result-label::after { display: none; }
.result-label span:first-child { font-family: "Lora", Georgia, serif; font-size: clamp(12px, 1.4vw, 18px); font-weight: 700; line-height: 1.16; }
.result-label span:last-child { font-size: clamp(8px, 1vw, 12px); opacity: .86; }
.result-copy { max-width: 630px; padding: 26px 0; }
.result-copy h2 { font-size: clamp(44px, 5.8vw, 78px); margin: 0 0 8px; }
.result-artist { margin: 0 0 26px; font-size: 23px; color: var(--orange-dark); font-weight: 700; }
.result-reason { font-size: 18px; line-height: 1.7; color: #395364; margin: 0 0 24px; }
.result-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.result-tags span { background: white; border: 1px solid var(--line); color: var(--navy); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 12px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.primary-button { background: var(--navy); color: white; border: 2px solid var(--navy); box-shadow: 0 13px 30px rgba(11, 45, 69, .18); }
.primary-button:hover, .primary-button:focus-visible { background: var(--orange); border-color: var(--orange); outline: 3px solid rgba(255,75,10,.2); }
.result-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 18px; }
.secondary-button { background: white; color: var(--navy); border: 2px solid var(--line); }
.secondary-button:hover, .secondary-button:focus-visible { border-color: var(--orange); }
.gentle-note { margin-top: 28px; max-width: 560px; color: var(--muted); font-size: 13px; line-height: 1.55; }

.site-footer { background: var(--navy); color: white; padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-inner p { margin: 0; opacity: .78; font-size: 14px; }
.footer-inner img {
  width: 210px;
  height: 64px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; padding-top: 52px; }
  .intro-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .hero-record-wrap { min-height: 400px; }
  .starter-grid { grid-template-columns: 1fr; }
  .quiz-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 50px; }
  .quiz-aside { display: none; }
  .question-panel { margin: auto; width: min(100%, 760px); }
  .result-screen { background: linear-gradient(180deg, var(--orange) 0 35%, var(--cream) 35%); }
  .result-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; padding-top: 64px; }
  .result-copy { margin: auto; }
  .result-tags, .result-actions { justify-content: center; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 78px; }
  .brand-logo { width: 164px; height: 50px; }
  .header-label { display: none; }
  .screen { min-height: calc(100vh - 78px); }
  .hero-grid { min-height: 0; padding: 46px 0 38px; }
  h1 { font-size: 43px; }
  .intro-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-record-wrap { min-height: 320px; }
  .vinyl-hero { width: 290px; }
  .choice-band { padding: 38px 0 46px; }
  .starter-card { grid-template-columns: auto 1fr; padding: 20px; }
  .starter-card .arrow { display: none; }
  .quiz-shell { padding-top: 28px; }
  .quiz-layout { min-height: 530px; align-items: start; }
  .question-panel h2 { font-size: 37px; }
  .answer-list { grid-template-columns: 1fr; }
  .answer-button { min-height: 66px; }
  .vinyl-result { width: 300px; }
  .result-grid { min-height: calc(100vh - 78px); }
  .result-copy h2 { font-size: 44px; }
  .primary-button, .secondary-button { width: 100%; }
  .result-actions { display: grid; }
  .footer-inner { flex-direction: column; text-align: center; }
}
