/* ==========================================================================
   Mahek & Satyam — wedding invitation
   Warm paper, Indian arches, editorial type, restrained motion.
   ========================================================================== */

/* Self-hosted Latin/Devanagari font faces. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-normal-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Tiro Devanagari Hindi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tiro-devanagari-hindi-normal-devanagari.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}

:root {
  --paper: #f3ebdd;
  --paper-soft: #faf4e8;
  --paper-deep: #e7dbc8;
  --paper-tint: #ede3d3;
  --ink: #1c2b2c;
  --ink-soft: #415150;
  --muted: #5e6963;
  --muted-light: #626d67;
  --line: rgba(28, 43, 44, 0.14);
  --line-strong: rgba(28, 43, 44, 0.28);
  --vermilion: #a94a34;
  --vermilion-dark: #8f3926;
  --vermilion-soft: #f2ded4;
  --marigold: #d69a3a;
  --marigold-soft: #eccb92;
  --marigold-pale: #f6ead4;
  --sea: #2c5d5f;
  --sea-deep: #173b3e;
  --sea-pale: #dfe9e3;
  --olive: #54706a;
  --olive-light: #c9d8c4;
  --cream: #f8f2e8;
  --dark: #102b2e;
  --dark-soft: #173638;
  --white: #fffdf8;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-devanagari: "Tiro Devanagari Hindi", "Kohinoor Devanagari", serif;
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 10vw, 148px);
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 24px 70px -36px rgba(37, 54, 49, 0.28);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 24px 60px -48px rgba(37, 54, 49, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--vermilion);
  color: var(--cream);
}

img,
svg {
  display: block;
}

picture {
  display: contents;
}

img {
  max-width: 100%;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

::placeholder {
  color: var(--muted-light);
  opacity: 1;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(116, 104, 91, 0.35);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

/* Utilities --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  font-size: 13px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 700;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Shared type ------------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section-y) 0;
  scroll-margin-top: 84px;
  scroll-margin-top: calc(84px + env(safe-area-inset-top));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(48px, 6vw, 76px);
}

.section-head-main {
  max-width: 760px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker-num {
  color: var(--vermilion);
  font-variant-numeric: tabular-nums;
}

.kicker-label {
  white-space: nowrap;
}

.kicker-rule {
  display: block;
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-kicker--light {
  color: rgba(248, 242, 232, 0.64);
}

.section-title {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.1vw, 4.9rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-title em,
.hero-title em,
.countdown-copy h2 em,
.footer-names em {
  font-weight: 300;
  color: var(--vermilion);
}

.section-aside {
  max-width: 310px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.section-aside strong {
  color: var(--ink);
  font-weight: 600;
}

.section-aside--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.micro-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 7px 12px 6px;
  border: 1px solid rgba(169, 70, 44, 0.25);
  border-radius: 999px;
  background: var(--vermilion-soft);
  color: var(--vermilion-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.micro-chip .icon {
  width: 12px;
  height: 12px;
}

/* Buttons and links ------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .icon:last-child:not(.btn-icon-end) {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--vermilion);
  color: var(--cream);
  box-shadow: 0 12px 26px -18px rgba(169, 70, 44, 0.65);
}

.btn--primary:hover {
  background: var(--vermilion-dark);
  box-shadow: 0 18px 30px -18px rgba(140, 53, 32, 0.55);
}

.btn--light {
  background: var(--cream);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--marigold-pale);
}

.btn--ghost-light {
  border-color: rgba(248, 242, 232, 0.25);
  color: var(--cream);
}

.btn--ghost-light:hover {
  border-color: rgba(248, 242, 232, 0.6);
  background: rgba(248, 242, 232, 0.06);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 9px;
}

.btn--block {
  width: 100%;
  padding-top: 13px;
  padding-bottom: 13px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

.btn-icon-end {
  margin-left: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--vermilion);
  border-color: var(--vermilion);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.text-link--button {
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.text-link--small {
  font-size: 9px;
}

.text-link--muted {
  border-bottom-color: transparent;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
  font-size: 11px;
  padding-bottom: 0;
}

.text-link--light {
  color: rgba(248, 242, 232, 0.8);
  border-color: rgba(248, 242, 232, 0.25);
}

.text-link--light:hover {
  color: var(--marigold-soft);
  border-color: var(--marigold-soft);
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  padding-top: env(safe-area-inset-top);
  /* Keep the fixed header on its own compositor layer. Without this, Chrome
     can drop it for a frame when a Leaflet map scrolls underneath. */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: #f6efe4;
  box-shadow: 0 1px 0 rgba(33, 28, 23, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: none;
  color: var(--vermilion);
  line-height: 1;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand:hover .brand-mark {
  color: var(--sea);
  transform: rotate(8deg);
}

.brand-mark--light {
  color: var(--marigold-soft);
}

.brand-mark--light:hover {
  color: var(--cream);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-names {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.brand-names em {
  color: var(--vermilion);
  font-weight: 300;
}

.brand-sub {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--vermilion);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--vermilion);
}

.primary-nav a.is-active::after,
.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 0 10px 14px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.menu-toggle .icon {
  width: 17px;
  height: 17px;
}

/* Mobile menu ------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: calc(28px + env(safe-area-inset-top)) 0 calc(34px + env(safe-area-inset-bottom));
  background: var(--dark);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(248, 242, 232, 0.22);
  border-radius: 50%;
  color: var(--cream);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.menu-close:hover {
  background: rgba(248, 242, 232, 0.08);
  border-color: rgba(248, 242, 232, 0.45);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 48px;
  padding-bottom: 48px;
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(248, 242, 232, 0.12);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--cream);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.mobile-nav a span {
  width: 28px;
  color: var(--marigold);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mobile-nav a .icon {
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--muted-light);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.mobile-nav a:hover {
  padding-left: 8px;
  color: var(--marigold-soft);
}

.mobile-nav a:hover .icon {
  transform: translate(2px, -2px);
  color: var(--marigold-soft);
}

.mobile-menu-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-light);
  font-size: 11px;
  line-height: 1.7;
}

.mobile-menu .btn {
  flex: none;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding-top: calc(134px + env(safe-area-inset-top));
  padding-bottom: 32px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  top: -18%;
  right: -6%;
  width: 76vw;
  height: 82vw;
  max-width: 1100px;
  max-height: 1100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 56% 38%, rgba(242, 195, 123, 0.33), rgba(243, 235, 221, 0) 58%),
    radial-gradient(circle at 82% 74%, rgba(58, 111, 108, 0.12), rgba(243, 235, 221, 0) 48%);
  pointer-events: none;
}

.hero-motif {
  position: absolute;
  z-index: -1;
  top: -28px;
  right: -9vw;
  width: min(58vw, 760px);
  color: var(--marigold);
  opacity: 0.2;
  pointer-events: none;
  will-change: transform;
  animation: slow-spin 280s linear infinite;
}

.hero-motif svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  flex: 1;
}

.hero-copy {
  max-width: 680px;
  padding: 28px 0 24px;
}

.hero-overline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.overline-line {
  width: 38px;
  height: 1px;
  background: var(--vermilion);
}

.hero-script {
  margin-bottom: 11px;
  color: var(--vermilion);
  font-family: var(--font-devanagari);
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.15rem, 8.3vw, 8.35rem);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: -0.055em;
}

.hero-title-line {
  display: block;
}

.hero-title-line--second {
  padding-left: clamp(20px, 5.5vw, 88px);
  color: var(--ink);
}

.hero-title .amp {
  display: inline-block;
  margin-right: 0.025em;
  color: var(--vermilion);
  font-size: 0.58em;
  font-weight: 300;
  vertical-align: 0.14em;
}

.hero-lede {
  max-width: 460px;
  margin-top: clamp(26px, 3.6vw, 40px);
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  margin-top: 32px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-label {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.meta-value {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-meta-rule {
  width: 1px;
  height: 37px;
  background: var(--line);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: clamp(30px, 4vw, 44px);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 446px);
  padding-right: clamp(12px, 2.6vw, 34px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5.35;
  border-radius: 999px 999px 18px 18px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
}

.hero-frame::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 13px;
  border: 1px solid rgba(248, 242, 232, 0.46);
  border-radius: 999px 999px 10px 10px;
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 43, 46, 0.02) 34%, rgba(16, 43, 46, 0.68) 100%);
  pointer-events: none;
}

.hero-frame-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 220, 150, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 244, 218, 0.06), transparent 38%);
  pointer-events: none;
}

/* The warm grade is baked into the JPEG. Avoid CSS filters, blend modes and
   always-on transforms here; they can make Chrome re-composite the photo while
   scrolling and produce visible flicker. */
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-frame figcaption {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: rgba(248, 242, 232, 0.9);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-frame figcaption span:last-child {
  color: rgba(248, 242, 232, 0.55);
  letter-spacing: 0.08em;
}

.hero-seal {
  position: absolute;
  z-index: 4;
  bottom: 56px;
  left: -26px;
  width: 122px;
  height: 122px;
  padding: 9px;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--vermilion);
  box-shadow: 0 16px 32px -22px rgba(61, 40, 22, 0.5);
}

.hero-seal svg {
  width: 100%;
  height: 100%;
}

.hero-seal .seal-ring {
  transform-origin: 60px 60px;
  animation: slow-spin 32s linear infinite;
}

.seal-text {
  fill: var(--vermilion);
  font-family: var(--font-sans);
  font-size: 7.3px;
  font-weight: 700;
  letter-spacing: 1.65px;
}

.seal-monogram {
  fill: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.seal-amp {
  fill: var(--vermilion);
  font-style: italic;
  font-weight: 300;
}

.hero-note {
  position: absolute;
  z-index: 4;
  right: -6px;
  top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 196px;
  padding: 12px 16px 12px 13px;
  border: 1px solid rgba(33, 28, 23, 0.09);
  border-radius: 12px;
  background: rgba(251, 246, 238, 0.97);
  box-shadow: 0 18px 38px -28px rgba(61, 40, 22, 0.55);
}

.hero-note-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--marigold-pale);
  color: var(--vermilion);
}

.hero-note-icon .icon {
  width: 13px;
  height: 13px;
}

.hero-note > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-note strong {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.hero-note small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(34px, 5vh, 58px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-hashtag {
  color: var(--ink-soft);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.scroll-cue:hover {
  color: var(--vermilion);
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 24px;
  background: currentColor;
  animation: scroll-line 2.4s var(--ease-soft) infinite;
  transform-origin: top;
}

.hero-coords {
  color: var(--muted-light);
  letter-spacing: 0.08em;
}

/* Intro animations ------------------------------------------------------- */

.js .hero-copy > * {
  opacity: 0;
  animation: rise-in 0.95s var(--ease) forwards;
}

.js .hero-copy > :nth-child(1) { animation-delay: 0.08s; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.14s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.38s; }
.js .hero-copy > :nth-child(6) { animation-delay: 0.44s; }

.js .hero-visual {
  opacity: 0;
  animation: visual-in 1.25s 0.2s var(--ease) forwards;
}

.js .hero-foot {
  opacity: 0;
  animation: rise-in 0.8s 0.5s var(--ease) forwards;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 75ms);
}

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

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes visual-in {
  from { opacity: 0; transform: translateY(28px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.45); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Countdown --------------------------------------------------------------- */

.countdown-band {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 0 0;
  background: var(--dark);
  color: var(--cream);
  isolation: isolate;
}

.countdown-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='85' viewBox='0 0 220 85'%3E%3Cpath d='M0 20c30-20 55-20 85 0s55 20 85 0 40-18 65-4M-10 58c30-20 55-20 85 0s55 20 85 0 40-18 65-4' fill='none' stroke='%23eccb92' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 220px 85px;
  mask-image: linear-gradient(110deg, rgba(0,0,0,.8), transparent 70%);
  -webkit-mask-image: linear-gradient(110deg, rgba(0,0,0,.8), transparent 70%);
}

.countdown-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -46%;
  right: -13%;
  width: 68vw;
  height: 78vw;
  max-width: 980px;
  max-height: 980px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 95, 65, 0.24), transparent 65%);
  pointer-events: none;
}

.countdown-motif {
  position: absolute;
  z-index: -1;
  top: 30px;
  right: 4%;
  width: min(520px, 46vw);
  color: var(--marigold-soft);
  opacity: 0.12;
  pointer-events: none;
}

.countdown-motif svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.countdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
}

.countdown-copy {
  padding-bottom: 10px;
}

.countdown-copy h2 {
  max-width: 500px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.6vw, 4.35rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.countdown-copy h2 em {
  color: var(--marigold-soft);
}

.countdown-copy > p:not(.section-kicker) {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(248, 242, 232, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.countdown-copy .btn {
  margin-top: 28px;
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding-bottom: 8px;
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.count-num {
  display: block;
  min-width: 2ch;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.1vw, 5.15rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-align: center;
}

.count-label {
  color: var(--marigold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.count-sep {
  width: 1px;
  height: 46px;
  margin: 0 clamp(8px, 1.8vw, 26px);
  background: rgba(248, 242, 232, 0.14);
  transform: translateY(-8px);
}

.countdown-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 18px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(248, 242, 232, 0.12);
  color: rgba(248, 242, 232, 0.58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.timeline-year {
  padding-top: 5px;
  color: var(--vermilion);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.timeline-copy h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.timeline-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* Celebrations ------------------------------------------------------------ */

.celebrations {
  background:
    radial-gradient(ellipse at 12% 8%, rgba(44, 93, 95, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(250, 244, 232, 0.32), transparent 18%),
    var(--paper-tint);
  border-top: 1px solid rgba(28, 43, 44, 0.07);
  border-bottom: 1px solid rgba(28, 43, 44, 0.07);
}

.celebrations::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='64' viewBox='0 0 180 64'%3E%3Cpath d='M0 18c25-17 45-17 70 0s45 17 70 0 28-14 50-5M-10 49c25-17 45-17 70 0s45 17 70 0 28-14 50-5' fill='none' stroke='%232c5d5f' stroke-opacity='.19' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 180px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 26%, transparent 74%, rgba(0,0,0,.45));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 26%, transparent 74%, rgba(0,0,0,.45));
}

.celebrations .container {
  position: relative;
}

.schedule {
  position: relative;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.day-tab {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.day-tab:hover {
  border-color: var(--line-strong);
  background: rgba(251, 246, 238, 0.55);
}

.day-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.day-tab-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-right: 15px;
  border-right: 1px solid var(--line);
  line-height: 1;
}

.day-tab.is-active .day-tab-date {
  border-color: rgba(248, 242, 232, 0.16);
}

.day-tab-date span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.day-tab.is-active .day-tab-date span {
  color: var(--marigold-soft);
}

.day-tab-date strong {
  font-family: var(--font-display);
  font-size: 1.76rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.day-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.day-tab-copy strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-tab-copy small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.day-tab.is-active .day-tab-copy small {
  color: rgba(248, 242, 232, 0.62);
}

.day-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s var(--ease);
}

.day-tab.is-active .day-tab-dot {
  background: var(--marigold);
}

.day-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(33, 28, 23, 0.1);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: var(--shadow-card);
}

.day-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 14px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--sea-deep);
}

.day-visual::before {
  display: none;
}

.day-photo {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  aspect-ratio: 4 / 5.4;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--sea-deep);
}

.day-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-in 1.2s var(--ease) both;
  transition: transform 0.7s var(--ease);
}

.day-panel:hover .day-photo img {
  transform: scale(1.018);
}

.day-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 30, 0) 48%, rgba(8, 26, 30, 0.18) 65%, rgba(8, 26, 30, 0.9) 100%);
}

.day-photo-caption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  left: 26px;
  color: var(--cream);
}

.day-photo-index {
  display: block;
  margin-bottom: 8px;
  color: var(--marigold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.day-photo h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.3vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
}

.day-photo p {
  max-width: 260px;
  margin-top: 9px;
  color: rgba(248, 242, 232, 0.7);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.day-content {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.4vw, 42px) clamp(24px, 3.6vw, 44px) 30px;
}

.day-content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
}

.day-content-head span:first-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted);
}

.event-count {
  color: var(--vermilion);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-row {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 32px;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  animation: row-in 0.7s var(--ease) both;
}

.event-row:nth-child(3) { animation-delay: 0.07s; }
.event-row:nth-child(4) { animation-delay: 0.14s; }
.event-row:nth-child(5) { animation-delay: 0.21s; }

.event-time {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 3px;
}

.event-time strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.event-time span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-details {
  min-width: 0;
}

.event-title-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.event-glyph {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--vermilion);
  background: rgba(169, 74, 52, 0.06);
}

.event-glyph .icon {
  width: 16px;
  height: 16px;
}

.event-glyph--mayra,
.event-glyph--tilak {
  color: #944432;
  background: rgba(169, 74, 52, 0.07);
  border-color: rgba(169, 74, 52, 0.17);
}

.event-glyph--sangeet {
  color: var(--sea);
  background: rgba(44, 93, 95, 0.08);
  border-color: rgba(44, 93, 95, 0.16);
}

.event-glyph--haldi {
  color: #8d621c;
  background: rgba(214, 154, 58, 0.14);
  border-color: rgba(161, 117, 35, 0.2);
}

.event-glyph--baraat {
  color: #8e4b34;
  background: rgba(196, 95, 65, 0.08);
  border-color: rgba(169, 74, 52, 0.17);
}

.event-glyph--varmala {
  color: #934750;
  background: rgba(170, 73, 84, 0.07);
  border-color: rgba(170, 73, 84, 0.16);
}

.event-glyph--pheras {
  color: #a66b18;
  background: rgba(226, 164, 60, 0.12);
  border-color: rgba(166, 107, 24, 0.18);
}

.event-details h4 {
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.event-venue {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--vermilion);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-venue .icon {
  width: 11px;
  height: 11px;
}

.event-desc {
  max-width: 490px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.66;
  text-wrap: pretty;
}

.event-dress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.dress-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
}

.dress-dot {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(33, 28, 23, 0.1);
  border-radius: 50%;
}

.event-cal {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.event-cal .icon {
  width: 13px;
  height: 13px;
}

.event-cal:hover {
  border-color: var(--vermilion);
  background: var(--vermilion);
  color: var(--cream);
  transform: translateY(-2px);
}

.day-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(248, 242, 232, 0.13);
  color: rgba(248, 242, 232, 0.74);
  font-size: 10px;
  line-height: 1.6;
}

.day-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--marigold-soft);
}

/* Modern celebration itinerary */
.day-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-width: 680px;
  margin: 0 auto 22px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(251, 247, 239, 0.66);
}

.day-switch__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.day-switch__button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.day-switch__button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.day-switch__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-switch__label strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.day-switch__label small,
.day-switch__date {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.day-switch__button.is-active small,
.day-switch__button.is-active .day-switch__date {
  color: rgba(248, 242, 232, 0.66);
}

.celebration-grid {
  position: relative;
}

.celebration-grid.is-switching {
  overflow: hidden;
  border-radius: 24px;
}

.celebration-day {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  grid-template-rows: 1fr auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(33, 28, 23, 0.1);
  border-radius: 24px;
  background: rgba(251, 247, 239, 0.94);
  box-shadow: 0 18px 55px rgba(50, 36, 24, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.celebration-day:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 65px rgba(50, 36, 24, 0.11);
}

.celebration-day[hidden] {
  display: none;
}

.celebration-day__masthead {
  position: relative;
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  min-height: 294px;
  overflow: hidden;
  padding: 28px 30px 30px;
  color: var(--cream);
  isolation: isolate;
}

.celebration-day--tuesday .celebration-day__masthead {
  background: #9d4d39;
}

.celebration-day--wednesday .celebration-day__masthead {
  background: #173f42;
}

.celebration-day__masthead::before,
.celebration-day__masthead::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(248, 242, 232, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.celebration-day__masthead::before {
  top: 42px;
  right: -100px;
  width: 310px;
  height: 310px;
}

.celebration-day__masthead::after {
  top: 82px;
  right: -60px;
  width: 230px;
  height: 230px;
}

.celebration-day__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.celebration-day__meta span:last-child {
  color: rgba(248, 242, 232, 0.65);
  text-align: right;
}

.celebration-day__date {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: clamp(52px, 6vw, 84px) 0 23px;
}

.celebration-day__date strong {
  font-family: var(--font-display);
  font-size: 6.2rem;
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.celebration-day__date span {
  padding-bottom: 1px;
  color: rgba(248, 242, 232, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.55;
  text-transform: uppercase;
}

.celebration-day__masthead h3 {
  position: relative;
  max-width: 420px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.35vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.celebration-day__masthead p {
  margin-top: 9px;
  color: rgba(248, 242, 232, 0.68);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.celebration-day__index {
  position: absolute;
  right: 24px;
  bottom: -25px;
  z-index: -1;
  color: rgba(248, 242, 232, 0.055);
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 1;
}

.celebration-day__body {
  grid-column: 2;
  grid-row: 1;
  padding: 28px 32px 0;
}

.celebration-day__schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.celebration-day__schedule-head span:last-child {
  color: var(--vermilion);
}

.timeline-event {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 44px;
  gap: 15px;
  align-items: start;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.timeline-event__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.timeline-event__time strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.timeline-event__time span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-event__body {
  min-width: 0;
}

.timeline-event__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-event__heading h4 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.timeline-event .event-glyph {
  width: 32px;
  height: 32px;
}

.timeline-event .event-venue {
  margin-top: 7px;
  color: var(--vermilion);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.timeline-event .event-desc {
  margin-top: 10px;
  color: #625c53;
  font-size: 13px;
  line-height: 1.65;
}

.timeline-event .event-dress {
  gap: 7px;
  margin-top: 13px;
  color: #625c53;
  font-size: 10px;
}

.event-dress__label {
  margin-right: 2px;
  color: var(--ink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-event .event-cal {
  width: 44px;
  height: 44px;
  margin-top: -5px;
}

.timeline-event .event-cal .icon {
  width: 15px;
  height: 15px;
}

.celebration-day__note {
  display: flex;
  grid-column: 2;
  grid-row: 2;
  align-items: flex-start;
  gap: 9px;
  margin-top: 4px;
  padding: 19px 28px 21px;
  border-top: 1px solid var(--line);
  background: rgba(239, 229, 213, 0.38);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.celebration-day__note .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 2px;
  color: var(--vermilion);
}

.day-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.day-pager__button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(251, 247, 239, 0.55);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.day-pager__button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--paper-soft);
  transform: translateY(-1px);
}

.day-pager__button:disabled {
  opacity: 0.32;
  cursor: default;
}

.day-pager__button--next {
  margin-left: auto;
  text-align: right;
}

.day-pager__button--previous .icon {
  transform: rotate(180deg);
}

.day-pager__button span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.day-pager__button small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.day-pager__button strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}

.schedule-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.schedule-foot p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.schedule-foot .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  flex: none;
}

@keyframes photo-in {
  from { transform: scale(1.045); opacity: 0.35; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Travel ------------------------------------------------------------------ */

.travel {
  background:
    radial-gradient(ellipse at 92% 10%, rgba(242, 195, 123, 0.18), transparent 31%),
    radial-gradient(ellipse at 6% 76%, rgba(44, 93, 95, 0.1), transparent 36%),
    var(--paper-soft);
}

.travel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
  align-items: stretch;
}

.travel-grid > *,
.rsvp-grid > * {
  min-width: 0;
}

.planner-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 3.1vw, 38px);
  border: 1px solid rgba(33, 28, 23, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.planner-head h3 {
  margin-top: 17px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.5vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.planner-head p {
  max-width: 390px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid rgba(33, 28, 23, 0.08);
  border-radius: 999px;
  background: var(--paper-deep);
}

.mode-switch button {
  min-height: 38px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.mode-switch button:hover {
  color: var(--ink);
}

.mode-switch button.is-active {
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(50, 32, 18, 0.08);
}

.planner-form {
  margin-top: 22px;
}

.planner-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field-label {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.field-optional {
  color: var(--muted-light);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(169, 70, 44, 0.1);
}

.field input[type="date"] {
  color-scheme: light;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  appearance: none;
  padding-right: 40px;
}

.select-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.field-hint {
  min-height: 13px;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.45;
}

.field-hint.is-hidden {
  visibility: hidden;
}

.date-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.date-fields .field,
.date-fields input,
.date-fields select {
  min-width: 0;
  max-width: 100%;
}

/* Native date inputs keep their calendar picker, but iOS gives them an
   intrinsic width that can exceed the card. The real input is transparent and
   fills this wrapper; only the fixed-width display is painted. */
.date-control {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.date-control:hover {
  border-color: var(--line-strong);
}

.date-control:focus-within {
  border-color: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(169, 70, 44, 0.1);
}

.date-control input[type="date"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.date-control input[type="date"]:focus {
  outline: none;
}

.date-display {
  display: block;
  width: 100%;
  padding: 12px 42px 12px 14px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.date-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

@media (max-width: 520px) {
  .date-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

.planner-form .btn {
  margin-top: 18px;
}

.planner-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.travel-desk-link {
  display: flex;
  margin: 15px auto 0;
  font-size: 9px;
  color: var(--muted);
  border-bottom-color: transparent;
}

.travel-desk-link:hover {
  border-bottom-color: var(--vermilion);
}

.planner-meta {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.planner-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.meta-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  background: var(--marigold-pale);
  color: var(--vermilion);
}

.meta-icon .icon {
  width: 13px;
  height: 13px;
}

.planner-meta-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.planner-meta-item strong {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

.planner-meta-item span:not(.meta-icon) {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.map-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(33, 28, 23, 0.12);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: var(--shadow-card);
}

.map-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
}

.map-eyebrow {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.map-topbar h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.map-switch {
  display: flex;
  gap: 2px;
  flex: none;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.map-switch button {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.map-switch button:hover {
  color: var(--ink);
}

.map-switch button.is-active {
  background: var(--ink);
  color: var(--cream);
}

.map-shell {
  position: relative;
  flex: 1;
  min-height: 420px;
  margin: 0 12px;
  overflow: hidden;
  border-radius: 14px;
  background: #e2e9e3;
}

.map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background:
    radial-gradient(ellipse at 60% 30%, #eef0e7, transparent 50%),
    #e2e9e3;
}

.leaflet-container {
  background: #e2e9e3;
  font-family: var(--font-sans);
  font-size: 11px;
}

/* Keep the map panes free of filters and blend modes. Safari and Chrome can
   drop the fixed header layer while a filtered Leaflet tile pane is scrolling. */
.leaflet-tile-pane {
  /* no filter */
}

.leaflet-bar {
  border: 0 !important;
  box-shadow: 0 8px 22px -14px rgba(33, 28, 23, 0.5) !important;
}

.leaflet-bar a {
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  border-bottom-color: rgba(33, 28, 23, 0.1) !important;
  background: rgba(251, 246, 238, 0.94) !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
  transition: background-color 0.2s var(--ease) !important;
}

.leaflet-bar a:hover {
  background: var(--cream) !important;
}

.leaflet-control-attribution {
  padding: 2px 6px !important;
  background: rgba(251, 246, 238, 0.94) !important;
  color: var(--muted) !important;
  font-size: 8px !important;
}

.leaflet-control-attribution a {
  color: var(--ink-soft) !important;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  background: var(--paper-soft) !important;
  color: var(--ink) !important;
  box-shadow: 0 18px 40px -24px rgba(33, 28, 23, 0.55) !important;
}

.leaflet-popup-tip {
  background: var(--paper-soft) !important;
}

.leaflet-popup-content {
  margin: 13px 16px !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.map-popup-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-popup-row strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
}

.map-popup-row span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-pin-shell {
  background: transparent !important;
  border: 0 !important;
}

.map-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 140px;
  color: var(--ink);
  text-align: center;
}

.map-pin::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(169, 70, 44, 0.16);
  transform: translateX(-50%) scale(0.5);
  opacity: 0;
  animation: pin-pulse 2.8s var(--ease-soft) infinite;
  pointer-events: none;
}

.map-pin--end::before {
  animation-delay: 0.5s;
}

.map-pin-dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--paper-soft);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 7px 16px -8px rgba(33, 28, 23, 0.7);
}

.map-pin--end .map-pin-dot {
  background: var(--vermilion);
}

.map-pin-dot .icon {
  width: 14px;
  height: 14px;
}

.map-pin-label {
  display: block;
  width: max-content;
  max-width: 140px;
  padding: 4px 8px;
  border: 1px solid rgba(33, 28, 23, 0.1);
  border-radius: 999px;
  background: rgba(251, 246, 238, 0.94);
  color: var(--ink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: 0 4px 10px -7px rgba(33, 28, 23, 0.45);
  white-space: nowrap;
}

.map-legend {
  position: absolute;
  z-index: 500;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(33, 28, 23, 0.09);
  border-radius: 999px;
  background: rgba(251, 246, 238, 0.96);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 4px 16px -10px rgba(33, 28, 23, 0.4);
  pointer-events: none;
}

.map-legend-line {
  position: relative;
  display: block;
  width: 26px;
  height: 2px;
  background: var(--vermilion);
}

.map-legend-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vermilion);
  transform: translateY(-50%);
}

.route-line {
  animation: route-dash 1.5s linear infinite;
}

.map-touch-hint {
  position: absolute;
  z-index: 620;
  bottom: 14px;
  left: 50%;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid rgba(33, 28, 23, 0.12);
  border-radius: 999px;
  background: rgba(251, 246, 238, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 22px -14px rgba(33, 28, 23, 0.5);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.map-touch-hint:hover {
  background: var(--cream);
}

@keyframes route-dash {
  to { stroke-dashoffset: -34; }
}

.map-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  min-height: 420px;
  padding: 32px;
  text-align: center;
}

.map-fallback p {
  max-width: 300px;
  color: var(--muted);
  font-size: 12px;
}

.map-fallback a {
  color: var(--vermilion);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-fallback-art {
  position: relative;
  width: 240px;
  height: 130px;
  overflow: hidden;
  border-radius: 12px;
  background: #ebe3d5;
}

.fallback-lake {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 92px;
  height: 58px;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  background: #cfd9d3;
}

.fallback-route {
  position: absolute;
  top: 38px;
  left: 30px;
  width: 136px;
  height: 60px;
  border: 2px dashed var(--vermilion);
  border-color: var(--vermilion) transparent transparent var(--vermilion);
  border-radius: 60% 20% 0 0;
  transform: rotate(-14deg);
}

.fallback-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 2px 5px rgba(33, 28, 23, 0.25);
}

.fallback-pin--start { top: 30px; left: 24px; }
.fallback-pin--end { top: 58px; right: 22px; background: var(--vermilion); }

.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 24px;
}

.route-stats {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.route-stats strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.route-stats span {
  color: var(--muted);
  font-size: 10px;
}

.map-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 0 24px 18px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.map-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: var(--olive);
}

.travel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.travel-foot p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.travel-foot .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  flex: none;
}

@keyframes pin-pulse {
  0% { transform: translateX(-50%) scale(0.45); opacity: 0.65; }
  70%, 100% { transform: translateX(-50%) scale(1.35); opacity: 0; }
}

/* RSVP -------------------------------------------------------------------- */

.rsvp {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 6%, rgba(242, 195, 123, 0.2), transparent 33%),
    radial-gradient(ellipse at 12% 44%, rgba(44, 93, 95, 0.08), transparent 36%),
    var(--paper-tint);
  border-top: 1px solid rgba(28, 43, 44, 0.07);
}

.rsvp::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.33;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='70' viewBox='0 0 190 70'%3E%3Cpath d='M0 22c27-18 48-18 75 0s48 18 75 0 29-15 50-7M-12 54c27-18 48-18 75 0s48 18 75 0 29-15 50-7' fill='none' stroke='%232c5d5f' stroke-opacity='.15' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 190px 70px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 28%, transparent 76%, rgba(0,0,0,.35));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 28%, transparent 76%, rgba(0,0,0,.35));
}

.rsvp-motif {
  position: absolute;
  top: -282px;
  right: -8vw;
  width: min(620px, 58vw);
  color: var(--sea);
  opacity: 0.1;
  pointer-events: none;
}

.rsvp-motif svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.rsvp .container {
  position: relative;
}

.rsvp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: 22px;
}

.rsvp-grid--single {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.rsvp-grid--single .rsvp-card {
  width: 100%;
  margin: 0 auto;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  color: #8f3926;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 12px;
}

#rsvpSubmit.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.rsvp-card {
  --control-h: 56px;
  min-width: 0;
  padding: clamp(26px, 3.2vw, 40px);
  border: 1px solid rgba(33, 28, 23, 0.12);
  border-radius: var(--radius);
  background: var(--paper-soft);
  box-shadow: var(--shadow-card);
  scroll-margin-top: 104px;
  scroll-margin-top: calc(104px + env(safe-area-inset-top));
}

#rsvpForm .field input,
#rsvpForm .field select,
#rsvpForm .check-line--boxed,
#rsvpForm .choice-inner {
  min-height: var(--control-h);
}

.phone-input {
  display: grid;
  grid-template-columns: minmax(116px, 0.58fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.phone-code {
  min-width: 0;
}

.phone-code select {
  width: 100%;
  padding-right: 28px;
  font-size: 12px;
}

.phone-code .select-icon {
  right: 10px;
  width: 12px;
  height: 12px;
}

.phone-input input {
  min-width: 0;
}

.rsvp-phone-hint {
  min-height: 0;
}

#rsvpForm .field textarea {
  min-height: 112px;
}

#rsvpForm .check-line--boxed {
  width: 100%;
  padding-top: 9px;
  padding-bottom: 9px;
}

#rsvpForm .rsvp-submit {
  min-height: var(--control-h);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.form-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(169, 74, 52, 0.2);
  border-radius: 50%;
  background: var(--vermilion-soft);
  color: var(--vermilion);
}

.form-mark svg {
  width: 27px;
  height: 27px;
}

.form-eyebrow {
  margin-bottom: 4px;
  color: var(--vermilion);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.form-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.3vw, 2.35rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

#rsvpForm {
  padding-top: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.choice-group {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pill-choice {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.pill-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 59px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.pill-choice:hover .choice-inner {
  border-color: var(--line-strong);
}

.choice-dot {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.choice-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}

.pill-choice input:checked + .choice-inner {
  border-color: var(--vermilion);
  background: #fbefe9;
  box-shadow: 0 0 0 1px var(--vermilion) inset;
}

.pill-choice input:checked + .choice-inner .choice-dot {
  border-color: var(--vermilion);
  background: var(--vermilion);
}

.pill-choice input:checked + .choice-inner .choice-dot::after {
  opacity: 1;
  transform: scale(1);
}

.pill-choice input:focus-visible + .choice-inner {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

.choice-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.choice-copy strong {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}

.choice-copy small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  cursor: pointer;
}

.check-line input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
  color: var(--cream);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.check-box .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.check-line input:checked + .check-box {
  border-color: var(--vermilion);
  background: var(--vermilion);
}

.check-line input:checked + .check-box .icon {
  opacity: 1;
  transform: scale(1);
}

.check-line input:focus-visible + .check-box {
  outline: 2px solid var(--vermilion);
  outline-offset: 3px;
}

.check-line--boxed {
  align-items: center;
  min-height: 50px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color 0.25s var(--ease);
}

.check-line--boxed:hover {
  border-color: var(--line-strong);
}

.check-line--boxed > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-line--boxed strong {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.check-line--boxed small {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.attending-fields {
  padding-top: 3px;
}

.rsvp-submit {
  margin-top: 7px;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.6;
}

.form-note .icon {
  width: 11px;
  height: 11px;
  margin-top: 2px;
  color: var(--olive);
}

/* RSVP success ------------------------------------------------------------ */

.rsvp-success {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 8px 14px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 20px;
  border: 1px solid rgba(169, 74, 52, 0.2);
  border-radius: 50%;
  background: var(--vermilion-soft);
  color: var(--vermilion);
}

.success-mark svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.35;
}

.rsvp-success h3 {
  max-width: 440px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.rsvp-success h3:focus {
  outline: none;
}

.success-message {
  max-width: 380px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.success-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.success-summary div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 10px;
  text-align: left;
}

.success-summary div + div {
  border-left: 1px solid var(--line);
}

.success-summary span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.success-summary strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

.petal-burst {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  top: 34%;
  left: 50%;
  width: 9px;
  height: 14px;
  border-radius: 60% 40% 60% 40%;
  background: var(--marigold);
  opacity: 0;
  animation: petal-fall 1.25s var(--ease-soft) forwards;
  animation-delay: var(--delay, 0s);
}

.petal:nth-child(3n) {
  background: var(--vermilion);
  width: 7px;
  height: 11px;
}

.petal:nth-child(3n + 1) {
  width: 6px;
  height: 10px;
}

@keyframes petal-fall {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0);
  }
  12% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate(var(--x, 0px), var(--y, 90px)) rotate(var(--r, 160deg));
  }
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 92px) 0 calc(24px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 18% 0, rgba(214, 154, 58, 0.09), transparent 38%),
    radial-gradient(ellipse at 96% 12%, rgba(44, 93, 95, 0.22), transparent 34%),
    var(--dark);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 26px;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='30' viewBox='0 0 220 30'%3E%3Cpath d='M0 11c28-18 50-18 78 0s50 18 78 0 34-16 64-5M-20 26c28-18 50-18 78 0s50 18 78 0 34-16 64-5' fill='none' stroke='%23eccb92' stroke-opacity='.7' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 220px 30px;
  pointer-events: none;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(36px, 5vw, 58px);
  border-bottom: 1px solid rgba(248, 242, 232, 0.12);
}

.footer-eyebrow {
  margin-bottom: 12px;
  color: var(--marigold-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-names {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.footer-names em {
  color: var(--marigold-soft);
}

.footer-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 7px;
  color: rgba(248, 242, 232, 0.64);
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-align: right;
}

.footer-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: rgba(248, 242, 232, 0.5);
  font-size: 9px;
  line-height: 1.4;
}

.footer-live .icon {
  width: 11px;
  height: 11px;
}

.footer-date .text-link {
  margin-top: 12px;
}

.footer-middle {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 8vw, 110px);
  padding: 44px 0;
  border-bottom: 1px solid rgba(248, 242, 232, 0.12);
}

.footer-label {
  margin-bottom: 14px;
  color: rgba(248, 242, 232, 0.5);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-contact-block a {
  width: max-content;
  color: rgba(248, 242, 232, 0.75);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer-contact-block a:hover {
  color: var(--marigold-soft);
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact-block span {
  margin-top: 9px;
  color: rgba(248, 242, 232, 0.5);
  font-size: 9px;
  line-height: 1.6;
}

.footer-travel-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-travel-block a {
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  color: rgba(248, 242, 232, 0.75);
  font-size: 11px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer-travel-block a .icon {
  width: 10px;
  height: 10px;
  color: var(--marigold-soft);
  transition: transform 0.3s var(--ease);
}

.footer-travel-block a:hover {
  color: var(--marigold-soft);
}

.footer-travel-block a:hover .icon {
  transform: translate(2px, -2px);
}

.footer-travel-note {
  max-width: 230px;
  margin-top: 10px;
  color: rgba(248, 242, 232, 0.5);
  font-size: 9px;
  line-height: 1.6;
}

.footer-date .footer-live {
  justify-content: flex-end;
  align-self: flex-end;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: rgba(248, 242, 232, 0.48);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.back-to-top {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(248, 242, 232, 0.2);
  border-radius: 50%;
  color: rgba(248, 242, 232, 0.65);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.back-to-top:hover {
  border-color: var(--marigold-soft);
  background: rgba(248, 242, 232, 0.06);
  color: var(--marigold-soft);
  transform: translateY(-2px);
}

.back-to-top .icon {
  width: 12px;
  height: 12px;
}

/* Toast ------------------------------------------------------------------- */

.toast {
  position: fixed;
  z-index: 2500;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 20px;
  border: 1px solid rgba(248, 242, 232, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 40px -20px rgba(33, 28, 23, 0.55);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript-note {
  position: fixed;
  z-index: 3000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.noscript-note a {
  color: var(--vermilion);
  text-decoration: underline;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero {
    padding-top: 126px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.78fr);
    gap: 44px;
  }

  .hero-visual {
    width: min(100%, 410px);
  }

  .hero-note {
    right: 10px;
  }

  .hero-seal {
    left: -18px;
    width: 108px;
    height: 108px;
  }

  .countdown-grid {
    gap: 40px;
  }

  .day-content {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 980px) {
  .section-head {
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: calc(118px + env(safe-area-inset-top));
    padding-bottom: 28px;
    background:
      radial-gradient(ellipse at 100% 10%, rgba(44, 93, 95, 0.06), transparent 36%),
      var(--paper);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 690px;
    padding: 20px 0 0;
  }

  .hero-visual {
    justify-self: center;
    width: min(78vw, 470px);
    padding-right: 0;
  }

  .hero-seal {
    bottom: 46px;
    left: -24px;
  }

  .hero-note {
    right: -24px;
  }

  .hero-title {
    font-size: clamp(4.2rem, 11vw, 7rem);
  }

  .hero-foot {
    margin-top: 40px;
  }

  .countdown-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
  }

  .countdown-copy {
    padding-bottom: 0;
  }

  .countdown {
    max-width: 660px;
  }

  .countdown-copy h2 {
    max-width: 560px;
  }

  .day-panel {
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  }

  .day-tab {
    grid-template-columns: 46px minmax(0, 1fr) 7px;
    gap: 11px;
    padding: 13px;
  }

  .day-tab-copy strong {
    font-size: 1rem;
  }

  .travel-grid,
  .rsvp-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rsvp-grid--single {
    justify-content: stretch;
  }

  .planner-card {
    max-width: none;
  }

  .map-shell,
  .map {
    min-height: 460px;
  }

  .rsvp-card,
}

@media (max-width: 820px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    padding-left: 12px;
  }

  .menu-toggle span {
    display: none;
  }

  .header-rsvp {
    min-height: 38px;
    padding: 0 17px;
    font-size: 8px;
  }

  .section-head {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
  }

  .section-aside {
    max-width: 440px;
    padding-bottom: 0;
  }

  .countdown-motif {
    top: 20px;
    right: -26vw;
    width: 88vw;
    opacity: 0.08;
  }

  .rsvp-motif {
    top: -130px;
    right: -28vw;
    width: 86vw;
    opacity: 0.07;
  }

  .day-tabs {
    gap: 7px;
  }

  .day-tab {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 5px;
    min-height: 92px;
    padding: 12px 13px;
  }

  .day-tab-date {
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    padding-right: 0;
    padding-bottom: 5px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .day-tab.is-active .day-tab-date {
    border-color: rgba(248, 242, 232, 0.16);
  }

  .day-tab-date span {
    font-size: 7px;
  }

  .day-tab-date strong {
    font-size: 1.3rem;
  }

  .day-tab-copy strong {
    font-size: 0.9rem;
    white-space: normal;
  }

  .day-tab-copy small {
    display: none;
  }

  .day-tab-dot {
    display: none;
  }

  .day-panel {
    grid-template-columns: 1fr;
  }

  .day-visual {
    margin: 10px 10px 0;
    border-radius: 14px;
  }

  .day-photo {
    height: 420px;
    aspect-ratio: auto;
    border-radius: 8px 8px 0 0;
  }

  .day-photo img {
    object-position: center 42%;
  }

  .day-content {
    padding: 24px 20px 22px;
  }

  .day-content-head {
    padding-bottom: 12px;
  }

  .event-row {
    grid-template-columns: 78px minmax(0, 1fr) 30px;
    gap: 12px;
    padding: 19px 0;
  }

  .event-desc {
    font-size: 12px;
  }

  .schedule-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .travel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .map-topbar {
    padding: 18px 18px 15px;
  }

  .map-shell,
  .map,
  .map-fallback {
    min-height: 400px;
  }

  .map-footer {
    padding: 15px 18px;
  }

  .map-note {
    padding: 0 18px 16px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .footer-date {
    align-items: flex-start;
    text-align: left;
  }

  .footer-date .footer-live {
    justify-content: flex-start;
    align-self: flex-start;
  }

  .footer-middle {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .footer-bottom-right {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-y: 76px;
  }

  .site-header.is-scrolled {
    background: #f3ebdd;
  }

  .header-inner {
    min-height: 72px;
    gap: 16px;
  }

  .section {
    scroll-margin-top: 72px;
    scroll-margin-top: calc(72px + env(safe-area-inset-top));
  }

  .menu-toggle {
    border-left: 0;
    padding-left: 2px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-names {
    font-size: 14px;
  }

  .brand-sub {
    font-size: 7px;
  }

  .brand-text {
    gap: 2px;
  }

  .hero {
    padding-top: calc(102px + env(safe-area-inset-top));
  }

  .hero-overline {
    margin-bottom: 21px;
  }

  .hero-script {
    margin-bottom: 9px;
    font-size: 1.02rem;
  }

  .hero-title {
    font-size: clamp(3.65rem, 17vw, 5.5rem);
  }

  .hero-title-line--second {
    padding-left: 10px;
  }

  .hero-lede {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 26px;
  }

  .hero-meta-rule {
    height: 32px;
  }

  .meta-value {
    font-size: 1rem;
  }

  .hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-meta-rule {
    display: none;
  }

  .hero-actions {
    gap: 19px;
    margin-top: 28px;
  }

  .hero-visual {
    width: min(84vw, 400px);
  }

  .hero-frame {
    aspect-ratio: 4 / 5.1;
  }

  .hero-seal {
    width: 92px;
    height: 92px;
    left: -12px;
    bottom: 34px;
    padding: 7px;
  }

  .seal-text {
    font-size: 7.5px;
  }

  .hero-note {
    right: -8px;
    top: 24px;
    min-width: 172px;
    padding: 10px 12px 10px 10px;
  }

  .hero-note strong {
    font-size: 8px;
  }

  .hero-note small {
    font-size: 7px;
  }

  .hero-frame figcaption {
    right: 22px;
    bottom: 20px;
    left: 22px;
    font-size: 7px;
  }

  .hero-foot {
    font-size: 7px;
  }

  .hero-coords {
    display: none;
  }

  .countdown-band {
    padding-top: 64px;
  }

  .countdown-copy h2 {
    font-size: clamp(2.65rem, 12vw, 3.5rem);
  }

  .countdown-copy > p:not(.section-kicker) {
    font-size: 13px;
  }

  .countdown {
    gap: 0;
    margin-top: 4px;
  }

  .count-num {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .count-label {
    font-size: 6.5px;
    letter-spacing: 0.17em;
  }

  .count-sep {
    height: 32px;
    margin: 0 8px;
    transform: translateY(-5px);
  }

  .countdown-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 42px;
    font-size: 7px;
  }

  .section-title {
    font-size: clamp(2.5rem, 12.5vw, 3.7rem);
  }

  .section-kicker {
    margin-bottom: 19px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-aside {
    font-size: 13px;
  }

  .day-tabs {
    gap: 5px;
  }

  .day-tab {
    min-height: 83px;
    padding: 10px;
    border-radius: 10px;
  }

  .day-tab-date {
    gap: 5px;
    padding-bottom: 4px;
  }

  .day-tab-date strong {
    font-size: 1.18rem;
  }

  .day-tab-date span {
    font-size: 6.5px;
    letter-spacing: 0.09em;
  }

  .day-tab-copy strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .day-photo {
    height: 380px;
  }

  .day-note {
    padding: 13px 16px 15px;
    font-size: 9px;
  }

  .day-photo h3 {
    font-size: 1.7rem;
  }

  .event-row {
    grid-template-columns: 1fr 28px;
    gap: 5px 10px;
  }

  .event-time {
    grid-column: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    padding-top: 0;
  }

  .event-time strong {
    font-size: 0.95rem;
  }

  .event-details {
    grid-column: 1;
  }

  .event-cal {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .event-details h4 {
    font-size: 1.3rem;
  }

  .event-glyph {
    width: 29px;
    height: 29px;
  }

  .event-glyph .icon {
    width: 14px;
    height: 14px;
  }

  .event-desc {
    margin-top: 7px;
  }

  .event-dress {
    font-size: 9px;
  }

  .day-content {
    padding: 20px 16px 18px;
  }

  .day-content-head span:first-child {
    font-size: 8px;
  }

  .schedule-foot {
    margin-top: 18px;
    font-size: 9px;
  }

  .planner-card {
    padding: 22px 18px;
  }

  .planner-head h3 {
    font-size: 1.9rem;
  }

  .mode-switch {
    margin-top: 20px;
  }

  .date-fields {
    gap: 9px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 12px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 17px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .check-line--boxed {
    min-height: 54px;
  }

  .rsvp-card {
    padding: 22px 18px 19px;
  }

  .form-heading {
    gap: 13px;
    padding-bottom: 20px;
  }

  .form-heading h3 {
    font-size: 1.95rem;
  }

  .choice-inner {
    min-height: 54px;
  }

  .map-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .map-topbar h3 {
    font-size: 1.55rem;
  }

  .map-switch {
    align-self: stretch;
  }

  .map-switch button {
    flex: 1;
  }

  .map-shell,
  .map,
  .map-fallback {
    min-height: 350px;
  }

  .map-legend {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    font-size: 7px;
    white-space: nowrap;
  }

  .map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .map-footer .text-link {
    align-self: stretch;
    justify-content: space-between;
  }

  .rsvp-success {
    padding: 9px 0 7px;
  }

  .success-summary strong {
    font-size: 12px;
  }

  .success-actions {
    flex-direction: column;
    gap: 17px;
    width: 100%;
  }

  .success-actions .btn {
    width: 100%;
  }

  .footer-names {
    font-size: clamp(3.15rem, 14vw, 4.7rem);
  }

  .footer-middle {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    font-size: 7px;
  }

  .footer-bottom-right {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }

  .mobile-menu {
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .mobile-nav {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .mobile-nav a {
    padding: 16px 0;
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }

  .mobile-menu-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu-foot .btn {
    width: 100%;
  }

  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 11px 16px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .brand-text {
    display: none;
  }

  .header-inner {
    gap: 12px;
  }

  .hero-title {
    font-size: 3.4rem;
  }

  .hero-note {
    display: none;
  }

  .count-num {
    font-size: 2.1rem;
  }

  .count-sep {
    margin: 0 5px;
  }

  .date-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .celebration-grid {
    gap: 16px;
  }

  .celebration-day__masthead {
    padding: 25px 24px 27px;
  }

  .celebration-day__body {
    padding-right: 22px;
    padding-left: 22px;
  }

  .timeline-event {
    grid-template-columns: 70px minmax(0, 1fr) 44px;
    gap: 11px;
  }

  .celebration-day__note {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 1000px) {
  .celebration-day {
    display: flex;
    flex-direction: column;
  }

  .celebration-day[hidden] {
    display: none;
  }

  .celebration-day__masthead {
    min-height: 260px;
  }

  .celebration-day__body {
    flex: 1;
  }

  .celebration-day__date {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .timeline-event {
    grid-template-columns: 88px minmax(0, 1fr) 44px;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .day-switch {
    gap: 4px;
    margin-bottom: 16px;
    padding: 5px;
    border-radius: 14px;
  }

  .day-switch__button {
    gap: 8px;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .day-switch__label strong {
    font-size: 1.05rem;
  }

  .day-switch__label small,
  .day-switch__date {
    font-size: 7px;
    letter-spacing: 0.09em;
  }

  .day-pager__button {
    flex: 1;
    justify-content: center;
    min-height: 50px;
    padding: 9px 11px;
  }

  .day-pager__button--next {
    justify-content: flex-end;
  }

  .day-pager__button--previous {
    justify-content: flex-start;
  }

  .celebration-day {
    border-radius: 18px;
  }

  .celebration-day__masthead {
    min-height: 0;
    padding: 23px 22px 25px;
  }

  .celebration-day__meta {
    align-items: flex-start;
    font-size: 7px;
  }

  .celebration-day__date {
    margin: 26px 0 22px;
  }

  .celebration-day__date strong {
    font-size: 5.2rem;
  }

  .celebration-day__masthead h3 {
    max-width: 290px;
    font-size: 1.85rem;
  }

  .celebration-day__body {
    padding: 19px 20px 0;
  }

  .timeline-event {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 10px 14px;
    padding: 22px 0;
  }

  .timeline-event__time {
    grid-column: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
    padding-top: 1px;
  }

  .timeline-event__body {
    grid-column: 1;
  }

  .timeline-event .event-cal {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: -7px;
  }

  .timeline-event__heading h4 {
    font-size: 1.4rem;
  }

  .celebration-day__note {
    padding: 17px 20px 19px;
    font-size: 9px;
  }
}

@media (max-width: 340px) {
  .celebration-day__masthead h3 {
    font-size: 1.65rem;
  }

  .celebration-day__body {
    padding-right: 17px;
    padding-left: 17px;
  }
}

/* Reduced motion ---------------------------------------------------------- */

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

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

  .js .hero-copy > *,
  .js .hero-visual,
  .js .hero-foot,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    transition: none;
  }

  .celebration-day:hover,
  .day-switch__button:hover,
  .day-pager__button:hover:not(:disabled) {
    transform: none;
  }

  .hero-motif,
  .hero-seal .seal-ring,
  .scroll-cue-line,
  .route-line,
  .map-pin::before {
    animation: none !important;
  }
}
