/* Live overlays only: the opening film, frozen scene and physical paper card are unchanged. */
.garden-vows-theme {
  --garden-ink: #5b3c2d;
  --garden-muted: #8b7159;
  --garden-gold: #b6a16e;
  --garden-paper: #f8f0e3;
  --garden-box: #c28f76;
  --garden-button-text: #eee7bd;
  --garden-sage: #505d48;
  --garden-sage-button: linear-gradient(135deg, #637057, var(--garden-sage) 60%, #46533f);
  --garden-bronze-button: linear-gradient(135deg, #795b30, #5c4325 60%, #50391f);
  --garden-pill: linear-gradient(110deg, #ac7b65, #a28e73 53%, #858d6d);
  --garden-card: linear-gradient(var(--garden-box), var(--garden-box));
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud {
  --ink: var(--garden-ink) !important;
  --paper: var(--garden-paper) !important;
  --accent: var(--garden-gold) !important;
  --card: var(--garden-box);
  --soft: #eae4d2;
  --caption: var(--garden-muted);
  --rule: #b6a16e70;
  color: var(--garden-ink);
}
.garden-vows-theme .moonlit-video-window > .invitation-video-copy,
.garden-vows-theme .moonlit-frame-scroll .invitation-video-copy { color: var(--garden-ink); }
.garden-vows-theme .invitation-video-copy h1 > em,
.garden-vows-theme .invitation-video-date { color: var(--garden-muted); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(h2, h3, .welcome-letter, .letter-signature, label, legend, summary) { color: var(--garden-ink); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(.journey-kicker, .letter-signature span, .wish-card cite) { color: var(--garden-muted); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(h2, h3) em,
.garden-vows-theme .moonlit-frame-scroll .story-moment > span { color: var(--garden-sage); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .letter-signature > span { color: var(--garden-sage); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .journey-footer > p,
.garden-vows-theme .moonlit-frame-scroll :is(#our-story, #celebration, #guest-guide, #rsvp, #wishes) > .journey-section-head > .journey-kicker { color: var(--garden-ink) !important; }
.garden-vows-theme .moonlit-frame-scroll .journey-kicker,
.garden-vows-theme .moonlit-frame-scroll .journey-section-head > .journey-kicker {
  font-size: clamp(10px, 3.6cqi, 12px);
  font-weight: 700;
  line-height: 1.6;
}

/* Both opening messages share the moving card's centre and scale with the film. */
.garden-vows-theme .moonlit-video-window > .invitation-video-copy.garden-card-tracked {
  inset: auto;
  left: 0;
  top: 0;
  width: 360px;
  height: 540px;
  margin: 0;
  padding: 0;
  transform-origin: 0 0;
  transition: none;
  container-type: inline-size;
}
.garden-vows-theme .moonlit-video-window > .garden-card-tracked :is(.garden-vows-invited, .garden-vows-people) {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 36px 32px;
  box-sizing: border-box;
}
.garden-vows-theme .moonlit-video-window > .garden-card-tracked .garden-vows-invited { font-size: 32px; line-height: 1.35; }
.garden-vows-theme .moonlit-video-window > .garden-card-tracked .garden-vows-invited > em { font-size: 48px; line-height: 1.2; }
.garden-vows-theme .moonlit-video-window > .garden-card-tracked .garden-vows-people h1 { font-size: var(--garden-tracked-name-size, 40px); line-height: 1.05; }
.garden-vows-theme .moonlit-video-window > .garden-card-tracked .invitation-video-date { margin-top: 16px; font-size: 16px; line-height: 1.5; }

/* A single botanical ribbon for the three invitation chapters. */
.garden-vows-theme .moonlit-frame-scroll .journey-nav {
  top: 8px;
  width: calc(100% - 20px);
  min-height: 54px;
  margin: 8px 10px 18px;
  padding: 6px 13px;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  border: 1px solid #c4aa79;
  border-radius: 999px;
  background-image: url('garden-vows-ornament.svg'), var(--garden-pill);
  background-size: 100% 100%;
  color: #fff8e9;
  box-shadow: 0 7px 16px #674a3033, inset 0 1px 0 #fff6dd66;
  scrollbar-width: none;
}
.garden-vows-theme .moonlit-frame-scroll .journey-nav a {
  position: relative;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  color: #fff8e9;
  font: 400 clamp(11px, 4.5cqi, 15px)/1.35 Studio, Arial, sans-serif;
  text-shadow: 0 1px 2px #5e422c44;
  text-decoration: none;
}
.garden-vows-theme .moonlit-frame-scroll .journey-nav a:not(:last-child)::after { content: '✦'; position: absolute; right: -3px; color: #eddaa6; font-size: 7px; }
.garden-vows-theme .moonlit-frame-scroll .journey-nav a:hover,
.garden-vows-theme .moonlit-frame-scroll .journey-nav a[aria-current] { background: #fff8e91c; }

/* Terracotta overlay boxes use the supplied colour; the card in the video stays intact. */
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(.journey-event, .guide-grid article, .rsvp-form, .wishes-layout > .journey-form, .wish-card, .response-summary, .story-art, .personalise-sample details, .journey-form fieldset) {
  --garden-ink: #402819;
  --garden-muted: var(--garden-ink);
  --caption: var(--garden-ink);
  border: 1px solid #b6a16e70;
  border-radius: 20px;
  background-image: var(--garden-card);
  background-size: auto, 256px;
  background-color: var(--garden-box);
  color: var(--garden-ink);
  box-shadow: 0 9px 20px -12px #69452e55, inset 0 1px 0 #fffdf5;
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .story-art {
  overflow: hidden;
  justify-content: flex-start;
  min-height: 0;
  padding: clamp(88px, calc(28cqi + 12px), 140px) clamp(18px, 6cqi, 32px) 30px;
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .story-art > img { border-radius: inherit; object-position: center top; }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .story-art blockquote {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(17px, 7.2cqi, 28px);
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .story-art > span {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  font-size: clamp(10px, 3.5cqi, 12px);
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .event-date {
  border: 1px solid #b6a16e80;
  border-radius: 13px;
  background: var(--garden-bronze-button);
  color: var(--garden-button-text);
  box-shadow: inset 0 1px 0 #fff3c82e, 0 4px 9px #5c3d2026;
}
.garden-vows-theme .invitation-video-date { display: inline-block; max-width: 100%; padding: 6px 12px; border: 1px solid #aa936b; border-radius: 999px; background: var(--garden-bronze-button); color: var(--garden-button-text); text-shadow: none; box-shadow: inset 0 1px 0 #fff3c82e, 0 4px 9px #5c3d2026; }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .journey-faq details { --garden-ink: #402819; --garden-muted: var(--garden-ink); --caption: var(--garden-ink); margin-top: 9px; padding: 14px; border: 1px solid #b6a16e60; border-radius: 15px; background: var(--garden-box); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .journey-faq summary { font-size: clamp(17px, 6cqi, 23px); }
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea) {
  border: 1px solid #b6a16e8c;
  border-radius: 12px;
  background: #fffbf2d9;
  color: var(--garden-ink);
  box-shadow: inset 0 2px 4px #6f4b2710;
}
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud :is(input, select, textarea):focus { outline-color: #7e8965; box-shadow: 0 0 0 3px #9ca78026; }
.garden-vows-theme .moonlit-frame-scroll .journey-form :is(input[type="radio"], input[type="checkbox"]) { accent-color: #7e8965; }
.garden-vows-theme .moonlit-frame-scroll .journey-form fieldset {
  display: flow-root;
  width: 100%;
  min-inline-size: 0;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 16px;
}
.garden-vows-theme .moonlit-frame-scroll .journey-form legend {
  float: left;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 13px;
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 4.5cqi, 15px);
  line-height: 1.5;
}
.garden-vows-theme .moonlit-frame-scroll .journey-form legend + * { clear: both; }
.garden-vows-theme .moonlit-frame-scroll .journey-form :is(.radio-label, .event-choice) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: flex-start;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.garden-vows-theme .moonlit-frame-scroll .journey-form :is(.radio-label, .event-choice) input { flex-shrink: 0; margin-top: 2px; }
.garden-vows-theme .moonlit-frame-scroll .journey-form .event-choice > span { min-width: 0; overflow-wrap: anywhere; }

.garden-vows-theme .moonlit-frame-scroll .journey-button {
  border: 1px solid #baa06b;
  border-radius: 999px;
  padding: 13px 21px;
  background-image: url('garden-vows-ornament.svg'), var(--garden-pill);
  background-size: 100% 100%;
  color: #fff8e9;
  text-shadow: 0 1px 2px #5e422c44;
  box-shadow: 0 5px 13px #674a3026, inset 0 1px 0 #fff6dd66;
}
.garden-vows-theme .moonlit-frame-scroll .journey-link {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #aa936b;
  border-radius: 999px;
  background: var(--garden-bronze-button);
  color: var(--garden-button-text);
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #fff3c82e, 0 5px 10px #5c3d2033;
}
.garden-vows-theme .moonlit-frame-scroll .journey-link:is(.event-calendar, .calendar-download, .share-invitation) { background: var(--garden-sage-button); color: var(--garden-button-text); }
.garden-vows-theme .moonlit-frame-scroll :is(.journey-button, .journey-link):hover { transform: none; filter: brightness(1.04); }
.garden-vows-theme .moonlit-frame-scroll :is(.journey-nav a, .journey-button, .journey-link):focus-visible { outline: 2px solid #7e8965; outline-offset: 3px; }
/* Event cards: date beside the introduction, then full-width facts and actions. */
.garden-vows-theme .moonlit-frame-scroll .journey-shell.cloud .journey-event {
  display: grid;
  grid-template-columns: clamp(44px, 17cqi, 70px) minmax(0, 1fr);
  gap: 0 clamp(12px, 4cqi, 22px);
  align-items: start;
  padding: clamp(14px, 5cqi, 24px);
}
.garden-vows-theme .moonlit-frame-scroll .journey-event .journey-event-body { display: contents; }
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-date {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 10px 4px;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-date > span { font-size: 9px; line-height: 1.3; letter-spacing: .06em; }
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-date strong { font-size: clamp(26px, 10cqi, 36px); line-height: 1.05; }
.garden-vows-theme .moonlit-frame-scroll .journey-event-body > .journey-kicker {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(9px, 3.2cqi, 12px);
  line-height: 1.5;
  letter-spacing: .12em;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event-body > h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 5px 0 7px;
  font-size: clamp(20px, 8cqi, 34px);
  line-height: 1.1;
  letter-spacing: -.4px;
  overflow-wrap: anywhere;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event-body > p:not(.journey-kicker) {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font: 400 clamp(13px, 4.5cqi, 17px)/1.55 Editorial, Georgia, serif;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-facts {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 18px 0 0;
  padding-top: 15px;
  border-top: 1px dashed #9b714b66;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-facts > span { align-items: center; gap: 6px; font-size: clamp(9px, 3.4cqi, 13px); line-height: 1.5; }
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-facts svg { width: 13px; height: 13px; margin: 0; color: var(--garden-ink); opacity: .7; }
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-buttons {
  grid-column: 1 / -1;
  grid-row: 5;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px !important;
  margin: 18px 0 0;
}
.garden-vows-theme .moonlit-frame-scroll .journey-event .event-buttons > .journey-link {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 7px;
  white-space: normal;
  font-size: clamp(9px, 3.25cqi, 12px) !important;
  font-weight: 700;
  line-height: 1.35;
}
.garden-vows-theme .moonlit-frame-scroll .journey-countdown :is(p, .journey-kicker, .countdown) { color: var(--garden-ink) !important; }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .journey-link { color: var(--garden-button-text) !important; }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .countdown > div { width: auto; padding: 8px 2px; border: 1px solid #aa936b; border-radius: 12px; background: var(--garden-bronze-button); color: var(--garden-button-text); }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .countdown :is(strong, span) { color: var(--garden-button-text); }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .countdown strong { font-size: clamp(19px, 8cqi, 32px); }
.garden-vows-theme .moonlit-frame-scroll .journey-countdown .countdown span { font-size: 8px; letter-spacing: .02em; }

.garden-vows-theme .calendar-choice { --garden-ink: #402819; border-color: #b6a16e; border-radius: 24px; background-image: var(--garden-card); color: var(--garden-ink); }
.garden-vows-theme .calendar-choice :is(h2, p) { color: var(--garden-ink); }
.garden-vows-theme .calendar-choice :is(a, button) { border: 1px solid #aa936b; border-radius: 999px; background: var(--garden-bronze-button); color: var(--garden-button-text); }
.garden-vows-theme .calendar-choice a { background: var(--garden-sage-button); }
@media (prefers-reduced-motion: reduce) {
  .garden-vows-theme .moonlit-frame-scroll :is(.journey-button, .journey-link) { transition: none; }
}
