/* Final responsive and accessibility polish */
html { scroll-padding-top: 86px; }
body { min-width: 320px; }
.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: #f5f2e9;
  color: #1a3028;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { padding-left: max(clamp(22px, 7vw, 102px), env(safe-area-inset-left)); padding-right: max(clamp(22px, 7vw, 102px), env(safe-area-inset-right)); }
.site-header { position: fixed; }
.menu-toggle { min-width: 44px; min-height: 44px; cursor: pointer; }
.menu-toggle:focus-visible, a:focus-visible { outline: 2px solid #d8c18b; outline-offset: 4px; }
.main-nav a { min-height: 42px; display: inline-flex; align-items: center; }
.reveal { opacity: 1; transform: none; }
.js-enabled .reveal:not(.in-view) { opacity: 0; transform: translateY(18px); }
.event-date time, .event-time time { font: inherit; }
.map-button { min-height: 48px; align-items: center; }
.text-link { min-height: 44px; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 68px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .brand { gap: 9px; }
  .brand-date { font-size: 8px; letter-spacing: .15em; }
  .menu-toggle { flex: 0 0 46px; border-radius: 50%; }
  .main-nav { right: max(14px, env(safe-area-inset-right)); top: 61px; width: min(250px, calc(100vw - 28px)); padding: 10px 17px; border-radius: 3px; box-shadow: 0 16px 40px rgba(0,0,0,.24); }
  .main-nav a { min-height: 46px; font-size: 10px; letter-spacing: .17em; border-bottom: 1px solid rgba(225,213,184,.12); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { min-height: max(680px, 100svh); padding: 76px 14px max(78px, env(safe-area-inset-bottom)); }
  .hero-content { width: 100%; max-width: 520px; padding: 22px 15px; }
  .overline { font-size: 9px; line-height: 1.7; letter-spacing: .2em; }
  .overline.second-line { font-size: 8px; }
  .hero h1 { font-size: clamp(4.6rem, 18vw, 7rem); }
  .hero-date { font-size: 8px; line-height: 1.7; letter-spacing: .15em; }
  .hero-family span { font-size: 8px; letter-spacing: .16em; }
  .hero-family b { font-size: 17px; }
  .countdown { gap: clamp(8px, 3vw, 15px); }
  .countdown > div { min-width: clamp(35px, 11vw, 46px); }
  .countdown b { font-size: 23px; }
  .countdown span { font-size: 8px; letter-spacing: .12em; }
  .scroll-cue { bottom: max(24px, env(safe-area-inset-bottom)); font-size: 8px; }
  .hero-location { display: none; }
  .section { padding: 76px 21px; }
  .section-intro { margin-bottom: 34px; }
  .eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: .17em; }
  .section h2, .closing h2 { font-size: clamp(2.65rem, 10vw, 4rem); line-height: 1.02; }
  .section-intro p, .family-copy p { font-size: 13px; line-height: 1.85; }
  .event-card { width: 100%; }
  .event-art { min-height: 226px; }
  .event-info { padding: 34px 22px 35px; }
  .event-info h3 { font-size: 2.7rem; }
  .event-date { font-size: 16px; line-height: 1.5; }
  .event-time { font-size: 13px; }
  .event-venue { font-size: 20px; line-height: 1.4; }
  .family-section { gap: 33px; }
  .family-card { padding: 35px 20px; }
  .family-label { font-size: 8px; }
  .family-names { font-size: clamp(1.3rem, 6vw, 1.75rem); line-height: 1.4; }
  .family-card p { font-size: 12px; line-height: 1.8; }
  .timeline { grid-template-columns: 76px 12px minmax(0, 1fr); gap: 12px; padding: 23px 13px; }
  .timeline-date span { font-size: 7px; letter-spacing: .1em; text-align: center; line-height: 1.5; }
  .timeline-date b { font-size: 46px; }
  .timeline-event h3 { font-size: clamp(18px, 5vw, 22px); line-height: 1.2; }
  .timeline-event p { font-size: 12px; line-height: 1.5; }
  .timeline-event small { font-size: 10px; line-height: 1.5; }
  .venue-section { gap: 20px; }
  .venue-content h2 { margin-bottom: 22px; }
  .venue-name { font-size: 22px; }
  .venue-art { max-width: 350px; height: 260px; }
  .map-button { width: min(100%, 280px); justify-content: center; }
  .closing { padding: 76px 23px 70px; padding-bottom: max(70px, env(safe-area-inset-bottom)); }
  .closing > p { max-width: 300px; margin: 0 auto; line-height: 1.8; }
  .closing-names { font-size: 34px; }
  .site-footer { padding: 19px max(18px, env(safe-area-inset-right)) max(19px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); gap: 13px 22px; font-size: 8px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 4.35rem; }
  .countdown { gap: 7px; }
  .countdown > div { min-width: 34px; }
  .timeline { grid-template-columns: 67px 10px minmax(0, 1fr); gap: 9px; }
  .timeline-event small { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal:not(.in-view) { opacity: 1; transform: none; }
}
