@font-face {
  font-family: "TT Norms Pro";
  src: url("./assets/brand-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Norms Pro";
  src: url("./assets/brand-extrabold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #321016;
  --deep: #23070e;
  --wine: #730f2a;
  --ivory: #fbf5e9;
  --paper: #fffaf0;
  --gold: #ffd68e;
  --cream: #fff5ea;
  --muted: #67464a;
  --line: #dac4b4;
  --gutter: clamp(1.125rem, 5vw, 4.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 1rem/1.52 "TT Norms Pro", Arial, sans-serif; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible, input:focus-visible + span { outline: 3px solid #bc4662; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; transform: translateY(-180%); background: var(--paper); color: var(--wine); padding: .65rem 1rem; }
.skip:focus { transform: none; }

.top { background: #21070e; color: var(--cream); border-bottom: 1px solid #70434b; }
.top-inner { position: relative; height: 4.35rem; display: flex; align-items: center; justify-content: flex-end; gap: clamp(1.1rem, 4vw, 3.75rem); }
.brand { position: absolute; z-index: 2; top: 0; left: 0; width: 6.45rem; }
.brand img, .footer-brand img { width: 100%; height: auto; }
.top nav { display: flex; align-items: center; gap: clamp(1.15rem, 3.15vw, 3.125rem); }
.top nav a, .top-shops { text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.top nav a:hover, .top-shops:hover { color: var(--gold); }
.top-shops { border: 1px solid #9a6d6c; border-radius: 100px; padding: .57rem 1.15rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--cream); }
.hero-art { position: absolute; z-index: -1; top: 0; bottom: 0; left: 30%; right: 0; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #23070e 0%, rgba(35, 7, 14, .48) 19%, transparent 42%), linear-gradient(0deg, var(--deep), transparent 25%);
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 66% 48%; }
.hero-inner { display: flex; align-items: center; min-height: clamp(34rem, 43vw, 43rem); padding-block: 4.2rem 3.1rem; }
.hero-copy { position: relative; width: min(58%, 42rem); }
.eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--gold); margin-bottom: 1.2rem; font-size: .875rem; }
.hero .eyebrow span { font-size: 1.1rem; line-height: 1; }
h1 { font-size: clamp(4rem, 7.45vw, 7.9rem); letter-spacing: -.074em; line-height: .91; font-weight: 800; }
h1 span { display: block; color: var(--gold); white-space: nowrap; }
.hero-spec { color: #f4d0c5; font-size: clamp(.875rem, 1.3vw, 1.0625rem); margin-top: 1.3rem; }
.hero-spec span { margin-inline: .24em; }
.hero-lede { max-width: 25rem; margin: 1.5rem 0 1.7rem; font-size: clamp(1.125rem, 1.6vw, 1.38rem); line-height: 1.4; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .75rem 1.6rem; border: 1px solid transparent; border-radius: 100px; font-weight: 800; font-size: 1rem; text-decoration: none; text-align: center; transition: color .2s, background-color .2s, border-color .2s; }
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: #ffe8b9; }
.button-wine { background: var(--wine); color: #fff7ee; }
.button-wine:hover { background: #4d091a; }
.button-outline { border-color: #917377; }
.button-outline:hover { background: var(--ink); color: #fff9ee; }

.date-strip { background: rgba(40, 8, 17, .9); border-top: 1px solid #784c4b; }
.date-grid { display: grid; grid-template-columns: 1fr 1fr; }
.date-cell { padding-block: 1.17rem 1.28rem; }
.date-cell + .date-cell { border-left: 1px solid #784c4b; padding-left: clamp(1.05rem, 5vw, 4.35rem); }
.date-cell span { display: block; color: #f2c5bb; font-size: .9375rem; }
.date-cell strong { display: block; color: var(--gold); font-size: clamp(1.2rem, 2.4vw, 2rem); letter-spacing: -.035em; line-height: 1.18; margin-top: .3rem; }

.section { padding-block: clamp(3.2rem, 7.4vw, 6.6rem); scroll-margin-top: 1rem; }
.section h2, .rules h1 { font-size: clamp(2.65rem, 6vw, 5.35rem); letter-spacing: -.052em; word-spacing: .04em; line-height: .99; }
.intro p { max-width: 36rem; font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: .9rem; }
.ticket {
  --notch: .64rem;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: #f1e2cd;
  margin-top: 2rem;
  mask: radial-gradient(circle at left, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
        radial-gradient(circle at right, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}
.ticket-body, .ticket-amount { padding: clamp(1.25rem, 3.6vw, 3rem) clamp(1.25rem, 4.5vw, 4rem); }
.region { padding: 0; margin: 0; min-inline-size: 0; border: none; }
.region legend { font-size: 1.1rem; padding: 0; font-weight: 800; margin-bottom: .8rem; }
.choices { display: inline-flex; flex-wrap: wrap; gap: .33rem; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span { display: flex; align-items: center; min-height: 2.75rem; border-radius: 5rem; background: #fbf1e1; padding: .45rem 1rem; color: var(--ink); border: 1px solid #a78376; font-size: .875rem; font-weight: 800; }
.choices label:hover span { border-color: var(--wine); }
.choices input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--paper); }
.area { color: var(--muted); margin-top: .8rem; font-size: .9375rem; }
.ticket-amount { border-left: 1px dashed #ad8b7c; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ticket-amount span { color: var(--muted); font-size: .9375rem; }
.ticket-amount strong { color: var(--wine); font-size: clamp(2.55rem, 5.8vw, 5rem); letter-spacing: -.065em; line-height: 1; white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3.6vw, 3.5rem); list-style: none; padding: 0; margin: 2.5rem 0 2rem; }
.steps li { border-top: 1px solid var(--line); padding-top: .95rem; display: flex; gap: .95rem; align-items: flex-start; }
.step-number { display: grid; place-items: center; flex: 0 0 2.25rem; height: 2.25rem; border-radius: 50%; background: #efdcc6; color: var(--wine); font-size: 1rem; font-weight: 800; }
.steps h3 { margin-top: .26rem; font-size: clamp(1.07rem, 1.65vw, 1.4rem); letter-spacing: -.04em; line-height: 1.14; }
.steps p { margin-top: .55rem; color: var(--muted); }

.prizes { background: #f6ecdc; border-block: 1px solid var(--line); }
.prize-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(.8rem, 2vw, 1.6rem); margin-top: 2rem; }
.prize { isolation: isolate; display: flex; align-items: flex-end; position: relative; overflow: hidden; min-height: clamp(20rem, 30vw, 30rem); border-radius: .4rem; }
.prize img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prize::before { content: ""; position: absolute; z-index: -1; inset: 0; }
.guaranteed { background: #e1a065; }
.guaranteed img { object-position: 59% 46%; }
.guaranteed::before { background: linear-gradient(0deg, #fbd6aa 0%, #fbd6aaed 22%, transparent 59%); }
.grand { background: #440b1b; color: var(--cream); }
.grand img { object-position: 63% 35%; }
.grand::before { background: linear-gradient(0deg, #380917 0%, #380917ed 22%, transparent 65%); }
.prize-copy { padding: clamp(1.25rem, 3vw, 2.6rem); }
.prize .eyebrow { margin-bottom: .38rem; color: #622033; }
.grand .eyebrow { color: var(--gold); }
.prize h3 { font-size: clamp(2.15rem, 4.25vw, 4.6rem); letter-spacing: -.07em; line-height: .98; }
.prize h3 span { font-variant-numeric: lining-nums tabular-nums; }
.prize-copy > p:last-child { margin-top: .75rem; max-width: 23rem; line-height: 1.42; }
.results { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.7rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.results p { color: var(--muted); }
.results strong { color: var(--ink); font-size: 1.15rem; }

.faq-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(2rem, 5vw, 5rem); }
.faq-intro { max-width: 27rem; }
.text-link { display: inline-block; color: var(--wine); font-weight: 800; margin-top: 1.1rem; }
.text-link:hover { color: var(--ink); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; gap: .65rem; align-items: center; padding: 1.05rem 0; font-weight: 800; font-size: 1.1rem; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: 0 0 1.6rem; height: 1.6rem; border-radius: 100%; background: linear-gradient(var(--wine),var(--wine)) center / 10px 2px no-repeat, linear-gradient(var(--wine),var(--wine)) center / 2px 10px no-repeat, #f0e1cf; }
.accordion details[open] summary::after { background-size: 10px 2px, 0 0, auto; }
.accordion details p { padding: 0 2.4rem 1rem 0; color: var(--muted); }

.footer { padding-block: 1.7rem; background: var(--deep); color: #ffeddf; }
.footer-grid { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; column-gap: 1.2rem; }
.footer-brand { width: 4rem; }
.footer p, .footer-links { font-size: .875rem; }
.footer-muted { color: #edc3bb; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer a:hover { color: var(--gold); }

.rules { padding-block: 4.5rem; }
.rules .wrap { max-width: 55rem; }
.rules h1 { margin-block: 1.3rem; }
.rules h2 { margin-block: 2rem .8rem; font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.12; letter-spacing: -.04em; }
.rules p + p { margin-top: .65rem; }
.rules li + li { margin-top: .5rem; }
.rules a { color: var(--wine); }
.rules .back-link { font-weight: 800; }

@media (max-width: 1020px) {
  .hero-copy { width: min(64%, 32rem); }
  h1 { font-size: clamp(3.7rem, 7.8vw, 5.45rem); }
  .hero-art { left: 19%; }
  .footer-grid { grid-template-columns: 4rem 1fr; row-gap: .8rem; }
  .footer-links { grid-column: 2; }
}

@media (max-width: 700px) {
  .brand { width: 4.5rem; }
  .top-inner { height: 3.5rem; gap: .85rem; }
  .top nav { display: none; }
  .top-shops { padding: .41rem .87rem; }
  .hero-art { left: 0; top: auto; bottom: 0; width: 100%; height: min(105vw, 29rem); }
  .hero-art::after { background: linear-gradient(180deg, var(--deep), #23070e22 25%, transparent 46%), linear-gradient(0deg, var(--deep), transparent 25%); }
  .hero-art img { object-position: 62% center; }
  .hero-inner { min-height: auto; padding-top: 2.25rem; padding-bottom: min(64vw, 16.5rem); }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(2.85rem, 10.6vw, 4.6rem); }
  .hero .eyebrow { margin-bottom: .7rem; font-size: .78rem; }
  .hero-spec { margin-top: .6rem; }
  .hero-lede { margin: .75rem 0 .9rem; max-width: 23rem; font-size: 1.05rem; }
  .button-gold { min-height: 2.85rem; padding: .55rem 1.15rem; }
  .date-strip { background: rgba(40, 8, 17, .95); }
  .date-cell { padding-block: .75rem .9rem; padding-right: .35rem; }
  .date-cell + .date-cell { padding-left: .75rem; padding-right: 0; }
  .date-cell span { font-size: .875rem; line-height: 1.2; min-height: 2.4em; }
  .date-cell strong { font-size: clamp(1rem, 4.3vw, 1.65rem); }
  .ticket { grid-template-columns: 1fr; margin-top: 1.45rem; }
  .ticket-body, .ticket-amount { padding: 1rem 1.2rem; }
  .ticket-amount { border-top: 1px dashed #ad8b7c; border-left: none; }
  .choices span { padding-inline: .8rem; }
  .steps { grid-template-columns: 1fr; gap: .8rem; margin: 1.55rem 0 1.55rem; }
  .steps li { padding-top: .8rem; }
  .steps p { margin-top: .32rem; }
  .prize-grid, .faq-grid { grid-template-columns: 1fr; }
  .prize-grid { margin-top: 1.4rem; }
  .prize { min-height: min(78vw, 23rem); }
  .prize img { object-position: 56% 44%; }
  .prize h3 { font-size: clamp(1.9rem, 9vw, 3.8rem); }
  .results { align-items: flex-start; flex-direction: column; }
  .faq-grid { gap: 1.35rem; }
  .faq-intro { max-width: none; }
  .footer-grid { column-gap: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.rules-edition { color: var(--muted); }
.rules-toc {
  margin-block: 1.6rem 2.2rem;
  padding: 1rem clamp(1rem, 3vw, 1.6rem);
  background: #f1e2cd;
  border-radius: .25rem;
}
.rules-toc ol { margin: 0; padding-inline-start: 1.45rem; }
.rules section { scroll-margin-top: 1.5rem; }
.rules a, .accordion a { overflow-wrap: anywhere; }
