:root {
  --layout-max-width: 1280px;
  --grain-size: 220px;

  --color-paper: #f8f1e7;
  --color-paper-deep: #ead8bf;
  --color-paper-edge: #eadbc5;
  --color-paper-surface: rgba(249, 242, 232, 0.965);
  --color-paper-glow: rgba(255, 255, 255, 0.64);
  --color-ink: #3d261d;
  --color-muted: #7b6254;
  --color-wine: #8f0711;
  --color-wine-dark: #640208;
  --color-gold: #c09247;
  --color-gold-soft: #d9b76e;
  --color-gold-line: rgba(192, 146, 71, 0.32);
  --color-card: rgba(255, 252, 247, 0.86);
  --color-focus: rgba(192, 146, 71, 0.64);

  --paper: var(--color-paper);
  --paper-deep: var(--color-paper-deep);
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --wine: var(--color-wine);
  --wine-dark: var(--color-wine-dark);
  --gold: var(--color-gold);
  --gold-soft: var(--color-gold-soft);
  --line: var(--color-gold-line);
  --shadow: 0 12px 26px rgba(70, 42, 24, 0.12);
  --radius: 12px;

  --page-edge-bg: var(--color-paper-edge);
  --page-paper-bg:
    radial-gradient(circle at 50% 0%, var(--color-paper-glow), transparent 18rem),
    linear-gradient(var(--color-paper-surface), var(--color-paper-surface)),
    url("assets/paper-grain.svg") center / var(--grain-size) auto repeat;
}

@supports (color: oklch(50% 0.1 80)) {
  :root {
    --color-paper: oklch(96.5% 0.021 83);
    --color-paper-deep: oklch(88.8% 0.041 78);
    --color-paper-edge: oklch(90.8% 0.038 78);
    --color-paper-surface: oklch(96.2% 0.022 83 / 0.965);
    --color-paper-glow: oklch(99.2% 0.006 88 / 0.64);
    --color-ink: oklch(26.8% 0.044 52);
    --color-muted: oklch(48.6% 0.038 55);
    --color-wine: oklch(36.2% 0.135 28);
    --color-wine-dark: oklch(27.4% 0.115 28);
    --color-gold: oklch(66.4% 0.105 76);
    --color-gold-soft: oklch(77.1% 0.096 80);
    --color-gold-line: oklch(66.4% 0.105 76 / 0.32);
    --color-card: oklch(98% 0.012 83 / 0.86);
    --color-focus: oklch(66.4% 0.105 76 / 0.64);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.92), transparent 30rem),
    linear-gradient(180deg, #fbf7ee 0%, var(--paper) 56%, #f4eadc 100%);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: none;
}

body::after {
  content: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.98)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 22rem);
  box-shadow: none;
}

.site-shell::before {
  content: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  width: 100%;
  padding: 16px 22px 10px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #b68435;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(182, 132, 53, 0.35);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(45, 22, 9, 0.12);
  backdrop-filter: blur(14px);
}

.menu-button {
  gap: 4px;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: #4a2518;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.sound-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sound-button.is-playing {
  color: #fff7ea;
  background: linear-gradient(145deg, var(--wine), #b9151e);
  border-color: rgba(255, 244, 218, 0.58);
}

.monogram {
  justify-self: center;
  width: 72px;
  height: 54px;
  color: var(--wine);
  text-align: center;
  background: url("assets/monogram-frame.svg") center / contain no-repeat;
}

.monogram span {
  display: inline-block;
  font-style: italic;
  line-height: 1;
}

.monogram span:nth-child(1),
.monogram span:nth-child(3) {
  font-size: 26px;
}

.monogram span:nth-child(2) {
  margin: 0 -2px;
  color: var(--gold);
  font-size: 18px;
  transform: translateY(9px);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 50%;
  z-index: 25;
  display: grid;
  width: calc(100% - 32px);
  max-width: 430px;
  padding: 10px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(171, 121, 57, 0.24);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(59, 34, 18, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px);
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 13px 14px;
  color: var(--wine);
  border-bottom: 1px solid rgba(188, 138, 58, 0.16);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

main {
  position: relative;
}

.hero,
.section {
  position: relative;
  min-height: 100svh;
  padding: 82px 24px 34px;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  padding-bottom: 28px;
  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      #1d0905 0%,
      #210a06 43%,
      rgba(248, 241, 231, 0.98) 51%,
      rgba(248, 241, 231, 1)
    ),
    var(--paper);
}

.hero::after {
  content: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-media {
  position: absolute;
  inset: 62px 0 auto;
  z-index: -1;
  height: 44svh;
  min-height: 350px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  background:
    radial-gradient(circle at 20% 28%, rgba(246, 189, 99, 0.18), transparent 12%),
    radial-gradient(circle at 86% 52%, rgba(246, 189, 99, 0.16), transparent 13%),
    linear-gradient(180deg, #1e0905, #1a0704);
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 240px;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(29, 9, 5, 0) 0%,
    rgba(29, 9, 5, 0) 22%,
    rgba(248, 241, 231, 0.78) 66%,
    #f8f1e7 100%
  );
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #220507;
  filter: brightness(0.58) contrast(1.2) saturate(1.24);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.hero-video.is-playing {
  box-shadow: none;
}

.play-button {
  position: absolute;
  top: 142px;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: white;
  background: rgba(92, 5, 10, 0.1);
  border: 2px solid rgba(255, 250, 242, 0.9);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(75, 0, 0, 0.34);
  transform: translateX(-50%);
}

.play-button svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: currentColor;
}

.script-note {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0 0 14px;
  color: #fff6e9;
  font-size: 18px;
  font-style: italic;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0 0 0;
  color: var(--wine);
  font-size: clamp(50px, 16vw, 70px);
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(255, 250, 239, 0.68);
}

.hero h1 span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.74em;
  line-height: 0.9;
  text-transform: none;
}

.divider {
  align-self: center;
  width: 112px;
  height: 16px;
  margin: 18px 0 14px;
  background: url("assets/screen_1/divider.svg") center / contain no-repeat;
}

.date {
  margin-bottom: 28px;
  color: #4a3026;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  color: #fff8ee;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(135deg, #a50a14, #80040b);
  border: 1px solid rgba(222, 178, 95, 0.82);
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(91, 4, 10, 0.24), 0 13px 24px rgba(82, 4, 9, 0.2);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.hero .primary-button {
  width: 100%;
}

.scroll-cue {
  display: grid;
  align-self: center;
  width: 46px;
  height: 38px;
  margin-top: 14px;
  place-items: center;
  color: var(--gold-soft);
  animation: cueBounce 1.8s ease-in-out infinite;
}

.scroll-cue svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section {
  background:
    linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.96)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
}

.section > h2,
.section > .ornament,
.venue-card,
.map-card,
.route-button,
.details-list {
  position: relative;
  z-index: 1;
}

.section::after {
  content: none;
}

.ornament {
  width: 150px;
  height: 38px;
  margin: 10px auto 20px;
  background: url("assets/reference/gold-ornament.png") center / contain no-repeat;
  opacity: 0.72;
  filter: saturate(0.92) brightness(1.08);
}

.section h2 {
  margin-bottom: 18px;
  color: var(--wine);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.intro-section {
  text-align: center;
}

.intro-copy {
  position: relative;
  z-index: 1;
}

.intro-section .eyebrow {
  margin-bottom: 0;
  color: var(--wine);
  font-size: 23px;
}

.intro-section h2 {
  margin-bottom: 22px;
  text-transform: none;
}

.intro-section p {
  margin-inline: auto;
  max-width: 320px;
  color: #4d392f;
  font-size: 15px;
  line-height: 1.48;
}

.photo-card {
  position: relative;
  width: min(78vw, 292px);
  margin: 30px auto 28px;
  padding: 9px;
  background: #fff9ef;
  border: 1px solid rgba(196, 145, 70, 0.38);
  box-shadow: 0 12px 24px rgba(80, 43, 20, 0.12);
}

.photo-card::before,
.photo-card::after {
  position: absolute;
  inset: -28px -20px auto auto;
  width: 92px;
  height: 112px;
  content: "";
  background: url("assets/floral-sprig.svg") center / contain no-repeat;
  opacity: 0.6;
}

.photo-card::after {
  inset: auto auto -20px -22px;
  transform: rotate(180deg);
}

.photo-card > img:first-child {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

.intro-photo-card {
  width: min(90vw, 356px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.intro-photo-card > img:first-child {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.countdown {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.countdown-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  color: #8a5d27;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.countdown-title::before,
.countdown-title::after {
  height: 1px;
  content: "";
  background: var(--line);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.time-grid div {
  border-right: 1px solid rgba(169, 118, 52, 0.32);
}

.time-grid div:last-child {
  border-right: 0;
}

.time-grid strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.time-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.closing-note {
  margin-top: 32px;
  color: var(--wine) !important;
  font-style: italic;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 35px;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(192, 146, 71, 0.62), transparent);
}

.timeline li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
}

.timeline time {
  z-index: 1;
  color: var(--wine);
  font-size: 16px;
}

.timeline article,
.venue-card,
.details-list {
  background: rgba(255, 250, 242, 0.82);
  border: 1px solid rgba(194, 143, 68, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(65, 40, 21, 0.08);
}

.timeline article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 15px;
}

.timeline h3,
.venue-card h3 {
  margin-bottom: 6px;
  color: #463027;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.timeline p,
.venue-card p {
  margin-bottom: 0;
  color: #5f4b40;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
  line-height: 1.45;
}

.event-icon {
  display: block;
  width: 42px;
  height: 42px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.rings {
  background-image: url("assets/program-icons/icon-rings.webp");
}

.glasses {
  background-image: url("assets/program-icons/icon-glasses.webp");
}

.dinner {
  background-image: url("assets/program-icons/icon-dinner.webp");
}

.dance {
  background-image: url("assets/program-icons/icon-dance.webp");
}

.music {
  background-image: url("assets/program-icons/icon-music.webp");
}

blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 30px 28px 26px;
  color: #76573f;
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(194, 143, 68, 0.32);
  border-radius: var(--radius);
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

blockquote::before {
  position: absolute;
  top: 2px;
  left: 50%;
  content: "“";
  color: rgba(189, 138, 58, 0.55);
  font-size: 42px;
  transform: translateX(-50%);
}

.location-section {
  padding-bottom: 90px;
}

.location-orb {
  position: absolute;
  display: block;
  right: 10px;
  bottom: 6px;
  z-index: 1;
  width: 96px;
  opacity: 0.9;
  filter: drop-shadow(0 15px 18px rgba(76, 29, 13, 0.22));
  pointer-events: none;
  user-select: none;
}

.venue-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 8px;
  align-items: end;
  padding: 18px 0 0 18px;
  overflow: hidden;
}

.venue-card h3 {
  color: var(--wine);
  font-size: 17px;
  font-weight: 400;
  text-transform: none;
}

.venue-card img {
  width: 118px;
  margin-right: -8px;
  align-self: end;
}

.map-card {
  position: relative;
  z-index: 1;
  height: 190px;
  margin-top: 18px;
  overflow: hidden;
  background: #e8efe3;
  border: 1px solid rgba(194, 143, 68, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(65, 40, 21, 0.08);
}

.map-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.route-button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 18px 0;
  gap: 12px;
}

.route-button svg,
.submit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.details-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 8px 18px;
  list-style: none;
}

.details-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(181, 133, 67, 0.18);
  font-size: 13px;
}

.details-list li:last-child {
  border-bottom: 0;
}

.details-list span {
  color: #6a4a39;
}

.details-list strong {
  min-width: 0;
  color: #3f271d;
  font-weight: 400;
  text-align: right;
}

.rsvp-section {
  min-height: auto;
  padding-bottom: 42px;
}

.rsvp-copy {
  margin: -6px auto 26px;
  max-width: 220px;
  color: #6d5547;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.rsvp-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.rsvp-form label,
.rsvp-form fieldset {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rsvp-form > label > span,
.rsvp-form legend {
  color: #6d5448;
  font-size: 13px;
}

.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 19px;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(194, 143, 68, 0.38);
  border-radius: 999px;
  outline: 0;
  box-shadow: inset 0 2px 5px rgba(72, 38, 16, 0.03);
}

.rsvp-form textarea {
  min-height: 88px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
  border-radius: 18px;
  line-height: 1.4;
}

.rsvp-form input[type="text"]:focus,
.rsvp-form textarea:focus {
  border-color: rgba(149, 7, 18, 0.6);
  box-shadow: 0 0 0 4px rgba(149, 7, 18, 0.08);
}

.choice {
  position: relative;
  display: flex !important;
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(194, 143, 68, 0.38);
  border-radius: 999px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
}

.choice span {
  display: block;
  min-width: 0;
  margin-left: 28px;
  color: inherit;
  line-height: 1.2;
}

.choice input,
.guest-options input,
.drink-options input {
  position: absolute;
  opacity: 0;
}

.choice::before {
  position: absolute;
  left: 18px;
  content: "✓";
  color: var(--gold);
  font-family: "Trebuchet MS", sans-serif;
}

.choice.active {
  color: #fff7eb;
  background: linear-gradient(135deg, #a50a14, #80040b);
  border-color: rgba(222, 178, 95, 0.76);
}

.choice.active::before {
  color: #fff7eb;
}

.choice.active span {
  color: #fff7eb;
}

.guest-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.drink-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.guest-options label,
.drink-options label {
  position: relative;
  display: block;
}

.guest-options span,
.drink-options span {
  display: grid;
  height: 42px;
  place-items: center;
  color: #6f5545;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(194, 143, 68, 0.38);
  border-radius: 999px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
}

.guest-options input:checked + span,
.drink-options input:checked + span {
  color: #fff7eb;
  background: linear-gradient(135deg, #a50a14, #80040b);
  border-color: rgba(222, 178, 95, 0.76);
}

.submit-button {
  width: 100%;
  gap: 14px;
  margin-top: 6px;
}

.form-status {
  position: relative;
  z-index: 1;
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--wine);
  font-size: 13px;
  text-align: center;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-9px);
  }
}

@keyframes cueBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 360px) {
  .hero,
  .section {
    padding-inline: 18px;
  }

  .timeline article {
    grid-template-columns: 44px 1fr;
    padding-inline: 12px;
  }

  .event-icon {
    width: 35px;
    height: 35px;
  }

  .venue-card {
    grid-template-columns: 1fr 90px;
  }
}

@media (max-width: 959px) and (max-height: 720px) {
  .hero,
  .section {
    padding-bottom: 24px;
  }

  .hero-media {
    height: 39svh;
    min-height: 285px;
  }

  .script-note {
    top: 94px;
    font-size: 16px;
  }

  .play-button {
    top: 128px;
    width: 68px;
    height: 68px;
  }

  .hero h1 {
    font-size: clamp(43px, 14vw, 58px);
  }

  .date {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .primary-button {
    min-height: 48px;
  }
}

@media (min-width: 960px) {
  html {
    overflow: auto;
  }

  body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 50% -6%, rgba(255, 255, 255, 0.96), transparent 34rem),
      radial-gradient(circle at 8% 90%, rgba(192, 146, 71, 0.14), transparent 22rem),
      radial-gradient(circle at 92% 78%, rgba(143, 7, 17, 0.08), transparent 20rem),
      linear-gradient(115deg, #f3e8d8, #fffaf1 48%, #eadfce);
  }

  .site-shell {
    min-height: 100vh;
    overflow: visible;
    background: transparent;
  }

  .topbar {
    left: 50%;
    grid-template-columns: 120px 1fr 44px;
    width: min(100% - 64px, 1200px);
    padding: 18px 0;
    transform: translateX(-50%);
  }

  .menu-button {
    display: none;
  }

  .monogram {
    justify-self: start;
  }

  .sound-button {
    justify-self: end;
  }

  .mobile-menu {
    top: 22px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    padding: 6px;
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 250, 241, 0.76);
    border-color: rgba(192, 146, 71, 0.26);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(65, 40, 21, 0.1);
    transform: translateX(-50%);
  }

  .mobile-menu a {
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .mobile-menu a:hover {
    color: #fff8ee;
    background: linear-gradient(135deg, #a50a14, #80040b);
  }

  main {
    display: block;
  }

  .hero,
  .section {
    min-height: auto;
    padding: clamp(88px, 8vw, 124px) clamp(48px, 7vw, 112px);
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(42px, 7vw, 110px);
    align-items: center;
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 78px;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 18% 44%, rgba(143, 7, 17, 0.2), transparent 24rem),
      linear-gradient(90deg, #220a05 0 41%, rgba(34, 10, 5, 0.68) 45%, #f7efe4 51%, #fffaf2 100%);
  }

  .hero::before {
    content: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: min(100%, 620px);
    height: min(72vh, 690px);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(223, 184, 103, 0.32);
    border-radius: 20px;
    box-shadow: 0 24px 55px rgba(42, 18, 8, 0.36);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-media::before {
    position: absolute;
    inset: 14px;
    z-index: 2;
    pointer-events: none;
    content: "";
    border: 1px solid rgba(224, 184, 103, 0.44);
  }

  .hero-media::after {
    inset: 0;
    height: auto;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(26, 8, 4, 0.04), rgba(26, 8, 4, 0.2) 66%, rgba(26, 8, 4, 0.44)),
      radial-gradient(ellipse at 50% 42%, transparent 0 38%, rgba(16, 5, 3, 0.28) 76%);
  }

  .hero-video {
    filter: brightness(0.72) contrast(1.18) saturate(1.24);
  }

  .script-note {
    position: static;
    margin-bottom: 18px;
    color: var(--wine);
    font-size: 22px;
    text-shadow: none;
  }

  .play-button {
    top: 50%;
    width: 82px;
    height: 82px;
    z-index: 3;
    background: rgba(92, 5, 10, 0.16);
  }

  .play-button svg {
    width: 36px;
    height: 36px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    max-width: 560px;
  }

  .hero h1 {
    font-size: clamp(76px, 8vw, 124px);
    line-height: 0.88;
    text-align: left;
    text-shadow: 0 6px 22px rgba(255, 250, 239, 0.8);
  }

  .hero h1 span {
    padding-left: 0.18em;
    font-size: 0.62em;
  }

  .divider {
    align-self: flex-start;
    width: 150px;
    margin: 26px 0 18px;
  }

  .date {
    margin-bottom: 34px;
    color: #4a3026;
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .primary-button {
    min-height: 52px;
    padding-inline: 34px;
    font-size: 12px;
  }

  .hero .primary-button {
    width: auto;
    min-width: 260px;
  }

  .scroll-cue {
    align-self: flex-start;
    margin-left: 105px;
  }

  .section {
    width: min(100%, 1220px);
    margin: 0 auto;
    background: transparent;
  }

  .ornament {
    width: 140px;
    height: 30px;
    margin-bottom: 28px;
  }

  .section h2 {
    font-size: clamp(34px, 3vw, 48px);
  }

  .intro-section {
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 0.75fr);
    gap: clamp(44px, 7vw, 96px);
    align-items: center;
    text-align: left;
  }

  .intro-copy {
    grid-column: 1;
    max-width: 600px;
  }

  .intro-section .ornament {
    margin-left: 0;
  }

  .intro-section .eyebrow {
    font-size: 30px;
  }

  .intro-section h2 {
    margin-bottom: 28px;
    font-size: 38px;
    text-align: left;
  }

  .intro-section p {
    max-width: 560px;
    margin-inline: 0;
    font-size: 18px;
    line-height: 1.7;
  }

  .photo-card {
    grid-column: 2;
    width: min(100%, 390px);
    margin: 0 auto;
    padding: 11px;
    border-radius: 0;
    box-shadow: 0 24px 55px rgba(80, 43, 20, 0.16);
  }

  .countdown {
    max-width: 560px;
    margin-top: 30px;
  }

  .countdown-title {
    font-size: 14px;
  }

  .time-grid strong {
    font-size: 38px;
  }

  .time-grid span {
    font-size: 10px;
  }

  .program-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(42px, 6vw, 92px);
    align-items: center;
  }

  .program-section .ornament,
  .program-section h2,
  .program-section blockquote {
    grid-column: 1;
  }

  .program-section h2 {
    text-align: left;
  }

  .program-section .ornament {
    margin-left: 0;
  }

  .timeline {
    grid-column: 2;
    grid-row: 1 / span 3;
    gap: 18px;
    margin: 0;
  }

  .timeline::before {
    left: 45px;
  }

  .timeline li {
    grid-template-columns: 76px 1fr;
    gap: 18px;
  }

  .timeline time {
    font-size: 18px;
  }

  .timeline article {
    grid-template-columns: 62px 1fr;
    min-height: 88px;
    padding: 18px 22px;
  }

  .event-icon {
    width: 48px;
    height: 48px;
  }

  .timeline h3,
  .venue-card h3 {
    font-size: 16px;
  }

  .timeline p,
  .venue-card p {
    font-size: 13px;
  }

  blockquote {
    max-width: 430px;
    padding: 32px 34px 28px;
    font-size: 17px;
  }

  .location-section {
    display: grid;
    grid-template-columns: minmax(340px, 0.8fr) minmax(480px, 1.2fr);
    gap: 28px 40px;
    align-items: start;
  }

  .location-orb {
    right: 36px;
    bottom: 26px;
    width: 132px;
  }

  .location-section .ornament,
  .location-section h2 {
    grid-column: 1 / -1;
  }

  .venue-card {
    grid-column: 1;
    grid-template-columns: 1fr 132px;
    min-height: 180px;
    padding: 24px 0 0 24px;
  }

  .venue-card h3 {
    font-size: 24px;
  }

  .venue-card img {
    width: 146px;
  }

  .map-card {
    grid-column: 2;
    grid-row: 3 / span 3;
    height: 360px;
    margin: 0;
  }

  .route-button {
    grid-column: 1;
    width: 100%;
    margin: 0;
  }

  .details-list {
    grid-column: 1;
    padding: 14px 24px;
  }

  .details-list li {
    padding: 18px 0;
    font-size: 15px;
  }

  .rsvp-section {
    max-width: 860px;
    padding-bottom: 120px;
  }

  .rsvp-copy {
    font-size: 12px;
  }

  .rsvp-form {
    gap: 22px;
  }

  .rsvp-form input[type="text"] {
    min-height: 54px;
    font-size: 15px;
  }

  .choice {
    min-height: 48px;
    font-size: 14px;
  }

  .guest-options span,
  .drink-options span {
    height: 48px;
    font-size: 14px;
  }

}

@media (min-width: 480px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    background:
      radial-gradient(ellipse at 50% -10%, rgba(255, 255, 255, 0.94), transparent 34rem),
      radial-gradient(ellipse at 12% 18%, rgba(151, 118, 78, 0.13), transparent 25rem),
      radial-gradient(ellipse at 88% 86%, rgba(151, 118, 78, 0.1), transparent 25rem),
      linear-gradient(115deg, #efe4d4 0%, #fbf5ea 49%, #eadfce 100%);
  }

  body::before {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
      url("assets/extracted-flowers/flower-01-left-sprig.webp") left 2vw top 5vh / 150px auto no-repeat,
      url("assets/extracted-flowers/flower-06-right-bloom.webp") right 3vw bottom 5vh / 210px auto no-repeat;
    opacity: 0.28;
  }

  .site-shell {
    width: min(430px, calc(100% - 32px));
    max-width: 430px;
    min-height: auto;
    margin: 28px auto 44px;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .topbar {
    position: fixed;
    top: 28px;
    left: 50%;
    grid-template-columns: 44px 1fr 44px;
    width: min(430px, calc(100% - 32px));
    padding: 16px 22px 10px;
    transform: translateX(-50%);
  }

  .menu-button {
    display: grid;
  }

  .monogram {
    justify-self: center;
  }

  .sound-button {
    justify-self: end;
  }

  .mobile-menu {
    top: 92px;
    display: grid;
    width: min(398px, calc(100% - 64px));
    max-width: 398px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    border-radius: 18px;
    transform: translate(-50%, -12px);
  }

  .mobile-menu.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(188, 138, 58, 0.16);
    border-radius: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  main {
    display: grid;
    gap: 26px;
  }

  .hero,
  .section {
    width: 100%;
    min-height: min(820px, calc(100svh - 56px));
    margin: 0;
    padding: 82px 24px 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px;
    outline: 1px solid rgba(198, 184, 162, 0.42);
    outline-offset: -7px;
    box-shadow:
      0 22px 46px rgba(73, 48, 27, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  }

  .hero {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
    justify-content: flex-end;
    padding-top: 82px;
    padding-bottom: 28px;
    color: var(--ink);
    background:
      linear-gradient(
        180deg,
        #1d0905 0%,
        #210a06 43%,
        rgba(248, 241, 231, 0.98) 51%,
        rgba(248, 241, 231, 1)
      ),
      var(--paper);
  }

  .hero-media {
    position: absolute;
    inset: 62px 0 auto;
    z-index: -1;
    width: auto;
    height: 44svh;
    min-height: 350px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  }

  .hero-media::before {
    content: none;
  }

  .hero-media::after {
    inset: auto 0 0;
    height: 240px;
    background: linear-gradient(
      180deg,
      rgba(29, 9, 5, 0) 0%,
      rgba(29, 9, 5, 0) 22%,
      rgba(248, 241, 231, 0.78) 66%,
      #f8f1e7 100%
    );
  }

  .hero-video {
    filter: brightness(0.58) contrast(1.2) saturate(1.24);
  }

  .script-note {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    margin: 0 0 14px;
    color: #fff6e9;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  }

  .play-button {
    top: 142px;
    width: 78px;
    height: 78px;
    z-index: 1;
    background: rgba(92, 5, 10, 0.1);
  }

  .play-button svg {
    width: 34px;
    height: 34px;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    align-items: stretch;
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 70px);
    line-height: 0.95;
    text-align: center;
    text-shadow: 0 3px 14px rgba(255, 250, 239, 0.68);
  }

  .hero h1 span {
    display: block;
    padding-left: 0;
    font-size: 0.74em;
    line-height: 0.9;
  }

  .divider {
    align-self: center;
    width: 112px;
    margin: 18px 0 14px;
  }

  .date {
    margin-bottom: 28px;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .primary-button {
    min-height: 50px;
    padding: 0 26px;
    font-size: 13px;
  }

  .hero .primary-button {
    width: 100%;
    min-width: 0;
  }

  .scroll-cue {
    align-self: center;
    margin-top: 14px;
    margin-left: 0;
  }

  .section {
    background:
      linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.96)),
      url("assets/paper-grain.svg") center / 220px auto repeat;
  }

  .intro-section,
  .program-section,
  .location-section {
    display: block;
    grid-template-columns: none;
    gap: 0;
    align-items: stretch;
  }

  .intro-section {
    text-align: center;
    background:
      url("assets/extracted-flowers/flower-01-left-sprig.webp") left -18px top 94px / 118px auto no-repeat,
      url("assets/extracted-flowers/flower-06-right-bloom.webp") right -34px bottom -18px / 166px auto no-repeat,
      linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.96)),
      url("assets/paper-grain.svg") center / 220px auto repeat;
  }

  .program-section {
    background:
      url("assets/extracted-flowers/flower-04-center-large-bloom.png") center bottom -18px / 235px auto no-repeat,
      linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.96)),
      url("assets/paper-grain.svg") center / 220px auto repeat;
  }

  .location-section {
    padding-bottom: 90px;
    background:
      url("assets/extracted-flowers/flower-05-right-left-cluster.png") left -34px bottom -14px / 154px auto no-repeat,
      url("assets/extracted-flowers/flower-06-right-bloom.webp") right -28px bottom -18px / 156px auto no-repeat,
      linear-gradient(rgba(248, 241, 231, 0.96), rgba(248, 241, 231, 0.96)),
      url("assets/paper-grain.svg") center / 220px auto repeat;
  }

  .rsvp-section {
    max-width: none;
    min-height: auto;
    padding-bottom: 42px;
  }

  .ornament {
    width: 150px;
    height: 38px;
    margin: 10px auto 20px;
  }

  .section h2 {
    margin-bottom: 18px;
    font-size: 26px;
    line-height: 1.08;
    text-align: center;
  }

  .intro-copy {
    max-width: none;
    grid-column: auto;
  }

  .intro-section .ornament {
    margin-left: auto;
  }

  .intro-section .eyebrow {
    font-size: 23px;
  }

  .intro-section h2 {
    margin-bottom: 22px;
    font-size: 26px;
    text-align: center;
  }

  .intro-section p {
    max-width: 320px;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.48;
  }

  .photo-card {
    grid-column: auto;
    width: min(78vw, 292px);
    margin: 30px auto 28px;
    padding: 9px;
    border-radius: 0;
    box-shadow: 0 12px 24px rgba(80, 43, 20, 0.12);
  }

  .countdown {
    max-width: none;
    margin-top: 18px;
  }

  .countdown-title {
    font-size: 14px;
  }

  .time-grid strong {
    font-size: 28px;
  }

  .time-grid span {
    font-size: 9px;
  }

  .timeline {
    grid-column: auto;
    grid-row: auto;
    gap: 18px;
    margin: 26px 0 34px;
  }

  .timeline::before {
    left: 35px;
  }

  .timeline li {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .timeline time {
    font-size: 16px;
  }

  .timeline article {
    grid-template-columns: 54px 1fr;
    min-height: 78px;
    padding: 14px 15px;
  }

  .event-icon {
    width: 42px;
    height: 42px;
  }

  .timeline h3,
  .venue-card h3 {
    font-size: 14px;
  }

  .timeline p,
  .venue-card p {
    font-size: 11px;
  }

  blockquote {
    max-width: none;
    padding: 30px 28px 26px;
    font-size: 15px;
  }

  .location-orb {
    right: 10px;
    bottom: 6px;
    width: 96px;
  }

  .location-section .ornament,
  .location-section h2 {
    grid-column: auto;
  }

  .venue-card {
    grid-column: auto;
    grid-template-columns: 1fr 112px;
    min-height: 0;
    padding: 18px 0 0 18px;
  }

  .venue-card h3 {
    font-size: 17px;
  }

  .venue-card img {
    width: 118px;
  }

  .map-card {
    grid-column: auto;
    grid-row: auto;
    height: 190px;
    margin-top: 18px;
  }

  .route-button {
    grid-column: auto;
    width: 100%;
    margin: 18px 0;
  }

  .details-list {
    grid-column: auto;
    padding: 8px 18px;
  }

  .details-list li {
    padding: 13px 0;
    font-size: 13px;
  }

  .rsvp-copy {
    font-size: 11px;
  }

  .rsvp-form {
    gap: 20px;
  }

  .rsvp-form input[type="text"] {
    min-height: 48px;
    font-size: inherit;
  }

  .choice {
    min-height: 42px;
    font-size: 12px;
  }

  .guest-options span,
  .drink-options span {
    height: 42px;
    font-size: 12px;
  }

}

.topbar,
.mobile-menu {
  display: none;
}

body {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.9), transparent 36rem),
    radial-gradient(ellipse at 9% 14%, rgba(178, 142, 96, 0.13), transparent 24rem),
    radial-gradient(ellipse at 88% 82%, rgba(178, 142, 96, 0.12), transparent 24rem),
    linear-gradient(115deg, #efe5d8 0%, #faf5ec 48%, #ece1d0 100%);
}

.site-shell {
  overflow: visible;
}

@media (min-width: 480px) {
  .site-shell {
    width: min(430px, calc(100% - 36px));
    max-width: 430px;
    margin: 36px auto 52px;
  }
}

main {
  display: grid;
  gap: 30px;
}

.hero,
.section {
  width: 100%;
  min-height: 1160px;
  padding: 178px 27px 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.7), transparent 20rem),
    linear-gradient(rgba(249, 242, 232, 0.965), rgba(249, 242, 232, 0.965)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  outline: 1px solid rgba(196, 182, 160, 0.46);
  outline-offset: -8px;
  box-shadow:
    0 24px 52px rgba(72, 48, 28, 0.17),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.screen-status {
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1f1915;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.status-icons i {
  display: block;
  position: relative;
}

.status-icons i:nth-child(1) {
  width: 18px;
  height: 12px;
  background:
    linear-gradient(to top, currentColor 0 34%, transparent 34%) 0 7px / 3px 12px no-repeat,
    linear-gradient(to top, currentColor 0 52%, transparent 52%) 5px 4px / 3px 12px no-repeat,
    linear-gradient(to top, currentColor 0 72%, transparent 72%) 10px 2px / 3px 12px no-repeat,
    linear-gradient(to top, currentColor 0 100%, transparent 100%) 15px 0 / 3px 12px no-repeat;
}

.status-icons i:nth-child(2) {
  width: 15px;
  height: 11px;
  border-top: 3px solid currentColor;
  border-radius: 14px 14px 0 0;
}

.status-icons i:nth-child(2)::after {
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.status-icons i:nth-child(3) {
  width: 21px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.status-icons i:nth-child(3)::after {
  position: absolute;
  top: 2px;
  right: -4px;
  width: 2px;
  height: 4px;
  content: "";
  background: currentColor;
  border-radius: 0 2px 2px 0;
}

.screen-nav {
  position: absolute;
  top: 54px;
  left: 24px;
  right: 24px;
  z-index: 8;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 46px;
}

.screen-menu {
  display: block;
  width: 26px;
  height: 18px;
  background:
    linear-gradient(#4b2c20, #4b2c20) 0 0 / 24px 2px no-repeat,
    linear-gradient(#4b2c20, #4b2c20) 0 8px / 24px 2px no-repeat,
    linear-gradient(#4b2c20, #4b2c20) 0 16px / 24px 2px no-repeat;
}

.screen-music {
  justify-self: end;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #b6853d;
  background: rgba(255, 252, 246, 0.76);
  border: 1px solid rgba(192, 146, 71, 0.42);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(62, 38, 22, 0.11);
}

.screen-music::before {
  content: "♫";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.screen-mark {
  justify-self: center;
  width: 74px;
  height: 58px;
  background: url("assets/section-header-monogram.png") center / contain no-repeat;
}

.hero {
  min-height: 1120px;
  padding-top: 118px;
  padding-bottom: 38px;
  background:
    linear-gradient(
      180deg,
      #170704 0%,
      #210905 48%,
      rgba(248, 241, 231, 0.9) 57%,
      #f8f1e7 100%
    ),
    var(--paper);
}

.hero .screen-status {
  color: rgba(255, 250, 243, 0.96);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.hero-screen-nav {
  pointer-events: none;
}

.hero-screen-nav .screen-music {
  color: #d1b06b;
  background: rgba(28, 12, 8, 0.36);
  border-color: rgba(207, 174, 101, 0.7);
}

.hero-media {
  inset: 0 0 auto;
  z-index: 0;
  height: 638px;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 200, 115, 0.42), transparent 8%),
    radial-gradient(circle at 90% 50%, rgba(255, 196, 105, 0.3), transparent 10%),
    radial-gradient(circle at 50% 30%, rgba(132, 8, 15, 0.58), transparent 28%),
    linear-gradient(180deg, #190704 0%, #2b120b 74%, rgba(43, 18, 11, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.hero-media::after {
  height: 290px;
  background: linear-gradient(180deg, rgba(28, 9, 5, 0), rgba(248, 241, 231, 0.6) 68%, #f8f1e7);
}

.hero-video {
  opacity: 0.34;
  filter: blur(1px) brightness(0.66) contrast(1.16) saturate(1.1);
}

.hero-orb {
  position: absolute;
  top: 118px;
  left: 50%;
  z-index: 2;
  width: 386px;
  max-width: 94%;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.52));
  transform: translateX(-50%);
}

.script-note {
  top: 106px;
  z-index: 4;
  color: #fff2df;
  font-size: 20px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.play-button {
  top: 285px;
  z-index: 4;
  width: 84px;
  height: 84px;
  background: rgba(92, 5, 10, 0.13);
  border-color: rgba(255, 255, 255, 0.94);
}

.hero-copy {
  z-index: 3;
  justify-content: flex-end;
  margin-top: auto;
}

.hero h1 {
  color: #8c0710;
  font-size: clamp(58px, 16vw, 78px);
  letter-spacing: 0.015em;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.68),
    0 8px 18px rgba(104, 45, 26, 0.18);
}

.hero h1 span {
  color: #c6a15d;
  font-size: 0.78em;
}

.hero .primary-button {
  max-width: 340px;
  margin-inline: auto;
  min-height: 60px;
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(91, 4, 10, 0.26), 0 15px 22px rgba(82, 4, 9, 0.22);
}

.intro-section {
  background:
    url("assets/screen_2/intro-floral-top.webp") left -30px top 104px / 96px auto no-repeat,
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.64), transparent 18rem),
    linear-gradient(rgba(249, 242, 232, 0.965), rgba(249, 242, 232, 0.965)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
}

.intro-section .ornament {
  margin-top: 0;
  margin-bottom: 30px;
}

.intro-section .eyebrow,
.intro-section h2 {
  color: #97131d;
  font-size: 26px;
  line-height: 1.16;
}

.intro-section h2 {
  margin-bottom: 32px;
}

.intro-section p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.58;
}

.photo-card {
  width: 268px;
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 8px;
  background: #fff9ef;
  border-color: rgba(196, 145, 70, 0.42);
  box-shadow: 0 14px 24px rgba(80, 43, 20, 0.13);
}

.photo-card > img:first-child {
  aspect-ratio: 270 / 330;
  object-fit: cover;
  object-position: center;
}

.photo-card::before,
.photo-card::after {
  opacity: 0.54;
}

.countdown {
  max-width: 352px;
  margin: 0 auto;
}

.time-grid strong {
  font-size: 32px;
}

.closing-note {
  margin: 30px auto 0;
  text-align: center;
}

.program-section {
  background:
    url("assets/extracted-flowers/flower-04-center-large-bloom.png") center bottom -8px / 250px auto no-repeat,
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.66), transparent 18rem),
    linear-gradient(rgba(249, 242, 232, 0.965), rgba(249, 242, 232, 0.965)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
}

.program-section .ornament,
.location-section .ornament,
.rsvp-section .ornament {
  margin-top: 0;
  margin-bottom: 32px;
}

.section h2 {
  color: #90121b;
  font-size: 28px;
  letter-spacing: 0.015em;
}

.program-section h2 {
  margin-bottom: 28px;
}

.timeline {
  gap: 20px;
  margin-top: 28px;
}

.timeline::before {
  top: 36px;
  bottom: 42px;
  left: 38px;
  background: rgba(192, 146, 71, 0.52);
}

.timeline li {
  grid-template-columns: 62px 1fr;
  gap: 14px;
}

.timeline time {
  color: #95131c;
  font-size: 17px;
}

.timeline article {
  position: relative;
  grid-template-columns: 56px 1fr;
  min-height: 86px;
  padding: 16px 17px;
  background: rgba(255, 251, 245, 0.82);
  border-color: rgba(207, 169, 106, 0.42);
  box-shadow: 0 8px 18px rgba(69, 43, 23, 0.09);
}

.timeline article::before {
  position: absolute;
  left: -18px;
  top: 50%;
  width: 18px;
  height: 1px;
  content: "";
  background: rgba(192, 146, 71, 0.52);
}

.timeline h3 {
  color: #483028;
  font-size: 14px;
}

blockquote {
  margin-top: 14px;
}

.location-section {
  background:
    url("assets/extracted-flowers/flower-05-right-left-cluster.png") left -30px bottom 0 / 162px auto no-repeat,
    url("assets/extracted-flowers/flower-06-right-bloom.webp") right -28px bottom -8px / 168px auto no-repeat,
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.66), transparent 18rem),
    linear-gradient(rgba(249, 242, 232, 0.965), rgba(249, 242, 232, 0.965)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
}

.venue-card {
  grid-template-columns: 1fr 122px;
  min-height: 156px;
  padding: 24px 0 0 20px;
  background: rgba(255, 251, 245, 0.82);
  border-color: rgba(207, 169, 106, 0.42);
}

.venue-card h3 {
  margin-bottom: 15px;
  color: #95131c;
  font-size: 18px;
}

.venue-card p {
  font-size: 11px;
  line-height: 1.55;
}

.venue-card img {
  width: 132px;
}

.map-card {
  height: 218px;
  margin-top: 24px;
  border-color: rgba(207, 169, 106, 0.36);
}

.route-button {
  min-height: 56px;
  margin: 22px 0 24px;
}

.details-list {
  padding: 10px 20px;
}

.details-list li {
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 11px 0;
}

.details-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(192, 146, 71, 0.42);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.details-list li:nth-child(1)::before {
  content: "◷";
}

.details-list li:nth-child(2)::before {
  content: "P";
}

.details-list li:nth-child(3)::before {
  content: "♕";
}

.details-list li:nth-child(4)::before {
  content: "›";
}

.details-list span {
  grid-column: 2;
}

.details-list strong {
  grid-column: 3;
}

.location-orb {
  right: 118px;
  bottom: -18px;
  width: 126px;
}

.rsvp-section {
  min-height: 1160px;
}

.rsvp-section h2 {
  margin-bottom: 16px;
  font-size: 31px;
}

.rsvp-copy {
  margin-bottom: 34px;
  font-size: 11px;
  line-height: 1.35;
}

.rsvp-form {
  gap: 22px;
}

.rsvp-form > label > span,
.rsvp-form legend {
  font-size: 13px;
}

.rsvp-form input[type="text"] {
  min-height: 50px;
  padding-inline: 22px;
  background: rgba(255, 253, 248, 0.86);
}

.choice {
  min-height: 46px;
  padding-inline: 20px;
  background: rgba(255, 253, 248, 0.86);
  font-size: 12px;
}

.choice span {
  margin-left: 30px;
}

.guest-options,
.drink-options {
  gap: 14px;
}

.guest-options span,
.drink-options span {
  height: 44px;
  background: rgba(255, 253, 248, 0.86);
}

.submit-button {
  min-height: 58px;
  margin-top: 18px;
}

@media (max-width: 479px) {
  .site-shell {
    width: 100%;
    margin: 0;
  }

  main {
    gap: 0;
  }

  .hero,
  .section {
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body::before {
  content: none !important;
}

.site-shell {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

main {
  display: block;
}

.hero,
.section {
  width: 100% !important;
  min-height: 100svh;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.hero,
.section {
  padding-left: clamp(24px, 8vw, 92px);
  padding-right: clamp(24px, 8vw, 92px);
}

.screen-status {
  left: clamp(28px, 8vw, 96px);
  right: clamp(28px, 8vw, 96px);
}

.screen-nav {
  left: clamp(24px, 8vw, 92px);
  right: clamp(24px, 8vw, 92px);
}

.hero-media {
  left: 0;
  right: 0;
}

.hero-orb {
  width: min(58vw, 500px);
}

.hero h1 {
  font-size: clamp(58px, 14vw, 118px);
}

.hero .primary-button,
.countdown,
.rsvp-form,
.rsvp-copy {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.intro-section p {
  max-width: 440px;
}

.photo-card {
  width: min(70vw, 320px);
}

.timeline,
.venue-card,
.map-card,
.route-button,
.details-list,
blockquote {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.timeline::before {
  left: calc(50% - min(260px, 50vw) + 38px);
}

.rsvp-section {
  min-height: 100svh;
}

.hero {
  display: flex;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 88px;
  padding-bottom: 32px;
}

.hero-media {
  height: 66svh;
  max-height: 560px;
}

.hero-orb {
  top: clamp(68px, 10vh, 92px);
  width: min(31vw, 258px);
  min-width: 220px;
}

.play-button {
  top: clamp(174px, 25vh, 220px);
}

.script-note {
  top: clamp(78px, 12vh, 106px);
}

.hero-copy {
  position: static;
  width: min(430px, 100%);
  margin: auto auto 0;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 7vw, 50px);
  line-height: 0.88;
}

.hero h1 span {
  line-height: 0.78;
}

.hero .divider {
  height: 12px;
  margin: 10px auto 10px;
}

.date {
  margin-bottom: 18px;
  color: #3f2a21;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero .primary-button {
  min-height: 56px;
}

.screen-status,
.screen-music,
.play-button,
.hero-orb {
  display: none !important;
}

.hero-media {
  height: 66svh;
  max-height: none;
  background: #190704;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}

.hero-video {
  opacity: 1 !important;
  filter: brightness(0.78) contrast(1.12) saturate(1.16) !important;
}

.screen-nav {
  grid-template-columns: 44px 1fr 44px;
}

.primary-button,
.choice.active,
.guest-options input:checked + span,
.drink-options input:checked + span {
  background: #970d17 !important;
  background-image: none !important;
  box-shadow: 0 10px 18px rgba(82, 4, 9, 0.18) !important;
}

.primary-button {
  border-color: rgba(204, 162, 88, 0.72);
}

.hero {
  justify-content: flex-start;
  min-height: 100svh;
  padding-top: 0;
  padding-left: 14px;
  padding-right: 14px;
  padding-bottom: 26px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #170704 0%,
      #210905 31%,
      rgba(248, 241, 231, 0.92) 43%,
      #f8f1e7 100%
    ),
    var(--paper);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  width: clamp(118px, 34vw, 180px);
  aspect-ratio: 889 / 949;
  pointer-events: none;
  content: "";
  background: url("assets/screen_1/gold-corner-frame.webp") left bottom / contain no-repeat;
  opacity: 0.86;
  filter: saturate(1.08) contrast(1.03);
}

.hero::before {
  left: 2px;
  transform-origin: center;
}

.hero::after {
  right: 2px;
  transform: scaleX(-1);
  transform-origin: center;
}

.hero-screen-nav {
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 8;
  min-height: 42px;
}

.hero-screen-nav > span:first-child {
  display: block;
  width: 24px;
  height: 58px;
  margin-left: -10px;
  background: url("assets/screen_1/floral-sprig.svg") center / contain no-repeat;
  opacity: 0.52;
  transform: scaleX(-1) rotate(15deg);
}

.hero-media {
  height: max(374px, 65svh);
  max-height: none;
  background: #190704;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}

.hero-media::before {
  content: none;
}

.hero-media::after {
  z-index: 3;
  height: min(230px, 43svh);
  background: linear-gradient(180deg, rgba(28, 9, 5, 0), rgba(248, 241, 231, 0.82) 54%, #f8f1e7 100%);
}

.hero-video {
  opacity: 1 !important;
  filter: brightness(0.84) contrast(1.12) saturate(1.16) !important;
  transform: scale(1.08);
}

.hero-orb {
  display: none !important;
}

.script-note {
  top: 14px;
  z-index: 4;
  color: #fff2df;
  font-size: clamp(15px, 2.8vw, 20px);
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.58);
}

.script-note::after {
  display: block;
  width: 64px;
  height: 10px;
  margin: 8px auto 0;
  content: "";
  background: url("assets/screen_1/divider.svg") center / contain no-repeat;
  opacity: 0.78;
}

.play-button {
  display: grid !important;
  top: clamp(134px, 37vw, 238px);
  z-index: 5;
  width: clamp(58px, 13vw, 84px);
  height: clamp(58px, 13vw, 84px);
  background: rgba(92, 5, 10, 0.1);
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(75, 0, 0, 0.3);
}

.hero-copy {
  z-index: 4;
  width: min(430px, calc(100vw - 28px));
  margin: calc(65svh + 6px) auto 0;
}

.hero h1 {
  color: #8c0710;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(31px, 6.8vw, 58px);
  line-height: 0.93;
  letter-spacing: 0.01em;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.68),
    0 8px 18px rgba(104, 45, 26, 0.18);
}

.hero h1 span {
  color: #c6a15d;
  font-size: 0.76em;
  line-height: 0.9;
}

.hero .divider {
  width: clamp(122px, 30vw, 176px);
  height: clamp(22px, 5.8vw, 34px);
  margin: 8px auto 6px;
  background-image: url("assets/screen_1/name-date-divider.webp");
}

.date {
  margin-bottom: 10px;
  color: #4a3026;
  font-size: clamp(17px, 3.1vw, 22px);
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero .primary-button {
  width: min(100%, 344px);
  min-height: 44px;
  padding-inline: 16px;
  margin-inline: auto;
  font-size: clamp(11px, 2.7vw, 13px);
}

.scroll-cue {
  margin-top: 10px;
}

@media (max-width: 479px) {
  .hero .primary-button {
    width: 172px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.topbar {
  position: fixed;
  top: 14px;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  width: 100%;
  padding: 0 20px;
  transform: none;
  pointer-events: none;
}

.menu-button {
  display: grid;
  grid-column: 3;
  justify-self: end;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: auto;
}

.menu-button span {
  width: 24px;
  height: 2px;
  background: #4b2c20;
}

.topbar .monogram,
.topbar .sound-button {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 58px;
  left: auto;
  right: 20px;
  z-index: 29;
  display: grid;
  width: min(240px, calc(100vw - 40px));
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.photo-card.intro-photo-card {
  width: min(100%, 356px);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.photo-card.intro-photo-card::before,
.photo-card.intro-photo-card::after {
  content: none;
}

.photo-card.intro-photo-card > img:first-child {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.intro-section {
  padding-top: 178px;
  padding-bottom: 20px;
  background:
    url("assets/screen_2/intro-floral-top.webp") left -30px top 104px / 96px auto no-repeat,
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.64), transparent 18rem),
    linear-gradient(rgba(249, 242, 232, 0.965), rgba(249, 242, 232, 0.965)),
    url("assets/paper-grain.svg") center / 220px auto repeat;
}

.intro-section::before,
.intro-section::after {
  position: absolute;
  z-index: 0;
  bottom: 42px;
  width: 132px;
  aspect-ratio: 615 / 998;
  pointer-events: none;
  content: "";
  background: center / contain no-repeat;
  opacity: 0.46;
}

.intro-section::before {
  right: calc(50% - 8px);
  background-image: url("assets/screen_2/intro-floral-bottom-left.webp");
  transform: rotate(-6deg);
  transform-origin: right bottom;
}

.intro-section::after {
  left: calc(50% - 8px);
  background-image: url("assets/screen_2/intro-floral-bottom-right.webp");
  transform: rotate(6deg);
  transform-origin: left bottom;
}

.intro-section .intro-copy,
.intro-section .photo-card,
.intro-section .countdown,
.intro-section .closing-note {
  position: relative;
  z-index: 1;
}

.intro-section .eyebrow,
.intro-section h2 {
  font-size: 24px;
  line-height: 1.1;
}

.intro-section h2 {
  margin-bottom: 18px;
}

.intro-section p {
  max-width: 330px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.42;
}

.photo-card.intro-photo-card {
  width: min(100%, 312px);
  margin: 18px auto 18px;
}

.intro-section .countdown {
  max-width: 328px;
}

.intro-section .countdown-title {
  margin-bottom: 8px;
  font-size: 12px;
}

.intro-section .time-grid strong {
  font-size: 28px;
}

.intro-section .closing-note {
  margin-top: 16px;
  font-size: 14px;
}

.page-divider {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 2;
  width: min(92vw, 390px);
  height: clamp(96px, 30.5vw, 130px);
  margin: 0;
  background: url("assets/page-divider-db-clean.webp") center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
  filter: saturate(0.96);
  transform: translateX(-50%);
}

.page-divider + .screen-status,
.page-divider + .screen-status + .screen-nav {
  transform: translateY(34px);
}

.section .screen-mark {
  background: none;
}

.program-section .timeline {
  width: min(100%, 340px);
  margin-left: auto;
  margin-right: auto;
  gap: 22px;
}

.program-section .timeline::before {
  content: none;
}

.program-section .timeline li {
  position: relative;
  display: block;
}

.program-section .timeline time {
  position: absolute;
  top: -10px;
  left: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  color: #fff8ed;
  background: #9a0d17;
  border: 1px solid rgba(217, 183, 110, 0.7);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(92, 5, 10, 0.16);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.program-section .timeline article {
  width: 100%;
  min-height: 94px;
  padding: 24px 20px 18px;
  margin-left: auto;
  margin-right: auto;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 249, 239, 0.86));
  border-color: rgba(207, 169, 106, 0.46);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(69, 43, 23, 0.1);
}

.program-section .timeline article::before {
  content: none;
}

.program-section .event-icon {
  width: 48px;
  height: 48px;
}

.location-section {
  display: block !important;
  min-height: auto !important;
  padding-bottom: clamp(38px, 6vw, 64px);
}

.location-section .venue-card,
.location-section .map-card {
  width: min(100%, 520px);
  margin-left: auto;
  margin-right: auto;
}

.location-section .map-card {
  margin-top: 16px;
}

body {
  overflow-x: hidden;
}

.site-shell {
  width: min(100%, var(--layout-max-width)) !important;
  max-width: var(--layout-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden;
  isolation: isolate;
}

main,
.hero,
.section {
  width: 100% !important;
  max-width: var(--layout-max-width);
}

.hero-media,
.hero-video {
  max-width: 100% !important;
}

.hero,
.hero-media {
  contain: paint;
  clip-path: inset(0);
}

.hero-video {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  clip-path: inset(0);
  transform: none !important;
}

.topbar {
  left: 50% !important;
  width: min(100%, var(--layout-max-width)) !important;
  max-width: var(--layout-max-width) !important;
  padding-left: clamp(20px, 3vw, 40px) !important;
  padding-right: clamp(20px, 3vw, 40px) !important;
  transform: translateX(-50%) !important;
}

.mobile-menu {
  right: max(20px, calc((100vw - var(--layout-max-width)) / 2 + 20px));
}

.rsvp-section {
  padding-bottom: clamp(80px, 10vw, 128px) !important;
}

.rsvp-copy {
  margin-bottom: 34px !important;
}

.rsvp-form {
  gap: 32px !important;
  padding-bottom: 34px;
}

.rsvp-form fieldset {
  gap: 14px !important;
}

.rsvp-form legend {
  display: block;
  width: 100%;
  margin-bottom: 2px;
  padding-left: 4px;
  color: #4b3026 !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.2;
}

.rsvp-form fieldset > legend {
  margin-bottom: 14px !important;
}

.rsvp-form fieldset > legend + .choice,
.rsvp-form fieldset > legend + .guest-options,
.rsvp-form fieldset > legend + .drink-options {
  margin-top: 0;
}

.choice {
  display: grid !important;
  justify-content: center;
  color: #4a3026 !important;
  font-size: 14px !important;
  font-weight: 700;
  text-align: center;
}

.choice span {
  margin-left: 0 !important;
  color: inherit !important;
}

.choice::before {
  content: none !important;
}

.rsvp-form fieldset:first-child {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-form fieldset:first-child legend {
  grid-column: 1 / -1;
}

.rsvp-form fieldset:first-child .choice {
  width: 100%;
  min-height: 44px;
  padding: 0 14px !important;
}

.rsvp-dependent[hidden] {
  display: none !important;
}

.rsvp-dependent.is-disabled {
  opacity: 0.46;
}

.rsvp-dependent.is-disabled,
.rsvp-dependent.is-disabled label {
  cursor: not-allowed;
}

.rsvp-dependent.is-disabled input + span,
.rsvp-dependent.is-disabled textarea {
  pointer-events: none;
}

.rsvp-section,
.rsvp-section * {
  font-family: Georgia, "Times New Roman", serif !important;
}

.guest-options,
.drink-options {
  gap: 16px !important;
}

.guest-options span,
.drink-options span {
  color: #4a3026 !important;
  font-size: 14px !important;
  font-weight: 700;
}

.other-drink-field,
.music-preference-field {
  display: grid !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

.other-drink-field[hidden] {
  display: none !important;
}

.wine-preferences-field {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin: -4px 0 2px;
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.86), rgba(248, 237, 222, 0.62));
  border: 1px solid rgba(202, 170, 121, 0.54);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(70, 42, 24, 0.07);
}

.wine-preferences-field[hidden] {
  display: none !important;
}

.wine-preferences-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2px;
  color: #4b3026;
}

.wine-preferences-head span {
  font-size: 15px;
  font-weight: 800;
}

.wine-preferences-head small {
  color: rgba(74, 48, 38, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.wine-choice-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.wine-choice-label {
  color: rgba(74, 48, 38, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.wine-choice-row label {
  position: relative;
  display: block;
}

.wine-choice-row input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.wine-choice-row label span {
  display: grid;
  min-height: 44px;
  padding: 0 12px;
  place-items: center;
  color: #4a3026;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(202, 170, 121, 0.58);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 6px 12px rgba(70, 42, 24, 0.045);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.wine-choice-row input:checked + span {
  color: #fff9ef;
  background: linear-gradient(135deg, #a90813, #89060f);
  border-color: rgba(217, 183, 110, 0.72);
  box-shadow: 0 13px 24px rgba(104, 4, 11, 0.18);
}

.wine-choice-row label:has(input:focus-visible) span {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.other-drink-field span,
.music-preference-field span {
  padding-left: 4px;
  color: #4b3026 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.other-drink-field input,
.music-preference-field textarea {
  font-size: 14px;
  font-weight: 700;
}

.choice.active,
.choice.active span,
.guest-options input:checked + span,
.drink-options input:checked + span {
  color: #fff9ef !important;
}

.submit-button {
  margin-top: 12px !important;
}

.program-section::before,
.program-section::after,
.location-section::before,
.location-section::after,
.rsvp-section::before,
.rsvp-section::after {
  content: none !important;
}

/* Mobile adaptation: touch-first sizing and tighter section rhythm. */
@media (max-width: 480px) {
  .topbar {
    top: 8px !important;
    padding-inline: 14px !important;
    grid-template-columns: 44px 1fr 44px;
  }

  .icon-button,
  .menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }

  .menu-button {
    padding: 10px !important;
  }

  .mobile-menu {
    top: 58px;
    right: 14px;
    width: min(252px, calc(100vw - 28px));
  }

  .mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 0 14px;
    font-size: 14px;
    letter-spacing: 0.045em;
  }

  .scroll-cue {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px;
    margin-top: 8px;
  }

  .page-divider {
    top: 10px;
    width: min(88vw, 340px);
    height: clamp(82px, 28vw, 112px);
  }

  .page-divider + .screen-status,
  .page-divider + .screen-status + .screen-nav {
    transform: translateY(26px);
  }

  .intro-section,
  .program-section,
  .location-section,
  .rsvp-section {
    min-height: auto;
    padding-top: clamp(146px, 40vw, 168px) !important;
    padding-left: clamp(18px, 5vw, 24px);
    padding-right: clamp(18px, 5vw, 24px);
  }

  .hero .primary-button {
    width: min(100%, 238px) !important;
    min-height: 48px;
    font-size: 13px;
  }

  .intro-section p,
  .program-section .timeline p,
  .venue-address,
  .rsvp-copy {
    font-size: 14px !important;
    line-height: 1.45;
  }

  .countdown-title,
  .program-section .timeline time,
  .venue-label {
    font-size: 13px !important;
  }

  .time-grid span {
    font-size: 11px;
  }

  .program-section .timeline {
    width: min(100%, 346px);
    gap: 20px;
  }

  .program-section .timeline article {
    min-height: 100px;
    padding: 26px 18px 18px;
  }

  .program-section .timeline h3 {
    font-size: 15px;
    line-height: 1.16;
  }

  .location-section .venue-card {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 34%);
    min-height: 156px;
    padding: 20px 14px 16px 18px;
  }

  .location-section .venue-card .venue-illustration {
    width: min(34vw, 128px);
    margin-right: -8px;
    margin-bottom: -4px;
  }

  .choice,
  .guest-options span,
  .drink-options span {
    font-size: 14px !important;
  }

  .drink-options span {
    min-height: 46px;
  }
}

/* Response polish: accessible focus, deliberate spacing, stable tap targets. */
.rsvp-form {
  width: min(100%, 430px);
  gap: 30px !important;
}

.rsvp-form fieldset {
  gap: 0 !important;
}

.rsvp-form legend {
  margin: 0 0 14px !important;
  padding-left: 0 !important;
  line-height: 1.3 !important;
}

.rsvp-form fieldset:first-child {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.rsvp-form fieldset:first-child legend {
  margin-bottom: 2px !important;
}

.choice,
.guest-options label,
.drink-options label {
  position: relative;
  cursor: pointer;
}

.choice {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px;
  line-height: 1.25;
}

.choice span {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  pointer-events: none;
  text-align: center;
}

.choice input,
.guest-options input,
.drink-options input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.guest-options,
.drink-options {
  gap: 14px !important;
}

.guest-options span,
.drink-options span {
  min-height: 46px;
  height: auto !important;
  padding: 0 12px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.choice.active {
  background: var(--wine) !important;
  border-color: color-mix(in oklch, var(--gold-soft) 74%, transparent) !important;
  box-shadow: 0 10px 18px rgba(82, 4, 9, 0.16) !important;
}

.choice:has(input:focus-visible),
.guest-options label:has(input:focus-visible) span,
.drink-options label:has(input:focus-visible) span,
.other-drink-field input:focus-visible,
.music-preference-field textarea:focus-visible,
.submit-button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(149, 7, 18, 0.11), 0 10px 20px rgba(82, 4, 9, 0.12);
}

.other-drink-field,
.music-preference-field {
  gap: 12px !important;
  margin-top: 14px !important;
}

.other-drink-field input {
  min-height: 50px;
}

.music-preference-field textarea {
  min-height: 92px;
}

.submit-button {
  min-height: 54px;
}

.submit-button[hidden] {
  display: none !important;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.captcha-field {
  display: grid;
  width: min(100%, 360px);
  min-height: 102px;
  margin: 24px auto 0;
  place-items: center;
}

.captcha-field[hidden] {
  display: none !important;
}

.rsvp-section .rsvp-name-field {
  display: grid !important;
  gap: 10px !important;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(192, 146, 71, 0.22);
}

.rsvp-section .rsvp-name-field > span {
  color: #4b3026 !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.25;
}

.form-status {
  max-width: 430px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.45;
  text-align: center;
}

.form-status:empty {
  min-height: 0;
  margin-top: 0;
}

@media (max-width: 420px) {
  .rsvp-form {
    gap: 28px !important;
  }

  .guest-options,
  .drink-options {
    gap: 12px !important;
  }

  .choice {
    min-height: 46px !important;
  }

  .guest-options span,
  .drink-options span {
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px !important;
  }
}

.location-section .venue-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 38%);
  gap: 14px;
  align-items: center;
  min-height: 170px;
  padding: 22px 12px 16px 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(255, 247, 235, 0.76)),
    radial-gradient(circle at 88% 28%, rgba(224, 183, 108, 0.18), transparent 5.5rem);
  border: 1px solid rgba(207, 169, 106, 0.48);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(75, 43, 20, 0.1);
}

.location-section .venue-card::before {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 78px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(192, 146, 71, 0.56));
}

.venue-info {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}

.venue-label {
  display: block;
  margin-bottom: 12px;
  color: #b78232;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.location-section .venue-card h3 {
  margin-bottom: 10px;
  color: #970d17;
  font-size: clamp(18px, 4.4vw, 24px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: none;
}

.venue-address {
  max-width: 260px;
  margin: 0;
  color: #5b4438;
  font-size: 12px;
  line-height: 1.42;
}

.location-section .venue-card .venue-illustration {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: end;
  width: min(44vw, 190px);
  height: auto;
  max-width: 100%;
  margin: 0 -16px -8px 0;
  opacity: 0.88;
  filter: saturate(1.04) contrast(1.03);
}

@media (max-width: 380px) {
  .location-section .venue-card {
    grid-template-columns: minmax(0, 1fr) 118px;
    padding-left: 18px;
  }

  .venue-label {
    margin-bottom: 9px;
  }

  .location-section .venue-card h3 {
    font-size: 17px;
  }

  .venue-address {
    font-size: 11px;
  }
}

.intro-section::before,
.intro-section::after {
  position: absolute;
  z-index: 0;
  bottom: 42px;
  width: 156px;
  aspect-ratio: 615 / 998;
  pointer-events: none;
  content: "" !important;
  background: center / contain no-repeat;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.04);
}

.intro-section::before {
  right: calc(50% - 8px);
  background-image: url("assets/screen_2/intro-floral-bottom-left.webp");
  transform: rotate(-6deg);
  transform-origin: right bottom;
}

.intro-section::after {
  left: calc(50% - 8px);
  background-image: url("assets/screen_2/intro-floral-bottom-right.webp");
  transform: rotate(6deg);
  transform-origin: left bottom;
}

.intro-corner-flower {
  position: absolute;
  top: clamp(146px, 18vw, 194px);
  left: clamp(-34px, -2.8vw, -14px);
  z-index: 0;
  width: clamp(92px, 17vw, 156px);
  aspect-ratio: 736 / 875;
  pointer-events: none;
  background: url("assets/screen_2/top-left-flower.webp") center / contain no-repeat;
  opacity: 0.72;
  filter: saturate(1.04) contrast(1.05);
  transform: rotate(-7deg);
  transform-origin: left top;
}

.intro-section > h2,
.intro-section .intro-copy,
.intro-section .photo-card,
.intro-section .countdown,
.intro-section .closing-note,
.program-section > h2,
.program-section .timeline,
.program-section blockquote,
.location-section > h2,
.location-section .venue-card,
.location-section .map-card,
.rsvp-section > h2,
.rsvp-section .rsvp-copy,
.rsvp-section .rsvp-form,
.rsvp-section .form-status {
  position: relative;
  z-index: 1;
}

/* Background contract: one paper surface on the shell, no section restarts. */
html,
body {
  background: var(--page-paper-bg) !important;
  background-attachment: scroll, scroll, scroll !important;
  background-position: top center, top center, center top !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  background-size: 100% 100%, 100% 100%, var(--grain-size) auto !important;
}

.site-shell {
  background: var(--page-paper-bg) !important;
  background-attachment: scroll, scroll, scroll !important;
  background-position: top center, top center, center top !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  background-size: 100% 100%, 100% 100%, var(--grain-size) auto !important;
}

main,
.hero,
.section,
.intro-section,
.program-section,
.location-section,
.rsvp-section {
  background: transparent !important;
}

body::before,
body::after,
.site-shell::before {
  content: none !important;
}

.program-section::before,
.program-section::after,
.location-section::before,
.location-section::after,
.rsvp-section::before,
.rsvp-section::after {
  content: none !important;
}

/* Final mobile guard: keep late component rules from shrinking controls. */
@media (max-width: 480px) {
  .guest-options span,
  .drink-options span {
    min-height: 46px !important;
    font-size: 14px !important;
  }

  .location-section .venue-card {
    grid-template-columns: minmax(0, 1fr) minmax(86px, 32%) !important;
    min-height: 156px;
    padding: 20px 14px 16px 18px;
  }

  .location-section .venue-card .venue-illustration {
    width: min(32vw, 124px) !important;
    height: auto;
    margin: 0 -8px -4px 0;
  }

  .submit-button {
    font-size: 14px !important;
  }
}

/* Tablet/mobile touch guard: keep the nav usable before desktop layout starts. */
@media (max-width: 959px) {
  .icon-button,
  .menu-button,
  .scroll-cue {
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    min-height: 44px;
  }

  .mobile-menu a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
}

/* Desktop composition: full viewport stage with measured content widths. */
@media (min-width: 960px) {
  .site-shell {
    width: 100% !important;
    max-width: none !important;
    margin-inline: auto !important;
    overflow: clip;
  }

  main,
  .hero,
  .section {
    width: 100% !important;
    max-width: none !important;
  }

  .topbar {
    top: 18px !important;
    left: 50% !important;
    z-index: 40;
    grid-template-columns: 132px 1fr 44px !important;
    width: min(calc(100% - 64px), 1200px) !important;
    max-width: 1200px !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    pointer-events: none;
  }

  .menu-button {
    display: none !important;
  }

  .topbar .monogram,
  .topbar .sound-button {
    display: grid !important;
    pointer-events: auto;
  }

  .topbar .monogram {
    justify-self: start;
  }

  .topbar .sound-button {
    justify-self: end;
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    position: fixed;
    top: 18px;
    left: 50%;
    right: auto !important;
    z-index: 39;
    display: flex;
    width: auto;
    max-width: none;
    min-height: 44px;
    gap: 4px;
    align-items: center;
    padding: 6px;
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 250, 242, 0.82);
    border: 1px solid rgba(192, 146, 71, 0.28);
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(65, 40, 21, 0.12);
    transform: translateX(-50%);
    backdrop-filter: blur(14px);
  }

  .mobile-menu a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 16px;
    color: var(--wine);
    border: 0;
    border-radius: 999px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: #fff9ef;
    background: var(--wine);
    outline: none;
  }

  .hero {
    min-height: 900px;
  }

  .hero-copy {
    width: min(430px, 34vw);
  }

  .section {
    width: 100% !important;
    min-height: auto !important;
    padding: clamp(172px, 13vw, 198px) clamp(56px, 7vw, 92px) clamp(86px, 9vw, 122px) !important;
  }

  .page-divider {
    top: 18px;
    width: min(56vw, 650px);
    height: clamp(142px, 15vw, 196px);
  }

  .intro-section {
    display: grid;
    grid-template-columns: minmax(300px, 430px) minmax(340px, 440px);
    gap: 28px clamp(54px, 7vw, 96px);
    align-items: center;
    justify-content: center;
    padding-bottom: clamp(92px, 9vw, 122px) !important;
  }

  .intro-section .intro-copy {
    grid-column: 1;
    max-width: 430px;
    text-align: left;
  }

  .intro-section .eyebrow,
  .intro-section h2 {
    font-size: clamp(29px, 2.6vw, 38px);
    line-height: 1.06;
  }

  .intro-section p {
    max-width: 39ch;
    margin-right: 0;
    margin-left: 0;
    font-size: 17px;
    line-height: 1.58;
  }

  .photo-card.intro-photo-card {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    width: min(35vw, 430px);
    margin: 0;
  }

  .intro-section .countdown {
    grid-column: 1;
    width: min(100%, 420px);
    max-width: none;
    margin: 8px 0 0;
  }

  .intro-section .closing-note {
    grid-column: 1 / -1;
    width: min(100%, 640px);
    margin: 20px auto 0;
  }

  .program-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .program-section > h2 {
    margin-bottom: 44px;
    font-size: clamp(34px, 3vw, 46px);
  }

  .program-section .timeline {
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 34px;
  }

  .program-section .timeline li {
    display: block;
  }

  .program-section .timeline li:last-child {
    grid-column: 1 / -1;
    width: min(100%, 472px);
    justify-self: center;
  }

  .program-section .timeline article {
    min-height: 126px;
    padding: 30px 28px 24px;
  }

  .program-section .timeline h3 {
    font-size: 18px;
  }

  .program-section .timeline p {
    max-width: 28ch;
    font-size: 14px;
    line-height: 1.5;
  }

  .program-section blockquote {
    width: min(100%, 660px);
    margin-top: 42px;
  }

  .location-section {
    display: grid !important;
    grid-template-columns: minmax(360px, 430px) minmax(460px, 570px);
    gap: 22px 34px;
    align-items: stretch;
    justify-content: center;
  }

  .location-section > h2 {
    grid-column: 1 / -1;
    margin-bottom: 18px;
    font-size: clamp(34px, 3vw, 46px);
    text-align: center;
  }

  .location-section .venue-card,
  .location-section .map-card {
    width: 100%;
    max-width: none !important;
    margin: 0;
  }

  .location-section .venue-card {
    min-height: 320px;
    padding: 34px 22px 24px 34px;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 36%);
  }

  .location-section .venue-card h3 {
    font-size: clamp(25px, 2.2vw, 34px);
  }

  .venue-label {
    font-size: 12px;
  }

  .venue-address {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.55;
  }

  .location-section .venue-card .venue-illustration {
    width: min(18vw, 210px);
    margin: 0 -14px -8px 0;
  }

  .location-section .map-card {
    height: 320px;
  }

  .rsvp-section {
    display: grid;
    justify-items: center;
  }

  .rsvp-section > h2 {
    font-size: clamp(36px, 3.1vw, 48px);
  }

  .rsvp-copy {
    max-width: 540px !important;
    font-size: 13px;
  }

  .rsvp-form {
    width: min(100%, 560px);
    max-width: 560px !important;
  }

  .rsvp-form fieldset:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .rsvp-form fieldset:first-child legend {
    grid-column: 1 / -1;
  }

  .guest-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .guest-options span,
  .drink-options span {
    min-height: 50px;
    font-size: 14px;
  }

  .submit-button {
    width: min(100%, 360px);
    justify-self: center;
  }
}

/* Response question block: one calm response card with clear question rhythm. */
.rsvp-section .rsvp-form {
  counter-reset: rsvp-question;
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  gap: 0 !important;
  padding: clamp(22px, 5vw, 34px) clamp(18px, 5vw, 32px) clamp(24px, 5vw, 36px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 247, 236, 0.8)),
    radial-gradient(circle at 50% 0%, rgba(220, 178, 104, 0.14), transparent 12rem);
  border: 1px solid rgba(207, 169, 106, 0.48);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(70, 42, 24, 0.11);
}

.rsvp-section .rsvp-form fieldset {
  display: grid !important;
  gap: 14px !important;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(192, 146, 71, 0.22);
}

.rsvp-section .rsvp-form fieldset:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.rsvp-section .rsvp-form legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 0 !important;
  margin: 0 0 2px !important;
  color: #4b3026 !important;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.25;
}

.rsvp-section .rsvp-form legend::before {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--wine);
  background: rgba(255, 250, 241, 0.86);
  border: 1px solid rgba(192, 146, 71, 0.44);
  border-radius: 50%;
  content: counter(rsvp-question);
  counter-increment: rsvp-question;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.rsvp-section .rsvp-form fieldset:first-child {
  grid-template-columns: 1fr !important;
}

.rsvp-section .rsvp-form fieldset:first-child legend {
  grid-column: auto !important;
  margin-bottom: 2px !important;
}

.rsvp-section .choice {
  min-height: 50px !important;
  padding: 0 20px !important;
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(207, 169, 106, 0.52);
  box-shadow: 0 8px 18px rgba(70, 42, 24, 0.07);
}

.rsvp-section .choice.active {
  background: linear-gradient(135deg, #a90813, #89060f) !important;
  border-color: rgba(217, 183, 110, 0.72) !important;
  box-shadow: 0 13px 24px rgba(104, 4, 11, 0.22) !important;
}

.rsvp-section .choice span {
  font-size: 15px;
  line-height: 1.2;
}

.rsvp-section .guest-options,
.rsvp-section .drink-options {
  gap: 12px !important;
}

.rsvp-section .guest-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rsvp-section .drink-options {
  grid-template-columns: minmax(0, 1fr);
}

.rsvp-section .guest-options span,
.rsvp-section .drink-options span {
  min-height: 48px !important;
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid rgba(207, 169, 106, 0.52);
  box-shadow: 0 8px 18px rgba(70, 42, 24, 0.06);
  font-size: 14px !important;
}

.rsvp-section .guest-options input:checked + span,
.rsvp-section .drink-options input:checked + span {
  background: linear-gradient(135deg, #a90813, #89060f) !important;
  border-color: rgba(217, 183, 110, 0.72) !important;
  box-shadow: 0 13px 24px rgba(104, 4, 11, 0.2) !important;
}

.rsvp-section .other-drink-field {
  margin-top: 2px !important;
}

.rsvp-section .submit-button {
  width: min(100%, 360px) !important;
  min-height: 54px;
  margin: 28px auto 0 !important;
}

.rsvp-section .form-status:not(:empty) {
  width: min(100%, 520px);
  padding: 16px 20px;
  margin-top: 18px;
  color: #5b4438;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid rgba(207, 169, 106, 0.42);
  border-radius: 12px;
}

@media (max-width: 480px) {
  .rsvp-section .rsvp-form {
    width: min(100%, 336px) !important;
    padding: 20px 16px 24px;
    border-radius: 12px;
  }

  .rsvp-section .rsvp-form fieldset {
    gap: 12px !important;
    padding-bottom: 22px;
    margin-bottom: 22px;
  }

  .rsvp-section .rsvp-form legend {
    font-size: 16px !important;
  }

  .rsvp-section .choice {
    min-height: 48px !important;
  }

  .rsvp-section .guest-options,
  .rsvp-section .drink-options {
    gap: 10px !important;
  }

  .rsvp-section .guest-options span,
  .rsvp-section .drink-options span {
    min-height: 46px !important;
  }
}

/* Mobile menu polish: ceremonial card instead of a raw dropdown. */
@media (max-width: 959px) {
  .topbar {
    z-index: 60;
  }

  .menu-button {
    border: 1px solid rgba(192, 146, 71, 0.42) !important;
    border-radius: 50% !important;
    background: rgba(255, 250, 241, 0.86) !important;
    box-shadow: 0 10px 22px rgba(65, 40, 21, 0.12) !important;
    transition:
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .menu-button span {
    width: 20px;
    background: #4b2c20;
  }

  .menu-button.is-open {
    background: linear-gradient(135deg, #fffaf1, #f4e8d6) !important;
    border-color: rgba(151, 13, 23, 0.28) !important;
    box-shadow: 0 14px 28px rgba(65, 40, 21, 0.16) !important;
    transform: scale(1.02);
  }

  .menu-button.is-open span {
    background: #5a3325;
  }

  .menu-button:focus-visible {
    outline: 2px solid rgba(192, 146, 71, 0.7);
    outline-offset: 3px;
  }

  .mobile-menu {
    top: 64px !important;
    right: 14px !important;
    z-index: 55;
    width: min(264px, calc(100vw - 28px)) !important;
    padding: 14px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.78), transparent 6.5rem),
      linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(255, 247, 236, 0.92));
    border: 1px solid rgba(207, 169, 106, 0.52);
    border-radius: 22px;
    box-shadow: 0 22px 44px rgba(65, 40, 21, 0.18);
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    backdrop-filter: blur(18px);
  }

  .mobile-menu::before {
    display: block;
    width: 92px;
    height: 18px;
    margin: 1px auto 8px;
    content: "";
    background: url("assets/screen_1/divider.svg") center / contain no-repeat;
    opacity: 0.64;
  }

  .mobile-menu.is-open {
    transform: translateY(0) scale(1);
  }

  .mobile-menu a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #870711;
    border: 0;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .mobile-menu a + a {
    margin-top: 3px;
    border-top: 1px solid rgba(192, 146, 71, 0.16);
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    color: #fff9ef;
    background: linear-gradient(135deg, #a90813, #870711);
    outline: none;
  }
}

/* Impeccable adapt pass: stable anchors and map sizing across viewports. */
.hero,
.section {
  scroll-margin-top: 0;
}

.location-section .map-card {
  min-height: 236px;
}

.map-card iframe {
  background: #edf1e7;
}

@media (max-width: 480px) {
  .location-section .map-card {
    height: clamp(238px, 68vw, 286px) !important;
  }
}

@media (min-width: 481px) and (max-width: 959px) {
  .location-section .map-card {
    height: clamp(260px, 46vw, 320px) !important;
  }
}

@media (min-width: 960px) {
  .topbar .monogram {
    display: none !important;
  }

  .topbar .sound-button,
  .sound-button {
    display: none !important;
  }

  .mobile-menu {
    visibility: visible;
  }

  .mobile-menu a {
    min-height: 44px;
  }

  .scroll-cue {
    width: 44px;
    height: 44px;
  }
}

/* Reference clean pass: calmer paper, no loose orbs, flatter wine buttons. */
:root {
  --grain-size: 300px;
  --color-paper: #fbf4ea;
  --color-paper-deep: #f0e1cd;
  --color-paper-edge: #f1e7d8;
  --color-paper-surface: rgba(252, 246, 236, 0.975);
  --color-paper-glow: rgba(255, 255, 255, 0.74);
  --color-wine: #9a0b16;
  --color-wine-dark: #780610;
  --color-gold: #b88a43;
  --color-gold-soft: #d2ae66;
  --color-gold-line: rgba(184, 138, 67, 0.3);
  --page-edge-bg: #f1e7d8;
  --page-paper-bg:
    radial-gradient(ellipse at 50% -12%, rgba(255, 255, 255, 0.82), transparent 26rem),
    linear-gradient(180deg, rgba(252, 247, 238, 0.985) 0%, rgba(250, 243, 232, 0.985) 56%, rgba(247, 237, 222, 0.985) 100%),
    url("assets/paper-grain.svg") center / var(--grain-size) auto repeat;
}

@supports (color: oklch(50% 0.1 80)) {
  :root {
    --color-paper: oklch(97.3% 0.018 82);
    --color-paper-deep: oklch(91.6% 0.034 78);
    --color-paper-edge: oklch(93.7% 0.026 78);
    --color-paper-surface: oklch(97.4% 0.016 83 / 0.975);
    --color-paper-glow: oklch(99.5% 0.005 88 / 0.74);
    --color-wine: oklch(36.6% 0.13 27);
    --color-wine-dark: oklch(29% 0.12 27);
    --color-gold: oklch(64.8% 0.095 76);
    --color-gold-soft: oklch(75.3% 0.088 80);
    --color-gold-line: oklch(64.8% 0.095 76 / 0.3);
  }
}

html,
body,
.site-shell {
  background: var(--page-paper-bg) !important;
  background-attachment: scroll, scroll, scroll !important;
  background-position: top center, top center, center top !important;
  background-repeat: no-repeat, no-repeat, repeat !important;
  background-size: 100% 100%, 100% 100%, var(--grain-size) auto !important;
}

.hero,
.section,
.intro-section,
.program-section,
.location-section,
.rsvp-section {
  background-color: transparent !important;
}

.hero-orb,
.location-orb {
  display: none !important;
}

.hero-media {
  background:
    radial-gradient(ellipse at 18% 22%, rgba(255, 220, 164, 0.34), transparent 9rem),
    radial-gradient(ellipse at 84% 20%, rgba(255, 220, 164, 0.24), transparent 8rem),
    linear-gradient(180deg, #2c160f 0%, #5a1414 48%, rgba(251, 244, 234, 0) 100%) !important;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 244, 234, 0.14), rgba(251, 244, 234, 0.34) 48%, rgba(251, 244, 234, 0.14)),
    linear-gradient(180deg, rgba(251, 244, 234, 0.04) 0%, rgba(251, 244, 234, 0.38) 45%, rgba(251, 244, 234, 0.86) 74%, #fbf4ea 100%);
}

.hero-video {
  opacity: 1 !important;
  filter: brightness(0.82) contrast(1.08) saturate(1.08) !important;
  transform: none !important;
}

.primary-button,
.route-button,
.submit-button,
.choice.active,
.rsvp-section .choice.active,
.guest-options input:checked + span,
.drink-options input:checked + span,
.rsvp-section .guest-options input:checked + span,
.rsvp-section .drink-options input:checked + span {
  color: #fff8ee !important;
  background: #9a0b16 !important;
  border: 1px solid rgba(224, 188, 118, 0.92) !important;
  border-radius: 999px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 224, 0.28),
    inset 0 -1px 0 rgba(77, 4, 9, 0.32),
    0 1px 0 rgba(99, 54, 20, 0.24),
    0 8px 16px rgba(72, 42, 22, 0.13) !important;
}

.primary-button,
.route-button,
.submit-button {
  min-height: 56px;
  padding-inline: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.hero .primary-button {
  max-width: 340px;
  min-height: 56px !important;
}

.choice,
.rsvp-section .choice,
.guest-options span,
.drink-options span,
.rsvp-section .guest-options span,
.rsvp-section .drink-options span,
.rsvp-form input[type="text"],
.rsvp-form textarea {
  background: rgba(255, 253, 248, 0.9) !important;
  border-color: rgba(202, 170, 121, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 1px 0 rgba(181, 137, 75, 0.16),
    0 6px 12px rgba(70, 42, 24, 0.045) !important;
}

.choice,
.rsvp-section .choice {
  min-height: 48px !important;
}

.rsvp-section .rsvp-form {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.78), rgba(255, 249, 241, 0.58)) !important;
  border-color: rgba(207, 169, 106, 0.34) !important;
  box-shadow: 0 14px 34px rgba(70, 42, 24, 0.075) !important;
}

.venue-card,
.map-card,
blockquote {
  background: rgba(255, 253, 248, 0.76) !important;
  border-color: rgba(207, 169, 106, 0.34) !important;
  box-shadow: 0 10px 24px rgba(70, 42, 24, 0.07) !important;
}

@media (max-width: 480px) {
  .primary-button,
  .route-button,
  .submit-button {
    min-height: 54px;
    font-size: 13px !important;
  }
}

/* Location cleanup: map first, address as a copyable caption. */
.location-section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start;
  justify-items: center;
}

.location-section .venue-card {
  display: none !important;
}

.location-section .map-card {
  width: min(100%, 412px) !important;
  margin: 24px auto 0 !important;
}

.map-caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  width: min(100%, 412px);
  margin: 10px auto 0;
  padding: 13px 14px 12px;
  color: #4d3429;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 248, 238, 0.8)),
    radial-gradient(ellipse at 14% 14%, rgba(184, 138, 67, 0.14), transparent 9rem);
  border: 1px solid rgba(207, 169, 106, 0.42);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(70, 42, 24, 0.085);
}

.map-caption::before {
  position: absolute;
  top: 11px;
  right: 18px;
  width: 72px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 138, 67, 0.48));
}

.map-caption-label {
  grid-column: 1 / -1;
  color: #b78232;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.map-caption-body {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
}

.map-pin {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #9a0b16;
  background: rgba(154, 11, 22, 0.08);
  border: 1px solid rgba(154, 11, 22, 0.16);
  border-radius: 50%;
}

.map-pin-button {
  padding: 0;
  cursor: pointer;
  font: inherit;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.map-pin-button:hover,
.map-pin-button.is-copied,
.map-pin-button.is-selected {
  color: #fff8ee;
  background: #9a0b16;
  border-color: rgba(207, 169, 106, 0.78);
  transform: translateY(-1px);
}

.map-pin-button:focus-visible {
  outline: 2px solid rgba(184, 138, 67, 0.58);
  outline-offset: 3px;
}

.map-pin svg {
  width: 19px;
  height: 19px;
  fill: rgba(154, 11, 22, 0.14);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.map-caption-text {
  min-width: 0;
}

.map-caption-text strong {
  display: block;
  margin-bottom: 3px;
  color: #9a0b16;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.15;
}

.map-caption address {
  min-width: 0;
  margin: 0;
  color: #554035;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.38;
}

.copy-address-status {
  grid-column: 1 / -1;
  min-height: 0;
  color: #795f4d;
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 380px) {
  .map-caption {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px 12px 11px;
  }

  .map-caption-body {
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 10px;
  }

  .map-pin {
    width: 33px;
    height: 33px;
  }

  .map-caption-text strong {
    font-size: 14.5px;
  }

  .map-caption address {
    font-size: 12.8px;
  }
}

@media (min-width: 960px) {
  .location-section {
    grid-template-columns: minmax(420px, 620px) !important;
    justify-content: center;
  }

  .location-section > h2,
  .location-section .map-card,
  .map-caption {
    grid-column: 1 !important;
  }

  .location-section .map-card,
  .map-caption {
    width: min(100%, 620px) !important;
  }

  .location-section .map-card {
    height: 360px !important;
  }
}

/* RSVP mobile cleanup: tighter rhythm and optically centered numerals. */
.rsvp-section .rsvp-form legend {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.rsvp-section .rsvp-form legend::before,
.rsvp-section .guest-options span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.rsvp-section .rsvp-form legend::before {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px;
  padding: 0 !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.rsvp-section .guest-options span {
  line-height: 1 !important;
}

@media (max-width: 560px) {
  .rsvp-section .rsvp-form {
    width: min(100%, 392px) !important;
    padding: 22px 24px 26px !important;
  }

  .rsvp-section .rsvp-form fieldset {
    gap: 12px !important;
    padding-bottom: 21px !important;
    margin-bottom: 21px !important;
  }

  .rsvp-section .rsvp-form legend {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    margin-bottom: 0 !important;
    font-size: 15.5px !important;
    line-height: 1.14 !important;
  }

  .rsvp-section .rsvp-form legend::before {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px;
    font-size: 12.5px !important;
  }

  .rsvp-section .guest-options,
  .rsvp-section .drink-options {
    gap: 10px !important;
  }

  .rsvp-section .guest-options span,
  .rsvp-section .drink-options span {
    min-height: 44px !important;
    padding: 0 10px !important;
  }

  .rsvp-section .guest-options span {
    font-size: 14px !important;
  }

  .music-preference-field,
  .rsvp-section .other-drink-field {
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .music-preference-field span,
  .other-drink-field span {
    padding-left: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .music-preference-field textarea {
    min-height: 82px !important;
    padding: 12px 16px !important;
    font-size: 13.5px !important;
  }

  .rsvp-section .submit-button {
    min-height: 52px !important;
    margin-top: 24px !important;
  }

  .captcha-field {
    width: 100%;
    min-height: 96px;
    margin-top: 20px;
  }
}

.hero-media {
  height: max(430px, 70svh) !important;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(255, 220, 164, 0.3), transparent 9rem),
    radial-gradient(ellipse at 84% 20%, rgba(255, 220, 164, 0.2), transparent 8rem),
    linear-gradient(180deg, #2c160f 0%, #4f1615 52%, rgba(251, 244, 234, 0) 100%) !important;
}

.hero-media::before {
  background:
    linear-gradient(90deg, rgba(251, 244, 234, 0.08), rgba(251, 244, 234, 0.18) 48%, rgba(251, 244, 234, 0.08)),
    linear-gradient(180deg, rgba(251, 244, 234, 0) 0%, rgba(251, 244, 234, 0.12) 46%, rgba(251, 244, 234, 0.7) 78%, #fbf4ea 100%) !important;
}

.hero-media.is-video-playing::before {
  background:
    linear-gradient(90deg, rgba(251, 244, 234, 0.03), rgba(251, 244, 234, 0.08) 48%, rgba(251, 244, 234, 0.03)),
    linear-gradient(180deg, rgba(251, 244, 234, 0) 0%, rgba(251, 244, 234, 0.04) 50%, rgba(251, 244, 234, 0.54) 82%, #fbf4ea 100%) !important;
}

.hero-video {
  object-fit: cover !important;
  object-position: center 28% !important;
  filter: brightness(0.92) contrast(1.08) saturate(1.1) !important;
  background: #2c160f !important;
}

@media (min-width: 960px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 100px clamp(48px, 7vw, 112px) 42px;
    background:
      linear-gradient(
        180deg,
        #1d0905 0%,
        #210a06 39%,
        rgba(248, 241, 231, 0.98) 54%,
        rgba(248, 241, 231, 1)
      ),
      var(--paper);
  }

  .hero-media {
    position: absolute !important;
    inset: 0 0 auto !important;
    z-index: 0;
    width: 100% !important;
    height: min(78vh, 780px) !important;
    min-height: 0 !important;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 18% 22%, rgba(255, 220, 164, 0.3), transparent 18rem),
      radial-gradient(ellipse at 84% 20%, rgba(255, 220, 164, 0.2), transparent 16rem),
      linear-gradient(180deg, #2c160f 0%, #4f1615 52%, rgba(251, 244, 234, 0) 100%) !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.88) 64%, rgba(0, 0, 0, 0.46) 84%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.88) 64%, rgba(0, 0, 0, 0.46) 84%, transparent 100%) !important;
  }

  .hero-media::before,
  .hero-media.is-video-playing::before {
    inset: 0;
    border: 0;
    background:
      linear-gradient(90deg, rgba(251, 244, 234, 0.03), rgba(251, 244, 234, 0.08) 48%, rgba(251, 244, 234, 0.03)),
      linear-gradient(180deg, rgba(251, 244, 234, 0) 0%, rgba(251, 244, 234, 0.08) 30%, rgba(251, 244, 234, 0.42) 58%, rgba(251, 244, 234, 0.78) 82%, #fbf4ea 100%) !important;
  }

  .hero-media::after {
    inset: auto 0 0;
    z-index: 3;
    height: min(660px, 72vh);
    background: linear-gradient(180deg, rgba(28, 9, 5, 0), rgba(248, 241, 231, 0.2) 18%, rgba(248, 241, 231, 0.62) 58%, rgba(248, 241, 231, 0.92) 86%, #f8f1e7 100%) !important;
  }

  .hero-video {
    object-position: center 32% !important;
    filter: brightness(0.9) contrast(1.08) saturate(1.1) !important;
  }

  .hero-copy {
    z-index: 4;
    align-items: center;
    width: min(620px, 100%);
    max-width: 620px;
    margin: min(52vh, 500px) auto 0;
  }

  .hero h1 {
    font-size: clamp(54px, 5.1vw, 78px);
    line-height: 0.9;
    text-align: center;
  }

  .hero .divider,
  .hero .primary-button {
    margin-inline: auto;
  }

  .date {
    text-align: center;
  }
}

@media (min-width: 960px) and (max-height: 760px) {
  .hero {
    padding-bottom: 30px;
  }

  .hero-media {
    height: 74vh !important;
  }

  .hero-media::after {
    height: 72vh;
  }

  .hero-copy {
    margin-top: 49vh;
  }

  .hero h1 {
    font-size: clamp(48px, 4.6vw, 66px);
  }

  .hero .divider {
    margin-top: 8px;
    margin-bottom: 6px;
  }

  .date {
    margin-bottom: 14px;
  }
}

.rsvp-section .rsvp-copy-title {
  max-width: min(100%, 520px) !important;
  margin: 0 auto 28px !important;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 7vw, 31px) !important;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

@media (min-width: 960px) {
  .rsvp-section .rsvp-copy-title {
    margin-bottom: 34px !important;
    font-size: clamp(30px, 2.8vw, 42px) !important;
  }
}

/* Scroll motion: quiet ceremonial reveals, only enabled after JS marks the page ready. */
html.reveal-ready .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance, 24px), 0) scale(var(--reveal-scale, 1));
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 820ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.reveal-ready .scroll-reveal[data-reveal="title"] {
  --reveal-distance: 18px;
}

html.reveal-ready .scroll-reveal[data-reveal="card"] {
  --reveal-distance: 30px;
  --reveal-scale: 0.985;
}

html.reveal-ready .scroll-reveal[data-reveal="soft"] {
  --reveal-distance: 14px;
}

html.reveal-ready .timeline.scroll-reveal::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 980ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 140ms;
}

html.reveal-ready .timeline.scroll-reveal.is-visible::before {
  transform: scaleY(1);
}

html.reveal-ready .timeline li.scroll-reveal,
html.reveal-ready .rsvp-form fieldset.scroll-reveal {
  --reveal-distance: 22px;
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .scroll-reveal,
  html.reveal-ready .timeline.scroll-reveal::before {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* RSVP spacing pass: clearer question rhythm and centered numbered markers. */
.rsvp-section .rsvp-copy-title {
  margin-bottom: clamp(34px, 7vw, 46px) !important;
}

.rsvp-section .rsvp-form {
  gap: clamp(24px, 5vw, 32px) !important;
  padding: clamp(26px, 5.5vw, 38px) clamp(20px, 5vw, 34px) clamp(28px, 5.5vw, 40px) !important;
}

.rsvp-section .rsvp-name-field {
  gap: 12px !important;
}

.rsvp-section .rsvp-name-field > span {
  margin-bottom: 2px;
}

.rsvp-section .rsvp-form fieldset {
  gap: clamp(16px, 3.6vw, 22px) !important;
  padding-bottom: clamp(26px, 5vw, 34px) !important;
  margin: 0 !important;
  border-bottom: 0 !important;
}

.rsvp-section .rsvp-form fieldset:last-of-type {
  padding-bottom: 0 !important;
}

.rsvp-section .rsvp-dependent[hidden] {
  display: none !important;
}

.rsvp-section .rsvp-form legend {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 34px;
  margin-bottom: clamp(12px, 3vw, 16px) !important;
  line-height: 1.16 !important;
}

.rsvp-section .rsvp-form legend::before {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  place-items: center;
  line-height: 1 !important;
  transform: none !important;
}

.rsvp-section .choice {
  min-height: 54px !important;
}

.rsvp-section .guest-options,
.rsvp-section .drink-options {
  gap: clamp(12px, 3vw, 16px) !important;
}

.rsvp-section .guest-options span,
.rsvp-section .drink-options span {
  min-height: 52px !important;
}

.rsvp-section .captcha-field {
  margin-top: 2px;
}

.rsvp-section .submit-button {
  margin-top: clamp(30px, 6vw, 40px) !important;
}

@media (max-width: 560px) {
  .rsvp-section .rsvp-copy-title {
    margin-bottom: 36px !important;
  }

  .rsvp-section .rsvp-form {
    gap: 26px !important;
    padding: 25px 24px 30px !important;
  }

  .rsvp-section .rsvp-form fieldset {
    gap: 16px !important;
    padding-bottom: 28px !important;
  }

  .rsvp-section .rsvp-form legend {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 13px;
    min-height: 32px;
    margin-bottom: 14px !important;
    font-size: 16px !important;
  }

  .rsvp-section .rsvp-form legend::before {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    font-size: 13px !important;
  }

  .rsvp-section .choice {
    min-height: 52px !important;
  }

  .rsvp-section .guest-options span,
  .rsvp-section .drink-options span {
    min-height: 50px !important;
  }
}

.rsvp-section .drink-options {
  grid-template-columns: minmax(0, 1fr) !important;
}

.rsvp-section .drink-options > label:not(.other-drink-field) > span {
  min-height: 52px !important;
}

.rsvp-section .wine-preferences-field {
  width: 100%;
  margin: -2px 0 2px !important;
  padding: 15px !important;
}

.rsvp-section .wine-preferences-head span,
.rsvp-section .wine-choice-label,
.rsvp-section .other-drink-field > span {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  color: #4b3026 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.rsvp-section .wine-preferences-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.rsvp-section .wine-choice-row {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}

.rsvp-section .wine-choice-label {
  margin-top: 2px;
  color: rgba(74, 48, 38, 0.76) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.rsvp-section .wine-choice-row label span {
  display: grid !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 0 14px !important;
  place-items: center;
  color: #4a3026 !important;
  background: rgba(255, 253, 248, 0.92) !important;
  border: 1px solid rgba(202, 170, 121, 0.58) !important;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 6px 12px rgba(70, 42, 24, 0.045) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

.rsvp-section .wine-choice-row input:checked + span {
  color: #fff9ef !important;
  background: linear-gradient(135deg, #a90813, #89060f) !important;
  border-color: rgba(217, 183, 110, 0.72) !important;
  box-shadow: 0 13px 24px rgba(104, 4, 11, 0.18) !important;
}

.rsvp-section .other-drink-field {
  width: 100%;
  margin: -2px 0 2px !important;
}
