:root {
  color-scheme: dark;
  --black: #100b0a;
  --paper: #f5eee3;
  --orange: #ff6729;
  --gold: #ffbd53;
  --muted: #b8ada3;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--black); font-family: var(--body); }
body.intro-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
.eyebrow { color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.intro { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow: hidden; background: #110b09; isolation: isolate; transition: opacity .7s ease, visibility .7s ease; }
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro::before, .intro::after { position: absolute; z-index: -1; content: ""; width: min(72vw, 780px); aspect-ratio: 1; border: 1px solid rgba(255,189,83,.12); border-radius: 50%; }
.intro::after { width: min(92vw, 980px); border-color: rgba(255,255,255,.07); }
.intro__light { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(9,8,8,.92) 0%, rgba(9,8,8,.76) 48%, rgba(9,8,8,.34) 100%), linear-gradient(0deg, rgba(9,8,8,.62), transparent 65%), url("assets/basketball-hero.png") center 58% / cover no-repeat; transform: scale(1.025); }
.intro__content { position: relative; z-index: 2; width: min(470px, calc(100% - 38px)); padding: clamp(32px, 7vw, 50px) clamp(24px, 7vw, 50px); text-align: center; border: 1px solid rgba(255,255,255,.16); border-top: 2px solid var(--gold); background: linear-gradient(145deg, rgba(23,20,19,.82), rgba(12,10,9,.72)); box-shadow: 0 28px 90px rgba(0,0,0,.45); backdrop-filter: blur(12px); }
.intro__logo { display: block; width: min(190px, 58%); height: auto; margin: 0 auto 18px; filter: drop-shadow(0 0 16px rgba(255,69,178,.17)); }
.intro h1 { margin: 27px 0 12px; font: 900 clamp(4.5rem, 17vw, 8rem)/.76 var(--display); letter-spacing: -.03em; text-shadow: 0 8px 35px rgba(0,0,0,.35); }
.intro h1 em, em { color: var(--orange); font-style: normal; }
.intro p { margin: 28px 0; color: var(--muted); }
.intro small { display: block; margin-top: 22px; color: #83786d; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.intro__vertical { position: absolute; right: 28px; top: 50%; color: #85796e; font-size: .6rem; letter-spacing: .25em; writing-mode: vertical-rl; }
.basketball { position: absolute; z-index: 1; display: block; width: var(--ball-size, 58px); aspect-ratio: 1; background: url("assets/basketball-3d.png") center / contain no-repeat; filter: drop-shadow(0 12px 18px rgba(0,0,0,.4)); pointer-events: none; }
.basketball--one { --ball-size: 54px; top: 17%; left: 12%; animation: float-ball 6.5s ease-in-out infinite; }
.basketball--two { --ball-size: 40px; top: 22%; right: 16%; animation: float-ball 7.4s ease-in-out -2.1s infinite reverse; }
.basketball--three { --ball-size: 74px; right: 11%; bottom: 15%; animation: float-ball 8s ease-in-out -1s infinite; }
.ball-transition { position: fixed; z-index: 120; top: var(--ball-y, 50%); left: var(--ball-x, 50%); width: clamp(90px, 14vw, 132px); aspect-ratio: 1; background: url("assets/basketball-3d.png") center / contain no-repeat; filter: drop-shadow(0 0 34px rgba(255,105,38,.36)); opacity: 0; visibility: hidden; pointer-events: none; }
.ball-transition.is-active { visibility: visible; animation: basketball-wipe 1.35s cubic-bezier(.2,.62,.26,1) both; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 28px; padding: 0 22px; border: 0; font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button b { font-size: 1.2rem; }
.button--gold { color: #1c100a; background: var(--gold); box-shadow: 5px 5px 0 var(--orange); }
.button--outline { color: var(--paper); border: 1px solid rgba(245,238,227,.45); background: transparent; }
.music { position: fixed; z-index: 50; top: 18px; right: 18px; width: 48px; height: 48px; color: var(--black); border: 0; border-radius: 50%; background: var(--gold); cursor: pointer; }
.music span { font-size: 1.2rem; }
.music.is-playing span { display: inline-block; animation: beat .8s infinite alternate; }
.hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: center; overflow: hidden; background: #160d0a; }
.hero__art, .hero__grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__art { object-fit: cover; object-position: center; }
.hero__grain { background: linear-gradient(90deg, rgba(12,8,7,.94) 0%, rgba(12,8,7,.76) 34%, rgba(12,8,7,.08) 75%), linear-gradient(0deg, rgba(12,8,7,.68), transparent 35%); }
.hero__content { position: relative; z-index: 2; width: min(750px, 90%); padding: 100px clamp(24px, 8vw, 120px) 100px; }
.hero__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pill { padding: 8px 10px; color: var(--gold); border: 1px solid rgba(255,189,83,.45); font-size: .55rem; font-weight: 800; letter-spacing: .16em; }
.hero__date { display: flex; align-items: center; gap: 12px; margin: 48px 0 12px; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .2em; }
.hero__date i { width: 34px; height: 1px; background: var(--orange); }
.hero h1 { position: relative; width: max-content; max-width: 100%; margin: 0; font: 900 clamp(5rem, 15vw, 12rem)/.73 var(--display); letter-spacing: -.035em; }
.hero h1 small { position: absolute; right: -40px; top: 2px; font: 800 .17em var(--body); letter-spacing: .36em; writing-mode: vertical-rl; }
.hero h1 strong { display: block; color: var(--orange); font-size: 1.22em; text-shadow: 5px 5px 0 rgba(255,189,83,.15); }
.hero__tag { margin: 28px 0; color: #e4d6c7; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; line-height: 1.6; }
.hero__actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.text-link { color: var(--paper); font-size: .73rem; font-weight: 700; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.hero__side { position: absolute; z-index: 2; right: 30px; bottom: 45px; color: #b5a99e; font-size: .58rem; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero__side span { color: var(--orange); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; z-index: 2; display: flex; align-items: center; gap: 12px; color: #d0c2b4; font-size: .52rem; letter-spacing: .2em; text-decoration: none; transform: translateX(-50%); }
.scroll-cue span { width: 38px; height: 1px; background: var(--orange); }
.section { position: relative; padding: clamp(80px, 12vw, 160px) clamp(24px, 10vw, 150px); }
.manifesto { display: grid; grid-template-columns: .45fr 1.55fr; align-items: center; gap: 4vw; overflow: hidden; background: #f0e8dd; color: #1a110d; }
.manifesto::after { position: absolute; right: -4vw; bottom: -20vw; width: 38vw; aspect-ratio: 1; border: 1px solid rgba(202,75,34,.14); border-radius: 50%; box-shadow: 0 0 0 40px rgba(202,75,34,.04), 0 0 0 80px rgba(202,75,34,.03); content: ""; }
.manifesto__number { color: var(--orange); font: 900 clamp(9rem, 24vw, 22rem)/.8 var(--display); letter-spacing: -.06em; }
.manifesto__copy { position: relative; z-index: 1; max-width: 760px; }
.manifesto .eyebrow { color: #a33a20; }
.section h2 { margin: 18px 0 24px; font: 900 clamp(3.4rem, 8vw, 7rem)/.82 var(--display); letter-spacing: -.02em; }
.manifesto__copy > p:not(.eyebrow) { max-width: 650px; color: #57483e; font-size: .98rem; line-height: 1.9; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 35px; }
.chips span { padding: 9px 12px; border: 1px solid rgba(26,17,13,.25); font-size: .57rem; font-weight: 800; letter-spacing: .15em; }
.event { background: #17100d; }
.event__heading { margin-bottom: 55px; }
.event__heading h2 { margin-bottom: 0; }
.event__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #594538; border-bottom: 1px solid #594538; }
.detail { min-height: 330px; padding: 32px 40px 40px 0; }
.detail + .detail { padding-left: 40px; border-left: 1px solid #594538; }
.detail__index { color: #aa9c90; font-size: .6rem; font-weight: 800; letter-spacing: .2em; }
.detail__date { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.detail__date > b { color: var(--orange); font: 900 7rem/.8 var(--display); }
.detail__date div { display: grid; gap: 7px; }
.detail__date strong { font: 800 1.2rem var(--display); letter-spacing: .08em; }
.detail__date span { color: #b7a99d; font-size: .61rem; letter-spacing: .16em; }
.detail p { margin: 18px 0; color: #bcb0a4; font-size: .83rem; }
.detail p strong { color: var(--paper); }
.detail h3 { margin: 26px 0 0; color: var(--gold); font: 900 clamp(3rem, 7vw, 6rem)/.76 var(--display); }
.detail .button { margin-top: 7px; }
.rsvp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; background: var(--orange); color: #170d08; }
.rsvp .eyebrow { color: #492114; }
.rsvp__visual { position: relative; display: grid; min-height: 400px; place-items: center; overflow: hidden; border: 1px solid rgba(23,13,8,.32); }
.rsvp__visual::before { position: absolute; width: 80%; aspect-ratio: 1; border: 1px solid rgba(23,13,8,.35); border-radius: 50%; box-shadow: 0 0 0 25px rgba(23,13,8,.045), 0 0 0 50px rgba(23,13,8,.04); content: ""; }
.rsvp__overline { position: absolute; top: 22px; left: 22px; font-size: .57rem; font-weight: 800; letter-spacing: .17em; }
.ball { z-index: 1; font-size: clamp(8rem, 19vw, 15rem); filter: drop-shadow(12px 18px 0 rgba(23,13,8,.18)); transform: rotate(-16deg); }
.rsvp__stamp { position: absolute; right: 18px; bottom: 18px; color: var(--paper); font: 800 1rem/.95 var(--display); letter-spacing: .09em; text-align: right; }
.rsvp__copy { max-width: 620px; }
.rsvp .section h2 { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.rsvp__copy > p:not(.eyebrow) { color: #31160d; font-size: .9rem; }
.form { display: grid; gap: 10px; margin-top: 27px; }
.form > label, .form legend { margin-top: 8px; font-size: .6rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.form input[type="text"], .form input[type="number"] { width: 100%; min-height: 50px; padding: 0 14px; color: var(--paper); border: 1px solid rgba(23,13,8,.45); border-radius: 0; background: rgba(23,13,8,.88); outline: none; }
.form input:focus { border-color: var(--paper); }
.form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 8px 0; padding: 0; border: 0; }
.form legend { grid-column: 1/-1; margin-bottom: 8px; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; min-height: 46px; place-items: center; padding: 8px; border: 1px solid rgba(23,13,8,.45); font-size: .7rem; font-weight: 700; cursor: pointer; }
.choice input:checked + span { color: var(--paper); background: var(--black); }
.form__error { min-height: 18px; margin: 0; color: #4a1509; font-size: .75rem; font-weight: 700; }
.form .button { justify-self: start; color: var(--paper); background: var(--black); box-shadow: 5px 5px 0 rgba(255,189,83,.75); }
footer { display: grid; justify-items: center; gap: 12px; padding: 55px 20px; text-align: center; background: #0a0706; }
footer strong { font: 900 3rem var(--display); letter-spacing: .02em; }
footer strong em { color: var(--orange); font-style: normal; }
footer > span:last-child { color: #8e8177; font-size: .55rem; letter-spacing: .22em; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes beat { to { transform: scale(1.2) rotate(8deg); } }
@keyframes float-ball {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
  50% { transform: translate3d(10px, -22px, 0) rotate(28deg); }
}
@keyframes basketball-wipe {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(.28) rotate(-35deg); }
  66% { opacity: 1; transform: translate(-50%, -50%) scale(42) rotate(515deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(44) rotate(560deg); }
}
@media (max-width: 760px) {
  .intro__vertical { right: 12px; font-size: .5rem; }
  .hero { min-height: 850px; min-height: 100svh; align-items: end; }
  .hero__art { object-position: 61% center; }
  .hero__grain { background: linear-gradient(0deg, rgba(12,8,7,.97), rgba(12,8,7,.58) 45%, rgba(12,8,7,.08)); }
  .hero__content { width: 100%; padding: 120px 25px 95px; }
  .hero__date { margin-top: 38px; }
  .hero h1 { font-size: clamp(5rem, 22vw, 9rem); }
  .hero__side { display: none; }
  .scroll-cue { left: 25px; transform: none; }
  .manifesto { grid-template-columns: 1fr; gap: 18px; }
  .manifesto__number { font-size: 8rem; }
  .section { padding: 80px 24px; }
  .event__grid { grid-template-columns: 1fr; }
  .detail { min-height: auto; padding: 25px 0 34px; }
  .detail + .detail { padding: 25px 0 34px; border-top: 1px solid #594538; border-left: 0; }
  .rsvp { grid-template-columns: 1fr; gap: 45px; }
  .rsvp__visual { min-height: 300px; }
}
@media (max-width: 420px) {
  .intro__content { padding: 36px 22px; }
  .intro h1 { font-size: clamp(4.25rem, 18vw, 5.5rem); }
  .intro__vertical { right: 7px; font-size: .42rem; }
  .basketball--one { --ball-size: 42px; top: 11%; left: 6%; }
  .basketball--two { --ball-size: 34px; top: 13%; right: 9%; }
  .basketball--three { --ball-size: 55px; right: 6%; bottom: 8%; }
  .hero__top { align-items: start; flex-direction: column; gap: 10px; }
  .hero__date { font-size: .57rem; letter-spacing: .13em; }
  .hero__actions { gap: 20px; }
  .form fieldset { grid-template-columns: 1fr; }
  .rsvp__visual { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
