﻿@import url("https://fonts.googleapis.com/css2?family=Italianno&display=swap");

:root {
  --ivory: #faf8f5;
  --paper: #ffffff;
  --wine: #5c2018;
  --wine-soft: rgba(92, 32, 24, 0.65);
  --gold: #c89b4e;
  /* size for timeline icons; updated in media query for phones */
  --program-icon-size: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", serif;
  color: var(--wine);
  background: var(--ivory);
  overflow-x: hidden;
}

body.scratch-lock {
  overflow: hidden;
}

body.intro-lock {
  overflow: hidden;
}

html.intro-lock {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
}

.section {
  padding: clamp(3rem, 7vw, 4.6rem) 1.5rem;
  text-align: center;
}

.mobile-br {
  display: none;
}

.bg-white {
  background: #fff !important;
}

.bg-ivory {
  background: rgb(250, 248, 245) !important;
}

.intro {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #f5f3f0;
}

.intro-bg,
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-open {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.intro-video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.intro.playing .intro-video {
  opacity: 1;
}

.intro.open .intro-video {
  opacity: 0;
  pointer-events: none;
}

.intro.open .intro-open {
  opacity: 1;
}

.intro.open .intro-closed {
  opacity: 0;
}

.intro-trigger {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  border-radius: 999px;
  border: 2px solid rgba(92, 32, 24, 0.85);
  background: #fff;
  color: #fff;
  font-size: 1.7rem;
  padding: 0px;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: 2s;
}

.intro.playing .intro-trigger,
.intro.open .intro-trigger {
  opacity: 0;
  pointer-events: none;
}

.intro-greeting {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #f3e7dc;
  margin: 0;
  text-align: center;
}

.intro-greeting {
  top: calc(50% + 190px);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 3.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.intro.playing .intro-greeting,
.intro.open .intro-greeting {
  opacity: 0;
  pointer-events: none;
}

.intro-invite {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.88rem;
  max-width: 44rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro-name {
  font-family: "Italianno", cursive;
  font-size: clamp(3rem, 12vw, 6rem);
  margin: 0;
  line-height: 1;
}

.intro-amp {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  margin: 0.2rem 0;
}

.intro-message {
  max-width: 52rem;
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

.intro-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: var(--wine);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  z-index: 4;
}

.intro.open .intro-content {
  opacity: 1;
  transform: translateY(0);
}

.icon-hand,
.icon-ganpati {
  line-height: 1;
  transform: translateY(-1px);
}

.icon-ganpati-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.intro-scroll {
  display: inline-block;
  margin-top: 2.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
  animation: bounce 1.8s infinite;
  color: var(--wine);
  text-decoration: none;
}

.main {
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(200, 155, 78, 0.08),
      transparent 55%
    ),
    var(--ivory);
  overflow-x: clip;
}

.title {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  opacity: 0.85;
}

.hint,
.subtle {
  font-size: 0.88rem;
  color: var(--wine-soft);
}

.reveal {
  background: #fff;
  min-height: 100vh;
  position: relative;
  scroll-margin-top: 0;
}

.scratch-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.scratch-card {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(92, 32, 24, 0.24);
  box-shadow: 0 12px 24px rgba(92, 32, 24, 0.12);
}

.scratch-canvas,
.scratch-content {
  position: absolute;
  inset: 0;
}

.scratch-canvas {
  z-index: 3;
  cursor: crosshair;
}

.scratch-content {
  z-index: 1;
  display: grid;
  place-content: center;
  padding: 1rem;
  background: #fbf6ee;
  pointer-events: none;
}

.scratch-value {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 2.9rem);
}

.scratch-done {
  margin-top: 1.5rem;
  font-size: 2.2rem;
  color: var(--wine);
}

.confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  top: -40px;
  background: #70271d;
  opacity: 0.95;
  animation: confetti-fall linear forwards;
}

.countdown-venue {
  background: #fff;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  max-width: 360px;
  margin: 1.4rem auto 0;
}

.count-grid div {
  background: #f8f2e7;
  border: 1px solid rgba(92, 32, 24, 0.18);
  border-radius: 10px;
  padding: 1.1rem 0.2rem;
}

.count-grid span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}

.count-grid small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
}

.countdown-venue .eyebrow {
  margin-top: 2.2rem;
}

.venue-badge {
  background: var(--wine);
  color: #fff;
  display: inline-block;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.5rem 0 1.3rem;
}

.illustration {
  border-radius: 15px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.display {
  font-size: clamp(2rem, 7vw, 3.3rem);
  margin: 1.2rem 0 0.5rem;
}

.section-heading {
  margin-top: 0;
}

.address {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.63rem;
  margin: 0.2rem 0;
}

.venue-date {
  margin: 1rem 0 0;
  font-size: 1.95rem;
  font-family: "Cormorant Garamond", serif;
}

.reception {
  margin-top: 1.1rem;
  font-size: clamp(1.5rem, 5vw, 2.4rem);
}

.menu {
  background: var(--ivory);
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.menu-shell {
  position: relative;
  width: min(100%, 700px);
  margin: 0 auto;
}

.menu-frame {
  width: 75%;
  margin: 0 auto;
}

.menu-text {
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  bottom: 18%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
}

.menu-text h3 {
  margin: 0.5rem 0 0.12rem;
  /* font-family: "Cormorant Garamond", serif; */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 1.08rem;
}

.menu-text-diff {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0em !important;
}

.menu-text p {
  margin: 0 0 0.05rem;
  font-size: 0.98rem;
}

.menu-sub {
  font-size: 0.82rem !important;
  font-style: italic;
}

.menu-wine {
  margin-top: 0.8rem !important;
  font-size: 2rem !important;
}

.celebration-program {
  background: #fff;
}

.program-title {
  /* match size of other section titles (.display) */
  font-size: clamp(2rem, 7vw, 3.3rem);
  margin: 0;
}

.program-subtitle {
  margin: 0.3rem 0 1.5rem;
  color: var(--wine-soft);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

.program-day {
  margin-top: 2rem;
}

.program-day-title {
  margin: 0 auto 3rem;
  display: inline-block;
  background: var(--wine-soft);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-family: "Cormorant Garamond", serif;
  /* even smaller day titles */
  font-size: clamp(0.9rem, 1.8vw, 1.4rem);
  font-weight: 500;
}

.program-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem; /* tighter spacing */
  max-width: 1300px;
  margin: 0 auto;
}

.program-track::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  /* vertical position matches half the icon size so the line runs through
     the middle of each symbol */
  top: calc(var(--program-icon-size) / 2);
  border-top: 1px solid rgba(92, 32, 24, 0.16);
}

.program-item {
  position: relative;
  z-index: 1;
  padding: 0 0.35rem;
}

.program-time {
  /* desktop: badge sits above icon centered */
  position: absolute;
  top: calc(-1 * (var(--program-icon-size) / 2 + 0.4rem));
  left: 50%;
  transform: translateX(-50%);
  background: var(--wine);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.program-icon {
  width: var(--program-icon-size);
  height: var(--program-icon-size);
  margin: 0 auto 0.3rem;
  border-radius: 999px;
  border: 2px solid rgba(92, 32, 24, 0.2);
  background: #fff;
  display: grid;
  place-items: center;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

.program-item h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.program-item p {
  margin: 0.25rem auto 0;
  max-width: 220px;
  color: var(--wine-soft);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  line-height: 1.35;
}

.dress,
.transport {
  background: var(--ivory);
}

.dress-img {
  max-width: 315px;
  margin-top: 20px;
}

.desc {
  max-width: 820px;
  margin: 1rem auto;
  line-height: 1.8;
}

.dress-desc {
  margin-top: 1.8rem;
}

.dress-formal {
  margin-top: 1.8rem;
}

.dress-note {
  margin-top: 1.2rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-family: "Italianno", cursive;
}

.small {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
}

.gifts {
  background: var(--ivory);
}

.gift-icon {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 0.4rem auto;
}

.gifts-desc {
  max-width: 760px;
}

.gifts-love {
  margin: 1.9rem 0;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.gifts-bank-title {
  margin-top: 0.2rem;
}

.bank-box {
  border: 2px solid var(--wine);
  display: inline-block;
  padding: 1rem 1.2rem;
  margin-top: 0.8rem;
  text-align: left;
  max-width: 95%;
}

.bank-box p {
  margin: 0.56rem 0;
  font-size: 0.95rem;
}

.transport-desc {
  max-width: 760px;
}

.transport-block {
  margin-top: 2.2rem;
}

.transport-place {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0.8rem 0 0.2rem;
}

.transport-time {
  font-size: clamp(1.9rem, 4vw, 1.5rem);
  margin: 0.4rem 0 0;
}

.transport-note {
  margin-top: 2.8rem;
  font-size: clamp(1.55rem, 4vw, 3rem);
  line-height: 1.2;
}

.location-section {
  background: #fff;
}

.location-icon-wrap {
  width: 62px;
  height: 62px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: rgba(92, 32, 24, 0.08);
  display: grid;
  place-items: center;
}

.location-pin {
  font-size: 1.5rem;
  line-height: 1;
}

.location-name {
  margin: 0.45rem 0 0;
  font-size: 1.9rem;
  font-family: "Cormorant Garamond", serif;
}

.location-time {
  margin: 0.2rem 0 1.2rem;
  font-size: 1.05rem;
  color: var(--wine-soft);
}

.location-photo {
  width: min(100%, 840px);
  border-radius: 10px;
  margin: 1rem auto 1.2rem;
  object-fit: cover;
  aspect-ratio: 16 / 6;
}

.location-map-wrap {
  width: min(100%, 840px);
  margin: 0 auto;
  border: 1px solid rgba(92, 32, 24, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.location-map-wrap iframe {
  width: 100%;
  height: 230px;
  border: 0;
  display: block;
}

.calendar-btn {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(92, 32, 24, 0.4);
  border-radius: 9px;
  color: var(--wine);
  text-decoration: none;
  font-size: 1rem;
  background: rgba(250, 248, 245, 0.75);
}

.rsvp {
  background: var(--ivory);
}

.rsvp-pill {
  display: inline-block;
  border: 1px solid rgba(92, 32, 24, 0.22);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  color: var(--wine-soft);
  margin: 0 0 1.3rem;
}

.rsvp-form {
  max-width: 700px;
  margin: 1.8rem auto 0;
  text-align: left;
  display: grid;
  gap: 1.15rem;
  padding: 2rem;
  border: 1px solid rgba(92, 32, 24, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
}

.rsvp-form label,
.rsvp-form legend {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.rsvp-form input,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid rgba(92, 32, 24, 0.35);
  background: #fff;
  padding: 0.7rem;
  margin-top: 0.45rem;
  font: inherit;
  color: inherit;
  border-radius: 14px;
}

.rsvp-form fieldset {
  border: 0;
  padding: 0;
}

.attend-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.attend-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.guestcount-fieldset .attend-options {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0.75rem;
  margin-top: 0.8rem !important;
  margin-bottom: 0.8rem !important;
}

.guestcount-fieldset .attend-option {
  display: inline-block;
  width: 40px;
  height: 30px;
}

.attend-option span {
  border: 1px solid rgba(92, 32, 24, 0.25);
  border-radius: 14px;
  display: grid;
  place-items: center;
  min-height: 48px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.02rem;
}

.attend-option input:checked + span {
  background: rgba(92, 32, 24, 0.1);
  border-color: rgba(92, 32, 24, 0.55);
}

.btn {
  appearance: none;
  border: 0;
  background: #af918d;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.thank-you {
  min-height: 50vh;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-card-frame {
  background: #752215;
  border-radius: 34px;
  padding: 2.6rem;
  width: min(100%, 560px);
}

.thank-card-paper {
  background: #fff;
  padding: 3.2rem 2rem;
  clip-path: polygon(
    8% 0%,
    14% 2%,
    20% 0%,
    26% 2%,
    32% 0%,
    38% 2%,
    44% 0%,
    50% 2%,
    56% 0%,
    62% 2%,
    68% 0%,
    74% 2%,
    80% 0%,
    86% 2%,
    92% 0%,
    100% 8%,
    98% 14%,
    100% 20%,
    98% 26%,
    100% 32%,
    98% 38%,
    100% 44%,
    98% 50%,
    100% 56%,
    98% 62%,
    100% 68%,
    98% 74%,
    100% 80%,
    98% 86%,
    100% 92%,
    92% 100%,
    86% 98%,
    80% 100%,
    74% 98%,
    68% 100%,
    62% 98%,
    56% 100%,
    50% 98%,
    44% 100%,
    38% 98%,
    32% 100%,
    26% 98%,
    20% 100%,
    14% 98%,
    8% 100%,
    0% 92%,
    2% 86%,
    0% 80%,
    2% 74%,
    0% 68%,
    2% 62%,
    0% 56%,
    2% 50%,
    0% 44%,
    2% 38%,
    0% 32%,
    2% 26%,
    0% 20%,
    2% 14%,
    0% 8%
  );
}

.thank-card-paper h2 {
  font-size: clamp(3rem, 7vw, 4.2rem);
  margin: 0;
}

.thank-card-paper p {
  margin: 1rem auto 0;
  max-width: 360px;
  line-height: 1.5;
  font-size: 1.05rem;
}

.thank-couple {
  margin-top: 1.5rem !important;
  font-size: clamp(2.4rem, 5vw, 3rem) !important;
  font-family: "Italianno", cursive;
}

.logo {
  width: 170px;
  margin: 0 auto;
  opacity: 0.8;
}

.music-btn {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 2px solid rgba(92, 32, 24, 0.88);
  background: rgba(250, 248, 245, 0.92);
  color: var(--wine);
  padding: 0;
  font-size: 1.7rem;
  z-index: 100;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% {
    opacity: 0.4;
  }
}

@keyframes bounce {
  50% {
    transform: translateY(8px);
  }
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift-x, 20px), 110vh, 0)
      rotate(var(--rot, 540deg));
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .intro-content {
    max-width: 82vw;
    padding-top: 11vh;
    padding-bottom: 1.6rem;
  }

  .intro-invite {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .intro-name {
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .intro-message {
    max-width: 100%;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .intro-scroll {
    margin-top: 1.4rem;
  }

  .count-grid {
    max-width: 390px;
  }

  .transport-place {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .transport-time {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .rsvp-form {
    max-width: 620px;
  }

  .scratch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    max-width: 420px;
  }

  .scratch-card {
    max-width: 120px;
  }

  .menu-shell {
    width: min(100%, 560px);
  }

  .menu-text {
    top: 20%;
    left: 14%;
    right: 14%;
    bottom: 17%;
  }

  .menu-text h3 {
    font-size: 0.86rem;
  }

  .menu-text p {
    font-size: 0.78rem;
  }

  .menu-sub {
    font-size: 0.65rem !important;
  }
}

@media (max-width: 560px) {
  .toastify {
    max-width: 100% !important;
    left: 25% !important;
    transform: translateX(-15%) !important;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .mobile-br {
    display: block;
  }

  .reveal {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .intro-content {
    max-width: 84vw;
    justify-content: flex-start;
    padding-top: 35vh;
  }

  .intro-invite {
    font-size: 0.73rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .intro-name {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .intro-message {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 1rem;
    max-width: 94%;
  }

  .intro-amp {
    font-size: 1.6rem;
    margin: 0.1rem 0;
  }

  .intro-scroll {
    margin-top: 1rem;
    font-size: 0.6rem;
  }

  .display {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .scratch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem;
    max-width: 330px;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
    align-items: center;
    justify-items: center;
  }

  .scratch-card {
    width: 102px;
    height: 102px;
    max-width: none;
    aspect-ratio: 1 / 1;
  }

  .scratch-canvas {
    width: 100%;
    height: 100%;
  }

  .scratch-value {
    font-size: 2rem;
  }

  .count-grid {
    max-width: 100%;
    gap: 0.4rem;
  }

  .count-grid div {
    padding: 0.8rem 0.1rem;
  }

  .menu-shell {
    width: min(100%, 380px);
  }

  .menu-frame {
    width: 100%;
  }

  .menu-text {
    top: 20px;
    left: 11%;
    right: 11%;
    bottom: 16%;
  }

  .menu-text h3 {
    font-size: 0.83rem;
    margin-top: 0.8rem;
  }

  .menu-text p {
    font-size: 0.74rem;
    line-height: 1.14;
  }

  .menu-sub {
    font-size: 0.61rem !important;
  }

  .menu-wine {
    font-size: 1.4rem !important;
    margin-top: 0.45rem !important;
  }

  .venue-date {
    font-size: 1.35rem;
  }

  .bank-box {
    width: 100%;
    padding: 0.95rem;
  }

  .bank-box p {
    font-size: 0.85rem;
  }

  .transport-note {
    font-size: clamp(1.45rem, 7.2vw, 2rem);
  }

  .location-name {
    font-size: 1.55rem;
  }

  .location-time {
    font-size: 0.95rem;
  }

  .location-photo {
    aspect-ratio: 16 / 8;
  }

  .location-map-wrap iframe {
    height: 210px;
  }

  .calendar-btn {
    font-size: 0.92rem;
    padding: 0.55rem 0.85rem;
  }

  .attend-options {
    grid-template-columns: 1fr;
  }

  .rsvp-form {
    padding: 1.2rem;
  }

  .btn {
    font-size: 1.06rem;
  }

  .thank-card-frame {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .thank-card-paper {
    padding: 1.8rem 1rem;
  }

  .thank-card-paper p {
    font-size: 0.95rem;
  }

  /* mobile timeline adjustments for celebration program */
  /* shrink icon size for phones */
  .program-icon {
    --program-icon-size: 40px;
  }

  .program-track {
    display: block;
    margin-left: 20px; /* small offset from page edge */
    position: relative;
  }

  .program-track::before {
    content: "";
    position: absolute;
    left: calc(var(--program-icon-size) / 2);
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(92, 32, 24, 0.16);
    border-top: none;
  }

  .program-item {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 1.4rem;
    padding-left: calc(var(--program-icon-size) + -45px);
  }

  .program-icon {
    flex-shrink: 0;
    width: var(--program-icon-size);
    height: var(--program-icon-size);
    margin: 0 0.6rem 0 0; /* no auto margins on mobile */
    padding: 0.4rem;
  }

  .program-time {
    /* mobile override: static next to icon */
    position: static;
    margin: 0 0.6rem 0 0;
    background: var(--wine);
    color: #fff;
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    transform: none;
    left: auto;
    top: auto;
  }

  .program-content {
    flex: 1;
  }
}
