:root {
  --cream: #f5ead6;
  --paper: #fff8ea;
  --ginger: #d85f20;
  --orange: #ef7132;
  --yolk: #f4a51c;
  --ink: #24140e;
  --brown: #572b1b;
  --line: rgba(70, 33, 20, .18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .17; background-image: url('assets/shell-texture.svg'); mix-blend-mode: multiply; }

.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border-radius: 52% 48% 48% 52% / 58% 58% 42% 42%; color: var(--cream); background: var(--ink); font-style: italic; }
nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); text-transform: uppercase; font-weight: 700; font-size: .8rem; letter-spacing: .12em; }
nav a { transition: color .2s; }
nav a:hover { color: var(--ginger); }
.nav-pill { border: 1px solid var(--ink); padding: 11px 16px; border-radius: 999px; }

.hero { min-height: calc(100svh - 82px); display: grid; grid-template-columns: .92fr 1.08fr; padding: clamp(42px, 7vw, 100px) 4.5vw 42px; position: relative; }
.hero-copy { position: relative; z-index: 3; align-self: center; padding-bottom: 30px; min-width: 0; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; background: var(--ginger); border-radius: 50%; box-shadow: 0 0 0 5px rgba(216,95,32,.15); }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(5rem, 10vw, 9.8rem); line-height: .7; letter-spacing: -.085em; font-style: italic; font-weight: 700; }
h1 span { color: var(--ginger); }
.ticker { display: inline-block; margin: 26px 0 42px; padding: 7px 11px 6px; background: var(--ink); color: var(--cream); font-size: .77rem; font-weight: 800; letter-spacing: .17em; transform: rotate(-2deg); }
.hero h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4.6rem); line-height: .96; letter-spacing: -.055em; }
em { color: var(--ginger); font-weight: 400; }
.lede { max-width: 520px; margin: 25px 0 31px; font-size: 1.08rem; line-height: 1.6; color: #644638; }
.hero-actions, .community-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); font-weight: 800; letter-spacing: .035em; text-transform: uppercase; font-size: .77rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--paper); background: var(--ginger); border-color: var(--ginger); box-shadow: 0 10px 28px rgba(216,95,32,.22); }
.button-ghost { background: transparent; }
.play { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: var(--cream); background: var(--ink); font-size: .55rem; padding-left: 2px; }

.stage { min-height: 650px; position: relative; align-self: center; display: grid; place-items: center; isolation: isolate; min-width: 0; }
.stage::before { content: ''; position: absolute; z-index: -3; width: min(43vw, 630px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 47% 42%, #ffc64c 0 11%, #eb7534 42%, #9d351d 72%); box-shadow: 0 35px 80px rgba(104,42,20,.28), inset 0 0 45px rgba(255,230,159,.4); }
.stage::after { content: ''; position: absolute; z-index: -4; bottom: 8%; width: 74%; height: 12%; border-radius: 50%; background: rgba(75,31,16,.2); filter: blur(25px); }
.stage-label { position: absolute; top: 3%; right: 2%; font-size: .65rem; font-weight: 800; letter-spacing: .16em; transform: rotate(90deg) translateX(100%); transform-origin: right top; }
.stage-label span { color: var(--ginger); }
.hero-character { appearance: none; border: 0; background: none; cursor: pointer; width: min(38vw, 570px); padding: 0; z-index: 2; filter: drop-shadow(0 28px 24px rgba(55,23,12,.25)); transform-origin: 50% 82%; transition: transform .25s ease, filter .25s; }
.hero-character:hover { transform: scale(1.025) rotate(-1deg); filter: drop-shadow(0 34px 27px rgba(55,23,12,.3)); }
.hero-character img { display: block; width: 100%; max-height: 680px; object-fit: contain; }
.orbit { position: absolute; z-index: -2; border: 1px solid rgba(255,245,220,.42); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 92%; height: 39%; }
.orbit-two { width: 78%; height: 27%; transform: rotate(23deg); }
.wave { position: absolute; z-index: -1; width: 75%; aspect-ratio: 1; border: 2px solid rgba(255,236,194,.5); border-radius: 50%; opacity: 0; }
.equalizer { position: absolute; bottom: 6%; left: 5%; height: 46px; display: flex; gap: 5px; align-items: end; }
.equalizer b { width: 4px; height: 12px; background: var(--ink); opacity: .45; }
.beat-status { position: absolute; bottom: 2%; right: 3%; font-family: var(--serif); font-style: italic; font-size: .85rem; }
.crack-lines { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0; }
.crack-lines i { position: absolute; left: 51%; top: 34%; height: 3px; width: 0; background: #fff5d7; transform-origin: left; box-shadow: 0 0 9px rgba(255,244,200,.8); }
.crack-lines i:nth-child(1) { transform: rotate(-76deg); }
.crack-lines i:nth-child(2) { transform: rotate(-21deg); }
.crack-lines i:nth-child(3) { transform: rotate(18deg); }
.crack-lines i:nth-child(4) { transform: rotate(62deg); }
.crack-lines i:nth-child(5) { transform: rotate(115deg); }
.stage.cracking .hero-character { animation: shell-pop .72s cubic-bezier(.2,.9,.3,1); }
.stage.cracking .crack-lines { opacity: 1; }
.stage.cracking .crack-lines i { animation: fracture .58s ease-out forwards; }
.stage.cracking .wave-a { animation: ripple 1.2s ease-out; }
.stage.cracking .wave-b { animation: ripple 1.2s .12s ease-out; }
.stage.cracking .wave-c { animation: ripple 1.2s .24s ease-out; }
.stage.cracking .equalizer b { animation: eq .5s ease-in-out 3 alternate; }
.stage.cracking .equalizer b:nth-child(2n) { animation-delay: .08s; }
.stage.cracking .equalizer b:nth-child(3n) { animation-delay: .15s; }
.particle { position: absolute; z-index: 8; left: 50%; top: 43%; width: 8px; height: 8px; background: var(--particle-color, #fff0c3); border-radius: 50% 50% 48% 12%; pointer-events: none; animation: fly .95s ease-out forwards; }
@keyframes shell-pop { 0% { transform: scale(1) rotate(0); } 22% { transform: scale(.96) rotate(-2deg); } 46% { transform: scale(1.08) rotate(2deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes fracture { from { width: 0; } to { width: 22%; } }
@keyframes ripple { 0% { opacity: .9; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes eq { from { height: 8px; } to { height: 45px; } }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(260deg) scale(.2); opacity: 0; } }

.marquee { overflow: hidden; background: var(--ink); color: var(--cream); padding: 14px 0 12px; font-weight: 800; font-size: .72rem; letter-spacing: .15em; white-space: nowrap; transform: rotate(-1deg) scale(1.02); }
.marquee div { width: max-content; animation: scroll 24s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.section { padding: 110px 7vw; }
.section-index { margin-bottom: 52px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: .68rem; letter-spacing: .18em; font-weight: 800; }
.lore-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: start; }
.section h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6.2rem); line-height: .96; letter-spacing: -.055em; }
.lore-copy { padding-top: 10px; }
.lore-copy > p { margin: 0 0 22px; font-size: 1.05rem; line-height: 1.75; color: #644638; }
.quote { margin-top: 38px; padding: 26px 0 0 24px; border-left: 3px solid var(--ginger); font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; font-style: italic; }
.tracklist { margin-top: 80px; border-top: 1px solid var(--line); }
.tracklist article { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.tracklist article:hover { padding-left: 18px; padding-right: 18px; background: rgba(255,255,255,.28); }
.tracklist span, .tracklist b { font-family: var(--serif); font-style: italic; color: var(--ginger); }
.tracklist h3 { margin: 0 0 3px; font-family: var(--serif); font-size: 1.45rem; }
.tracklist p { margin: 0; color: #7d5b4a; font-size: .9rem; }

.manifesto { min-height: 760px; position: relative; overflow: hidden; color: var(--cream); background: var(--brown); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; }
.manifesto::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 24% 50%, rgba(247,155,57,.24), transparent 30%), linear-gradient(115deg, transparent 45%, rgba(255,255,255,.04) 45.2%, transparent 45.4%); }
.vinyl { width: min(44vw, 590px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; background: repeating-radial-gradient(circle, #17100d 0 3px, #2b1913 4px 7px); box-shadow: -20px 35px 70px rgba(0,0,0,.35); animation: spin 18s linear infinite; }
.vinyl::after { content: ''; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--ginger); border: 12px solid #f0a02e; box-shadow: inset 0 0 0 3px var(--ink); }
.vinyl div { position: absolute; z-index: 2; font-family: var(--serif); font-style: italic; font-weight: 800; color: var(--paper); text-align: center; line-height: .8; font-size: 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.manifesto-copy { position: relative; z-index: 2; }
.section-index.light { border-color: rgba(255,255,255,.2); color: #dcbba8; }
.manifesto h2 em { color: #ffad36; }
.manifesto p { max-width: 510px; margin: 28px 0; font-size: 1.05rem; color: #e5cab9; line-height: 1.7; }
.text-link { padding: 0 0 8px; color: var(--cream); background: none; border: 0; border-bottom: 1px solid var(--cream); text-transform: uppercase; font-weight: 800; font-size: .78rem; letter-spacing: .12em; cursor: pointer; }

.contract-card { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; padding: clamp(35px, 6vw, 80px); border: 1px solid var(--line); border-radius: 32px; background: rgba(255,249,237,.6); box-shadow: 0 30px 80px rgba(80,36,16,.08); }
.micro { margin: 0 0 20px; font-size: .66rem; font-weight: 800; letter-spacing: .16em; color: var(--ginger); }
.ca-panel { padding: 24px; border-radius: 18px; background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
.ca-panel span { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.5vw, 2.2rem); }
.ca-panel button { border: 1px solid rgba(255,255,255,.28); color: #a98776; background: transparent; border-radius: 999px; padding: 11px 15px; font-size: .7rem; text-transform: uppercase; font-weight: 800; cursor: not-allowed; }
.ca-panel p { grid-column: 1 / -1; margin: 8px 0 0; color: #c6a795; font-size: .8rem; line-height: 1.5; }
.community { text-align: center; padding-top: 70px; padding-bottom: 130px; }
.centered { justify-content: center; }
.community > p:not(.eyebrow) { font-size: 1.05rem; color: #715143; margin: 24px auto 30px; }
.community-actions { justify-content: center; }
.button-dark { color: var(--cream); background: var(--ink); }
.button-outline { background: transparent; }

footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 30px; align-items: center; padding: 35px 4.5vw; color: #d9bda9; background: var(--ink); font-size: .7rem; line-height: 1.5; letter-spacing: .05em; }
footer p { margin: 0; text-align: center; }
footer > span { text-align: right; }
.footer-brand { color: var(--cream); }
.footer-brand .brand-mark { color: var(--ink); background: var(--cream); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { text-align: center; }
  .eyebrow, .hero-actions { justify-content: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .stage { min-height: 560px; margin-top: -15px; }
  .stage::before { width: min(82vw, 570px); }
  .hero-character { width: min(74vw, 520px); }
  .lore-grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { grid-template-columns: .8fr 1.2fr; gap: 5vw; }
  .contract-card { grid-template-columns: 1fr; align-items: stretch; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer > span { text-align: center; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; padding: 0 20px; }
  nav > a:not(.nav-pill) { display: none; }
  .brand { font-size: 1.08rem; }
  .brand-mark { width: 30px; }
  .hero { min-height: auto; padding: 45px 20px 34px; }
  h1 { font-size: clamp(3.45rem, 16.8vw, 4.2rem); line-height: .78; }
  .hero h2 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .ticker { margin: 22px 0 34px; }
  .button { width: 100%; }
  .stage { min-height: 470px; }
  .stage-label { display: none; }
  .hero-character { width: min(91vw, 450px); }
  .beat-status { right: 50%; transform: translateX(50%); white-space: nowrap; }
  .equalizer { left: 1%; }
  .section { padding: 78px 20px; }
  .section-index { margin-bottom: 34px; }
  .tracklist { margin-top: 55px; }
  .tracklist article { grid-template-columns: 36px 1fr auto; gap: 10px; }
  .tracklist p { display: none; }
  .manifesto { display: block; min-height: auto; padding-top: 65px; }
  .vinyl { width: 76vw; margin: 0 auto 70px; }
  .contract-card { padding: 26px 20px; border-radius: 22px; }
  .ca-panel { grid-template-columns: 1fr; text-align: center; padding: 22px 15px; }
  .ca-panel button { display: none; }
  .community { padding-bottom: 90px; }
}

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