:root {
  --cream: #fbf7ef;
  --navy: #395478;
  --blue: #446aac;
  --sky: #689bd3;
  --ink: #18202b;
  --white: #ffffff;
  --line: rgba(57, 84, 120, 0.18);
  --shadow: 0 24px 60px rgba(23, 37, 58, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--navy);
  border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 38px;
  padding: .4rem 1rem;
  color: var(--navy);
  background: var(--cream);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-align: center;
}
.announcement a {
  font-weight: 700;
  text-underline-offset: .25em;
}

.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-stuck {
  position: fixed;
  top: 0;
  background: rgba(57, 84, 120, .93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255,255,255,.12);
  box-shadow: 0 6px 24px rgba(23, 37, 58, .22);
  animation: headerDrop .35s ease;
}
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
  transition: min-height .3s ease;
}
.site-header.is-stuck .nav-wrap { min-height: 62px; }
.brand-text {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-left: auto;
}
.desktop-nav a {
  color: var(--cream);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
}
.desktop-nav a:hover { opacity: .75; }
.nav-cta { flex: 0 0 auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .8rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-cream {
  color: var(--navy);
  background: var(--cream);
  box-shadow: 0 12px 30px rgba(0,0,0,.13);
}
.button-cream:hover { box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.button-outline {
  color: var(--cream);
  border-color: rgba(251,247,239,.7);
  background: rgba(57,84,120,.15);
  backdrop-filter: blur(5px);
}
.button-outline:hover { background: rgba(251,247,239,.12); }
.button-navy { color: var(--cream); background: var(--navy); }

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  color: var(--cream);
  background: var(--navy) url("assets/event-room.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25,47,76,.94) 0%, rgba(39,65,96,.82) 46%, rgba(39,65,96,.52) 100%),
    linear-gradient(0deg, rgba(20,39,63,.52), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 135px;
}
.eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow-blue { color: var(--blue); }
.hero-logo { width: min(620px, 82vw); margin: 0 0 1.4rem; }
.hero-intro {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1.25;
}
.hero-actions { display: flex; gap: .85rem; margin-top: 2.1rem; }
.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-top: 4.5rem;
  border-top: 1px solid rgba(251,247,239,.46);
  border-bottom: 1px solid rgba(251,247,239,.3);
}
.hero-details > div { padding: 1.2rem 1.5rem 1.25rem 0; }
.hero-details > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(251,247,239,.3); }
.detail-label {
  display: block;
  margin-bottom: .2rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .76;
}
.hero-details strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 2.5rem;
  bottom: 2rem;
  width: 34px;
  height: 54px;
  border: 1px solid rgba(251,247,239,.55);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 4px;
  height: 8px;
  background: var(--cream);
  border-radius: 5px;
  transform: translateX(-50%);
  animation: scroll 1.8s infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,20px); } }

.countdown-section { color: var(--navy); background: var(--cream); border-bottom: 1px solid var(--line); }
.countdown-wrap {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.countdown-wrap > p {
  max-width: 430px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
}
.countdown { display: flex; gap: 2.3rem; }
.countdown > div { text-align: center; min-width: 62px; }
.countdown strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.countdown span { display: block; margin-top: .35rem; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.section { padding: 110px 0; }
.section-light { background: var(--white); }
.split-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.image-frame { position: relative; }
.image-frame::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 55%;
  height: 45%;
  border: 1px solid var(--sky);
  z-index: 0;
}
.image-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.image-caption { position: absolute; z-index: 2; right: -1rem; bottom: 2rem; padding: .85rem 1rem; background: var(--cream); color: var(--navy); font-family: var(--serif); font-size: 1.15rem; box-shadow: var(--shadow); }
.copy-block h2, .section-heading h2, .impact-copy h2, .sponsorship-card h2, .policy-wrap h2 {
  margin: 0 0 1.4rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: .98;
}
.copy-block p { margin: 0 0 1.15rem; }
.copy-block .lead { color: var(--navy); font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; }
.text-link { display: inline-block; margin-top: .8rem; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-underline-offset: .35em; }

.purpose-section { background: var(--cream); }
.section-heading { max-width: 800px; margin-bottom: 3.6rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p { max-width: 690px; margin: 0; }
.section-heading.centered p { margin-inline: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { min-height: 330px; padding: 2.5rem; background: var(--cream); }
.feature-number { display: block; margin-bottom: 3.7rem; color: var(--sky); font-family: var(--serif); font-size: 1.7rem; }
.feature-card h3 { margin: 0 0 .9rem; color: var(--navy); font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.feature-card p { margin: 0; font-size: .93rem; }

.impact-section { padding: 0; color: var(--cream); background: var(--navy); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
.impact-copy { padding: clamp(5rem, 9vw, 9rem) max(40px, calc((100vw - 1180px)/2)); padding-right: clamp(3rem, 7vw, 7rem); }
.impact-copy h2 { color: var(--cream); }
.impact-copy > p { max-width: 600px; }
.impact-copy blockquote {
  max-width: 570px;
  margin: 2.5rem 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--sky);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.25;
}
.impact-image { min-height: 720px; }
.impact-image img { width: 100%; height: 100%; object-fit: cover; }

.gallery-section { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-large { grid-row: 1 / 3; min-height: 690px; }
.gallery-grid figure:not(.gallery-large) { min-height: 335px; }

.sponsorship-section { background: var(--cream); }
.sponsorship-card {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 5rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem);
  color: var(--cream);
  background: var(--blue);
  box-shadow: var(--shadow);
}
.sponsorship-card h2 { color: var(--cream); }
.sponsorship-card p { margin: 0; }
.sponsor-actions { display: grid; gap: 1.4rem; }
.sponsor-actions p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }

.sponsors-section { background: var(--white); }
.sponsor-tier { margin-top: 3.4rem; text-align: center; }
.sponsor-tier:first-of-type { margin-top: 1.2rem; }
.tier-label {
  display: inline-block;
  margin: 0 0 2rem;
  padding-bottom: .55rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 2px solid;
}
.tier-label.tier-gold { border-color: #c19a2e; }
.tier-label.tier-silver { border-color: #9aa4b1; }
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
}
.sponsor { height: auto; transition: transform .3s ease; }
.sponsor.gold { width: clamp(165px, 20vw, 215px); }
.sponsor.silver { width: clamp(135px, 16vw, 170px); }
.sponsor:hover { transform: translateY(-4px); }

.tickets-section { background: var(--white); }
.tickets-container { max-width: 1080px; }
.ticket-widget {
  padding: clamp(1rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ticket-widget iframe { display: block; width: 100%; min-height: 980px; border: 0; background: var(--white); }
.ticket-fallback { margin: 1.3rem 0 0; text-align: center; font-size: .82rem; }
.ticket-fallback a { color: var(--blue); font-weight: 700; }

.policy-section { padding-top: 75px; padding-bottom: 90px; background: var(--cream); }
.policy-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; align-items: start; }
.policy-wrap h2 { font-size: 3.2rem; }
details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .4rem; top: 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
.policy-content { padding: 0 0 2rem; }
.policy-content h3 { margin: 1.4rem 0 .4rem; color: var(--navy); font-family: var(--serif); font-size: 1.5rem; }
.policy-content p { margin: 0; }

.site-footer { padding: 75px 0 24px; color: var(--cream); background: #2f4868; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; }
.footer-logo { width: 360px; margin-bottom: 1rem; }
.footer-grid h2 { margin: 0 0 .8rem; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid p { margin: 0; font-size: .84rem; opacity: .9; }
.footer-grid a { text-underline-offset: .3em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid rgba(251,247,239,.2); }
.footer-bottom p { margin: 0; font-size: .68rem; opacity: .72; }
.mobile-ticket-cta { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-wrap { justify-content: space-between; }
  .brand-text { font-size: 1.25rem; }
  .split-grid, .impact-grid, .sponsorship-card, .policy-wrap { grid-template-columns: 1fr; }
  .impact-image { min-height: 520px; }
  .impact-copy { padding: 90px 40px; }
  .sponsorship-card { gap: 2.5rem; }
  .feature-card { padding: 2rem; }
  .gallery-large { min-height: 520px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, 1180px); }
  .announcement { min-height: 42px; font-size: .66rem; }
  .announcement span { max-width: 230px; }
  .site-header { top: 42px; }
  .nav-wrap { min-height: 75px; }
  .brand-text { font-size: 1.1rem; }
  .nav-cta { display: none; }
  .hero { min-height: 780px; background-position: 58% center; }
  .hero-content { padding-top: 140px; }
  .hero-logo { width: 100%; }
  .hero-intro { font-size: 1.45rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; }
  .hero-details { grid-template-columns: 1fr; margin-top: 3rem; }
  .hero-details > div { padding: .8rem 0; }
  .hero-details > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(251,247,239,.26); }
  .scroll-cue { display: none; }
  .countdown-wrap { min-height: 200px; flex-direction: column; justify-content: center; text-align: center; }
  .countdown-wrap > p { font-size: 1.3rem; }
  .countdown { width: 100%; justify-content: space-between; gap: .5rem; }
  .countdown > div { min-width: auto; }
  .countdown strong { font-size: 1.8rem; }
  .section { padding: 78px 0; }
  .split-grid { gap: 3rem; }
  .image-frame::before { left: -8px; top: -8px; }
  .image-caption { right: -.3rem; bottom: 1rem; }
  .copy-block h2, .section-heading h2, .impact-copy h2, .sponsorship-card h2, .policy-wrap h2 { font-size: 2.65rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 2rem; }
  .impact-copy { padding: 75px 24px; }
  .impact-image { min-height: 440px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-large { grid-row: auto; min-height: 430px; }
  .gallery-grid figure:not(.gallery-large) { min-height: 290px; }
  .sponsorship-card { padding: 2.4rem 1.5rem; }
  .ticket-widget { margin-inline: -6px; padding: .4rem; box-shadow: 0 14px 35px rgba(23,37,58,.1); }
  .ticket-widget iframe { min-height: 1120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-logo { width: min(340px, 100%); }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .mobile-ticket-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    color: var(--cream);
    background: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
