:root {
  --ink: #07131c;
  --cream: #f5dfad;
  --paper: #f6e7c5;
  --gold-1: #ffdf7a;
  --gold-2: #a75f10;
  --gold-3: #ffe7a1;
  --red: #a92f1d;
  --orange: #d9571e;
  --blue: #083f58;
  --teal: #087983;
  --green: #405b22;
  --violet: #472348;
  --navy: #061a28;
  --rotation: 0deg;
  --counter: 0deg;
  --tilt-x: 4deg;
  --tilt-y: -4deg;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

button, a { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: .75rem 1rem;
  background: var(--cream);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 4.75rem);
  background: linear-gradient(180deg, rgba(4, 20, 29, .42), transparent);
  color: var(--paper);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.brand {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-1deg);
}

.brand-word {
  font: 900 clamp(1.45rem, 2.6vw, 2.6rem)/.85 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: .035em;
}
.brand-star { font-size: .68em; color: #ee9a2c; vertical-align: .12em; }
.brand-rule { display:flex; align-items:center; gap:.55rem; margin-top:.45rem; font: 700 .68rem/1 Georgia,serif; letter-spacing:.28em; }
.brand-rule i { width: 32px; height: 1px; background: currentColor; }

.top-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.8vw, 3rem); }
.nav-link, .menu-button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
}
.nav-link {
  position: relative;
  padding: .7rem 0;
  font: 800 .78rem/1.2 Arial, sans-serif;
  letter-spacing: .12em;
}
.nav-link::after { content:""; position:absolute; left:0; right:100%; bottom:.42rem; height:2px; background:#e8a93e; transition:right .2s ease; }
.nav-link:hover::after, .nav-link:focus-visible::after { right:0; }
.menu-button { display:none; width:44px; height:44px; padding:10px; }
.menu-button span { display:block; height:2px; margin:5px 0; background:currentColor; transition:transform .2s ease; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(430px, 1.22fr) minmax(220px, .66fr);
  align-items: center;
  gap: clamp(.75rem, 2vw, 2.5rem);
  padding: 106px clamp(1.25rem, 4vw, 4.75rem) 116px;
  background-image:
    linear-gradient(90deg, rgba(3,15,23,.34) 0%, rgba(3,15,23,.05) 37%, rgba(3,15,23,.02) 63%, rgba(3,15,23,.25) 100%),
    url("./assets/newhall-sunset.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.paper-grain {
  position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.22; mix-blend-mode:multiply;
  background-image: repeating-radial-gradient(circle at 30% 20%, rgba(31,14,3,.22) 0 1px, transparent 1px 4px);
  background-size: 5px 5px;
}
.sun-flare { position:absolute; z-index:-1; width:32vw; aspect-ratio:1; left:-8vw; top:31%; border-radius:50%; background:radial-gradient(circle,rgba(255,234,138,.42),rgba(255,172,52,.08) 42%,transparent 68%); filter:blur(12px); }

.hero-copy { position:relative; z-index:3; max-width:390px; align-self:center; text-shadow:0 2px 20px rgba(255,206,105,.18); }
.eyebrow { margin:0 0 .55rem; font:800 .78rem/1.3 Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; color:#082a39; }
.hero h1 {
  margin: 0;
  color: #071923;
  font: 900 clamp(3.55rem, 6.4vw, 7rem)/.77 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing:-.025em;
  text-transform:uppercase;
  text-shadow: 3px 3px 0 rgba(245,223,173,.5), 0 12px 34px rgba(245,125,26,.2);
}
.hero h1 em { color:#982414; font-style:normal; }
.intro { max-width:32rem; margin:1.2rem 0 1.3rem; font-size:clamp(1rem,1.2vw,1.12rem); font-weight:700; line-height:1.38; color:#102a34; }
.primary-cta {
  display:inline-flex; align-items:center; gap:1.7rem; min-height:52px; padding:.7rem 1.1rem .7rem 1.35rem;
  border:3px solid #081c25; border-radius:6px; background:#bd351a; color:#fff1ce; cursor:pointer;
  box-shadow:4px 5px 0 rgba(8,28,37,.92), inset 0 0 0 2px rgba(255,207,108,.42);
  font:900 1.05rem/1 Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; transition:transform .18s ease, box-shadow .18s ease;
}
.primary-cta:hover { transform:translate(2px,2px); box-shadow:2px 3px 0 rgba(8,28,37,.92),inset 0 0 0 2px rgba(255,207,108,.42); }
.artist-link { display:block; margin-top:1rem; border:0; background:none; padding:.2rem 0; cursor:pointer; color:#0a2f3b; font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.artist-link strong { color:#8f2518; }

.badge-stage { position:relative; z-index:4; display:grid; place-items:center; perspective:1100px; min-width:0; touch-action:none; }
.spin-hint { position:absolute; top:0; margin:0; color:#12313c; font:800 .72rem/1 Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; opacity:.75; }
.spin-hint span { display:inline-block; font-size:1.1rem; margin-right:.2rem; }
.badge-tilt {
  position:relative; width:min(41vw,610px); min-width:400px; aspect-ratio:1;
  transform-style:preserve-3d;
  transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition:transform .18s ease-out;
  filter:drop-shadow(0 32px 30px rgba(22,11,2,.42));
}
.badge-shadow { position:absolute; inset:17%; border-radius:50%; transform:translateZ(-60px) translateY(26%); background:rgba(35,18,5,.42); filter:blur(30px); }
.rowel {
  position:absolute; inset:1%; z-index:1; transform-style:preserve-3d;
  transform:translateZ(0) rotate(var(--rotation));
  outline:none; cursor:grab; user-select:none; -webkit-user-select:none;
}
.rowel:active { cursor:grabbing; }
.rowel:focus-visible::before { filter:drop-shadow(0 0 8px #fff4bd) drop-shadow(0 0 18px #0cf); }
.rowel-metal, .rowel-enamel {
  position:absolute; inset:0;
  clip-path:polygon(50% 0%,61% 31%,93.3% 25%,72% 50%,93.3% 75%,61% 69%,50% 100%,39% 69%,6.7% 75%,28% 50%,6.7% 25%,39% 31%);
}
.rowel-metal {
  background:conic-gradient(from -30deg,#7b3e08,#ffe07c 8%,#a35b0c 16%,#f6ca62 25%,#6f3206 34%,#ffd97a 45%,#9a5008 55%,#ffe39a 65%,#814006 76%,#f9cf66 86%,#713306);
  filter:drop-shadow(0 10px 8px rgba(40,16,0,.5));
}
.rowel-enamel {
  inset:2.7%;
  background:
    radial-gradient(circle at 45% 38%,rgba(255,255,255,.25),transparent 28%),
    conic-gradient(from -30deg,var(--red) 0 60deg,var(--orange) 60deg 120deg,var(--violet) 120deg 180deg,var(--blue) 180deg 240deg,var(--green) 240deg 300deg,var(--teal) 300deg 360deg);
  box-shadow:inset 0 0 26px rgba(0,0,0,.44);
}
.rowel-enamel::after {
  content:""; position:absolute; inset:0; opacity:.28; mix-blend-mode:overlay;
  background:repeating-linear-gradient(47deg,transparent 0 5px,rgba(255,255,255,.13) 5px 6px);
}
.spur-link {
  position:absolute; z-index:3; left:50%; top:50%; width:21%; min-width:82px; min-height:18%;
  transform:translate(-50%,-50%);
  border:0; background:transparent; color:#fce6ae; text-align:center; cursor:pointer; padding:.25rem;
  text-shadow:0 2px 2px rgba(0,0,0,.8),0 0 10px rgba(0,0,0,.3);
}
.spur-0 { left:50%; top:16%; }
.spur-1 { left:79%; top:33%; }
.spur-2 { left:79%; top:67%; }
.spur-3 { left:50%; top:84%; }
.spur-4 { left:21%; top:67%; }
.spur-5 { left:21%; top:33%; }
.spur-link > * { transform:rotate(var(--counter)); transition:transform .1s linear; }
.spur-link strong { display:block; font:900 clamp(.82rem,1.45vw,1.2rem)/1 Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; letter-spacing:.055em; text-transform:uppercase; }
.spur-link small { display:block; max-width:8rem; margin:.2rem auto 0; font:700 clamp(.56rem,.7vw,.68rem)/1.05 Georgia,serif; }
.spur-icon { display:block; margin-bottom:.2rem; font:bold clamp(1rem,1.9vw,1.6rem)/1 Arial,sans-serif; color:#f7d681; }
.spur-link:hover strong, .spur-link:focus-visible strong { color:white; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.spur-link:focus-visible { outline:2px solid #fff0b4; outline-offset:-2px; border-radius:4px; }
.tip {
  position:absolute; z-index:4; left:50%; top:50%; width:8.7%; aspect-ratio:1; border-radius:50%;
  transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-534%) rotate(calc(var(--angle) * -1));
  background:radial-gradient(circle at 34% 26%,#fff0a6 0 5%,#d89224 28%,#7f3c07 65%,#351502 100%);
  box-shadow:inset -4px -5px 7px rgba(33,12,0,.5),inset 3px 3px 6px rgba(255,225,137,.55),0 4px 7px rgba(39,17,2,.55);
}

.badge-hub {
  position:absolute; z-index:5; inset:27.8%; border-radius:50%; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; border:5px solid #653405;
  background:
    radial-gradient(circle at 34% 24%,rgba(255,250,197,.82),transparent 23%),
    repeating-radial-gradient(circle at 65% 70%,transparent 0 5px,rgba(70,30,0,.08) 5px 6px),
    radial-gradient(circle,#dba84a,#b67924 58%,#754006 100%);
  color:#11191b; text-transform:uppercase; box-shadow:inset 0 0 0 5px #eec96c,inset 0 0 0 8px #76430b,0 13px 22px rgba(40,15,0,.55);
  transform:translateZ(42px); transition:transform .18s ease,filter .18s ease;
}
.badge-hub:hover { transform:translateZ(48px) scale(1.025); filter:brightness(1.08); }
.badge-hub:focus-visible { outline:4px solid #fff1ae; outline-offset:5px; }
.hub-kicker { font-size:clamp(.75rem,1.3vw,1.1rem); }
.badge-hub strong { font:900 clamp(1.8rem,3.6vw,3.5rem)/.9 Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; letter-spacing:-.03em; }
.badge-hub strong span { font-size:.52em; vertical-align:.18em; }
.badge-hub small { margin-top:.42rem; font:800 clamp(.65rem,1vw,.9rem)/1 Arial,sans-serif; letter-spacing:.34em; }
.badge-hub i { margin-top:.75rem; padding-top:.6rem; border-top:1px solid rgba(35,21,7,.55); font:800 clamp(.55rem,.75vw,.68rem)/1 Georgia,serif; letter-spacing:.1em; }
.axle { position:absolute; z-index:6; width:3.5%; aspect-ratio:1; left:50%; top:50%; transform:translate(-50%,-50%) translateZ(52px); border-radius:50%; background:radial-gradient(circle at 35% 30%,#fff1a1,#8b4b0a 68%,#321200); pointer-events:none; }

.story-card { align-self:center; justify-self:end; width:min(100%,275px); color:#09212b; text-align:left; }
.script { margin:0 0 1rem; color:#172631; font:italic 700 clamp(1.65rem,3vw,2.55rem)/.93 "Brush Script MT","Segoe Script",cursive; transform:rotate(-4deg); text-shadow:0 2px 8px rgba(255,222,154,.35); }
.story-rule { width:68px; height:5px; margin:.5rem 0 1rem; background:#b12f1a; transform:skewX(-22deg); }
.story-label { margin:0; font:800 .69rem/1 Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.story-card h2 { margin:.35rem 0 .6rem; color:#8f2417; font:900 clamp(2.2rem,3.5vw,3.5rem)/.9 Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif; text-transform:uppercase; }
.story-card > p:not(.script):not(.story-label) { margin:0; font-size:1rem; font-weight:700; line-height:1.42; }
.text-link { margin-top:1.15rem; padding:.45rem 0; border:0; border-bottom:2px solid currentColor; background:none; cursor:pointer; color:#082b39; font:900 .78rem/1 Arial,sans-serif; letter-spacing:.08em; text-transform:uppercase; }

.player {
  position:fixed; z-index:30; inset:auto 0 0; min-height:94px; display:grid; grid-template-columns:auto minmax(140px,220px) auto minmax(230px,1fr) auto;
  align-items:center; gap:clamp(.8rem,2vw,2rem); padding:.75rem clamp(1rem,3vw,3rem);
  color:#f7e4bd; background:linear-gradient(180deg,rgba(2,16,25,.94),rgba(2,12,19,.99));
  border-top:1px solid rgba(243,193,88,.45); box-shadow:0 -8px 24px rgba(0,0,0,.28);
}
.cover { width:60px; height:60px; padding:0; border:2px solid #c68d30; background:#123; cursor:pointer; overflow:hidden; }
.cover img { width:100%; height:100%; object-fit:cover; }
.track-copy { display:flex; flex-direction:column; min-width:0; }
.track-copy strong { font:800 1rem/1.25 Arial,sans-serif; white-space:nowrap; }
.track-copy span { color:#4cc2c8; font-size:.84rem; white-space:nowrap; }
.track-copy i { color:#e5aa39; font-style:normal; }
.transport { display:flex; align-items:center; gap:.5rem; }
.transport button { width:38px; height:38px; border:0; background:none; color:#f7e4bd; cursor:pointer; font-family:Arial,sans-serif; }
.transport .play-button { width:52px; height:52px; border:2px solid #f7e4bd; border-radius:50%; font-size:1.15rem; }
.transport .play-button span { display:block; transform:translateX(1px); }
.wave-wrap { min-width:0; }
.waveform { height:38px; display:flex; align-items:center; gap:3px; overflow:hidden; }
.waveform i { flex:1 1 2px; min-width:2px; max-width:5px; height:var(--h); background:linear-gradient(#f0be5a,#d34a2c); transform-origin:center; opacity:.88; }
.is-playing .waveform i { animation:pulse-wave .7s ease-in-out infinite alternate; animation-delay:var(--delay); }
.time { display:flex; justify-content:space-between; color:#d6bb83; font:700 .67rem/1 Arial,sans-serif; }
.player-status { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

@keyframes pulse-wave { to { transform:scaleY(.38); opacity:.55; } }
@keyframes story-in { from { opacity:.3; transform:translateY(8px); } to { opacity:1; transform:none; } }
.story-card.is-changing > * { animation:story-in .34s ease both; }

@media (max-width: 1040px) {
  .hero { grid-template-columns:minmax(210px,.76fr) minmax(390px,1.24fr); }
  .story-card { position:absolute; right:clamp(1.25rem,4vw,4.75rem); bottom:122px; max-width:230px; padding:1rem; border-left:3px solid #a72e19; background:rgba(247,224,174,.72); backdrop-filter:blur(7px); }
  .story-card .script,.story-rule { display:none; }
  .badge-tilt { width:min(53vw,590px); }
}

@media (max-width: 760px) {
  .site-header { height:78px; padding:.75rem 1rem; }
  .top-nav { position:absolute; top:70px; right:1rem; display:none; flex-direction:column; align-items:stretch; gap:0; width:min(260px,calc(100vw - 2rem)); padding:.6rem; background:#082130; border:1px solid #c98a2b; box-shadow:0 18px 30px rgba(0,0,0,.32); }
  .top-nav.is-open { display:flex; }
  .nav-link { min-height:44px; padding:.75rem; text-align:left; }
  .menu-button { display:block; }
  .brand-word { font-size:1.7rem; }
  .brand-rule { font-size:.57rem; }
  .brand-rule i { width:22px; }
  .hero { min-height:auto; grid-template-columns:1fr; align-content:start; gap:.5rem; padding:94px 1rem 174px; background-position:57% center; }
  .hero-copy { max-width:100%; display:grid; grid-template-columns:1fr auto; column-gap:1rem; align-items:end; }
  .eyebrow { grid-column:1/-1; margin:0; }
  .hero h1 { font-size:clamp(3rem,16vw,5rem); line-height:.78; }
  .intro { display:none; }
  .primary-cta { align-self:end; margin-bottom:.2rem; min-height:48px; gap:.8rem; padding:.6rem .9rem; }
  .artist-link { display:none; }
  .badge-stage { margin-top:.25rem; }
  .spin-hint { top:-.35rem; }
  .badge-tilt { width:min(96vw,530px); min-width:0; }
  .spur-link { width:23%; }
  .spur-link small { display:none; }
  .story-card { position:relative; right:auto; bottom:auto; justify-self:stretch; width:100%; max-width:none; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.75rem; padding:.7rem .85rem; background:rgba(247,224,174,.87); }
  .story-label { display:none; }
  .story-card h2 { margin:0; font-size:1.65rem; }
  .story-card > p:not(.script):not(.story-label) { font-size:.82rem; line-height:1.25; }
  .text-link { margin:0; font-size:0; width:42px; height:42px; border:2px solid currentColor; border-radius:50%; }
  .text-link span { font-size:1.1rem; }
  .player { min-height:82px; grid-template-columns:auto 1fr auto; gap:.75rem; padding:.65rem 1rem; }
  .cover { width:52px; height:52px; }
  .track-copy strong { font-size:.9rem; }
  .transport button:not(.play-button) { display:none; }
  .transport .play-button { width:48px; height:48px; }
  .wave-wrap { position:absolute; left:80px; right:78px; bottom:8px; }
  .waveform { height:9px; gap:2px; }
  .time { display:none; }
}

@media (max-width: 410px) {
  .primary-cta { font-size:.82rem; gap:.4rem; box-shadow:3px 4px 0 rgba(8,28,37,.92),inset 0 0 0 2px rgba(255,207,108,.42); }
  .badge-hub { inset:28.5%; }
  .badge-hub strong { font-size:1.65rem; }
  .badge-hub i { font-size:.48rem; }
  .spur-link strong { font-size:.75rem; }
  .spur-icon { font-size:.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
