:root {
  --paper: #f7cfce;
  --ink: #742725;
  --vermilion: #b93036;
  --jade: #2d7062;
  --line: rgba(116, 39, 37, 0.2);
  --sans: "Be Vietnam Pro", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --site-cursor: url("assets/jade-sparkle-cursor.svg") 4 4;
}

* { box-sizing: border-box; }

html, body {
  min-width: 320px;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: #dcefe8;
}

html, body, a, button { cursor: var(--site-cursor), auto; }

body {
  position: relative;
  isolation: isolate;
  min-height: 0;
  color: var(--ink);
  background: #dcefe8;
  font-family: var(--sans);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: -2px;
  content: "";
  pointer-events: none;
  background: #dcefe8;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.is-locked .invite-page,
.is-locked .schedule-page,
.is-locked .story-page,
.is-locked .cover-nav,
.is-locked .skip-link {
  visibility: hidden;
}

.password-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 1.25rem;
  background-color: var(--paper);
  background-image: url("assets/invite-paper-exact-strip.png");
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 100vh;
  background-size: auto 100dvh;
}

.password-gate[hidden] { display: none; }

.password-card {
  width: min(25rem, 100%);
  padding: clamp(1.5rem, 5vw, 2.35rem);
  text-align: center;
  background: rgba(255, 245, 243, 0.88);
  border: 2px solid var(--vermilion);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem rgba(116, 39, 37, 0.16);
  backdrop-filter: blur(8px);
}

.password-card__luna {
  display: block;
  width: 6.25rem;
  height: 8rem;
  margin: 0 auto 0.9rem;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.password-card__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--jade);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.password-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 2.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.password-card__hint {
  max-width: 18rem;
  margin: 0.85rem auto 1.25rem;
  color: #805e55;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.password-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.password-control input,
.password-control button {
  min-height: 3rem;
  font: inherit;
  border-radius: 0.65rem;
}

.password-control input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid rgba(116, 39, 37, 0.25);
  outline: 0;
}

.password-control input:focus {
  border-color: var(--jade);
  box-shadow: 0 0 0 3px rgba(45, 112, 98, 0.15);
}

.password-control input[aria-invalid="true"] {
  border-color: var(--vermilion);
}

.password-control button {
  padding: 0.75rem 1.1rem;
  color: #fff;
  background: var(--vermilion);
  border: 0;
  font-weight: 800;
}

.password-control button:hover { background: #9f272d; }

.password-error {
  min-height: 1.3em;
  margin: 0.55rem 0 0;
  color: var(--vermilion);
  font-size: 0.8rem;
  font-weight: 700;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 0.95rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.invite-page {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}

.invitation {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.invitation__art-frame {
  position: relative;
  width: min(100%, 175.4vh);
  width: min(100%, 175.4dvh);
  max-height: 100%;
  aspect-ratio: 1661 / 947;
}

.invitation__art {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border: 0;
  clip-path: none;
}

.schedule-cta {
  position: absolute;
  z-index: 2;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  left: 50%;
  padding: 0.55rem 0.9rem;
  color: #fff;
  background: var(--vermilion);
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 0.35rem 1rem rgba(116, 39, 37, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  transform: translateX(-50%);
}

.schedule-cta:hover,
.schedule-cta:focus-visible {
  background: #9f272d;
  outline: 3px solid rgba(45, 112, 98, 0.4);
  outline-offset: 2px;
}

.weekend-plan {
  position: relative;
  display: grid;
  min-height: 0;
  margin: 0;
  padding: clamp(0.25rem, 0.6dvh, 0.45rem) 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.schedule-page {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: clamp(0.7rem, 2vw, 1.25rem);
  overflow: hidden;
  background: transparent;
}

.schedule-back {
  z-index: 1;
  justify-self: start;
  padding: 0.55rem 0.8rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 245, 243, 0.72);
  border: 1px solid rgba(116, 39, 37, 0.22);
  border-radius: 999px;
}

.schedule-back:hover,
.schedule-back:focus-visible {
  color: #fff;
  background: var(--vermilion);
  outline: 0;
}

.schedule-page .weekend-plan {
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.schedule-page .schedule-list {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: clamp(0.5rem, 1.2dvh, 0.8rem);
  width: min(680px, 100%);
  height: auto;
}

.schedule-page .schedule-item {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  padding: clamp(0.5rem, 1.1dvh, 0.8rem) 0.65rem;
}

.schedule-page .schedule-date {
  width: 54px;
  height: 62px;
  background: linear-gradient(to bottom, var(--vermilion) 0 22px, #fff 22px 100%);
}

.schedule-page .schedule-date::before {
  top: -6px;
  left: 9px;
  width: 5px;
  height: 11px;
  box-shadow: 30px 0 #2e2c2d;
}

.schedule-page .schedule-date::after {
  inset: 22px 0 auto;
}

.schedule-page .schedule-date__day {
  top: 6px;
  font-size: 0.55rem;
}

.schedule-page .schedule-date__number {
  top: 27px;
  font-size: 1.65rem;
}

.schedule-page .schedule-time {
  font-size: clamp(0.64rem, 1.2vw, 0.74rem);
}

.schedule-page .schedule-copy h3 {
  font-size: clamp(0.8rem, 1.6vw, 1rem);
}

.schedule-page .schedule-copy p {
  font-size: clamp(0.62rem, 1.15vw, 0.74rem);
}

.invite-page,
.invitation,
.weekend-plan,
.schedule-list {
  outline: 0;
  border: 0 !important;
  box-shadow: none;
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  width: min(760px, calc(100% - 1.5rem));
  height: 100%;
  max-width: none;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.schedule-item {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.18rem 0.48rem;
  align-content: center;
  align-items: start;
  min-width: 0;
  padding: 0.42rem clamp(0.25rem, 0.45vw, 0.45rem);
  border: 0 !important;
  outline: 0;
  box-shadow: none;
}

.schedule-item + .schedule-item { border-left: 0 !important; }

.schedule-item::before,
.schedule-item::after {
  display: none;
  content: none;
}

.schedule-date {
  position: relative;
  grid-row: span 2;
  display: block;
  width: 39px;
  height: 45px;
  margin-top: 0.1rem;
  color: #fff;
  background: linear-gradient(to bottom, var(--vermilion) 0 17px, #fff 17px 100%);
  border: 1px solid rgba(116, 39, 37, 0.62);
  border-radius: 3px;
}

.schedule-date::before {
  position: absolute;
  z-index: 2;
  top: -5px;
  left: 7px;
  width: 4px;
  height: 9px;
  content: "";
  background: #2e2c2d;
  border-radius: 99px;
  box-shadow: 21px 0 #2e2c2d;
}

.schedule-date::after {
  position: absolute;
  inset: 17px 0 auto;
  content: "";
  border-top: 1px solid rgba(116, 39, 37, 0.32);
}

.schedule-date__day, .schedule-date__number {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  text-align: center;
}

.schedule-date__day {
  top: 4px;
  font-size: 0.43rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.schedule-date__number {
  top: 19px;
  margin: 0;
  color: #302d2d;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.schedule-time {
  grid-column: 2;
  align-self: end;
  margin: 0.12rem 0 0;
  color: var(--jade);
  font-size: clamp(0.52rem, 0.62vw, 0.59rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.schedule-copy { grid-column: 2; min-width: 0; }

.schedule-copy h3 {
  margin: 0;
  font-size: clamp(0.66rem, 0.82vw, 0.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.schedule-copy p {
  margin: 0.22rem 0 0;
  color: #805e55;
  font-size: clamp(0.5rem, 0.6vw, 0.58rem);
  font-weight: 600;
  line-height: 1.35;
}

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

@media (max-width: 760px) {
  .invite-page {
    grid-template-rows: auto auto;
    align-content: center;
    row-gap: 0.35rem;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }

  .invitation {
    width: 100%;
    min-height: 0;
    aspect-ratio: 660 / 947;
    place-self: center;
  }

  .invitation__art {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    clip-path: none;
  }

  .schedule-cta {
    position: static;
    justify-self: center;
    margin: 0 0 max(0.65rem, env(safe-area-inset-bottom));
    transform: none;
  }

  .weekend-plan {
    min-height: 0;
    margin: 0;
    padding: 0.25rem 0.3rem max(0.35rem, env(safe-area-inset-bottom));
  }

  .schedule-page {
    padding: 0.6rem;
  }

  .schedule-page .weekend-plan {
    padding: 0.25rem 0 max(0.35rem, env(safe-area-inset-bottom));
  }

  .schedule-page .schedule-list {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 0.45rem;
    height: auto;
  }

  .password-control { grid-template-columns: 1fr; }

  .schedule-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 0.2rem 0.3rem;
    width: 100%;
    height: 100%;
  }

  .schedule-item {
    align-content: center;
    padding: 0.4rem 0.18rem;
  }

  .schedule-time { font-size: clamp(0.52rem, 2.7vw, 0.62rem); }
  .schedule-copy h3 { font-size: clamp(0.65rem, 3vw, 0.78rem); }
  .schedule-copy p { font-size: clamp(0.5rem, 2.4vw, 0.6rem); }
  .schedule-item:nth-child(odd) { border-left: 0; }
  .schedule-item:nth-child(n + 3) { border-top: 0; }
}

/* Unified illustrated weekend schedule */
body[data-page="schedule"] {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent !important;
}

body[data-page="schedule"]::before {
  background-size: auto 100vh;
  background-size: auto 100dvh;
}

body[data-page="schedule"] .schedule-page {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  padding: clamp(5.5rem, 8vw, 7.5rem) clamp(1rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
  overflow: visible;
  background: transparent !important;
}

body[data-page="schedule"] .schedule-back {
  position: absolute;
  z-index: 2;
  top: max(1.15rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
}

body[data-page="schedule"] .weekend-plan {
  display: block;
  width: min(74rem, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="schedule"] .schedule-heading {
  width: 100%;
  margin: 0 auto clamp(2.6rem, 5vw, 4.25rem);
  text-align: center;
}

body[data-page="schedule"] .schedule-heading p {
  margin: 0 0 0.4rem;
  color: var(--jade);
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body[data-page="schedule"] .schedule-heading h2 {
  margin: 0;
  font-family: "Allura", cursive;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.82;
}

body[data-page="schedule"] .schedule-heading-art {
  display: block;
  width: min(32rem, 88vw);
  height: auto;
  margin: 0 auto;
}

body[data-page="schedule"] .schedule-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  align-items: start;
  gap: clamp(2rem, 4.5vw, 4.5rem) !important;
  width: 100% !important;
  height: auto !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="schedule"] .schedule-item,
body[data-page="schedule"] .schedule-item + .schedule-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 !important;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

body[data-page="schedule"] .schedule-date-label {
  margin: 0 0 clamp(1.1rem, 2vw, 1.7rem);
  color: var(--jade);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="schedule"] .schedule-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.2rem, 4vw, 3.5rem);
  width: 100%;
}

body[data-page="schedule"] .schedule-item--double .schedule-copy,
body[data-page="schedule"] .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 4rem);
}

body[data-page="schedule"] .schedule-slot,
body[data-page="schedule"] .schedule-slot + .schedule-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0 !important;
}

body[data-page="schedule"] .schedule-graphic {
  display: block;
  width: clamp(5rem, 8vw, 7.2rem);
  height: clamp(4.8rem, 7vw, 6.5rem);
  margin: 0 auto 0.8rem;
  filter: brightness(0) saturate(100%) invert(23%) sepia(47%) saturate(2699%) hue-rotate(330deg) brightness(91%) contrast(88%);
  object-fit: contain;
}

body[data-page="schedule"] .schedule-graphic--wide {
  width: clamp(6.5rem, 11vw, 9.5rem);
}

body[data-page="schedule"] .schedule-graphic--lanterns {
  width: clamp(4.3rem, 6.5vw, 5.8rem);
}

body[data-page="schedule"] .schedule-time {
  margin: 0 0 0.3rem;
  color: var(--jade);
  font-size: clamp(0.67rem, 0.9vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="schedule"] .schedule-daypart {
  margin: 0 0 0.2rem;
  color: #c79612;
  font-size: clamp(0.62rem, 0.78vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

body[data-page="schedule"] .schedule-copy .schedule-event-title {
  display: grid;
  height: clamp(4rem, 4.4vw, 4.5rem);
  min-height: 0;
  margin: 0;
  place-items: end center;
  color: var(--ink);
  font-family: "Allura", cursive;
  font-size: clamp(2.7rem, 4.5vw, 4.75rem);
  font-weight: 400;
  line-height: 0.9;
}

body[data-page="schedule"] .schedule-event-title-art {
  display: block;
  width: var(--schedule-title-width, 18.2rem);
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  align-self: end;
}

body[data-page="schedule"] .schedule-graphic-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: inherit;
}

/*
 * These wordmarks were exported with different canvas heights. Giving them the
 * same CSS height made the shorter exports look much larger. The widths below
 * preserve one shared source-pixel scale, using Tea Ceremony as the reference.
 */
body[data-page="schedule"] .schedule-event-title-art--welcome-event {
  --schedule-title-width: clamp(14.3rem, 18vw, 20.4rem);
}

body[data-page="schedule"] .schedule-event-title-art--tea-ceremony {
  --schedule-title-width: clamp(12.75rem, 16vw, 18.2rem);
}

body[data-page="schedule"] .schedule-event-title-art--celebration {
  --schedule-title-width: clamp(10.4rem, 13vw, 14.9rem);
}

body[data-page="schedule"] .schedule-event-title-art--pool-party {
  --schedule-title-width: clamp(9.55rem, 12vw, 13.6rem);
}

body[data-page="schedule"] .schedule-translation {
  margin: 0.55rem 0 0;
  color: var(--jade);
  font-size: clamp(0.66rem, 0.82vw, 0.78rem);
  font-weight: 700;
  line-height: 1.4;
}

body[data-page="schedule"] .schedule-copy .schedule-detail {
  margin: 0.3rem 0 0;
  color: #80645d;
  font-size: clamp(0.62rem, 0.76vw, 0.72rem);
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 820px) {
  body[data-page="schedule"] .schedule-page {
    padding: 4.8rem 1.15rem max(3rem, env(safe-area-inset-bottom));
  }

  body[data-page="schedule"] .schedule-heading {
    margin-bottom: 2.3rem;
  }

  body[data-page="schedule"] .schedule-heading h2 {
    font-size: clamp(3.65rem, 15vw, 5rem);
  }

  body[data-page="schedule"] .schedule-heading-art {
    width: min(27rem, 92vw);
  }

  body[data-page="schedule"] .schedule-list {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3.25rem !important;
    width: min(34rem, 100%) !important;
    margin: 0 auto;
  }

  body[data-page="schedule"] .schedule-date-label {
    margin-bottom: 1.3rem;
  }

  body[data-page="schedule"] .schedule-graphic {
    width: 5.8rem;
    height: 5.25rem;
  }

  body[data-page="schedule"] .schedule-graphic--wide { width: 7.8rem; }
  body[data-page="schedule"] .schedule-graphic--lanterns { width: 4.7rem; }
}

@media (max-width: 560px) {
  body[data-page="schedule"] .schedule-item--double .schedule-copy,
  body[data-page="schedule"] .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  body[data-page="schedule"] .schedule-copy .schedule-event-title {
    font-size: clamp(2.75rem, 13vw, 3.7rem);
  }

  body[data-page="schedule"] .schedule-event-title-art {
    max-width: 100%;
    height: auto;
  }

  body[data-page="schedule"] .schedule-copy .schedule-event-title {
    height: 3.7rem;
    min-height: 0;
  }
}

/* Dedicated schedule page */
.schedule-page {
  display: grid;
  grid-template-columns: minmax(300px, 42%) minmax(0, 58%);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.schedule-intro {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  padding: clamp(2rem, 6vw, 6rem);
  text-align: center;
  background: transparent;
}

.schedule-intro::after {
  width: clamp(4rem, 8vw, 7rem);
  height: 0.32rem;
  margin-top: clamp(1rem, 3vh, 2rem);
  content: "";
  background: var(--vermilion);
  border-radius: 999px;
}

.schedule-intro__copy { align-self: end; }

.schedule-intro__eyebrow,
.schedule-heading p {
  margin: 0 0 0.65rem;
  color: var(--jade);
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schedule-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 5.5vw, 5.8rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.schedule-intro__copy > p:last-child {
  margin: clamp(1rem, 2.6vh, 1.75rem) 0 0;
  color: #805e55;
  font-size: clamp(0.8rem, 1.15vw, 1rem);
  font-weight: 700;
  line-height: 1.55;
}

.schedule-page .schedule-back {
  position: absolute;
  z-index: 2;
  top: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 2vw, 1.5rem);
}

.schedule-page .weekend-plan {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  background: #fffdfb;
}

.schedule-heading {
  align-self: end;
  width: min(720px, 100%);
  margin: 0 auto clamp(1.3rem, 3vh, 2.25rem);
}

.schedule-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.schedule-page .schedule-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, auto);
  align-self: start;
  gap: clamp(0.75rem, 1.8vh, 1.15rem);
  width: min(720px, 100%);
  height: auto;
  padding: 0;
  margin: 0 auto;
}

.schedule-page .schedule-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
  align-content: center;
  align-items: center;
  min-width: 0;
  padding: clamp(0.75rem, 1.6vh, 1.05rem);
  background: #fff;
  border: 1px solid rgba(116, 39, 37, 0.11) !important;
  border-radius: 0.9rem;
  box-shadow: 0 0.55rem 1.6rem rgba(116, 39, 37, 0.07);
}

.schedule-page .schedule-date {
  grid-row: 1;
  width: 68px;
  height: 78px;
  margin: 0;
  background: linear-gradient(to bottom, var(--vermilion) 0 28px, #fff 28px 100%);
  border-radius: 0.4rem;
}

.schedule-page .schedule-date::before {
  top: -7px;
  left: 11px;
  width: 6px;
  height: 13px;
  box-shadow: 39px 0 #2e2c2d;
}

.schedule-page .schedule-date::after { inset: 28px 0 auto; }

.schedule-page .schedule-date__day {
  top: 8px;
  font-size: 0.62rem;
}

.schedule-page .schedule-date__number {
  top: 36px;
  font-size: 2rem;
}

.schedule-page .schedule-copy {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.schedule-page .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.schedule-slot { min-width: 0; }

.schedule-slot + .schedule-slot {
  padding-left: clamp(0.8rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(116, 39, 37, 0.13);
}

.schedule-page .schedule-time {
  grid-column: auto;
  margin: 0 0 0.38rem;
  font-size: clamp(0.67rem, 0.8vw, 0.78rem);
}

.schedule-page .schedule-copy h3 {
  margin: 0;
  font-size: clamp(0.86rem, 1.15vw, 1.1rem);
  line-height: 1.18;
}

.schedule-page .schedule-copy .schedule-detail {
  margin: 0.38rem 0 0;
  font-size: clamp(0.65rem, 0.8vw, 0.76rem);
  line-height: 1.35;
}

@media (max-width: 760px) {
  .schedule-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 150px minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    overflow: auto;
  }

  .schedule-intro {
    place-items: end center;
    padding: 2.8rem 1rem 1.2rem;
  }

  .schedule-intro::after { display: none; }
  .schedule-intro__copy { align-self: auto; }
  .schedule-intro__eyebrow { margin-bottom: 0.3rem; }
  .schedule-intro h1 { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 0.92; }
  .schedule-intro h1 br { display: none; }
  .schedule-intro__copy > p:last-child { margin-top: 0.45rem; font-size: 0.7rem; line-height: 1.35; }

  .schedule-page .schedule-back {
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.68rem;
  }

  .schedule-page .weekend-plan {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 1.1rem 0.85rem max(1rem, env(safe-area-inset-bottom));
    overflow: visible;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .schedule-heading { margin-bottom: 0.9rem; }
  .schedule-heading p { margin-bottom: 0.25rem; font-size: 0.58rem; }
  .schedule-heading h2 { font-size: 2rem; }

  .schedule-page .schedule-list { gap: 0.65rem; }

  .schedule-page .schedule-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: 0.7rem;
  }

  .schedule-page .schedule-date {
    width: 50px;
    height: 58px;
    background: linear-gradient(to bottom, var(--vermilion) 0 21px, #fff 21px 100%);
  }

  .schedule-page .schedule-date::before {
    top: -5px;
    left: 8px;
    width: 5px;
    height: 10px;
    box-shadow: 28px 0 #2e2c2d;
  }

  .schedule-page .schedule-date::after { inset: 21px 0 auto; }
  .schedule-page .schedule-date__day { top: 6px; font-size: 0.5rem; }
  .schedule-page .schedule-date__number { top: 27px; font-size: 1.45rem; }

  .schedule-page .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .schedule-slot + .schedule-slot {
    padding-top: 0.65rem;
    padding-left: 0;
    border-top: 1px solid rgba(116, 39, 37, 0.13);
    border-left: 0;
  }

  .schedule-page .schedule-time { margin-bottom: 0.25rem; font-size: 0.61rem; }
  .schedule-page .schedule-copy h3 { font-size: clamp(0.75rem, 3.3vw, 0.9rem); }
  .schedule-page .schedule-copy .schedule-detail { margin-top: 0.25rem; font-size: 0.62rem; }
}

/* Main navigation */
.site-menu {
  position: absolute;
  z-index: 30;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
}

.site-menu__toggle {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0.72rem;
  place-content: center;
  gap: 0.3rem;
  color: var(--ink);
  background: rgba(255, 253, 251, 0.84);
  border: 1px solid rgba(116, 39, 37, 0.18);
  border-radius: 50%;
  box-shadow: 0 0.4rem 1.25rem rgba(116, 39, 37, 0.1);
  backdrop-filter: blur(8px);
}

.site-menu__toggle > span:not(.visually-hidden) {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-menu__toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.site-menu__toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }

.site-menu__toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.site-menu__panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  width: max-content;
  min-width: 11rem;
  padding: 0.4rem;
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid rgba(116, 39, 37, 0.16);
  border-radius: 0.85rem;
  box-shadow: 0 0.8rem 2rem rgba(116, 39, 37, 0.16);
  backdrop-filter: blur(10px);
}

.site-menu__panel[hidden] { display: none; }

.site-menu__panel a {
  display: block;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 0.55rem;
}

.site-menu__panel a:hover,
.site-menu__panel a:focus-visible {
  color: #fff;
  background: var(--vermilion);
  outline: 0;
}

.site-menu__coming-soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  color: rgba(116, 39, 37, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  border-top: 1px solid rgba(116, 39, 37, 0.1);
  cursor: var(--site-cursor), auto;
  user-select: none;
}

.site-menu__coming-soon small {
  color: var(--vermilion);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Editorial weekend program */
.schedule-page .weekend-plan {
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  padding: clamp(2rem, 4.2vw, 4.5rem) clamp(2rem, 5.25vw, 5.5rem);
}

.schedule-heading {
  align-self: start;
  width: min(780px, 100%);
  margin: 0 auto clamp(1rem, 2.3vh, 1.65rem);
}

.schedule-heading h2 {
  font-family: "Allura", cursive;
  font-size: clamp(3.2rem, 5.3vw, 5.6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.8;
}

.schedule-page .schedule-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-self: stretch;
  gap: 0;
  width: min(780px, 100%);
  height: 100%;
  min-height: 0;
}

.schedule-page .schedule-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.45rem, 1vh, 0.8rem);
  align-content: center;
  align-items: start;
  min-height: 0;
  padding: clamp(0.85rem, 1.7vh, 1.25rem) 0;
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.schedule-page .schedule-item + .schedule-item {
  border-top: 1px solid rgba(185, 48, 54, 0.22) !important;
}

.schedule-page .schedule-date-label {
  margin: 0;
  color: var(--jade);
  font-size: clamp(0.68rem, 0.82vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.schedule-page .schedule-copy {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.schedule-page .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}

.schedule-page .schedule-slot {
  display: grid;
  align-content: center;
  min-width: 0;
}

.schedule-page .schedule-slot + .schedule-slot {
  padding: 0;
  border: 0;
}

.schedule-page .schedule-time {
  margin: 0 0 0.15rem;
  color: var(--jade);
  font-size: clamp(0.65rem, 0.78vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-page .schedule-daypart {
  margin: 0 0 0.16rem;
  color: #c79612;
  font-size: clamp(0.62rem, 0.74vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schedule-page .schedule-copy .schedule-event-title {
  margin: 0;
  color: var(--ink);
  font-family: "Allura", cursive;
  font-size: clamp(2.25rem, 3.7vw, 4.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.88;
}

.schedule-page .schedule-translation {
  margin: 0.35rem 0 0;
  color: var(--jade);
  font-size: clamp(0.66rem, 0.82vw, 0.8rem);
  font-weight: 700;
  line-height: 1.35;
}

.schedule-page .schedule-copy .schedule-detail {
  margin: 0.28rem 0 0;
  color: #80645d;
  font-size: clamp(0.62rem, 0.74vw, 0.72rem);
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .site-menu {
    top: max(0.65rem, env(safe-area-inset-top));
    right: max(0.65rem, env(safe-area-inset-right));
  }

  .site-menu__toggle {
    width: 2.7rem;
    height: 2.7rem;
  }

  .schedule-page {
    grid-template-rows: 132px minmax(0, 1fr);
  }

  .schedule-intro {
    padding: 2.45rem 1rem 0.8rem;
  }

  .schedule-intro__eyebrow { font-size: 0.52rem; }
  .schedule-intro h1 { font-size: clamp(1.75rem, 8.5vw, 2.35rem); }
  .schedule-intro__copy > p:last-child { font-size: 0.58rem; }

  .schedule-page .weekend-plan {
    grid-template-rows: auto minmax(0, 1fr);
    padding: 1.15rem 1.15rem max(1rem, env(safe-area-inset-bottom));
  }

  .schedule-heading { margin-bottom: 0.45rem; }
  .schedule-heading p { margin-bottom: 0.08rem; font-size: 0.52rem; }
  .schedule-heading h2 { font-size: 3rem; }

  .schedule-page .schedule-list {
    grid-template-rows: repeat(3, auto);
    height: auto;
  }

  .schedule-page .schedule-item {
    gap: 0.35rem;
    padding: 0.8rem 0;
  }

  .schedule-page .schedule-date-label {
    font-size: 0.55rem;
    letter-spacing: 0.13em;
  }

  .schedule-page .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .schedule-page .schedule-slot + .schedule-slot {
    padding-top: 0.7rem;
    border-top: 1px solid rgba(185, 48, 54, 0.14);
  }

  .schedule-page .schedule-time { font-size: 0.55rem; }
  .schedule-page .schedule-copy .schedule-event-title { font-size: clamp(2rem, 10vw, 2.65rem); }
  .schedule-page .schedule-translation { margin-top: 0.22rem; font-size: 0.62rem; }
  .schedule-page .schedule-copy .schedule-detail { margin-top: 0.18rem; font-size: 0.58rem; }
}

/* Keep the illustrated schedule unified after all legacy layout rules. */
body[data-page="schedule"] .schedule-page,
body[data-page="schedule"] .weekend-plan,
body[data-page="schedule"] .schedule-list,
body[data-page="schedule"] .schedule-item,
body[data-page="schedule"] .schedule-slot {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body[data-page="schedule"] .schedule-page {
  display: block !important;
  height: auto !important;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible !important;
}

body[data-page="schedule"] .weekend-plan {
  display: block !important;
  width: min(74rem, 100%) !important;
  height: auto !important;
  margin-inline: auto !important;
  padding: 0 !important;
}

body[data-page="schedule"] .schedule-list {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  height: auto !important;
}

body[data-page="schedule"] .schedule-slot + .schedule-slot {
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (max-width: 820px) {
  body[data-page="schedule"] .schedule-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 560px) {
  body[data-page="schedule"] .schedule-item--double .schedule-copy,
  body[data-page="schedule"] .schedule-item:has(.schedule-slot + .schedule-slot) .schedule-copy {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Editorial event features */
body[data-page="schedule"] {
  color: #272321;
  background: #fffdf9 !important;
}

body[data-page="schedule"]::before {
  background: #fffdf9 !important;
}

body[data-page="schedule"] .schedule-page {
  width: 100% !important;
  padding: 0 !important;
}

body[data-page="schedule"] .schedule-back {
  position: fixed;
  z-index: 40;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  color: #272321;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(39, 35, 33, 0.14);
  box-shadow: 0 0.4rem 1.25rem rgba(39, 35, 33, 0.08);
  backdrop-filter: blur(12px);
}

body[data-page="schedule"] .weekend-plan {
  width: 100% !important;
  max-width: none !important;
}

body[data-page="schedule"] .schedule-heading {
  display: grid;
  width: min(70rem, calc(100% - 3rem));
  min-height: 0;
  margin: 0 auto !important;
  padding: clamp(4.5rem, 6vw, 6rem) 0 clamp(2.25rem, 3vw, 3rem);
  place-content: start;
  text-align: left;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body[data-page="schedule"] .schedule-heading::before,
body[data-page="schedule"] .schedule-heading::after {
  display: none !important;
  content: none !important;
}

body[data-page="schedule"] .schedule-heading p {
  margin: 0 0 clamp(0.9rem, 1.5vw, 1.35rem);
  color: #63706a;
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.24em;
}

body[data-page="schedule"] .schedule-heading h1 {
  margin: 0;
  color: #272321;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.25rem, 6.5vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

body[data-page="schedule"] .schedule-heading > span {
  display: block;
  width: min(32rem, 100%);
  margin-top: clamp(1.15rem, 1.8vw, 1.6rem);
  padding-top: 0.9rem;
  color: #77706c;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  border-top: 1px solid rgba(39, 35, 33, 0.14);
}

body[data-page="schedule"] .schedule-list {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body[data-page="schedule"] .schedule-item.event-feature,
body[data-page="schedule"] .schedule-item.event-feature + .schedule-item.event-feature {
  display: grid !important;
  grid-template-columns: minmax(17rem, 1fr) minmax(18rem, 0.9fr) !important;
  gap: clamp(2rem, 3.5vw, 3.5rem) !important;
  align-items: center !important;
  width: 100%;
  min-height: 0;
  padding: clamp(2.25rem, 3.5vw, 3.5rem) max(5vw, calc((100vw - 70rem) / 2)) !important;
  text-align: left !important;
  background: #fffdf9 !important;
  border: 0 !important;
  outline: 0 !important;
}

body[data-page="schedule"] .schedule-item.event-feature:nth-child(even) {
  background: #e5f1ec !important;
}

body[data-page="schedule"] .schedule-item.event-feature .event-feature__copy,
body[data-page="schedule"] .schedule-item.event-feature .event-feature__visual {
  order: initial !important;
}

.event-feature__copy {
  width: min(31rem, 100%);
}

.event-feature__eyebrow,
.event-feature__meta-label {
  display: block;
  margin: 0;
  color: #68746e;
  font-size: clamp(0.62rem, 0.74vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.event-feature__title {
  margin: 0.7rem 0 0;
  color: #272321;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 4.5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.8;
}

.event-feature__emoji {
  display: inline-block;
  margin-left: 0.12em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 0.52em;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: 0.15em;
}

.event-feature__translation {
  margin: 0.85rem 0 0;
  color: var(--jade);
  font-size: clamp(0.72rem, 0.88vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.event-feature__rule {
  display: block;
  width: 8rem;
  height: 1px;
  margin: clamp(1.35rem, 2vw, 1.9rem) 0;
  background: rgba(39, 35, 33, 0.18);
}

.event-feature__date {
  margin-bottom: clamp(1.25rem, 2vw, 1.8rem);
}

.event-feature__meta-value {
  margin: 0.75rem 0 0;
  color: #3f3a37;
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.55;
}

.event-feature__venue {
  margin: 0.65rem 0 0;
  color: #272321;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 3.2vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.event-feature__detail {
  max-width: 29rem;
  margin: 0.9rem 0 0;
  color: #68615d;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 400;
  line-height: 1.7;
}

.event-feature__address {
  margin: 1rem 0 0;
  color: #4e4946;
  font-size: clamp(0.7rem, 0.85vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.65;
  text-transform: uppercase;
}

.event-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.75rem;
  margin-top: 1.35rem;
}

.event-feature__link {
  color: #272321;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.event-feature__link:hover,
.event-feature__link:focus-visible {
  color: var(--vermilion);
  outline: 0;
}

.event-feature__visual {
  align-self: center !important;
  justify-self: end;
  width: min(28rem, 100%);
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
}

.event-feature__visual img {
  display: block;
  width: 100% !important;
  height: clamp(14rem, 18vw, 17rem) !important;
  max-height: 17rem !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
}

.event-feature__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  color: #5f5955;
}

.event-feature__caption-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  font-style: italic;
  line-height: 1;
}

.event-feature__caption-date {
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  body[data-page="schedule"] .schedule-heading {
    min-height: 0;
    width: min(100% - 2.5rem, 42rem);
    padding: 5rem 0 2.5rem;
  }

  body[data-page="schedule"] .schedule-heading h1 {
    font-size: clamp(4.25rem, 18vw, 6.5rem);
  }

  body[data-page="schedule"] .schedule-item.event-feature,
  body[data-page="schedule"] .schedule-item.event-feature + .schedule-item.event-feature {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.25rem !important;
    min-height: 0;
    padding: 3.5rem 1.25rem !important;
  }

  .event-feature__copy {
    width: min(38rem, 100%);
  }

  .event-feature__visual {
    justify-self: start;
    width: min(28rem, 100%);
  }

  .event-feature__title {
    font-size: clamp(3.5rem, 15vw, 5.25rem);
  }

  .event-feature__venue {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .event-feature__visual img {
    height: clamp(13rem, 58vw, 17rem) !important;
  }
}

@media (max-width: 480px) {
  .event-feature__caption {
    display: grid;
  }

  .event-feature__caption-date {
    text-align: left;
  }
}

/* Single-screen tabbed weekend schedule */
body[data-page="schedule"] {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden !important;
}

body[data-page="schedule"] .schedule-page {
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body[data-page="schedule"] .weekend-plan {
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr);
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body[data-page="schedule"] .schedule-heading {
  width: min(70rem, calc(100% - 3rem));
  padding: clamp(3.25rem, 5vh, 4.5rem) 0 clamp(0.8rem, 1.6vh, 1.25rem);
}

body[data-page="schedule"] .schedule-heading p {
  margin-bottom: clamp(0.55rem, 1vh, 0.8rem);
}

body[data-page="schedule"] .schedule-heading h1 {
  font-size: clamp(3.75rem, 8vh, 5.75rem);
}

body[data-page="schedule"] .schedule-heading > span {
  margin-top: clamp(0.75rem, 1.3vh, 1rem);
  padding-top: clamp(0.55rem, 1vh, 0.75rem);
  line-height: 1.35;
}

.schedule-tabs {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(70rem, calc(100% - 3rem));
  margin: 0 auto;
  border-top: 1px solid rgba(39, 35, 33, 0.14);
  border-bottom: 1px solid rgba(39, 35, 33, 0.14);
}

.schedule-tab {
  position: relative;
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  padding: clamp(0.75rem, 1.4vh, 1rem) 0.8rem;
  color: #746d68;
  background: transparent;
  border: 0;
  font-family: "Space Mono", monospace;
  place-content: center;
  text-align: center;
}

.schedule-tab + .schedule-tab {
  border-left: 1px solid rgba(39, 35, 33, 0.12);
}

.schedule-tab:last-child {
  border-left: 0;
}

.schedule-tab::after {
  position: absolute;
  right: 0.75rem;
  bottom: -1px;
  left: 0.75rem;
  height: 3px;
  content: "";
  background: transparent;
}

.schedule-tab:hover {
  color: #272321;
  background: rgba(229, 241, 236, 0.45);
}

.schedule-tab:focus-visible {
  z-index: 1;
  outline: 2px solid var(--jade);
  outline-offset: -2px;
}

.schedule-tab[aria-selected="true"] {
  color: #272321;
  background: #e5f1ec;
}

.schedule-tab[aria-selected="true"]::after {
  background: var(--jade);
}

.schedule-tab__date {
  font-size: clamp(0.64rem, 0.8vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body[data-page="schedule"] .schedule-list {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body[data-page="schedule"] .schedule-item.event-feature,
body[data-page="schedule"] .schedule-item.event-feature + .schedule-item.event-feature {
  grid-template-columns: minmax(17rem, 1fr) minmax(18rem, 0.9fr) !important;
  gap: clamp(2rem, 3.5vw, 3.5rem) !important;
  width: min(70rem, calc(100% - 3rem));
  height: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 2.5vh, 2rem) 0 !important;
  background: #fffdf9 !important;
}

body[data-page="schedule"] .schedule-item.event-feature[hidden] {
  display: none !important;
}

.event-feature__copy {
  align-self: center;
}

.event-feature__title {
  font-size: clamp(3.25rem, 6vh, 4.35rem);
}

.event-feature__rule {
  margin: clamp(1rem, 1.8vh, 1.4rem) 0;
}

.event-feature__date {
  margin-bottom: clamp(0.9rem, 1.5vh, 1.2rem);
}

.event-feature__detail {
  margin-top: 0.65rem;
}

.event-feature__address {
  margin-top: 0.7rem;
}

.event-feature__actions {
  margin-top: 0.9rem;
}

.event-feature__visual {
  width: min(26rem, 100%);
}

.event-feature__visual img {
  height: clamp(12rem, 23vh, 15rem) !important;
  max-height: 15rem !important;
}

.event-feature__caption {
  display: none;
}

@media (max-width: 620px) {
  body[data-page="schedule"] .schedule-back {
    top: 0.65rem;
    left: 0.65rem;
  }

  body[data-page="schedule"] .schedule-heading {
    width: min(100% - 2rem, 36rem);
    padding: 3.25rem 0 0.7rem;
  }

  body[data-page="schedule"] .schedule-heading p {
    margin-bottom: 0.35rem;
    font-size: 0.58rem;
  }

  body[data-page="schedule"] .schedule-heading h1 {
    font-size: clamp(3.2rem, 15vw, 4.5rem);
  }

  body[data-page="schedule"] .schedule-heading > span {
    margin-top: 0.55rem;
    padding-top: 0.45rem;
    font-size: 0.72rem;
  }

  .schedule-tabs {
    grid-template-columns: repeat(4, minmax(8.5rem, 1fr));
    width: calc(100% - 2rem);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .schedule-tabs::-webkit-scrollbar {
    display: none;
  }

  .schedule-tab {
    padding: 0.65rem 0.7rem;
  }

  body[data-page="schedule"] .schedule-item.event-feature,
  body[data-page="schedule"] .schedule-item.event-feature + .schedule-item.event-feature {
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: center !important;
    gap: 0.85rem !important;
    width: calc(100% - 2rem);
    padding: 0.75rem 0 !important;
  }

  .event-feature__eyebrow {
    display: none;
  }

  .event-feature__title {
    margin-top: 0;
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .event-feature__translation {
    margin-top: 0.35rem;
  }

  .event-feature__rule {
    margin: 0.65rem 0;
  }

  .event-feature__date {
    margin-bottom: 0.55rem;
  }

  .event-feature__meta-value {
    margin-top: 0.3rem;
  }

  .event-feature__venue {
    margin-top: 0.3rem;
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .event-feature__detail,
  .event-feature__address,
  .event-feature__actions {
    margin-top: 0.45rem;
  }

  .event-feature__visual {
    justify-self: start;
    width: min(18rem, 100%);
  }

  .event-feature__visual img {
    height: clamp(8rem, 25vh, 10rem) !important;
    max-height: 10rem !important;
  }
}

/* Three date tabs, with both Saturday events sharing one panel. */
.schedule-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#schedule-list > .event-feature[hidden] {
  display: none !important;
}

.event-feature__visual {
  position: relative;
  overflow: hidden;
}

.event-feature__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 2.75rem 0.9rem 0.8rem;
  color: #fff;
  background: linear-gradient(to bottom, transparent, rgba(22, 20, 19, 0.82));
  pointer-events: none;
}

.event-feature__caption-title {
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  font-style: normal;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.event-feature__caption-date {
  max-width: 50%;
  font-size: clamp(0.54rem, 0.65vw, 0.66rem);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#schedule-list.schedule-list--double {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 0;
  align-content: stretch !important;
  align-items: stretch !important;
  width: min(70rem, calc(100% - 3rem)) !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: clamp(0.55rem, 1.2vh, 0.9rem) 0 !important;
}

#schedule-list.schedule-list--double > .event-feature {
  grid-template-columns: minmax(17rem, 1fr) minmax(16rem, 0.8fr) !important;
  gap: clamp(2rem, 4vw, 4rem) !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(0.75rem, 1.4vh, 1rem) 0 !important;
}

#schedule-list.schedule-list--double > .event-feature + .event-feature {
  border-top: 0 !important;
  border-left: 0 !important;
}

.schedule-list--double .event-feature__copy {
  width: 100%;
}

.schedule-list--double .event-feature__eyebrow {
  display: block;
}

.schedule-list--double .event-feature__title {
  margin-top: 0;
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
}

.schedule-list--double .event-feature__translation {
  margin-top: 0.5rem;
  font-size: clamp(0.62rem, 0.72vw, 0.72rem);
}

.schedule-list--double .event-feature__rule {
  margin: clamp(0.75rem, 1.3vh, 1rem) 0;
}

.schedule-list--double .event-feature__date {
  margin-bottom: clamp(0.65rem, 1vh, 0.85rem);
}

.schedule-list--double .event-feature__meta-value {
  margin-top: 0.4rem;
  font-size: clamp(0.7rem, 0.8vw, 0.82rem);
}

.schedule-list--double .event-feature__venue {
  margin-top: 0.35rem;
  font-size: clamp(1.85rem, 2.4vw, 2.4rem);
}

.schedule-list--double .event-feature__detail,
.schedule-list--double .event-feature__address,
.schedule-list--double .event-feature__actions {
  margin-top: 0.5rem;
  font-size: clamp(0.62rem, 0.7vw, 0.72rem);
}

.schedule-list--double .event-feature__visual {
  width: min(26rem, 100%);
}

.schedule-list--double .event-feature__visual img {
  height: clamp(12rem, 23vh, 15rem) !important;
  max-height: 15rem !important;
}

.schedule-list--double .event-feature__caption {
  display: grid !important;
  gap: 0.3rem;
  padding: 2.3rem 0.65rem 0.6rem;
}

.schedule-list--double .event-feature__caption-date {
  max-width: none;
  text-align: left;
}

@media (max-width: 620px) {
  .schedule-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #schedule-list.schedule-list--double {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem;
    width: calc(100% - 2rem) !important;
    padding: 0.5rem 0 !important;
  }

  #schedule-list.schedule-list--double > .event-feature {
    grid-template-columns: minmax(0, 1.1fr) minmax(7.5rem, 0.9fr) !important;
    gap: 0.75rem !important;
    padding: 0 !important;
  }

  #schedule-list.schedule-list--double > .event-feature + .event-feature {
    padding-top: 0.5rem !important;
    border-top: 0 !important;
    border-left: 0 !important;
  }

  .schedule-list--double .event-feature__title {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .schedule-list--double .event-feature__rule,
  .schedule-list--double .event-feature__detail,
  .schedule-list--double .event-feature__address,
  .schedule-list--double .event-feature__actions {
    display: none;
  }

  .schedule-list--double .event-feature__date {
    margin: 0.45rem 0;
  }

  .schedule-list--double .event-feature__visual img {
    height: clamp(8rem, 25vh, 10rem) !important;
    max-height: 10rem !important;
  }

  .event-feature__caption {
    display: grid !important;
    gap: 0.2rem;
  }

  .event-feature__caption-date {
    max-width: none;
    text-align: left;
  }
}

/* Schedule type system: Instrument Serif display + Space Mono body. */
body[data-page="schedule"] .schedule-page {
  color: #73706c;
  font-family: "Space Mono", "Noto Sans SC", monospace;
}

body[data-page="schedule"] .schedule-heading h1,
.event-feature__title,
.event-feature__venue {
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

body[data-page="schedule"] .schedule-heading p,
body[data-page="schedule"] .schedule-heading > span,
.event-feature__eyebrow,
.event-feature__meta-label,
.event-feature__meta-value,
.event-feature__translation,
.event-feature__detail,
.event-feature__address,
.event-feature__actions,
.event-feature__caption-date {
  color: #73706c;
  font-family: "Space Mono", "Noto Sans SC", monospace;
}

body[data-page="schedule"] .schedule-heading > span {
  font-size: clamp(0.7rem, 0.82vw, 0.8rem);
}

.event-feature__eyebrow,
.event-feature__meta-label {
  font-size: clamp(0.58rem, 0.68vw, 0.68rem);
}

.event-feature__translation {
  color: var(--jade);
  font-size: clamp(0.76rem, 0.88vw, 0.88rem);
  font-weight: 700;
}

.schedule-list--double .event-feature__translation {
  color: var(--jade);
  font-size: clamp(0.76rem, 0.88vw, 0.88rem);
  font-weight: 700;
}

.event-feature__detail {
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
}

.event-feature__address,
.event-feature__link {
  font-size: clamp(0.62rem, 0.7vw, 0.7rem);
}

.event-feature__caption-title {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* Keep single-event days close to the date navigation. */
#schedule-list:not(.schedule-list--double) > .event-feature {
  align-content: start !important;
  align-items: start !important;
  padding-top: 0 !important;
}

#schedule-list:not(.schedule-list--double) > .event-feature .event-feature__copy,
#schedule-list:not(.schedule-list--double) > .event-feature .event-feature__visual {
  align-self: start !important;
}

.event-feature__caption-date {
  color: #f4d06f;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* Match Saturday's event typography to Friday and Sunday. */
.schedule-list--double .event-feature__title {
  margin: 0.7rem 0 0;
  font-size: clamp(3.25rem, 6vh, 4.35rem);
}

.schedule-list--double .event-feature__translation {
  margin-top: 0.85rem;
}

.schedule-list--double .event-feature__rule {
  display: block;
  margin: clamp(1rem, 1.8vh, 1.4rem) 0;
}

.schedule-list--double .event-feature__venue {
  margin-top: 0.65rem;
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
}

.schedule-list--double .event-feature__detail {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(0.72rem, 0.82vw, 0.82rem);
}

.schedule-list--double .event-feature__address {
  display: block;
  margin-top: 0.7rem;
}

.schedule-list--double .event-feature__actions {
  display: flex;
  margin-top: 0.9rem;
}

.event-feature__venue {
  font-size: clamp(1.9rem, 2.5vw, 2.7rem);
}

/* Keep Saturday compact and match the other photo captions. */
#schedule-list.schedule-list--double {
  grid-template-rows: repeat(2, auto) !important;
  gap: clamp(1.1rem, 2.2vh, 1.75rem);
  align-content: start !important;
  padding-top: clamp(1.5rem, 3vh, 2.25rem) !important;
}

#schedule-list.schedule-list--double > .event-feature {
  align-content: start !important;
  align-items: start !important;
  height: auto;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#schedule-list.schedule-list--double > .event-feature .event-feature__copy,
#schedule-list.schedule-list--double > .event-feature .event-feature__visual {
  align-self: start !important;
}

.schedule-list--double .event-feature__caption {
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-list--double .event-feature__caption-date {
  max-width: 50%;
  text-align: right;
}

@media (max-width: 620px) {
  #schedule-list.schedule-list--double {
    grid-template-rows: repeat(2, auto) !important;
    padding-top: clamp(1rem, 2vh, 1.5rem) !important;
  }

  .schedule-list--double .event-feature__caption {
    display: flex !important;
  }

  .schedule-list--double .event-feature__caption-date {
    max-width: 50%;
    text-align: right;
  }
}

/* One shared event offset keeps every selected day perfectly aligned. */
body[data-page="schedule"] #schedule-list {
  padding-top: clamp(1.5rem, 3vh, 2.25rem) !important;
}

#schedule-list:not(.schedule-list--double) > .event-feature,
#schedule-list.schedule-list--double > .event-feature {
  padding-top: 0 !important;
}

@media (max-width: 620px) {
  body[data-page="schedule"] #schedule-list {
    padding-top: clamp(1rem, 2vh, 1.5rem) !important;
  }
}

/* RSVP page */
.is-locked .rsvp-page {
  visibility: hidden;
}

.schedule-rsvp,
.rsvp-back,
.rsvp-weekend {
  position: fixed;
  z-index: 40;
  top: max(1rem, env(safe-area-inset-top));
  padding: 0.6rem 0.85rem;
  color: #272321;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(39, 35, 33, 0.14);
  border-radius: 999px;
  box-shadow: 0 0.4rem 1.25rem rgba(39, 35, 33, 0.08);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.schedule-rsvp,
.rsvp-weekend {
  right: max(1rem, env(safe-area-inset-right));
}

.rsvp-back {
  left: max(1rem, env(safe-area-inset-left));
}

.schedule-rsvp:hover,
.schedule-rsvp:focus-visible,
.rsvp-back:hover,
.rsvp-back:focus-visible,
.rsvp-weekend:hover,
.rsvp-weekend:focus-visible {
  color: #fff;
  background: var(--jade);
  outline: 0;
}

body[data-page="rsvp"] {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  color: #73706c;
  background: #fffdf9;
  font-family: "Space Mono", "Noto Sans SC", monospace;
}

body[data-page="rsvp"]::before {
  background: #fffdf9;
}

.rsvp-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(4.75rem, 6vw, 6rem) clamp(1.25rem, 6vw, 6rem) clamp(3.5rem, 5vw, 5rem);
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.rsvp-shell {
  width: min(70rem, 100%);
  margin: 0 auto;
}

.rsvp-heading {
  width: 100%;
  margin-bottom: clamp(2.25rem, 3.5vw, 3.5rem);
}

.rsvp-heading > p,
.rsvp-form legend,
.rsvp-field > span {
  margin: 0;
  color: #73706c;
  font-size: clamp(0.66rem, 0.78vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rsvp-required {
  color: var(--vermilion);
  letter-spacing: 0;
}

.rsvp-heading h1 {
  margin: 0.7rem 0 0;
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.85;
}

.rsvp-heading__emoji,
.rsvp-event-emoji {
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.rsvp-heading__emoji {
  margin-left: 0.08em;
  font-size: 0.46em;
  vertical-align: 0.16em;
}

.rsvp-event-emoji {
  margin-left: 0.1em;
  font-size: 0.62em;
  vertical-align: 0.08em;
}

.rsvp-heading__dog-divider {
  position: relative;
  height: clamp(0.75rem, 1.4vw, 1rem);
  margin-top: 0.2rem;
}

.rsvp-heading__dog-divider::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(39, 35, 33, 0.14);
}

.rsvp-heading__dog-window {
  position: absolute;
  z-index: 1;
  right: max(clamp(0rem, 1.5vw, 0.75rem), calc(100% - 46rem));
  bottom: 0;
  display: block;
  width: clamp(9rem, 15vw, 12rem);
  height: clamp(6.5rem, 10vw, 8rem);
  overflow: hidden;
}

.rsvp-heading__dog-window img {
  position: absolute;
  right: 0;
  bottom: clamp(-6rem, -6.25vw, -4.4rem);
  display: block;
  width: 100%;
  height: auto;
}

.rsvp-heading > span {
  display: block;
  max-width: 39rem;
  margin-top: 0;
  padding-top: clamp(0.75rem, 1.2vw, 1rem);
  color: #73706c;
  border-top: 0;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.65;
}

.rsvp-form {
  display: grid;
  gap: clamp(2.25rem, 3.5vw, 3.5rem);
  max-height: min(62vh, 42rem);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(39, 35, 33, 0.14);
  box-shadow: 0 1.25rem 3rem rgba(39, 35, 33, 0.07);
  scrollbar-color: var(--jade) rgba(45, 112, 98, 0.08);
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.rsvp-form::-webkit-scrollbar {
  width: 0.55rem;
}

.rsvp-form::-webkit-scrollbar-track {
  background: rgba(45, 112, 98, 0.08);
}

.rsvp-form::-webkit-scrollbar-thumb {
  background: rgba(45, 112, 98, 0.68);
  border: 2px solid #fff;
  border-radius: 999px;
}

.rsvp-contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.rsvp-field {
  display: grid;
  gap: 0.65rem;
}

.rsvp-field input,
.rsvp-field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0 0.7rem;
  color: #272321;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(39, 35, 33, 0.28);
  border-radius: 0;
  outline: 0;
  font: inherit;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
}

.rsvp-field textarea {
  min-height: 5rem;
  resize: vertical;
  line-height: 1.65;
}

.rsvp-field input::placeholder,
.rsvp-field textarea::placeholder {
  color: #aaa5a1;
  opacity: 1;
}

.rsvp-field input:focus,
.rsvp-field textarea:focus {
  border-bottom-color: var(--jade);
  box-shadow: 0 2px 0 var(--jade);
}

.rsvp-events {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rsvp-events > p {
  margin: 0.55rem 0 1rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

.rsvp-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.rsvp-event-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: clamp(0.75rem, 1.4vw, 1rem);
  color: #5f5a57;
  border: 1px solid rgba(39, 35, 33, 0.18);
  transition: background 150ms ease, border-color 150ms ease;
}

.rsvp-event-option:hover {
  border-color: rgba(45, 112, 98, 0.55);
}

.rsvp-event-option:has(input:checked) {
  color: #272321;
  background: #e5f1ec;
  border-color: var(--jade);
}

.rsvp-event-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rsvp-event-option:has(input:focus-visible) {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.rsvp-check {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(39, 35, 33, 0.4);
}

.rsvp-event-option input:checked + .rsvp-check {
  background: var(--jade);
  border-color: var(--jade);
}

.rsvp-event-option input:checked + .rsvp-check::after {
  position: absolute;
  top: 0.12rem;
  left: 0.36rem;
  width: 0.32rem;
  height: 0.62rem;
  content: "";
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rsvp-event-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.rsvp-event-copy small {
  color: #73706c;
  font-size: clamp(0.58rem, 0.66vw, 0.66rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rsvp-event-copy strong {
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1;
}

.rsvp-event-option--decline {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 0.4rem);
}

.rsvp-field-error {
  min-height: 1.3em;
  margin: 0.75rem 0 0 !important;
  color: var(--vermilion);
  font-size: 0.72rem !important;
  font-weight: 700;
}

.rsvp-submit-row {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 0.75rem 0 0;
  background: transparent;
  border: 0;
}

.rsvp-submit-row button {
  min-width: 12rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.5rem;
  color: #fff;
  background: var(--jade);
  border: 0;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rsvp-submit-row button:hover,
.rsvp-submit-row button:focus-visible {
  background: #22594f;
  outline: 0;
}

.rsvp-submit-row button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.rsvp-submit-row p {
  margin: 0;
  color: #68635f;
  font-size: 0.74rem;
  line-height: 1.55;
  text-align: center;
}

.rsvp-dog-rain {
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.rsvp-dog-rain__dog {
  position: absolute;
  top: -9rem;
  left: var(--dog-x);
  display: block;
  width: var(--dog-size);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 0.35rem 0.45rem rgba(39, 35, 33, 0.14));
  animation: rsvp-dog-fall var(--dog-duration) cubic-bezier(0.2, 0.55, 0.35, 1) var(--dog-delay) forwards;
  will-change: transform, opacity;
}

@keyframes rsvp-dog-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -12vh, 0) rotate(0deg);
  }

  8%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--dog-drift), 145vh, 0) rotate(var(--dog-spin));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rsvp-dog-rain {
    display: none;
  }
}

@media (max-width: 700px) {
  .schedule-rsvp,
  .rsvp-back,
  .rsvp-weekend {
    top: 0.7rem;
  }

  .schedule-rsvp,
  .rsvp-weekend {
    right: 0.7rem;
  }

  .rsvp-back {
    left: 0.7rem;
  }

  .rsvp-page {
    padding: 4.75rem 1.15rem 3.25rem;
  }

  .rsvp-form {
    max-height: 64vh;
    padding: 1.1rem;
  }

  .rsvp-submit-row {
    margin: 0;
    padding: 0.75rem 0 0;
  }

  .rsvp-heading {
    margin-bottom: 2.25rem;
  }

  .rsvp-heading h1 {
    font-size: clamp(4.25rem, 21vw, 6rem);
  }

  .rsvp-heading__dog-window {
    right: 0;
    width: 7rem;
    height: 5rem;
  }

  .rsvp-heading__dog-window img {
    bottom: -3.5rem;
  }

  .rsvp-contact-fields,
  .rsvp-event-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rsvp-event-option--decline {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .rsvp-submit-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .rsvp-submit-row button {
    width: 100%;
  }
}

/* Keep a visible browser scrollbar on every unlocked page. */
html:not(.is-locked) {
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: rgba(45, 112, 98, 0.72) rgba(45, 112, 98, 0.08);
  scrollbar-width: thin;
}

html:not(.is-locked) body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

html:not(.is-locked)::-webkit-scrollbar {
  width: 0.65rem;
}

html:not(.is-locked)::-webkit-scrollbar-track {
  background: rgba(45, 112, 98, 0.08);
}

html:not(.is-locked)::-webkit-scrollbar-thumb {
  background: rgba(45, 112, 98, 0.72);
  border: 2px solid #fffdf9;
  border-radius: 999px;
}

.site-signoff {
  position: absolute;
  z-index: 45;
  bottom: max(0.45rem, env(safe-area-inset-bottom));
  left: 50%;
  margin: 0;
  color: #494542;
  font-family: "Space Mono", monospace;
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.rsvp-page {
  position: relative;
}

body[data-page="schedule"] .site-signoff--weekend {
  position: fixed;
  z-index: 1000;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 253, 249, 0.88);
  border-radius: 999px;
}

.is-locked .site-signoff--weekend {
  visibility: hidden;
}

/* Softer, more compact event headings. */
body[data-page="schedule"] .event-feature__title,
body[data-page="schedule"] .schedule-list--double .event-feature__title {
  color: #171615;
  font-size: clamp(2.5rem, 4.5vh, 3.4rem);
}

@media (max-width: 620px) {
  body[data-page="schedule"] .event-feature__title,
  body[data-page="schedule"] .schedule-list--double .event-feature__title {
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }
}

/* Minimal white invitation cover with a smaller centered artwork. */
html:has(body[data-page="invite"]) {
  background: #fff;
}

body[data-page="invite"],
body[data-page="invite"]::before,
body[data-page="invite"] .invite-page,
body[data-page="invite"] .invitation {
  background: #fff;
}

body[data-page="invite"] .invitation {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: center;
  gap: 0.25rem;
  padding: clamp(3.75rem, 6vh, 5.25rem) 1.5rem clamp(2.5rem, 4vh, 3.5rem);
}

.invitation__title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-align: center;
}

body[data-page="invite"] .invitation__art-frame {
  width: min(72rem, 78vw, 128vh);
  width: min(72rem, 78vw, 128dvh);
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
}

@media (max-width: 760px) {
  body[data-page="invite"] .invite-page {
    grid-template-rows: minmax(0, 1fr);
    max-width: 100%;
  }

  body[data-page="invite"] .invitation {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    gap: 0;
    padding: 4.75rem 0 2.75rem;
  }

  .invitation__title {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    overflow-wrap: anywhere;
  }

  body[data-page="invite"] .invitation__art-frame {
    position: relative;
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    height: min(94vw, calc(100dvh - 9rem));
    max-height: calc(100dvh - 9rem);
    aspect-ratio: auto;
    overflow: hidden;
  }

  body[data-page="invite"] .invitation__art {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    transform: translateX(-50%);
  }
}

/* Simple cover navigation with a future Our Story destination. */
.cover-nav {
  position: fixed;
  z-index: 50;
  top: max(1.35rem, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  color: #171615;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.cover-nav a {
  padding: 0.25rem 0 0.3rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}

.cover-nav a:hover,
.cover-nav a:focus-visible {
  color: var(--jade);
  border-bottom-color: currentColor;
  outline: 0;
}

.cover-nav a[aria-current="page"] {
  color: var(--jade);
  border-bottom-color: currentColor;
}

@media (max-width: 760px) {
  /* On phones the navigation belongs to the document and scrolls away. */
  .cover-nav {
    position: absolute;
  }
}

@media (max-width: 480px) {
  .cover-nav {
    top: max(1rem, env(safe-area-inset-top));
    gap: 0.65rem;
    font-size: 8.5px;
    letter-spacing: 0.065em;
  }
}

/* Our Story placeholder page. */
html:has(body[data-page="story"]),
body[data-page="story"],
body[data-page="story"]::before {
  background: #fff;
}

body[data-page="story"] {
  min-height: 100%;
  color: #73706c;
  font-family: "Space Mono", "Noto Sans SC", monospace;
}

.story-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(7rem, 11vh, 9rem) 1.5rem clamp(5rem, 8vh, 7rem);
  background: #fff;
}

.story-back {
  position: absolute;
  z-index: 35;
  top: max(1.15rem, env(safe-area-inset-top));
  left: max(1.25rem, env(safe-area-inset-left));
  padding: 0.45rem 0;
  color: #171615;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}

.story-back:hover,
.story-back:focus-visible {
  color: var(--jade);
  border-bottom-color: currentColor;
  outline: 0;
}

.story-shell {
  width: min(66rem, 100%);
  margin: 0 auto;
}

.story-heading {
  width: min(45rem, 100%);
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.story-heading__eyebrow,
.story-chapter__number {
  margin: 0;
  color: #6c7771;
  font-size: clamp(0.62rem, 0.78vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.story-heading h1 {
  margin: 0.55rem 0 0;
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4.75rem, 10vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.story-heading__intro {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  color: #625e5a;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  line-height: 1.85;
  border-top: 1px solid rgba(23, 22, 21, 0.15);
}

.story-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 22, 21, 0.15);
  border-bottom: 1px solid rgba(23, 22, 21, 0.15);
}

.story-chapter {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.story-chapter + .story-chapter {
  border-left: 1px solid rgba(23, 22, 21, 0.15);
}

.story-chapter h2 {
  margin: 1rem 0 0;
  color: #171615;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.story-chapter p:last-child {
  margin: 1rem 0 0;
  color: #6d6864;
  font-size: clamp(0.72rem, 0.86vw, 0.84rem);
  line-height: 1.8;
}

@media (max-width: 760px) {
  .story-back {
    top: 3.25rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .story-page {
    padding-top: 7.5rem;
  }

  .story-heading {
    margin-bottom: 2.75rem;
  }

  .story-chapters {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-chapter + .story-chapter {
    border-top: 1px solid rgba(23, 22, 21, 0.15);
    border-left: 0;
  }
}
