@font-face {
  font-family: "Canva Optima";
  src: url("../public/fonts/canva-optima.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Cinzel";
  src: url("../public/fonts/canva-cinzel.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Slight";
  src: url("../public/fonts/canva-slight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sharis";
  src: url("../public/fonts/canva-sharis.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Pinyon";
  src: url("../public/fonts/canva-pinyon.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Cormorant";
  src: url("../public/fonts/canva-cormorant.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Cormorant";
  src: url("../public/fonts/canva-cormorant-bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sharis";
  src: url("../public/fonts/canva-sharis.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../public/fonts/canva-cormorant.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../public/fonts/canva-cormorant-bold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Story Commas";
  src: url("../public/fonts/eb-garamond-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+002C, U+00ED;
}

:root {
  --color-ivory: #eeede7;
  --color-cream: #ebe3d5;
  --color-paper: #e8dccf;
  --color-deep-green: #304254;
  --color-cacao: #74574f;
  --color-cacao-soft: #8f746d;
  --color-location-bg: #8c716a;
  --color-location-bg-deep: #7d625c;
  --color-location-ink: #4e3933;
  --color-burgundy: #5c2900;
  --color-charcoal: #020202;
  --color-muted-gold: #bd8c1c;
  --color-white: #ffffff;
  --line-dark: rgba(2, 2, 2, 0.62);
  --line-light: rgba(238, 237, 231, 0.66);
  --soft-shadow: 0 28px 70px rgba(48, 42, 36, 0.18);
  --paper-shadow: 0 18px 42px rgba(48, 42, 36, 0.14);
  --font-body: "Canva Optima", Optima, Candara, "Cormorant Garamond", Georgia, serif;
  --font-serif: "Canva Cinzel", "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-display: "Canva Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-nav: "Cormorant Garamond", "Canva Cormorant", Georgia, serif;
  --font-seasons: "The Seasons", "The Seaons", "Canva Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-script: "Canva Pinyon", "Pinyon Script", cursive;
  --font-script-hero: "Canva Slight", "Pinyon Script", cursive;
  --font-date: "Sharis", "Canva Sharis", "Cormorant Garamond", Georgia, serif;
  --font-story-body: "Story Commas", "Sharis", "Canva Sharis", "Cormorant Garamond", Georgia, serif;
  --font-count: "Canva Optima", Optima, Candara, sans-serif;
  --font-youngest: "The Youngest", "The Youngest Serif", "Sharis", "Canva Sharis", "Cormorant Garamond", Georgia, serif;
  --site-chrome-color: var(--color-ivory);
  --section-gap-2cm: 2cm;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-charcoal);
  background: var(--color-ivory);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
}

body.site-chrome--dark {
  --site-chrome-color: #30241e;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-muted-gold);
  outline-offset: 4px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 200;
  top: 18px;
  left: 18px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--color-ivory);
  background: var(--color-burgundy);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(84px, 11.5vh, 96px) 4.6vw 0;
  color: var(--color-ivory);
  pointer-events: none;
  transition: color 220ms ease, background 220ms ease, padding 220ms ease, box-shadow 220ms ease, opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.site-header.is-scrolled {
  align-items: center;
  padding-top: 22px;
  padding-bottom: 0;
  color: var(--color-ivory);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-away-from-hero {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.site-header.site-header--dark {
  color: #30241e;
}

.site-header.site-header--hero {
  color: var(--color-ivory);
}

.site-header.site-header--dark .desktop-nav a {
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.36);
}

.site-header.site-header--dark .desktop-nav__monogram img {
  opacity: 0.74;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.site-header.site-header--hero .header-monogram,
.site-header.site-header--hero .desktop-nav__monogram {
  opacity: 1;
  filter: contrast(1.16) brightness(1.06) drop-shadow(0 6px 18px rgba(2, 2, 2, 0.26));
}

.header-monogram,
.desktop-nav,
.menu-toggle {
  pointer-events: auto;
}

.header-monogram {
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  opacity: 0.9;
  filter: drop-shadow(0 5px 14px rgba(2, 2, 2, 0.2));
}

.header-monogram img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header.site-header--dark .header-monogram img {
  opacity: 0.74;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3.3vw, 52px);
  width: min(1210px, calc(100vw - 12vw));
  min-height: 62px;
  padding: 0 34px;
  border: 0;
  background: transparent;
}

.desktop-nav a {
  position: relative;
  color: inherit;
  font-family: var(--font-nav);
  font-size: clamp(18px, 1.55vw, 26px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(2, 2, 2, 0.25);
}

.desktop-nav a[aria-current="true"]::after {
  content: none;
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 2px;
  background: currentColor;
}

.desktop-nav__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(58px, 5.2vw, 84px);
  min-width: clamp(58px, 5.2vw, 84px);
  opacity: 0.78;
  filter: drop-shadow(0 6px 18px rgba(2, 2, 2, 0.22));
  transform: translateY(-2px);
}

.desktop-nav__monogram img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 38px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 31px;
  height: 1px;
  margin: 9px auto;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(12, 10, 9, 0.34);
  transition: opacity 240ms ease, visibility 240ms ease;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.mobile-menu__panel {
  min-height: 100%;
  margin-left: auto;
  width: min(82vw, 360px);
  padding: calc(env(safe-area-inset-top, 0px) + 28px) 30px 34px;
  overflow: auto;
  color: var(--color-ivory);
  background:
    linear-gradient(90deg, rgba(74, 55, 49, 0.36), rgba(74, 55, 49, 0.68)),
    linear-gradient(rgba(238, 237, 231, 0.08), rgba(238, 237, 231, 0.02));
  border-left: 1px solid rgba(238, 237, 231, 0.26);
  box-shadow: -24px 0 70px rgba(12, 9, 8, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(0.86);
  backdrop-filter: blur(18px) saturate(0.86);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
}

.mobile-menu__monogram {
  width: 58px;
  height: auto;
  opacity: 0.84;
  filter: drop-shadow(0 5px 14px rgba(2, 2, 2, 0.18));
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
  color: inherit;
  background: rgba(238, 237, 231, 0.04);
  border: 1px solid rgba(238, 237, 231, 0.58);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
}

.mobile-menu nav {
  display: grid;
  gap: 0;
  margin-top: clamp(42px, 8vh, 68px);
}

.mobile-menu a {
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(238, 237, 231, 0.28);
  color: inherit;
  font-family: var(--font-nav);
  font-size: clamp(18px, 5.2vw, 24px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-align: right;
  text-shadow: 0 2px 12px rgba(2, 2, 2, 0.24);
  white-space: normal;
}

.mobile-menu a[aria-current="true"] {
  color: var(--color-ivory);
}

.background-audio {
  display: none;
}

.audio-toggle {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(14px, 2vw, 22px));
  right: clamp(14px, 2vw, 22px);
  z-index: 75;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--site-chrome-color);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: none;
  opacity: 0.88;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
  background: transparent;
  border-color: currentColor;
}

.audio-toggle::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transition: opacity 180ms ease;
}

@media (min-width: 981px) {
  .audio-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 22px);
    right: auto;
    bottom: auto;
    left: 22px;
  }
}

.audio-toggle.is-blocked::before {
  opacity: 1;
}

.audio-toggle__glyph {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 1em;
  height: 1em;
  color: currentColor;
  font-family: var(--font-count);
  font-size: 20px;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.audio-toggle__slash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-36deg);
  transform-origin: center;
  opacity: 1;
  transition: opacity 160ms ease;
}

.audio-toggle.is-playing {
  opacity: 0.92;
}

.audio-toggle.is-playing .audio-toggle__slash {
  opacity: 0;
}

.audio-toggle.is-playing .audio-toggle__glyph {
  animation: audioGlyphPulse 1.35s ease-in-out infinite;
}

@keyframes audioGlyphPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.canva-screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.nav-spacer {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 86px;
  pointer-events: none;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: min(1210px, calc(100% - 10vw));
  margin: 0 auto;
}

.section-cacao {
  color: var(--color-ivory);
  background:
    radial-gradient(ellipse at 50% 80%, rgba(2, 2, 2, 0.10), transparent 55%),
    linear-gradient(90deg, rgba(116, 87, 79, 0.98), rgba(126, 101, 94, 0.98));
}

.section-paper {
  background:
    radial-gradient(ellipse at 22% 20%, rgba(255, 255, 255, 0.62), transparent 33%),
    linear-gradient(112deg, rgba(2, 2, 2, 0.08), transparent 11%, transparent 76%, rgba(2, 2, 2, 0.08)),
    var(--color-ivory);
}

.section-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(2, 2, 2, 0.08), transparent 30%),
    radial-gradient(ellipse at 85% 36%, rgba(2, 2, 2, 0.10), transparent 34%),
    repeating-linear-gradient(90deg, rgba(92, 41, 0, 0.018) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.hero {
  height: 100vh;
  height: 100dvh;
  color: var(--color-ivory);
  background: var(--color-deep-green);
  --hero-media-filter: grayscale(0.36) sepia(0.16) saturate(0.58) brightness(0.78) contrast(0.92);
  contain: paint;
}

.hero-motion-fallback,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-motion-fallback {
  z-index: 0;
  background-image: url("../public/images/canva/hero-motion-fallback.jpg");
  background-position: center center;
  background-size: cover;
  filter: var(--hero-media-filter);
  transform: scale(1.045);
  transform-origin: center center;
  animation: heroMotionFallback 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-video {
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.055);
  transform-origin: center center;
  visibility: hidden;
  opacity: 0;
  filter: var(--hero-media-filter);
  pointer-events: none;
  user-select: none;
  transition: opacity 280ms ease, visibility 0ms linear 280ms;
}

.hero.is-video-playing .hero-video {
  visibility: visible;
  opacity: 1;
  transition-delay: 0ms;
}

.hero.is-video-blocked .hero-video {
  visibility: hidden;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(61, 37, 0, 0.34), rgba(61, 37, 0, 0.46)),
    linear-gradient(to right, rgba(61, 37, 0, 0.18), rgba(61, 37, 0, 0.22));
}

@keyframes heroMotionFallback {
  0% {
    transform: scale(1.045) translate3d(-1.1%, -0.6%, 0);
  }

  100% {
    transform: scale(1.095) translate3d(1.1%, 0.8%, 0);
  }
}

.hero-logo {
  position: absolute;
  z-index: 3;
  top: 47.2%;
  left: 50%;
  width: min(clamp(410px, 34vw, 560px), 54vh);
  transform: translate(-50%, -50%);
  transform-origin: center center;
  pointer-events: none;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(2, 2, 2, 0.14));
}

.hero-actions {
  position: absolute;
  z-index: 3;
  bottom: 58px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  transform: translateX(-50%);
}

.hero-actions p {
  margin: 0 9px 0 0;
  color: rgba(238, 237, 231, 0.86);
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  line-height: 1;
}

.hero-meta {
  position: absolute;
  z-index: 3;
  bottom: clamp(54px, 9.2vh, 78px);
  margin: 0;
  color: var(--color-ivory);
  font-family: var(--font-date);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(2, 2, 2, 0.28);
}

.hero-meta--left {
  left: clamp(76px, 9.8vw, 128px);
}

.hero-meta--right {
  right: clamp(76px, 9.8vw, 128px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 9px 24px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--color-ivory);
  background: var(--color-burgundy);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--light {
  color: var(--color-burgundy);
  background: rgba(238, 237, 231, 0.92);
  border-color: rgba(238, 237, 231, 0.92);
}

.button--ghost {
  color: var(--color-ivory);
  background: rgba(238, 237, 231, 0.08);
  border-color: rgba(238, 237, 231, 0.84);
}

.button--paper,
.button--textured {
  color: var(--color-burgundy);
  background: rgba(235, 227, 213, 0.84);
  border-color: rgba(238, 237, 231, 0.78);
  box-shadow: 0 2px 0 rgba(238, 237, 231, 0.38) inset;
}

.button--small {
  min-height: 31px;
  padding: 8px 21px 7px;
  font-size: 11px;
}

.wedding-section {
  --wedding-text: #efe7db;
  --wedding-button: #baa0a0;
  --wedding-ornament-filter: brightness(0.76) contrast(1.2);

  display: grid;
  place-items: center;
  padding: 48px 24px 57px;
  color: var(--wedding-text);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(238, 237, 231, 0.05), transparent 46%),
    linear-gradient(180deg, var(--color-location-bg), var(--color-location-bg-deep));
}

.corner-decor {
  position: absolute;
  z-index: 1;
  width: clamp(220px, 22.6vw, 308px);
  height: auto;
  pointer-events: none;
  opacity: 1;
  filter: var(--wedding-ornament-filter);
}

.corner-decor--top-left {
  top: 12px;
  left: 14px;
}

.corner-decor--bottom-left {
  bottom: 10px;
  left: 14px;
  transform: scaleY(-1);
}

.corner-decor--bottom-right {
  right: 14px;
  bottom: 10px;
  transform: scale(-1);
}

.wedding-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(424px, calc(100vw - 56px), max(326px, calc((100svh - 162px) * 396 / 566)));
  aspect-ratio: 396 / 566;
  container-type: inline-size;
  text-align: center;
}

.wedding-frame__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: var(--wedding-ornament-filter);
  pointer-events: none;
}

.wedding-frame__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wedding-block {
  position: static;
  z-index: 2;
}

.script-heading {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(38px, 3.25vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.wedding-title,
.wedding-date,
.wedding-venue,
.wedding-time,
.reception-times p,
.wedding-map {
  position: absolute;
  margin: 0;
  color: var(--wedding-text);
  letter-spacing: 0;
  text-align: center;
}

.wedding-title {
  left: 18.915%;
  width: 62.171%;
  font-family: var(--font-script);
  font-size: 35.5px;
  font-weight: 400;
  line-height: 0.97;
}

.wedding-title--ceremony {
  top: 13.4%;
}

.wedding-title--reception {
  top: 53.7%;
}

.wedding-date {
  top: 23.1%;
  left: 31.75%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 36.5%;
  font-family: var(--font-date);
  font-size: 17.4px;
  line-height: 1;
}

.wedding-date__dot {
  font-size: 0.82em;
  line-height: 1;
}

.wedding-venue,
.reception-times p {
  font-family: var(--font-display);
  font-size: 14.35px;
  font-weight: 400;
  line-height: 0.97;
  white-space: nowrap;
}

.wedding-venue span {
  display: block;
  white-space: nowrap;
}

.wedding-venue--ceremony {
  top: 29.3%;
  left: 19.2%;
  width: 61.6%;
  text-align: center;
}

.wedding-time,
.reception-times p:nth-child(even) {
  font-family: var(--font-date);
  font-size: 13.2px;
  line-height: 0.97;
}

.wedding-time--ceremony {
  top: 39.8%;
  left: 22.774%;
  width: 54.452%;
}

.wedding-block--reception {
  margin-top: 0;
}

.reception-times {
  display: contents;
}

.reception-times p:nth-child(1) {
  top: 63.1%;
  left: 25.2%;
  width: 34%;
  text-align: left;
}

.reception-times p:nth-child(2) {
  top: 63.2%;
  left: 61.3%;
  width: 16%;
  text-align: left;
}

.reception-times p:nth-child(3) {
  top: 67.4%;
  left: 25.2%;
  width: 34%;
  text-align: left;
}

.reception-times p:nth-child(4) {
  top: 67.5%;
  left: 61.3%;
  width: 16%;
  text-align: left;
}

.wedding-venue--reception {
  top: 73.6%;
  left: 19.2%;
  width: 61.6%;
  text-align: center;
}

.wedding-section .button--paper.wedding-map {
  left: 37.786%;
  width: 24.429%;
  height: 5.131%;
  min-height: 0;
  padding: 0;
  border: 3px solid var(--wedding-text);
  border-radius: 999px;
  color: #000000;
  background: var(--wedding-button);
  box-shadow: 4px 8px 14px rgba(0, 0, 0, 0.16);
  font-family: var(--font-display);
  font-size: 8.8px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.wedding-map--ceremony {
  top: 44.8%;
}

.wedding-map--reception {
  top: 81.2%;
}

.wedding-section .button--paper.wedding-map:hover,
.wedding-section .button--paper.wedding-map:focus-visible {
  background: var(--wedding-button);
  transform: none;
}

.story-section {
  padding: 92px 5vw 72px;
}

.story-composition {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1080px, 100%);
  min-height: 604px;
  margin: 0 auto;
  transform: translateX(44px);
}

.story-cameo {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: clamp(286px, 28.8vw, 393px);
  aspect-ratio: 393 / 584;
  margin: 0;
  filter: drop-shadow(0 24px 34px rgba(48, 42, 36, 0.22));
}

.story-cameo__frame,
.story-cameo__lace,
.story-cameo__photo {
  position: absolute;
  display: block;
  pointer-events: none;
}

.story-cameo__frame {
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-cameo__lace {
  z-index: 2;
  top: 15.8%;
  left: 19.1%;
  width: 61.8%;
  height: auto;
  opacity: 0.88;
}

.story-cameo__photo {
  z-index: 3;
  top: 21.7%;
  left: 28.8%;
  width: 44%;
  height: auto;
}

.story-paper {
  position: relative;
  flex: 0 1 auto;
  width: clamp(620px, 61.4vw, 839px);
  min-height: 500px;
  display: grid;
  align-items: center;
  margin-left: -70px;
  padding: 82px 88px 70px 112px;
  color: var(--color-burgundy);
  filter: drop-shadow(0 24px 38px rgba(48, 42, 36, 0.12));
}

.story-paper__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.story-paper__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.story-paper p {
  margin: 0 auto 25px;
  max-width: 626px;
  font-size: 18px;
  line-height: 1.42;
}

.story-paper .button {
  margin-top: 0;
  color: var(--color-burgundy);
  background: rgba(235, 227, 213, 0.42);
  border-color: rgba(92, 41, 0, 0.34);
}

.story-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: 0fr;
  width: min(1030px, 100%);
  margin: 0 auto;
  transition: grid-template-rows 420ms ease, margin-top 420ms ease;
}

.story-section.is-open .story-panel {
  grid-template-rows: 1fr;
  margin-top: 18px;
}

.story-panel__inner {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-step {
  padding: 26px 28px;
  border: 1px solid rgba(92, 41, 0, 0.24);
  border-radius: 8px;
  background: rgba(238, 237, 231, 0.58);
  color: var(--color-burgundy);
}

.story-step span,
.gift-item span,
.faq-item button span {
  display: block;
  font-family: var(--font-count);
  font-size: 14px;
  line-height: 1;
}

.story-step h3,
.gift-item h3 {
  margin: 13px 0 10px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.05;
}

.story-step p,
.gift-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
}

.story-step--image {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.story-step--image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(92, 41, 0, 0.24);
  filter: sepia(0.12) saturate(0.92);
}

.story-step--final {
  grid-column: 1 / -1;
  text-align: center;
}

.countdown-scene {
  background: var(--color-cream);
}

.envelope-panel {
  position: relative;
  min-height: 578px;
  box-sizing: border-box;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: 0 20px;
  overflow: hidden;
}

.envelope-stack {
  position: relative;
  width: clamp(368px, 37.6vw, 514px);
  aspect-ratio: 514 / 603;
  margin-top: clamp(-75px, calc(289px - 26.6vw), -25px);
  filter: drop-shadow(0 26px 42px rgba(48, 42, 36, 0.22));
}

.envelope-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.confirm-note {
  position: absolute;
  z-index: 3;
  top: 25%;
  right: -10%;
  width: 68%;
  aspect-ratio: 275 / 236;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 18% 14% 15%;
  color: var(--color-burgundy);
  text-align: center;
  transform: rotate(8deg);
}

.confirm-note__art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(0 8px 11px rgba(48, 42, 36, 0.22));
}

.confirm-note__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(6px, 0.7vw, 10px);
  width: 100%;
  transform: translateY(-28%) rotate(2.2deg);
  transform-origin: center center;
}

.confirm-note p {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(25px, 2.45vw, 36px);
  line-height: 0.9;
}

.confirm-note span {
  display: block;
  margin-top: 0;
  font-size: clamp(12.5px, 1.05vw, 16.5px);
  line-height: 1.22;
}

.confirm-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(86%, 154px);
  min-height: clamp(22px, 1.9vw, 28px);
  margin-top: 0;
  padding: 3px clamp(12px, 1.35vw, 18px);
  border-radius: 999px;
  color: var(--color-cream);
  background: var(--color-burgundy);
  font-size: clamp(10px, 0.78vw, 12.5px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.countdown-band {
  position: relative;
  min-height: 188px;
  padding: 22px 18px 32px;
  color: var(--color-burgundy);
  background: var(--color-cream);
  text-align: center;
}

.countdown-band .script-heading {
  margin-bottom: 10px;
  font-size: 42px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.62);
}

.countdown {
  display: inline-grid;
  grid-template-columns: repeat(4, 126px);
  align-items: start;
}

.countdown div {
  position: relative;
}

.countdown div + div::before {
  content: ":";
  position: absolute;
  top: 0;
  left: -8px;
  font-family: var(--font-count);
  font-size: 46px;
  line-height: 1;
}

.countdown strong {
  display: block;
  font-family: var(--font-count);
  font-size: 51px;
  font-weight: 300;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-count);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.dress-section,
.rsvp-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.dress-layout,
.rsvp-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 70px;
  align-items: center;
}

.dress-copy h2,
.rsvp-intro h2,
.section-heading h2 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.02;
}

.dress-rules {
  display: grid;
  gap: 18px;
  margin: 32px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(238, 237, 231, 0.44);
  border-bottom: 1px solid rgba(238, 237, 231, 0.44);
}

.dress-rules p,
.fine-note,
.rsvp-intro p,
.section-heading p {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.dress-rules span {
  display: block;
  margin-bottom: 3px;
  color: var(--color-cream);
  font-family: var(--font-count);
  font-size: 13px;
  text-transform: uppercase;
}

.dress-photo {
  margin: 0;
  justify-self: end;
  width: min(390px, 100%);
  padding: 13px;
  border: 1px solid rgba(238, 237, 231, 0.38);
}

.dress-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.92);
}

.gifts-section {
  padding: 96px 0;
}

.section-heading--center {
  width: min(630px, 100%);
  margin: 0 auto 160px;
  text-align: center;
}

.section-heading--center h2 {
  color: var(--color-burgundy);
}

.section-heading--center p {
  color: rgba(92, 41, 0, 0.74);
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gift-item {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(92, 41, 0, 0.25);
  border-radius: 8px;
  color: var(--color-burgundy);
  background: rgba(238, 237, 231, 0.54);
}

.gift-item span {
  color: var(--color-muted-gold);
}

.gift-item .button {
  margin-top: 22px;
}

.secure-note {
  margin: 28px 0 0;
  color: rgba(92, 41, 0, 0.66);
  font-size: 15px;
  text-align: center;
}

.rsvp-section {
  padding-top: 108px;
  padding-bottom: 108px;
}

.rsvp-layout {
  align-items: start;
}

.rsvp-intro {
  color: var(--color-burgundy);
}

.rsvp-form-panel {
  border: 1px solid rgba(92, 41, 0, 0.22);
  border-radius: 8px;
  padding: 30px;
  background: rgba(238, 237, 231, 0.62);
  box-shadow: var(--paper-shadow);
}

form {
  display: grid;
  gap: 18px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-burgundy);
  font-family: var(--font-count);
  font-size: 13px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(92, 41, 0, 0.28);
  border-radius: 4px;
  outline: 0;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-muted-gold);
  box-shadow: 0 0 0 3px rgba(189, 140, 28, 0.18);
}

.rsvp-success {
  padding: 46px 24px;
  color: var(--color-burgundy);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.12;
  text-align: center;
}

.faq-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(86px, 10vh, 104px) 0 clamp(118px, 14vh, 146px);
  color: #74574f;
  background:
    linear-gradient(rgba(242, 238, 229, 0.08), rgba(242, 238, 229, 0.08)),
    url("../public/images/design/story-slide-bg-clean.jpg") center / cover no-repeat;
}

.faq-footer-brand {
  position: absolute;
  right: 24px;
  bottom: clamp(24px, 4vh, 42px);
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(116, 87, 79, 0.78);
  text-align: center;
}

.faq-footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 4.6vw, 70px);
  color: inherit;
  transition: transform 180ms ease;
}

.faq-footer-logo:hover,
.faq-footer-logo:focus-visible {
  transform: translateY(-1px);
}

.faq-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.78;
}

.faq-footer-credit {
  margin: 0;
  color: inherit;
  font-family: var(--font-count);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.2;
}

.faq-layout {
  width: min(1210px, calc(100% - 10vw));
  grid-template-columns: max-content minmax(0, 735px);
  gap: 2.5cm;
  align-items: center;
}

.faq-layout h2 {
  margin: 0;
  color: #74574f;
  font-family: var(--font-date);
  font-size: clamp(54px, 4.65vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.faq-item {
  padding: 14px 0 15px;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(2, 2, 2, 0.62);
}

.faq-question {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 27px;
  width: 100%;
  color: #74574f;
  font-family: var(--font-count);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.faq-question span {
  padding-top: 0.1em;
  color: #74574f;
  font-family: var(--font-count);
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 400;
  line-height: 1;
}

.faq-question h3 {
  margin: 0;
  color: #74574f;
  font-family: var(--font-count);
  font-size: clamp(26px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.faq-answer p {
  margin: 5px 0 0 73px;
  color: #74574f;
  font-family: var(--font-count);
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: 0;
}

.faq-answer p + p {
  margin-top: 3px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    width: min(1040px, calc(100vw - 7vw));
    gap: clamp(16px, 2.2vw, 28px);
    padding-right: 22px;
    padding-left: 22px;
  }

  .story-composition {
    flex-direction: column;
    min-height: auto;
    gap: 0;
    transform: none;
  }

  .story-cameo {
    width: 286px;
    margin-bottom: -56px;
  }

  .story-paper {
    width: min(839px, 100%);
    margin: 0 auto;
    padding-left: 88px;
  }

  .section-heading--center {
    margin-bottom: 86px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: center;
    padding: 18px 22px;
  }

  .header-monogram {
    visibility: visible;
  }

  .site-header.is-scrolled {
    color: var(--color-charcoal);
    background: rgba(238, 237, 231, 0.78);
    backdrop-filter: blur(18px);
  }

  .audio-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 27px);
    right: auto;
    bottom: auto;
    left: 22px;
    width: 40px;
    height: 40px;
  }

  .audio-toggle__glyph {
    font-size: 18px;
  }

  .audio-toggle__slash {
    width: 21px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 28px);
    right: 20px;
    display: block;
    margin-left: auto;
  }

  .hero-logo {
    left: 50%;
    width: min(390px, 78vw, 54vh);
  }

  .hero-actions {
    bottom: 86px;
    flex-wrap: wrap;
    width: 300px;
  }

  .hero-actions p {
    width: 100%;
    margin: 0 0 2px;
    text-align: center;
  }

  .hero-meta {
    bottom: 33px;
    font-size: 18px;
  }

  .wedding-section {
    padding: 48px 24px 57px;
  }

  .corner-decor {
    width: clamp(214px, 39vw, 286px);
    opacity: 1;
  }

  .wedding-frame {
    width: min(410px, calc(100vw - 58px), max(316px, calc((100svh - 168px) * 396 / 566)));
  }

  .wedding-frame__content {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .script-heading {
    font-size: 39px;
  }

  .wedding-title {
    font-size: 34.2px;
  }

  .wedding-venue,
  .reception-times p {
    font-size: 13.8px;
    line-height: 0.97;
  }

  .wedding-date {
    font-size: 16.8px;
  }

  .wedding-time,
  .reception-times p:nth-child(even) {
    font-size: 12.7px;
  }

  .wedding-section .button--paper.wedding-map {
    font-size: 8.4px;
  }

  .story-section,
  .gifts-section {
    padding-right: 24px;
    padding-left: 24px;
  }

  .story-paper h2 {
    font-size: 30px;
  }

  .story-panel__inner,
  .gift-list,
  .dress-layout,
  .rsvp-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .story-step--image {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .envelope-panel {
    min-height: 520px;
  }

  .envelope-stack {
    margin-top: clamp(-54px, calc(260px - 26.6vw), 0px);
  }

  .dress-photo {
    justify-self: start;
  }

}

@media (max-width: 620px) {
  .section-shell {
    width: calc(100% - 44px);
  }

  .mobile-menu a {
    font-size: clamp(17px, 4.9vw, 21px);
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hero-video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center center;
  }

  .hero-motion-fallback {
    inset: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
  }

  .hero-logo {
    left: 50%;
    width: min(330px, 84vw, 50vh);
  }

  .hero-actions {
    bottom: 92px;
    width: 260px;
    gap: 8px;
  }

  .button {
    min-height: 35px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 12px;
  }

  .hero-meta--left {
    left: 24px;
  }

  .hero-meta--right {
    display: block;
    right: 24px;
  }

  .wedding-section {
    padding: 92px 18px 44px;
  }

  .corner-decor {
    width: clamp(168px, 48vw, 208px);
    opacity: 0.92;
  }

  .corner-decor--top-left {
    top: 8px;
    left: -8px;
  }

  .corner-decor--bottom-left {
    bottom: 8px;
    left: -8px;
  }

  .corner-decor--bottom-right {
    right: -8px;
    bottom: 8px;
  }

  .wedding-frame {
    width: min(344px, calc(100vw - 36px), max(292px, calc((100svh - 132px) * 396 / 566)));
  }

  .wedding-frame__content {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .script-heading {
    font-size: 31px;
  }

  .wedding-title {
    font-size: 28.8px;
  }

  .wedding-venue,
  .reception-times p {
    font-size: 11.7px;
    line-height: 0.97;
  }

  .wedding-date {
    gap: 8px;
    font-size: 13.8px;
  }

  .wedding-time,
  .reception-times p:nth-child(even) {
    font-size: 10.8px;
  }

  .wedding-section .button--paper.wedding-map {
    border-width: 2.3px;
    font-size: 7.1px;
  }

  .story-section {
    padding-top: 94px;
  }

  .story-cameo {
    width: 238px;
    margin-bottom: -42px;
  }

  .story-paper {
    min-height: 590px;
    padding: 90px 28px 76px;
  }

  .story-paper p {
    font-size: 15px;
    line-height: 1.36;
  }

  .story-step,
  .gift-item,
  .rsvp-form-panel {
    padding: 22px;
  }

  .story-step--image {
    grid-template-columns: 1fr;
  }

  .story-step--image img {
    max-height: 220px;
  }

  .envelope-stack {
    width: min(326px, calc(100vw - 36px));
    margin-top: 28px;
  }

  .confirm-note {
    top: 24%;
    right: -3%;
    width: 65%;
    padding: 16% 13% 18%;
  }

  .confirm-note__content {
    gap: 4px;
    transform: translateY(-24%) rotate(2.2deg);
  }

  .confirm-note p {
    font-size: clamp(18px, 5.7vw, 22px);
  }

  .confirm-note span {
    font-size: clamp(9px, 2.65vw, 10.5px);
    line-height: 1.18;
  }

  .confirm-note a {
    width: min(100%, 112px);
    min-height: 22px;
    padding: 3px 10px;
    font-size: clamp(8.5px, 2.45vw, 10px);
  }

  .countdown {
    grid-template-columns: repeat(2, 122px);
    row-gap: 18px;
  }

  .countdown div + div::before {
    display: none;
  }

  .dress-copy h2,
  .rsvp-intro h2,
  .section-heading h2 {
    font-size: 40px;
  }

  .section-heading--center {
    margin-bottom: 54px;
  }

  .dress-rules p,
  .fine-note,
  .rsvp-intro p,
  .section-heading p {
    font-size: 19px;
  }

  .faq-section {
    padding: 72px 0 104px;
  }

  .faq-layout {
    width: min(1160px, calc(100% - 9vw));
    grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
    gap: clamp(46px, 5vw, 72px);
  }

  .faq-layout h2 {
    font-size: clamp(50px, 5.4vw, 60px);
  }

  .faq-question {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 22px;
  }

  .faq-question span {
    font-size: clamp(23px, 2.6vw, 26px);
  }

  .faq-question h3 {
    font-size: clamp(23px, 2.6vw, 27px);
  }

  .faq-answer p {
    margin-left: 66px;
    font-size: clamp(15px, 1.7vw, 17px);
  }
}

@media (max-width: 560px) {
  .faq-section {
    min-height: 100svh;
    padding: 82px 0 112px;
  }

  .faq-layout {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-layout h2 {
    font-size: clamp(42px, 11vw, 46px);
    line-height: 1.04;
  }

  .faq-question {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    line-height: 1.12;
  }

  .faq-question span {
    padding-top: 0.15em;
    font-size: clamp(22px, 5.8vw, 24px);
  }

  .faq-question h3 {
    font-size: clamp(22px, 5.8vw, 24px);
    line-height: 1.12;
  }

  .faq-answer p {
    margin-left: 48px;
    font-size: clamp(15px, 4.1vw, 16px);
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026 restructure */
.desktop-nav {
  width: min(1210px, calc(100vw - 12vw));
  gap: clamp(26px, 3.3vw, 52px);
  border: 0;
  background: transparent;
}

.desktop-nav a {
  padding: 3px 0 0;
  font-weight: 400;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(61, 37, 0, 0.34), rgba(61, 37, 0, 0.46)),
    linear-gradient(to right, rgba(61, 37, 0, 0.18), rgba(61, 37, 0, 0.22));
  backdrop-filter: none;
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled {
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 22px 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled:not(.site-header--dark) {
    color: var(--color-ivory);
  }

  .site-header.site-header--dark.is-scrolled {
    color: #30241e;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 28px);
    right: 20px;
    display: block;
    margin-left: auto;
  }

  .header-monogram {
    visibility: visible;
    width: 60px;
  }
}

.button--ghost-dark {
  color: var(--color-burgundy);
  background: rgba(238, 237, 231, 0.56);
  border-color: rgba(92, 41, 0, 0.34);
}

.story-timeline-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  color: #4a342b;
  background:
    linear-gradient(rgba(242, 238, 229, 0.08), rgba(242, 238, 229, 0.08)),
    url("../public/images/design/story-slide-bg-clean.jpg") center / cover no-repeat;
}

.story-slide-stage {
  position: relative;
  z-index: 2;
  width: min(1366px, 100%);
  aspect-ratio: 1366 / 768;
  margin: 0 auto;
  min-height: min(100svh, 768px);
  color: #4a342b;
}

.story-slide-logo {
  position: absolute;
  top: 4.65%;
  left: 9.85%;
  width: clamp(126px, 10.8vw, 154px);
  height: auto;
  opacity: 0.24;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.story-slide-rule {
  position: absolute;
  top: 13.25%;
  right: 9.05%;
  left: 26.35%;
  height: 1px;
  background: rgba(74, 52, 43, 0.2);
}

.story-slide-copy {
  position: absolute;
  top: 21.75%;
  left: 7.45%;
  width: 41.4%;
}

.story-slide-copy h1 {
  margin: 0 0 clamp(22px, 2.1vw, 30px);
  padding-left: 22.9%;
  color: #3d2500;
  font-family: var(--font-seasons);
  font-size: clamp(28px, 3.12vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-slide-copy p {
  margin: 0 0 clamp(19px, 2.15vw, 29px);
  color: #74574f;
  font-family: var(--font-story-body);
  font-size: clamp(16px, 1.48vw, 20px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0;
}

.story-slide-photo {
  position: absolute;
  top: 9.7%;
  right: 11.25%;
  width: 30.15%;
  height: 80.1%;
  margin: 0;
  overflow: hidden;
  background: rgba(52, 44, 40, 0.14);
}

.story-slide-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.08) saturate(0.82) contrast(0.98);
}

.story-timeline-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 0;
  padding: 0 18px;
  color: #4a342b;
  background: rgba(242, 238, 229, 0.18);
  border: 1px solid rgba(74, 52, 43, 0.34);
  border-radius: 0;
  font-family: var(--font-count);
  font-size: clamp(10px, 0.88vw, 12px);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.story-timeline-toggle:hover,
.story-timeline-toggle:focus-visible {
  color: #efe7db;
  background: rgba(74, 52, 43, 0.88);
  border-color: rgba(74, 52, 43, 0.88);
}

.story-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
}

.story-modal[hidden] {
  display: none;
}

.story-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 16, 12, 0.58);
  backdrop-filter: blur(10px);
}

.story-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(760px, 88svh);
  overflow: auto;
  padding: clamp(26px, 3.4vw, 42px);
  color: #4a342b;
  background:
    linear-gradient(rgba(242, 238, 229, 0.08), rgba(242, 238, 229, 0.08)),
    url("../public/images/design/story-slide-bg-clean.jpg") center / cover no-repeat;
  border: 1px solid rgba(74, 52, 43, 0.18);
  box-shadow: 0 32px 80px rgba(18, 13, 10, 0.32);
}

.story-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  padding: 0;
  color: rgba(74, 52, 43, 0.78);
  background: transparent;
  border: 0;
  font-family: var(--font-count);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-modal__header {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0 auto 28px;
  text-align: center;
}

.story-modal__header img {
  width: 104px;
  opacity: 0.22;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.story-modal__header h2 {
  margin: 0;
  color: #3d2500;
  font-family: var(--font-seasons);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-timeline-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 9vw));
  margin: clamp(32px, 5vw, 64px) auto 0;
  padding: clamp(28px, 4vw, 46px) 0 0;
  border-top: 1px solid rgba(74, 52, 43, 0.22);
}

.story-timeline-shell[hidden] {
  display: none;
}

.story-modal .story-timeline-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 26px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: rgba(92, 41, 0, 0.32);
}

.timeline-era {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(210px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 284px;
  padding: 22px 0;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(92, 41, 0, 0.42);
  border-radius: 50%;
  color: var(--color-burgundy);
  background: rgba(238, 237, 231, 0.86);
  font-family: var(--font-count);
  font-size: 14px;
}

.timeline-copy span {
  display: block;
  color: var(--color-muted-gold);
  font-family: var(--font-count);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-copy h2 {
  margin: 0 0 12px;
  color: #3d2500;
  font-family: var(--font-seasons);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-copy p {
  margin: 0;
  color: #74574f;
  font-family: var(--font-date);
  font-size: clamp(16px, 1.24vw, 19px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
}

.timeline-gallery {
  display: grid;
  gap: 10px;
}

.timeline-gallery img,
.timeline-era--final figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border: 1px solid rgba(92, 41, 0, 0.18);
  filter: sepia(0.12) saturate(0.86) contrast(0.98);
  cursor: zoom-in;
}

.timeline-gallery img:focus-visible {
  outline: 2px solid rgba(92, 41, 0, 0.52);
  outline-offset: 4px;
}

.timeline-gallery--three {
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  height: 264px;
}

.timeline-gallery--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 234px;
}

.timeline-gallery--scroll {
  display: flex;
  gap: 10px;
  height: 238px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.timeline-gallery--scroll img {
  flex: 0 0 178px;
}

.timeline-era--wide,
.timeline-era--final {
  grid-template-columns: 58px minmax(220px, 0.44fr) minmax(0, 1.06fr);
}

.timeline-era--final figure {
  height: 280px;
  margin: 0;
}

.story-modal .story-timeline {
  gap: 18px;
}

.story-modal .story-timeline::before {
  left: 23px;
  background: rgba(92, 41, 0, 0.24);
}

.story-modal .timeline-era {
  grid-template-columns: 46px minmax(172px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  padding: 12px 0;
}

.story-modal .timeline-era--wide,
.story-modal .timeline-era--final {
  grid-template-columns: 46px minmax(180px, 0.38fr) minmax(0, 1.08fr);
}

.story-modal .timeline-marker {
  width: 46px;
  height: 46px;
  font-size: 12px;
}

.story-modal .timeline-copy span {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.story-modal .timeline-copy h2 {
  margin: 0 0 9px;
  font-family: var(--font-seasons);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.story-modal .timeline-copy p {
  max-width: 34ch;
  color: #74574f;
  font-family: var(--font-date);
  font-size: clamp(14.5px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.3;
}

.story-modal .timeline-gallery {
  gap: 8px;
}

.story-modal .timeline-gallery--three {
  height: 190px;
}

.story-modal .timeline-gallery--four {
  height: 170px;
}

.story-modal .timeline-gallery--scroll {
  gap: 8px;
  height: 172px;
  padding-bottom: 6px;
}

.story-modal .timeline-gallery--scroll img {
  flex-basis: 130px;
}

.story-photo-viewer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(42px, 0.12fr) minmax(0, 1fr) minmax(42px, 0.12fr);
  place-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: clamp(18px, 4vw, 54px);
  background: rgba(22, 16, 12, 0.72);
  backdrop-filter: blur(8px);
}

.story-photo-viewer[hidden] {
  display: none;
}

.story-photo-viewer__figure {
  grid-column: 2;
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  margin: 0;
}

.story-photo-viewer__figure img {
  display: block;
  max-width: min(100%, 980px);
  max-height: min(78svh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(238, 237, 231, 0.34);
  background: rgba(238, 237, 231, 0.18);
  box-shadow: 0 28px 70px rgba(2, 2, 2, 0.36);
}

.story-photo-viewer__close,
.story-photo-viewer__nav {
  border: 1px solid rgba(238, 237, 231, 0.42);
  border-radius: 50%;
  color: #efe7db;
  background: rgba(61, 37, 0, 0.48);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.story-photo-viewer__close:hover,
.story-photo-viewer__close:focus-visible,
.story-photo-viewer__nav:hover,
.story-photo-viewer__nav:focus-visible {
  background: rgba(92, 41, 0, 0.82);
  border-color: rgba(238, 237, 231, 0.78);
  transform: translateY(-1px);
}

.story-photo-viewer__close {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: 44px;
  height: 44px;
  font-size: 32px;
  line-height: 1;
}

.story-photo-viewer__nav {
  width: clamp(42px, 5vw, 58px);
  height: clamp(42px, 5vw, 58px);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 0.8;
}

.story-photo-viewer__nav--prev {
  grid-column: 1;
}

.story-photo-viewer__nav--next {
  grid-column: 3;
}

.story-modal .timeline-era--final figure {
  height: 190px;
}

@media (min-width: 981px) {
  .story-modal .timeline-era,
  .story-modal .timeline-era--wide,
  .story-modal .timeline-era--final {
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px 18px;
    align-items: start;
  }

  .story-modal .timeline-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .story-modal .timeline-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .story-modal .timeline-gallery,
  .story-modal .timeline-era--final figure {
    grid-column: 2;
    grid-row: 2;
  }

  .story-modal .timeline-era--final figure {
    aspect-ratio: auto;
    height: clamp(260px, 26vw, 330px);
    background: rgba(238, 237, 231, 0.48);
  }

  .story-modal .timeline-era--final figure img {
    object-fit: cover;
    object-position: center 38%;
  }
}

.itinerary-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(92px, 11vh, 126px) 0 clamp(76px, 9vh, 108px);
  overflow: hidden;
  color: var(--color-cream);
  background: url("../public/images/design/itinerary-bg.png") center / cover no-repeat;
}

.itinerary-shell {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 10vw));
  margin: 0 auto;
  text-align: center;
}

.itinerary-logo {
  width: clamp(86px, 7vw, 128px);
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 20px rgba(2, 2, 2, 0.18));
}

.itinerary-heading {
  margin-bottom: clamp(44px, 5.6vw, 74px);
}

.itinerary-heading .script-heading {
  font-size: clamp(54px, 5.1vw, 64px);
}

.itinerary-heading h2:not(.sr-only) {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 400;
  line-height: 1;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, clamp(282px, 18.25vw, 374px)));
  justify-content: center;
  gap: clamp(54px, 7vw, 150px);
  align-items: center;
}

.flip-card {
  width: 100%;
  aspect-ratio: 374 / 455;
  min-height: 0;
  perspective: 1300px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.2, 0.74, 0.28, 1);
  will-change: transform;
}

.flip-card.is-flipped .flip-card__inner,
.flip-card.is-hover-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  backface-visibility: hidden;
  border: 0;
  box-shadow: none;
}

.flip-card__front {
  color: rgba(106, 79, 70, 0.78);
  background: url("../public/images/design/itinerary-card-front.png") center / 90.37% 98.68% no-repeat;
}

.flip-card__back {
  color: var(--color-burgundy);
  background: url("../public/images/design/itinerary-card-back.png") center / 100% 100% no-repeat;
  transform: rotateY(180deg);
}

.flip-card__front-title,
.flip-card__front-title-image,
.flip-card__toggle,
.flip-card__back-title,
.flip-card__time,
.flip-card__venue,
.flip-card__address,
.flip-card__map {
  position: absolute;
  left: 50%;
  width: 80%;
  transform: translateX(-50%);
  color: rgba(82, 60, 52, 0.82);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.flip-card__front-title-image {
  --title-center-x: -50%;
  top: 39.8%;
  width: 90%;
  height: auto;
  transform: translate(var(--title-center-x), -50%);
  pointer-events: none;
}

.flip-card__front-title-image[src$="CEREMONIA.png"] {
  --title-center-x: -52.2%;
}

.flip-card__front-title-image[src$="COCTEL.png"] {
  --title-center-x: -51.2%;
}

.flip-card__front-title-image[src$="FIESTA.png"] {
  --title-center-x: -51.1%;
}

.flip-card__front-title,
.flip-card__back-title {
  font-family: var(--font-serif);
  font-size: clamp(23px, 1.6vw, 34px);
  line-height: 1;
  letter-spacing: 0.3em;
  white-space: nowrap;
}

.flip-card__front-title {
  top: 39.8%;
  width: auto;
  min-width: 58%;
  color: rgba(78, 55, 48, 0.78);
  font-size: clamp(18px, 1.22vw, 25px);
  letter-spacing: 0.34em;
  text-shadow:
    0 1px 0 rgba(232, 220, 207, 0.92),
    1px 0 0 rgba(232, 220, 207, 0.76),
    -1px 0 0 rgba(122, 93, 83, 0.34),
    0 -1px 0 rgba(122, 93, 83, 0.30),
    1px 1px 0 rgba(160, 136, 128, 0.36),
    -1px -1px 0 rgba(238, 237, 231, 0.40);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.flip-card__toggle {
  top: 64.5%;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.08vw, 22px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.flip-card__back-title {
  top: 17.2%;
  color: rgba(72, 51, 44, 0.78);
  font-size: clamp(20px, 1.38vw, 29px);
}

.flip-card__time {
  top: 31.4%;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.05vw, 22px);
  line-height: 1;
  letter-spacing: 0.14em;
}

.flip-card__venue,
.flip-card__address {
  margin: 0;
  font-family: var(--font-count);
  font-size: clamp(10.5px, 0.77vw, 15px);
  line-height: 1.36;
  letter-spacing: 0.13em;
}

.flip-card__venue {
  top: 44.6%;
}

.flip-card__address {
  top: 60.8%;
  width: 74%;
}

.flip-card__map {
  top: 78.6%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62%;
  min-height: clamp(34px, 2.35vw, 48px);
  padding: 0 14px;
  border: 1px solid rgba(188, 143, 93, 0.54);
  border-radius: 999px;
  font-family: var(--font-count);
  font-size: clamp(9.5px, 0.72vw, 14px);
  line-height: 1;
  letter-spacing: 0.16em;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.flip-card__map:hover,
.flip-card__map:focus-visible {
  color: #efe7db;
  background: rgba(92, 41, 0, 0.74);
  border-color: rgba(92, 41, 0, 0.74);
}

.flip-card__toggle:focus-visible,
.flip-card__map:focus-visible {
  outline: 1px solid rgba(92, 41, 0, 0.56);
  outline-offset: 5px;
}

.flip-card__back strong {
  font-weight: 400;
}

.flip-card__back p {
  margin: 0;
}

@media (min-width: 981px) {
  .flip-card__venue,
  .flip-card__address {
    font-size: clamp(10px, 0.68vw, 12.8px);
    line-height: 1.27;
    letter-spacing: 0.09em;
  }

  .flip-card__address {
    top: 59.6%;
    width: 82%;
  }

  .flip-card__map {
    top: 80%;
    font-size: clamp(9.5px, 0.62vw, 12px);
    letter-spacing: 0.12em;
  }
}

.rsvp-designed-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(92px, 12vh, 118px) 0 clamp(90px, 11vh, 112px);
  background:
    radial-gradient(ellipse at 18% 12%, rgba(238, 237, 231, 0.22), transparent 28%),
    radial-gradient(ellipse at 78% 86%, rgba(61, 37, 0, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(238, 237, 231, 0.08), rgba(238, 237, 231, 0.18) 44%, rgba(238, 237, 231, 0.05)),
    url("../public/images/design/confirm-bg.png") center / cover no-repeat;
}

.rsvp-designed-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(242, 238, 229, 0.14), rgba(242, 238, 229, 0.02)),
    url("../public/images/design/story-slide-bg-clean.jpg") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.45;
}

.rsvp-designed-section .rsvp-layout {
  position: relative;
  z-index: 1;
  --rsvp-brand-logo-width: clamp(122px, 10.9vw, 158px);
  --rsvp-brand-logo-height: clamp(102px, 9.15vw, 133px);
  width: min(1210px, calc(100% - 10vw));
  min-height: min(620px, calc(100svh - 190px));
  padding-top: calc(var(--rsvp-brand-logo-height) + var(--section-gap-2cm));
  grid-template-columns: minmax(350px, 0.92fr) minmax(380px, 0.98fr);
  gap: clamp(64px, 7.1vw, 108px);
  align-items: start;
}

.rsvp-brand-row {
  position: absolute;
  top: 0;
  right: 0;
  left: clamp(28px, 2.4vw, 34px);
  display: flex;
  align-items: center;
  gap: clamp(54px, 7.4vw, 100px);
  pointer-events: none;
}

.rsvp-brand-logo {
  width: var(--rsvp-brand-logo-width);
  height: auto;
  opacity: 0.28;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.rsvp-brand-line {
  display: block;
  flex: 1;
  height: 1px;
  background: rgba(61, 37, 0, 0.24);
}

.rsvp-designed-section .rsvp-intro {
  color: #74574f;
  padding-left: clamp(28px, 2.4vw, 34px);
}

.rsvp-designed-section .rsvp-intro h2 {
  margin: 0;
  padding-left: clamp(132px, 12.2vw, 166px);
  color: #3d2500;
  font-family: var(--font-seasons);
  font-size: clamp(42px, 4.05vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.rsvp-presence,
.rsvp-message,
.rsvp-deadline {
  margin: 0;
  letter-spacing: 0;
}

.rsvp-designed-section .rsvp-presence {
  margin-top: var(--section-gap-2cm);
  color: #74574f;
  font-family: var(--font-date);
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 400;
  line-height: 1.12;
}

.rsvp-designed-section .rsvp-message,
.rsvp-designed-section .rsvp-deadline {
  color: #71554d;
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: clamp(20px, 1.72vw, 26px);
  font-weight: 400;
  line-height: 1.18;
}

.rsvp-designed-section .rsvp-message {
  margin-top: clamp(20px, 2.7vh, 28px);
}

.rsvp-designed-section .rsvp-deadline {
  margin-top: clamp(22px, 3vh, 30px);
}

.rsvp-designed-section .rsvp-form-panel {
  justify-self: end;
  width: min(100%, 520px);
  min-height: clamp(700px, 62vw, 820px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 6vw, 92px) clamp(48px, 4.8vw, 68px);
  border: 0;
  outline: 0;
  border-radius: 0;
  background: url("../public/images/design/rsvp-form-frame.webp") center / 100% 100% no-repeat;
  background-color: transparent;
  box-shadow: none;
}

.rsvp-designed-section .rsvp-form-panel form {
  gap: 16px;
}

.rsvp-designed-section label span {
  color: #3d2500;
  font-family: var(--font-date);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.rsvp-designed-section input,
.rsvp-designed-section select,
.rsvp-designed-section textarea {
  color: #3d2500;
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(113, 85, 77, 0.28);
  border-radius: 2px;
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) inset;
}

.rsvp-designed-section .rsvp-hint {
  font-family: "Cormorant Garamond", var(--font-display);
  color: rgba(113, 85, 77, 0.78);
}

.guest-search-field {
  position: relative;
}

.guest-options {
  position: absolute;
  z-index: 20;
  right: 0;
  left: 0;
  top: calc(100% + 5px);
  display: grid;
  max-height: 242px;
  overflow: auto;
  border: 1px solid rgba(92, 41, 0, 0.24);
  border-radius: 6px;
  background: rgba(250, 247, 241, 0.98);
  box-shadow: 0 18px 34px rgba(48, 42, 36, 0.16);
}

.guest-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 14px;
  color: var(--color-burgundy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(92, 41, 0, 0.12);
  text-align: left;
}

.guest-option small {
  color: rgba(92, 41, 0, 0.62);
}

.rsvp-hint,
.cart-status {
  margin: -6px 0 0;
  color: rgba(92, 41, 0, 0.72);
  font-size: 15px;
  line-height: 1.35;
}

.registry-section {
  position: relative;
  min-height: 100svh;
  padding: clamp(108px, 12vh, 124px) 0 clamp(118px, 14vh, 146px);
  overflow: hidden;
  color: #3d2500;
  background-color: #eeede7;
}

.registry-section::before {
  content: "";
  position: absolute;
  inset: -72px 0 0;
  background:
    linear-gradient(rgba(242, 238, 229, 0.08), rgba(242, 238, 229, 0.08)),
    url("../public/images/design/story-slide-bg-clean.jpg") center / cover no-repeat;
  pointer-events: none;
}

.registry-shell {
  position: relative;
  z-index: 2;
  width: min(1306px, calc(100% - 4.5vw));
  margin: 0 auto;
}

.registry-heading {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1cm;
  row-gap: 0.85cm;
  align-items: center;
  min-height: 0;
  margin-bottom: 1.2cm;
}

.registry-heading__logo {
  justify-self: start;
  margin-left: clamp(32px, 8vw, 112px);
  width: clamp(118px, 10.2vw, 154px);
  height: auto;
  opacity: 0.28;
  filter: brightness(0) saturate(100%) sepia(0.18);
}

.registry-heading__rule {
  width: 100%;
  height: 1px;
  background: rgba(61, 37, 0, 0.22);
}

.registry-heading h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: #3d2500;
  font-family: var(--font-seasons);
  font-size: clamp(39px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.registry-table {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 3.6vw, 52px);
  color: rgba(238, 237, 231, 0.94);
  background:
    linear-gradient(rgba(116, 87, 79, 0.12), rgba(61, 37, 0, 0.08)),
    url("../public/images/design/confirm-bg.png") center / cover no-repeat,
    #8f746d;
  border: 1px solid rgba(238, 237, 231, 0.22);
  border-radius: clamp(34px, 4.6vw, 64px);
  box-shadow: 0 28px 74px rgba(61, 37, 0, 0.18);
}

.registry-table::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 16%, rgba(255, 255, 255, 0.16), transparent 32%),
    radial-gradient(ellipse at 84% 88%, rgba(61, 37, 0, 0.18), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 72%, rgba(61, 37, 0, 0.10));
  opacity: 0.78;
}

.registry-table > * {
  position: relative;
  z-index: 1;
}

.registry-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.98fr) minmax(214px, 0.42fr);
  gap: clamp(34px, 7vw, 112px);
  align-items: center;
  padding: 0 0 clamp(28px, 3.2vw, 42px);
}

.registry-intro__copy {
  max-width: 610px;
}

.registry-intro__copy span,
.gift-section__header span,
.gift-card__meta {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registry-intro__copy span {
  display: block;
  margin-bottom: 12px;
  color: #e8dccf;
  font-family: var(--font-date);
  font-size: 13px;
}

.registry-intro__copy h3 {
  margin: 0;
  max-width: 560px;
  color: #e8dccf;
  font-family: var(--font-date);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 0.98;
}

.registry-intro__copy p {
  margin: 18px 0 0;
  max-width: 560px;
  color: #e8dccf;
  font-family: var(--font-story-body);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.38;
}

.registry-actions {
  display: grid;
  gap: 12px;
  justify-self: center;
  justify-items: stretch;
  width: min(260px, 100%);
}

.registry-actions .button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 50%;
  color: #74574f;
  background: var(--color-burgundy);
  font-size: 12px;
}

.registry-table [data-show-all-gifts] {
  min-height: 52px;
  padding: 14px 28px 13px;
  box-shadow: 0 14px 30px rgba(61, 37, 0, 0.22);
  font-family: var(--font-count);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.gift-grid {
  display: grid;
  gap: clamp(26px, 3vw, 38px);
}

.gift-section {
  display: grid;
  gap: clamp(20px, 2.2vw, 28px);
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid rgba(238, 237, 231, 0.24);
  animation: registrySectionReveal 420ms ease both;
}

.gift-section.is-collapsed {
  display: none;
}

.gift-section__header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  max-width: 830px;
}

.gift-section__header span {
  color: #e8dccf;
  font-family: var(--font-date);
  font-size: 19px;
  line-height: 1;
}

.gift-section__header h3 {
  margin: 0;
  color: #e8dccf;
  font-family: var(--font-date);
  font-size: clamp(30px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 0.98;
}

.gift-section__header p {
  margin: 8px 0 0;
  max-width: 650px;
  color: #e8dccf;
  font-family: var(--font-date);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.34;
}

.gift-section__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  color: #e8dccf;
}

.gift-card img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: clamp(132px, 13.6vw, 182px);
  object-fit: cover;
  border-radius: 30px;
  background: rgba(238, 237, 231, 0.76);
  box-shadow: 0 16px 30px rgba(61, 37, 0, 0.13);
}

.gift-card__body {
  display: grid;
  align-content: start;
  flex: 1 1 auto;
  gap: 10px;
  min-height: 0;
  padding: 0 8px;
  color: #e8dccf;
  text-align: center;
}

.gift-card__body h3 {
  margin: 8px 0 0;
  color: #e8dccf;
  font-family: var(--font-youngest);
  font-size: clamp(20px, 1.55vw, 25px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.gift-card__body p {
  display: none;
}

.gift-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #e8dccf;
  font-family: var(--font-youngest);
  font-size: 12px;
  line-height: 1.25;
}

.gift-card__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.gift-card__controls input {
  min-height: 38px;
  max-width: 160px;
  width: min(100%, 160px);
  color: #3d2500;
  background: rgba(238, 237, 231, 0.88);
}

.gift-card__controls .button {
  min-width: 126px;
  min-height: 34px;
  padding: 8px 22px;
  font-family: var(--font-youngest);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.registry-table .button--textured,
.registry-table .button--ghost-dark {
  color: rgba(238, 237, 231, 0.92);
  background: transparent;
  border-color: rgba(238, 237, 231, 0.46);
}

.registry-table .button--textured:hover,
.registry-table .button--textured:focus-visible,
.registry-table .button--ghost-dark:hover,
.registry-table .button--ghost-dark:focus-visible,
.registry-table .button.is-registry-active,
.registry-table [data-show-all-gifts][aria-expanded="true"] {
  color: #74574f;
  background: rgba(238, 237, 231, 0.88);
  border-color: rgba(238, 237, 231, 0.88);
}

.registry-table [data-show-all-gifts] {
  color: #3d2500;
  background: #efe7db;
  border-color: #efe7db;
}

.registry-table [data-show-all-gifts]:hover,
.registry-table [data-show-all-gifts]:focus-visible,
.registry-table [data-show-all-gifts][aria-expanded="true"] {
  color: #efe7db;
  background: #5c2900;
  border-color: #5c2900;
  transform: translateY(-1px);
}

.registry-section .secure-note {
  position: absolute;
  right: 24px;
  bottom: clamp(24px, 4vh, 42px);
  left: 24px;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(61, 37, 0, 0.62);
  font-family: var(--font-count);
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.2;
  text-align: center;
}

@keyframes registrySectionReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gift-modal,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(2, 2, 2, 0.38);
}

.gift-modal[hidden],
.cart-drawer[hidden] {
  display: none;
}

.gift-modal {
  display: grid;
  place-items: center;
  padding: 22px;
}

.gift-modal__dialog {
  width: min(430px, 100%);
  padding: 30px;
  border-radius: 8px;
  color: var(--color-burgundy);
  background: var(--color-ivory);
  box-shadow: 0 28px 70px rgba(2, 2, 2, 0.22);
  text-align: center;
}

.gift-modal__dialog p {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 29px;
}

.gift-modal__dialog strong {
  display: block;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 400;
}

.gift-modal__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-drawer {
  display: flex;
  justify-content: flex-end;
}

.cart-drawer__panel {
  width: min(480px, 100%);
  height: 100%;
  overflow: auto;
  padding: 28px;
  color: var(--color-burgundy);
  background: var(--color-ivory);
  box-shadow: -26px 0 60px rgba(2, 2, 2, 0.18);
}

.cart-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.cart-drawer__header span {
  font-family: var(--font-count);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-drawer__header h2 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
}

.cart-drawer__header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(92, 41, 0, 0.24);
  border-radius: 50%;
  color: var(--color-burgundy);
  background: transparent;
  font-size: 28px;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(92, 41, 0, 0.16);
  border-radius: 8px;
  background: rgba(238, 237, 231, 0.56);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}

.cart-item p {
  margin: 0;
  font-size: 14px;
}

.cart-item button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(92, 41, 0, 0.22);
  border-radius: 50%;
  color: var(--color-burgundy);
  background: transparent;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(92, 41, 0, 0.24);
  border-bottom: 1px solid rgba(92, 41, 0, 0.24);
  font-family: var(--font-count);
  text-transform: uppercase;
}

.cart-secure-note {
  margin-top: 18px;
  padding: 16px 18px;
  color: rgba(92, 41, 0, 0.78);
  background: rgba(238, 237, 231, 0.72);
  border: 1px solid rgba(92, 41, 0, 0.16);
  border-radius: 8px;
}

.cart-secure-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-count);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.cart-secure-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-form {
  gap: 14px;
}

@media (max-width: 980px) {
  .registry-heading,
  .timeline-era,
  .timeline-era--wide,
  .timeline-era--final {
    grid-template-columns: 1fr;
  }

  .story-timeline::before {
    display: none;
  }

  .timeline-marker {
    width: 46px;
    height: 46px;
  }

  .story-modal {
    padding: 18px;
  }

  .story-modal__dialog {
    max-height: 90svh;
    padding: 28px 24px;
  }

  .story-modal .story-timeline::before {
    display: block;
    left: 22px;
  }

  .story-modal .timeline-era,
  .story-modal .timeline-era--wide,
  .story-modal .timeline-era--final {
    grid-template-columns: 44px minmax(156px, 0.4fr) minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
  }

  .story-modal .timeline-era--wide,
  .story-modal .timeline-era--final {
    grid-template-columns: 44px minmax(164px, 0.36fr) minmax(0, 1.08fr);
  }

  .story-modal .timeline-marker {
    width: 44px;
    height: 44px;
  }

  .story-modal .timeline-copy {
    align-self: center;
  }

  .story-modal .timeline-copy h2 {
    font-size: 26px;
  }

  .story-modal .timeline-copy p {
    font-size: 14.5px;
  }

  .story-modal .timeline-gallery--three {
    height: 176px;
  }

  .story-modal .timeline-gallery--four {
    height: 158px;
  }

  .story-modal .timeline-gallery--scroll {
    height: 160px;
  }

  .story-modal .timeline-gallery--scroll img {
    flex-basis: 120px;
  }

  .story-modal .timeline-era--final figure {
    height: 176px;
  }

  .itinerary-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .flip-card,
  .flip-card__inner {
    min-height: 0;
  }

  .itinerary-grid {
    gap: 34px;
  }

  .flip-card {
    justify-self: center;
    width: min(374px, 82vw);
  }

  .registry-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .story-slide-section {
    padding-top: 92px;
    background-position: center center, center center;
    background-size: auto, auto 118%;
  }

  .story-slide-stage {
    display: grid;
    gap: 24px;
    width: min(720px, calc(100% - 42px));
    aspect-ratio: auto;
    padding: 58px 30px 34px;
  }

  .story-slide-logo {
    position: relative;
    top: auto;
    left: auto;
    justify-self: center;
    width: 112px;
    margin-bottom: -4px;
  }

  .story-slide-rule {
    display: none;
  }

  .story-slide-copy,
  .story-slide-photo {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: auto;
  }

  .story-slide-copy h1 {
    padding-left: 0;
    text-align: center;
    font-size: clamp(22px, 7vw, 31px);
  }

  .story-slide-copy p {
    font-size: clamp(16px, 3.5vw, 18px);
    line-height: 1.28;
  }

  .story-slide-photo {
    justify-self: center;
    width: min(330px, 76vw);
    aspect-ratio: 409 / 615;
  }

  .story-timeline-toggle {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 24px auto 0;
  }

  .story-modal .timeline-era,
  .story-modal .timeline-era--wide,
  .story-modal .timeline-era--final {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px 14px;
  }

  .story-modal .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }

  .story-modal .story-timeline::before {
    left: 20px;
  }

  .story-modal .timeline-copy h2 {
    font-size: 25px;
  }

  .story-modal .timeline-gallery,
  .story-modal .timeline-era--final figure {
    grid-column: 2;
    width: 100%;
  }

  .story-modal .timeline-gallery {
    display: flex;
    gap: 8px;
    height: 160px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .story-modal .timeline-gallery img {
    flex: 0 0 120px;
    width: 120px;
    min-width: 120px;
    scroll-snap-align: start;
  }

  .story-photo-viewer {
    grid-template-columns: 1fr;
    padding: 64px 16px 30px;
  }

  .story-photo-viewer__figure {
    grid-column: 1;
    width: 100%;
  }

  .story-photo-viewer__figure img {
    max-width: 100%;
    max-height: 72svh;
  }

  .story-photo-viewer__nav {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 42px;
    font-size: 38px;
    transform: translateY(-50%);
  }

  .story-photo-viewer__nav:hover,
  .story-photo-viewer__nav:focus-visible {
    transform: translateY(-50%);
  }

  .story-photo-viewer__nav--prev {
    left: 12px;
  }

  .story-photo-viewer__nav--next {
    right: 12px;
  }
}

@media (max-width: 620px) {
  .story-timeline-section,
  .itinerary-section,
  .registry-section {
    padding-top: 92px;
    padding-bottom: 70px;
  }

  .story-timeline-shell,
  .itinerary-shell,
  .registry-shell {
    width: calc(100% - 42px);
  }

  .itinerary-heading {
    margin-bottom: 34px;
  }

  .itinerary-heading h2:not(.sr-only) {
    font-size: clamp(38px, 12vw, 52px);
  }

  .itinerary-logo {
    width: 92px;
  }

  .flip-card {
    width: min(340px, 88vw);
  }

  .story-slide-stage {
    width: calc(100% - 28px);
    padding: 54px 22px 30px;
  }

  .timeline-gallery--three,
  .timeline-gallery--four {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .timeline-gallery--three img,
  .timeline-gallery--four img {
    aspect-ratio: 4 / 5;
  }

  .timeline-gallery--scroll {
    height: 210px;
  }

  .story-modal {
    padding: 10px;
  }

  .story-modal__dialog {
    width: 100%;
    max-height: 92svh;
    padding: 24px 16px 20px;
  }

  .story-modal__close {
    top: 14px;
    right: 16px;
    font-size: 10px;
  }

  .story-modal__header {
    gap: 8px;
    margin-bottom: 18px;
  }

  .story-modal__header img {
    width: 74px;
  }

  .story-modal__header h2 {
    font-size: 24px;
  }

  .story-modal .story-timeline {
    gap: 14px;
  }

  .story-modal .story-timeline::before {
    left: 19px;
  }

  .story-modal .timeline-era,
  .story-modal .timeline-era--wide,
  .story-modal .timeline-era--final {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 10px 0;
  }

  .story-modal .timeline-marker {
    width: 38px;
    height: 38px;
    font-size: 11px;
  }

  .story-modal .timeline-copy h2 {
    margin: 5px 0 6px;
    font-size: clamp(17px, 5vw, 20px);
  }

  .story-modal .timeline-copy p {
    max-width: none;
    font-size: 14px;
    line-height: 1.32;
  }

  .story-modal .timeline-gallery--three,
  .story-modal .timeline-gallery--four {
    height: 152px;
  }

  .story-modal .timeline-gallery--scroll {
    height: 150px;
  }

  .story-modal .timeline-gallery--scroll img {
    flex-basis: 108px;
  }

  .story-modal .timeline-gallery img {
    flex-basis: 108px;
    width: 108px;
    min-width: 108px;
  }

  .story-modal .timeline-era--final figure {
    height: 152px;
  }

  .gift-card {
    gap: 14px;
  }

  .gift-card img {
    height: clamp(150px, 42vw, 210px);
  }

  .gift-card__controls {
    grid-template-columns: 1fr;
  }

  .cart-drawer__panel {
    padding: 22px;
  }

  .cart-item {
    grid-template-columns: 54px minmax(0, 1fr) auto;
  }

  .cart-item img {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 980px) {
  .registry-shell {
    width: min(920px, calc(100% - 8vw));
  }

  .registry-heading {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
  }

  .registry-heading__logo {
    margin-left: 0;
  }

  .registry-heading__rule {
    width: 100%;
  }

  .registry-table {
    padding: clamp(28px, 4vw, 38px);
  }

  .registry-intro {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .registry-actions {
    justify-self: center;
  }

  .gift-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rsvp-designed-section .rsvp-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding-top: calc(var(--rsvp-brand-logo-height) + var(--section-gap-2cm));
  }

  .rsvp-designed-section .rsvp-form-panel {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .registry-section {
    padding-top: 82px;
    padding-bottom: 104px;
  }

  .registry-shell {
    width: calc(100% - 34px);
  }

  .registry-heading {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1cm;
    row-gap: 1.2cm;
    min-height: 0;
    margin-bottom: 1.2cm;
  }

  .registry-heading__logo {
    margin-left: 0;
    width: 112px;
  }

  .registry-heading__rule {
    width: 100%;
  }

  .registry-heading h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .registry-table {
    padding: 24px 18px 28px;
    border-radius: 30px;
  }

  .registry-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .registry-intro__copy h3 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .registry-actions {
    justify-self: stretch;
  }

  .gift-section__header {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .gift-section__header h3 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .gift-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .gift-card {
    gap: 12px;
  }

  .gift-card img {
    height: clamp(132px, 36vw, 168px);
    border-radius: 22px;
  }

  .gift-card__body {
    min-height: 0;
  }

  .gift-card__body h3 {
    font-size: 20px;
  }

  .gift-card__meta {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .gift-card__controls .button {
    min-width: 108px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .registry-section .secure-note {
    right: 22px;
    bottom: 28px;
    left: 22px;
    text-align: center;
  }

  .rsvp-designed-section {
    padding: 82px 0 76px;
  }

  .rsvp-designed-section .rsvp-layout {
    --rsvp-brand-logo-width: 112px;
    --rsvp-brand-logo-height: 94px;
    width: calc(100% - 44px);
    padding-top: calc(var(--rsvp-brand-logo-height) + var(--section-gap-2cm));
  }

  .rsvp-brand-row {
    left: 0;
    gap: 24px;
  }

  .rsvp-brand-logo {
    width: var(--rsvp-brand-logo-width);
  }

  .rsvp-designed-section .rsvp-intro h2 {
    padding-left: 0;
    font-size: clamp(38px, 11vw, 52px);
  }

  .rsvp-designed-section .rsvp-intro {
    padding-left: 0;
  }

  .rsvp-designed-section .rsvp-presence {
    margin-top: var(--section-gap-2cm);
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .rsvp-designed-section .rsvp-message,
  .rsvp-designed-section .rsvp-deadline {
    font-size: clamp(19px, 5.4vw, 23px);
  }

  .rsvp-designed-section .rsvp-form-panel {
    min-height: 0;
    padding: 58px 0 54px;
    border: 0;
  }

  .rsvp-designed-section .rsvp-form-panel form {
    justify-self: center;
    width: min(72%, 360px);
    gap: 10px;
  }

  .rsvp-designed-section label span {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.1;
  }

  .rsvp-designed-section input,
  .rsvp-designed-section select,
  .rsvp-designed-section textarea {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .rsvp-designed-section textarea {
    min-height: 94px;
  }

  .rsvp-designed-section .rsvp-hint {
    margin-top: -4px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .faq-section {
    min-height: 100svh;
    padding: 82px 0 112px;
  }

  .faq-layout {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
