:root {
  --cocoa: #35150d;
  --dark: #210b07;
  --cream: #f3e7cd;
  --paper: #fff8e9;
  --coral: #f1604c;
  --yellow: #f3c954;
  --blue: #92cbd0;
  --green: #91a975;
  --ink: #28130c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { height: 84px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; color: var(--cream); background: var(--dark); position: absolute; z-index: 5; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: -.03em; }
.brand-ball { width: 25px; height: 25px; display: inline-block; border-radius: 50%; background: #8b4b31; position: relative; overflow: hidden; transform: rotate(-9deg); box-shadow: inset -4px -4px 6px rgba(30,8,3,.35); }
.brand-ball i { width: 3px; height: 9px; border-radius: 3px; position: absolute; background: var(--yellow); }
.brand-ball i:nth-child(1) { left: 6px; top: 3px; background: #4c2115; transform: rotate(38deg); }
.brand-ball i:nth-child(2) { left: 15px; top: 8px; background: #713622; transform: rotate(-26deg); }
.brand-ball i:nth-child(3) { left: 8px; top: 15px; background: #9a5a3b; transform: rotate(70deg); }
nav { display: flex; gap: 36px; font-size: 13px; }
nav a { text-decoration: none; opacity: .72; transition: opacity .2s; }
nav a:hover { opacity: 1; }
.nav-cta { font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding: 8px 0; }
.nav-cta span { color: var(--coral); margin-left: 8px; }

.hero { min-height: 780px; height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--cream); background: #210a05; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(24,7,3,.94) 0%, rgba(28,8,3,.62) 40%, rgba(27,7,3,.08) 72%), linear-gradient(0deg, rgba(22,6,2,.62), transparent 35%); }
.hero-copy { position: relative; z-index: 1; width: min(650px, 48vw); margin-left: clamp(24px, 9vw, 138px); padding-top: 70px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: 11px; margin: 0 0 24px; display: flex; align-items: center; gap: 12px; }
.eyebrow > span { width: 25px; height: 1px; background: var(--coral); }
.eyebrow.cocoa { color: #8c4c39; }
.eyebrow.cream { color: #dec9a4; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.055em; line-height: .88; margin: 0; }
h1 { font-size: clamp(74px, 9.2vw, 146px); }
h1 em, h2 em { color: var(--coral); font-weight: 700; }
.intro { font-family: "Playfair Display", Georgia, serif; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.55; max-width: 560px; margin: 35px 0 38px; color: rgba(255,248,233,.8); }
.button { border: 0; border-radius: 100px; padding: 16px 22px; display: inline-flex; gap: 26px; align-items: center; font: 700 12px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--cream); color: var(--dark); }
.button-light span, .button-coral span { font-size: 18px; }
.hero-note { position: absolute; right: clamp(25px, 5vw, 75px); bottom: 50px; z-index: 1; text-align: right; font-size: 10px; line-height: 1.55; text-transform: uppercase; letter-spacing: .11em; opacity: .65; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 1; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; opacity: .55; writing-mode: vertical-rl; display: flex; align-items: center; gap: 8px; }

main { overflow-x: clip; }
.marquee { overflow: hidden; padding: 20px 0; background: var(--coral); color: var(--cream); transform: rotate(-1.3deg) scale(1.02); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; gap: 30px; align-items: center; animation: ticker 70s linear infinite; font: italic 700 25px "Playfair Display", Georgia, serif; }
.marquee b { color: var(--yellow); font-size: 15px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }

.section { position: relative; padding: 140px clamp(24px, 9vw, 138px); }
.section-number { position: absolute; right: clamp(24px, 5vw, 76px); top: 70px; font: italic 700 15px "Playfair Display", serif; color: var(--coral); border-top: 1px solid currentColor; padding-top: 7px; }
.ode { background: var(--paper); }
.ode-heading h2, .manifest h2 { font-size: clamp(51px, 6.8vw, 105px); }
.ode-heading { margin-bottom: 75px; }
.ode-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11vw; align-items: center; }
.ode-copy { max-width: 510px; }
.ode-copy p { font-family: "Playfair Display", Georgia, serif; color: #684035; font-size: 17px; line-height: 1.8; }
.dropcap:first-letter { float: left; color: var(--coral); font: 800 73px/.75 "Playfair Display", serif; padding: 10px 10px 0 0; }
blockquote { margin: 48px 0 0; padding: 25px 0 0 27px; border-left: 2px solid var(--coral); font: italic 700 25px/1.35 "Playfair Display", Georgia, serif; }
.crumb-card { min-height: 460px; margin: 0; background: #e8b856; position: relative; display: grid; place-items: center; overflow: hidden; }
.crumb-card::before, .crumb-card::after { content: ""; position: absolute; border: 2px solid rgba(55,20,10,.12); border-radius: 50%; width: 420px; height: 420px; }
.crumb-card::after { width: 330px; height: 330px; }
.mini-ball, .anatomy-ball, .fortune-ball { border-radius: 50%; background: radial-gradient(ellipse at 32% 25%, #a46443 0 3%, transparent 3.8%), radial-gradient(ellipse at 62% 23%, #4c2115 0 3%, transparent 3.8%), radial-gradient(ellipse at 72% 54%, #8a4d33 0 3.5%, transparent 4.2%), radial-gradient(ellipse at 28% 68%, #512519 0 3%, transparent 3.8%), radial-gradient(ellipse at 52% 76%, #aa6b49 0 3%, transparent 3.8%), radial-gradient(circle at 45% 43%, #673421, #2d130c 70%); box-shadow: inset -25px -30px 50px rgba(15,4,1,.42), 0 28px 50px rgba(71,29,10,.28); }
.mini-ball { width: 235px; aspect-ratio: 1; z-index: 1; animation: float 7s ease-in-out infinite; }
.mini-ball, .anatomy-ball, .fortune-ball { cursor: pointer; }
.krymmel { position: fixed; z-index: 50; width: 4px; height: 12px; border-radius: 3px; pointer-events: none; }
.crumb-card figcaption { position: absolute; inset: auto 25px 22px; display: grid; grid-template-columns: auto 1fr; color: #55291d; border-top: 1px solid rgba(55,20,10,.28); padding-top: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.crumb-card figcaption span { grid-row: 1/3; margin-right: 22px; }
.crumb-card figcaption strong { font-size: 11px; }
.crumb-card figcaption small { margin-top: 3px; opacity: .65; }

.anatomy { background: var(--cocoa); color: var(--cream); overflow: hidden; }
.anatomy-intro h2 { font-size: clamp(58px, 7.4vw, 112px); }
.anatomy-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: center; margin-top: 80px; }
.anatomy-ball { width: min(36vw, 490px); aspect-ratio: 1; position: relative; justify-self: center; animation: float 9s ease-in-out infinite reverse; background: radial-gradient(ellipse at 26% 22%, #a86543 0 2%, transparent 2.7%), radial-gradient(ellipse at 66% 18%, #542619 0 2.2%, transparent 2.9%), radial-gradient(ellipse at 72% 58%, #925237 0 2%, transparent 2.7%), radial-gradient(ellipse at 25% 67%, #622d1d 0 2.5%, transparent 3.2%), radial-gradient(circle at 48% 45%, #7b412c, #35150d 72%); box-shadow: inset -55px -50px 80px rgba(10,2,0,.6), 0 55px 80px rgba(8,2,0,.35); }
.anatomy-ball::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background-image: repeating-linear-gradient(55deg, transparent 0 16px, rgba(177,105,70,.8) 17px 20px, transparent 21px 35px); opacity: .24; }
.ingredients { margin: 0; padding: 0; list-style: none; }
.ingredients li { display: flex; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.ingredients li > span { color: var(--coral); font: italic 700 15px "Playfair Display", serif; }
.ingredients div { display: flex; flex-direction: column; gap: 4px; }
.ingredients strong { font: 700 25px "Playfair Display", serif; }
.ingredients small { color: rgba(255,248,233,.53); font-size: 12px; }

.history { background: var(--cream); }
.history h2 { font-size: clamp(51px, 6.8vw, 105px); }
.history-lead { font: italic 700 clamp(19px, 1.7vw, 25px)/1.4 "Playfair Display", Georgia, serif; color: #684035; max-width: 560px; margin: 35px 0 0; }
.timeline { margin: 65px 0 0; padding: 0; list-style: none; max-width: 850px; border-top: 1px solid #d9c9ad; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid #d9c9ad; align-items: baseline; }
.timeline li > span { color: var(--coral); font: italic 700 15px "Playfair Display", serif; }
.timeline strong { display: block; font: 700 clamp(22px, 2.2vw, 30px) "Playfair Display", Georgia, serif; margin-bottom: 8px; }
.timeline small { font-size: 15px; line-height: 1.6; color: #684035; }

.manifest { background: var(--paper); }
.manifest-inner { max-width: 1100px; }
.rules { margin-top: 75px; border-top: 1px solid #d9c9ad; }
.rules article { display: grid; grid-template-columns: 90px 1fr; padding: 28px 0; border-bottom: 1px solid #d9c9ad; align-items: baseline; }
.rules b { color: var(--coral); font: italic 700 19px "Playfair Display", serif; }
.rules p { margin: 0; font: 700 clamp(22px, 2.7vw, 39px)/1.25 "Playfair Display", Georgia, serif; max-width: 850px; }

.fortune { background: var(--paper); padding-top: 100px; padding-bottom: 100px; }
.fortune-card { background: #426d68; min-height: 440px; color: #fffdf6; padding: clamp(35px, 6vw, 85px); display: flex; justify-content: space-between; align-items: center; overflow: hidden; transition: background-color .4s ease; }
.fortune-card[data-palette="1"] { background: #a64f3c; }
.fortune-card[data-palette="2"] { background: #b9872f; }
.fortune-card[data-palette="3"] { background: #70435f; }
.fortune-card[data-palette="4"] { background: #607044; }
.fortune-card[data-palette="5"] { background: #c7664f; }
.fortune-card > div:first-child { position: relative; z-index: 1; }
.fortune .eyebrow.cream { color: #fff; }
.fortune-quote { font: italic 700 clamp(34px, 4.6vw, 70px)/1.05 "Playfair Display", serif; max-width: 790px; margin: 0 0 40px; }
.button-coral { background: var(--coral); color: var(--cream); }
.fortune-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-button { min-height: 50px; padding: 0 17px; background: transparent; font-family: inherit; cursor: pointer; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; color: #fff; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; transition: background .2s, transform .2s; }
.share-button[hidden] { display: none; }
.share-button:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.share-button span { font-size: 17px; line-height: 1; text-transform: none; }
.share-facebook span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #426d68; font: 700 14px/1 Arial, sans-serif; }
.fortune-ball { flex: 0 0 290px; aspect-ratio: 1; transform: translate(20%, 10%); display: grid; place-items: center; }
.fortune-ball span { font: italic 700 105px "Playfair Display", serif; color: var(--cream); text-shadow: 2px 3px 0 var(--coral); }

footer { min-height: 280px; background: var(--dark); color: var(--cream); padding: 70px clamp(24px, 9vw, 138px); display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.footer-brand { font-size: 23px; align-self: start; }
footer p { font-family: "Playfair Display", serif; font-style: italic; font-size: 19px; justify-self: end; }
footer .counter { grid-column: 1/-1; justify-self: start; margin: 0; font: 11px "DM Sans", sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
footer .counter b { color: var(--yellow); font-variant-numeric: tabular-nums; }
footer .fineprint { grid-column: 1/-1; width: 100%; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font: 9px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; opacity: .45; justify-self: stretch; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .site-header { height: 70px; }
  nav, .nav-cta { display: none; }
  .hero { min-height: 740px; height: 100svh; align-items: flex-end; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(25,7,3,.98) 8%, rgba(25,7,3,.62) 60%, rgba(25,7,3,.2)); }
  .hero-copy { width: auto; margin: 0; padding: 0 24px 72px; }
  h1 { font-size: clamp(66px, 21vw, 95px); }
  .intro { font-size: 17px; margin: 24px 0 28px; max-width: 460px; }
  .hero-note, .scroll-cue { display: none; }
  .section { padding: 100px 24px; }
  .section-number { top: 35px; }
  .ode-grid, .anatomy-stage { grid-template-columns: 1fr; gap: 60px; }
  .ode-heading { margin-bottom: 45px; }
  .ode-copy { max-width: none; }
  .crumb-card { min-height: 390px; }
  .anatomy-stage { margin-top: 60px; }
  .anatomy-ball { width: min(80vw, 390px); }
  .rules article { grid-template-columns: 45px 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .fortune { padding-top: 60px; padding-bottom: 60px; }
  .fortune-card { min-height: 520px; align-items: flex-start; position: relative; }
  .fortune-ball { position: absolute; width: 230px; right: -40px; bottom: -75px; opacity: .85; }
  .fortune-actions { max-width: 280px; }
  footer { grid-template-columns: 1fr; gap: 30px; }
  footer p { justify-self: start; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .mini-ball, .anatomy-ball { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
