@font-face {
  font-family: 'Barlow Condensed';
  src: url('./barlow-condensed-800.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --plum: #281334;
  --hero: #320b28;
  --gold: #f7be00;
  --cream: #fff7e9;
  --ink: #30112c;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'Avenir Next', 'Segoe UI', sans-serif; line-height: 1.45; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #934fb5; outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * clamp(20px, 5vw, 72px)), var(--max)); margin-inline: auto; }
.site-header { background: #331029; color: var(--cream); }
.header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark img { width: clamp(95px, 11vw, 144px); height: auto; }
nav, .footer div { display: flex; align-items: center; gap: clamp(12px, 3vw, 37px); }
nav a { font-weight: 600; white-space: nowrap; }
nav select { border: 1px solid #ffffff42; border-radius: 5px; background: #38112e; color: var(--cream); padding: 5px 6px; font: inherit; font-size: .82rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero); color: var(--cream); }
.hero::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset-block: 0;
  inset-inline-start: 0;
  width: 22px;
  background: conic-gradient(var(--gold) 25%, transparent 0 50%, var(--gold) 0 75%, transparent 0) 0 0 / 22px 22px;
}
.hero-photo { position: absolute; inset-block: 0; inset-inline-end: 0; width: 63%; height: 100%; object-fit: cover; object-position: 63% 54%; mask-image: linear-gradient(to right, transparent, #000 22%); }
.hero-inner { position: relative; padding: clamp(56px, 8vw, 124px) 0 clamp(60px, 8vw, 120px); }
h1, h2 { font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif; font-weight: 800; letter-spacing: -.017em; line-height: .96; margin: 0; }
h1 { max-width: 67%; font-size: clamp(52px, 7.5vw, 116px); text-transform: uppercase; }
h2 { font-size: clamp(46px, 6.15vw, 83px); }
.hero p, .raffle p { margin: .7rem 0 0; font-size: clamp(17px, 2.1vw, 28px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; margin-top: 1.35rem; padding: 10px 25px; border-radius: 8px; font-size: clamp(16px, 1.55vw, 23px); font-weight: 800; }
.button:hover { text-decoration: none; filter: brightness(.94); }
.yellow { background: var(--gold); color: var(--plum); }
.plum { background: #401130; color: var(--cream); }
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px, 1.4vw, 22px); padding-top: clamp(12px, 2vw, 24px); }
.lineup figure { min-width: 0; margin: 0; }
.lineup img { width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; object-position: center 54%; }
.lineup figcaption { margin-top: 3px; text-align: center; font-size: clamp(13px, 1.8vw, 24px); font-weight: 800; }
.raffle { display: grid; grid-template-columns: 1.38fr 1fr; gap: clamp(18px, 5vw, 80px); align-items: center; padding-block: clamp(32px, 6vw, 85px); }
.raffle .campaign-note { max-width: 32em; font-size: clamp(14px, 1.4vw, 18px); color: #62334d; }
.wheel-demo { display: grid; justify-items: center; }
.wheel-shell { width: min(82%, 304px); aspect-ratio: 1; position: relative; filter: drop-shadow(0 12px 13px #40202e22); }
.wheel-disc { position: absolute; inset: 0; overflow: hidden; border: 8px solid #e99c12; border-radius: 50%; transition: rotate 1.65s cubic-bezier(.18,.8,.19,1); background: repeating-conic-gradient(from 22.5deg, #601844 0deg 45deg, #ffc127 45deg 90deg, #fbdfab 90deg 135deg, #39102f 135deg 180deg); box-shadow: inset 0 0 0 3px #70281355, 0 0 0 2px #ffcf4b; }
.wheel-pin { position: absolute; inset-block-start: -7px; inset-inline-start: calc(50% - 15px); width: 30px; height: 29px; background: #ffce43; clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 3px 2px #30112c66); }
.wheel-hub { position: absolute; inset: 44%; border-radius: 50%; background: #fdbc27; box-shadow: inset 0 -4px 0 #cb831d, 0 3px 8px #30112c4d; }
.demo-button { margin-top: 17px; padding: 7px 15px; border: 1px solid #70305068; border-radius: 7px; background: transparent; color: inherit; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.demo-button:hover { background: #f4e2cb; }
.demo-button:disabled { cursor: progress; }
.wheel-demo .demo-note { margin: .35rem 0 0; min-height: 1.4em; font-size: .81rem; color: #58324b; text-align: center; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0 21px; border-top: 1px solid #e4d4c1; font-size: .9rem; }
.footer p { margin: 0; font-weight: 600; }
[dir="rtl"] .hero-photo { mask-image: linear-gradient(to left, transparent, #000 22%); }
[dir="rtl"] h1, [dir="rtl"] h2 { font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.16; }
@media (max-width: 770px) {
  .hero::before { width: 12px; background-size: 12px 12px; }
  h1 { max-width: 100%; }
  .hero-inner { padding: 41px 4px 26px; }
  .hero-photo { position: relative; width: 100%; height: clamp(230px, 65vw, 375px); display: block; object-position: 58% center; mask-image: none; }
  .hero { display: flex; flex-direction: column; }
  .hero-photo { order: 2; }
  .lineup img { aspect-ratio: 1.2; }
  .raffle { grid-template-columns: 1fr; }
  .wheel-shell { width: min(56%, 252px); }
}
@media (max-width: 350px) {
  nav { gap: 8px; font-size: .86rem; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wheel-disc { transition: none; }
}
