/* ---------------------------------------------------------------------------
   custom layer — additions for the vanilla-JS clone only.
   The generated original bundle lives in site.css and is never edited here.
   Sections: 1 intro  2 hero  3 reveals  4 music  5 scratch  6 RSVP  7 a11y
   --------------------------------------------------------------------------- */

/* 1. Intro overlay -------------------------------------------------------- */
#intro {
  -webkit-tap-highlight-color: transparent;
}
#intro[data-state="fading"] {
  pointer-events: none;
}
#intro video {
  object-fit: cover;
}

/* 2. Hero text ------------------------------------------------------------
   The original markup relies on transition-opacity; the bundle is missing the
   duration-[2000ms] utility, so spell the hero fade out here. */
#hero-text {
  transition: opacity 2000ms ease-out;
}

/* 3. Reveal wrappers ------------------------------------------------------
   State is kept in inline styles so the geometry harness can normalise it,
   exactly like the framer-motion output it replaces. */

/* 4. Music toggle --------------------------------------------------------- */
#music-toggle {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out,
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#music-toggle svg {
  transition: opacity 0.25s ease-out;
}

/* 5. Scratch card --------------------------------------------------------- */
#scratch-canvas {
  touch-action: none;
  cursor: crosshair;
  transition: opacity 0.7s ease-out;
}
#scratch-canvas[data-done="1"] {
  opacity: 0;
  pointer-events: none;
}

/* 6. RSVP ----------------------------------------------------------------- */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: opacity 0.7s ease-out, filter 0.7s ease-out,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.rsvp-form.is-open {
  opacity: 1;
  filter: none;
  transform: none;
}
.rsvp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.rsvp-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: hsl(var(--background));
}
.rsvp-input,
.rsvp-textarea {
  display: flex;
  width: 100%;
  background: transparent;
  border: 1px solid hsl(var(--background) / 0.2);
  border-radius: var(--radius);
  color: hsl(var(--background));
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.rsvp-input {
  height: 2.5rem;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
}
.rsvp-textarea {
  min-height: 100px;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}
.rsvp-input::placeholder,
.rsvp-textarea::placeholder {
  color: hsl(var(--background) / 0.4);
}
.rsvp-input:focus,
.rsvp-textarea:focus {
  outline: none;
  border-color: hsl(var(--background) / 0.5);
  box-shadow: 0 0 0 1px hsl(var(--background) / 0.35);
}
.rsvp-form [aria-invalid="true"] {
  border-color: hsl(var(--destructive) / 0.9);
  box-shadow: 0 0 0 1px hsl(var(--destructive) / 0.5);
}
.rsvp-radios {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.rsvp-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}
.rsvp-radio input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rsvp-radio__dot {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 1px solid hsl(var(--background) / 0.4);
  border-radius: 9999px;
  transition: border-color 0.3s ease-out;
}
.rsvp-radio__dot img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.rsvp-radio input:checked ~ .rsvp-radio__dot img {
  opacity: 1;
  transform: scale(1);
}
.rsvp-radio input:focus-visible ~ .rsvp-radio__dot {
  box-shadow: 0 0 0 1px hsl(var(--background) / 0.6);
}
.rsvp-radio:hover .rsvp-radio__dot {
  border-color: hsl(var(--background) / 0.7);
}
.rsvp-radio__text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
  color: hsl(var(--background));
}
.rsvp-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.rsvp-stepper__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid hsl(var(--background) / 0.4);
  border-radius: 9999px;
  background: transparent;
  color: hsl(var(--background));
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}
.rsvp-stepper__btn:hover:not(:disabled) {
  background: hsl(var(--background) / 0.05);
}
.rsvp-stepper__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.rsvp-stepper__value {
  min-width: 110px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: hsl(var(--background));
}
.rsvp-people {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.rsvp-person__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--background) / 0.6);
}
.rsvp-error {
  min-height: 1.25rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: hsl(6 70% 76%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.rsvp-error.is-visible {
  opacity: 1;
}
.rsvp-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.rsvp-submit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: hsl(var(--background));
  cursor: pointer;
}
.rsvp-submit__outer {
  display: block;
  border: 1px solid hsl(var(--background) / 0.4);
  padding: 3px;
  transition: border-color 0.5s ease-out;
}
.rsvp-submit__inner {
  display: block;
  border: 1px solid hsl(var(--background) / 0.2);
  padding: 0.75rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background-color 0.5s ease-out, color 0.5s ease-out;
}
.rsvp-submit:hover:not(:disabled) .rsvp-submit__outer {
  border-color: hsl(var(--background) / 0.7);
}
.rsvp-submit:hover:not(:disabled) .rsvp-submit__inner {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}
.rsvp-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.rsvp-submit:focus-visible {
  outline: 2px solid hsl(var(--background) / 0.7);
  outline-offset: 4px;
}
.rsvp-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 0 2rem;
  text-align: center;
  animation: rsvp-panel-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsvp-panel__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
  color: hsl(var(--background));
}
.rsvp-panel__text {
  max-width: 30rem;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: hsl(var(--background) / 0.8);
}
@keyframes rsvp-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* 6b. RSVP confirmation: fullscreen video -> ivory gratitude panel --------- */
.rsvp-confirmation {
  background: hsl(var(--ivory));
}
.rsvp-confirm__video {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--ivory));
}
.rsvp-confirm__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rsvp-confirm__veil {
  position: absolute;
  inset: 0;
  background: hsl(var(--ivory));
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease-in-out;
}
.rsvp-confirm__panel {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-out 0.3s;
}
.rsvp-confirm--visible .rsvp-confirm__panel {
  opacity: 1;
}
.rsvp-confirm__title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.15;
  color: hsl(var(--sage-dark));
  text-wrap: balance;
}
.rsvp-confirm__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 42rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.625;
  color: hsl(var(--sage-dark));
}
.rsvp-confirm__lead {
  margin: 1rem 0 0;
  font-size: 13px;
  font-weight: 500;
  color: hsl(var(--sage-dark) / 0.9);
}
.rsvp-confirm__date {
  margin: 0;
  font-size: 13px;
  text-transform: capitalize;
  color: hsl(var(--sage-dark) / 0.8);
}
.rsvp-confirm__names {
  margin: 2.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: hsl(var(--sage-dark) / 0.8);
}
.rsvp-confirm__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}
.rsvp-confirm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid hsl(var(--sage-dark) / 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: hsl(var(--sage-dark));
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease-out, color 0.2s ease-out,
    border-color 0.2s ease-out;
}
.rsvp-confirm__btn:hover {
  background: hsl(var(--sage-dark));
  border-color: hsl(var(--sage-dark));
  color: hsl(var(--primary-foreground));
}
.rsvp-confirm__btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}
.rsvp-confirm__fine {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--sage-dark) / 0.7);
}
@media (min-width: 640px) {
  .rsvp-confirm__actions {
    flex-direction: row;
  }
}
@media (min-width: 768px) {
  .rsvp-confirm__title {
    font-size: 3rem;
  }
  .rsvp-confirm__copy {
    font-size: 17px;
  }
  .rsvp-confirm__lead,
  .rsvp-confirm__date {
    font-size: 15px;
  }
  .rsvp-confirm__names {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .rsvp-confirm__title {
    font-size: 3.75rem;
  }
}
/* declined variant: no video, compact centred block (the section carries section-padding) */
.rsvp-confirm--declined .rsvp-confirm__panel {
  min-height: 0;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0;
  opacity: 1;
}
.rsvp-confirm--declined .rsvp-confirm__title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}
.rsvp-confirm--declined .rsvp-confirm__copy--declined {
  color: hsl(var(--sage-dark) / 0.8);
  font-size: 15px;
}
.rsvp-confirm--declined .rsvp-confirm__names {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: hsl(var(--sage-dark) / 0.6);
}
@media (min-width: 768px) {
  .rsvp-confirm--declined .rsvp-confirm__title {
    font-size: 3.75rem;
  }
}


/* 6c. RSVP contact card (replaces the envelope when rsvp.contacts is non-empty) */
.rsvp-contacts {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--foreground) / 0.12);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -28px hsl(var(--foreground) / 0.55);
  overflow: hidden;
}
.rsvp-contacts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rsvp-contacts__item + .rsvp-contacts__item {
  border-top: 1px solid hsl(var(--foreground) / 0.14);
}
.rsvp-contacts__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.5rem;
  padding: 0.875rem 1.5rem;
  text-decoration: none;
  color: hsl(var(--foreground));
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s ease-out;
}
.rsvp-contacts__row:hover {
  background: hsl(var(--foreground) / 0.05);
}
.rsvp-contacts__row:focus-visible {
  background: hsl(var(--foreground) / 0.05);
  outline: 2px solid hsl(var(--foreground) / 0.5);
  outline-offset: -2px;
}
.rsvp-contacts__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.rsvp-contacts__phone {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: hsl(var(--foreground) / 0.75);
}
@media (min-width: 640px) {
  .rsvp-contacts__row {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.75rem;
  }
  .rsvp-contacts__name {
    font-size: 1.375rem;
  }
  .rsvp-contacts__phone {
    font-size: 0.9375rem;
  }
}

/* 7. Accessibility / motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #intro,
  #intro *,
  #hero-text,
  .rsvp-form,
  #scratch-canvas,
  .rsvp-panel,
  .rsvp-confirm__panel,
  .rsvp-confirm__veil {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Seal on the RSVP contact card (matches the footer seal artwork) */
.rsvp-contacts__seal {
  display: block;
  width: 68px;
  height: auto;
  margin: 0 auto 14px;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

@media (min-width: 768px) {
  .rsvp-contacts__seal {
    width: 80px;
    margin-bottom: 16px;
  }
}


/* Hero invitation copy: blessing, hosts, bride & groom, closing blessing ----- */
.hero-blessing {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.72);
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(14rem, 72%);
  margin: 0.7rem auto 0.55rem;
}
.hero-divider__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    hsl(var(--foreground) / 0.32),
    transparent
  );
}
.hero-divider__pearl {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  opacity: 0.85;
  mix-blend-mode: multiply;
}
.hero-hosts {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: hsl(var(--foreground));
}
.hero-legacy.hidden-line,
.hero-legacy[hidden] {
  display: none;
}
.hero-invite {
  max-width: 21rem;
  margin: 0.4rem auto 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.5;
  color: hsl(var(--foreground) / 0.78);
}
.hero-couple {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0 0;
}
.hero-name {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2rem, 9.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: hsl(var(--foreground));
  white-space: nowrap;
}
.hero-with {
  margin: 0.3rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground) / 0.6);
}
.hero-closing {
  max-width: 28rem;
  margin: 0.8rem auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.55;
  color: hsl(var(--foreground) / 0.72);
}
@media (min-width: 768px) {
  .hero-blessing {
    font-size: 11px;
    letter-spacing: 0.38em;
    text-indent: 0.38em;
  }
  .hero-divider {
    width: 17rem;
    margin: 0.9rem auto 0.7rem;
  }
  .hero-divider__pearl {
    width: 11px;
    height: 11px;
  }
  .hero-hosts {
    font-size: 1.45rem;
  }
  .hero-invite {
    max-width: 26rem;
    font-size: 1rem;
  }
  .hero-couple {
    margin-top: 1.4rem;
  }
  .hero-name {
    font-size: clamp(2.4rem, 4.3vw, 3.9rem);
  }
  .hero-with {
    margin: 0.45rem 0;
    font-size: 1.05rem;
  }
  .hero-closing {
    margin-top: 1rem;
    font-size: 0.95rem;
  }
}

/* Wax seal on the front page (hero), closing the invitation */
.hero-seal {
  display: block;
  width: 64px;
  height: auto;
  margin: 26px auto 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.14));
}

@media (min-width: 768px) {
  .hero-seal {
    width: 84px;
    margin-top: 32px;
  }
}

/* Hero date — the only factual line under the invitation copy (address lives in Location) */
.hero-date {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .hero-date {
    margin-top: 1.6rem;
    font-size: 2.05rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }
}

/* RSVP contact numbers — plain, readable, tabular digits (no wide tracking) */
.rsvp-contacts__phone {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  font-variant-numeric: tabular-nums lining-nums;
  color: hsl(var(--foreground) / 0.88);
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .rsvp-contacts__phone {
    font-size: 1rem;
    letter-spacing: 0.015em;
  }
  .rsvp-contacts__row {
    align-items: center;
  }
  .rsvp-contacts__name {
    font-size: 1.3rem;
  }
}

/* --- hero fit pass: smaller blessing, balanced invitation line, compact date --- */
.hero-blessing {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  line-height: 1.45;
  color: hsl(var(--foreground) / 0.68);
}
.hero-hosts {
  font-size: 1.08rem;
}
.hero-invite {
  max-width: 19.5rem;
  margin-top: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.55;
  text-wrap: balance;
}
.hero-date {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .hero-blessing {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
  }
  .hero-hosts {
    font-size: 1.3rem;
  }
  .hero-invite {
    max-width: 24rem;
    font-size: 0.95rem;
    text-wrap: balance;
  }
  .hero-date {
    font-size: 1.45rem;
    letter-spacing: 0.16em;
    margin-top: 24px;
  }
}

/* --- static intro cover (no baked-in C&J artwork) --- */
#intro {
  overflow: hidden;
}
.intro-seal {
  width: 132px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.intro-kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.66);
}
.intro-names {
  margin: 10px 0 0;
  font-family: "Monsieur La Doulaise Local", cursive;
  font-size: 46px;
  line-height: 1;
  color: hsl(var(--foreground));
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
}
.intro-amp {
  font-family: var(--font-display);
  font-size: 0.42em;
  color: hsl(var(--foreground) / 0.55);
}
.intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(190px, 62vw);
  margin: 16px auto 0;
}
.intro-divider__rule {
  flex: 1;
  height: 1px;
  background: hsl(var(--foreground) / 0.28);
}
.intro-divider__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: hsl(var(--foreground) / 0.42);
}
.intro-date {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.85);
}
.intro-hint {
  margin: 34px 0 0;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.5);
  animation: introHintPulse 2.4s ease-in-out infinite;
}
@keyframes introHintPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}
@media (min-width: 768px) {
  .intro-seal { width: 168px; margin-bottom: 22px; }
  .intro-names { font-size: 62px; }
  .intro-date { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-hint { animation: none; opacity: 0.7; }
}

/* blurred fill behind the landscape intro film — no empty bars */
.intro-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(18px) brightness(1.02) saturate(0.95);
  transform: scale(1.06);
  pointer-events: none;
  user-select: none;
}

/* keep the film + poster above the blurred backdrop */
.intro-backdrop { z-index: 0; }
#intro > video,
#intro > img:not(.intro-backdrop) {
  position: absolute;
  z-index: 1;
}
