/* =====================================================================
   Maneh & Grisha — wedding site
   Palette: deep olive canvas, warm cream ink. Script + serif + sans.
   ===================================================================== */

:root {
  --olive:        #4e502e;   /* primary canvas (sampled from original) */
  --olive-deep:   #3f411f;   /* darker band */
  --olive-soft:   #5c5e3b;   /* hover / card wash */
  --cream:        #f4f1e6;   /* primary ink on olive */
  --cream-dim:    #d7d3c0;   /* secondary ink */
  --line:         rgba(244, 241, 230, 0.28);
  --line-soft:    rgba(244, 241, 230, 0.16);

  --font-script: "Mrs Saint Delafield", cursive;
  --font-serif:  "EB Garamond", Georgia, serif;
  --font-sans:   "Raleway", "Helvetica Neue", Arial, sans-serif;

  --maxw: 760px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scrollbar-gutter: stable;   /* prevent layout jitter when scroll locks */
}

a { color: inherit; }

::selection { background: var(--cream); color: var(--olive); }

/* Faint film-grain texture over the whole canvas for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================== NAV =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.nav.is-solid {
  background: rgba(63, 65, 31, 0.82);
  backdrop-filter: blur(10px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
}

.nav__links {
  display: flex;
  gap: clamp(1.3rem, 3vw, 2.6rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.nav__link {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
}
/* the wordmark / home link, set in the display script */
.nav__brandlink {
  font-family: var(--font-script);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: none;
  padding-bottom: 0;
  line-height: 1;
}
.nav__brandlink::after { display: none; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }

.nav__burger { display: none; }

/* ----- mobile menu ----- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--olive-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__close {
  position: absolute; top: 0.9rem; right: 1.1rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: none; color: var(--cream);
  font-size: 2.4rem; line-height: 1; cursor: pointer;
}
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.mobile-menu__links a {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-decoration: none;
  color: var(--cream);
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
}
.mobile-menu__meta {
  margin-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* =========================== HERO =========================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--olive-deep);
}
/* Soft, blurred extension of the same scene — fills the frame edge to edge */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.2);
  filter: blur(36px) brightness(0.6) saturate(1.05);
  animation: kenburns 22s ease-out forwards;
}
/* Photo spans the full width of the frame, framed on the couple */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}
@keyframes kenburns {
  from { transform: scale(1.2); }
  to { transform: scale(1.32); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* neutral (no colour cast) — only darkens the bottom so the names stay legible */
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.24) 22%, rgba(0, 0, 0, 0) 50%);
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-bottom: clamp(5rem, 14vh, 9rem);
}
.hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  color: #fff;
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1.6s var(--ease) 0.5s forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero__chevron {
  position: absolute;
  left: 50%;
  bottom: clamp(1.6rem, 4vh, 2.6rem);
  transform: translateX(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
  animation: floaty 3.4s ease-in-out infinite;
  transition: background 0.3s ease;
}
.hero__chevron:hover { background: rgba(255, 255, 255, 0.2); }
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}

/* =========================== PAGE / LAYOUT =========================== */
.page { position: relative; z-index: 2; }

.section,
.intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) clamp(1.4rem, 6vw, 2rem);
}

/* ----- intro / invitation ----- */
.intro { text-align: center; padding-top: clamp(4rem, 10vw, 6.5rem); }
.intro__couple {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 1;
  margin-bottom: 1.4rem;
}
.intro__date {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.intro__loc {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.55rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 5vw, 2.6rem);
  margin: 2.6rem 0;
}
.countdown__cell { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; min-width: 3.2rem; }
.countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.countdown__lbl {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.intro__note {
  max-width: 30rem;
  margin: 1.8rem auto 0;
  font-size: 1.02rem;
  color: var(--cream-dim);
  font-weight: 300;
}

/* divider rule between major bands */
.intro::after,
#schedule::after {
  content: "";
  display: block;
  width: clamp(40px, 10vw, 70px); height: 1px;
  background: var(--line);
  margin: clamp(3rem, 8vw, 5rem) auto 0;
}

/* =========================== SECTION HEADERS =========================== */
.section__head { text-align: center; margin-bottom: clamp(2.6rem, 7vw, 4rem); }
.section__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 5.5rem);
  line-height: 0.95;
}
.section__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.5rem;
}

/* =========================== SCHEDULE TIMELINE =========================== */
.timeline {
  list-style: none;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -0.5px;        /* crisp 1px axis, no transform half-pixel */
  top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line-soft);
}
.event {
  position: relative;
  text-align: center;
  padding: 0 0 clamp(2.8rem, 7vw, 4rem);
}
.event:last-child { padding-bottom: 0; }
.event::before {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -4.5px;        /* centered on the axis without transform */
  top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--olive);
  border: 1px solid var(--cream-dim);
}
.event__time {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-top: 1.6rem;
}
.event__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.55rem;
}
.event__venue {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.event__venue:hover { border-color: var(--cream); }
.event__dress {
  margin-top: 0.7rem;
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.95rem;
  color: var(--cream-dim);
}
.event__desc {
  max-width: 30rem;
  margin: 0.9rem auto 0;
  font-size: 0.96rem;
  color: var(--cream-dim);
  font-weight: 300;
}
.event__dir {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--cream-dim);
  padding-bottom: 3px;
  transition: opacity 0.3s ease;
}
.event__dir:hover { opacity: 0.6; }

/* =========================== TRAVEL =========================== */
.section--travel { max-width: 920px; }
.travel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.4rem, 4vw, 2.4rem);
}
.travel__card {
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(180deg, rgba(244,241,230,0.035), rgba(244,241,230,0));
  text-align: center;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.travel__card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(244,241,230,0.07), rgba(244,241,230,0));
}
.travel__card--wide { grid-column: 1 / -1; }
.travel__icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--cream);
}
.travel__icon svg { width: 30px; height: 30px; }
.travel__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0.4rem 0 0.7rem;
}
.travel__text {
  font-size: 0.98rem;
  color: var(--cream-dim);
  font-weight: 300;
  max-width: 44rem;
  margin: 0 auto;
}
.travel__text a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.travel__text a:hover { border-color: var(--cream); }
.travel__links {
  list-style: none;
  margin: 1.3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.92rem;
}
.travel__links li { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.travel__links a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.travel__links a:hover { border-color: var(--cream); }
.travel__mini { display: inline-grid; place-items: center; color: var(--cream-dim); }
.travel__mini svg { width: 17px; height: 17px; }
.travel__card .btn { margin-top: 1.4rem; }

/* =========================== PHOTO BAND (parallax) =========================== */
.photoband {
  position: relative;
  height: clamp(360px, 62vh, 640px);
  background: var(--olive-deep) url("assets/photo-couple-2.jpg") center 58% / cover no-repeat;
  background-attachment: fixed;
  display: grid;
  place-items: end center;
  overflow: hidden;
}
.photoband__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 41, 20, 0.6), rgba(40, 41, 20, 0.1) 45%, rgba(40, 41, 20, 0.28));
}
.photoband__accent {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(1.6rem, 5vh, 3rem);
  font-family: var(--font-script);
  color: #fff;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

/* =========================== GALLERY =========================== */
.gallery {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) clamp(1.4rem, 6vw, 2rem);
}
.gallery__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}
.gallery__figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================== BUTTONS =========================== */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 2.4rem;
  display: inline-block;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn--outline:hover { background: var(--cream); color: var(--olive); transform: translateY(-2px); }
.btn--solid {
  background: var(--cream);
  border: 1.5px solid var(--cream);
  color: var(--olive);
}
.btn--solid:hover { background: transparent; color: var(--cream); transform: translateY(-2px); }
.btn--sm { padding: 0.75rem 1.6rem; font-size: 0.68rem; }
.btn--block { width: 100%; padding: 1.05rem; }
.intro .btn { margin-top: 0.4rem; }

/* =========================== FOOTER =========================== */
.footer {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem clamp(7rem, 12vw, 9rem);
  border-top: 1px solid var(--line-soft);
  background: var(--olive-deep);
}
.footer__mono {
  font-family: var(--font-script);
  font-size: 4rem;
  line-height: 1;
}
.footer__mono span { font-size: 2.4rem; opacity: 0.7; }
.footer__date {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  margin: 0.6rem 0 1.6rem;
}
.footer__credit {
  margin-top: 1.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 241, 230, 0.45);
}

/* =========================== STICKY BAR =========================== */
.stickybar {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 160%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.6rem 0.6rem 0.6rem 1.6rem;
  background: rgba(63, 65, 31, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s var(--ease);
}
.stickybar.is-visible { transform: translate(-50%, 0); }
.stickybar__date {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* =========================== MODAL =========================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 29, 12, 0.7);
  backdrop-filter: blur(4px);
}
.modal__card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--olive);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(2rem, 6vw, 3rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.45s var(--ease);
}
.modal.is-open .modal__card { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 0.6rem; right: 0.7rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: none; color: var(--cream-dim);
  font-size: 1.9rem; line-height: 1; cursor: pointer;
  transition: color 0.3s ease;
}
.modal__close:hover { color: var(--cream); }
.modal__couple {
  font-family: var(--font-script);
  font-size: 2.4rem;
  line-height: 1;
}
.modal__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin-top: 0.2rem;
}
.modal__sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0.4rem 0 1.8rem;
}

/* form */
.field { display: block; text-align: left; margin-bottom: 1.1rem; }
.field--choice { border: none; }
.field__label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 0.5rem;
}
.field__req { color: var(--cream); margin-left: 0.2rem; }
.field__optional {
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  opacity: 0.6;
}
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  background: rgba(244, 241, 230, 0.04);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(244, 241, 230, 0.08);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { background: var(--olive-deep); color: var(--cream); }

.choice { display: flex; flex-direction: column; gap: 0.65rem; }
.choice label {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  cursor: pointer;
  min-height: 32px;
}
.choice input { accent-color: var(--cream); width: 18px; height: 18px; }

.modal__hint { min-height: 1rem; margin-top: 0.7rem; font-size: 0.8rem; color: #f3c1a6; }

.modal__success { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.success__mark {
  width: 64px; height: 64px;
  margin: 0.6rem auto 0.4rem;
  display: grid; place-items: center;
  border: 2px solid var(--cream);
  background: rgba(244, 241, 230, 0.06);
  border-radius: 50%;
  color: var(--cream);
  animation: successPop 0.6s var(--ease) both;
}
.success__mark svg { width: 30px; height: 30px; }
@keyframes successPop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
.modal__success .btn { margin-top: 1.4rem; }

/* =========================== SCROLL REVEAL =========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: flex-end; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer; padding: 9px;
  }
  .nav__burger span {
    width: 26px; height: 1.5px; background: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .countdown { gap: 1.2rem; }

  /* fixed-attachment parallax is unreliable on mobile — fall back to scroll */
  .photoband { background-attachment: scroll; height: clamp(320px, 50vh, 460px); }
}

@media (max-width: 480px) {
  .event__name { font-size: clamp(1.4rem, 7vw, 1.7rem); }
  .event__venue { font-size: 0.96rem; }
  .event__desc { font-size: 0.9rem; }
  .event { padding-bottom: clamp(2.2rem, 7vw, 3rem); }
}

@media (max-width: 360px) {
  .countdown__cell { min-width: 2.5rem; }
  .countdown { gap: 0.85rem; }
  .event::before { width: 7px; height: 7px; margin-left: -3.5px; }
}

/* =========================== MOTION SAFETY =========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__names { opacity: 1; transform: none; }
}

/* =========================== LANGUAGE SWITCH =========================== */
.langswitch {
  position: fixed;
  top: 1.5rem;
  left: clamp(1.1rem, 4vw, 2.6rem);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.langswitch__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  color: var(--cream);
  font-family: "Raleway", "Noto Sans Armenian", sans-serif;
  font-size: clamp(0.92rem, 2.6vw, 1.08rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.langswitch__btn:hover { opacity: 0.85; }
.langswitch__btn.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.langswitch__sep { color: var(--cream); opacity: 0.4; font-size: 1rem; }

/* =========================== ARMENIAN (Հայերեն) TYPOGRAPHY =========================== */
/* Latin script/serif fonts don't include Armenian glyphs — swap to Noto Armenian. */
body.lang-hy {
  font-family: "Noto Sans Armenian", "Raleway", sans-serif;
}
body.lang-hy .nav__link,
body.lang-hy .section__eyebrow,
body.lang-hy .intro__loc,
body.lang-hy .countdown__lbl,
body.lang-hy .btn,
body.lang-hy .field__label,
body.lang-hy .modal__sub,
body.lang-hy .mobile-menu__meta,
body.lang-hy .footer__credit,
body.lang-hy .intro__note,
body.lang-hy .event__desc,
body.lang-hy .modal__hint {
  font-family: "Noto Sans Armenian", sans-serif;
}
body.lang-hy .hero__names,
body.lang-hy .intro__couple,
body.lang-hy .section__title,
body.lang-hy .nav__brandlink,
body.lang-hy .photoband__accent,
body.lang-hy .modal__couple,
body.lang-hy .modal__title,
body.lang-hy .intro__date,
body.lang-hy .event__name,
body.lang-hy .event__time,
body.lang-hy .event__venue,
body.lang-hy .event__dress,
body.lang-hy .stickybar__date,
body.lang-hy .footer__date,
body.lang-hy .field input,
body.lang-hy .field select,
body.lang-hy .field textarea,
body.lang-hy .choice label {
  font-family: "Noto Serif Armenian", serif;
}

/* Armenian serif renders much larger than the cursive display face — rescale. */
body.lang-hy .hero__names { font-size: clamp(2.6rem, 9vw, 6rem); font-weight: 500; letter-spacing: 0; line-height: 1.05; }
body.lang-hy .intro__couple { font-size: clamp(2rem, 7vw, 3.3rem); font-weight: 500; }
body.lang-hy .section__title { font-size: clamp(2.1rem, 7.5vw, 3.4rem); font-weight: 500; }
body.lang-hy .photoband__accent { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 500; }
body.lang-hy .nav__brandlink { font-size: 1.05rem; letter-spacing: 0.02em; }
body.lang-hy .modal__couple { font-size: 1.5rem; }
body.lang-hy .mobile-menu__links a { font-size: 1.7rem; }

/* Hide everything marked English-only (the Travel section + its nav links) */
body.lang-hy .lang-en-only { display: none !important; }

/* Armenian-only blocks: hidden by default, shown in the Հայերեն version */
.lang-hy-only { display: none; }
body.lang-hy .lang-hy-only { display: block; }

.closing { text-align: center; }
.closing__text {
  max-width: 32rem;
  margin: 0 auto;
  font-family: "Noto Sans Armenian", sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.8;
}
