@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Inter:wght@500;700;800&family=Noto+Serif+Tamil:wght@400;600&display=swap");

:root {
  --cream: #f0e3d2;
  --cream-muted: #ddcab2;
  --rose: #c98592;
  --gold: #c69a5d;
  --olive: #66703a;
  --olive-dark: #3f461f;
  --ink: #4f3827;
  --muted: #80664d;
  --parchment: #f7efe4;
  --jasmine: #fff8ee;
  --wood: #8a5c37;
  --wood-dark: rgba(166, 115, 74, 1);
  --wood-soft: #ad8d69;
  --lotus: #d39aa4;
  --lotus-deep: #a65c6c;
  --leaf: #66703a;
  --lotus-rgb: 166, 92, 108;
  --wood-rgb: 166, 115, 74;
  --cream-rgb: 240, 227, 210;
  --jasmine-rgb: 255, 248, 238;
  --gold-rgb: 198, 154, 93;
  --white-soft: rgba(255, 248, 238, 0.86);
  --line-light: rgba(255, 248, 238, 0.36);
  --line-dark: rgba(166, 92, 108, 0.22);
  --display: "Great Vibes", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --tamil: "Noto Serif Tamil", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #c7a076;
}

html.invitation-root-visible {
  background: var(--cream);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.18rem;
  line-height: 1.28;
  text-rendering: optimizeLegibility;
}

body:not(.invitation-open) {
  overflow: hidden;
}

body:not(.invitation-open):not(.invitation-unfolding) {
  background: #c7a076;
}

body:not(.invitation-open):not(.invitation-unfolding) .site-main {
  opacity: 0;
  transform: translate3d(0, 54vh, 0);
}

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

video {
  display: block;
}

a {
  color: inherit;
}

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

.site-header {
  display: none;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, var(--wood-dark) 0 69%, #c7a076 69% 100%);
  touch-action: pan-y;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 13%, rgba(var(--gold-rgb), 0.24), transparent 24%),
    radial-gradient(circle at 16% 14%, rgba(var(--jasmine-rgb), 0.18), transparent 13%),
    radial-gradient(circle at 84% 14%, rgba(var(--jasmine-rgb), 0.18), transparent 13%),
    linear-gradient(180deg, var(--wood-dark) 0 69%, #c7a076 69% 100%);
  transform: scale(1.02);
}

.invitation-open .gate,
.invitation-open .gate--parked {
  position: relative;
  inset: auto;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
  pointer-events: none;
}

.invitation-unfolding .gate {
  pointer-events: none;
  animation: traditional-door-slide-up 3s linear forwards;
}

.door-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  text-align: inherit;
  touch-action: pan-y;
}

.door-button:focus-visible {
  outline: 3px solid rgba(var(--gold-rgb), 0.96);
  outline-offset: -12px;
}

.gate__scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  overflow: hidden;
  will-change: transform, opacity;
}

.gate__door-scene {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center center;
  filter:
    drop-shadow(0 24px 34px rgba(var(--wood-rgb), 0.34))
    saturate(1.05)
    contrast(1.03);
  pointer-events: none;
}

.gate__continue-prompt {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 5.8dvh, 54px);
  z-index: 8;
  display: inline-grid;
  min-width: 194px;
  min-height: 36px;
  place-items: center;
  padding: 9px 17px;
  border: 1px solid rgba(var(--gold-rgb), 0.62);
  border-radius: 999px;
  background: rgba(var(--wood-rgb), 0.82);
  box-shadow: 0 10px 22px rgba(var(--wood-rgb), 0.24);
  color: var(--jasmine);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 8px, 0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

body.gate-awaiting-tap:not(.invitation-unfolding):not(.invitation-open) .gate__continue-prompt {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

body.invitation-unfolding .gate__continue-prompt,
body.invitation-open .gate__continue-prompt {
  opacity: 0;
  transform: translate3d(-50%, 14px, 0);
}

@keyframes traditional-door-slide-up {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, -112dvh, 0);
  }
}

.music-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(var(--jasmine-rgb), 0.58);
  border-radius: 4px;
  background: rgba(var(--wood-rgb), 0.86);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gate-editor-page {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--wood-dark);
}

.gate-editor-page .gate {
  z-index: 1;
  transition: none;
}

.gate-editor-page .door-button {
  cursor: default;
}

.gate-editor-page .gate__continue-prompt {
  display: none;
}

.gate-editor-panel {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  display: grid;
  width: min(396px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  gap: 12px;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(var(--jasmine-rgb), 0.22);
  border-radius: 8px;
  background: rgba(var(--wood-rgb), 0.9);
  box-shadow: 0 18px 42px rgba(var(--wood-rgb), 0.36);
  color: var(--jasmine);
  font-family: var(--sans);
  line-height: 1.25;
  backdrop-filter: blur(14px);
}

.gate-editor-panel h1,
.gate-editor-panel p {
  margin: 0;
}

.gate-editor-panel h1 {
  color: #f1d29a;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.gate-editor-panel p {
  color: rgba(var(--jasmine-rgb), 0.78);
  font-size: 0.75rem;
}

.gate-editor-panel button,
.gate-editor-panel a {
  min-height: 38px;
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  border-radius: 6px;
  background: rgba(var(--jasmine-rgb), 0.1);
  color: var(--jasmine);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
}

.gate-editor-panel button:hover,
.gate-editor-panel button:focus-visible,
.gate-editor-panel a:hover,
.gate-editor-panel a:focus-visible {
  border-color: rgba(var(--gold-rgb), 0.72);
  background: rgba(var(--gold-rgb), 0.2);
  outline: none;
}

.gate-editor-panel__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
}

.gate-editor-panel__header a {
  display: inline-grid;
  min-width: 68px;
  place-items: center;
}

@media (max-width: 680px) {
  .gate-editor-panel {
    top: 8px;
    left: 10px;
    width: calc(100vw - 36px);
    max-height: 46dvh;
    padding: 10px;
    gap: 8px;
  }

  .gate-editor-panel button,
  .gate-editor-panel a {
    font-size: 0.68rem;
  }

  .gate-editor-panel h1 {
    font-size: 1.15rem;
  }

  .gate-editor-panel p {
    font-size: 0.68rem;
  }
}

.site-main {
  min-height: 100vh;
  transform: translateY(0);
  will-change: transform, opacity;
}

.invitation-unfolding .site-main {
  animation: invitation-content-feed-up 3s linear forwards;
}

@keyframes invitation-content-feed-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 54vh, 0);
  }

  22% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.loading-section {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(58px, 8vw, 96px) 18px clamp(88px, 12vw, 150px);
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--jasmine-rgb), 0.84), transparent 34%),
    radial-gradient(circle at 50% 82%, rgba(var(--lotus-rgb), 0.12), transparent 38%),
    linear-gradient(180deg, var(--parchment) 0%, var(--cream) 48%, #e7d4bf 100%),
    var(--cream);
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: min(470px, 100%);
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  justify-items: center;
  text-align: center;
}

.hero__event,
.script-heading {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
}

.hero__event {
  color: var(--lotus-deep);
  font-size: clamp(2.4rem, 7vw, 4rem);
}

.hero__compact-date {
  margin: 8px 0 0;
  color: var(--leaf);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: 0.03em;
}

.hero__names {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: clamp(66px, 12vw, 104px) 0 0;
  color: var(--leaf);
  font-family: var(--display);
  font-size: clamp(3.8rem, 12vw, 6.6rem);
  font-weight: 400;
  line-height: 0.74;
  text-align: center;
}

.hero__names span,
.hero__names em {
  display: block;
  width: 100%;
  text-align: center;
}

.hero__names em {
  margin: 4px 0;
  color: var(--lotus-deep);
  font-size: clamp(2.2rem, 8vw, 4.3rem);
  font-style: normal;
  line-height: 0.68;
}

.floral {
  --floral-final-scale: 1;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.18));
  transform-origin: 50% 56%;
  user-select: none;
  will-change: clip-path, opacity, transform;
  clip-path: inset(26% 46% 24% 46% round 999px);
}

.floral--hero {
  --floral-x: 0;
  width: min(700px, 104vw);
  max-width: none;
  margin: clamp(58px, 9vw, 92px) 0 30px;
  justify-self: center;
}

.floral-image--hero {
  --hero-lotus-y: 6px;
  width: min(860px, 118vw);
  height: auto;
  filter:
    saturate(0.96)
    sepia(0.03)
    drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
  transform-origin: 50% 62%;
}

.invitation-open .floral-image--hero {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0);
  filter:
    saturate(0.96)
    sepia(0.03)
    drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
  transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(var(--hero-lotus-y));
  transition:
    opacity 0.42s ease,
    clip-path 0.72s cubic-bezier(0.18, 0.9, 0.2, 1),
    filter 0.7s ease,
    transform 0.9s cubic-bezier(0.18, 0.9, 0.2, 1);
}

.invitation-bloom .floral-image--hero {
  animation: hero-lotus-image-bloom 1.75s linear forwards;
}

.floral--rsvp {
  --floral-x: 0;
}

.floral-grow {
  position: relative;
  aspect-ratio: 1300 / 420;
  overflow: visible;
  clip-path: none;
  opacity: 1;
  filter:
    saturate(0.58)
    sepia(0.12)
    hue-rotate(345deg)
    brightness(1.12)
    drop-shadow(0 18px 18px rgba(var(--wood-rgb), 0.12));
  transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
  will-change: opacity, transform;
}

.invitation-open .floral-grow--hero {
  opacity: 1;
  transition:
    opacity 0.5s linear,
    transform 0.5s linear;
}

.floral-grow__piece {
  --piece-left: 0%;
  --piece-top: 0%;
  --piece-width: 10%;
  --piece-delay: 0s;
  --piece-rotate: 0deg;
  --piece-z: 1;
  position: absolute;
  top: var(--piece-top);
  left: var(--piece-left);
  z-index: var(--piece-z);
  width: var(--piece-width);
  max-width: none;
  height: auto;
  opacity: 0;
  transform: scale(0.5) rotate(var(--piece-rotate));
  transform-origin: 50% 50%;
  transform-box: border-box;
  will-change: opacity, transform;
}

.invitation-bloom .floral-grow__piece {
  animation: flower-grow-from-center 0.5s linear forwards;
}

@keyframes flower-grow-from-center {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(var(--piece-rotate));
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--piece-rotate));
  }
}

.floral-bloom {
  position: relative;
  aspect-ratio: 980 / 300;
  isolation: isolate;
  overflow: visible;
  clip-path: none;
  filter:
    saturate(1.04)
    drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
  transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.78)) translateY(18px);
}

.invitation-open .floral-bloom--hero {
  opacity: 1;
  filter:
    saturate(1.04)
    drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
  transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
  transition:
    opacity 0.42s ease,
    filter 0.7s ease,
    transform 0.9s cubic-bezier(0.18, 0.9, 0.2, 1);
}

.invitation-bloom .floral-bloom--hero {
  animation: floral-bloom-settle 1.55s cubic-bezier(0.18, 0.9, 0.2, 1) forwards;
}

.floral-bloom__greens {
  position: absolute;
  inset: 32% -1% 0;
  opacity: 0;
  z-index: 1;
  transform: translateY(18px) scale(0.72);
  transform-origin: 50% 82%;
  background:
    radial-gradient(ellipse 14% 30% at 8% 66%, rgba(44, 83, 54, 0.94) 0 48%, rgba(95, 130, 70, 0.86) 49% 58%, transparent 60%),
    radial-gradient(ellipse 17% 27% at 22% 72%, rgba(73, 113, 63, 0.92) 0 50%, rgba(129, 153, 82, 0.86) 51% 58%, transparent 60%),
    radial-gradient(ellipse 16% 31% at 37% 62%, rgba(42, 90, 55, 0.94) 0 49%, rgba(105, 138, 72, 0.88) 50% 58%, transparent 60%),
    radial-gradient(ellipse 18% 26% at 53% 75%, rgba(85, 127, 68, 0.92) 0 50%, rgba(151, 162, 93, 0.84) 51% 58%, transparent 60%),
    radial-gradient(ellipse 16% 30% at 70% 62%, rgba(38, 83, 50, 0.95) 0 49%, rgba(98, 130, 68, 0.88) 50% 58%, transparent 60%),
    radial-gradient(ellipse 17% 27% at 84% 71%, rgba(68, 105, 58, 0.92) 0 50%, rgba(129, 152, 82, 0.86) 51% 58%, transparent 60%),
    radial-gradient(ellipse 14% 31% at 95% 64%, rgba(32, 73, 45, 0.94) 0 48%, rgba(86, 121, 67, 0.84) 49% 58%, transparent 60%);
}

.floral-bloom__greens::before {
  content: "";
  position: absolute;
  inset: 24% 5% 16%;
  opacity: 0.68;
  background:
    linear-gradient(15deg, transparent 49%, rgba(226, 203, 151, 0.45) 49.6% 50.4%, transparent 51%),
    linear-gradient(-13deg, transparent 49%, rgba(226, 203, 151, 0.38) 49.6% 50.4%, transparent 51%),
    linear-gradient(6deg, transparent 49%, rgba(244, 229, 190, 0.32) 49.6% 50.4%, transparent 51%);
}

.floral-bloom__greens::after {
  content: "";
  position: absolute;
  inset: 46% 3% 8%;
  opacity: 0.54;
  background:
    radial-gradient(ellipse 8% 11% at 14% 58%, rgba(205, 223, 154, 0.55), transparent 64%),
    radial-gradient(ellipse 9% 10% at 31% 70%, rgba(220, 231, 168, 0.48), transparent 64%),
    radial-gradient(ellipse 10% 12% at 51% 62%, rgba(209, 225, 154, 0.5), transparent 64%),
    radial-gradient(ellipse 9% 10% at 69% 72%, rgba(220, 231, 168, 0.48), transparent 64%),
    radial-gradient(ellipse 8% 11% at 87% 58%, rgba(205, 223, 154, 0.55), transparent 64%);
}

.invitation-open .floral-bloom--hero .floral-bloom__greens {
  opacity: 0.92;
}

.invitation-bloom .floral-bloom--hero .floral-bloom__greens {
  animation: greens-grow 1.3s cubic-bezier(0.18, 0.9, 0.2, 1) 0.02s forwards;
}

.floral-bloom__flower {
  --flower-size: 108px;
  --flower-scale: 1;
  --flower-delay: 0s;
  --flower-rotate: 0deg;
  position: absolute;
  left: var(--flower-x);
  top: var(--flower-y);
  z-index: 2;
  display: block;
  width: var(--flower-size);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 12px 14px rgba(var(--wood-rgb), 0.18));
  transform: translate(-50%, -50%) rotate(calc(var(--flower-rotate) - 8deg)) scale(calc(var(--flower-scale) * 0.34));
  transform-origin: 50% 62%;
}

.floral-bloom__flower::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 66%;
  z-index: -1;
  width: 70%;
  height: 28%;
  border-radius: 50%;
  opacity: 0.78;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(213, 229, 154, 0.48), transparent 44%),
    radial-gradient(ellipse at 50% 60%, rgba(46, 91, 54, 0.94), rgba(98, 128, 64, 0.82) 62%, transparent 64%);
  transform: translate(-50%, -50%) rotate(calc(var(--flower-rotate) * -0.45));
}

.invitation-open .floral-bloom--hero .floral-bloom__flower {
  opacity: 1;
}

.invitation-bloom .floral-bloom--hero .floral-bloom__flower {
  animation: flower-rise 1.35s cubic-bezier(0.18, 0.9, 0.2, 1) calc(0.08s + var(--flower-delay)) forwards;
}

.floral-bloom__flower--1 {
  --flower-x: 9%;
  --flower-y: 48%;
  --flower-size: 114px;
  --flower-scale: 1.06;
  --flower-delay: 0.02s;
  --flower-rotate: -8deg;
}

.floral-bloom__flower--2 {
  --flower-x: 23%;
  --flower-y: 60%;
  --flower-size: 108px;
  --flower-scale: 0.96;
  --flower-delay: 0.18s;
  --flower-rotate: 4deg;
}

.floral-bloom__flower--3 {
  --flower-x: 38%;
  --flower-y: 49%;
  --flower-size: 104px;
  --flower-scale: 0.92;
  --flower-delay: 0.32s;
  --flower-rotate: -5deg;
}

.floral-bloom__flower--4 {
  --flower-x: 52%;
  --flower-y: 62%;
  --flower-size: 120px;
  --flower-scale: 1.04;
  --flower-delay: 0.46s;
  --flower-rotate: 2deg;
}

.floral-bloom__flower--5 {
  --flower-x: 66%;
  --flower-y: 49%;
  --flower-size: 106px;
  --flower-scale: 0.96;
  --flower-delay: 0.28s;
  --flower-rotate: 6deg;
}

.floral-bloom__flower--6 {
  --flower-x: 78%;
  --flower-y: 64%;
  --flower-size: 100px;
  --flower-scale: 0.86;
  --flower-delay: 0.58s;
  --flower-rotate: -4deg;
}

.floral-bloom__flower--7 {
  --flower-x: 90%;
  --flower-y: 46%;
  --flower-size: 116px;
  --flower-scale: 1.12;
  --flower-delay: 0.12s;
  --flower-rotate: 8deg;
}

.floral-bloom__flower--pink {
  --petal-a: #fff4f6;
  --petal-b: #efb7c4;
  --petal-c: #c87388;
  --bud-a: #f3bac7;
  --bud-b: #bd6b81;
  --heart: #d7bb8a;
  --heart-dark: #a65c6c;
}

.floral-bloom__flower--white {
  --petal-a: #fffdf7;
  --petal-b: #f5ead9;
  --petal-c: #d9c7aa;
  --bud-a: #fff6e8;
  --bud-b: #d7bb8a;
  --heart: var(--gold);
  --heart-dark: #9b6d50;
}

.floral-bloom__flower--blush {
  --petal-a: #fff8f3;
  --petal-b: #f1cdc9;
  --petal-c: #d39aa4;
  --bud-a: #f1d2ca;
  --bud-b: #c98592;
  --heart: #d7bb8a;
  --heart-dark: #80664d;
}

.floral-bloom__petal,
.floral-bloom__bud,
.floral-bloom__heart {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
}

.floral-bloom__petal {
  --petal-angle: 0deg;
  --petal-closed-angle: 0deg;
  --petal-width: 30%;
  --petal-height: 58%;
  width: var(--petal-width);
  height: var(--petal-height);
  border-radius: 70% 70% 46% 46% / 88% 88% 42% 42%;
  opacity: 0;
  z-index: var(--petal-z, 1);
  background:
    radial-gradient(ellipse at 50% 16%, rgba(var(--jasmine-rgb), 0.78), transparent 34%),
    radial-gradient(ellipse at 50% 30%, var(--petal-a), var(--petal-b) 58%, var(--petal-c));
  box-shadow:
    inset 0 -7px 10px rgba(var(--wood-rgb), 0.08),
    inset 0 0 0 1px rgba(var(--jasmine-rgb), 0.22);
  transform: translate(-50%, -92%) rotate(var(--petal-closed-angle)) scale(0.12, 0.3);
  transform-origin: 50% 94%;
}

.floral-bloom__petal--1 {
  --petal-angle: 0deg;
  --petal-closed-angle: 0deg;
  --petal-width: 27%;
  --petal-height: 66%;
  --petal-z: 6;
}

.floral-bloom__petal--2 {
  --petal-angle: -25deg;
  --petal-closed-angle: -6deg;
  --petal-width: 29%;
  --petal-height: 61%;
  --petal-z: 5;
}

.floral-bloom__petal--3 {
  --petal-angle: 25deg;
  --petal-closed-angle: 6deg;
  --petal-width: 29%;
  --petal-height: 61%;
  --petal-z: 5;
}

.floral-bloom__petal--4 {
  --petal-angle: -50deg;
  --petal-closed-angle: -10deg;
  --petal-width: 31%;
  --petal-height: 54%;
  --petal-z: 4;
}

.floral-bloom__petal--5 {
  --petal-angle: 50deg;
  --petal-closed-angle: 10deg;
  --petal-width: 31%;
  --petal-height: 54%;
  --petal-z: 4;
}

.floral-bloom__petal--6 {
  --petal-angle: -76deg;
  --petal-closed-angle: -13deg;
  --petal-width: 33%;
  --petal-height: 47%;
  --petal-z: 3;
}

.floral-bloom__petal--7 {
  --petal-angle: 76deg;
  --petal-closed-angle: 13deg;
  --petal-width: 33%;
  --petal-height: 47%;
  --petal-z: 3;
}

.floral-bloom__petal--8 {
  --petal-angle: -103deg;
  --petal-closed-angle: -15deg;
  --petal-width: 31%;
  --petal-height: 40%;
  --petal-z: 2;
}

.floral-bloom__petal--9 {
  --petal-angle: 103deg;
  --petal-closed-angle: 15deg;
  --petal-width: 31%;
  --petal-height: 40%;
  --petal-z: 2;
}

.floral-bloom__petal--10 {
  --petal-angle: 180deg;
  --petal-closed-angle: 0deg;
  --petal-width: 34%;
  --petal-height: 36%;
  --petal-z: 1;
}

.floral-bloom__bud {
  z-index: 7;
  width: 40%;
  height: 52%;
  border-radius: 64% 64% 46% 46% / 88% 88% 40% 40%;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(var(--jasmine-rgb), 0.72), transparent 34%),
    linear-gradient(145deg, var(--bud-a), var(--bud-b));
  box-shadow: inset 0 -8px 12px rgba(var(--wood-rgb), 0.14);
  transform: translate(-50%, -50%) rotate(-5deg) scale(1);
  transform-origin: 50% 76%;
}

.floral-bloom__heart {
  z-index: 8;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle at 42% 38%, rgba(var(--jasmine-rgb), 0.5), transparent 22%),
    radial-gradient(circle, var(--heart), var(--heart-dark));
  transform: translate(-50%, -50%) scale(0.24);
}

.invitation-bloom .floral-bloom--hero .floral-bloom__petal {
  animation: petal-unfurl 0.98s cubic-bezier(0.18, 0.9, 0.2, 1) calc(0.16s + var(--flower-delay)) forwards;
}

.invitation-bloom .floral-bloom--hero .floral-bloom__bud {
  animation: bud-release 0.88s ease calc(0.1s + var(--flower-delay)) forwards;
}

.invitation-bloom .floral-bloom--hero .floral-bloom__heart {
  animation: heart-pop 0.6s cubic-bezier(0.18, 0.9, 0.2, 1) calc(0.5s + var(--flower-delay)) forwards;
}

.reveal--visible .floral--rsvp {
  animation: flower-blossom 1.45s cubic-bezier(0.18, 0.9, 0.2, 1) 0.12s forwards;
}

@keyframes floral-bloom-settle {
  0% {
    filter:
      saturate(1.04)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
  }

  58% {
    filter:
      saturate(1.1)
      drop-shadow(0 20px 22px rgba(var(--wood-rgb), 0.14));
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 1.018)) translateY(-2px);
  }

  100% {
    filter:
      saturate(1.04)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
  }
}

@keyframes greens-grow {
  0% {
    opacity: 0.74;
    transform: translateY(18px) scale(0.72);
  }

  72% {
    opacity: 0.96;
    transform: translateY(-2px) scale(1.03);
  }

  100% {
    opacity: 0.92;
    transform: translateY(0) scale(1);
  }
}

@keyframes flower-rise {
  0% {
    transform: translate(-50%, -50%) rotate(calc(var(--flower-rotate) - 8deg)) scale(calc(var(--flower-scale) * 0.34));
  }

  68% {
    transform: translate(-50%, -52%) rotate(calc(var(--flower-rotate) + 3deg)) scale(calc(var(--flower-scale) * 1.08));
  }

  100% {
    transform: translate(-50%, -50%) rotate(var(--flower-rotate)) scale(var(--flower-scale));
  }
}

@keyframes petal-unfurl {
  0% {
    opacity: 0;
    filter: blur(0.8px);
    transform: translate(-50%, -92%) rotate(var(--petal-closed-angle)) scale(0.12, 0.3);
  }

  36% {
    opacity: 0.82;
  }

  76% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -92%) rotate(var(--petal-angle)) scale(1.08);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, -92%) rotate(var(--petal-angle)) scale(1);
  }
}

@keyframes bud-release {
  0%,
  24% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1);
  }

  78% {
    opacity: 0.32;
    transform: translate(-50%, -50%) rotate(4deg) scale(0.58);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(8deg) scale(0.32);
  }
}

@keyframes heart-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.24);
  }

  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.14);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes hero-lotus-image-bloom {
  0% {
    opacity: 0;
    clip-path: inset(28% 46% 26% 46% round 999px);
    filter:
      blur(1.2px)
      saturate(0.78)
      sepia(0.05)
      drop-shadow(0 12px 18px rgba(var(--wood-rgb), 0.08));
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.22)) translateY(calc(var(--hero-lotus-y) + 18px));
  }

  55% {
    opacity: 1;
    clip-path: inset(10% 18% 9% 18% round 999px);
    filter:
      blur(0.25px)
      saturate(0.9)
      sepia(0.04)
      drop-shadow(0 16px 20px rgba(var(--wood-rgb), 0.11));
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.68)) translateY(calc(var(--hero-lotus-y) + 8px));
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 0);
    filter:
      blur(0)
      saturate(0.96)
      sepia(0.03)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13));
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(var(--hero-lotus-y));
  }
}

@keyframes flower-blossom {
  0% {
    opacity: 0;
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.18)) translateY(16px);
    clip-path: inset(26% 46% 24% 46% round 999px);
    filter: blur(1.4px) saturate(0.48) sepia(0.12) hue-rotate(345deg) brightness(1.12);
  }

  42% {
    opacity: 1;
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.72)) translateY(2px);
    clip-path: inset(12% 18% 10% 18% round 999px);
    filter: blur(0.35px) saturate(0.56) sepia(0.12) hue-rotate(345deg) brightness(1.12);
  }

  74% {
    opacity: 1;
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 1.055)) translateY(0);
    clip-path: inset(0 0 0 0 round 0);
    filter: blur(0) saturate(0.6) sepia(0.12) hue-rotate(345deg) brightness(1.12);
  }

  100% {
    opacity: 1;
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
    clip-path: inset(0 0 0 0 round 0);
    filter: blur(0) saturate(0.58) sepia(0.12) hue-rotate(345deg) brightness(1.12);
  }
}

.hero__date,
.hero__venue,
.hero__subline {
  margin: 0;
  color: var(--muted);
}

.hero__date {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

.hero__subline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__subline span:first-child::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 2px;
}

.hero__venue {
  margin-top: 8px;
  font-size: 1.08rem;
}

.hero__letter {
  width: min(430px, 100%);
  min-width: 0;
  max-width: 430px;
  margin: clamp(58px, 9vw, 86px) auto 0;
  color: var(--muted);
  text-align: center;
}

.hero__letter .script-heading {
  color: var(--lotus-deep);
  font-size: clamp(2.15rem, 5.4vw, 3.35rem);
}

.hero__letter blockquote {
  margin: 24px auto 0;
  padding: 0;
  color: var(--lotus-deep);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
}

.hero__letter p {
  margin: 0;
}

.hero__letter div {
  margin-top: 24px;
}

.hero__letter p + p {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 8px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.button--dark {
  background: linear-gradient(180deg, var(--lotus-deep), #8b4a58);
  color: var(--jasmine);
  box-shadow: 0 12px 24px rgba(var(--lotus-rgb), 0.18);
}

.button--light {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: var(--jasmine);
  color: var(--lotus-deep);
}

.countdown-section,
.location-section,
.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--jasmine-rgb), 0.72), transparent 42%),
    radial-gradient(circle at 8% 18%, rgba(var(--lotus-rgb), 0.1), transparent 28%),
    linear-gradient(180deg, var(--parchment), var(--cream) 58%, #e7d4bf),
    var(--cream);
  color: var(--ink);
}

.countdown-card,
.section__inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.countdown-card {
  text-align: center;
}

.kicker {
  margin: 0;
  color: var(--lotus-deep);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.countdown-card h2,
.section-intro h2,
.rsvp-card h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
}

.countdown-card h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  justify-content: center;
  gap: clamp(10px, 3vw, 30px);
  margin-top: 24px;
}

.countdown-grid span {
  position: relative;
  display: grid;
  min-width: 82px;
  justify-items: center;
}

.countdown-grid span:not(:last-child)::after {
  content: ":";
  position: absolute;
  top: 0;
  right: clamp(-21px, -1.8vw, -10px);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.8;
}

.countdown-grid strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 500;
  line-height: 0.85;
}

.countdown-grid em {
  color: var(--ink);
  font-style: normal;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 11vw, 138px) 18px;
}

.band-ivory,
.details-section,
.reception-section,
.rsvp-section,
.footer {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.16), transparent 42%),
    linear-gradient(180deg, var(--wood), var(--wood-dark)),
    var(--wood);
  color: var(--jasmine);
}

.band-ivory::before,
.details-section::before,
.rsvp-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(780px, 86vw);
  height: 72px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 48%, 93% 51%, 86% 64%, 77% 58%, 67% 70%, 56% 62%, 47% 73%, 36% 64%, 25% 70%, 14% 58%, 7% 50%, 0 52%);
  transform: translateX(-50%);
}

.section-intro {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto clamp(42px, 7vw, 72px);
  text-align: center;
}

.section-intro h2 {
  color: var(--lotus-deep);
  font-size: clamp(3rem, 8vw, 5.2rem);
}

.band-ivory .section-intro h2,
.details-section .section-intro h2,
.reception-section .section-intro h2,
.rsvp-section .section-intro h2,
.section-intro--dark h2 {
  color: var(--cream);
}

.section-intro__copy {
  max-width: 620px;
  margin: 18px auto 0;
  color: currentColor;
  opacity: 0.78;
}

.band-ivory .kicker,
.details-section .kicker,
.reception-section .kicker,
.rsvp-section .kicker,
.section-intro--dark .kicker,
.eyebrow--dark {
  color: var(--cream);
}

.eyebrow {
  margin: 0;
  color: var(--lotus-deep);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tamil {
  font-family: var(--tamil);
  letter-spacing: 0;
  text-transform: none;
}

.ornament {
  display: none;
}

.schedule {
  --schedule-center-lane: 78px;
  --schedule-text-gap: clamp(18px, 3vw, 30px);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 10px 0;
}

.schedule::before {
  content: "";
  position: absolute;
  top: var(--schedule-line-top, 34px);
  bottom: var(--schedule-line-bottom, 34px);
  left: 50%;
  width: 1px;
  background: var(--line-light);
  transform: translateX(-50%);
}

.schedule__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--schedule-center-lane) minmax(0, 1fr);
  align-items: center;
  min-height: 104px;
  padding: 10px 0;
}

.schedule__blossom {
  position: absolute;
  top: var(--schedule-flower-y, 34px);
  left: 50%;
  z-index: 3;
  width: 50px;
  height: 40px;
  margin: 0;
  pointer-events: none;
  opacity: var(--schedule-flower-opacity, 1);
  transform: translate(-50%, -50%) scale(var(--schedule-flower-scale, 1));
  transform-origin: 50% 50%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(var(--wood-rgb), 0.26));
  transition: opacity 0.2s ease;
  will-change: top, opacity;
}

.schedule__number {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: center;
  width: 10px;
  height: 10px;
  overflow: hidden;
  color: transparent;
  background: var(--cream);
  transform: rotate(45deg);
}

.schedule time {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 7px;
  padding-right: var(--schedule-text-gap);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  line-height: 1;
  text-align: right;
}

.schedule__time-main,
.schedule__time-meridiem {
  display: inline-block;
}

.schedule__time-meridiem {
  font-size: 0.54em;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: translateY(-0.1em);
}

.schedule h3 {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding-left: var(--schedule-text-gap);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.65rem);
  font-weight: 500;
  line-height: 1;
}

.schedule p {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  margin: 5px 0 0;
  padding-left: var(--schedule-text-gap);
  color: var(--white-soft);
  font-size: 1rem;
}

.location-feature {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}

.location-feature__copy {
  display: grid;
  justify-items: center;
  max-width: 650px;
}

.location-feature__copy h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.location-feature__copy p:not(.kicker) {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
}

.location-feature__copy .button {
  margin-top: 20px;
}

.location-feature__image {
  order: 2;
  width: min(540px, 100%);
  margin: 0;
}

.location-feature__image img {
  width: 100%;
  filter: sepia(0.18) saturate(0.78) contrast(1.04) brightness(1.04);
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.detail-grid,
.contact-grid,
.reception-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.detail-grid {
  width: min(980px, 100%);
  margin: 0 auto;
}

.detail-grid--compact {
  margin-top: 38px;
  width: min(700px, 100%);
}

.detail-card,
.contact-card,
.reception-card {
  padding: clamp(18px, 3vw, 30px);
  text-align: center;
}

.details-section .detail-card,
.reception-card {
  border: 1px solid rgba(var(--jasmine-rgb), 0.24);
  background: rgba(var(--jasmine-rgb), 0.08);
  box-shadow: inset 0 1px 0 rgba(var(--gold-rgb), 0.16);
}

.contact-card,
.location-section .detail-card {
  border-top: 1px solid var(--line-dark);
  color: var(--ink);
}

.detail-card__label,
.detail-card__note {
  display: block;
  color: currentColor;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
}

.detail-card h3,
.contact-card h3 {
  margin: 10px 0 0;
  color: currentColor;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
}

.detail-card p,
.contact-card p {
  margin: 16px 0 0;
  color: currentColor;
  opacity: 0.78;
}

.detail-card a,
.contact-list a {
  display: inline-flex;
  margin-top: 16px;
  color: currentColor;
  text-decoration: none;
  opacity: 0.9;
}

.detail-card--image {
  padding: 0;
  overflow: hidden;
}

.detail-card--image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.78) contrast(1.04) brightness(1.04);
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.detail-card--image div {
  padding: 22px 0 0;
}

.reception-grid {
  align-items: center;
  width: min(820px, 100%);
  margin: 0 auto;
}

.reception-card h3 {
  margin: 8px 0 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.reception-card p {
  color: var(--white-soft);
}

.reception-card__time {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.venue-name {
  margin: 18px 0 0;
  color: var(--cream) !important;
  font-family: var(--display);
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 0.95;
}

.reception-card .button {
  margin-top: 18px;
}

.reception-photo {
  width: min(360px, 86vw);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(var(--jasmine-rgb), 0.48);
  background: rgba(var(--jasmine-rgb), 0.1);
  transform: rotate(-2deg);
}

.reception-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.contact-grid {
  width: min(980px, 100%);
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list__role {
  color: var(--lotus-deep);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  display: block;
}

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

.rsvp-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin: 0 auto;
}

.floral--rsvp {
  width: min(620px, 108vw);
  max-width: none;
  margin: -48px auto 28px;
}

.rsvp-card h2 {
  color: var(--cream);
  font-size: clamp(3rem, 9vw, 5.2rem);
}

.rsvp-card p:not(.eyebrow):not(.kicker) {
  max-width: 460px;
  margin: 22px auto;
  color: var(--white-soft);
}

.rsvp-section .button--dark {
  background: var(--jasmine);
  color: var(--lotus-deep);
}

.footer {
  padding: 18px 18px clamp(70px, 10vw, 112px);
  text-align: center;
}

.footer .script-heading {
  font-size: clamp(2.5rem, 7vw, 4rem);
}

.footer p {
  margin: 0;
}

.footer p:nth-child(2) {
  margin-top: 12px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.footer span {
  display: block;
  margin-top: 8px;
  color: var(--white-soft);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 1080px) {
  .detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.06rem;
  }

  .gate {
    background: var(--wood-dark);
  }

  .gate::before {
    background:
      radial-gradient(circle at 50% 12%, rgba(var(--gold-rgb), 0.28), transparent 28%),
      radial-gradient(circle at 16% 15%, rgba(var(--jasmine-rgb), 0.18), transparent 15%),
      radial-gradient(circle at 84% 15%, rgba(var(--jasmine-rgb), 0.18), transparent 15%),
      linear-gradient(180deg, var(--wood-dark) 0 69%, #c7a076 69% 100%);
    filter: none;
  }

  .gate__door-scene {
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
  }

  .hero {
    min-height: 100svh;
    padding: 66px 0 clamp(88px, 18vw, 140px);
    color: var(--ink);
    background:
      radial-gradient(circle at 50% 18%, rgba(var(--jasmine-rgb), 0.84), transparent 34%),
      radial-gradient(circle at 50% 82%, rgba(var(--lotus-rgb), 0.12), transparent 38%),
      linear-gradient(180deg, var(--parchment) 0%, var(--cream) 48%, #e7d4bf 100%),
      var(--cream);
  }

  .hero__stage {
    width: 100%;
  }

  .hero__event {
    color: var(--lotus-deep);
    font-size: clamp(2.35rem, 10.4vw, 2.8rem);
  }

  .hero__compact-date {
    color: var(--olive);
    font-size: clamp(1.45rem, 6.2vw, 1.75rem);
  }

  .hero__names {
    width: 100%;
    margin-top: 132px;
    color: var(--olive);
    font-size: clamp(3.65rem, 15.8vw, 4.18rem);
    line-height: 0.78;
  }

  .hero__names em {
    color: var(--lotus-deep);
    font-size: clamp(2.35rem, 9.5vw, 3rem);
  }

  .hero__event,
  .hero__compact-date,
  .hero__names,
  .hero__letter {
    transition:
      opacity 0.5s linear,
      transform 0.5s linear;
  }

  body:not(.invitation-open):not(.invitation-unfolding) .hero__event,
  body:not(.invitation-open):not(.invitation-unfolding) .hero__compact-date,
  body:not(.invitation-open):not(.invitation-unfolding) .hero__names,
  body:not(.invitation-open):not(.invitation-unfolding) .hero__letter {
    opacity: 0;
    transform: translateY(10px);
  }

  .floral--hero {
    --floral-final-scale: 1;
    width: 198vw;
    margin-top: 140px;
    margin-bottom: 128px;
  }

  .floral-image--hero {
    width: 198vw;
    filter:
      saturate(0.96)
      sepia(0.03)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.16));
  }

  .floral-grow--hero {
    --floral-final-scale: 1;
    width: 154vw;
    overflow: visible;
    margin-top: 140px;
    margin-bottom: 128px;
    filter:
      saturate(0.58)
      sepia(0.12)
      hue-rotate(345deg)
      brightness(1.12)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.22));
  }

  .invitation-bloom .floral-grow__piece {
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-delay: 0s;
  }

  .hero__date,
  .hero__venue,
  .hero__subline {
    display: none;
  }

  .hero__letter {
    margin-top: 0;
    color: var(--muted);
  }

  .hero__letter .script-heading {
    color: var(--lotus-deep);
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero__letter blockquote {
    color: var(--lotus-deep);
  }

  .music-toggle {
    right: 20px;
    bottom: 20px;
    display: grid;
    width: 60px;
    min-height: 60px;
    padding: 0;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--lotus-rgb), 0.94);
    font-size: 0;
    letter-spacing: 0;
  }

  .music-toggle::before {
    content: "II";
    color: var(--jasmine);
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  .music-toggle[aria-pressed="false"]::before {
    content: "\266A";
    font-size: 1.45rem;
  }

  .countdown-card h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.15rem);
    white-space: nowrap;
  }

  .countdown-card .kicker,
  .section-intro .kicker,
  .rsvp-card .kicker {
    display: none;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, auto));
    gap: 6px;
  }

  .countdown-grid span {
    min-width: 72px;
  }

  .countdown-grid strong,
  .countdown-grid span:not(:last-child)::after {
    font-size: clamp(2.2rem, 11vw, 2.9rem);
  }

  .countdown-grid span:not(:last-child)::after {
    right: -6px;
  }

  .countdown-grid span:nth-child(2)::after {
    content: ":";
  }

  .schedule {
    --schedule-center-lane: 66px;
    --schedule-text-gap: 14px;
    width: min(390px, 100%);
  }

  .schedule__item {
    min-height: 86px;
  }

  .schedule p {
    display: none;
  }
}

@media (max-width: 420px) {
  .button {
    width: 100%;
  }

  .hero__subline {
    display: none;
  }

  .hero__subline span:first-child::after {
    content: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .invitation-open .floral-bloom--hero {
    opacity: 1 !important;
    filter:
      saturate(1.04)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13)) !important;
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0) !important;
  }

  .invitation-open .floral-image--hero {
    opacity: 1 !important;
    clip-path: inset(0 0 0 0 round 0) !important;
    filter:
      saturate(0.96)
      sepia(0.03)
      drop-shadow(0 18px 20px rgba(var(--wood-rgb), 0.13)) !important;
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(var(--hero-lotus-y)) !important;
  }

  .invitation-open .floral-grow--hero {
    opacity: 1 !important;
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0) !important;
  }

  .invitation-open .floral-grow--hero .floral-grow__piece {
    opacity: 1 !important;
    filter: blur(0) saturate(1) !important;
    transform: scale(1) rotate(0deg) !important;
  }

  .invitation-open .floral-bloom--hero .floral-bloom__greens {
    opacity: 0.92 !important;
    transform: translateY(0) scale(1) !important;
  }

  .invitation-open .floral-bloom--hero .floral-bloom__flower {
    opacity: 1 !important;
    transform: translate(-50%, -50%) rotate(var(--flower-rotate)) scale(var(--flower-scale)) !important;
  }

  .invitation-open .floral-bloom--hero .floral-bloom__petal {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: translate(-50%, -92%) rotate(var(--petal-angle)) scale(1) !important;
  }

  .invitation-open .floral-bloom--hero .floral-bloom__bud {
    opacity: 0 !important;
  }

  .invitation-open .floral-bloom--hero .floral-bloom__heart {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

/* Invitation schema layout */
:root {
  --schema-dark: rgba(166, 115, 74, 1);
  --schema-dark-deep: rgba(166, 115, 74, 1);
  --schema-cream: #f5e8d4;
  --schema-cream-deep: #ead5ba;
  --schema-peach: #cbab8d;
  --schema-peach-soft: #ddc7ae;
  --schema-ink: #3f2617;
  --schema-line-dark: rgba(63, 38, 23, 0.58);
  --schema-line-light: rgba(250, 232, 206, 0.68);
}

.site-main {
  background: var(--schema-cream);
}

.schema-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(88, 55, 34, 0.34);
  border-bottom: 1px solid rgba(88, 55, 34, 0.34);
}

.schema-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 248, 238, 0.12), transparent 19%),
    radial-gradient(circle at 82% 70%, rgba(88, 55, 34, 0.1), transparent 23%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  opacity: 0.72;
}

.schema-panel > * {
  position: relative;
  z-index: 1;
}

.schema-panel--dark,
.schema-panel--dark-strip,
.footer {
  background:
    radial-gradient(circle at 50% 7%, rgba(231, 191, 132, 0.16), transparent 27%),
    linear-gradient(180deg, var(--schema-dark) 0%, var(--schema-dark-deep) 100%);
  color: var(--schema-cream);
}

.schema-panel--ivory {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 248, 238, 0.68), transparent 30%),
    linear-gradient(180deg, var(--schema-cream) 0%, var(--schema-cream-deep) 100%);
  color: var(--schema-ink);
}

.schema-panel--peach {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 238, 0.28), transparent 36%),
    linear-gradient(180deg, var(--schema-peach) 0%, var(--schema-peach-soft) 100%);
  color: var(--schema-ink);
}

.schema-hang {
  position: absolute;
  top: 0;
  z-index: 2;
  width: clamp(78px, 11vw, 150px);
  height: min(72%, 560px);
  pointer-events: none;
}

.schema-hang__asset {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  opacity: 0.64;
}

.schema-panel--dark .schema-hang__asset {
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.schema-hang--left {
  left: clamp(8px, 4vw, 62px);
}

.schema-hang--right {
  right: clamp(8px, 4vw, 62px);
  transform: scaleX(-1);
  transform-origin: center top;
}

.schema-hang__strand {
  position: absolute;
  top: 0;
  width: 1px;
  border-left: 1px solid currentColor;
  color: rgba(255, 238, 211, 0.66);
  opacity: 0.92;
}

.schema-hang__strand::before,
.schema-hang__strand::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 1px solid currentColor;
  transform: translateX(-50%);
}

.schema-hang__strand::before {
  top: 32%;
  width: 13px;
  height: 13px;
  border-radius: 50% 50% 48% 48%;
  box-shadow:
    0 38px 0 -4px transparent,
    0 38px 0 -3px currentColor,
    0 74px 0 -4px transparent,
    0 74px 0 -3px currentColor;
}

.schema-hang__strand::after {
  bottom: -22px;
  width: 26px;
  height: 42px;
  border-radius: 52% 52% 46% 46% / 74% 74% 38% 38%;
  background:
    linear-gradient(90deg, transparent 46%, currentColor 47% 53%, transparent 54%),
    radial-gradient(ellipse at 50% 18%, transparent 36%, currentColor 37% 40%, transparent 42%);
}

.schema-hang__strand--1 {
  left: 10%;
  height: 58%;
}

.schema-hang__strand--2 {
  left: 58%;
  height: 36%;
}

.schema-hang__strand--3 {
  left: 88%;
  height: 68%;
}

.schema-panel--ivory .schema-hang__strand,
.schema-panel--peach .schema-hang__strand {
  color: rgba(88, 55, 34, 0.42);
}

.schema-corner,
.schema-kalash,
.schema-rangoli {
  pointer-events: none;
  user-select: none;
}

.schema-corner {
  position: absolute;
  z-index: 1;
  width: clamp(135px, 18vw, 245px);
  height: auto;
  opacity: 0.38;
  filter:
    brightness(0)
    saturate(100%)
    invert(17%)
    sepia(32%)
    saturate(950%)
    hue-rotate(348deg)
    brightness(94%)
    contrast(92%);
}

.schema-corner--left {
  left: clamp(12px, 5vw, 70px);
  bottom: clamp(12px, 2vw, 24px);
}

.schema-corner--right {
  right: clamp(12px, 5vw, 70px);
  bottom: clamp(12px, 2vw, 24px);
  transform: scaleX(-1);
}

#venue .schema-corner {
  top: clamp(26px, 4vw, 48px);
  bottom: auto;
  opacity: 0.28;
}

.schema-kalash {
  position: absolute;
  bottom: clamp(10px, 2.5vw, 24px);
  z-index: 1;
  width: clamp(118px, 17vw, 220px);
  height: auto;
  opacity: 0.42;
  filter:
    brightness(0)
    saturate(100%)
    invert(17%)
    sepia(32%)
    saturate(950%)
    hue-rotate(348deg)
    brightness(94%)
    contrast(92%);
}

.schema-kalash--left {
  left: clamp(8px, 4vw, 58px);
}

.schema-kalash--right {
  right: clamp(8px, 4vw, 58px);
  transform: scaleX(-1);
}

.schema-rangoli {
  display: block;
  width: min(760px, 92vw);
  height: auto;
  margin: 0 auto;
  opacity: 0.44;
  filter:
    brightness(0)
    saturate(100%)
    invert(17%)
    sepia(32%)
    saturate(950%)
    hue-rotate(348deg)
    brightness(94%)
    contrast(92%);
}

.hero.schema-panel--dark {
  min-height: 82svh;
  padding: clamp(26px, 3.8vw, 46px) 18px clamp(24px, 3.6vw, 42px);
  color: var(--schema-cream);
  background:
    linear-gradient(180deg, rgba(250, 232, 206, 0.38), rgba(250, 232, 206, 0.12) 2px, transparent 2px calc(100% - 2px), rgba(250, 232, 206, 0.3) calc(100% - 2px)),
    radial-gradient(circle at 50% 12%, rgba(231, 191, 132, 0.18), transparent 26%),
    linear-gradient(180deg, var(--schema-dark) 0%, var(--schema-dark-deep) 100%);
}

.hero__stage {
  width: min(900px, 100%);
}

.hero__copy {
  gap: 0;
}

.hero__invocation {
  display: grid;
  margin: 0;
  color: #f3ddbc;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 400;
  line-height: 0.88;
  text-align: center;
}

.hero__invocation::after,
.hero__request::after {
  content: "";
  display: block;
  width: min(240px, 54vw);
  height: 1px;
  margin: 14px auto 0;
  background:
    linear-gradient(90deg, transparent, currentColor 22% 42%, transparent 42% 58%, currentColor 58% 78%, transparent);
  opacity: 0.62;
}

.hero__blessing,
.hero__request,
.hero__families p,
.hero__day,
.hero__venue {
  text-shadow: 0 1px 0 rgba(58, 33, 16, 0.3);
}

.hero__blessing {
  margin: 12px 0 0;
  color: #f3ddbc;
  font-family: var(--display);
  font-size: clamp(1.36rem, 2.45vw, 2.05rem);
  line-height: 1;
}

.hero__families {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 12px;
  color: #f5e8d4;
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.95vw, 1.54rem);
  line-height: 1.06;
}

.hero__families p {
  margin: 0;
}

.hero__and {
  display: inline-grid;
  grid-template-columns: 70px auto 70px;
  gap: 12px;
  align-items: center;
  color: #f3ddbc;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  line-height: 0.9;
}

.hero__and::before,
.hero__and::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.62;
}

.hero__request {
  max-width: 640px;
  margin: 12px auto 0;
  color: #f5e8d4;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.18;
}

.hero .ornament {
  display: flex;
  width: min(340px, 74vw);
  margin: 14px auto 0;
  color: #f3ddbc;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(300px, 70vw);
  margin: 14px auto 0;
  color: currentColor;
  opacity: 0.72;
}

.ornament span {
  flex: 1;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, currentColor 24% 100%);
}

.ornament span:last-child {
  transform: scaleX(-1);
}

.ornament svg {
  width: 52px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.hero__names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.18em;
  width: min(1060px, 100%);
  margin: clamp(10px, 2vw, 18px) auto 0;
  color: #fff1d8;
  font-size: clamp(3.7rem, 7.2vw, 5.85rem);
  line-height: 0.86;
  text-shadow: 0 2px 0 rgba(58, 33, 16, 0.28);
}

.hero__names span,
.hero__names em {
  display: inline;
  width: auto;
}

.hero__names em {
  margin: 0;
  color: #fff1d8;
  font-size: 0.82em;
  line-height: inherit;
}

.hero .floral--hero {
  --floral-final-scale: 1;
  width: min(370px, 64vw);
  margin: 4px auto 4px;
}

.hero .floral-image--hero,
.invitation-open .hero .floral-image--hero {
  --hero-lotus-y: 0px;
  filter:
    sepia(0.55)
    saturate(0.58)
    brightness(1.18)
    drop-shadow(0 10px 14px rgba(38, 20, 10, 0.2));
}

.hero__date-badge {
  min-width: min(300px, 76vw);
  margin: 8px auto 0;
  padding: 7px 26px;
  border: 1px solid rgba(250, 232, 206, 0.82);
  color: #fff1d8;
  font-family: var(--serif);
  font-size: clamp(1.38rem, 3vw, 2.05rem);
  line-height: 1;
  box-shadow:
    inset 0 0 0 4px rgba(250, 232, 206, 0.08),
    0 0 0 1px rgba(68, 39, 18, 0.28);
}

.hero__day {
  margin: 7px 0 0;
  color: #f3ddbc;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero__subline,
.hero__venue {
  color: #f3ddbc;
}

.hero__venue {
  max-width: 620px;
  margin-top: 9px;
}

.section,
.countdown-section,
.location-section,
.contact-section {
  padding: clamp(34px, 5.2vw, 68px) 18px;
}

.section__inner,
.countdown-card {
  width: min(980px, 100%);
}

#wedding.section {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
}

#wedding .section__inner {
  display: grid;
  grid-template-rows: auto 1fr;
}

#wedding .schedule {
  align-self: center;
}

.section-intro {
  margin-bottom: clamp(22px, 4vw, 38px);
}

.section-intro .kicker {
  display: none;
}

.section-intro h2,
.countdown-card h2,
.rsvp-card h2,
.reception-line h2 {
  color: currentColor;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 1px 0 rgba(255, 248, 238, 0.24);
}

.section-intro h2 {
  margin: 0;
}

.section-intro__copy {
  opacity: 0.76;
}

.band-ivory .section-intro h2,
.details-section .section-intro h2,
.reception-section .section-intro h2,
.rsvp-section .section-intro h2,
.section-intro--dark h2 {
  color: currentColor;
}

.schedule {
  --schedule-center-lane: 86px;
  --schedule-text-gap: clamp(20px, 3.4vw, 38px);
  width: min(720px, 100%);
  padding: 8px 0;
}

.schedule::before {
  top: var(--schedule-line-top, 18px);
  bottom: var(--schedule-line-bottom, 18px);
  background: var(--schema-line-dark);
}

.schedule__item {
  min-height: 82px;
  padding: 14px 0;
}

.schedule__item::before,
.schedule__item::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: var(--schema-line-dark);
  opacity: 0.42;
}

.schedule__item::before {
  left: 6%;
  right: calc(50% + 44px);
}

.schedule__item::after {
  left: calc(50% + 44px);
  right: 6%;
}

.schedule__number {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid var(--schema-line-dark);
  border-radius: 50%;
  background: var(--schema-cream);
  transform: none;
}

.schedule time {
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  color: var(--schema-ink);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 600;
}

.schedule__date {
  flex: 0 0 auto;
  color: currentColor;
  font-family: var(--sans);
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.72;
}

.schedule__clock {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.schedule h3,
.schedule p {
  position: relative;
  z-index: 2;
  color: var(--schema-ink);
}

.schedule h3 {
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  font-weight: 700;
}

.schedule p {
  opacity: 0.95;
}

.schedule__item:nth-of-type(even) time {
  grid-column: 3;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: var(--schedule-text-gap);
  text-align: left;
}

.schedule__item:nth-of-type(even) h3,
.schedule__item:nth-of-type(even) p {
  grid-column: 1;
  padding-right: var(--schedule-text-gap);
  padding-left: 0;
  text-align: right;
}

.schedule__blossom {
  width: 44px;
  height: 42px;
  filter:
    sepia(0.6)
    saturate(0.5)
    brightness(0.82)
    drop-shadow(0 6px 8px rgba(88, 55, 34, 0.2));
}

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

.location-lines {
  display: grid;
  gap: clamp(32px, 5vw, 52px);
  width: min(820px, 100%);
  margin: 0 auto;
}

.location-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 92px;
  text-align: left;
}

.location-line__pin {
  position: relative;
  justify-self: center;
  width: 30px;
  height: 30px;
  border: 3px solid var(--schema-ink);
  border-radius: 50% 50% 50% 0;
  opacity: 0.9;
  transform: rotate(-45deg);
}

.location-line__pin::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--schema-ink);
  border-radius: 50%;
}

.location-line__copy {
  position: relative;
  display: grid;
  gap: 3px;
}

.location-line__copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: -1;
  height: 1px;
  background: var(--schema-line-dark);
  opacity: 0.45;
}

.location-line__copy p,
.location-line__copy h3,
.location-line__copy span,
.location-line__copy a {
  width: fit-content;
  max-width: 100%;
}

.location-line__copy p {
  margin: 0;
  padding-right: 12px;
  color: rgba(63, 38, 23, 0.92);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-line__copy h3 {
  margin: 0;
  padding-right: 14px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.location-line__copy span {
  padding-right: 14px;
  color: rgba(63, 38, 23, 0.95);
}

.location-line__copy a {
  margin-top: 6px;
  padding-right: 12px;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.schema-panel--dark-strip {
  padding-top: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(26px, 4vw, 48px);
}

.reception-line {
  display: grid;
  justify-items: center;
  text-align: center;
}

.reception-line h2 {
  margin: 0;
}

.reception-line p {
  margin: 8px 0 0;
  color: #f5e8d4;
}

.reception-line p:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  justify-content: center;
  width: min(620px, 100%);
  margin-top: 14px;
}

.reception-line span {
  font-size: 1.1rem;
}

.reception-line strong {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 600;
}

.reception-line__meta,
.reception-line__address {
  opacity: 0.94;
}

.reception-line .button {
  margin-top: 14px;
}

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

.countdown-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--schema-line-dark);
  box-shadow:
    inset 0 0 0 5px rgba(88, 55, 34, 0.05),
    0 0 0 1px rgba(255, 248, 238, 0.42);
}

.countdown-card h2 {
  margin: 0;
}

.countdown-grid {
  width: min(560px, 100%);
  margin: 18px auto 0;
  padding-top: 10px;
  border-top: 1px solid var(--schema-line-dark);
}

.countdown-grid strong,
.countdown-grid span:not(:last-child)::after,
.countdown-grid em {
  color: var(--schema-ink);
}

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

.rsvp-card {
  width: min(780px, 100%);
}

.rsvp-card .schema-rangoli {
  width: min(560px, 88vw);
  margin: -6px auto 6px;
}

.rsvp-card h2 {
  margin: 0;
}

.floral--rsvp {
  width: min(480px, 86vw);
  margin: -18px auto 10px;
  filter:
    sepia(0.45)
    saturate(0.58)
    brightness(0.92)
    drop-shadow(0 12px 14px rgba(88, 55, 34, 0.14));
}

.rsvp-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(940px, 100%);
  margin: 16px auto 0;
  border-top: 1px solid var(--schema-line-dark);
  border-bottom: 1px solid var(--schema-line-dark);
}

.rsvp-contact-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 18px clamp(10px, 2.5vw, 28px);
  color: var(--schema-ink);
}

.rsvp-contact-card + .rsvp-contact-card {
  border-left: 1px solid var(--schema-line-dark);
}

.rsvp-contact-card__icon {
  position: relative;
  width: 36px;
  height: 36px;
  border: 2px solid var(--schema-ink);
  border-radius: 50%;
}

.rsvp-contact-card__icon::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 12px;
  height: 18px;
  border: 3px solid var(--schema-ink);
  border-right-width: 0;
  border-radius: 12px 0 0 12px;
  transform: rotate(-32deg);
}

.rsvp-contact-card p,
.rsvp-contact-card h3 {
  margin: 0;
}

.rsvp-contact-card p {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}

.rsvp-contact-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
}

.rsvp-contact-card .contact-list {
  gap: 6px;
  margin-top: 8px;
}

.rsvp-contact-card .contact-list__role {
  color: rgba(88, 55, 34, 0.76);
  font-size: 0.58rem;
}

.rsvp-contact-card .contact-list strong {
  font-size: 0.95rem;
}

.rsvp-contact-card .contact-list a {
  margin-top: 0;
  font-size: 0.95rem;
}

.rsvp-card__copy {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(63, 38, 23, 0.96);
}

.button {
  min-height: 38px;
  border-radius: 3px;
  font-family: var(--serif);
}

.button--dark,
.rsvp-section .button--dark {
  margin-top: 18px;
  border-color: var(--schema-line-dark);
  background: transparent;
  color: var(--schema-ink);
  box-shadow: none;
}

.button--light {
  border-color: var(--schema-line-light);
  background: transparent;
  color: var(--schema-cream);
}

.footer {
  padding: 18px 18px clamp(38px, 6vw, 76px);
  border-top: 1px solid rgba(250, 232, 206, 0.36);
}

.footer .schema-rangoli {
  width: min(720px, 92vw);
  margin: 0 auto 12px;
  opacity: 0.62;
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.footer .script-heading {
  color: #f5e8d4;
}

@keyframes hero-lotus-image-bloom {
  0% {
    opacity: 0;
    clip-path: inset(30% 44% 30% 44% round 999px);
    filter:
      blur(0.8px)
      sepia(0.55)
      saturate(0.44)
      brightness(1.08)
      drop-shadow(0 8px 10px rgba(38, 20, 10, 0.14));
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.24)) translateY(10px);
  }

  58% {
    opacity: 1;
    clip-path: inset(12% 18% 12% 18% round 999px);
    filter:
      blur(0.2px)
      sepia(0.55)
      saturate(0.52)
      brightness(1.14)
      drop-shadow(0 10px 12px rgba(38, 20, 10, 0.18));
    transform: translateX(var(--floral-x, 0)) scale(calc(var(--floral-final-scale) * 0.7)) translateY(4px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 0);
    filter:
      blur(0)
      sepia(0.55)
      saturate(0.58)
      brightness(1.18)
      drop-shadow(0 10px 14px rgba(38, 20, 10, 0.2));
    transform: translateX(var(--floral-x, 0)) scale(var(--floral-final-scale)) translateY(0);
  }
}

@media (max-width: 760px) {
  .schema-hang {
    width: 70px;
    z-index: 0;
    opacity: 0.48;
  }

  .hero__stage,
  .section__inner,
  .countdown-card {
    z-index: 2;
  }

  .schema-hang__strand--2 {
    display: none;
  }

  .schema-corner {
    width: 118px;
    opacity: 0.16;
  }

  .schema-corner--left {
    left: 4px;
  }

  .schema-corner--right {
    right: 4px;
  }

  #venue .schema-corner {
    top: 18px;
  }

  .schema-kalash {
    bottom: 18px;
    width: 96px;
    opacity: 0.2;
  }

  .schema-kalash--left {
    left: 4px;
  }

  .schema-kalash--right {
    right: 4px;
  }

  .rsvp-card .schema-rangoli {
    width: min(360px, 96vw);
  }

  .hero.schema-panel--dark {
    min-height: 90svh;
    padding: 40px 14px 42px;
  }

  .hero__stage {
    width: 100%;
  }

  .hero__copy {
    padding: 0 8px;
  }

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

  .hero__blessing {
    max-width: 310px;
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .hero__families {
    max-width: 330px;
    font-size: clamp(1.06rem, 5.2vw, 1.34rem);
  }

  .hero__and {
    grid-template-columns: 42px auto 42px;
    gap: 8px;
  }

  .hero__request {
    max-width: 330px;
    font-size: clamp(1rem, 4.7vw, 1.2rem);
  }

  .hero__names {
    width: 100%;
    margin-top: 18px;
    color: #fff1d8;
    font-size: clamp(3rem, 14.4vw, 4.18rem);
    opacity: 1;
  }

  .countdown-card h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.55rem);
    white-space: normal;
  }

  .hero__names em,
  .hero__names span {
    color: #fff1d8;
  }

  .hero .floral--hero,
  .hero .floral-image--hero {
    width: min(440px, 104vw);
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .hero__date-badge {
    min-width: min(260px, 80vw);
    padding: 7px 18px;
  }

  .hero__subline {
    display: flex;
    font-size: 0.62rem;
  }

  .hero__venue {
    display: block;
    max-width: 320px;
    font-size: 0.98rem;
  }

  .section,
  .countdown-section,
  .location-section,
  .contact-section {
    padding: 34px 14px;
  }

  .section-intro h2,
  .countdown-card h2,
  .rsvp-card h2,
  .reception-line h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  .schedule {
    --schedule-center-lane: 48px;
    --schedule-text-gap: 10px;
    width: min(420px, 100%);
  }

  .schedule__item {
    min-height: 78px;
  }

  .schedule__item::before {
    left: 2%;
    right: calc(50% + 28px);
  }

  .schedule__item::after {
    left: calc(50% + 28px);
    right: 2%;
  }

  .schedule time {
    font-size: clamp(1.08rem, 6vw, 1.32rem);
  }

  .schedule h3 {
    font-size: clamp(1rem, 5vw, 1.18rem);
  }

  .schedule__blossom {
    width: 38px;
    height: 36px;
  }

  .location-line {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    min-height: 86px;
  }

  .location-line__pin {
    width: 24px;
    height: 24px;
    border-width: 2px;
  }

  .location-line__pin::after {
    top: 6px;
    left: 6px;
    width: 7px;
    height: 7px;
  }

  .rsvp-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }

  .rsvp-contact-card + .rsvp-contact-card {
    border-top: 1px solid var(--schema-line-dark);
    border-left: 0;
  }

  .rsvp-section {
    padding-bottom: 118px;
  }
}

/* Zip invitation artwork overrides */
:root {
  --schema-dark: rgba(166, 115, 74, 1);
  --schema-dark-deep: rgba(166, 115, 74, 1);
  --schema-cream: #efe3cf;
  --schema-cream-deep: #ead8bf;
  --schema-peach: #cbab8d;
  --schema-peach-soft: #ddc7ae;
  --schema-ink: #4b2d1d;
  --schema-line-dark: rgba(107, 67, 43, 0.62);
  --schema-line-light: rgba(241, 223, 197, 0.76);
}

.sr-only,
.sr-only::before,
.sr-only::after {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.schema-art-cream,
.hero__names-art,
.schema-panel--dark .schema-hang__asset,
.schema-corner--light,
.reception-line__heading-art,
.footer .schema-rangoli {
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.schema-panel {
  border-top-color: rgba(107, 67, 43, 0.42);
  border-bottom-color: rgba(107, 67, 43, 0.42);
}

.schema-panel::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 248, 238, 0.08), transparent 19%),
    radial-gradient(circle at 82% 70%, rgba(107, 67, 43, 0.08), transparent 23%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
}

.schema-panel--dark::before,
.schema-panel--dark-strip::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 248, 238, 0.08), transparent 19%),
    radial-gradient(circle at 82% 70%, rgba(107, 67, 43, 0.08), transparent 23%);
}

.schema-hang {
  width: clamp(112px, 16vw, 226px);
  height: min(70%, 430px);
}

.schema-hang__asset {
  opacity: 0.82;
  filter: none;
}

.schema-hang--left {
  left: clamp(4px, 3vw, 42px);
}

.schema-hang--right {
  right: clamp(4px, 3vw, 42px);
  transform: scaleX(-1);
  transform-origin: center top;
}

.schema-side-hang {
  position: absolute;
  top: clamp(10px, 2vw, 20px);
  z-index: 1;
  width: clamp(76px, 11vw, 130px);
  height: auto;
  opacity: 0.56;
  pointer-events: none;
}

.schema-side-hang--left {
  left: clamp(12px, 4vw, 62px);
}

.schema-side-hang--right {
  right: clamp(12px, 4vw, 62px);
}

.schema-corner,
.schema-kalash,
.schema-rangoli {
  filter: none;
}

.schema-corner {
  width: clamp(148px, 21vw, 246px);
  opacity: 0.6;
}

.schema-corner--left {
  left: clamp(10px, 4vw, 58px);
}

.schema-corner--right {
  right: clamp(10px, 4vw, 58px);
  transform: none;
}

#wedding .schema-corner {
  bottom: clamp(8px, 2vw, 18px);
}

#venue .schema-corner {
  top: auto;
  bottom: clamp(8px, 2vw, 18px);
  opacity: 0.62;
}

#reception .schema-corner {
  top: 50%;
  bottom: auto;
  width: clamp(128px, 19vw, 236px);
  opacity: 0.54;
  transform: translateY(-50%);
}

#reception .schema-corner--left {
  left: clamp(8px, 3vw, 36px);
}

#reception .schema-corner--right {
  right: clamp(8px, 3vw, 36px);
}

.schema-kalash {
  width: clamp(150px, 24vw, 276px);
  opacity: 0.72;
}

.schema-kalash--right {
  transform: none;
}

.schema-panel--dark .schema-hang__asset,
.schema-corner--light,
.footer .schema-rangoli {
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.hero.schema-panel--dark {
  min-height: 82svh;
  padding: clamp(28px, 4vw, 44px) 18px clamp(22px, 3vw, 36px);
}

.hero__blessing {
  margin-top: 0;
}

.hero__request::after {
  content: none;
}

.hero__name-row {
  display: grid;
  grid-template-columns: minmax(0, 572px);
  align-items: center;
  justify-content: center;
  width: min(920px, 100%);
  margin: clamp(4px, 1vw, 8px) auto 0;
}

.hero__names-art {
  width: 100%;
  max-width: 572px;
  margin: 0 auto;
}

.hero__date-wrap {
  position: relative;
  display: grid;
  min-width: min(236px, 58vw);
  width: min(236px, 46vw);
  min-height: 64px;
  justify-items: center;
  align-items: center;
  margin: 4px auto 0;
  padding: 8px 30px 7px;
  border: 1px solid rgba(250, 232, 206, 0.82);
  color: #fff1d8;
  box-shadow:
    inset 0 0 0 4px rgba(250, 232, 206, 0.08),
    0 0 0 1px rgba(68, 39, 18, 0.28);
}

.hero__date-wrap::before,
.hero__date-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 13px;
  height: 26px;
  border: 1px solid currentColor;
  opacity: 0.78;
  transform: translateY(-50%);
}

.hero__date-wrap::before {
  left: -8px;
  border-right: 0;
}

.hero__date-wrap::after {
  right: -8px;
  border-left: 0;
}

.hero__date-badge {
  position: static;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  color: #fff1d8;
  font-size: clamp(1.2rem, 2.7vw, 1.72rem);
  transform: none;
  white-space: nowrap;
}

.hero__day {
  position: static;
  margin: 3px 0 0;
  color: #f3ddbc;
  font-size: clamp(0.82rem, 1.6vw, 1.05rem);
  transform: none;
  white-space: nowrap;
}

.section-intro__art,
.countdown-card__heading-art,
.rsvp-card__heading-art {
  display: block;
  height: auto;
  margin: 0 auto;
}

.section-intro__art {
  width: min(218px, 62vw);
}

#venue .section-intro__art {
  width: min(218px, 62vw);
}

.schedule {
  isolation: isolate;
  min-height: 238px;
  padding: 14px 0;
}

.schedule__reference-art {
  display: none;
}

.schedule__item {
  z-index: 1;
}

.schedule__blossom {
  width: 32px;
  height: 32px;
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(28%)
    saturate(1083%)
    hue-rotate(344deg)
    brightness(89%)
    contrast(91%)
    drop-shadow(0 5px 7px rgba(107, 67, 43, 0.18));
}

.location-line__copy p,
.location-line__copy h3,
.location-line__copy span,
.location-line__copy a {
  background: transparent;
}

.reception-line__heading {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
}

.reception-line__heading-art {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.reception-line__location {
  position: absolute;
  right: 8%;
  bottom: 12px;
  left: 33%;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  color: #f5e8d4;
  text-align: left;
}

.reception-line__location::after {
  content: none !important;
}

.reception-line__location strong {
  font-size: clamp(1.08rem, 2.3vw, 1.42rem);
}

.reception-line__meta {
  margin-top: 10px;
}

.countdown-card {
  border: 0;
  box-shadow: none;
}

.countdown-card__heading-art {
  width: min(476px, 82vw);
}

.countdown-frame {
  position: relative;
  width: min(592px, 100%);
  margin: 0 auto;
}

.countdown-frame__art {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.countdown-grid {
  position: absolute;
  inset: 46% 9% 16%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.countdown-grid span {
  min-width: 0;
}

.countdown-grid span:not(:last-child)::after {
  content: none;
}

.countdown-grid strong {
  font-size: clamp(1.08rem, 3vw, 1.45rem);
  line-height: 1;
}

.countdown-grid em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.rsvp-card__heading-art {
  width: min(276px, 58vw);
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(28%)
    saturate(1083%)
    hue-rotate(344deg)
    brightness(89%)
    contrast(91%);
}

.rsvp-contact-grid {
  gap: clamp(10px, 3vw, 24px);
  border: 0;
}

.rsvp-contact-card {
  min-height: 132px;
  padding: 0;
}

.rsvp-contact-card + .rsvp-contact-card {
  border-left: 0;
}

.rsvp-contact-card__art {
  width: min(100%, 270px);
  height: auto;
  margin: 0 auto;
}

.rsvp-contact-card .contact-list {
  width: min(260px, 100%);
  margin: 8px auto 0;
}

.footer .schema-rangoli {
  width: min(570px, 86vw);
}

@media (max-width: 760px) {
  .schema-hang {
    width: 96px;
    height: 330px;
    opacity: 0.58;
  }

  .schema-side-hang {
    width: 70px;
    opacity: 0.28;
  }

  .schema-corner {
    width: 112px;
    opacity: 0.28;
  }

  #reception .schema-corner {
    width: 104px;
    opacity: 0.2;
  }

  .schema-kalash {
    width: 118px;
    opacity: 0.34;
  }

  .hero.schema-panel--dark {
    min-height: 88svh;
    padding: 38px 12px 36px;
  }

  .hero__name-row {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero__names-art {
    width: min(560px, 100%);
    max-width: 100%;
  }

  .hero__date-wrap {
    width: min(236px, 64vw);
  }

  .schedule {
    min-height: 0;
  }

  .schedule__reference-art {
    opacity: 0.11;
  }

  .reception-line__heading {
    width: min(420px, 100%);
  }

  .reception-line__location {
    position: static;
    margin-top: 6px !important;
    text-align: center;
  }

  .countdown-grid {
    inset: 47% 9% 14%;
  }

  .countdown-grid strong {
    font-size: clamp(0.92rem, 4.4vw, 1.18rem);
  }

  .rsvp-contact-grid {
    gap: 8px;
    border: 0;
  }

  .rsvp-contact-card {
    min-height: auto;
  }

  .rsvp-contact-card + .rsvp-contact-card {
    border-top: 0;
  }
}

/* Recreated imagegen assets: crisp ornaments + live text */
.hero__top-divider,
.hero__pre-name-divider,
.hero__name-divider,
.section-intro__art--imagegen,
.countdown-card__heading-art--imagegen,
.reception-line__divider,
.rsvp-card__heading-art--imagegen {
  display: block;
  width: min(520px, 82vw);
  height: auto;
  margin: 6px auto 0;
  opacity: 0.74;
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(28%)
    saturate(1083%)
    hue-rotate(344deg)
    brightness(89%)
    contrast(91%);
}

.schema-panel--dark .hero__top-divider,
.schema-panel--dark .hero__pre-name-divider,
.schema-panel--dark .hero__name-divider,
.schema-panel--dark .reception-line__divider {
  opacity: 0.82;
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.schema-hang {
  width: clamp(58px, 8vw, 92px);
  height: min(74%, 440px);
}

.schema-hang--right {
  transform: scaleX(-1);
  transform-origin: center top;
}

.schema-hang__asset {
  object-fit: contain;
  opacity: 0.7;
}

.schema-panel--dark .schema-hang__asset {
  filter:
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(585%)
    hue-rotate(332deg)
    brightness(103%)
    contrast(91%);
}

.hero__top-divider {
  display: none;
  width: min(300px, 54vw);
  margin-top: 4px;
}

.hero__name-row {
  grid-template-columns: minmax(0, auto);
  width: min(940px, 100%);
}

.hero__names-live {
  margin: 0;
  color: #fff1d8;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.86;
  text-align: center;
  text-shadow: 0 2px 0 rgba(58, 33, 16, 0.28);
  white-space: nowrap;
}

.hero__pre-name-divider,
.hero__name-divider {
  width: min(320px, 56vw);
  margin-top: -4px;
}

.hero__pre-name-divider {
  margin-top: 12px;
}

.section-intro {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.section-intro h2,
.countdown-card h2,
.reception-line h2,
.rsvp-card h2 {
  color: currentColor;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.15rem);
  font-weight: 400;
  line-height: 0.92;
}

.section-intro__art--imagegen {
  width: min(218px, 62vw);
}

.reception-line h2 {
  margin: 0;
  color: #f5e8d4;
}

.reception-line__divider {
  width: min(218px, 62vw);
  margin-top: 0;
}

.reception-line__heading {
  width: min(720px, 100%);
  margin-top: 4px;
}

.reception-line__location {
  position: static;
  margin: 0 !important;
  color: #f5e8d4;
  text-align: center;
}

.reception-line__location strong {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
}

.countdown-card__heading-art--imagegen {
  width: min(430px, 78vw);
}

.countdown-frame {
  width: min(620px, 100%);
  margin-top: 10px;
  padding: 18px clamp(18px, 4vw, 42px) 14px;
  border: 1px solid var(--schema-line-dark);
  color: var(--schema-ink);
  box-shadow:
    inset 0 0 0 4px rgba(107, 67, 43, 0.05),
    0 0 0 1px rgba(255, 248, 238, 0.32);
}

.countdown-frame::before,
.countdown-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 32px;
  border: 1px solid currentColor;
  opacity: 0.6;
  transform: translateY(-50%);
}

.countdown-frame::before {
  left: -8px;
  border-right: 0;
}

.countdown-frame::after {
  right: -8px;
  border-left: 0;
}

.countdown-grid {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.countdown-grid span:not(:last-child) {
  border-right: 1px solid rgba(107, 67, 43, 0.48);
}

.countdown-grid strong {
  display: block;
  min-height: 1.1em;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

.countdown-grid em {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  opacity: 1;
  font-size: clamp(0.82rem, 1.7vw, 1rem);
}

.rsvp-card__heading-art--imagegen {
  width: min(380px, 74vw);
  margin-top: 0;
}

.rsvp-contact-grid {
  gap: clamp(16px, 4vw, 34px);
  align-items: start;
  margin-top: 18px;
}

.rsvp-contact-card {
  min-height: 0;
  padding: 0 clamp(4px, 1vw, 10px);
}

.rsvp-contact-card__icon-art {
  width: clamp(46px, 7vw, 66px);
  height: auto;
  margin: 0 auto 4px;
}

.rsvp-contact-card p {
  color: var(--schema-ink);
  font-family: var(--display);
  font-size: clamp(1.18rem, 2.7vw, 1.58rem);
  line-height: 1;
}

.rsvp-contact-card h3 {
  margin: 2px 0 0;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 700;
}

@media (max-width: 760px) {
  .schema-hang {
    width: 38px;
    height: 118px;
    opacity: 0.54;
  }

  .schema-hang--left {
    left: 6px;
  }

  .schema-hang--right {
    right: 6px;
  }

  .hero__top-divider {
    width: min(250px, 70vw);
  }

  .hero__name-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__names-live {
    font-size: clamp(2.15rem, 9.4vw, 3rem);
    white-space: nowrap;
  }

  .hero__pre-name-divider,
  .hero__name-divider {
    width: min(270px, 72vw);
  }

  .section-intro h2,
  .countdown-card h2,
  .reception-line h2,
  .rsvp-card h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  .countdown-frame {
    padding: 14px 10px 12px;
  }

  .countdown-grid strong {
    font-size: clamp(1rem, 4.4vw, 1.2rem);
  }

  .countdown-grid em {
    font-size: clamp(0.64rem, 3.2vw, 0.78rem);
  }

  .rsvp-contact-grid {
    gap: 18px;
  }
}

/* Final 9:16 mobile fit pass */
.hero__ganesha-logo-imagegen {
  width: min(148px, 20vw);
  height: auto;
  margin: -8px auto 0;
  filter: drop-shadow(0 1px 0 rgba(58, 33, 16, 0.24));
}

@media (max-width: 760px) {
  .hero.schema-panel--dark {
    min-height: 100svh;
    padding: 20px 12px 22px;
  }

  .hero__stage {
    width: min(336px, 100%);
  }

  .hero__copy {
    gap: 0;
    padding: 0;
  }

  .hero__ganesha-logo-imagegen {
    width: min(102px, 27vw);
    margin-top: -8px;
  }

  .hero__blessing {
    max-width: min(320px, 92vw);
    margin-top: 0;
    font-size: clamp(1.55rem, 7.2vw, 1.72rem);
    line-height: 1.06;
  }

  .hero__request {
    max-width: min(318px, 92vw);
    margin-top: 10px;
    font-size: clamp(1.08rem, 4.7vw, 1.2rem);
    line-height: 1.2;
  }

  .hero .ornament {
    margin: 13px auto 0;
  }

  .hero__name-row {
    width: min(330px, 100%);
    margin-top: 8px;
  }

  .hero__names-live {
    font-size: clamp(2.15rem, 9.4vw, 2.85rem);
    line-height: 0.94;
    white-space: nowrap;
  }

  .hero__pre-name-divider,
  .hero__name-divider {
    width: min(235px, 65vw);
    margin-top: 6px;
  }

  .hero__pre-name-divider {
    margin-top: 12px;
  }

  .hero__date-wrap {
    width: min(220px, 64vw);
    min-width: 0;
    min-height: 58px;
    margin-top: 4px;
    padding: 6px 26px;
  }

  .hero__date-badge {
    font-size: clamp(1.15rem, 6vw, 1.45rem);
  }

  .hero__day {
    margin-top: 2px;
    font-size: clamp(0.96rem, 4.6vw, 1.14rem);
  }

  #wedding.section {
    min-height: 100svh;
    padding: 18px 12px 16px;
  }

  #wedding .section__inner {
    width: min(336px, 100%);
  }

  #wedding .section-intro {
    margin-bottom: 8px;
  }

  #wedding .section-intro h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
    line-height: 0.92;
  }

  #wedding .section-intro__art--imagegen {
    width: min(218px, 62vw);
    margin-top: 0;
  }

  #wedding .schema-side-hang {
    width: 40px;
    opacity: 0.34;
  }

  #wedding .schema-corner {
    width: 88px;
    opacity: 0.42;
  }

  #wedding .schedule {
    --schedule-center-lane: 26px;
    --schedule-text-gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 2px 0 0;
  }

  #wedding .schedule::before {
    top: var(--schedule-line-top, 12px);
    bottom: var(--schedule-line-bottom, 12px);
  }

  #wedding .schedule__reference-art,
  #wedding .schedule__blossom {
    display: none;
  }

  #wedding .schedule__item {
    min-height: 58px;
    padding: 4px 0;
    grid-template-columns: minmax(0, 0.72fr) var(--schedule-center-lane) minmax(0, 1fr);
  }

  #wedding .schedule__item::before {
    left: 0;
    right: calc(50% + 16px);
  }

  #wedding .schedule__item::after {
    left: calc(50% + 16px);
    right: 0;
  }

  #wedding .schedule__number {
    width: 11px;
    height: 11px;
    border-width: 1px;
  }

  #wedding .schedule time {
    gap: 4px;
    padding-right: var(--schedule-text-gap);
    font-size: clamp(0.92rem, 4.9vw, 1.08rem);
    white-space: nowrap;
  }

  #wedding .schedule h3 {
    padding-left: var(--schedule-text-gap);
    font-size: clamp(0.88rem, 4.7vw, 1.02rem);
    line-height: 1;
  }

  #wedding .schedule p {
    display: -webkit-box;
    margin-top: 2px;
    padding-left: var(--schedule-text-gap);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: clamp(0.6rem, 3.2vw, 0.72rem);
    line-height: 1.08;
  }

  #wedding .schedule__item:nth-of-type(even) time {
    padding-left: var(--schedule-text-gap);
  }

  #wedding .schedule__item:nth-of-type(even) h3,
  #wedding .schedule__item:nth-of-type(even) p {
    padding-right: var(--schedule-text-gap);
  }

  .music-toggle {
    right: 8px;
    bottom: 14px;
    width: 46px;
    min-height: 46px;
  }

  .music-toggle::before {
    font-size: 1rem;
  }

  .music-toggle[aria-pressed="false"]::before {
    font-size: 1.18rem;
  }
}

/* Phone-first 9:16 polish */
@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .schema-panel {
    scroll-margin-top: 0;
  }

  .music-toggle {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(88, 55, 34, 0.22);
  }

  .music-toggle::before {
    font-size: 0.86rem;
  }

  .music-toggle[aria-pressed="false"]::before {
    font-size: 1.08rem;
  }

  .hero.schema-panel--dark {
    align-content: start;
    align-items: start;
    padding: 18px 12px 18px;
  }

  .hero__ganesha-logo-imagegen {
    width: min(88px, 24vw);
  }

  .hero__top-divider {
    width: min(196px, 56vw);
  }

  .hero__blessing {
    font-size: clamp(1.42rem, 6.8vw, 1.62rem);
  }

  .hero__request {
    margin-top: 8px;
    font-size: clamp(1rem, 4.45vw, 1.12rem);
  }

  .hero .ornament {
    margin-top: 10px;
  }

  .hero__name-row {
    margin-top: 6px;
  }

  .hero__names-live {
    font-size: clamp(2.12rem, 9.8vw, 2.62rem);
    white-space: nowrap;
  }

  .hero__date-wrap {
    width: min(214px, 62vw);
    min-height: 54px;
    padding: 5px 24px;
  }

  .hero__date-badge {
    font-size: clamp(1.1rem, 5.6vw, 1.34rem);
  }

  #wedding.section {
    display: grid;
    align-content: stretch;
    min-height: 100svh;
    padding: 14px 12px 18px;
  }

  #wedding .section__inner {
    width: min(342px, 100%);
  }

  #wedding .section-intro {
    margin-bottom: 6px;
  }

  #wedding .section-intro h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
    line-height: 0.9;
  }

  #wedding .section-intro__art--imagegen {
    width: min(172px, 48vw);
  }

  .section-intro__art--imagegen,
  #venue .section-intro__art {
    width: min(172px, 48vw);
  }

  #wedding .schema-side-hang {
    display: none;
  }

  #wedding .schema-corner {
    width: 78px;
    opacity: 0.34;
  }

  #wedding .schedule {
    --schedule-center-lane: 18px;
    --schedule-text-gap: 0;
    display: grid;
    gap: 4px;
    width: min(336px, 100%);
    padding: 0;
  }

  #wedding .schedule::before {
    top: var(--schedule-line-top, 14px);
    bottom: var(--schedule-line-bottom, 14px);
    left: 74px;
    width: 1px;
    transform: none;
  }

  #wedding .schedule__item,
  #wedding .schedule__item:nth-of-type(even) {
    grid-template-columns: 58px 28px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    min-height: 0;
    padding: 4px 0;
  }

  #wedding .schedule__item::before,
  #wedding .schedule__item::after {
    display: none;
  }

  #wedding .schedule__number {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-width: 1px;
    background: var(--schema-cream);
  }

  #wedding .schedule time,
  #wedding .schedule__item:nth-of-type(even) time {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-content: flex-end;
    gap: 2px;
    padding: 1px 8px 0 0;
    color: var(--schema-ink);
    font-size: clamp(0.82rem, 4.2vw, 0.98rem);
    line-height: 1;
    text-align: right;
    white-space: nowrap;
  }

  #wedding .schedule__time-meridiem {
    font-size: 0.55em;
    letter-spacing: 0.03em;
  }

  #wedding .schedule h3,
  #wedding .schedule__item:nth-of-type(even) h3 {
    grid-column: 3;
    grid-row: 1;
    padding: 0 0 0 7px;
    color: var(--schema-ink);
    font-size: clamp(0.96rem, 4.65vw, 1.12rem);
    line-height: 1.02;
    text-align: left;
  }

  #wedding .schedule p,
  #wedding .schedule__item:nth-of-type(even) p {
    grid-column: 3;
    grid-row: 2;
    display: block;
    margin: 2px 0 0;
    padding: 0 0 0 7px;
    overflow: visible;
    color: rgba(63, 38, 23, 0.82);
    font-size: clamp(0.7rem, 3.3vw, 0.78rem);
    line-height: 1.08;
    text-align: left;
  }

  .location-section {
    padding: 28px 14px;
  }

  #venue .schema-corner {
    display: none;
  }

  .location-lines {
    gap: 28px;
  }

  .location-line {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 74px;
  }

  .location-line__copy h3 {
    font-size: clamp(1.2rem, 6.2vw, 1.52rem);
  }

  .location-line__copy span {
    font-size: 0.92rem;
    line-height: 1.12;
  }

  .countdown-section {
    padding: 28px 12px;
  }

  .countdown-card {
    padding: 16px 12px;
  }

  .countdown-frame {
    width: min(330px, 100%);
  }

  .countdown-grid {
    gap: 0;
    padding: 0 24px;
  }

  .rsvp-section {
    padding: 28px 14px 84px;
  }

  .rsvp-card h2 {
    font-size: clamp(2.6rem, 13vw, 3.45rem);
  }

  .rsvp-card__heading-art--imagegen {
    width: min(218px, 64vw);
  }

  .rsvp-contact-grid {
    gap: 6px;
    margin-top: 10px;
  }

  .rsvp-contact-card {
    gap: 3px;
    padding: 8px 10px;
  }

  .rsvp-contact-card__icon-art {
    width: 34px;
  }

  .rsvp-contact-card p {
    font-size: 1.1rem;
  }

  .rsvp-contact-card h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  .hero__ganesha-logo-imagegen {
    width: min(82px, 23vw);
  }

  .hero__blessing {
    font-size: clamp(1.34rem, 6.4vw, 1.52rem);
  }

  .hero__request {
    font-size: clamp(0.96rem, 4.25vw, 1.06rem);
  }

  .hero__names-live {
    font-size: clamp(2.08rem, 9.5vw, 2.32rem);
    white-space: nowrap;
  }

  #wedding .section-intro h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  #wedding .schedule {
    gap: 2px;
  }

  #wedding .schedule__item,
  #wedding .schedule__item:nth-of-type(even) {
    padding: 3px 0;
  }

  #wedding .schedule p,
  #wedding .schedule__item:nth-of-type(even) p {
    font-size: 0.68rem;
    line-height: 1.04;
  }
}

/* Generated date plaque and alternating phone timeline */
.hero__date-wrap {
  position: relative;
  width: min(286px, 48vw);
  min-width: 0;
  min-height: 78px;
  align-content: start;
  align-items: start;
  justify-items: center;
  padding: 8px 38px 0;
  border: 0;
  box-shadow: none;
}

.hero__date-wrap::before,
.hero__date-wrap::after {
  display: none;
}

.hero__date-frame-imagegen {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 56px;
  object-fit: fill;
  pointer-events: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 1px 0 rgba(58, 33, 16, 0.22));
}

.hero__date-badge {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 44px;
  place-items: center;
  font-size: clamp(1.18rem, 2.6vw, 1.6rem);
  line-height: 1;
}

.hero__day {
  position: relative;
  z-index: 1;
  margin-top: 1px;
  font-size: clamp(0.82rem, 1.55vw, 1rem);
}

.schedule__blossom {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 3px 5px rgba(88, 55, 34, 0.2));
}

@media (max-width: 760px) {
  .hero__date-wrap {
    width: min(246px, 70vw);
    min-height: 66px;
    padding: 6px 32px 0;
  }

  .hero__date-frame-imagegen {
    height: 49px;
  }

  .hero__date-badge {
    min-height: 39px;
    font-size: clamp(1.08rem, 5.3vw, 1.32rem);
  }

  .hero__day {
    margin-top: 0;
    font-size: clamp(0.82rem, 4vw, 1rem);
  }

  #wedding .schedule {
    --schedule-center-lane: 28px;
    --schedule-text-gap: 8px;
    display: grid;
    gap: 0;
    width: min(336px, 100%);
    padding: 0 0 4px;
  }

  #wedding .schedule::before {
    top: var(--schedule-line-top, 12px);
    bottom: var(--schedule-line-bottom, 10px);
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
  }

  #wedding .schedule__reference-art {
    display: none;
  }

  #wedding .schedule__blossom {
    display: block;
    left: 50%;
    width: 27px;
    height: auto;
    filter: drop-shadow(0 3px 5px rgba(88, 55, 34, 0.18));
  }

  #wedding .schedule__item,
  #wedding .schedule__item:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr) var(--schedule-center-lane) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    align-items: start;
    min-height: 74px;
    padding: 5px 0;
  }

  #wedding .schedule__item::before,
  #wedding .schedule__item::after {
    content: "";
    position: absolute;
    top: 18px;
    display: block;
    height: 1px;
    background: var(--schema-line-dark);
    opacity: 0.28;
  }

  #wedding .schedule__item::before {
    left: 0;
    right: calc(50% + 18px);
  }

  #wedding .schedule__item::after {
    left: calc(50% + 18px);
    right: 0;
  }

  #wedding .schedule__number {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-width: 1px;
    background: var(--schema-cream);
  }

  #wedding .schedule time {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-end;
    gap: 3px;
    padding: 1px var(--schedule-text-gap) 0 0;
    color: var(--schema-ink);
    font-size: clamp(0.84rem, 4.15vw, 0.98rem);
    line-height: 1;
    text-align: right;
    white-space: nowrap;
  }

  #wedding .schedule__date {
    font-size: clamp(0.48rem, 2.65vw, 0.58rem);
    letter-spacing: 0.06em;
  }

  #wedding .schedule__clock {
    gap: 3px;
  }

  #wedding .schedule h3 {
    grid-column: 3;
    grid-row: 1;
    padding: 0 0 0 var(--schedule-text-gap);
    color: var(--schema-ink);
    font-size: clamp(0.86rem, 4.55vw, 1.05rem);
    line-height: 1.02;
    text-align: left;
  }

  #wedding .schedule p {
    grid-column: 3;
    grid-row: 2;
    display: block;
    margin: 2px 0 0;
    padding: 0 0 0 var(--schedule-text-gap);
    overflow: visible;
    color: rgba(63, 38, 23, 0.82);
    font-size: clamp(0.64rem, 3.18vw, 0.74rem);
    line-height: 1.08;
    text-align: left;
  }

  #wedding .schedule__item:nth-of-type(even) time {
    grid-column: 3;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: var(--schedule-text-gap);
    text-align: left;
  }

  #wedding .schedule__item:nth-of-type(even) h3,
  #wedding .schedule__item:nth-of-type(even) p {
    grid-column: 1;
    padding-right: var(--schedule-text-gap);
    padding-left: 0;
    text-align: right;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  #wedding .schedule {
    --schedule-text-gap: 7px;
  }

  #wedding .schedule__item,
  #wedding .schedule__item:nth-of-type(even) {
    min-height: 69px;
    padding: 3px 0;
  }

  #wedding .schedule h3 {
    font-size: clamp(0.8rem, 4.28vw, 0.96rem);
  }

  #wedding .schedule p,
  #wedding .schedule__item:nth-of-type(even) p {
    font-size: 0.61rem;
    line-height: 1.03;
  }
}

/* Phone date/timeline centering pass */
@media (max-width: 760px) {
  .hero__date-wrap {
    display: grid;
    width: min(254px, 74vw);
    min-height: 67px;
    padding: 0;
    grid-template-rows: 50px auto;
    justify-items: center;
  }

  .hero__date-frame-imagegen {
    top: 0;
    width: 100%;
    height: 50px;
  }

  .hero__date-badge {
    grid-row: 1;
    width: 68%;
    min-height: 50px;
    padding-top: 1px;
    justify-self: center;
    align-self: start;
    text-align: center;
  }

  .hero__day {
    grid-row: 2;
    width: 100%;
    margin-top: -1px;
    text-align: center;
  }

  #wedding.section {
    padding-right: 8px;
    padding-left: 8px;
  }

  #wedding .section__inner {
    width: min(352px, 100%);
  }

  #wedding .schedule {
    --schedule-center-lane: 30px;
    --schedule-text-gap: 9px;
    width: min(352px, 100%);
    min-height: min(484px, calc(100svh - 138px));
    align-content: space-between;
  }

  #wedding .schedule__item,
  #wedding .schedule__item:nth-of-type(even) {
    min-height: 0;
    padding: 4px 0;
  }

  #wedding .schedule__item::before,
  #wedding .schedule__item::after {
    display: none;
  }

  #wedding .schedule__number {
    margin-top: 7px;
  }

  #wedding .schedule time,
  #wedding .schedule__item:nth-of-type(even) time {
    font-size: clamp(0.86rem, 4.2vw, 1rem);
    text-decoration: none;
    border: 0;
  }

  #wedding .schedule h3,
  #wedding .schedule__item:nth-of-type(even) h3 {
    font-size: clamp(0.9rem, 4.7vw, 1.08rem);
    text-decoration: none;
    border: 0;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  #wedding .schedule {
    min-height: min(454px, calc(100svh - 132px));
  }
}

/* Date plaque and countdown frame alignment pass */
.hero__date-wrap {
  position: relative;
  display: block;
  width: min(470px, 78vw);
  min-height: 0;
  aspect-ratio: 3.55 / 1;
  margin: 8px auto 0;
  padding: 0;
}

.hero__date-frame-imagegen {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100%;
  height: 72%;
  object-fit: fill;
  transform: translateX(-50%);
}

.hero__date-badge {
  position: absolute;
  top: 36%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 62%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: #fff1d8;
  font-size: clamp(1.46rem, 3.4vw, 2.28rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.hero__day {
  position: absolute;
  top: 84%;
  left: 50%;
  z-index: 1;
  width: 100%;
  margin: 0;
  color: #f3ddbc;
  font-size: clamp(0.98rem, 2vw, 1.34rem);
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%);
}

#counter.countdown-section {
  overflow: hidden;
  padding: clamp(44px, 5.8vw, 70px) 18px clamp(50px, 6vw, 78px);
}

#counter .countdown-card {
  z-index: 2;
  width: min(800px, 100%);
  padding: 0 clamp(16px, 3vw, 28px);
  border: 0;
  box-shadow: none;
}

#counter .countdown-card h2 {
  margin: 0;
  color: var(--schema-ink);
  font-size: clamp(2.6rem, 5.5vw, 4.15rem);
  line-height: 0.9;
}

#counter .countdown-card__heading-art--imagegen {
  width: min(330px, 58vw);
  margin: 0 auto 6px;
}

#counter .countdown-frame {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  min-height: 116px;
  margin: 8px auto 0;
  padding: 24px clamp(36px, 5.8vw, 64px) 22px;
  border: 1px solid rgba(107, 67, 43, 0.62);
  color: var(--schema-ink);
  background: rgba(255, 248, 238, 0.18);
  box-shadow:
    inset 0 0 0 5px rgba(107, 67, 43, 0.055),
    0 0 0 1px rgba(255, 248, 238, 0.38);
}

#counter .countdown-frame::before,
#counter .countdown-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 46px;
  border: 1px solid currentColor;
  opacity: 0.58;
  transform: translateY(-50%);
}

#counter .countdown-frame::before {
  left: -10px;
  border-right: 0;
}

#counter .countdown-frame::after {
  right: -10px;
  border-left: 0;
}

#counter .countdown-grid {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

#counter .countdown-grid span {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 56px;
  align-content: center;
  justify-items: center;
  padding: 0 clamp(8px, 2vw, 22px);
}

#counter .countdown-grid span:not(:last-child) {
  border-right: 1px solid rgba(107, 67, 43, 0.48);
}

#counter .countdown-grid span:not(:last-child)::after {
  content: none;
}

#counter .countdown-grid strong {
  display: block;
  min-height: 0;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.72rem, 4vw, 2.42rem);
  font-weight: 500;
  line-height: 0.92;
}

#counter .countdown-grid em {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-top: 4px;
  overflow: visible;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  font-style: normal;
  line-height: 1;
  opacity: 1;
}

#counter .schema-corner {
  top: auto;
  bottom: clamp(8px, 1.6vw, 18px);
  z-index: 1;
  width: clamp(118px, 16vw, 176px);
  opacity: 0.36;
}

#counter .schema-corner--left {
  left: clamp(8px, 4vw, 58px);
}

#counter .schema-corner--right {
  right: clamp(8px, 4vw, 58px);
  transform: none;
}

@media (max-width: 760px) {
  .hero__date-wrap {
    width: min(344px, 94vw);
    margin-top: 6px;
  }

  .hero__date-badge {
    top: 36%;
    width: 64%;
    font-size: clamp(1.38rem, 8.2vw, 1.78rem);
  }

  .hero__day {
    top: 84%;
    font-size: clamp(0.96rem, 5.1vw, 1.22rem);
  }

  #counter.countdown-section {
    padding: 26px 16px 48px;
  }

  #counter .countdown-card {
    width: min(370px, 100%);
    padding: 0;
  }

  #counter .countdown-card h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  #counter .countdown-card__heading-art--imagegen {
    width: min(248px, 64vw);
    margin-bottom: 5px;
  }

  #counter .countdown-frame {
    width: min(352px, 100%);
    min-height: 94px;
    margin-top: 6px;
    padding: 18px 16px 16px;
  }

  #counter .countdown-frame::before,
  #counter .countdown-frame::after {
    width: 12px;
    height: 34px;
  }

  #counter .countdown-frame::before {
    left: -7px;
  }

  #counter .countdown-frame::after {
    right: -7px;
  }

  #counter .countdown-grid span {
    min-height: 48px;
    padding: 0 5px;
  }

  #counter .countdown-grid strong {
    font-size: clamp(1.24rem, 6.2vw, 1.58rem);
  }

  #counter .countdown-grid em {
    margin-top: 4px;
    font-size: clamp(0.7rem, 3.7vw, 0.88rem);
  }

  #counter .schema-corner {
    bottom: -32px;
    width: clamp(84px, 26vw, 112px);
    opacity: 0.2;
  }

  #counter .schema-corner--left {
    left: -34px;
  }

  #counter .schema-corner--right {
    right: -34px;
  }
}

@media (max-width: 380px) {
  .hero__date-wrap {
    width: min(326px, 94vw);
  }

  #counter.countdown-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  #counter .countdown-frame {
    width: min(334px, 100%);
    padding-right: 12px;
    padding-left: 12px;
  }

  #counter .countdown-grid span {
    padding: 0 3px;
  }

  #counter .countdown-grid strong {
    font-size: clamp(1.12rem, 6vw, 1.42rem);
  }

  #counter .countdown-grid em {
    font-size: clamp(0.64rem, 3.45vw, 0.8rem);
  }
}

/* Final text date and countdown pass */
.hero__date-wrap {
  position: relative;
  display: grid;
  width: min(320px, 82vw);
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  grid-template-rows: auto;
  gap: 5px;
  align-content: center;
  align-items: center;
  justify-items: center;
  margin: clamp(8px, 1.4vw, 12px) auto 0;
  padding: 0;
  border: 0;
  color: #fff1d8;
  box-shadow: none;
}

.hero__date-frame-imagegen {
  display: none;
}

.hero__date-badge {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  display: block;
  grid-row: auto;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff1d8;
  box-shadow: none;
  font-size: clamp(1.34rem, 2.9vw, 1.9rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: none;
  align-self: auto;
  justify-self: center;
}

.hero__day {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  grid-row: auto;
  width: auto;
  margin: 0;
  color: #f3ddbc;
  font-size: clamp(1rem, 1.9vw, 1.32rem);
  line-height: 1;
  text-align: center;
  transform: none;
  align-self: auto;
  justify-self: center;
}

.hero__day + .hero__date-badge {
  margin-top: 0;
}

#intro.hero.schema-panel--dark {
  --intro-content-area: calc(82svh - clamp(52px, 7.4vw, 88px));
}

#intro .hero__copy {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: start;
  align-content: stretch;
  align-items: start;
  min-height: var(--intro-content-area);
}

#intro .hero__stage {
  align-self: start;
}

#intro .hero__content-stack {
  display: grid;
  align-self: center;
  justify-items: center;
  width: min(940px, 100%);
  transform: none;
}

#intro .hero__families {
  margin-top: 24px;
}

#intro .hero__families + .hero__request {
  margin-top: 18px;
}

#intro .hero__blessing {
  margin-top: clamp(18px, 2.4vw, 30px);
}

#intro .hero__copy,
#intro .hero__content-stack,
#intro .hero__blessing,
#intro .hero__families,
#intro .hero__families p,
#intro .hero__request,
#intro .hero__name-row,
#intro .hero__names-live,
#intro .hero__date-wrap,
#intro .hero__day,
#intro .hero__date-badge {
  justify-self: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

@media (max-width: 760px) {
  #intro.hero.schema-panel--dark {
    --intro-content-area: calc(100svh - 36px);
  }

  #intro .hero__content-stack {
    transform: translateY(-8px);
  }

  #intro .hero__blessing {
    margin-top: 22px;
  }
}

#counter .schema-corner {
  display: none;
}

#counter .countdown-frame {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-height: 0;
  aspect-ratio: 1876 / 420;
  margin: 10px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

#counter .countdown-frame::before,
#counter .countdown-frame::after {
  content: none;
}

#counter .countdown-frame__imagegen {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

#counter .countdown-grid {
  position: absolute;
  top: 22%;
  right: 13.2%;
  bottom: 24%;
  left: 13.2%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

#counter .countdown-grid span {
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-content: center;
  padding: 0 clamp(8px, 1.8vw, 18px);
}

#counter .countdown-grid span:not(:last-child) {
  border-right: 1px solid rgba(107, 67, 43, 0.48);
}

#counter .countdown-grid strong {
  font-size: clamp(1.5rem, 3.4vw, 2.28rem);
  line-height: 0.92;
}

#counter .countdown-grid em {
  margin-top: 4px;
  font-size: clamp(0.9rem, 1.75vw, 1.22rem);
  line-height: 1;
}

#counter.schema-panel--dark .countdown-card h2,
#counter.schema-panel--dark .countdown-grid strong,
#counter.schema-panel--dark .countdown-grid em {
  color: #fff1d8;
}

#counter.schema-panel--dark .countdown-frame {
  color: #fff1d8;
}

#counter.schema-panel--dark .countdown-card__heading-art--imagegen,
#counter.schema-panel--dark .countdown-frame__imagegen {
  opacity: 0.95;
  filter:
    brightness(0)
    invert(1)
    sepia(18%)
    saturate(620%)
    hue-rotate(320deg)
    brightness(101%)
    contrast(98%);
}

#counter.schema-panel--dark .countdown-grid span:not(:last-child) {
  border-right-color: rgba(255, 241, 216, 0.84);
}

#reception.schema-panel--peach .reception-line h2,
#reception.schema-panel--peach .reception-line p,
#reception.schema-panel--peach .reception-line__location,
#reception.schema-panel--peach .reception-line__location strong,
#reception.schema-panel--peach .reception-line__meta,
#reception.schema-panel--peach .reception-line__address {
  color: var(--schema-ink);
}

#reception.schema-panel--peach .button--light {
  border-color: var(--schema-line-dark);
  color: var(--schema-ink);
}

#reception.schema-panel--peach {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 238, 0.28), transparent 36%),
    linear-gradient(180deg, var(--schema-peach-soft) 0%, var(--schema-peach) 100%);
}

.footer {
  border-top: 1px solid var(--schema-line-dark);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 248, 238, 0.68), transparent 30%),
    linear-gradient(180deg, var(--schema-cream) 0%, var(--schema-cream-deep) 100%);
  color: var(--schema-ink);
}

.footer .schema-rangoli {
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(28%)
    saturate(1083%)
    hue-rotate(344deg)
    brightness(89%)
    contrast(91%);
}

.footer .script-heading,
.footer p,
.footer p:nth-child(2),
.footer span {
  color: var(--schema-ink);
}

@media (max-width: 760px) {
  .hero__date-wrap {
    --date-plaque-w: initial;
    --date-frame-h: initial;
    width: min(260px, 76vw);
    min-width: 0;
    min-height: 0;
    height: auto;
    left: auto;
    grid-template-rows: auto;
    margin-top: 8px;
    padding: 0;
    transform: none;
  }

  .hero__date-badge {
    width: auto;
    min-height: 0;
    grid-row: auto;
    font-size: clamp(1.18rem, 6.4vw, 1.56rem);
  }

  .hero__day {
    top: auto;
    grid-row: auto;
    font-size: clamp(0.98rem, 4.9vw, 1.18rem);
  }

  #counter .countdown-frame {
    width: min(356px, 100%);
    aspect-ratio: 3.55 / 1;
    margin-top: 8px;
  }

  #counter .countdown-frame__imagegen {
    object-fit: fill;
  }

  #counter .countdown-grid {
    top: 18%;
    right: 14.2%;
    bottom: 27%;
    left: 14.2%;
  }

  #counter .countdown-grid span {
    padding: 0 4px;
  }

  #counter .countdown-grid strong {
    font-size: clamp(1.08rem, 6vw, 1.48rem);
  }

  #counter .countdown-grid em {
    margin-top: 3px;
    font-size: clamp(0.62rem, 3.45vw, 0.82rem);
  }
}

@media (max-width: 380px) {
  .hero__date-wrap {
    --date-plaque-w: initial;
    width: min(240px, 76vw);
  }

  #counter .countdown-frame {
    width: min(338px, 100%);
  }

  #counter .countdown-grid strong {
    font-size: clamp(1rem, 5.8vw, 1.34rem);
  }

  #counter .countdown-grid em {
    font-size: clamp(0.58rem, 3.28vw, 0.76rem);
  }
}

/* RSVP action buttons */

.rsvp-confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(52px, 8vw, 66px);
  max-width: 100%;
  margin-top: clamp(12px, 2.6vw, 22px);
  padding: 10px clamp(34px, 8vw, 68px);
  border: 1px solid var(--schema-line-dark);
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 248, 238, 0.14);
  box-shadow:
    inset 0 0 0 4px rgba(107, 67, 43, 0.05),
    0 0 0 1px rgba(255, 248, 238, 0.32);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.rsvp-confirm-button:hover {
  background: rgba(255, 248, 238, 0.24);
  transform: translateY(-1px);
}

.rsvp-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 18px);
  width: min(860px, 100%);
  margin: 18px auto 0;
}

#rsvp .rsvp-card .rsvp-shuttle-note {
  width: min(620px, 100%);
  max-width: 620px;
  margin: 14px auto 0;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 241, 216, 0.42);
  border-bottom: 1px solid rgba(255, 241, 216, 0.42);
  color: #fff1d8;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  text-align: center;
}

#rsvp .rsvp-card .rsvp-shuttle-note + .rsvp-confirm-button {
  margin-top: 8px;
}

.rsvp-action-button {
  display: grid;
  width: min(100%, 210px);
  min-height: 31px;
  place-items: center;
  justify-self: center;
  gap: 4px;
  padding: 2px clamp(8px, 1.6vw, 14px);
  border: 1px solid var(--schema-line-dark);
  color: var(--schema-ink);
  font-family: var(--serif);
  text-align: center;
  text-decoration: none;
  background: rgba(255, 248, 238, 0.12);
  box-shadow:
    inset 0 0 0 4px rgba(107, 67, 43, 0.04),
    0 0 0 1px rgba(255, 248, 238, 0.28);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.rsvp-action-button:hover {
  background: rgba(255, 248, 238, 0.22);
  transform: translateY(-1px);
}

.rsvp-action-button span {
  display: block;
  width: 100%;
  font-size: clamp(0.78rem, 1.25vw, 0.95rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.rsvp-action-button em {
  max-width: 15ch;
  color: rgba(63, 38, 23, 0.78);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.rsvp-card h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.15rem);
  line-height: 0.9;
}

@media (max-width: 760px) {
  .rsvp-action-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(320px, 100%);
    gap: 10px;
  }

  .rsvp-card h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  .rsvp-action-button {
    min-height: 28px;
  }
}

.placeholder-page {
  min-width: 0;
  text-align: center;
  overflow-wrap: break-word;
}

.placeholder-page__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(760px, 100%);
  margin: 0 auto clamp(24px, 5vw, 42px);
}

.placeholder-page__brand {
  position: static;
  display: inline-flex;
  margin: 0;
  color: var(--schema-ink);
  text-decoration: none;
}

.placeholder-page__back {
  border-color: var(--schema-line-dark);
  color: var(--schema-ink);
  background: rgba(255, 248, 238, 0.56);
}

.placeholder-page .section-intro {
  width: min(680px, 100%);
  margin-bottom: clamp(24px, 5vw, 42px);
}

.placeholder-page .section-intro h2 {
  max-width: 100%;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 8.8vw, 4.35rem);
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.placeholder-page .section-intro p {
  max-width: 58ch;
  margin-inline: auto;
}

.placeholder-page .detail-grid {
  text-align: left;
}

.placeholder-page .detail-card {
  min-width: 0;
}

.placeholder-page .detail-card h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.8vw, 2.8rem);
  font-weight: 500;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.placeholder-page .detail-card p {
  max-width: 34ch;
  margin-inline: auto;
  overflow-wrap: break-word;
}

.contact-page__status {
  margin: 0;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.contact-page__status--error {
  color: var(--lotus-deep);
}

.contact-page__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
  width: min(860px, 100%);
  margin: 0 auto;
}

.contact-page__card {
  min-width: 0;
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.36);
  box-shadow: inset 0 0 0 4px rgba(107, 67, 43, 0.04);
}

.contact-page__card--centered {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(360px, 100%);
  padding: clamp(20px, 2.5vw, 24px);
  text-align: center;
}

.contact-page__card--centered h3 {
  margin-top: 7px;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.contact-page__card--centered .contact-page__list {
  gap: 10px;
  margin-top: 15px;
}

.contact-page__card--centered .contact-page__person strong {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
}

.contact-page__list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-page__person {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid var(--schema-line-dark);
  text-align: center;
}

.contact-page__person:first-child {
  padding-top: 0;
  border-top: 0;
}

.contact-page__person strong {
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.contact-page__numbers {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.contact-page__numbers a,
.contact-page__numbers span,
.contact-page__pending {
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration: none;
}

@media (max-width: 560px) {
  .placeholder-page {
    width: min(320px, 100%);
  }

  .contact-page {
    width: min(320px, calc(100vw - 36px));
  }

  .placeholder-page__nav {
    flex-direction: column;
    justify-content: center;
  }

  .placeholder-page .section-intro,
  .placeholder-page .detail-grid {
    width: 100%;
  }

  .placeholder-page .section-intro h2 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(1.95rem, 8.4vw, 2.22rem);
  }

  .placeholder-page .section-intro p,
  .placeholder-page .detail-card p {
    max-width: 29ch;
  }

  .contact-page__sections {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .placeholder-page .detail-card {
    padding-inline: 0;
  }

  .contact-page .detail-card {
    padding-inline: 18px;
  }

  .placeholder-page .detail-card h3 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(1.72rem, 7.2vw, 1.98rem);
  }
}

/* Places to visit page */
.places-page .section-intro {
  margin-bottom: clamp(30px, 6vw, 56px);
}

.place-group {
  width: min(980px, 100%);
  margin: 0 auto clamp(44px, 8vw, 78px);
}

.place-group:last-of-type {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.place-group__head {
  margin-bottom: clamp(20px, 4vw, 34px);
  text-align: center;
}

.place-group__label {
  display: block;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.68;
}

.place-group__head h3 {
  margin: 10px 0 0;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.95rem, 6vw, 2.9rem);
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.place-group__head p {
  max-width: 56ch;
  margin: 12px auto 0;
  opacity: 0.78;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
  text-align: left;
}

.place-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.4);
  box-shadow: inset 0 0 0 4px rgba(107, 67, 43, 0.04);
}

.place-card__media {
  display: block;
}

.place-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.78) contrast(1.04) brightness(1.04);
  mix-blend-mode: multiply;
  opacity: 0.88;
}

.place-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(16px, 3vw, 24px);
}

.place-card__meta {
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.68;
}

.place-card__body h4 {
  margin: 8px 0 0;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.place-card__body p {
  margin: 10px 0 0;
  opacity: 0.78;
}

.place-card__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  color: currentColor;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
}

.place-card__link:hover,
.place-card__link:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.places-credits {
  width: min(980px, 100%);
  margin: 0 auto;
  color: var(--schema-ink);
  text-align: left;
}

.places-credits summary {
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}

.places-credits p {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  opacity: 0.7;
}

.places-credits a {
  color: currentColor;
}

@media (max-width: 720px) {
  .place-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .places-page {
    width: 100%;
  }

  .places-page .section-intro p,
  .place-group__head p,
  .place-card p {
    max-width: none;
  }
}

/* Getting to the wedding page */
.travel-page .section-intro {
  margin-bottom: clamp(24px, 5vw, 42px);
}

.travel-directions {
  width: min(980px, 100%);
  margin: 0 auto clamp(40px, 7vw, 64px);
}

.travel-directions__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.travel-pills {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.4);
}

.travel-pill {
  padding: 11px 16px;
  border: 0;
  background: transparent;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.62;
}

.travel-pill + .travel-pill {
  border-left: 1px solid var(--schema-line-dark);
}

.travel-pill.is-active {
  background: rgba(107, 67, 43, 0.16);
  opacity: 1;
}

.travel-origin {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}

.travel-origin input {
  flex: 1 1 260px;
  max-width: 440px;
  padding: 12px 14px;
  border: 1px solid var(--schema-line-dark);
  border-radius: 0;
  background: rgba(255, 248, 238, 0.6);
  color: var(--schema-ink);
  font: inherit;
}

.travel-origin input::placeholder {
  color: var(--schema-ink);
  opacity: 0.5;
}

.travel-locate,
.travel-actions .button {
  border-color: var(--schema-line-dark);
  color: var(--schema-ink);
  background: rgba(255, 248, 238, 0.56);
}

.travel-locate {
  white-space: nowrap;
}

.travel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.travel-chip {
  padding: 7px 12px;
  border: 1px solid var(--schema-line-dark);
  background: transparent;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.72;
}

.travel-chip:hover,
.travel-chip:focus-visible {
  background: rgba(107, 67, 43, 0.1);
  opacity: 1;
}

.travel-hint {
  margin: 0 0 12px;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0.72;
}

.travel-map {
  overflow: hidden;
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.5);
  box-shadow: inset 0 0 0 4px rgba(107, 67, 43, 0.04);
}

.travel-map iframe {
  display: block;
  width: 100%;
  height: clamp(340px, 56vh, 520px);
  border: 0;
}

.travel-actions {
  margin-top: 16px;
  text-align: center;
}

.travel-note {
  max-width: 72ch;
  margin: 18px auto 0;
  color: var(--schema-ink);
  font-size: 0.86rem;
  line-height: 1.7;
  text-align: center;
  opacity: 0.78;
}

.travel-note a {
  color: currentColor;
}

.travel-hubs {
  width: min(980px, 100%);
  margin: 0 auto clamp(40px, 7vw, 64px);
}

.travel-hubs__intro {
  margin-bottom: 18px;
  text-align: center;
}

.travel-hubs__intro h3 {
  margin: 0;
  color: var(--schema-ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 2.3rem);
  font-weight: 500;
}

.travel-hubs__intro p {
  max-width: 62ch;
  margin: 10px auto 0;
  color: var(--schema-ink);
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.78;
}

.travel-hubs__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hub-panel {
  display: none;
  padding: clamp(18px, 3.4vw, 30px);
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.5);
  box-shadow: inset 0 0 0 4px rgba(107, 67, 43, 0.04);
}

.hub-panel.is-active {
  display: block;
}

.hub-panel__head {
  margin-bottom: 20px;
  text-align: center;
}

.hub-panel__head p {
  width: 100%;
  max-width: none;
  margin: 12px auto 0;
  color: var(--schema-ink);
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

.hub-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2.4vw, 22px);
}

.hub-option {
  padding-top: 14px;
  border-top: 1px solid var(--schema-line-dark);
  text-align: left;
}

.hub-option h4 {
  margin: 0;
  color: var(--schema-ink);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hub-option p {
  margin: 10px 0 0;
  color: var(--schema-ink);
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.82;
}

.hub-option__action {
  display: inline-flex;
  min-height: 38px;
  margin-top: 14px;
  padding: 7px 16px;
  border: 1px solid var(--schema-line-dark);
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  color: var(--schema-ink);
  font-family: var(--serif);
  text-decoration: none;
  background: rgba(255, 248, 238, 0.56);
}

.hub-timings {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--schema-ink);
  font-size: 0.85rem;
  line-height: 1.75;
  opacity: 0.82;
}

.hub-panel__actions {
  margin-top: 22px;
  text-align: center;
}

.hub-panel__actions .button {
  border-color: var(--schema-line-dark);
  color: var(--schema-ink);
  background: rgba(255, 248, 238, 0.56);
}

.travel-hubs .travel-map {
  margin-top: clamp(18px, 3vw, 28px);
}

.travel-support-grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(560px, 100%);
  margin-right: auto;
  margin-left: auto;
  justify-items: center;
}

.travel-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--schema-line-dark);
  background: rgba(255, 248, 238, 0.5);
  box-shadow: inset 0 0 0 4px rgba(107, 67, 43, 0.04);
  justify-items: center;
  text-align: center;
}

.travel-support-card h3 {
  max-width: none;
  overflow-wrap: normal;
}

.travel-support-card p {
  max-width: 42ch;
}

.travel-support-card > a {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--schema-line-dark);
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 238, 0.56);
  font-family: var(--serif);
}

@media (max-width: 560px) {
  .travel-page {
    width: 100%;
  }

  .travel-pills {
    width: 100%;
  }

  .travel-pill {
    flex: 1;
    padding: 11px 8px;
  }

  .travel-origin input {
    max-width: none;
  }

  .travel-map iframe {
    height: min(70vh, 440px);
  }

  .travel-page .section-intro p {
    max-width: none;
  }

  .travel-hubs__tabs .travel-pills {
    width: 100%;
  }

  .hub-panel__grid {
    grid-template-columns: 1fr;
  }
}

/* Wedding timeline countdown flow */
.hero-name-portrait {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-name-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1085 / 1450;
  object-fit: cover;
  object-position: top center;
}

.hero-name-portrait {
  width: min(230px, 38vw);
  aspect-ratio: 1085 / 1320;
  margin: clamp(18px, 2.2vw, 24px) auto 0;
  filter: drop-shadow(0 12px 18px rgba(38, 20, 10, 0.22));
}

#wedding .section__inner {
  grid-template-rows: auto auto auto;
  align-content: start;
  justify-items: center;
}

#wedding.schema-panel .schema-corner {
  display: none;
}

#wedding.section {
  padding-bottom: clamp(54px, 6vw, 82px);
}

#wedding .section-intro {
  margin-bottom: clamp(10px, 2vw, 18px);
}

#wedding .schedule {
  align-self: start;
}

.timeline-countdown {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: clamp(28px, 4.5vw, 44px) auto 0;
  padding: 0;
  color: var(--schema-ink);
}

.timeline-countdown h2 {
  margin: 0;
  color: var(--schema-ink);
  font-size: clamp(2.6rem, 5.5vw, 4.15rem);
  line-height: 0.92;
}

.timeline-countdown .countdown-card__heading-art--imagegen {
  width: min(218px, 62vw);
  margin: 0 auto 5px;
}

.timeline-countdown .countdown-frame {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  min-height: 0;
  aspect-ratio: 1876 / 420;
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.timeline-countdown .countdown-frame::before,
.timeline-countdown .countdown-frame::after {
  content: none;
}

.timeline-countdown .countdown-frame__imagegen {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.timeline-countdown .countdown-grid {
  position: absolute;
  top: 22%;
  right: 13.2%;
  bottom: 24%;
  left: 13.2%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.timeline-countdown .countdown-grid span {
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-content: center;
  padding: 0 clamp(6px, 1.4vw, 14px);
}

.timeline-countdown .countdown-grid span:not(:last-child) {
  border-right: 1px solid rgba(107, 67, 43, 0.48);
}

.timeline-countdown .countdown-grid span:not(:last-child)::after {
  content: none;
}

.timeline-countdown .countdown-grid strong {
  display: block;
  min-height: 0;
  color: var(--schema-ink);
  font-size: clamp(1.18rem, 2.8vw, 1.78rem);
  line-height: 0.92;
}

.timeline-countdown .countdown-grid em {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-top: 3px;
  overflow: visible;
  color: var(--schema-ink);
  font-size: clamp(0.68rem, 1.45vw, 0.95rem);
  line-height: 1;
  opacity: 1;
}

@media (max-width: 760px) {
  #wedding.section {
    align-content: start;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 44px;
  }

  #wedding .section__inner {
    width: min(356px, 100%);
    gap: 0;
  }

  #wedding .section-intro {
    margin-bottom: 4px;
  }

  #wedding .schedule {
    min-height: 0;
    align-content: start;
  }

  .hero-name-portrait {
    width: min(172px, 44vw);
    margin-top: 16px;
  }

  .timeline-countdown {
    width: min(342px, 100%);
    margin-top: 24px;
  }

  .timeline-countdown h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  .timeline-countdown .countdown-card__heading-art--imagegen {
    width: min(172px, 48vw);
    margin-bottom: 4px;
  }

  .timeline-countdown .countdown-frame {
    width: min(324px, 100%);
    aspect-ratio: 3.55 / 1;
    margin-top: 6px;
  }

  .timeline-countdown .countdown-frame__imagegen {
    object-fit: fill;
  }

  .timeline-countdown .countdown-grid {
    top: 18%;
    right: 14.2%;
    bottom: 27%;
    left: 14.2%;
  }

  .timeline-countdown .countdown-grid span {
    padding: 0 3px;
  }

  .timeline-countdown .countdown-grid strong {
    font-size: clamp(0.94rem, 5.1vw, 1.28rem);
  }

  .timeline-countdown .countdown-grid em {
    margin-top: 2px;
    font-size: clamp(0.54rem, 3vw, 0.7rem);
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  #intro .hero__content-stack {
    transform: translateY(-8px);
  }

  #intro .hero__blessing {
    margin-top: 18px;
  }

  .hero-name-portrait {
    width: min(108px, 30vw);
    margin-top: 12px;
  }

  .timeline-countdown {
    margin-top: 18px;
  }

  .timeline-countdown h2 {
    font-size: clamp(1.92rem, 9.6vw, 2.42rem);
  }

  .timeline-countdown .countdown-frame {
    width: min(306px, 100%);
  }

  .timeline-countdown .countdown-grid strong {
    font-size: clamp(0.88rem, 4.8vw, 1.16rem);
  }

  .timeline-countdown .countdown-grid em {
    font-size: clamp(0.5rem, 2.78vw, 0.64rem);
  }
}

/* Post-reception colour handoff */
#reception .reception-line__divider {
  width: min(218px, 62vw);
}

#rsvp.schema-panel--dark {
  background:
    radial-gradient(circle at 50% 7%, rgba(231, 191, 132, 0.18), transparent 27%),
    linear-gradient(180deg, var(--schema-dark) 0%, #8a5c37 100%);
  color: #fff1d8;
}

#rsvp.schema-panel--dark .rsvp-card h2,
#rsvp.schema-panel--dark .rsvp-card .eyebrow,
#rsvp.schema-panel--dark .rsvp-card__copy,
#rsvp.schema-panel--dark .rsvp-action-button,
#rsvp.schema-panel--dark .rsvp-confirm-button {
  color: #fff1d8;
}

#rsvp.schema-panel--dark .rsvp-action-button,
#rsvp.schema-panel--dark .rsvp-confirm-button {
  border-color: rgba(255, 241, 216, 0.74);
  background: rgba(255, 248, 238, 0.08);
  box-shadow:
    inset 0 0 0 4px rgba(255, 248, 238, 0.035),
    0 0 0 1px rgba(91, 55, 32, 0.16);
}

#rsvp.schema-panel--dark .rsvp-action-button em {
  color: rgba(255, 241, 216, 0.76);
}

#rsvp.schema-panel--dark .rsvp-card__heading-art--imagegen {
  width: min(218px, 62vw);
  opacity: 0.95;
  filter:
    brightness(0)
    invert(1)
    sepia(18%)
    saturate(620%)
    hue-rotate(320deg)
    brightness(101%)
    contrast(98%);
}

#rsvp.schema-panel--dark .schema-kalash {
  opacity: 0.58;
  filter:
    brightness(0)
    invert(1)
    sepia(18%)
    saturate(620%)
    hue-rotate(320deg)
    brightness(101%)
    contrast(98%);
}

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--schema-line-dark);
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 248, 238, 0.28), transparent 36%),
    linear-gradient(180deg, var(--schema-peach) 0%, var(--schema-peach-soft) 100%);
  color: var(--schema-ink);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 78%, rgba(255, 248, 238, 0.08), transparent 19%),
    radial-gradient(circle at 82% 30%, rgba(107, 67, 43, 0.08), transparent 23%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  opacity: 0.72;
}

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

.footer .schema-rangoli {
  filter:
    brightness(0)
    saturate(100%)
    invert(22%)
    sepia(28%)
    saturate(1083%)
    hue-rotate(344deg)
    brightness(89%)
    contrast(91%);
}

.footer .script-heading,
.footer p,
.footer p:nth-child(2),
.footer span {
  color: var(--schema-ink);
}

@media (max-width: 760px) {
  #reception .reception-line__divider {
    width: min(172px, 48vw);
  }

  #rsvp.schema-panel--dark .rsvp-card__heading-art--imagegen {
    width: min(172px, 48vw);
  }
}

/* Wedding timeline cleanup */
#wedding .schedule__item::before,
#wedding .schedule__item::after {
  content: none;
  display: none;
}

#wedding .schedule time {
  --schedule-meta-font-size: 0.48em;
}

#wedding .schedule__date,
#wedding .schedule__clock {
  font-family: var(--sans);
  font-size: var(--schedule-meta-font-size);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0.72;
  text-transform: uppercase;
}

#wedding .schedule__time-main,
#wedding .schedule__time-meridiem {
  font-size: 1em;
  letter-spacing: inherit;
  transform: none;
}

@media (max-width: 760px) {
  #wedding .schedule time {
    --schedule-meta-font-size: clamp(0.48rem, 2.65vw, 0.58rem);
  }
}

/* Laptop ornament collision fixes */
#venue .section__inner,
#reception .section__inner,
#rsvp .section__inner {
  position: relative;
  z-index: 2;
}

@media (min-width: 761px) and (max-width: 1180px) {
  #venue .schema-corner {
    display: none;
  }

  #reception .schema-corner {
    width: clamp(104px, 14vw, 150px);
    opacity: 0.34;
  }

  #reception .schema-corner--left {
    left: clamp(0px, 1vw, 12px);
  }

  #reception .schema-corner--right {
    right: clamp(0px, 1vw, 12px);
  }

  #rsvp.rsvp-section {
    padding-bottom: clamp(220px, 24vw, 280px);
  }

  #rsvp .schema-kalash {
    bottom: clamp(18px, 3vw, 36px);
    width: clamp(150px, 19vw, 210px);
    opacity: 0.42;
  }

  #rsvp .schema-kalash--left {
    left: clamp(8px, 2vw, 24px);
  }

  #rsvp .schema-kalash--right {
    right: clamp(8px, 2vw, 24px);
  }

  #rsvp .rsvp-action-grid {
    width: min(720px, calc(100% - 96px));
    margin-top: clamp(18px, 2.8vw, 26px);
  }

  #rsvp .rsvp-action-button span {
    font-size: clamp(0.76rem, 1.32vw, 0.86rem);
  }
}

/* Footer closing note */
.footer {
  display: grid;
  justify-items: center;
  padding: clamp(12px, 1.8vw, 22px) 18px clamp(42px, 5vw, 68px);
  text-align: center;
}

.footer .schema-rangoli {
  margin: 0 auto clamp(4px, 1vw, 8px);
}

.footer .script-heading {
  margin: 0 auto;
  text-align: center;
  transform: translateY(-6px);
}
