:root {
  --bg: #f7f4ee;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-strong: #fdfbf7;
  --text: #17202a;
  --muted: #65717c;
  --line: rgba(23, 32, 42, 0.12);
  --gold: #a67c36;
  --sand: #d8bf89;
  --sea: #496474;
  --coral: #c77a5c;
  --shadow: 0 18px 45px rgba(28, 37, 47, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(247, 244, 238, 0.95)),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.hero,
main,
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.1rem 0 4rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: block;
  width: 3.35rem;
  height: 3.35rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: #f2eee7;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.brand-copy strong {
  color: var(--text);
  font-size: 0.9rem;
}

.nav-links {
  display: inline-flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding-top: 2.5rem;
  align-items: start;
  animation: rise-in 800ms ease-out both;
}

.hero-copy h1,
.section-heading h2,
.cta-section h2,
.footer h2,
.story-card h3,
.timeline h3,
.highlight-list h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(4rem, 8vw, 7.2rem);
  max-width: 10ch;
}

.eyebrow,
.meta-label,
.card-kicker,
.timeline-day,
.info-tile span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

.eyebrow,
.card-kicker,
.timeline-day,
.info-tile span {
  color: var(--gold);
}

.cover-date {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.subhead,
.story-card p,
.timeline p,
.footer p,
.highlight-list p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.hero-meta div,
.hero-card,
.story-card,
.timeline article,
.info-tile,
.cta-section {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-meta div {
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
}

.meta-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--sea);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.theme-preview-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin: -0.35rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  font-weight: 800;
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary,
.button-ghost,
.button-schedule {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.button-schedule {
  border-color: var(--line);
  color: var(--text);
}

.media-heatlist-button {
  justify-self: start;
}

.poster-spotlight {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) 1.2fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2.2rem;
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  animation: rise-in 700ms ease-out both;
}

.poster-spotlight img {
  display: block;
  width: 100%;
  max-height: 38rem;
  object-fit: contain;
  border-radius: 1.5rem;
  background: #f2eee7;
  border: 1px solid var(--line);
}

.poster-spotlight-copy {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.cover-slogan-art {
  display: block;
  width: min(100%, 38rem);
  height: auto;
  margin: 0;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.poster-spotlight-copy p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 2rem;
  background: #fff;
}

.poster-frame {
  margin: 0 0 1.35rem;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f2eee7;
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-card::after {
  content: none;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.5rem;
}

.countdown div {
  padding: 1rem 0.6rem;
  border-radius: 1.25rem;
  text-align: center;
  background: #f6f2eb;
  border: 1px solid var(--line);
}

.countdown span {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.countdown small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.highlight-list {
  display: grid;
  gap: 1rem;
}

.highlight-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.highlight-list article:first-child {
  border-top: 0;
}

.highlight-list span {
  color: var(--gold);
  font-weight: 800;
}

.theme-modal[hidden] {
  display: none;
}

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.theme-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 42, 0.68);
}

.theme-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 1.25rem;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 28px 70px rgba(23, 32, 42, 0.24);
}

.theme-modal-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.theme-modal-dialog h2 {
  margin-bottom: 1rem;
}

.theme-modal-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
}

.highlight-list h2 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.stats-band,
.story-section,
.media-section,
.adjudicators-section,
.vendors-section,
.venue-section,
.weekend-section,
.info-section,
.footer {
  padding: 1.5rem 0 4.5rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-band div {
  padding: 1.3rem;
  border-top: 1px solid var(--line);
}

.stats-band strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.3rem;
  color: var(--sand);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.venue-address {
  font-weight: 800;
  color: var(--text);
}

.section-heading h2,
.cta-section h2,
.footer h2 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.story-card {
  padding: 1.5rem;
  border-radius: 1.8rem;
  background: var(--panel);
  animation: fade-up 900ms ease both;
}

.story-card-wide {
  min-height: 18rem;
  background: #fff;
}

.accent-card {
  background: var(--panel-strong);
}

.weekend-section {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline article {
  padding: 1.5rem;
  border-radius: 1.8rem;
  background: #fff;
  animation: fade-up 900ms ease both;
}

.timeline h3,
.story-card h3 {
  font-size: 2rem;
  margin: 0.55rem 0 0.7rem;
}

.centerpiece-video {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  background: #fff;
}

.centerpiece-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 0.4rem;
}

.centerpiece-copy h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.centerpiece-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 34rem;
}

.centerpiece-player-shell {
  position: relative;
  padding: 0.6rem;
  border-radius: 1.8rem;
  background: #f6f2eb;
  border: 1px solid var(--line);
}

.centerpiece-player-shell::before {
  content: none;
}

.centerpiece-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.35rem;
  background: #02070b;
}

.adjudicators-card {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.adjudicators-card img {
  display: block;
  width: 100%;
  border-radius: 1.35rem;
  background: #f2eee7;
}

.vendors-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
}

.vendor-card {
  display: grid;
  align-content: start;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.vendor-card img {
  display: block;
  width: 100%;
  background: #f6f2eb;
}

.vendor-card-tall img {
  height: 100%;
  max-height: 42rem;
  object-fit: cover;
}

.vendor-card:not(.vendor-card-tall) img {
  aspect-ratio: 4 / 4;
  object-fit: cover;
}

.vendor-card div {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem 1.25rem 1.35rem;
}

.vendor-card strong {
  font-size: 1.45rem;
  line-height: 1.25;
}

.vendor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.vendor-link {
  color: var(--gold);
  font-weight: 700;
}

.video-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.video-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: 1.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.video-panel strong {
  font-size: 1.5rem;
  line-height: 1.25;
}

.video-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-panel-link {
  align-content: end;
  min-height: 100%;
  position: relative;
}

.video-panel-link::before {
  content: "";
  position: absolute;
  inset: 1rem 1rem auto auto;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: #f1e6cf;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.play-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: #f6f2eb;
  border: 1px solid rgba(166, 124, 54, 0.22);
  color: var(--gold);
  font-weight: 700;
}

.media-grid,
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.media-card,
.hotel-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease;
}

.media-card:hover,
.hotel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 124, 54, 0.28);
}

.media-card strong,
.hotel-card strong {
  font-size: 1.4rem;
  line-height: 1.35;
}

.media-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.media-card-featured {
  background: #fff;
}

.save-date-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.save-date-card img {
  display: block;
  width: 100%;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
}

.save-date-copy {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.save-date-copy strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
}

.save-date-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.schedule-page {
  display: grid;
  gap: 1.25rem;
}

.schedule-frame-shell {
  padding: 0.75rem;
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.schedule-frame {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: 1.2rem;
  background: #f6f2eb;
}

.media-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--sea);
}

.hotel-card {
  padding: 0;
  overflow: hidden;
}

.hotel-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hotel-card div {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.35rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.info-tile {
  display: grid;
  gap: 0.65rem;
  min-height: 11rem;
  padding: 1.3rem;
  border-radius: 1.7rem;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.info-tile strong {
  font-size: 1.2rem;
  line-height: 1.5;
}

.info-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 124, 54, 0.28);
  background: #fff;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 4.5rem;
  padding: 2rem;
  border-radius: 2rem;
  background: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.story-card:nth-child(2),
.timeline article:nth-child(2),
.info-tile:nth-child(2) {
  animation-delay: 120ms;
}

.story-card:nth-child(3),
.timeline article:nth-child(3),
.info-tile:nth-child(3) {
  animation-delay: 220ms;
}

.info-tile:nth-child(4) {
  animation-delay: 320ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .poster-spotlight,
  .story-grid,
  .timeline,
  .centerpiece-video,
  .video-showcase,
  .vendors-grid,
  .media-grid,
  .save-date-card,
  .hotel-gallery,
  .info-grid,
  .stats-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 1.5rem;
    padding: 1rem;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero,
  main,
  .footer {
    width: min(100% - 1.2rem, 1180px);
  }

  .hero {
    padding-top: 0.7rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.88rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

}
