/* ===== Fonts ===== */
@font-face {
  font-family: 'Barata';
  src: url('barata.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'LGV Anastasia';
  src: url('bpg_nino.otf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #f5ecd9;
  --ink-soft: #d8cfb8;
  --ink-muted: #b7ad95;
  --gold: #c9b079;
  --gold-light: #e3d2a0;
  --leaf: #a8b89a;
  --bg-dark: #0a0d10;
  --white: #fdfaf2;
  --shadow: rgba(0, 0, 0, 0.55);
}

html, body {
  /* background-color: var(--bg-dark); */
  color: var(--ink);
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', Georgia, serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0a0d10; }
::-webkit-scrollbar-thumb { background: #4a4332; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scrollbar-color: #4a4332 #0a0d10; scrollbar-width: thin; }

/* ===== Top nav ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 22px;
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 102;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background-color: var(--ink);
  border-radius: 1px;
  transform-origin: center center;
  transition: width 0.3s ease, background-color 0.3s ease, transform 0.4s ease, opacity 0.3s ease;
}
.menu-btn span:nth-child(1) { width: 26px; }
.menu-btn span:nth-child(2) { width: 20px; }
.menu-btn span:nth-child(3) { width: 14px; }

.menu-btn:hover span { background-color: var(--gold-light); }

/* Open state - burger → X */
.menu-btn.is-open span:nth-child(1) {
  width: 24px;
  transform: translateY(6.5px) rotate(45deg);
}
.menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.is-open span:nth-child(3) {
  width: 24px;
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== Autoscroll button (hidden, top-left of nav drawer) ===== */
.autoscroll-btn {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  opacity: 0.22;
  transition: opacity 0.3s ease, color 0.3s ease;
  z-index: 102;
}
.autoscroll-btn svg {
  width: 18px;
  height: 18px;
}
.autoscroll-btn:hover {
  opacity: 0.65;
  color: var(--gold-light);
}
.autoscroll-btn.is-active {
  opacity: 0.8;
  color: var(--gold);
}

/* ===== Nav drawer ===== */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 101;
  background-color: rgba(10, 13, 16, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.nav-drawer__link {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  transition: color 0.3s ease;
}
.nav-drawer__link:hover {
  color: var(--gold-light);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://weddsite.b-cdn.net/showcase/pro-5/hero.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 1;
  transition: opacity 1s ease;
  will-change: transform;
}
.hero__video--b { opacity: 0; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(10, 13, 16, 0.0) 30%, rgba(10, 13, 16, 0.55) 75%, rgba(10, 13, 16, 0.85) 100%),
    linear-gradient(to bottom, rgba(10, 13, 16, 0.78) 0%, rgba(10, 13, 16, 0.15) 22%, rgba(10, 13, 16, 0.0) 42%, rgba(10, 13, 16, 0.45) 78%, rgba(10, 13, 16, 0.92) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  row-gap: 28px;
  padding: 96px 24px 36px;
  text-align: center;
}

/* ----- crest / monogram block ----- */
.hero__crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__crest-letters {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-family: 'Barata', 'Noto Serif Georgian', serif;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.crest-letter {
  font-size: 58px;
  line-height: 0.9;
}
.crest-amp {
  font-size: 44px;
  color: var(--gold);
  transform: translateY(-6px);
  text-align: center;
  margin-bottom: -1.4rem;
}

.hero__leaf {
  width: 84px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* ----- big title block ----- */
.hero__title-block {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.hero__title {
  /* font-family: 'Barata', 'Noto Serif Georgian', serif; */
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.55);
}

.hero__subtitle {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.95;
}

/* ----- caption block (date + venue) ----- */
.hero__caption {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__date,
.hero__venue {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- actions ----- */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-bottom: 6px;
}

.btn-primary {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding: 16px 44px;
  min-width: 240px;
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  backdrop-filter: blur(4px) saturate(0.5);
  -webkit-backdrop-filter: blur(4px) saturate(0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* ── Hero load-in animations ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-btn      { animation: heroFadeUp 0.9s ease both; animation-delay: 1.05s; }
.hero__crest   { animation: heroFadeUp 1.1s ease both; animation-delay: 0.2s; }
.hero__caption { animation: heroFadeUp 1.0s ease both; animation-delay: 0.6s; }
.hero__actions { animation: heroFadeUp 1.0s ease both; animation-delay: 0.9s; }

/* ===================================================
   Responsive - mobile-first scale up
   =================================================== */

@media (min-width: 481px) {
  .site-nav { padding: 22px 30px; }
  .monogram__initial { font-size: 28px; }
  .monogram__amp { font-size: 18px; }

  .hero__inner { padding: 110px 36px 44px; row-gap: 36px; }

  .crest-letter { font-size: 80px; }
  .crest-amp { font-size: 52px; }
  .hero__leaf { width: 100px; height: 42px; }

  .hero__title { font-size: 58px; }
  .hero__subtitle { font-size: 14px; }

  .hero__date, .hero__venue { font-size: 13px; }

  .btn-primary { padding: 18px 56px; font-size: 14px; }
}

@media (min-width: 769px) {
  .site-nav { padding: 26px 44px; }
  .monogram__initial { font-size: 32px; }
  .monogram__amp { font-size: 20px; }
  .menu-btn { width: 34px; height: 34px; }

  .hero__bg { background-position: center 50%; }
  .hero__overlay {
    background:
      radial-gradient(ellipse at 50% 42%, rgba(10, 13, 16, 0.0) 25%, rgba(10, 13, 16, 0.45) 75%, rgba(10, 13, 16, 0.82) 100%),
      linear-gradient(to bottom, rgba(10, 13, 16, 0.72) 0%, rgba(10, 13, 16, 0.1) 22%, rgba(10, 13, 16, 0.0) 45%, rgba(10, 13, 16, 0.4) 80%, rgba(10, 13, 16, 0.9) 100%);
  }

  .hero__inner {
    padding: 130px 60px 56px;
    row-gap: 48px;
    max-width: 920px;
    margin: 0 auto;
  }

  .crest-letter { font-size: 96px; }
  .crest-amp { font-size: 62px; }
  .hero__leaf { width: 120px; height: 50px; }

  .hero__title { font-size: 76px; letter-spacing: 0.08em; }
  .hero__subtitle { font-size: 15px; letter-spacing: 0.4em; }

  .hero__date, .hero__venue { font-size: 14px; }

  .btn-primary { padding: 20px 70px; min-width: 320px; font-size: 14px; }
}

@media (min-width: 1025px) {
  .site-nav { padding: 30px 56px; }

  .hero__inner {
    padding: 150px 80px 70px;
    max-width: 1080px;
  }

  .crest-letter { font-size: 110px; }
  .crest-amp { font-size: 72px; }
  .hero__leaf { width: 140px; height: 58px; }

  .hero__title { font-size: 92px; }
  .hero__subtitle { font-size: 16px; }

  .hero__date, .hero__venue { font-size: 14px; }
}

/* =====================================================
   SECTION SYSTEM - light sections below hero
   ===================================================== */

:root {
  --lt-bg:      #fdfaf2;
  --lt-alt:     #edf1ee;
  --lt-text:    #1a1814;
  --lt-mid:     #5a5040;
  --lt-soft:    #8a7d6a;
  --lt-border:  #d6cdb8;
  --lt-gold:    #c9b079;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shared section shell ── */
.section {
  position: relative;
  padding: 80px 24px;
  background-color: var(--lt-bg);
  color: var(--lt-text);
}

.section__wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.section__eyebrow {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 10px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--lt-gold);
  margin-bottom: -24px;
}

.section__heading {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--lt-text);
  line-height: 1.1;
  text-align: center;
}

/* =====================================================
   STORY / PHOTOS SECTION
   ===================================================== */

.story {
  background-color: var(--lt-bg);
}


/* Photo print frame */
.story-fig {
  margin: 0;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
  padding: 7px;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.07),
    0 10px 36px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.65s ease;
  will-change: transform;
  z-index: 1;
}

/* Thin gold inner border overlay */
.story-fig::after {
  content: '';
  position: absolute;
  inset: 7px;
  box-shadow: inset 0 0 0 1px rgba(201, 176, 121, 0.32);
  pointer-events: none;
  z-index: 2;
}

.story-fig:hover {
  transform: translateY(-10px);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.07),
    0 28px 60px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.story-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -180px;
  display: block;
  filter: contrast(1.03) saturate(1.05);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.story-fig:hover img {
  transform: scale(1.05);
  filter: contrast(1.06) saturate(1.10);
}

.story-fig--big {
  width: 100%;
  max-width: 560px;
  height: 380px;
  align-self: center;
}

.story-body {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--lt-mid);
  text-align: center;
  max-width: 540px;
  position: relative;
}

.story-body::before {
  content: '\201C';
  display: block;
  font-family: 'Barata', Georgia, serif;
  font-size: 72px;
  line-height: 0.5;
  color: var(--lt-gold);
  opacity: 0.35;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0;
}

.story-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 380px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--lt-gold);
  opacity: 0.5;
}

.divider-monogram {
  font-family: 'Barata', 'Noto Serif Georgian', serif;
  font-size: 22px;
  color: var(--lt-gold);
  white-space: nowrap;
}

/* =====================================================
   WEEKEND / TIMETABLE SECTION
   ===================================================== */

.weekend {
  background-color: var(--lt-alt);
  background-image: url('https://weddsite.b-cdn.net/showcase/pro-5/timetable-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.weekend::before,
.weekend::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 52px;
  pointer-events: none;
  z-index: 1;
}

.weekend::before {
  top: 0;
  background: linear-gradient(to bottom, var(--lt-bg), transparent);
}

.weekend::after {
  bottom: 0;
  background: linear-gradient(to top, var(--lt-bg), transparent);
}

/* Leaf decorations */
.weekend-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.wleaf {
  position: absolute;
  color: rgba(168, 184, 154, 0.28);
}

.wleaf--tl {
  top: 20px;
  left: 20px;
  width: 70px;
  transform: rotate(-18deg);
}

.wleaf--br {
  bottom: 20px;
  right: 20px;
  width: 70px;
  transform: rotate(162deg);
}

.wleaf--tr {
  top: 20px;
  right: 20px;
  width: 70px;
  transform: rotate(30deg);
}

.wleaf--bl {
  bottom: 20px;
  left: 20px;
  width: 70px;
  transform: rotate(200deg);
}

/* Timetable column */
.timetable {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
}

.timetable__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(201, 176, 121, 0.3);
  cursor: pointer;
}

.timetable__item:last-child {
  border-bottom: none;
}

.timetable__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--lt-gold);
  transition: filter 0.35s ease;
}

.timetable__item:hover .timetable__icon {
  filter: drop-shadow(0 0 5px rgba(201, 176, 121, 0.55));
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(201, 176, 121, 0.75)) drop-shadow(0 0 12px rgba(201, 176, 121, 0.4)); }
  50%       { filter: drop-shadow(0 0 11px rgba(201, 176, 121, 0.95)) drop-shadow(0 0 22px rgba(201, 176, 121, 0.55)); }
}

.timetable__icon.glowing {
  animation: iconGlow 1.7s ease-in-out infinite;
}

.timetable__icon svg {
  width: 100%;
  height: 100%;
}

.timetable__name {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lt-text);
  margin-bottom: 6px;
}

.timetable__time {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  color: var(--lt-mid);
  margin-bottom: 3px;
}

.timetable__venue {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  color: var(--lt-soft);
}

/* =====================================================
   RSVP SECTION
   ===================================================== */

.rsvp-section {
  background-color: var(--lt-bg);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.rsvp-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rsvp-label {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lt-mid);
}

.rsvp-input {
  border: none;
  border-bottom: 1.5px solid var(--lt-border);
  background: transparent;
  padding: 10px 0;
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 15px;
  color: var(--lt-text);
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

.rsvp-input:focus {
  border-color: var(--lt-gold);
}

.rsvp-select-wrap {
  position: relative;
}

.rsvp-select-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--lt-soft);
  pointer-events: none;
}

.rsvp-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-bottom: 1.5px solid var(--lt-border);
  background: transparent;
  padding: 10px 0;
  padding-right: 20px;
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 15px;
  color: var(--lt-text);
  outline: none;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.3s ease;
}

.rsvp-select:focus {
  border-color: var(--lt-gold);
}

.btn-rsvp {
  align-self: center;
  display: inline-block;
  margin-top: 12px;
  padding: 16px 44px;
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lt-text);
  background-color: transparent;
  border: 1px solid var(--lt-gold);
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.btn-rsvp:hover {
  background-color: var(--lt-gold);
  color: var(--lt-bg);
}

.rsvp-note {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  color: var(--lt-gold);
  letter-spacing: 0.06em;
  text-align: center;
}

.rsvp-status {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  color: var(--lt-mid);
  text-align: center;
  min-height: 20px;
}

/* =====================================================
   MAP / LOCATIONS SECTION
   ===================================================== */

.map-section {
  background-color: var(--lt-alt);
}

.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 28px;
  border: 1px solid rgba(201, 176, 121, 0.4);
  background-color: var(--lt-bg);
  text-align: center;
}

.location-card__icon {
  width: 36px;
  height: 36px;
  color: var(--lt-gold);
}

.location-card__icon svg {
  width: 100%;
  height: 100%;
}

.location-card__label {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lt-gold);
}

.location-card__name {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--lt-text);
  line-height: 1.2;
}

.location-card__time {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  color: var(--lt-mid);
}

.location-card__addr {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  color: var(--lt-soft);
}

.location-card__link {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lt-gold);
  border-bottom: 1px solid rgba(201, 176, 121, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.location-card__link:hover {
  opacity: 0.7;
}

.map-embed {
  width: 100%;
  border: 1px solid rgba(201, 176, 121, 0.35);
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background-color: var(--bg-dark);
  padding: 60px 24px;
}

.footer__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__couple {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Barata', 'Noto Serif Georgian', serif;
  font-size: 28px;
  color: var(--gold-light);
  text-align: center;
}

.footer__amp {
  font-size: 20px;
  color: var(--gold);
}

.footer__name {
  font-size: 28px;
}

.footer__rule {
  width: 80px;
  height: 1px;
  background-color: rgba(201, 176, 121, 0.3);
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  text-decoration: none;
}

.footer__credit:hover {
  opacity: 1;
}

.footer__logo {
  width: 28px;
  height: auto;
}

.footer__credit span {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* =====================================================
   RESPONSIVE - sections scale up
   ===================================================== */

@media (min-width: 481px) {
  .section { padding: 96px 36px; }

  .section__heading { font-size: 40px; }

  .story-fig--big { height: 440px; max-width: 620px; }
}

@media (min-width: 769px) {
  .section { padding: 112px 44px; }

  .section__heading { font-size: 48px; }

  /* Story: single centered photo, taller */
  .story-fig--big {
    height: 520px;
    max-width: 680px;
  }

  /* Leaf decorations bigger */
  .wleaf--tl { width: 100px; top: 30px; left: 30px; }
  .wleaf--br { width: 100px; bottom: 30px; right: 30px; }
  .wleaf--tr { width: 100px; top: 30px; right: 30px; }
  .wleaf--bl { width: 100px; bottom: 30px; left: 30px; }

  /* Timetable wider */
  .timetable { max-width: 560px; }

  /* RSVP row side by side */
  .rsvp-row { flex-direction: row; }

  /* Locations side by side */
  .locations-grid { flex-direction: row; }

  .map-embed iframe { height: 380px; }

  /* Footer */
  .footer__couple { font-size: 34px; }
  .footer__name   { font-size: 34px; }
  .footer__amp    { font-size: 24px; }
}

@media (min-width: 1025px) {
  .section { padding: 130px 56px; }

  .section__heading { font-size: 54px; }

  .story-fig--big { height: 600px; max-width: 720px; }
  .story-body { font-size: 15px; }

  .timetable { max-width: 600px; }
  .timetable__item { gap: 32px; padding: 34px 0; }
  .timetable__icon { width: 54px; height: 54px; }

  .rsvp-form { max-width: 640px; }

  .map-embed iframe { height: 440px; }

  .footer__couple { font-size: 40px; }
  .footer__name   { font-size: 40px; }
  .footer__amp    { font-size: 28px; }
}

/* =====================================================
   TIMETABLE MODAL
   ===================================================== */

.tt-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: rgba(10, 13, 16, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.tt-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.tt-modal {
  position: relative;
  background-color: var(--lt-bg);
  border: 1px solid rgba(201, 176, 121, 0.38);
  max-width: 400px;
  width: 100%;
  padding: 52px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(18px);
  transition: transform 0.32s ease;
}

.tt-overlay.active .tt-modal {
  transform: translateY(0);
}

.tt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lt-soft);
  transition: color 0.25s ease;
}

.tt-close:hover { color: var(--lt-text); }

.tt-close svg { width: 16px; height: 16px; }

.tt-modal__icon {
  width: 52px;
  height: 52px;
  color: var(--lt-gold);
  margin-bottom: 6px;
  filter: drop-shadow(0 0 10px rgba(201, 176, 121, 0.65));
}

.tt-modal__icon svg { width: 100%; height: 100%; }

.tt-modal__eyebrow {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--lt-gold);
}

.tt-modal__venue {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--lt-text);
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
}

.tt-modal__time {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 14px;
  color: var(--lt-mid);
}

.tt-modal__addr-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.tt-modal__pin {
  width: 20px;
  height: 20px;
  color: var(--lt-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.tt-modal__addr {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 13px;
  color: var(--lt-soft);
  line-height: 1.5;
}

.tt-modal__map-link {
  font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lt-gold);
  border-bottom: 1px solid rgba(201, 176, 121, 0.4);
  padding-bottom: 2px;
  margin-top: 6px;
  transition: opacity 0.3s ease;
}

.tt-modal__map-link:hover { opacity: 0.65; }

/* =====================================================
   MOBILE-ONLY - desktop notice
   ===================================================== */

.mobile-prompt {
  display: none;
}

.site-wrap {
  display: block;
}

@media (min-width: 769px) {
  .site-wrap {
    display: none;
  }

  .mobile-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: calc(var(--vh) * 100);
    background-color: var(--bg-dark);
    text-align: center;
    padding: 40px;
  }

  .mobile-prompt__logo {
    width: 52px;
    height: auto;
    opacity: 0.8;
  }

  .mobile-prompt__text {
    font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
    font-size: 15px;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
  }

  .mobile-prompt__sub {
    font-family: 'LGV Anastasia', 'Noto Serif Georgian', serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
}


/* ===========================================================================
   Viewport pin + loading screen
   ---------------------------------------------------------------------------
   Shared across every Weddsite template; only the palette below is per design.

   --vh is written by the inline script in <head> and re-measured on width
   changes only, so Instagram's and Messenger's sliding nav bar cannot resize
   the layout. `vh`, `svh`, `lvh` and `dvh` all move with it, which is why the
   pin has to come from JS. The 100vh/100svh floors stay as the no-JS fallback
   and MUST be declared before the .vh-lock rule that overrides them.

   The loader exists so `font-display: block` is safe: the block period is spent
   behind the spinner instead of on an invisible page. It also holds the entry
   animation (via .is-loading) so the intro is not played out behind it.
   =========================================================================== */

:root {
    --vh: 1vh;
}

html {
    overscroll-behavior-y: none;
}

.vh-lock .hero,
.vh-lock .hero__inner {
    min-height: calc(var(--vh) * 100);
}

/* Entry animations must not play out behind the spinner - a guest who uncovers a
   finished, static scene has been shown nothing. `is-loading` is set by the
   inline script in <head> before first paint and removed on reveal, so a paused
   animation resumes from frame zero exactly when the guest can first see it.
   The spinner itself is excluded, and with JS off the class never lands. */
.is-loading body *:not(.loader):not(.loader__spinner) {
    animation-play-state: paused !important;
}

.loader {
    position: fixed;
    inset: 0;
    /* Out-ranks every entry overlay (envelopes / curtains / clouds live at 9999+). */
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0d10;
    opacity: 1;
    transition: opacity 0.55s ease;
}

.loader.is-hidden {
    opacity: 0;
}

.loader.is-gone {
    display: none;
}

.loader__spinner {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(201, 176, 121, 0.25);
    border-top-color: #c9b079;
    border-radius: 50%;
    animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}
