:root {
  color-scheme: light;
  --ink: #173b3e;
  --teal: #176c67;
  --coral: #b34343;
  --muted: #526567;
  --line: #d4e2df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; color: var(--ink); background: #fff; }
a { color: var(--teal); text-underline-offset: 4px; overflow-wrap: anywhere; }
button, input { font: inherit; }
button, input, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 3; background: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
.event-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1180px; margin: auto; padding: 18px 32px; font-size: 14px; }
.event-header a { font-size: 18px; font-weight: 750; text-decoration: none; }
.event-header span { text-align: right; color: var(--muted); }
.event-hero { background: #e4f2ed url("sensory-play-illustration.jpg") center / cover no-repeat; border-block: 1px solid #d4e9e2; }
.hero-inner { max-width: 780px; padding: 46px 32px 42px; margin: auto; text-align: center; }
.eyebrow { font-size: 13px; line-height: 1.5; font-weight: 750; text-transform: uppercase; margin: 0 0 12px; color: var(--teal); }
h1, h2, h3 { font-family: "Avenir Next", "Trebuchet MS", system-ui, sans-serif; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: 48px; line-height: 1.08; margin: 0; }
.hero-invitation { font-size: 23px; font-weight: 650; margin: 17px 0 10px; color: var(--coral); }
.hero-date { font-size: 17px; margin: 0; font-weight: 650; }
.event-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; max-width: 1180px; margin: auto; padding: 56px 32px 64px; }
h2 { margin: 0 0 14px; font-size: 29px; line-height: 1.2; }
h3 { font-size: 19px; margin-bottom: 7px; }
p { margin: 0 0 18px; }
.details-list { margin: 30px 0; border-top: 1px solid var(--line); }
.details-list > div { display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 750; }
dd { margin: 0; }
.walk-in-note { border-left: 4px solid #ecb750; padding-left: 16px; }
.text-link { font-weight: 700; }
.event-contact { margin-top: 32px; }
.event-contact p { font-size: 15px; }
.registration { border-left: 1px solid var(--line); padding-left: 44px; scroll-margin-top: 24px; }
.registration-intro { color: var(--muted); font-size: 15px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 7px; }
.required { color: var(--muted); font-size: 12px; font-weight: 450; }
.field input { display: block; width: 100%; min-height: 48px; border: 1px solid #819c99; border-radius: 6px; padding: 9px 12px; color: var(--ink); background: #fff; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.count-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.count-fields label { min-height: 48px; }
.caregiver-confirmation { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; font-size: 14px; line-height: 1.5; align-items: start; cursor: pointer; }
.caregiver-confirmation input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.privacy-note { font-size: 12px; line-height: 1.55; color: var(--muted); margin: 20px 0; }
.submit-button, .calendar-button { display: inline-block; width: 100%; min-height: 50px; border: 0; border-radius: 6px; padding: 12px 18px; background: var(--teal); color: #fff; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; }
.submit-button:hover, .calendar-button:hover { background: #125550; }
.submit-button:disabled { cursor: wait; opacity: .72; }
.form-status { font-size: 14px; padding: 14px; margin-top: 16px; border-left: 4px solid var(--coral); background: #fff1ed; }
.event-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px max(24px, calc((100% - 1116px) / 2)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.event-footer p { margin: 0; }
.thanks-content { max-width: 620px; margin: auto; padding: 58px 24px 72px; }
.thanks-content h1 { font-size: 36px; margin-bottom: 22px; }
.thanks-content .calendar-button { margin: 8px 0 20px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .event-content { gap: 34px; padding: 36px 24px 48px; }
  .registration { padding-left: 26px; }
  h1 { font-size: 42px; }
  .count-fields { grid-template-columns: 1fr; gap: 0; }
  .count-fields label { min-height: auto; }
}
@media (max-width: 640px) {
  .event-header { padding: 14px 20px; font-size: 12px; }
  .event-header span { max-width: 150px; }
  .hero-inner { padding: 38px 20px; }
  .event-hero { background-size: auto 100%; }
  h1 { font-size: 36px; }
  .hero-invitation { font-size: 20px; }
  .hero-date { font-size: 15px; max-width: 250px; margin-inline: auto; }
  .event-content { grid-template-columns: 1fr; }
  .registration { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; }
  .count-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .count-fields label { min-height: 67px; }
  .event-footer { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
