#faq {
  display: none;
}

:root {
  color-scheme: light;
  --bg: #f6f2ec;
  --card: #fffdf9;
  --text: #372c26;
  --muted: #7f6d62;
  --accent: #b8937d;
  --accent-strong: #8f6d59;
  --line: #ede2d7;
  --shadow: 0 18px 46px rgba(72, 48, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 12% -18%, rgba(190, 151, 126, 0.14), transparent 42%),
    radial-gradient(circle at 88% 120%, rgba(177, 147, 126, 0.16), transparent 40%);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
  padding: 0 1rem;
  min-height: 100vh;
  background: var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(25, 16, 12, 0.16), rgba(25, 16, 12, 0.42)),
    radial-gradient(circle at 20% 20%, rgba(255, 250, 244, 0.25), transparent 44%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-media video,
.hero-media iframe,
.hero-media img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.hero-media video {
  object-position: center 35%;
}

.hero-media img {
  object-position: center 35%;
}

.hero-media iframe {
  transform: scale(1.22) translateY(4%);
  transform-origin: center center;
  max-width: 100%;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 930px;
  min-height: 100vh;
  margin: 0 auto;
}

.hero-top {
  position: absolute;
  top: 1.2rem;
  left: 0;
  right: 0;
  width: min(930px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.language-switcher {
  display: inline-flex;
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  z-index: 30;
  gap: 0.3rem;
  padding: 0.26rem;
  margin-bottom: 0;
  border-radius: 999px;
  background: rgba(96, 68, 52, 0.68);
  border: 1px solid rgba(255, 236, 220, 0.34);
  backdrop-filter: blur(6px);
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff8f1;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.38rem 0.66rem;
  cursor: pointer;
}

.lang-btn:hover {
  background: rgba(255, 247, 239, 0.18);
}

.lang-btn.is-active {
  background: rgba(160, 127, 106, 0.95);
  color: #ffffff;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #65564d;
  font-size: 0.7rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: min(930px, calc(100% - 2rem));
  margin: 0 auto;
  font-family: "Great Vibes", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(3.1rem, 9.2vw, 7rem);
  font-weight: 200;
  letter-spacing: 0.01em;
  line-height: 0.88;
  color: #fffdf9;
  text-shadow:
    0 3px 16px rgba(20, 12, 9, 0.45),
    0 0 2px rgba(20, 12, 9, 0.4);
}

.subtitle {
  margin: 0 auto 2.4rem;
  max-width: 45rem;
  color: #5b4b42;
  font-size: 1.02rem;
  white-space: pre-line;
}

.button {
  display: inline-block;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  background: rgba(141, 78, 72, 0.96);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 20px rgba(88, 47, 43, 0.24);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(88, 47, 43, 0.3);
}

main {
  width: 100%;
  max-width: 980px;
  padding: 0 1rem;
  margin: 1.6rem auto 3.2rem;
  display: grid;
  gap: 1.15rem;
  overflow: visible;
}

.between-hero-gallery3-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  min-height: clamp(520px, 130vw, 1380px);
  padding: clamp(1rem, 2.2vw, 1.4rem);
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
  border-radius: 1.4rem;
  background:
    linear-gradient(rgba(255, 252, 247, 0.6), rgba(255, 252, 247, 0.6)),
    url("assets/uploads/between-hero-gallery3-bg.png") center top / contain no-repeat;
}

.church-view-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
  border-radius: 1.4rem;
  overflow: hidden;
}

.church-view-gallery img {
  width: 100%;
  height: clamp(180px, 35vw, 520px);
  object-fit: cover;
  display: block;
}

.church-map {
  border-radius: 1.4rem;
  overflow: hidden;
  margin-bottom: clamp(1rem, 2.5vw, 2rem);
}

.church-map iframe {
  width: 100%;
  height: clamp(280px, 50vw, 500px);
  border: 0;
  display: block;
}

#photo-scatter-3 {
  margin-top: clamp(1.2rem, 2.8vw, 2.2rem);
}

.hero-details {
  text-align: center;
}

.hero-details .subtitle {
  margin-bottom: 0;
  font-family: "Mynerve", "Segoe UI", sans-serif;
}

.wedding-highlight {
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.4rem, 3.2vw, 2.2rem) 1rem;
}

.wedding-highlight-date {
  margin: 0;
  color: #6f5648;
  font-size: clamp(2.15rem, 4vw, 2.5rem);
  font-family: "Mynerve", "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  opacity: 0.9;
  white-space: pre-line;
}

.wedding-highlight-location {
  margin: clamp(0.6rem, 1.6vw, 1rem) 0 0;
  color: #755f52;
  font-size: clamp(1.2rem, 2.9vw, 1.8rem);
  font-family: "Cormorant", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.wedding-highlight-church {
  display: block;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-family: "Cormorant", "Segoe UI", sans-serif;
  color: #755f52;
  margin-top: 1.25rem;
}

.wedding-highlight-church a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wedding-highlight-countdown {
  margin: clamp(1.1rem, 2.8vw, 1.8rem) 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-family: "Cormorant", "Segoe UI", sans-serif;
  font-weight: 100;
}

.counter-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
}

.counter-photo img {
  width: 100%;
  max-width: 100%;
  height: clamp(400px, 50vw, 520px);
  display: block;
  margin: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
}

.counter-photo-note {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  background: transparent;
}

.page-shell.hide-below-counter-photo main #counter-photo-note ~ *,
.page-shell.hide-below-counter-photo .footer {
  display: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  padding: 1.7rem 1.5rem 1.9rem;
  box-shadow: var(--shadow);
  transition: box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  border-color: #e3d3c5;
  box-shadow: 0 20px 46px rgba(72, 48, 36, 0.11);
}

.section-label {
  margin: 0 0 0.35rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.71rem;
  font-weight: 600;
}

.story-label {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
}

.story-card {
  text-align: center;
  padding-left: clamp(1.2rem, 5vw, 4.2rem);
  padding-right: clamp(1.2rem, 5vw, 4.2rem);
}

h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 3.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

#story-text {
  margin: 0;
  white-space: pre-line;
  color: #50433e;
  line-height: 1.75;
}

.split-layout {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-list,
.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-list li,
.details-list li {
  border-top: 1px solid var(--line);
  padding: 0.88rem 0;
}

.event-list li:first-child,
.details-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.event-title {
  margin: 0;
  font-weight: 600;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
}

.event-meta,
.detail-value {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0.88rem 0;
}

.faq-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-question {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.faq-answer {
  margin: 0;
  color: var(--muted);
}

.photo-scatter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0.9rem;
  min-height: 180px;
  padding: 0.3rem 0.2rem;
  overflow: hidden;
  width: 100%;
}

.scatter-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 12px 28px rgba(56, 35, 26, 0.2);
  transform: rotate(var(--scatter-rotation, 0deg));
  transition: transform 180ms ease;
}

.scatter-photo:nth-child(1) {
  grid-column: 2 / span 4;
}

.scatter-photo:nth-child(2) {
  grid-column: 7 / span 4;
}

.photo-scatter[data-count="1"] .scatter-photo:nth-child(1) {
  grid-column: 5 / span 4;
}

.scatter-photo:hover {
  transform: rotate(var(--scatter-rotation, 0deg)) translateY(-2px);
}

.scatter-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 0 1rem 2.8rem;
}

/* ── Rich content (travel sections, schedule) ── */

.rich-section {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 0.6rem;
}

.rich-section:first-child {
  border-top: none;
  padding-top: 0;
}

.rich-section-heading {
  margin: 0 0 0.75rem;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
}

.rich-subheading {
  margin: 1.1rem 0 0.35rem;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.rich-paragraph {
  margin: 0 0 0.75rem;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

.rich-paragraph:last-child {
  margin-bottom: 0;
}

.rich-list {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.75;
}

.rich-list li {
  margin-bottom: 0.28rem;
}

.rich-list:last-child {
  margin-bottom: 0;
}

.rich-callout {
  background: rgba(184, 147, 125, 0.09);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.65rem 0.65rem 0;
  padding: 0.85rem 1.1rem;
  margin: 0.9rem 0 0.5rem;
}

.rich-callout-title {
  margin: 0 0 0.45rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--accent-strong);
}

.rich-callout-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

/* ── Schedule day/slot layout ── */

.schedule-day {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 0.5rem;
}

.schedule-day:first-child {
  border-top: none;
  padding-top: 0;
}

.schedule-day-title {
  margin: 0 0 0.2rem;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
}

.schedule-day-date {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.schedule-slot {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0 0.9rem;
  padding: 0.55rem 0;
  border-top: 1px dashed var(--line);
}

.schedule-slot:first-of-type {
  border-top: none;
}

.schedule-slot-time {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding-top: 0.12rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.schedule-slot-title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-weight: 600;
  font-family: "Mynerve", Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.schedule-slot-note {
  grid-column: 2;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.rich-final-note {
  background: rgba(184, 147, 125, 0.06);
  border-radius: 0.8rem;
  padding: 1.1rem 1.3rem;
  margin-top: 0.5rem;
  border-top: none !important;
}

.animate-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .animate-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card,
  .button {
    transition: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100svh;
    padding: 0 0.7rem;
  }

  .hero-overlay {
    min-height: 100svh;
  }

  .hero-top {
    top: 0.9rem;
  }

  main {
    margin-top: 1.2rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .photo-scatter {
    min-height: 160px;
  }

  .scatter-photo:nth-child(1) {
    grid-column: 1 / span 5;
  }

  .scatter-photo:nth-child(2) {
    grid-column: 7 / span 5;
  }

  .photo-scatter[data-count="1"] .scatter-photo:nth-child(1) {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 100svh;
    padding: 0 0.6rem;
  }

  .card {
    padding: 1.3rem 1rem 1.45rem;
  }

  .wedding-highlight {
    padding-top: 1.3rem;
    padding-bottom: 1.5rem;
  }

  main {
    margin-top: 3.2rem;
  }

  .between-hero-gallery3-bg {
    min-height: clamp(420px, 132vw, 860px);
    padding: 0.7rem;
  }

  .photo-scatter {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .scatter-photo:nth-child(1),
  .scatter-photo:nth-child(2),
  .photo-scatter[data-count="1"] .scatter-photo:nth-child(1) {
    grid-column: 1;
  }

  .scatter-photo img {
    height: 290px;
  }
}
