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

/* ─── PASSWORD GATE ─── */
#password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #E8E3DB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-inner {
  text-align: center;
  max-width: 380px;
  padding: 2rem;
}
.gate-names {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  color: #1E1A15;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.gate-names span {
  color: #4A6B52;
  font-size: 0.6em;
  margin: 0 0.3em;
}
.gate-prompt {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #6B6058;
  margin-bottom: 2rem;
  line-height: 1.6;
}
#gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
#gate-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(74,107,82,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.5);
  color: #1E1A15;
  text-align: center;
  width: 100%;
  max-width: 280px;
  outline: none;
  transition: border-color 0.2s;
}
#gate-input:focus {
  border-color: #4A6B52;
}
#gate-form button {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  background: #1E1A15;
  color: #E8E3DB;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
#gate-form button:hover {
  background: #3D352A;
}
.gate-error {
  display: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: #924E3B;
  margin-top: 0.5rem;
}

:root {
  --blush:       #DED7CD;
  --blush-deep:  #C4B49E;
  --rose:        #B5694D;
  --rose-dark:   #924E3B;
  --lavender:    #8A8578;
  --lavender-mid:#6E685C;
  --periwinkle:  #4A6B52;
  --sage:        #6B8F72;
  --sage-dark:   #3A5740;
  --gold:        #C89B3E;
  --gold-dark:   #A87A24;
  --white:       #E8E3DB;
  --ink:         #1E1A15;
  --ink-mid:     #3D352A;
  --ink-light:   #6B6058;
  --border:      rgba(74,107,82,0.18);
}

html { scroll-behavior: smooth; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--rose-dark);
  color: #F2EBE8;
  border-radius: 0 0 8px 8px;
  font-size: 0.8rem;
  text-decoration: none;
  z-index: 300;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 450;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ─── WATERCOLOR BLOBS (CSS) ─── */
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 55%;
  filter: blur(38px);
  opacity: 0.38;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(18px, -14px) scale(1.04); }
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(232,227,219,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(173,93,59,0.15);
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo-letter {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--rose-dark);
  line-height: 1;
}
.nav-logo-amp {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--periwinkle);
  line-height: 1;
}
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
.nav-links a:hover { color: var(--rose); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 210;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-mid);
  border-radius: 2px;
  position: absolute;
  left: 10px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger span:nth-child(1) { top: 10px; }
.nav-hamburger span:nth-child(2) { top: 21px; }
.nav-hamburger span:nth-child(3) { top: 32px; }
.nav-hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  /* Gradient fallback — replaced by hero-bg-photo when photo is present */
  background:
    radial-gradient(ellipse at 15% 5%,  rgba(196,180,158,0.3) 0%, transparent 42%),
    radial-gradient(ellipse at 85% 8%,  rgba(181,105,77,0.25) 0%, transparent 38%),
    radial-gradient(ellipse at 50% 38%, rgba(196,180,158,0.35) 0%, transparent 52%),
    radial-gradient(ellipse at 18% 72%, rgba(178,164,142,0.2) 0%, transparent 36%),
    radial-gradient(ellipse at 82% 65%, rgba(196,180,158,0.2) 0%, transparent 38%),
    var(--white);
}

/* Background photo layer — sits behind blobs in .hero-bg */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('photos/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 60%, rgba(0,0,0,0.7) 100%);
}
.hero-bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 227, 219, 0.28);
}

/* ─── PHOTO BREAK — Gallery Triptych ─── */
.photo-break {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--white) 0%, #E2DCD2 100%);
  text-align: center;
}

.photo-break-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--periwinkle);
  font-weight: 600;
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.photo-break-label::before,
.photo-break-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--periwinkle);
  opacity: 0.5;
}

.photo-break-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.photo-break-panel {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
}
.photo-break-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-break-panel:hover img { transform: scale(1.04); }

/* Side panels — shorter */
.photo-break-panel--1,
.photo-break-panel--3 { height: 360px; }

/* Center panel — featured, taller */
.photo-break-panel--2 {
  height: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.08);
}

.photo-break-panel--1 img { object-position: center; }
.photo-break-panel--2 img { object-position: 42% center; }
.photo-break-panel--3 img { object-position: 35% center; }
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.02em;
  animation: riseUp 1s ease 0.4s both;
  position: relative;
  z-index: 2;
}

.hero-names .name-1 { display: block; }
.hero-names .amp {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--rose);
  font-size: 0.32em;
  display: block;
  margin: 0.1em 0;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}
.hero-names .name-2 { display: block; }

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0 1.8rem;
  animation: riseUp 1s ease 0.6s both;
  position: relative;
  z-index: 2;
}
.ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose), transparent);
}
.ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--rose);
  transform: rotate(45deg);
  opacity: 0.6;
}

.hero-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
  letter-spacing: 0.08em;
  animation: riseUp 1s ease 0.7s both;
  position: relative;
  z-index: 2;
}
@keyframes riseUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  animation: bob 2.5s ease-in-out infinite;
}
.hero-scroll span { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-dark); font-weight: 700; }
.hero-scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--rose), transparent); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ─── BOTANICAL DIVIDER ─── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: transparent;
}
.divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose), transparent);
  opacity: 0.35;
}
.divider-diamond {
  width: 8px;
  height: 8px;
  background: var(--rose);
  transform: rotate(45deg);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ─── SECTION BASE ─── */
section { padding: 7rem 2rem; position: relative; overflow: hidden; scroll-margin-top: 80px; }
.section-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }


.section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--periwinkle);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 2.2rem;
}
.section-title em { font-style: italic; color: var(--rose-dark); }

/* ─── DETAILS (editorial stack) ─── */
#details { background: linear-gradient(180deg, var(--white) 0%, #E2DCD2 100%); }

#details,
#schedule,
#registry {
  border-top: none;
}

.details-editorial {
  text-align: center;
  max-width: 720px;
}

/* Each stacked block */
.ed-block {
  padding: 2.5rem 0;
}
.ed-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.ed-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
}
.ed-value--large {
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
}
.ed-sub {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-mid);
  margin-top: 0.5rem;
  letter-spacing: 0.03em;
}
.ed-addr {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--ink-light);
  margin-top: 0.6rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* Diamond divider between blocks */
.ed-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent 10%, var(--rose) 50%, transparent 90%);
  opacity: 0.3;
}
.ed-divider-diamond {
  width: 7px;
  height: 7px;
  background: var(--rose);
  transform: rotate(45deg);
  position: absolute;
  opacity: 1;
}

/* Side-by-side venue row */
.ed-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 1rem 0;
}
.ed-row .ed-block {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
}
.ed-row-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--rose), transparent);
  opacity: 0.3;
  flex-shrink: 0;
}

/* ─── STORY ─── */
#story {
  background: linear-gradient(180deg, #E2DCD2 0%, var(--white) 100%);
}
/* ─── STORY: Magazine Editorial Spread ─── */
.story-spreads {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each spread: oversized year + photo + text in a grid */
.story-spread {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  position: relative;
  min-height: 480px;
  overflow: visible;
}
/* Reverse layout for chapter 2 */
.story-spread--reverse {
  grid-template-columns: 50% 50%;
}

/* Oversized year watermark — the signature editorial element */
.story-spread-year {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(10rem, 20vw, 16rem);
  font-weight: 300;
  font-style: italic;
  color: var(--rose);
  opacity: 0.07;
  line-height: 0.85;
  pointer-events: none;
  z-index: 0;
  top: 50%;
  transform: translateY(-50%);
  left: -2rem;
}
.story-spread--reverse .story-spread-year {
  left: auto;
  right: -2rem;
}

/* Photo — overlaps the year watermark */
.story-spread-photo {
  position: relative;
  z-index: 1;
  padding: 1rem;
}
.story-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(173,93,59,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Text column */
.story-spread-text {
  position: relative;
  z-index: 2;
  padding: 2rem 3rem;
}
/* "Chapter One" label */
.story-spread-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

/* Terracotta divider rule */
.story-spread-rule {
  width: 40px;
  height: 2px;
  background: var(--rose);
  opacity: 0.6;
  margin-bottom: 1.2rem;
}

/* Chapter title */
.story-spread-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Date below title */
.story-spread-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-light);
  display: block;
  margin-bottom: 1.5rem;
}

/* Body text */
.story-spread-text p {
  color: var(--ink-mid);
  font-size: 1.08rem;
  line-height: 1.85;
  text-align: justify;
  letter-spacing: 0.01em;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.story-spread-text p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.2em;
  float: left;
  line-height: 0.8;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--rose);
  font-weight: 700;
}
.story-spread-text p + p {
  margin-top: 1.6rem;
}

/* Decorative connector between spreads */
.story-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 0;
}
.story-connector-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose));
  opacity: 0.3;
}
.story-connector-line:last-child {
  background: linear-gradient(to left, transparent, var(--rose));
}
.story-connector-diamond {
  width: 8px;
  height: 8px;
  background: var(--rose);
  opacity: 0.35;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── SCHEDULE ─── */
#schedule { background: linear-gradient(180deg, var(--white) 0%, #E0DDD5 100%); }

.schedule-acts {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Act header */
.schedule-act-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.schedule-act-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.8rem;
}
.schedule-act-rule {
  width: 40px;
  height: 2px;
  background: var(--rose);
  opacity: 0.5;
  margin: 0 auto 1rem;
}
.schedule-act-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.schedule-act-venue {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-light);
}

/* Schedule items within each act */
.schedule-act-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.schedule-item {
  display: grid;
  grid-template-columns: 90px 1px 1fr;
  gap: 1.8rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(173,93,59,0.1);
  align-items: start;
}
.schedule-item:last-child { border-bottom: none; }

/* Time column: large number + small AM/PM */
.schedule-time-col {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0.1rem;
}
.schedule-time-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--rose);
  line-height: 1;
}
.schedule-time-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--rose);
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* Vertical line between time and content */
.schedule-item-line {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, var(--rose), rgba(173,93,59,0.1));
  opacity: 0.3;
}

/* Content */
.schedule-item-body {
  padding-top: 0.15rem;
}
.schedule-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.schedule-desc {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* Intermission divider between acts */
.schedule-intermission {
  padding: 2rem 0;
  text-align: center;
}
.schedule-intermission-lines {
  display: flex;
  align-items: center;
  justify-content: center;
}
.schedule-intermission-line {
  width: 60px;
  height: 1px;
  background: var(--rose);
  opacity: 0.2;
}
.schedule-intermission-diamond {
  width: 6px;
  height: 6px;
  background: var(--rose);
  opacity: 0.3;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 0.3rem;
}
.schedule-intermission-card {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(173,93,59,0.12);
  border-radius: 8px;
  padding: 1.8rem 2.5rem;
  margin: 1rem auto;
  max-width: 460px;
}
.schedule-intermission-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.schedule-intermission-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
  display: block;
  margin-bottom: 0.8rem;
}
.schedule-intermission-card p {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ─── GALLERY ─── */
#gallery {
  background: linear-gradient(180deg, #E0DDD5 0%, var(--white) 100%);
}
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 10px;
  margin-top: 3rem;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-cell {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(173,93,59,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}
.gallery-cell:hover { background: rgba(255,255,255,0.55); transform: scale(1.02); }
/* ─── REGISTRY ─── */
#registry { background: linear-gradient(180deg, var(--white) 0%, #E2DCD2 100%); }

.registry-feature {
  margin-top: 3rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Quote text */
.registry-feature-quote {
  margin-bottom: 2rem;
}
.registry-feature-quote p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-mid);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* Heart divider */
.registry-feature-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.registry-feature-line {
  width: 60px;
  height: 1px;
  background: var(--rose);
  opacity: 0.3;
}
.registry-feature-heart {
  width: 22px;
  height: 22px;
  color: var(--rose);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Main CTA card */
.registry-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(173,93,59,0.15);
  border-radius: 10px;
  padding: 2.8rem 3rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.registry-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--rose);
  box-shadow: 0 16px 48px rgba(173,93,59,0.12);
}

.registry-feature-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.registry-feature-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.registry-feature-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin-bottom: 1.8rem;
}
.registry-feature-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: var(--rose);
  padding: 0.85rem 2.5rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.registry-feature-card:hover .registry-feature-btn {
  background: var(--rose-dark);
}

/* ─── RSVP ─── */
#rsvp {
  background: linear-gradient(180deg, var(--white) 0%, #DDD8CE 100%);
}
.rsvp-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.rsvp-left .section-title { margin-bottom: 1.2rem; }
.rsvp-left p { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 1rem; }
.rsvp-deadline {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.45);
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 700;
  backdrop-filter: blur(4px);
}

/* FORM CARD */
.rsvp-form-wrap {
  position: relative;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(173,93,59,0.22);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  overflow: hidden;
}
.rsvp-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}
form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-weight: 700;
}
input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(173,93,59,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.45);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(173,93,59,0.15);
}
textarea { resize: vertical; min-height: 85px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C67D5B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ATTENDANCE TOGGLE CARDS */
.attendance-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.attend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border: 2px solid rgba(173,93,59,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
}
.attend-card input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.attend-card:has(input:checked) {
  border-color: var(--rose);
  background: linear-gradient(135deg, rgba(173,93,59,0.22), rgba(196,170,130,0.15));
  box-shadow: 0 4px 16px rgba(173,93,59,0.25);
}
.attend-icon { font-size: 1.1rem; color: var(--rose); font-weight: 700; }
.attend-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.attend-card:has(input:checked) .attend-label { color: var(--rose-dark); }

/* FLOATING LABELS */
.float-label { position: relative; gap: 0; }
.float-label input,
.float-label textarea { padding-top: 1.4rem; padding-bottom: 0.45rem; }
.float-label > label {
  position: absolute;
  left: 1rem;
  top: 0.9rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-mid);
  opacity: 0.55;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, letter-spacing 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.float-label input:focus ~ label,
.float-label input:not(:placeholder-shown) ~ label,
.float-label textarea:focus ~ label,
.float-label textarea:not(:placeholder-shown) ~ label {
  top: 0.32rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 1;
  color: var(--periwinkle);
}
.float-label input:focus,
.float-label textarea:focus { transform: translateY(-1px); }

/* CONDITIONAL FIELD GROUPS */
#attending-fields,
#decline-fields {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
#decline-fields { display: none; }
.fields-reveal {
  animation: fieldsReveal 0.3s ease forwards;
}
@keyframes fieldsReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* BUTTON */
.btn-rsvp {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #F2EBE8;
  background: linear-gradient(135deg, var(--rose), var(--sage-dark));
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  width: 100%;
}
.btn-rsvp:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-rsvp:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-rsvp.sending { animation: btnPulse 1.2s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* ERROR MESSAGE */
.rsvp-msg {
  display: none;
  margin-top: 0.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  animation: slideDown 0.2s ease;
}
#rsvp-error { background: rgba(173,93,59,0.15); color: var(--rose-dark); border: 1px solid rgba(173,93,59,0.2); }

/* Inline field validation */
.input-error { border-color: var(--rose-dark) !important; box-shadow: 0 0 0 3px rgba(181,105,77,0.18) !important; }
.field-error {
  font-size: 0.78rem;
  color: var(--rose-dark);
  margin-top: 0.3rem;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SUCCESS STATE */
.rsvp-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0 1rem;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rsvp-success.rsvp-success-visible { opacity: 1; }
.rsvp-success-ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.success-line { width: 40px; height: 1px; background: var(--rose); }
.success-diamond { width: 6px; height: 6px; background: var(--rose); transform: rotate(45deg); flex-shrink: 0; }
.rsvp-success-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--rose-dark);
  line-height: 1.4;
  font-weight: 400;
}
.rsvp-success-sub {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.7;
  max-width: 28ch;
}
.rsvp-petals {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-top: 0.5rem;
}
.rsvp-petals span {
  width: 8px;
  height: 14px;
  background: linear-gradient(160deg, var(--rose), var(--blush));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0.55;
}
.rsvp-petals span:nth-child(1) { transform: rotate(-40deg); height: 10px; }
.rsvp-petals span:nth-child(2) { transform: rotate(-18deg); height: 13px; }
.rsvp-petals span:nth-child(3) { width: 10px; height: 16px; opacity: 0.8; }
.rsvp-petals span:nth-child(4) { transform: rotate(18deg); height: 13px; }
.rsvp-petals span:nth-child(5) { transform: rotate(40deg); height: 10px; }

/* ─── PHOTO SHARING PAGE ─── */
.section-intro {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 3rem;
}
.album-card {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,107,82,0.15);
  border-radius: 14px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.album-qr-wrap {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(74,107,82,0.1);
}
.album-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.album-btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #F2EBE8;
  background: linear-gradient(135deg, var(--periwinkle), var(--sage-dark));
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.album-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.album-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.album-btn:hover::before { transform: translateX(100%); }
.album-instructions {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.75;
  text-align: center;
  max-width: 360px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  color: var(--ink);
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 120px;
  background: var(--rose);
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(30px);
}
.footer-names {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.2rem 0;
  opacity: 0.3;
}
.footer-line { width: 50px; height: 1px; background: var(--rose); }
.footer-diamond { width: 6px; height: 6px; background: var(--rose); transform: rotate(45deg); }
.footer-date { font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mid); opacity: 0.6; }
.footer-contact { font-size: 0.88rem; color: var(--ink-mid); opacity: 0.7; margin-top: 1rem; }
.footer-love { font-size: 0.85rem; color: var(--ink-light); opacity: 0.5; margin-top: 1.5rem; }

/* ─── COUNTDOWN ─── */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  animation: riseUp 1s ease 0.9s both;
  position: relative;
  z-index: 2;
}
.countdown-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  min-width: 88px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
}
.countdown-value {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.countdown-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-top: 0.55rem;
}


/* ─── VENUES ─── */
#travel {
  background: linear-gradient(180deg, var(--white) 0%, #E0DDD5 50%, var(--white) 100%);
}
.venue-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.venue-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(181,105,77,0.18);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.venue-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.8rem 1.4rem;
}
.venue-card-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--rose);
  margin-top: 0.15rem;
}
.venue-card-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--periwinkle);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.venue-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.venue-card-address {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.venue-map {
  border-top: 1px solid rgba(181,105,77,0.12);
}
.venue-map iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}

/* ─── FAQ ─── */
#faq { background: linear-gradient(180deg, #E2DCD2 0%, var(--white) 100%); }
.faq-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.faq-item {
  border: 1px solid rgba(173,93,59,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.45);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(173,93,59,0.1); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.4;
}
.faq-question:hover { color: var(--rose-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 1rem;
  transition: transform 0.3s;
  color: var(--rose);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 1.8rem 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ─── DESIGN ENHANCEMENTS ─── */

/* Grain texture overlay removed — 3% opacity was invisible but forced
   a fixed compositing layer on every scroll frame, hurting mobile perf. */

/* Nav scroll shrink */
nav { transition: padding 0.4s ease, box-shadow 0.4s ease, background 0.3s; }
nav.scrolled {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

/* Active + hover nav underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--rose);
  transition: left 0.25s ease, right 0.25s ease;
}
.nav-links a.active { color: var(--rose-dark); }
.nav-links a.active::after,
.nav-links a:hover::after { left: 0; right: 0; }

/* Section tag left accent */
.section-tag {
  padding-left: 0.85rem;
  border-left: 2px solid var(--periwinkle);
}

/* Hero — tighter, more dramatic */
.hero-names { letter-spacing: -0.025em; }
.section-title { letter-spacing: -0.01em; }

/* Wider hero ornament lines */
.ornament-line { width: 90px; }

/* Subtle dot pattern on dark sections */
#details::before, #schedule::before,
#registry::before, #faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74,107,82,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Countdown seconds tick animation */
@keyframes cdTick {
  0%   { transform: scale(1);    opacity: 1; }
  25%  { transform: scale(0.86); opacity: 0.6; }
  100% { transform: scale(1);    opacity: 1; }
}
.cd-tick { animation: cdTick 0.4s ease; }

/* Button shimmer effect */
.btn-rsvp { position: relative; overflow: hidden; }
.btn-rsvp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn-rsvp:hover::before { transform: translateX(100%); }

/* Footer refinement */
footer { background: var(--white); }
.footer-names { font-size: 3.2rem; letter-spacing: -0.01em; }

/* ─── WEATHER CARD ─── */
.weather-card {
  display: flex;
  align-items: stretch;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(181,105,77,0.18);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.weather-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.2rem;
  background: linear-gradient(160deg, rgba(200,155,62,0.18), rgba(168,122,36,0.10));
  border-right: 1px solid rgba(181,105,77,0.12);
  min-width: 120px;
}
.weather-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200,155,62,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.weather-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
}
.weather-temp {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}
.weather-temp-sub {
  font-size: 0.82rem;
  color: var(--ink-mid);
  margin-top: 0.2rem;
}
.weather-card-right {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.weather-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.weather-card-desc {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ─── GALLERY IMAGE ─── */
.gallery-cell { position: relative; overflow: hidden; }
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}
.gallery-cell:hover::after { background: rgba(0,0,0,0.12); }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18,10,16,0.96);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-frame {
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  animation: lightboxIn 0.25s ease;
}
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 1.8rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 2.4rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.18); color: #fff; }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* ─── PRINT ─── */
@media print {
  nav, .hero-bg, .hero-scroll, .blob,
  #story .story-spread-photo, #gallery,
  #registry, .venue-map, .btn-rsvp, #rsvp-form,
  footer::before, .footer-love { display: none !important; }

  body { background: white; color: black; font-size: 11pt; }
  nav, footer { position: static; background: none; box-shadow: none; color: black; }
  .footer-names, .footer-date, .footer-contact { color: black; opacity: 1; }
  section { padding: 1.5rem 1rem; page-break-inside: avoid; }
  .section-title { font-size: 1.4rem; }
  .schedule-item, .faq-item { break-inside: avoid; }
  a { color: black; text-decoration: underline; }
  #home .hero-names { font-size: 2.5rem; }
  .hero { min-height: auto; padding: 2rem 1rem 1rem; }
  .countdown { display: none; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 760px) {
  nav { padding: 1rem 1.5rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(232,227,219,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 200;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }
  section { padding: 5rem 1.5rem; }
  /* Center section headers on mobile */
  .section-inner { text-align: center; }
  .section-tag {
    border-left: none;
    padding-left: 0;
    display: inline-block;
    border-bottom: 2px solid var(--periwinkle);
    padding-bottom: 0.4rem;
  }
  /* Keep body content left-aligned where needed */
  .faq-answer-inner { text-align: left; }
  .story-spread-text { text-align: left; }
  .rsvp-form-wrap { text-align: left; }
  .schedule-item { text-align: left; }
  .venue-card { text-align: left; }
  .weather-card { text-align: left; }
  /* RSVP left column — center on mobile */
  .rsvp-left { text-align: center; }
  .rsvp-deadline { margin-left: auto; margin-right: auto; }
  /* Details mobile */
  .ed-value--large { font-size: 2.2rem; }
  .ed-row { flex-direction: column; align-items: stretch; text-align: center; }
  .ed-row-divider {
    width: 60%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, var(--rose), transparent);
  }
  .ed-row .ed-block { padding: 1.5rem 0; text-align: center !important; }
  .ed-row .ed-label { text-align: center; }
  .ed-row .ed-value { text-align: center; }
  .rsvp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .rsvp-form-wrap { padding: 2rem 1.5rem; }
  .attendance-toggle { grid-template-columns: 1fr 1fr; }
  .photo-break { padding: 3rem 1.25rem; }
  .photo-break-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .photo-break-panel--1,
  .photo-break-panel--2,
  .photo-break-panel--3 { height: 65vw; }
  input, select, textarea { font-size: 16px; }
  /* Story spreads — stack on mobile */
  .story-spread,
  .story-spread--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .story-spread--reverse .story-spread-text {
    text-align: left;
    order: 2;
  }
  .story-spread--reverse .story-spread-rule { margin-left: auto; margin-right: auto; }
  .story-spread--reverse .story-spread-text p { margin-left: 0; }
  .story-spread-text { padding: 1.5rem 1rem; text-align: center; }
  .story-spread-label { text-align: center; }
  .story-spread-rule { margin: 0 auto 1.2rem; }
  .story-spread-title { font-size: 1.8rem; text-align: center; }
  .story-spread-date { text-align: center; }
  .story-spread-text p { text-align: justify; }
  .story-spread-text p:first-of-type::first-letter { float: none; font-size: 1em; margin: 0; }
  .story-spread-photo { padding: 0.5rem; }
  .story-photo { aspect-ratio: 4/3; }
  .story-spread-year { font-size: 6rem !important; opacity: 0.05; }
  .story-connector-line { width: 50px; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
  .gallery-cell { min-height: 140px; }
  .schedule-item { grid-template-columns: 70px 1px 1fr; gap: 1rem; }
  .schedule-time-big { font-size: 1.4rem; }
  .schedule-intermission-card { padding: 1.4rem 1.5rem; }
  .countdown { gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
  .countdown-card { padding: 1rem 1.2rem; min-width: 68px; }
  .countdown-value { font-size: 2rem; }
  .venue-cards { grid-template-columns: 1fr; }
  .weather-card { flex-direction: column; }
  .weather-card-left {
    flex-direction: row;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    border-right: none;
    border-bottom: 1px solid rgba(181,105,77,0.12);
    min-width: auto;
  }
  .weather-icon-wrap { margin-bottom: 0; }
  .weather-card-right { padding: 1.4rem 1.6rem; }
  .nav-logo-letter { font-size: 1.15rem; }
  /* Hero padding for shorter screens */
  .hero { padding: 6rem 1.5rem 3rem; }
  /* Story text — left-align on narrow screens for readability */
  .story-spread-text p { text-align: justify; }
  /* Gallery — orphaned 9th photo spans full width */
  .gallery-mosaic .gallery-cell:last-child:nth-child(odd) { grid-column: 1 / -1; grid-row: span 2; }
  .gallery-mosaic .gallery-cell:last-child:nth-child(odd) img { object-position: center; }
  /* Footer names — scale down for mobile */
  .footer-names { font-size: 2.2rem; }
  /* Details — dress code text size */
  .ed-value { font-size: 1.4rem; }
  /* Photo break — consistent side padding */
  .photo-break { padding: 3rem 1.5rem; }
  /* Registry card — reduce padding */
  .registry-feature-card { padding: 2rem 1.5rem; }
  /* Lightbox close — meet 44px touch target */
  .lightbox-close { width: 2.75rem; height: 2.75rem; }
  /* Map height — save vertical space */
  .venue-map iframe { height: 200px; }
  /* Album card on photos.html */
  .album-card { padding: 2rem 1.5rem; }
  .album-qr-wrap img { width: 180px; height: 180px; }
}
