/* ─── Tokens ─────────────────────────────────────────── */
:root {
  --primary:                  #0f304c;
  --primary-container:        #294664;
  --secondary:                #2a6a4c;
  --secondary-container:      #c8e6d5;
  --on-secondary-container:   #0a2e1d;
  --tertiary:                 #e1c290;
  --tertiary-dark:            #3d2b06;
  --surface:                  #fdf9f6;
  --surface-container-low:    #f5f0eb;
  --surface-container-lowest: #ffffff;
  --on-surface:               #1c1b1a;
  --on-surface-variant:       #4a4743;
  --on-primary:               #ffffff;
  --outline-variant:          rgba(28,27,26,0.15);
}

/* ─── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Serif', Georgia, serif;
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Navigation ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  height: 64px;
  background: rgba(253, 249, 246, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.nav-monogram {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-style: italic;
}
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--outline-variant);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font: inherit;
  cursor: pointer;
}
.nav-toggle-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-toggle-icon {
  display: inline-grid;
  gap: 4px;
}
.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav.nav-open .nav-toggle-icon span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.site-nav.nav-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.site-nav.nav-open .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active  { color: var(--primary); font-weight: 500; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(15,48,76,0.28) 0%,
      rgba(15,48,76,0.08) 40%,
      rgba(15,48,76,0.65) 100%),
    url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1600&q=80') center/cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 5rem;
  max-width: 820px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 48, 76, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 1.5rem;
}
.hero-chip::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tertiary);
}
.hero-names {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--on-primary);
}
.hero-names em {
  font-style: italic;
  color: var(--tertiary);
}
.hero-ampersand {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(225,194,144,0.70);
  line-height: 1;
  margin: 0.1em 0;
}
.hero-date {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253,249,246,0.75);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; right: 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253,249,246,0.55);
}
.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(253,249,246,0.55), transparent);
}

/* ─── Section helpers ────────────────────────────────── */
.section { padding: 7rem 2rem; }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* ─── Note from the Couple ───────────────────────────── */
.note-section { background: var(--surface-container-low); }
.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.note-image-stack {
  position: relative;
  height: 560px;
}
.note-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  height: 88%;
  object-fit: cover;
  border-radius: 1.5rem;
}
.note-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 52%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 24px 64px rgba(28,27,26,0.07);
}
.note-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.note-text h2 em { font-style: italic; color: var(--secondary); }
.note-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
  margin-bottom: 1.25rem;
}
.note-signature {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--primary);
  opacity: 0.8;
}

/* ─── Date & Details Banner ──────────────────────────── */
.details-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  padding: 5rem 2rem;
}
.details-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.detail-item {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(253,249,246,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 0.75rem;
}
.detail-value {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--on-primary);
  line-height: 1.25;
}
.detail-sub {
  font-size: 0.82rem;
  color: rgba(253,249,246,0.6);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ─── Photo Strip ────────────────────────────────────── */
.photos-section { background: var(--surface); overflow: hidden; }
.photos-heading {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.photos-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--primary);
}
.photo-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  grid-template-rows: 380px;
  gap: 1rem;
  padding: 0 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.photo-strip figure {
  border-radius: 1.25rem;
  overflow: hidden;
}
.photo-strip figure:first-child {
  border-radius: 2rem;
}
.photo-strip figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo-strip figure:hover img { transform: scale(1.04); }

/* ─── RSVP Teaser ────────────────────────────────────── */
.rsvp-teaser {
  background: var(--surface-container-low);
  padding: 7rem 2rem;
  text-align: center;
}
.rsvp-teaser h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 1rem;
}
.rsvp-teaser h2 em { font-style: italic; color: var(--secondary); }
.rsvp-teaser p {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}
.btn-primary {
  display: inline-block;
  padding: 1rem 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  font-family: 'Noto Serif', serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-tertiary {
  display: inline-block;
  margin-left: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--tertiary-dark);
  border-bottom: 1px solid var(--tertiary);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-tertiary:hover { opacity: 0.7; }

/* ─── Footer ─────────────────────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(253,249,246,0.65);
  padding: 3rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.footer-monogram {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--tertiary);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero-content { padding: 0 2rem 4rem; }
  .hero-scroll-hint { display: none; }
  .note-grid { grid-template-columns: 1fr; gap: 3rem; }
  .note-image-stack { height: 400px; }
  .details-inner { grid-template-columns: 1fr; }
  .photo-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px;
  }
  .photo-strip figure:nth-child(3),
  .photo-strip figure:nth-child(4) { display: none; }
}
@media (max-width: 600px) {
  body.nav-menu-open { overflow: hidden; }
  nav {
    padding: 0.9rem 1rem;
    height: auto;
    min-height: 64px;
    align-items: center;
    flex-wrap: wrap;
  }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 3;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      max-height 0.25s ease,
      margin-top 0.25s ease,
      opacity 0.2s ease,
      transform 0.2s ease;
    background: rgba(253, 249, 246, 0.98);
    border-radius: 1.25rem;
    box-shadow: 0 20px 48px rgba(28, 27, 26, 0.12);
  }
  .site-nav.nav-open .nav-links {
    max-height: 24rem;
    margin-top: 0.85rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links li + li {
    border-top: 1px solid var(--outline-variant);
  }
  .nav-links a {
    display: block;
    padding: 1rem 1.25rem;
  }
  .hero-content { padding: 0 1.5rem 3.5rem; }
  .photo-strip { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .photo-strip figure:nth-child(n+2) { display: none; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ═══════════════════════════════════════════════════════
   Schedule Page Styles (consolidated from schedule.css)
   ══════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(15,48,76,0.30) 0%,
      rgba(15,48,76,0.10) 40%,
      rgba(15,48,76,0.75) 100%),
    url('https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=1600&q=80') center 40%/cover no-repeat;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 4rem;
  max-width: 700px;
}
.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--on-primary);
}
.page-hero-content h1 em {
  font-style: italic;
  color: var(--tertiary);
}
.page-hero-content p {
  margin-top: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,249,246,0.70);
}

/* ─── Schedule Section ───────────────────────────── */
.schedule-section {
  background: var(--surface);
  padding: 7rem 2rem;
}
.schedule-inner {
  max-width: 860px;
  margin: 0 auto;
}
.schedule-intro {
  max-width: 560px;
  margin-bottom: 5rem;
}
.schedule-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.schedule-intro h2 em { font-style: italic; color: var(--secondary); }
.schedule-intro p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

/* ─── Timeline ───────────────────────────────────── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* The vertical spine */
.timeline::before {
  content: '';
  position: absolute;
  left: 148px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    var(--outline-variant) 8%,
    var(--outline-variant) 92%,
    transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0 2.5rem;
  padding-bottom: 3rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }

/* Time column */
.timeline-time {
  text-align: right;
  padding-top: 0.2rem;
  padding-right: 2.5rem;
}
.timeline-clock {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
}
.timeline-period {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-top: 0.15rem;
  font-style: italic;
}

/* Node dot on the spine */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 141px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  z-index: 1;
  transition: background 0.2s;
}
.timeline-item.featured::after {
  background: var(--primary);
  width: 17px;
  height: 17px;
  left: 140px;
  top: 7px;
  box-shadow: 0 0 0 4px rgba(15,48,76,0.12);
}

/* Content card */
.timeline-card {
  background: var(--surface-container-low);
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
  transition: background 0.2s;
}
.timeline-item.featured .timeline-card {
  background: var(--surface-container-lowest);
  box-shadow: 0 16px 48px rgba(28,27,26,0.06);
}
.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.timeline-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.timeline-item.featured .timeline-title {
  font-size: 1.4rem;
}
.timeline-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-surface-variant);
}
.timeline-location {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-style: italic;
}
.timeline-location::before {
  content: '⌖';
  font-style: normal;
  font-size: 0.9rem;
}

/* ─── Day divider ────────────────────────────────── */
.day-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tertiary-dark);
  background: var(--tertiary);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  margin-bottom: 3rem;
}

/* ─── Note banner ────────────────────────────────── */
.schedule-note {
  margin-top: 5rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.schedule-note-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.schedule-note-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(253,249,246,0.85);
}
.schedule-note-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--on-primary);
  margin-bottom: 0.3rem;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .page-hero-content { padding: 0 2rem 3rem; }
  .schedule-note { flex-direction: column; gap: 1rem; padding: 2rem; }
}
@media (max-width: 640px) {
  .page-hero-content { padding: 0 1.5rem 2.5rem; }
  .timeline::before { left: 0; }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.75rem;
    padding-bottom: 2.5rem;
  }
  .timeline-item::after { left: -7px; }
  .timeline-item.featured::after { left: -8px; }
  .timeline-time {
    text-align: left;
    padding-right: 0;
    padding-left: 0;
    margin-bottom: 0.5rem;
  }
}

/* ════════════════════════════════════════════════════
   RSVP Page Styles (consolidated from rsvp.css)
   ════════════════════════════════════════════════════ */
.rsvp-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.rsvp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(15,48,76,0.35) 0%,
      rgba(15,48,76,0.15) 40%,
      rgba(15,48,76,0.72) 100%),
    url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1600&q=80') center 60%/cover no-repeat;
}
.rsvp-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 4rem 4rem;
  max-width: 700px;
}
.rsvp-hero-content .hero-chip { margin-bottom: 1.25rem; }
.rsvp-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--on-primary);
}
.rsvp-hero-content h1 em {
  font-style: italic;
  color: var(--tertiary);
}
.rsvp-hero-content p {
  margin-top: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,249,246,0.70);
}

/* ─── Form Section ───────────────────────────────── */
.rsvp-section {
  background: var(--surface-container-low);
  padding: 6rem 2rem 7rem;
  min-height: 100vh;
}
.rsvp-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

/* ── Left: context panel ── */
.rsvp-context {
  position: sticky;
  top: 6rem;
}
.rsvp-context h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.rsvp-context h2 em { font-style: italic; color: var(--secondary); }
.rsvp-context p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}
.rsvp-deadline {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface-container-lowest);
  border-radius: 1.25rem;
  box-shadow: 0 16px 48px rgba(28,27,26,0.05);
}
.rsvp-deadline .detail-label { color: var(--secondary); margin-bottom: 0.4rem; }
.rsvp-deadline .detail-value {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1.3;
}
.rsvp-deadline .detail-sub {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-top: 0.3rem;
  font-style: italic;
}

/* ── Right: form ── */
.rsvp-form-card {
  background: var(--surface-container-lowest);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 24px 64px rgba(28,27,26,0.06);
}
.form-group { margin-bottom: 1.75rem; }
.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 0.6rem;
}
.form-input,
.form-textarea {
  width: 100%;
  font-family: 'Noto Serif', serif;
  font-size: 1rem;
  color: var(--on-surface);
  background: var(--surface-container-low);
  border: none;
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  box-shadow: inset 0 -2px 0 var(--primary);
  background: #ede8e2;
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Attending toggle */
.attendance-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.attendance-option { position: relative; }
.attendance-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.attendance-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: var(--surface-container-low);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.attendance-label .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.attendance-option input:checked + .attendance-label {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
}
.attendance-option input:checked + .attendance-label .dot { opacity: 1; }

/* Guest count — shown only when attending=yes */
.guest-count-group { display: none; }
.guest-count-group.visible { display: block; }
.guest-count-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Submit */
.form-submit {
  margin-top: 2rem;
  width: 100%;
  padding: 1.1rem 2rem;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  color: var(--on-primary);
  font-family: 'Noto Serif', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-2px); }

/* Success state */
.rsvp-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.rsvp-success.visible { display: block; }
.rsvp-form-card.submitted .rsvp-form-inner { display: none; }
.rsvp-form-card.submitted .rsvp-success { display: block; }
.success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.rsvp-success h3 {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.rsvp-success p {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .rsvp-hero-content { padding: 0 2rem 3rem; }
  .rsvp-grid { grid-template-columns: 1fr; gap: 3rem; }
  .rsvp-context { position: static; }
}
@media (max-width: 600px) {
  .rsvp-form-card { padding: 2rem 1.5rem; }
  .rsvp-hero-content { padding: 0 1.5rem 2.5rem; }
}

/* ════════════════════════════════════════════════════
   Venue Page Styles
   ════════════════════════════════════════════════════ */

/* ─── Hero background ────────────────────────────── */
.venue-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(15,48,76,0.30) 0%,
      rgba(15,48,76,0.10) 40%,
      rgba(15,48,76,0.75) 100%),
    url('https://images.unsplash.com/photo-1438032005730-c779502df39b?w=1600&q=80') center 55%/cover no-repeat;
}

/* ─── Overview section ───────────────────────────── */
.venue-overview-section {
  background: var(--surface);
  padding: 7rem 2rem;
}
.venue-overview-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.venue-overview-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.venue-overview-text h2 em { font-style: italic; color: var(--secondary); }
.venue-overview-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

.venue-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0;
}
.venue-chip {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
}

.venue-address-block {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface-container-low);
  border-radius: 1.25rem;
}
.venue-address-value {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-surface);
  margin: 0.4rem 0 1rem;
}
.venue-directions-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary-container);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.venue-directions-link:hover { opacity: 0.7; }

/* Image stack */
.venue-overview-images {
  position: relative;
  height: 540px;
}
.venue-img-main-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 82%;
  height: 85%;
  border-radius: 2rem;
  overflow: hidden;
}
.venue-img-main-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.venue-img-main-wrap:hover img { transform: scale(1.03); }
.venue-img-accent-wrap {
  position: absolute;
  bottom: 0; left: 0;
  width: 52%;
  height: 46%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28,27,26,0.08);
}
.venue-img-accent-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ─── Map section ────────────────────────────────── */
.venue-map-section {
  background: var(--surface-container-low);
  padding: 7rem 2rem 0;
}
.venue-map-inner {
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.venue-map-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--primary);
}
.venue-map-inner h2 em { font-style: italic; color: var(--secondary); }
.venue-map-embed {
  max-width: 1100px;
  margin: 0 auto;
  height: 420px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28,27,26,0.06);
}

/* ─── Logistics section ──────────────────────────── */
.venue-logistics-section {
  background: var(--surface-container-low);
  padding: 7rem 2rem;
}
.venue-logistics-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.venue-logistics-header {
  max-width: 560px;
  margin-bottom: 4rem;
}
.venue-logistics-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
}
.venue-logistics-header h2 em { font-style: italic; color: var(--secondary); }
.venue-logistics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.logistics-card {
  background: var(--surface-container-lowest);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 16px 48px rgba(28,27,26,0.05);
}
.logistics-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container-low);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}
.logistics-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 1.75;
}
.logistics-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.logistics-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--on-surface-variant);
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .venue-overview-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .venue-overview-images { height: 420px; }
  .venue-logistics-grid { grid-template-columns: 1fr; }
  .venue-map-embed { height: 320px; }
}
@media (max-width: 600px) {
  .venue-overview-images { height: 340px; }
  .venue-map-embed { height: 260px; border-radius: 1.25rem; }
  .logistics-card { padding: 1.5rem; }
}
