:root {
  --bg: #f6efe4;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 250, 243, 0.74);
  --surface-strong: #fffaf3;
  --text: #211910;
  --muted: #625343;
  --line: rgba(33, 25, 16, 0.14);
  --accent: #8c2f1c;
  --accent-dark: #5e1d14;
  --gold: #d5a44a;
  --shadow: 0 20px 60px rgba(65, 40, 11, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
  --anchor-offset: 132px;
  --header-progress: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(213, 164, 74, 0.22), transparent 30%),
    radial-gradient(circle at right, rgba(140, 47, 28, 0.14), transparent 28%),
    linear-gradient(180deg, #f9f2e8 0%, #f4eadc 100%);
  min-height: 100vh;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 28px;
  padding: 16px 20px;
  border: 1px solid color-mix(in srgb, var(--line) calc(100% - (var(--header-progress) * 45%)), rgba(255, 255, 255, 0.22) calc(var(--header-progress) * 45%));
  border-radius: 999px;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb, rgba(255, 250, 243, 0.82) calc(100% - (var(--header-progress) * 100%)), rgba(94, 29, 20, 0.94) calc(var(--header-progress) * 100%)),
      color-mix(in srgb, rgba(255, 250, 243, 0.88) calc(100% - (var(--header-progress) * 100%)), rgba(140, 47, 28, 0.9) calc(var(--header-progress) * 100%))
    );
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  color: color-mix(in srgb, var(--text) calc(100% - (var(--header-progress) * 100%)), #fff calc(var(--header-progress) * 100%));
  transition:
    background 120ms linear,
    border-color 120ms linear,
    color 120ms linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong,
.section-heading h2,
.hero h1,
.info-card h3,
.story-copy,
.external-card strong,
.contact-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-text strong {
  font-size: 1.25rem;
}

.brand-text span {
  color: color-mix(in srgb, var(--muted) calc(100% - (var(--header-progress) * 100%)), rgba(255, 255, 255, 0.82) calc(var(--header-progress) * 100%));
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: color-mix(in srgb, var(--muted) calc(100% - (var(--header-progress) * 100%)), rgba(255, 255, 255, 0.88) calc(var(--header-progress) * 100%));
  font-size: 0.95rem;
}

.site-nav button {
  color: color-mix(in srgb, var(--muted) calc(100% - (var(--header-progress) * 100%)), rgba(255, 255, 255, 0.88) calc(var(--header-progress) * 100%));
  font-size: 0.95rem;
  font-family: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav button:hover,
.site-nav button:focus-visible {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  gap: 8px;
  width: max-content;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 250, 243, 0.92);
  text-align: left;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(140, 47, 28, 0.08);
}

.nav-external {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) calc(100% - (var(--header-progress) * 100%)), rgba(255, 255, 255, 0.28) calc(var(--header-progress) * 100%));
  background: color-mix(in srgb, var(--bg-soft) calc(100% - (var(--header-progress) * 100%)), rgba(255, 255, 255, 0.12) calc(var(--header-progress) * 100%));
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: color-mix(in srgb, var(--text) calc(100% - (var(--header-progress) * 100%)), #fff calc(var(--header-progress) * 100%));
}

.hero,
.story-section,
.sponsor-section,
.contact-section,
.external-section,
.section-grid {
  margin-bottom: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) fit-content(320px);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.story-layout,
.external-cards,
.sponsor-grid,
.contact-layout,
.info-cards {
  animation: fade-up 700ms ease both;
}

.hero-copy,
.hero-panel,
.story-section,
.external-section,
.sponsor-section,
.contact-section,
.section-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
}

.eyebrow,
.panel-label,
.card-kicker,
.external-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-panel .panel-label {
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 0.95;
}

.hero-text,
.section-intro,
.story-copy p,
.contact-card p,
.info-card p,
.external-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
}

.hero-actions,
.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.hero-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-piece-card {
  margin-top: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(213, 164, 74, 0.18), rgba(255, 250, 243, 0.95));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.hero-panel {
  padding: 36px;
  width: fit-content;
  min-width: 0;
  background:
    linear-gradient(160deg, rgba(94, 29, 20, 0.94), rgba(140, 47, 28, 0.9)),
    var(--accent);
  color: #fff;
}

.date-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.date-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.date-list span {
  min-width: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.date-list strong {
  font-size: 1.1rem;
}

.date-list strong a {
  color: inherit;
}

.panel-footnote {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.eventfrog-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  width: fit-content;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #122b1d;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.eventfrog-badge:hover,
.eventfrog-badge:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.eventfrog-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.eventfrog-cta {
  color: #122b1d;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.section-grid,
.story-section,
.external-section,
.sponsor-section,
.contact-section {
  padding: 34px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.info-cards,
.external-cards,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-section .contact-layout {
  grid-template-columns: minmax(0, 1fr);
}

.contact-section {
  padding: 28px;
}

.contact-section .section-heading {
  margin-bottom: 18px;
}

.contact-section .section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-section .contact-card {
  padding: 20px;
  font-size: 0.92rem;
}

.info-card,
.fact-card,
.external-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.accent-card {
  background: linear-gradient(180deg, rgba(213, 164, 74, 0.22), rgba(255, 250, 243, 0.95));
}

.wide-card {
  grid-column: span 2;
}

.info-card h3,
.contact-card h3,
.external-card strong {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
}

.contact-section .contact-card h3 {
  font-size: 1.3rem;
}

.contact-section .contact-card p,
.contact-section .contact-card a {
  font-size: 0.92rem;
  line-height: 1.6;
}

.show-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.show-meta + .show-meta {
  margin-top: 2px;
}

.payment-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.payment-links .button {
  padding: 12px 16px;
}

.show-ticket {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.96);
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.show-ticket:hover,
.show-ticket:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(140, 47, 28, 0.35);
  box-shadow: 0 10px 20px rgba(65, 40, 11, 0.08);
}

.show-ticket-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
}

.story-contact-card {
  margin-top: 24px;
}

.story-copy {
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.78), rgba(255, 250, 243, 0.96)),
    var(--surface-strong);
}

.story-copy p {
  margin: 0;
  font-size: 1.15rem;
}

.story-copy p + p {
  margin-top: 18px;
}

.story-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.82), rgba(255, 250, 243, 0.98)),
    var(--surface-strong);
}

.story-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
}

.small-note {
  color: var(--muted);
}

.external-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.external-card:hover,
.external-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(140, 47, 28, 0.35);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.sponsor-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.82);
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.35;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.sponsor-grid a:hover,
.sponsor-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(140, 47, 28, 0.35);
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 12px 24px rgba(65, 40, 11, 0.1);
}

.sponsor-cta {
  margin: 24px 0 0;
  color: var(--muted);
}

.sponsor-cta a {
  color: var(--accent-dark);
  font-weight: 700;
}

.map-embed {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 243, 0.72);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.map-link {
  margin: 12px 0 0;
}

.map-link a {
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-panel .map-link a {
  color: rgba(255, 255, 255, 0.92);
}

.muted-card {
  background: rgba(250, 243, 230, 0.9);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(140, 47, 28, 0.78), rgba(94, 29, 20, 0.78));
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 18px 36px rgba(65, 40, 11, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease,
    box-shadow 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  box-shadow: 0 22px 40px rgba(65, 40, 11, 0.24);
}

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

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

@media (max-width: 960px) {
  .hero,
  .story-layout,
  .info-cards,
  .external-cards,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 243, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: 112px;
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    top: 10px;
    gap: 12px;
    margin: 10px 0 20px;
    padding: 14px 16px;
    border-radius: 24px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .site-header,
  .hero-copy,
  .hero-panel,
  .section-grid,
  .story-section,
  .external-section,
  .sponsor-section,
  .contact-section {
    padding: 22px;
  }

  .site-nav {
    gap: 12px;
    padding: 16px;
  }

  .site-nav a,
  .site-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
  }

  .nav-external {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-dropdown-menu {
    width: 100%;
    padding: 10px 0 0;
    border: 0;
    background: transparent;
  }

  .nav-dropdown-menu a {
    padding-inline: 12px;
  }

  .brand-text span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-copy {
    padding: 26px 22px;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    margin-top: 20px;
    padding-top: 18px;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-piece-card {
    margin-top: 20px;
    padding: 22px;
  }

  .hero-piece-card p + p {
    margin-top: 14px;
  }

  .hero-panel {
    width: 100%;
    padding: 24px 20px;
  }

  .date-list li {
    gap: 10px;
    padding: 14px 0;
  }

  .eventfrog-badge {
    width: 100%;
    justify-content: center;
  }

  .map-embed iframe {
    height: 220px;
  }

  .section-heading h2,
  .info-card h3,
  .contact-card h3,
  .external-card strong {
    font-size: 1.8rem;
  }

  .info-card,
  .contact-card,
  .story-copy,
  .story-logo-panel {
    padding: 20px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  .payment-links {
    flex-direction: column;
  }

  .payment-links .button {
    width: 100%;
  }

  .show-ticket {
    width: 100%;
    justify-content: center;
  }

  .story-copy p {
    font-size: 1.02rem;
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-grid a {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.92rem;
  }
}
