/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --bg:          #FBF4E8;
  --bg-card:     #FFFDF8;
  --bg-warm:     #F5EAD6;
  --bg-warm-end: #F1E3CA;
  --bg-rsvp:     #EAD7B6;
  --text-dark:   #2B1A12;
  --text-body:   #4A3A2C;
  --text-muted:  #6E5A48;
  --text-label:  #9A876F;
  --terra:       #C2552E;
  --rust:        #9E3D22;
  --gold:        #A87B33;
  --gold-light:  #C49A4A;
  --border:      rgba(168,123,51,0.28);
  --border-med:  rgba(168,123,51,0.40);
  --shadow:      0 18px 40px -30px rgba(120,70,20,0.6);
  --shadow-sm:   0 16px 34px -30px rgba(120,70,20,0.6);
  --radius:      4px;
  --max-w:       1160px;
  --scroll-pad:  86px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-pad);
}
body {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul[role="list"] { list-style: none; }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes floatfin {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes scrollcue {
  0%   { transform: translateY(0);   opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__jharokha { animation: none !important; }
  .scroll-cue__dot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .back-to-top { transition: none !important; }
  .faq__a { transition: none !important; }
}

/* ─── SCROLL-REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .85s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ─── SHARED ELEMENTS ─────────────────────────────────────── */
.diamond {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--terra);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.diamond--sm   { width: 5px; height: 5px; background: var(--gold); }
.diamond--gold { background: #D9B86A; }

.eyebrow {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.30em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.btn--primary {
  color: var(--bg);
  background: var(--terra);
}
.btn--primary:hover { background: var(--rust); }
.btn--primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--outline {
  color: var(--rust);
  background: none;
  border: 1px solid var(--border-med);
  padding: 11px 24px;
}
.btn--outline:hover { background: rgba(168,123,51,0.08); }
.btn--full { width: 100%; text-align: center; padding: 17px; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section {
  background: var(--bg);
  padding: 96px 24px;
}
.section--warm {
  background: linear-gradient(180deg, var(--bg-warm), var(--bg-warm-end));
  border-top: 1px solid rgba(168,123,51,0.2);
  border-bottom: 1px solid rgba(168,123,51,0.2);
}
.section--rsvp {
  background: linear-gradient(180deg, var(--bg-warm-end), var(--bg-rsvp));
  border-top: 1px solid rgba(168,123,51,0.2);
  padding: 96px 24px;
}
.section__header {
  text-align: center;
  margin-bottom: 54px;
}
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section__intro {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(251,244,232,0.84);
  border-bottom: 1px solid rgba(168,123,51,0.28);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}
.nav__amp { font-style: italic; color: var(--terra); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.nav__link {
  font-family: 'Marcellus', serif;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--terra); }
.nav__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.nav__link--rsvp {
  color: var(--bg);
  background: var(--terra);
  padding: 11px 24px;
  border-radius: 2px;
}
.nav__link--rsvp:hover { background: var(--rust); color: var(--bg); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 70px 24px 96px;
  background: radial-gradient(125% 95% at 50% 6%, #FCF6EB 0%, #F6ECD9 54%, #EFE0C6 100%);
  overflow: hidden;
}
.hero__lattice {
  position: absolute; inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg,  transparent 0 24px, rgba(196,154,74,0.13) 24px 25px),
    repeating-linear-gradient(-45deg, transparent 0 24px, rgba(196,154,74,0.13) 24px 25px);
  mask-image: radial-gradient(120% 78% at 50% 32%, transparent 52%, #000 88%);
  -webkit-mask-image: radial-gradient(120% 78% at 50% 32%, transparent 52%, #000 88%);
}
.hero__frame {
  position: absolute;
  pointer-events: none;
}
.hero__frame--outer { inset: 30px; border: 1px solid rgba(168,123,51,0.45); }
.hero__frame--inner { inset: 36px; border: 1px solid rgba(168,123,51,0.22); }
.hero__content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.32em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--rust);
}
.hero__jharokha {
  filter: drop-shadow(0 22px 38px rgba(120,70,20,0.45));
  animation: floatfin 5s ease-in-out infinite;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(52px, 9vw, 92px);
  line-height: 0.95;
  margin: 30px 0 0;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}
.hero__amp { font-style: italic; color: var(--terra); }
.hero__date-venue {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.22em;
  font-size: 16px;
  color: #5A4636;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__intro {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  text-align: center;
  margin: 26px 0 0;
}
.hero__content .btn { margin-top: 32px; }
.scroll-cue {
  margin-top: 44px;
  width: 18px; height: 26px;
  border: 1px solid var(--gold);
  border-radius: 9px;
  position: relative;
}
.scroll-cue__dot {
  position: absolute;
  left: 50%; top: 6px;
  margin-left: -2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--terra);
  animation: scrollcue 1.8s ease-in-out infinite;
}

/* ─── COUNTDOWN ──────────────────────────────────────────── */
.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}
.countdown__unit {
  min-width: 132px;
  padding: 22px 10px;
  background: var(--bg);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -22px rgba(120,70,20,0.5);
  text-align: center;
}
.countdown__num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1;
  color: var(--terra);
}
.countdown__label {
  display: block;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.20em;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── SCHEDULE ───────────────────────────────────────────── */
.schedule {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}
.schedule__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.schedule__item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.schedule__item:hover { background: #FBEFD9; }
.schedule__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.schedule__item--active {
  background: #FBEFD9;
  transform: translateX(4px);
  box-shadow: 0 14px 30px -24px rgba(120,70,20,0.7);
}
.schedule__dot {
  width: 12px; height: 12px;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: box-shadow .25s ease;
}
.schedule__item--active .schedule__dot { box-shadow: 0 0 0 4px rgba(0,0,0,0.12); }
.schedule__meta { display: flex; flex-direction: column; gap: 2px; }
.schedule__day {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.14em;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-label);
}
.schedule__name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--text-dark);
  line-height: 1;
}
.schedule__time {
  margin-left: auto;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}
.schedule__card {
  background: var(--bg-card);
  border: 1px solid rgba(168,123,51,0.32);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 26px 56px -38px rgba(120,70,20,0.7);
}
.schedule__card-accent { height: 6px; }
.schedule__card-body { padding: 40px 40px 44px; }
.schedule__card-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.schedule__card-tag-text {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.22em;
  font-size: 12px;
  text-transform: uppercase;
}
.schedule__card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  margin: 0 0 8px;
  color: var(--text-dark);
}
.schedule__card-day {
  font-style: italic;
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.schedule__card-meta {
  display: flex;
  gap: 40px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.schedule__card-label {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 5px;
}
.schedule__card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
}
.schedule__card-desc {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 26px;
}
.schedule__card-dress {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(168,123,51,0.12);
  border: 1px solid rgba(168,123,51,0.4);
  border-radius: 999px;
}
.schedule__card-dress-label {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--rust);
}
.schedule__card-dress-val { font-size: 16px; color: var(--text-body); }

/* ─── CARDS ──────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 22px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid rgba(168,123,51,0.32);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.card__label {
  font-family: 'Marcellus', serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}
.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 10px;
  color: var(--text-dark);
}
.card__body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
}

/* Photo cards */
.card--photo {
  background: var(--bg-card);
  padding: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 18px 40px -32px rgba(120,70,20,0.6);
}
.card__photo {
  height: 150px;
  position: relative;
  border-bottom: 1px solid rgba(168,123,51,0.3);
  overflow: hidden;
}
.card__photo::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.4;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.2) 0 8px, transparent 8px 18px);
}
.card__photo-label {
  position: absolute;
  left: 12px; bottom: 10px;
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(43,26,18,0.55);
  z-index: 1;
}
.card__text { padding: 22px 24px 26px; }
.card--photo .card__title { font-size: 26px; margin-bottom: 8px; }
.card--photo .card__body  { font-size: 16px; line-height: 1.55; }

/* Icon cards */
.card--icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 40px; height: 40px;
  margin: 0 auto 18px;
  fill: var(--terra);
}
.card--icon .card__title { font-size: 23px; margin-bottom: 8px; text-align: center; }
.card--icon .card__body  { font-size: 15.5px; line-height: 1.55; text-align: center; }

/* Horizontal cards (India) */
.card--horizontal {
  display: flex;
  padding: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -32px rgba(120,70,20,0.6);
}
.card__thumb {
  width: 120px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(168,123,51,0.3);
}
.card__thumb::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.4;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.2) 0 8px, transparent 8px 18px);
}
.card--horizontal .card__photo-label {
  left: 8px; bottom: 8px;
}
.card--horizontal .card__text { padding: 22px 24px 24px; }
.card--horizontal .card__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.card--horizontal .card__title { font-size: 26px; margin-bottom: 8px; }
.card--horizontal .card__body  { font-size: 15.5px; line-height: 1.55; }

/* ─── ATTIRE ─────────────────────────────────────────────── */
.attire-table {
  background: var(--bg);
  border: 1px solid rgba(168,123,51,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 44px -32px rgba(120,70,20,0.6);
}
.attire-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(168,123,51,0.18);
  flex-wrap: wrap;
}
.attire-row--last { border-bottom: none; }
.attire-row__info { min-width: 200px; }
.attire-row__name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--text-dark);
  line-height: 1;
}
.attire-row__day {
  display: block;
  font-style: italic;
  font-size: 16px;
  color: #8A7560;
  margin-top: 3px;
}
.attire-row__dress { flex: 1; font-size: 18px; color: var(--text-body); }
.attire-row__swatches { display: flex; gap: 8px; }
.swatch {
  display: inline-block;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(43,26,18,0.15);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
}

/* ─── RSVP ───────────────────────────────────────────────── */
.rsvp-success {
  background: var(--bg);
  border: 1px solid var(--border-med);
  border-radius: 5px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 24px 50px -34px rgba(120,70,20,0.6);
}
.rsvp-success__arch {
  position: relative;
  width: 96px; height: 122px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 18px rgba(120,70,20,0.3));
}
.rsvp-success__arch-outer {
  position: absolute; inset: 0;
  clip-path: url(#rajArch);
  background: linear-gradient(160deg, #E0C079, #A87B33);
}
.rsvp-success__arch-inner {
  position: absolute; inset: 4px;
  clip-path: url(#rajArch);
  background: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  color: var(--bg);
  padding-top: 14px;
}

.rsvp-form {
  background: var(--bg);
  border: 1px solid var(--border-med);
  border-radius: 5px;
  padding: 40px;
  box-shadow: 0 24px 50px -34px rgba(120,70,20,0.6);
}
.form-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0; margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field__label {
  display: block;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.field__input {
  width: 100%;
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: var(--text-dark);
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(168,123,51,0.45);
  border-radius: 3px;
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
}
.field__input:focus { border-color: var(--terra); }
.field__input::placeholder { color: #B3A18C; }
.field__input--select { cursor: pointer; }
.field__input--textarea { resize: vertical; }

.rsvp-error {
  font-size: 16px;
  color: var(--rust);
  margin-bottom: 16px;
}

/* Turnstile widget responsive sizing */
.cf-turnstile {
  margin-bottom: 18px;
  transform: scale(0.9);
  transform-origin: 0 0;
}
@media (max-width: 640px) {
  .cf-turnstile {
    transform: scale(0.75);
  }
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq {
  background: var(--bg-card);
  border: 1px solid rgba(168,123,51,0.3);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 44px -34px rgba(120,70,20,0.6);
}
.faq__item { border-bottom: 1px solid rgba(168,123,51,0.2); }
.faq__item--last { border-bottom: none; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
  transition: background .2s ease;
}
.faq__q:hover { background: rgba(168,123,51,0.06); }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.faq__sign {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  color: var(--terra);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s ease, opacity .4s ease;
}
.faq__a.is-open {
  max-height: 300px;
  opacity: 1;
}
.faq__a p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  padding: 0 28px 24px;
}
.faq__a a { color: var(--terra); text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  position: relative;
  background: linear-gradient(180deg, #4A1822 0%, #3A141C 100%);
  padding: 80px 24px 56px;
  overflow: hidden;
  text-align: center;
}
.footer__lattice {
  position: absolute; inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg,  transparent 0 24px, rgba(196,154,74,0.25) 24px 25px),
    repeating-linear-gradient(-45deg, transparent 0 24px, rgba(196,154,74,0.25) 24px 25px);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 80%);
}
.footer__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.footer__finial {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
}
.footer__diamond {
  display: inline-block;
  width: 11px; height: 11px;
  background: linear-gradient(135deg, #E7CE92, #A87B33);
  transform: rotate(45deg);
}
.footer__stem {
  display: block;
  width: 2px; height: 11px;
  background: #A87B33;
  margin-top: -2px;
}
.footer__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  color: #F6E6C4;
  margin: 6px 0 0;
  white-space: nowrap;
}
.footer__amp { font-style: italic; color: #E2A24B; }
.footer__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-family: 'Marcellus', serif;
  letter-spacing: 0.24em;
  font-size: 13px;
  color: #E9D7B2;
}
.footer__note {
  font-style: italic;
  font-size: 19px;
  color: #D9B89A;
  margin: 28px 0 0;
}
.footer__contact {
  margin-top: 24px;
  font-size: 15px;
  color: #B58A78;
}
.footer__link { color: #E2A24B; text-decoration: none; }
.footer__link:hover { text-decoration: underline; }

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 52px; height: 52px;
  background: var(--terra);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(120,70,20,0.3);
  z-index: 40;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease, opacity .3s ease;
  opacity: 0;
}
.back-to-top:not([hidden]) { opacity: 1; }
.back-to-top[hidden] { display: flex; opacity: 0; pointer-events: none; }
.back-to-top:hover {
  background: var(--rust);
  box-shadow: 0 12px 32px rgba(120,70,20,0.4);
  transform: scale(1.08);
}
.back-to-top:active { transform: scale(0.96); }
.back-to-top svg { width: 24px; height: 24px; fill: var(--bg); }
.back-to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(251,244,232,0.97);
    backdrop-filter: blur(12px);
    padding: 20px 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(120,70,20,0.1);
  }
  .nav__links.is-open { display: flex; }
  .nav__inner { position: relative; }

  .schedule { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .hero { padding: 50px 20px 72px; }
  .hero__frame--outer { inset: 16px; }
  .hero__frame--inner { inset: 22px; }
  .hero__title { white-space: normal; }
  .hero__date-venue { font-size: 13px; gap: 10px; }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }

  .card--horizontal { flex-direction: column; }
  .card__thumb { width: 100%; height: 120px; border-right: none; border-bottom: 1px solid rgba(168,123,51,0.3); }

  .attire-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .attire-row__info { min-width: auto; }
  .attire-row__dress { flex: none; }

  .rsvp-form { padding: 24px 20px; }
  .form-grid--2 { grid-template-columns: 1fr; }

  .schedule__card-body { padding: 24px 20px 28px; }
  .schedule__item { padding: 14px 16px; }

  .back-to-top { bottom: 20px; right: 20px; }
}
