:root {
  color-scheme: dark;
  --base: #10100f;
  --panel: #171613;
  --light: #f5f0e7;
  --muted: #c4bbac;
  --gold: #e5be76;
  --line: #3e3628;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--light); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure, h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }

.skip-link { position: absolute; top: 1rem; left: 1rem; z-index: 5; background: var(--gold); color: var(--base); padding: 0.65rem 1rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 0.85rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font: 700 1rem/1.1 var(--serif); letter-spacing: 0.095em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 50%; border: 1px solid var(--line); width: 50px; height: 50px; }
.brand small { display: block; margin-top: 0.32rem; color: var(--gold); font: 600 0.62rem/1 var(--sans); letter-spacing: 0.16em; }
nav { display: flex; flex-wrap: wrap; gap: 0.3rem clamp(1rem, 3vw, 2.75rem); }
nav a { padding-block: 0.55rem; color: var(--muted); font-size: 0.9rem; text-decoration: none; }
nav a:hover { color: var(--gold); }

.hero { display: grid; grid-template-columns: 0.94fr 1.06fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--gold); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.17em; text-transform: uppercase; }
.eyebrow span { padding-inline-end: 0.25rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { margin-block: 0.65rem 1rem; font-size: clamp(3.05rem, 5.9vw, 5.65rem); line-height: 0.99; letter-spacing: -0.055em; }
h1 em { display: block; color: var(--gold); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.037em; }
h3 { font-size: 1.45rem; line-height: 1.15; }
.hero-lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 46px; padding: 0.66rem 0.95rem; border: 1px solid transparent; font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.button span { font-size: 1rem; line-height: 1; }
.button-primary { background: var(--gold); color: #1b1409; }
.button-primary:hover { background: #f0d295; }
.button-outline { border-color: #7c6642; color: var(--light); }
.button-outline:hover { background: #2e2517; border-color: var(--gold); }
.hero-hint { margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem; }
.hero-figure, .house figure { border: 1px solid var(--line); background: var(--panel); }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.52; object-fit: cover; }
.hero-figure figcaption { display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem 0.8rem; color: var(--muted); font-size: 0.78rem; }
.hero-figure figcaption span:first-child { color: var(--gold); }
.hero-figure figcaption span:last-child { margin-inline-start: auto; white-space: nowrap; }

.section { padding-block: clamp(2.6rem, 5vw, 4.6rem); }
.section-head, .section-foot { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem 1.5rem; }
.section-head { margin-bottom: 1.35rem; }
.section-head .eyebrow, .house .eyebrow { margin-bottom: 0.48rem; }
.section-head > p, .section-foot > p { color: var(--muted); font-size: 0.9rem; }
#agenda { border-block-start: 1px solid var(--line); }
.schedule { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--line); }
.schedule li { display: grid; grid-template-columns: minmax(8.5rem, 0.8fr) 2fr 0.8fr auto; align-items: center; gap: 0.6rem 1.1rem; min-height: 77px; padding: 0.65rem 0.55rem; border-block-end: 1px solid var(--line); }
.day, .event-type { color: var(--muted); font-size: 0.88rem; }
.schedule time { color: var(--gold); font: 400 2rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.section-foot { align-items: center; margin-top: 1.25rem; }

.gallery { border-block-start: 1px solid var(--line); }
.gallery-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gallery-group h3 { margin-bottom: 0.7rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.gallery-grid figure, .reel { background: var(--panel); border: 1px solid var(--line); }
.gallery-image { display: block; position: relative; aspect-ratio: 8 / 5; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.reel-location img { object-position: 50% 24%; }
.gallery-image:hover img, .reel:hover img { opacity: 0.84; }
.gallery-grid figcaption, .reel-caption { display: block; padding: 0.7rem; font-size: 0.85rem; line-height: 1.4; }
.gallery-grid figcaption { color: var(--muted); }
.reel { text-decoration: none; }
.reel:hover strong { color: var(--gold); }
.reel-caption > span { display: block; margin-top: 0.22rem; color: var(--gold); font-size: 0.76rem; }
.play-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); color: var(--base); font-size: 0.94rem; padding-inline-start: 0.1rem; }

.results { background: var(--panel); border-block: 1px solid var(--line); }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.result { display: grid; grid-template-columns: minmax(0, 37%) 1fr; min-height: 180px; background: var(--base); border: 1px solid var(--line); }
.result img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 21%; }
.result-copy { align-self: center; padding: 0.85rem 1rem; }
.result time { display: block; margin-bottom: 0.45rem; color: var(--gold); font-size: 0.78rem; }
.result h3 { margin-bottom: 0.27rem; }
.result p, .ranking p, .house-copy > p:not(.eyebrow) { color: var(--muted); font-size: 0.94rem; }
.result .text-link { display: inline-block; margin-top: 0.55rem; }
.text-link { color: var(--gold); font-size: 0.86rem; font-weight: 650; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--light); }
.ranking { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem 1.4rem; padding: 1.2rem 0 0; margin-top: 1.2rem; border-block-start: 1px solid var(--line); }
.ranking h3 { margin-bottom: 0.25rem; }

.house { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(1.4rem, 5vw, 4.5rem); }
.house img { width: 100%; height: auto; }
.house-copy > p:not(.eyebrow) { margin-block: 0.9rem 1rem; }
.house address { margin-bottom: 1rem; }
.site-footer { border-block-start: 1px solid var(--line); }
.footer-inner { padding-block: 1rem; }
.footer-inner address, .age-note { color: var(--muted); font-size: 0.8rem; }
.footer-credit { padding-block: 0.8rem; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; }
.footer-credit a { text-underline-offset: 0.2em; }
.footer-credit a:hover { color: var(--gold); }

@media (max-width: 830px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr 0.85fr; gap: 1.25rem; }
  .result { grid-template-columns: minmax(0, 33%) 1fr; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { gap: 0.2rem 0.85rem; padding-block: 0.65rem; }
  .brand img { width: 41px; height: 41px; }
  .brand { font-size: 0.9rem; }
  nav { gap: 0.25rem 0.85rem; }
  nav a { font-size: 0.81rem; }
  .hero, .house, .results-grid, .gallery-groups { grid-template-columns: 1fr; }
  .hero { padding-block: 2.35rem 2rem; gap: 1.35rem; }
  h1 { font-size: clamp(3rem, 11vw, 4.75rem); }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .section-head { align-items: start; gap: 0.5rem; }
  .schedule li { grid-template-columns: 1fr auto; grid-template-areas: "day time" "title time" "type time"; min-height: 0; gap: 0.22rem 0.75rem; padding: 0.75rem 0; }
  .day { grid-area: day; }
  .schedule h3 { grid-area: title; }
  .event-type { grid-area: type; }
  .schedule time { grid-area: time; align-self: center; }
  .section-foot { align-items: start; }
  .house figure { order: 2; }
  .footer-inner { justify-content: start; }
  .footer-inner address { flex-basis: 100%; }
}
