:root {
  --navy: #0b3566;
  --blue: #2d6fa4;
  --sky: #dfeef8;
  --pale: #f4f8fb;
  --ink: #17324f;
  --white: #ffffff;
  --line: rgba(11, 53, 102, .16);
  --shadow: 0 18px 50px rgba(17, 51, 85, .14);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid #f4b942; outline-offset: 4px; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--white);
  color: var(--navy);
  padding: .85rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .75rem 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 17px;
  height: 17px;
  background: linear-gradient(135deg, #6dc2e8, var(--navy));
  border-radius: 3px;
  box-shadow: 9px 0 0 rgba(45,111,164,.28);
}
nav { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
nav a {
  text-decoration: none;
  padding: .65rem .85rem;
  border-radius: 10px;
  font-weight: 700;
}
nav a:hover { background: var(--pale); }
.menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  padding: .65rem .8rem;
  font-size: 1rem;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 72px);
  position: relative;
  display: grid;
  place-items: center;
  background: url("assets/save-the-date.jpg") center/cover no-repeat;
  color: var(--white);
  isolation: isolate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,35,71,.88) 0%, rgba(8,48,88,.74) 46%, rgba(8,48,88,.38) 100%);
  z-index: -1;
}
.hero-content {
  width: min(var(--max), calc(100% - 2.5rem));
  padding: 5rem 0;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: .78rem;
}
.hero h1 {
  max-width: 920px;
  margin: .8rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 6vw, 5.35rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero-subtitle {
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
}
.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 2rem 0;
}
.event-facts span {
  padding: .65rem .85rem;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-weight: 700;
}
.hero-actions, .quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.deadline { margin-top: 1rem; font-weight: 700; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(7,39,78,.24);
}
.hero .button-primary { background: var(--white); color: var(--navy); }
.button-secondary {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.button-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--white);
}
.button.large { font-size: 1.08rem; padding: 1rem 1.3rem; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}
.section.narrow { max-width: 840px; text-align: center; }
.section-tinted {
  max-width: none;
  background: var(--pale);
  padding-left: max(1.25rem, calc((100vw - var(--max))/2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - var(--max))/2 + 1.25rem));
}
.section-kicker { color: var(--blue); margin-bottom: .45rem; }
.section h2 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: var(--navy);
}
.lead { font-size: 1.2rem; margin: 0 auto 2rem; max-width: 700px; }
.small-note { margin-top: 1rem; }
.section-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-heading > p { margin: 0; font-size: 1.05rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.5rem;
}
.poster-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster-copy { padding: 1.4rem 1.4rem .4rem; }
.poster-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}
.poster-copy p { margin: .35rem 0 .75rem; }
.poster-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: #eaf2f8;
  cursor: zoom-in;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
}
.poster-button img {
  width: 100%;
  height: 620px;
  object-fit: contain;
  background: #e8f0f6;
}
.poster-button.landscape img { height: 360px; }
.poster-button span {
  display: block;
  padding: .9rem 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.text-link {
  display: inline-block;
  margin: 1rem 1.4rem 1.35rem;
  color: var(--navy);
  font-weight: 800;
}
.quick-actions { margin: 1.5rem 0 2rem; }
.notice {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  background: #fff7dc;
  border-left: 5px solid #d6a82b;
  border-radius: 10px;
}
.contact-section {
  text-align: center;
  max-width: 800px;
}
.contact-name {
  margin: 1.5rem 0 .2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}
.email-link { font-size: 1.15rem; font-weight: 800; color: var(--blue); }
footer {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}
footer p { margin: .25rem; }

dialog {
  width: min(96vw, 1200px);
  max-height: 94vh;
  border: 0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 100px rgba(0,0,0,.35);
}
dialog::backdrop { background: rgba(4,22,43,.78); }
.dialog-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.dialog-bar h2 { margin: 0; font-size: 1rem; color: var(--navy); }
.dialog-bar button {
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  padding: .7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}
.dialog-content {
  overflow: auto;
  max-height: calc(94vh - 62px);
  background: #e7eef4;
}
.dialog-content img { width: 100%; height: auto; }

@media (max-width: 800px) {
  .menu-button { display: inline-flex; gap: .5rem; align-items: center; }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: .75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(17,51,85,.12);
    flex-direction: column;
    align-items: stretch;
  }
  nav.open { display: flex; }
  nav a { padding: .9rem 1rem; }
  .brand span:last-child { max-width: 210px; line-height: 1.2; }
  .hero { min-height: 760px; background-position: 57% center; }
  .hero-overlay { background: rgba(5,35,71,.78); }
  .section-heading, .card-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; align-items: start; }
  .poster-button img { height: auto; max-height: 650px; }
  .poster-button.landscape img { height: auto; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
}
@media (max-width: 480px) {
  .hero-content { padding: 3.5rem 0; }
  .hero h1 { font-size: 2.45rem; }
  .hero-actions .button, .quick-actions .button { width: 100%; }
  .event-facts { display: grid; }
  .event-facts span { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

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

.hero {
  min-height: auto;
  aspect-ratio: 16 / 9;
  background-image: url("assets/background-visual.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  place-items: end center;
}
.hero-overlay {
  background: linear-gradient(180deg, transparent 58%, rgba(7, 38, 75, .35) 100%);
}
.hero-content {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 0 0 2.25rem;
}
.hero-actions-visual {
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 16px;
  background: rgba(8,48,88,.28);
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 4.35rem);
}

/* More balanced program cards */
#program .section-heading {
  align-items: start;
}
#program .poster-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
#program .poster-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(17, 51, 85, .18);
}
#program .poster-button img {
  height: 680px;
  object-fit: contain;
  background: #edf3f8;
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: center;
    background-size: contain;
    background-color: #b8d4e9;
    background-attachment: scroll;
  }
  .hero-content {
    padding-bottom: .75rem;
  }
  .hero-actions-visual {
    transform: scale(.88);
    transform-origin: right bottom;
  }
  #program .poster-button img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 560px) {
  .hero {
    aspect-ratio: auto;
    min-height: 62vw;
  }
  .hero-actions-visual {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .5rem;
    transform: none;
    justify-content: center;
  }
  .hero-actions-visual .button {
    width: auto;
    min-height: 42px;
    padding: .65rem .85rem;
    font-size: .88rem;
  }
}
