@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --navy: #0b1933;
  --navy-soft: #152542;
  --gold: #d2ae43;
  --gold-light: #e4c55c;
  --ink: #192234;
  --muted: #6e7480;
  --paper: #fffefa;
  --line: #e7e4dc;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  background: white;
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }
.hero {
  overflow: hidden;
  position: relative;
  padding: clamp(2.5rem, 6.2vw, 4.2rem) 1.25rem clamp(2.3rem, 5vw, 3.25rem);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(40, 63, 96, 0.45), transparent 58%),
    var(--navy);
  color: white;
  text-align: center;
}
.hero::after {
  position: absolute;
  right: -6rem;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(210, 174, 67, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.event-date {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.ornament {
  display: block;
  width: 2.6rem;
  height: 2px;
  margin: 1.25rem auto 0.55rem;
  background: var(--gold);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0.65rem;
  color: #fffdf7;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 7.7vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: uppercase;
}
.tagline {
  margin: 0 auto;
  color: #e2c45d;
  font-size: clamp(0.95rem, 2.3vw, 1.2rem);
  letter-spacing: 0.025em;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(228, 197, 92, 0.62);
  border-radius: 999px;
  color: #fff9e7;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.hero-link:hover { border-color: var(--gold-light); background: rgba(228, 197, 92, 0.12); }
.hero-link:focus-visible, a:focus-visible { outline: 3px solid #f0d26c; outline-offset: 4px; }
.page-content { width: min(100% - 2rem, 950px); margin: 0 auto; }
.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4.8vw, 3.4rem);
}
.poster img {
  display: block;
  width: min(100%, 435px);
  height: auto;
  border: 7px solid white;
  box-shadow: 0 14px 42px rgba(11, 25, 51, 0.16), 0 0 0 1px rgba(11, 25, 51, 0.08);
}
.poster figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.8rem; }
.program { margin-bottom: clamp(2.75rem, 6vw, 4rem); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.eyebrow { margin: 0; color: #8c712b; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.section-heading h2, .invitation h2 {
  margin: 0;
  color: #154333;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.7vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
}
.schedule { margin: 0; padding: 0; list-style: none; }
.schedule-item {
  display: grid;
  grid-template-columns: minmax(9rem, 0.78fr) 2fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  padding: 1.25rem 0 1.3rem;
  border-bottom: 1px solid var(--line);
}
.schedule-item:last-child { border-bottom: 0; }
.time {
  display: flex;
  gap: 0.32rem;
  margin: 0.1rem 0 0;
  color: #b08a20;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.event-detail h3 { margin: 0; color: var(--ink); font-size: clamp(1.08rem, 2.6vw, 1.25rem); font-weight: 700; line-height: 1.35; }
.event-detail p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }
.invitation {
  position: relative;
  margin: 0 0 clamp(3rem, 6vw, 4.5rem);
  padding: 1.6rem 1rem 0;
  border-top: 2px solid var(--gold);
  text-align: center;
}
.invitation-mark { display: block; margin: -0.15rem 0 0.4rem; color: #b08a20; font-size: 1.15rem; }
.invitation h2 { color: var(--navy); font-size: clamp(1.55rem, 4.3vw, 2rem); }
.invitation p { max-width: 680px; margin: 0.45rem auto 0; font-size: clamp(0.97rem, 2.5vw, 1.1rem); }
.contacts {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  text-align: center;
}
.contacts h2 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 1.55rem; }
.contact-label { margin: 0.3rem 0 0.8rem; color: var(--muted); font-size: 0.9rem; }
.contact-list { display: flex; justify-content: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.contact-list a { color: #826918; font-size: 1.1rem; font-variant-numeric: tabular-nums; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.contact-list a:hover { color: var(--navy); }
.footer {
  padding: 1.15rem 1rem 1.3rem;
  background: var(--navy);
  color: #f7f5ef;
  text-align: center;
}
.footer p { margin: 0; font-size: 0.9rem; }
.footer .footer-time { margin-bottom: 0.15rem; color: var(--gold-light); font-size: 1rem; font-weight: 700; letter-spacing: 0.035em; text-transform: uppercase; }

@media (max-width: 600px) {
  .hero { padding-top: 2.4rem; padding-bottom: 2.15rem; }
  .event-date { font-size: 0.78rem; }
  .ornament { margin-top: 1rem; }
  .page-content { width: min(100% - 2rem, 435px); }
  .poster img { border-width: 5px; }
  .section-heading { display: block; }
  .eyebrow { margin-bottom: 0.25rem; }
  .schedule-item { grid-template-columns: 1fr; gap: 0.3rem; padding: 1rem 0 1.05rem; }
  .time { font-size: 0.95rem; }
  .event-detail p { font-size: 0.9rem; }
  .invitation { padding-inline: 0; }
  .contact-list { flex-direction: column; gap: 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
