:root {
  --ink: #243041;
  --muted: #647588;
  --bg: #edf4fb;
  --bg-soft: #f8fbff;
  --panel: rgba(255,255,255,.72);
  --paper: #ffffff;
  --blue-1: #d8e5f4;
  --blue-2: #b7cade;
  --blue-3: #8da9c7;
  --blue-4: #557292;
  --blue-5: #2f4763;
  --accent: #7fa0c2;
  --accent-deep: #466281;
  --line: rgba(36, 48, 65, 0.12);
  --shadow: 0 18px 50px rgba(55, 78, 108, 0.12);
  --shadow-strong: 0 34px 90px rgba(55, 78, 108, 0.18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(183,202,222,.45), transparent 28%),
    radial-gradient(circle at 100% 20%, rgba(141,169,199,.2), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fb 40%, #e9f0f8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(248, 251, 255, 0.8);
  border-bottom: 1px solid rgba(36,48,65,.08);
}

.nav-wrap {
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: .9rem;
  letter-spacing: .04em;
}
.desktop-nav a {
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.desktop-nav a.nav-rsvp {
  padding: 8px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  line-height: 1.1;
}
.desktop-nav a.nav-rsvp:hover,
.desktop-nav a.nav-rsvp[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  border-bottom-color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255,255,255,.6);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .78rem;
}
.lang-switch button.active {
  background: var(--ink);
  color: white;
}
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 8px 12px;
}
.mobile-nav { display: none; }
.mobile-nav a.nav-rsvp { font-weight: 700; }

main { overflow: clip; }

.hero {
  position: relative;
  min-height: min(920px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 0 30px;
  overflow: clip;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  pointer-events: none;
}
.hero::before {
  width: 440px;
  height: 440px;
  left: -120px;
  top: -60px;
  background: radial-gradient(circle, rgba(183,202,222,.52), rgba(183,202,222,0));
}
.hero::after {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(216,229,244,.85), rgba(216,229,244,0));
}
.hero-inner {
  position: relative;
  width: min(calc(100% - 32px), 1260px);
  min-height: 760px;
  display: grid;
  place-items: center;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 680px);
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.hero h1,
.page-hero h1,
.section-title,
.party-group-title,
.card h2,
.card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero h1 {
  font-size: clamp(3.9rem, 10vw, 7rem);
  line-height: .98;
}
.hero .amp { color: var(--accent); font-style: italic; font-size: .78em; }
.hero-intro {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
}
.hero-meta {
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--blue-5);
  font-size: 1.02rem;
  font-family: Georgia, "Times New Roman", serif;
}
.hero-meta span + span::before {
  content: "•";
  margin-right: 20px;
  color: var(--accent);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(78px, 1fr));
  max-width: 520px;
  gap: 12px;
  margin: 34px auto 0;
}
.countdown div {
  padding: 15px 10px 12px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(85,114,146,.08);
}
.countdown strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}
.countdown span {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 650;
}
.button {
  border: 0;
  background: var(--ink);
  color: #fff;
}
.button:hover { background: #1a2430; }
.button-secondary {
  border: 1px solid var(--ink);
  background: rgba(255,255,255,.5);
  color: var(--ink);
}
.button-secondary:hover { background: rgba(255,255,255,.9); }

.hero-photo {
  position: absolute;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-strong);
  transform: translate3d(0, var(--shift, 0px), 0) rotate(var(--tilt, 0deg));
  transition: transform .15s linear;
  will-change: transform;
}
.hero-photo img,
.feature-photo img,
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo-a {
  width: min(26vw, 340px);
  aspect-ratio: 4 / 5;
  left: 5%;
  top: 16%;
}
.hero-photo-b {
  width: min(30vw, 420px);
  aspect-ratio: 5 / 4;
  right: 4%;
  bottom: 10%;
}
.hero-photo-c {
  width: min(18vw, 220px);
  aspect-ratio: 4 / 5;
  right: 20%;
  top: 10%;
}

.home-strip {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 18px 0 0;
}
.home-strip-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.strip-link {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.strip-link small {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  color: var(--accent-deep);
}
.strip-link strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.strip-link span {
  color: var(--muted);
  font-size: .95rem;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}
.section.centered { text-align: center; }
.section.narrow { max-width: 840px; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 1.02;
}
.section-intro {
  max-width: 670px;
  margin: 12px auto 0;
  color: var(--muted);
  text-align: center;
}

.story-split {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 54px;
  align-items: center;
}
.story-copy .section-intro {
  margin-left: 0;
  text-align: left;
}
.story-copy .section-title,
.story-copy .section-kicker {
  text-align: left;
}
.story-copy .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.story-photo-wrap {
  position: relative;
  min-height: 430px;
}
.story-photo,
.story-photo-secondary {
  position: absolute;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--shift, 0px), 0) rotate(var(--tilt, 0deg));
}
.story-photo {
  width: min(100%, 370px);
  aspect-ratio: 4 / 5;
  right: 8%;
  top: 0;
}
.story-photo-secondary {
  width: min(64%, 230px);
  aspect-ratio: 5 / 4;
  left: 0;
  bottom: 8%;
}

.callout-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: stretch;
  background: linear-gradient(140deg, rgba(255,255,255,.56), rgba(216,229,244,.45));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature-photo {
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
}
.callout-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.callout-copy p {
  color: var(--muted);
  margin: 14px 0 0;
}
.link-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.link-line {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.link-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.25rem;
}
.link-line span {
  color: var(--muted);
  text-align: right;
  max-width: 60%;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(216,229,244,.5), rgba(248,251,255,.65));
}
.page-hero-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 54px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.04;
}
.page-hero p {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: left;
}
.card h2 { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }
.notice {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(141,169,199,.5);
  border-radius: 16px;
  background: rgba(255,255,255,.62);
  color: #53677b;
}

.timeline {
  position: relative;
  width: min(100%, 760px);
  margin: 24px auto 0;
  text-align: left;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 42px;
  padding: 20px 0;
}
.timeline-time {
  color: var(--accent-deep);
  font-weight: 700;
}
.timeline-copy h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.timeline-copy p {
  margin: 6px 0 0;
  color: var(--muted);
}

.party-section { padding-top: 70px; }
.party-group-title {
  text-align: center;
  font-size: clamp(1.9rem, 3.3vw, 2.9rem);
}
.party-group-spaced { margin-top: 74px; }
.party-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.party-person { text-align: center; }
.party-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.78);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(216,229,244,.7));
  color: rgba(36,48,65,.42);
  font-family: Georgia, serif;
  box-shadow: var(--shadow);
}
.party-person:nth-child(2n) .party-photo { transform: rotate(-2deg); }
.party-person:nth-child(3n) .party-photo { transform: rotate(2deg); }
.party-person h3 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.18rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  position: relative;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-deep);
  font-size: 1.35rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
}
.faq-answer p { margin: 0; }

.registry-section {
  padding-top: 72px;
  padding-bottom: 86px;
}
.registry-copy {
  max-width: 760px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.9vw, 1.38rem);
  line-height: 1.75;
  text-align: center;
}
.registry-copy p { margin: 0 0 24px; }
.registry-online {
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.registry-online > p { margin: 0 0 20px; color: var(--muted); }
.registry-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.registry-option.secondary {
  background: rgba(255,255,255,.4);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.registry-option:disabled { opacity: 1; cursor: default; }

.form-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(127,160,194,.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 16px; min-height: 1.5em; color: var(--muted); }
.form-status.error { color: #8b2e2e; }
.form-status.success { color: #2f6a47; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 16px;
  text-align: center;
  color: var(--muted);
  font-size: .86rem;
}
.site-footer strong {
  color: var(--ink);
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 1.08rem;
}

@media (max-width: 980px) {
  .hero-inner { min-height: 840px; }
  .hero-photo-a { left: 1%; top: 10%; width: min(34vw, 300px); }
  .hero-photo-b { right: 1%; bottom: 10%; width: min(36vw, 340px); }
  .hero-photo-c { right: 14%; top: 12%; width: min(22vw, 180px); }
  .story-split,
  .callout-panel,
  .info-grid { grid-template-columns: 1fr; }
  .story-copy .section-title,
  .story-copy .section-kicker,
  .story-copy .section-intro { text-align: center; }
  .story-copy .section-intro { margin-left: auto; }
  .story-copy .button-row { justify-content: center; }
  .story-photo-wrap { min-height: 520px; }
  .story-photo { right: 50%; transform: translateX(40%) translate3d(0, var(--shift, 0px), 0) rotate(var(--tilt, 0deg)); }
  .story-photo-secondary { left: 18%; }
  .party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-wrap {
    grid-template-columns: auto;
    gap: 12px;
    padding: 8px 0;
  }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .mobile-nav.open {
    display: grid;
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 0 0 18px;
    gap: 4px;
    text-align: center;
  }
  .mobile-nav a {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    min-height: auto;
    padding: 38px 0 18px;
  }
  .hero-inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .hero-copy { order: 1; }
  .hero-photo {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 560px);
    aspect-ratio: 5 / 4;
    margin: 0 auto;
  }
  .hero-photo-a,
  .hero-photo-b,
  .hero-photo-c { width: min(100%, 560px); }
  .hero-photo-c { aspect-ratio: 5 / 4; }
  .home-strip-links { grid-template-columns: 1fr; }
  .timeline::before { left: 82px; }
  .timeline-item { grid-template-columns: 64px 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .hero-meta {
    display: grid;
    gap: 2px;
  }
  .hero-meta span + span::before { display: none; }
  .countdown {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
  }
  .hero-actions { gap: 10px; }
  .section { padding: 68px 0; }
  .page-hero-inner { padding: 42px 0 38px; }
  .story-photo-wrap { min-height: 420px; }
  .story-photo { width: 84%; right: 8%; transform: translate3d(0, var(--shift, 0px), 0) rotate(var(--tilt, 0deg)); }
  .story-photo-secondary { width: 48%; left: 0; }
  .party-grid,
  .form-grid,
  .registry-actions { grid-template-columns: 1fr; display: grid; }
  .field.full { grid-column: auto; }
  .link-line {
    grid-template-columns: 1fr;
    display: grid;
    gap: 4px;
  }
  .link-line span {
    max-width: none;
    text-align: left;
  }
}

/* v11 homepage: restrained scroll-driven photography */
.home-page {
  background: #f7fbff;
}
.home-page .site-header {
  background: rgba(247, 251, 255, 0.88);
}
.home-page main { overflow: clip; }

.home-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 72px 24px;
  background: #dce8f5;
  border-bottom: 1px solid rgba(36,48,65,.08);
}
.home-hero-copy {
  width: min(100%, 820px);
  text-align: center;
}
.home-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 7.4rem);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 400;
}
.home-hero h1 span {
  color: #6f91b6;
  font-style: italic;
  font-size: .76em;
}
.home-date {
  margin-top: 28px;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .92rem;
  color: #405873;
}
.home-days {
  margin: 42px auto 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.home-days strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 400;
}
.home-days span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  color: #62778f;
}
.home-scroll-cue {
  margin: 46px auto 0;
  display: inline-grid;
  gap: 6px;
  justify-items: center;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  color: #5a718c;
}
.home-scroll-cue b {
  font-size: 1rem;
  font-weight: 400;
}

.scroll-gallery {
  background: #f7fbff;
}
.scroll-scene {
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-scale: 1;
  position: relative;
  min-height: 105vh;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: 50px;
  padding: 9vh max(5vw, 28px);
  overflow: hidden;
}
.scroll-scene.scene-left {
  grid-template-columns: minmax(520px, 1.28fr) minmax(240px, .72fr);
}
.scroll-scene.scene-left .scene-copy { order: 2; }
.scroll-scene.scene-left .scene-image-wrap { order: 1; }
.scroll-scene.scene-blue {
  background: #cbdced;
}
.scroll-scene.scene-final {
  background: #edf3fa;
}
.scene-copy {
  position: relative;
  z-index: 2;
  max-width: 360px;
}
.scene-right .scene-copy { justify-self: end; text-align: right; }
.scene-left .scene-copy { justify-self: start; text-align: left; }
.scene-kicker {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  color: #5f7c9b;
}
.scene-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 400;
}
.scene-copy > a {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: .88rem;
  color: #405873;
}
.scene-image-wrap {
  position: relative;
  width: min(74vw, 980px);
  height: min(72vh, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(55,78,108,.16);
  transform: translate3d(var(--scene-x), var(--scene-y), 0) scale(var(--scene-scale));
  transition: transform .08s linear;
  will-change: transform;
}
.scene-right .scene-image-wrap { justify-self: end; }
.scene-left .scene-image-wrap { justify-self: start; }
.scene-image-wide {
  width: min(78vw, 1060px);
  height: min(68vh, 680px);
}
.scene-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scene-rsvp {
  padding: 12px 22px !important;
  border: 1px solid #243041 !important;
  border-radius: 999px;
}
.scene-rsvp:hover { background: #243041; color: white; }

.home-end-links {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
  padding: 60px 0 74px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 34px;
  border-top: 1px solid rgba(36,48,65,.1);
}
.home-end-links a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .home-hero { min-height: 76vh; }
  .scroll-scene,
  .scroll-scene.scene-left {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 72px 20px 92px;
  }
  .scroll-scene.scene-left .scene-copy,
  .scroll-scene.scene-left .scene-image-wrap,
  .scroll-scene .scene-copy,
  .scroll-scene .scene-image-wrap {
    order: initial;
    justify-self: center;
  }
  .scene-copy,
  .scene-right .scene-copy,
  .scene-left .scene-copy {
    max-width: 620px;
    text-align: center;
  }
  .scene-image-wrap,
  .scene-image-wide {
    width: min(100%, 760px);
    height: auto;
    aspect-ratio: 4 / 3;
    transform: none !important;
  }
}

@media (max-width: 560px) {
  .home-hero { min-height: 70vh; padding: 58px 18px; }
  .home-hero h1 { font-size: clamp(3.3rem, 18vw, 4.8rem); }
  .home-days { margin-top: 32px; }
  .home-days strong { font-size: 3rem; }
  .scroll-scene { padding: 58px 16px 72px; }
  .scene-copy h2 { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .scene-image-wrap,
  .scene-image-wide { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-image-wrap { transform: none !important; transition: none; }
}

/* v12: Highcourt-inspired opening + Lorusso-style practical sections */
.nutshell-section,
.invitation-section,
.home-details-section,
.home-questions-section,
.home-registry-preview,
.home-rsvp-callout {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.nutshell-section {
  padding: 92px 0 104px;
}
.nutshell-heading,
.section-heading-centered {
  text-align: center;
  margin-bottom: 42px;
}
.nutshell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--line);
}
.nutshell-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 128px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.nutshell-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue-4);
}
.nutshell-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nutshell-item strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 4px;
}
.nutshell-item span:not(.nutshell-icon) {
  color: var(--muted);
  font-size: .95rem;
}

.invitation-section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.invitation-copy {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.invitation-names {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.04em;
}
.invitation-line {
  max-width: 620px;
  margin: 30px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #45596d;
}
.invitation-date {
  margin: 28px 0 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.invitation-venue {
  margin: 30px 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}
.invitation-address {
  margin: 0;
  color: var(--muted);
}
.action-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
}
.action-row.left { justify-content: flex-start; }
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-deep);
  font-size: .9rem;
  font-weight: 650;
  border-bottom: 1px solid rgba(70,98,129,.38);
  padding-bottom: 2px;
}
.text-action::after { content: "↗"; font-size: .85em; }
.text-action[download]::after { content: "↓"; }

.home-details-section {
  padding: 110px 0 96px;
}
.detail-rows {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.detail-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  color: var(--accent-deep);
  padding-top: 6px;
}
.detail-content h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.detail-content p {
  margin: 7px 0 0;
  color: var(--muted);
  max-width: 650px;
}

.home-rsvp-callout {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 54px 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(216,229,244,.88), rgba(183,202,222,.62));
  border: 1px solid rgba(255,255,255,.7);
}
.home-rsvp-callout .section-title { font-size: clamp(2.25rem, 4vw, 3.6rem); }
.home-rsvp-callout p {
  max-width: 630px;
  margin: 12px 0 0;
  color: #53677c;
}

.home-questions-section {
  padding: 110px 0 96px;
}
.home-faq-list {
  max-width: 900px;
}
.center-link {
  margin-top: 28px;
  text-align: center;
}

.home-registry-preview {
  max-width: 820px;
  padding: 90px 0 116px;
  text-align: center;
}
.home-registry-preview > p {
  max-width: 720px;
  margin: 18px auto 28px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Make the photo-led opening quieter and closer to Highcourt's sparse structure */
.home-page .scroll-scene {
  min-height: 88vh;
}
.home-page .scene-copy {
  max-width: 360px;
}
.home-page .scene-copy h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.02;
}
.home-page .scene-copy a { display: none; }
.home-page .scene-image-wrap {
  box-shadow: 0 26px 72px rgba(55,78,108,.16);
}

@media (max-width: 900px) {
  .nutshell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-row { grid-template-columns: 150px 1fr; gap: 28px; }
  .home-rsvp-callout { padding: 44px 36px; }
}

@media (max-width: 640px) {
  .nutshell-section,
  .invitation-section,
  .home-details-section,
  .home-questions-section,
  .home-registry-preview { padding-top: 72px; padding-bottom: 76px; }
  .nutshell-grid { grid-template-columns: 1fr; }
  .nutshell-item { min-height: 104px; }
  .detail-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .detail-label { padding-top: 0; }
  .action-row.left { justify-content: flex-start; }
  .home-rsvp-callout {
    margin-left: 16px;
    margin-right: 16px;
    width: auto;
    padding: 38px 28px;
    display: grid;
    text-align: center;
  }
  .home-rsvp-callout .button { width: 100%; }
  .invitation-line { font-size: 1.12rem; }
}

/* v13 refinement: Highcourt-style opening, clearer photo treatment, less repetitive copy */
.home-page .home-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.58), transparent 32%),
    linear-gradient(180deg, #d9e6f4 0%, #cfdeee 100%);
}
.home-page .home-hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 700px);
  padding: 40px 24px;
}
.home-page .home-scroll-cue {
  margin-top: 36px;
}
.home-page .home-scroll-cue b {
  font-size: 1.4rem;
  line-height: 1;
}
.hero-edge-photo {
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-rotate: 0deg;
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 28px 80px rgba(47,71,99,.18);
  transform: translate3d(var(--hero-x), var(--hero-y), 0) rotate(var(--hero-rotate));
  will-change: transform;
}
.hero-edge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-edge-left {
  width: clamp(260px, 26vw, 430px);
  height: clamp(350px, 56vh, 610px);
  left: clamp(-170px, -8vw, -80px);
  top: 12%;
}
.hero-edge-right {
  width: clamp(250px, 24vw, 390px);
  height: clamp(320px, 50vh, 560px);
  right: clamp(-150px, -7vw, -65px);
  bottom: 8%;
}

/* Photo sequence has no overlay text. Images do the visual work. */
.home-page .scene-photo-only {
  grid-template-columns: 1fr;
  min-height: 88vh;
  padding-top: 8vh;
  padding-bottom: 8vh;
}
.home-page .scene-photo-only .scene-image-wrap {
  width: min(78vw, 1080px);
  height: min(72vh, 760px);
}
.home-page .scene-photo-only.scene-right .scene-image-wrap {
  justify-self: end;
}
.home-page .scene-photo-only.scene-left .scene-image-wrap {
  justify-self: start;
}
.home-page .scene-photo-only.scene-blue {
  background: #c9daeb;
}

/* Nutshell section: more visual and less card-like. */
.home-page .nutshell-section {
  padding-top: 104px;
  padding-bottom: 112px;
}
.home-page .nutshell-grid {
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.home-page .nutshell-item {
  grid-template-columns: 62px 1fr;
  min-height: 150px;
  padding: 28px 0;
}
.home-page .nutshell-icon {
  width: 58px;
  height: 58px;
  color: #5b7897;
}
.home-page .nutshell-icon svg {
  width: 54px;
  height: 54px;
  stroke-width: 1.55;
}
.home-page .nutshell-item strong {
  font-size: 1.32rem;
}

/* Make information sections feel intentional, not like generic cards. */
.home-page .invitation-section {
  background: rgba(255,255,255,.42);
  width: 100%;
  padding-left: max(16px, calc((100vw - var(--max))/2));
  padding-right: max(16px, calc((100vw - var(--max))/2));
}
.home-page .home-details-section {
  padding-top: 118px;
}
.home-page .detail-rows {
  max-width: 940px;
}
.home-page .detail-row {
  grid-template-columns: 180px 1fr;
  gap: 54px;
}
.home-page .home-rsvp-callout {
  max-width: 1040px;
  border-radius: 10px;
  background: #b9cde1;
  box-shadow: none;
  border: 0;
}
.home-page .home-questions-section {
  max-width: 980px;
}
.home-page .home-registry-preview {
  max-width: 760px;
}

/* FAQ stays readable and expandable. */
.faq-item summary {
  font-size: 1.16rem;
}
.faq-answer {
  line-height: 1.75;
}

/* Avoid blank intro space on Wedding Party. */
.page-hero p:empty { display: none; }

@media (max-width: 1000px) {
  .hero-edge-left {
    left: -150px;
    width: 330px;
  }
  .hero-edge-right {
    right: -130px;
    width: 310px;
  }
  .home-page .home-hero-copy {
    width: min(100%, 570px);
  }
}

@media (max-width: 820px) {
  .home-page .home-hero {
    min-height: 820px;
    padding-top: 46px;
    padding-bottom: 46px;
  }
  .hero-edge-left {
    width: 250px;
    height: 330px;
    left: -76px;
    top: 6%;
  }
  .hero-edge-right {
    width: 230px;
    height: 300px;
    right: -64px;
    bottom: 5%;
  }
  .home-page .home-hero-copy {
    width: min(100%, 520px);
    padding-left: 44px;
    padding-right: 44px;
  }
  .home-page .scene-photo-only {
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-page .scene-photo-only .scene-image-wrap {
    width: min(100%, 760px);
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .home-page .nutshell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-page .home-hero {
    min-height: 720px;
  }
  .home-page .home-hero-copy {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-edge-left {
    width: 170px;
    height: 230px;
    left: -54px;
    top: 5%;
    opacity: .92;
  }
  .hero-edge-right {
    width: 160px;
    height: 220px;
    right: -48px;
    bottom: 4%;
    opacity: .92;
  }
  .home-page .home-hero h1 {
    font-size: clamp(3.15rem, 17vw, 4.45rem);
  }
  .home-page .home-date {
    margin-top: 22px;
  }
  .home-page .home-days {
    margin-top: 28px;
  }
  .home-page .scene-photo-only .scene-image-wrap {
    aspect-ratio: 4 / 5;
  }
  .home-page .nutshell-grid {
    grid-template-columns: 1fr;
  }
  .home-page .nutshell-item {
    min-height: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-edge-photo { transform: none !important; }
}

/* v14: more spacious hero, concise infographic, travel-story map, Romanian prompt */
.page-hero .eyebrow:empty,
.page-hero p:empty { display: none; }

.home-page .home-hero {
  min-height: calc(100vh - 72px);
  padding: 46px 24px 36px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.66), transparent 30%),
    linear-gradient(180deg, #dce9f6 0%, #ccdeef 100%);
}
.home-page .home-hero-copy {
  width: min(100%, 920px);
  padding: 30px 24px;
}
.home-page .home-hero h1 {
  font-size: clamp(5rem, 10.5vw, 9rem);
  line-height: .88;
  letter-spacing: -.055em;
}
.home-page .home-date {
  margin-top: 30px;
  letter-spacing: .22em;
  font-size: .9rem;
}
.home-page .hero-edge-left {
  width: clamp(310px, 30vw, 500px);
  height: clamp(420px, 62vh, 660px);
  left: clamp(-110px, -4.2vw, -42px);
  top: 7%;
}
.home-page .hero-edge-right {
  width: clamp(300px, 28vw, 465px);
  height: clamp(390px, 56vh, 610px);
  right: clamp(-95px, -3.4vw, -36px);
  bottom: 5%;
}

.live-countdown {
  width: min(100%, 650px);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.countdown-part {
  position: relative;
  text-align: center;
  padding: 0 18px;
}
.countdown-part:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(47,71,99,.17);
}
.countdown-part strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.8vw, 4rem);
  font-weight: 400;
  line-height: .95;
  color: #293a4d;
}
.countdown-part span {
  display: block;
  margin-top: 9px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .67rem;
  color: #607892;
}
.home-page .home-scroll-cue { margin-top: 34px; }
.home-page .home-scroll-cue b { font-size: 1.55rem; }

/* One clean infographic: icon + concise fact, no mini-card copy. */
.home-page .nutshell-section {
  padding: 104px 0 112px;
}
.home-page .nutshell-title {
  text-align: center;
  margin-bottom: 58px;
}
.home-page .nutshell-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 54px;
  border: 0;
}
.home-page .nutshell-item {
  min-height: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 17px;
}
.home-page .nutshell-icon {
  width: 74px;
  height: 74px;
  color: #527598;
}
.home-page .nutshell-icon svg {
  width: 68px;
  height: 68px;
  stroke-width: 1.45;
}
.home-page .nutshell-item strong {
  display: block;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.17rem, 1.6vw, 1.38rem);
  font-weight: 400;
  line-height: 1.28;
}
.home-page .nutshell-item span:not(.nutshell-icon) {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
}

/* Keep the Highcourt-style moving photography, without text overlays. */
.home-page .scene-photo-only {
  min-height: 82vh;
  padding-top: 6vh;
  padding-bottom: 6vh;
}
.home-page .scene-photo-only .scene-image-wrap {
  width: min(80vw, 1120px);
  height: min(70vh, 760px);
  border-radius: 5px;
}

/* Homepage details are deliberately limited to information not already explained elsewhere. */
.home-page .home-details-section {
  padding: 112px 0 106px;
}
.home-page .details-main-title {
  text-align: center;
  margin-bottom: 52px;
}
.home-detail-grid {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-detail-block {
  padding: 38px 46px 42px;
  min-width: 0;
}
.home-detail-block + .home-detail-block {
  border-left: 1px solid var(--line);
}
.home-detail-block h3 {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
}
.home-detail-block p {
  margin: 9px 0 0;
  color: var(--muted);
}
.home-detail-block .action-row { margin-top: 20px; }
.home-page .center-link { margin-top: 28px; text-align: center; }

/* Interactive map: no visible list of locations. */
.map-story-section {
  width: min(calc(100% - 32px), 1240px);
  margin: 0 auto;
  padding: 100px 0 112px;
}
.map-story-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.map-story-heading .section-title {
  max-width: 720px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}
.map-mode-switch {
  display: inline-flex;
  flex-shrink: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}
.map-mode-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .85rem;
}
.map-mode-switch button.active {
  background: var(--ink);
  color: white;
}
.story-map {
  height: 570px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(36,48,65,.1);
  box-shadow: 0 24px 68px rgba(55,78,108,.12);
  background: #dbe7f3;
}
.story-map .leaflet-tile-pane { filter: saturate(.7) hue-rotate(178deg) brightness(1.02); }
.story-map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255,255,255,.72);
}
.story-map .leaflet-popup-content-wrapper {
  border-radius: 13px;
  box-shadow: 0 14px 42px rgba(36,48,65,.15);
}
.story-map .leaflet-popup-content {
  margin: 13px 16px;
  color: var(--ink);
  line-height: 1.35;
}
.story-map .leaflet-popup-content strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}
.story-map .leaflet-popup-content span {
  color: var(--muted);
  font-size: .85rem;
}
.story-pin-shell {
  background: transparent;
  border: 0;
}
.story-pin {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(36,48,65,.22);
}
.story-pin::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  top: 6.5px;
  left: 6.5px;
}
.story-pin-travels { background: #4e7398; }
.story-pin-guests { background: #8aa8c6; }
.story-pin-home { background: #243041; }
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(126,157,190,.28) !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #718ead !important;
  color: white !important;
  font-weight: 650;
}
.map-key {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
}
.map-key-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6486a8;
}
.map-unavailable {
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* Romanian visitor suggestion. The existing EN/RO toggle remains unchanged. */
.language-prompt {
  position: fixed;
  z-index: 60;
  top: 88px;
  right: 22px;
  width: min(360px, calc(100% - 32px));
  padding: 18px 18px 16px;
  border: 1px solid rgba(36,48,65,.12);
  border-radius: 18px;
  background: rgba(249,252,255,.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(36,48,65,.16);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.language-prompt.show {
  opacity: 1;
  transform: translateY(0);
}
.language-prompt-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.35;
}
.language-prompt-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.language-prompt-actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--ink);
  color: white;
}
.language-prompt-actions button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* Tighten repeated homepage copy. */
.home-page .home-rsvp-callout {
  max-width: 1040px;
  margin-top: 26px;
  margin-bottom: 36px;
  padding: 48px 54px;
}
.home-page .home-rsvp-callout p { margin-top: 8px; }
.home-page .questions-title {
  text-align: center;
  margin-bottom: 42px;
}
.home-page .home-questions-section { padding-top: 102px; }

@media (max-width: 1000px) {
  .home-page .hero-edge-left {
    width: 350px;
    left: -115px;
  }
  .home-page .hero-edge-right {
    width: 330px;
    right: -105px;
  }
  .home-page .home-hero-copy { width: min(100%, 650px); }
  .map-story-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 820px) {
  .home-page .home-hero {
    min-height: 820px;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .home-page .hero-edge-left {
    width: 250px;
    height: 330px;
    left: -72px;
    top: 4%;
  }
  .home-page .hero-edge-right {
    width: 230px;
    height: 305px;
    right: -62px;
    bottom: 3%;
  }
  .home-page .home-hero h1 {
    font-size: clamp(4.1rem, 15vw, 6.2rem);
  }
  .home-page .home-hero-copy {
    width: min(100%, 570px);
    padding-left: 32px;
    padding-right: 32px;
  }
  .live-countdown { width: min(100%, 520px); }
  .countdown-part { padding: 0 10px; }
  .home-page .nutshell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-detail-grid { grid-template-columns: 1fr; }
  .home-detail-block + .home-detail-block {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .story-map { height: 500px; }
}

@media (max-width: 560px) {
  .home-page .home-hero { min-height: 720px; }
  .home-page .hero-edge-left {
    width: 165px;
    height: 225px;
    left: -52px;
  }
  .home-page .hero-edge-right {
    width: 155px;
    height: 215px;
    right: -46px;
  }
  .home-page .home-hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.6rem);
  }
  .home-page .home-date {
    margin-top: 24px;
    font-size: .77rem;
  }
  .live-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 310px;
    gap: 22px 0;
    margin-top: 30px;
  }
  .countdown-part:nth-child(2)::after { display: none; }
  .countdown-part strong { font-size: 2.7rem; }
  .home-page .nutshell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 24px;
  }
  .home-page .nutshell-icon {
    width: 58px;
    height: 58px;
  }
  .home-page .nutshell-icon svg {
    width: 56px;
    height: 56px;
  }
  .home-page .nutshell-item strong { font-size: 1.07rem; }
  .home-page .nutshell-item span:not(.nutshell-icon) { font-size: .78rem; }
  .home-detail-block { padding: 30px 8px; }
  .map-story-section { padding-top: 78px; padding-bottom: 82px; }
  .map-mode-switch { width: 100%; }
  .map-mode-switch button { flex: 1; }
  .story-map { height: 430px; border-radius: 16px; }
  .home-page .home-rsvp-callout { padding: 36px 26px; }
  .language-prompt {
    top: 78px;
    right: 16px;
  }
}
.story-pin { position: relative; }
