/* ============================================================
   PALETTE
   #F9F8F6  – warm white (page bg)
   #EFE9E3  – soft linen (cards, sections)
   #D9CFC7  – warm stone (borders, dividers)
   #C9B59C  – sandy caramel (accents, highlights)
   Text: #2C1A0E (deep warm brown for contrast)
   ============================================================ */

:root {
  --bg:          #F9F8F6;
  --bg-soft:     #EFE9E3;
  --card:        rgba(239, 233, 227, 0.82);
  --card-strong: rgba(217, 207, 199, 0.90);
  --text:        #2C1A0E;
  --muted:       #7a6355;
  --line:        rgba(44, 26, 14, 0.13);
  --accent:      #C9B59C;
  --accent-mid:  #b09070;
  --accent-deep: #8a6a50;
  --success:     #4a7c4e;
  --shadow:      0 20px 48px rgba(44, 26, 14, 0.09);
  --radius:      28px;
}

/* ── Scroll anchors ── */
#story, #details, #schedule, #venue, #faq, #home {
  scroll-margin-top: 60px;
}

a { color: var(--text); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: #F9F8F6;
  background-image:
          radial-gradient(ellipse at top left,  rgba(239,233,227,0.70) 0%, transparent 55%),
          radial-gradient(ellipse at bottom right, rgba(217,207,199,0.45) 0%, transparent 55%);
}

/* Subtle paper texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
          linear-gradient(rgba(44,26,14,0.022) 1px, transparent 1px),
          linear-gradient(90deg, rgba(44,26,14,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  opacity: 1;
  z-index: 0;
}

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

.site-shell,
.rsvp-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* Glassmorphism — skill spec: blur 15px, rgba white 15%, 1px light border */
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  background: rgba(249, 246, 241, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
          0 1px 0 rgba(255, 255, 255, 0.60) inset,
          0 4px 24px rgba(44, 26, 14, 0.07);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px 24px;
}

.brand,
.nav a,
.text-link,


.back-link {
  color: var(--text);
  text-decoration: none;

}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand span,
.monogram span {
  color: var(--accent-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: rgba(44, 26, 14, 0.75);
  font-size: 0.97rem;
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text) !important;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.70) inset, 0 2px 8px rgba(44,26,14,0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: rgba(44, 26, 14, 0.88);
  color: #F9F8F6 !important;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(44, 26, 14, 0.22);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ── SECTIONS ── */
.section { padding: 70px 0; }
.section > * { max-width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: calc(100vh - 96px);
  gap: 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0 0 14px;
  line-height: 0.95;
  color: var(--text);
}

h1 { font-size: clamp(3.4rem, 8vw, 6.6rem); max-width: 9ch; }
h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
h3 { font-size: 1.9rem; }

p {
  color: rgba(44, 26, 14, 0.74);
  line-height: 1.75;
  margin: 0;
}

.hero-text { max-width: 58ch; font-size: 1.05rem; }

.hero-actions,
.button {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-actions { margin: 28px 0; flex-wrap: wrap; }

.button {
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
}

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

.primary {
  background: var(--text);
  color: #F9F8F6;
  border-color: var(--text);
}

.primary:hover {
  background: #4a2e1a;
  border-color: #4a2e1a;
}

.secondary {
  color: var(--text);
  border-color: rgba(44, 26, 14, 0.28);
  background: transparent;
}

.secondary:hover { background: rgba(44, 26, 14, 0.05); }

/* ── SHARED CARD STYLES ── */
.countdown-card,
.glass-card,
.story-card,
.venue-card,
.cta-section,
.rsvp-panel,
.info-strip,
.timeline-content,
.faq-item,
.portrait-card,
.floating-note,
.map-card {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

/* ── COUNTDOWN ── */
.countdown-card {
  width: fit-content;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--bg-soft);
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 90px));
  gap: 12px;
}

.countdown div {
  text-align: center;
  padding: 14px 12px;
  background: rgba(44, 26, 14, 0.04);
  border-radius: 18px;
  border: 1px solid var(--line);
}

.countdown span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
}

.countdown small { color: var(--muted); font-size: 0.78rem; }

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.large-card {
  width: min(100%, 450px);
  height: 560px;
  border-radius: 20px;
  padding: 10px;
  transform: rotate(0deg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow:
          0 2px 4px rgba(44, 26, 14, 0.06),
          0 8px 24px rgba(44, 26, 14, 0.10),
          0 24px 56px rgba(44, 26, 14, 0.12),
          inset 0 1px 0 rgba(255, 255, 255, 0.60);
  position: relative;
}

/* Mat border — inner inset line like a real picture frame */
.large-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  border: 1px solid rgba(44, 26, 14, 0.10);
  pointer-events: none;
  z-index: 2;
}

/* Corner accent marks */
.large-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(44, 26, 14, 0.07);
  pointer-events: none;
  z-index: 1;
}

.art-frame {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-content: center;
  text-align: center;
}

.monogram {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  margin-bottom: 16px;
  color: var(--text);
}

.frame-note { max-width: 26ch; margin: 0 auto; }

.floating-note {
  position: absolute;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
          0 8px 32px rgba(44, 26, 14, 0.18),
          inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-note span {
  display: block;
  font-size: 0.8rem;
  color: rgba(44, 26, 14, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.floating-note strong {
  font-size: 1rem;
  color: #2C1A0E;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.top-note    { top: 70px; left: 0; }
.bottom-note { right: 0; bottom: 70px; }

/* ── INFO STRIP ── */
.info-strip {
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  background: var(--bg-soft);
}

.info-strip article {
  padding: 16px;
  border-radius: 20px;
  background: rgba(44, 26, 14, 0.04);
  border: 1px solid var(--line);
}

.info-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-strip strong { font-size: 1rem; color: var(--text); }
.info-strip a { color: var(--text); font-weight: 600; }

/* ── SECTION HEADINGS ── */
.section-heading { max-width: 700px; margin-bottom: 32px; }

.split-grid,
.cards-grid,
.venue-layout {
  display: grid;
  gap: 22px;
}

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

.story-card,
.glass-card,
.venue-card,
.map-card,
.rsvp-panel,
.cta-section {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg-soft);
}

/* ── COLOUR SWATCHES ── */
.palette {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.palette span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--swatch);
  border: 1.5px solid rgba(44,26,14,0.16);
}

/* ── SCHEDULE TIMELINE ── */
.timeline { display: grid; gap: 16px; }

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
}

.time {
  padding-top: 22px;
  color: var(--accent-deep);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  text-align: center;
}

.timeline-content {
  border-radius: 24px;
  padding: 22px;
  background: var(--bg-soft);
}

/* ── VENUE ── */
.venue-layout { grid-template-columns: 1fr 1fr; }

.map-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
          linear-gradient(rgba(44,26,14,0.06) 1px, transparent 1px),
          linear-gradient(90deg, rgba(44,26,14,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(1200px) rotateX(65deg) scale(1.6);
  transform-origin: center;
  opacity: 0.7;
}

.map-pin {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  color: var(--accent-deep);
}

/* ── FAQ ── */
.faq-list { display: grid; gap: 14px; }

.faq-item {
  border-radius: 22px;
  padding: 0 22px;
  background: var(--bg-soft);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  color: var(--text);
}

summary::-webkit-details-marker { display: none; }
.faq-item p { padding-bottom: 22px; }

/* ── CTA ── */
.cta-section {
  text-align: center;
  margin-bottom: 80px;
  background: var(--bg-soft);
}

.cta-section .button {
  margin: 24px auto 0;
  width: fit-content;
}

/* ── LINKS ── */
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── RSVP ── */
.rsvp-body {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: var(--bg);
}

.rsvp-page .back-link {
  display: block;
  max-width: 860px;
  margin: 0 auto 18px;
}

.rsvp-panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-soft);
}

.rsvp-intro   { margin-bottom: 28px; }
.rsvp-form    { display: grid; gap: 18px; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: var(--muted);
}

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

input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: rgba(249, 248, 246, 0.85);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(44, 26, 14, 0.34);
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(44, 26, 14, 0.45);
  box-shadow: 0 0 0 3px rgba(44, 26, 14, 0.07);
}

select option { background: #EFE9E3; color: #2C1A0E; }

.full-width   { width: 100%; border: 0; cursor: pointer; }
.hidden-field { display: none; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* ── RESPONSIVE 980px ── */
@media (max-width: 980px) {
  .hero,
  .venue-layout,
  .cards-grid,
  .split-grid,
  .info-strip,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding-top: 28px; }
  .hero-visual { min-height: 520px; }

  .timeline-item { grid-template-columns: 1fr; }

  .time {
    text-align: left;
    padding-top: 0;
    padding-left: 4px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, 100%);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(249, 248, 246, 0.97);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle { display: flex; }
}

/* ── RESPONSIVE 640px ── */
/* ── RESPONSIVE 640px ── */
@media (max-width: 640px) {
  .site-shell, .rsvp-page { width: min(100% - 20px, 1000px); }
  .topbar {
    width: 100%;
    margin: 0;
    padding: 16px 20px;
  }
  h1       { font-size: 3.3rem; }
  h2       { font-size: 2.4rem; }

  .large-card { height: 430px; }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-visual { display: block; min-height: auto; }

  .countdown { grid-template-columns: repeat(2, 1fr); }
  .countdown-card { width: 100%; }

  .button, .hero-actions { width: 100%; }
  .hero-actions .button  { flex: 1 1 100%; }

  .story-card,
  .glass-card,
  .venue-card,
  .map-card,
  .rsvp-panel,
  .cta-section { padding: 22px; }
}

/* ── LOVE / STORY TIMELINE ── */
.story-timeline-section { position: relative; }

.love-timeline {
  position: relative;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(44, 26, 14, 0.16);
  transform: translateX(-50%);
}

.love-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 70px;
}

.timeline-side.left  { display: flex; justify-content: flex-end; }
.timeline-side.right { display: flex; justify-content: flex-start; }

.story-box {
  width: 100%;
  max-width: 360px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.07);
}

.story-box h3 { margin: 0 0 10px; font-size: 1.4rem; }

.story-box p {
  margin: 0;
  line-height: 1.7;
  color: rgba(44, 26, 14, 0.74);
}

.timeline-center {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.timeline-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #D9CFC7, #EFE9E3);
  box-shadow: 0 8px 24px rgba(44, 26, 14, 0.14);
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .love-timeline { max-width: 680px; padding-left: 20px; }
  .timeline-line { left: 70px; transform: none; }

  .love-timeline-item {
    grid-template-columns: 100px 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .timeline-center { grid-column: 1; justify-content: center; }

  .timeline-side.left,
  .timeline-side.right { grid-column: 2; justify-content: flex-start; }

  .timeline-side.left:empty,
  .timeline-side.right:empty { display: none; }

  .story-box { max-width: 100%; }
  .timeline-photo { width: 95px; height: 95px; }
}

@media (max-width: 560px) {
  .love-timeline    { padding-left: 10px; }
  .timeline-line    { left: 52px; }

  .love-timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .timeline-photo { width: 72px; height: 72px; padding: 4px; }

  .story-box { padding: 18px; border-radius: 18px; }
  .story-box h3 { font-size: 1.15rem; }
  .story-box p  { font-size: 0.96rem; line-height: 1.6; }
}

/* ── LANDING SCREEN ── */
.landing-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease, transform 0.9s ease;
}

.landing-img {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  transition:
          top 0.8s ease,
          left 0.8s ease,
          width 0.8s ease,
          height 0.8s ease,
          border-radius 0.8s ease;
  will-change: top, left, width, height;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
          to top,
          rgba(10, 5, 2, 0.85) 0%,
          rgba(10, 5, 2, 0.50) 40%,
          rgba(10, 5, 2, 0.20) 100%
  );
}

.landing-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  max-width: 700px;
}

.landing-content h1 {
  max-width: none;
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.90), 0 2px 8px rgba(0, 0, 0, 0.90);
  font-weight: 700;
}

.landing-text {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.80);
}

.landing-content .eyebrow {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.70);
  font-size: 0.9rem;
  letter-spacing: 0.30em;
}

.landing-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

body.landing-active { overflow: hidden; }

/* ── HERO PHOTO ── */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ── DRESS CODE PAGE ── */
.dresscode-page { padding: 40px 0 80px; }

.dresscode-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.dresscode-heading p {
  margin-top: 16px;
  font-size: 1.05rem;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.title-row span {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 180px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 10px 0 24px;
}

.ornament span {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--line);
}

/* Palette wrapper */
.palette-wrapper { margin: 0 auto 56px; max-width: 680px; }

.wedding-palette {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.palette-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: block;
}

.palette-circle.burgundy  { background: #5b2930; }
.palette-circle.redwine   { background: #7b4148; }
.palette-circle.sage      { background: #a7b79e; }
.palette-circle.ivory     { background: #ece2d7; }
.palette-circle.taupe     { background: #b79f8b; }

.palette-item h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: var(--muted);
}

/* Inspiration sections */
.inspiration-section { margin-bottom: 60px; }
.inspiration-title   { margin-bottom: 0; }

.dresscode-full-image {
  width: 100%;
  border-radius: 24px;
  margin-top: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Dress code link in card */
.dresscode-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ═══════════════════════════════════════════
   FOOTER
   Append this block to the bottom of style.css
   ═══════════════════════════════════════════ */

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

/* ── Brand block ── */
.footer-brand {
  text-align: center;
}

.footer-monogram {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}

.footer-monogram span {
  color: var(--accent-deep);
}

.footer-date {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.footer-location {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ── Ornamental rule ── */
.footer-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(480px, 100%);
}

.footer-rule span:not(.footer-diamond) {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.footer-diamond {
  font-size: 0.55rem;
  color: var(--accent-deep);
  opacity: 0.7;
}

/* ── Footer nav ── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}

.footer-nav a {
  color: rgba(44, 26, 14, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-rsvp-link {
  color: var(--text) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Info pills ── */
.footer-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-pills li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(44, 26, 14, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.pill-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
}

.pill-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

a.pill-value:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid var(--line);
  width: 100%;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .footer-inner {
    padding: 48px 20px 28px;
    gap: 28px;
  }

  .footer-pills {
    flex-direction: column;
    align-items: center;
  }

  .footer-pills li {
    width: 100%;
    max-width: 320px;
    justify-content: space-between;
  }
}

/* ── Scroll down ── */
/* ── Scroll hint ── */
.scroll-hint {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}


.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 480px) {
  .scroll-hint {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    bottom: 28px;
    padding: 0 16px;
  }
}

.scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(0, 0, 0, 0.75);
  border-bottom: 2px solid rgba(0, 0, 0, 0.75);
  transform: rotate(45deg);
  animation: bounce-arrow 1.6s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

#overview {
  scroll-margin-top: 120px;
}