/* =========================================================================
   Burgundy Wedding Invitation — bespoke stylesheet
   A vertical "card" experience inspired by yenstudio, dressed in burgundy.
   No frameworks. All layout is hand-authored.
   ========================================================================= */

:root {
  /* Palette — burgundy / cream / ink / champagne */
  --burgundy:        #6a1420;
  --burgundy-deep:   #4c0e17;
  --burgundy-dark:   #380a11;
  --burgundy-soft:   #8a1f2d;
  --burgundy-glow:   #a5303e;

  --cream:           #f5eee2;
  --cream-2:         #efe5d4;
  --cream-3:         #e7dbc6;
  --ink:             #241713;

  --gold:            #c4a262;
  --gold-soft:       #d8bd8a;

  --on-burgundy:        #f6ede0;
  --on-burgundy-muted:  rgba(246, 237, 224, 0.66);
  --on-cream-muted:     #7c6a5f;

  /* Type — Playfair Display (display) & EB Garamond (body) both have
     full, well-drawn Vietnamese diacritics; scripts render VN correctly too. */
  --serif:  "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Parisienne", cursive;
  --script-2: "Great Vibes", cursive;
  --sans:   "Jost", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --card-w: 840px;
  --pad: clamp(18px, 3.5vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #2b2521; /* fallback while the backdrop image loads */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The stage behind the card — a scenic garden photo, softly blurred and
   toned, with a translucent beige/grey wash over it (like the reference).
   Swap the image below to change the backdrop. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background: url("../images/landscape.jpg") center/cover no-repeat;
  filter: grayscale(0.5) sepia(0.28) brightness(0.92) blur(4px);
  transform: scale(1.08); /* hides the soft edges left by the blur */
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 100% at 50% 0%, rgba(214, 206, 191, 0.42), transparent 55%),
    linear-gradient(180deg, rgba(200, 193, 182, 0.66), rgba(120, 114, 107, 0.72));
}

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

/* ---- The card: a centered vertical column ------------------------------- */
.card {
  width: 100%;
  max-width: var(--card-w);
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* ---- Reusable section scaffolding -------------------------------------- */
.section { padding: clamp(56px, 12vw, 96px) var(--pad); position: relative; }
.section--cream    { background: var(--cream); color: var(--ink); }
.section--cream-2  { background: var(--cream-2); color: var(--ink); }
.section--burgundy { background: var(--burgundy); color: var(--on-burgundy); }
.section--burgundy-deep { background: var(--burgundy-deep); color: var(--on-burgundy); }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}
.section--cream .kicker, .section--cream-2 .kicker { color: #a9793f; }

/* Display headings */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 5vw, 3rem);
}
.display .thin { font-weight: 300; }
.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 1;
}
.serif-body { font-family: var(--serif-body); font-size: 1.1rem; font-weight: 400; }

/* Divider: a hairline with a central diamond/seal */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  width: min(80px, 22vw);
  background: linear-gradient(90deg, transparent, currentColor);
}
.divider::after { background: linear-gradient(90deg, currentColor, transparent); }
.divider i { font-size: 0.7rem; opacity: 0.9; }

/* ============================ HERO ===================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--on-burgundy);
  padding: 64px var(--pad);
  overflow: hidden;
  background: var(--burgundy-deep);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/1st_cover.jpg") center/cover no-repeat;
  opacity: 0.55;
  filter: saturate(0.85);
  transform: scale(1.08);
  z-index: 0;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(90% 60% at 50% 40%, rgba(106,20,32,0.25), transparent 70%),
    linear-gradient(180deg, rgba(56,10,17,0.55), rgba(76,14,23,0.85));
}
/* ornamental frame */
.hero__frame {
  position: absolute; inset: 18px; z-index: 2;
  border: 1px solid rgba(212, 189, 138, 0.35);
  pointer-events: none;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(212, 189, 138, 0.16);
}
.hero__inner { position: relative; z-index: 3; width: 100%; }

.hero__pre {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--on-burgundy-muted);
}
.hero__portrait {
  width: clamp(150px, 44vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 8px auto 26px;
  border: 1px solid rgba(212, 189, 138, 0.6);
  box-shadow: 0 0 0 10px rgba(246, 237, 224, 0.04), 0 20px 50px rgba(0,0,0,0.5);
}
.hero__names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.3rem, 8.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0.015em;
  color: var(--cream);
  text-shadow: 0 1px 10px rgba(0,0,0,0.28);
}
.hero__amp { display: block; font-size: 0.42em; color: var(--gold-soft); margin: 2px 0; }
.hero__tag {
  margin-top: 22px;
  font-size: 0.78rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold-soft);
}
.hero__date {
  margin-top: 10px; font-family: var(--serif-body); font-size: 1.2rem;
  letter-spacing: 0.06em; color: var(--on-burgundy);
}
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--on-burgundy-muted);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue i { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ====================== SAVE THE DATE ================================== */
.std__head { text-align: center; }
.std__title {
  font-family: var(--serif);
  font-weight: 500;
  /* viewport-proportional so the date always fits, even on narrow phones */
  font-size: clamp(1.4rem, 6.5vw, 2.6rem);
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center;
  gap: 0.28em; flex-wrap: wrap;
}
.std__title .script {
  font-size: 1.3em; color: var(--burgundy-soft); font-weight: 400;
  transform: translateY(0.08em);
}
.std__date {
  margin-top: 14px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--on-cream-muted); font-size: 0.86rem;
}

/* photo triptych */
.triptych {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 10px;
  margin-top: 34px;
}
.triptych img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 3/4; filter: grayscale(1) contrast(1.03);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.triptych img:hover { filter: grayscale(0); transform: translateY(-4px); }
.triptych a:nth-child(2) img { aspect-ratio: 3/4.4; }

/* countdown */
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 40px; text-align: center;
}
.countdown .cell {
  border: 1px solid rgba(124, 106, 95, 0.28);
  padding: 16px 6px 12px;
  background: rgba(255,255,255,0.35);
}
.countdown .num {
  font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 500; color: var(--burgundy); line-height: 1;
}
.countdown .lab {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-cream-muted); margin-top: 8px;
}

/* ====================== INVITATION / DETAILS ========================== */
.details { position: relative; overflow: hidden; }
.details__bg {
  position: absolute; inset: 0;
  background: url("../images/image3.JPG") center/cover no-repeat;
  opacity: 0.16; z-index: 0;
}
.details__inner { position: relative; z-index: 1; text-align: center; }
.details__title {
  font-family: var(--script); font-size: clamp(2.3rem, 6vw, 3.4rem);
  color: var(--gold-soft); line-height: 1;
}
.detail-block { margin-top: 30px; }
.detail-block h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.3rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--on-burgundy);
}
.detail-block p {
  margin-top: 8px; color: var(--on-burgundy-muted);
  font-family: var(--serif-body); font-size: 1.12rem; line-height: 1.7;
  max-width: 60ch; margin-left: auto; margin-right: auto;
}
/* Highlighted addresses inside the details copy */
.hl { color: rgba(212, 189, 138, 0.6); font-weight: 500; }

/* ============================ COUPLE ================================== */
.couple { text-align: center; }
.couple__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px;
}
.person__photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border: 1px solid var(--cream-3);
  filter: saturate(0.92);
}
.person__role {
  margin-top: 14px; font-size: 0.66rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: #a9793f;
}
.person__name {
  font-family: var(--script); font-size: 2rem; color: var(--burgundy);
  line-height: 1.1; margin-top: 2px;
}
.person__note { font-family: var(--serif-body); color: var(--on-cream-muted); font-size: 1.02rem; }
.couple__amp {
  font-family: var(--script); font-size: 2.4rem; color: var(--gold);
  align-self: center; grid-column: 1 / -1; margin: -6px 0;
}

/* ============================ GALLERY ================================= */
.gallery__grid {
  margin-top: 34px;
  column-count: 2;
  column-gap: 10px;
}
.gallery__grid a {
  display: block; margin-bottom: 10px; break-inside: avoid;
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery__grid img {
  width: 100%; transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.9);
}
.gallery__grid a::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; background: rgba(76,14,23,0.35); opacity: 0;
  transition: opacity 0.4s var(--ease); font-size: 1.2rem;
}
.gallery__grid a:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery__grid a:hover::after { opacity: 1; }

/* ============================ ITINERARY =============================== */
.itinerary { text-align: center; }
.timeline {
  margin-top: 40px;
  display: grid;
  gap: 0;
  position: relative;
  text-align: left;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
.tl-item {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px;
  padding: 0 0 34px 0; position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { /* vertical line */
  content: ""; position: absolute; left: 26px; top: 46px; bottom: -4px;
  width: 1px; background: rgba(196, 162, 98, 0.5);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--burgundy); font-size: 1.2rem;
  background: var(--cream);
  z-index: 1;
}
.tl-time {
  font-family: var(--serif); font-weight: 600; color: var(--burgundy);
  letter-spacing: 0.14em; font-size: 1rem;
}
.tl-title { font-family: var(--script); font-size: 1.55rem; color: var(--ink); line-height: 1; margin-top: -2px; }
.tl-desc { font-family: var(--serif-body); color: var(--on-cream-muted); font-size: 1rem; }

/* ============================ RSVP =================================== */
.rsvp { text-align: center; position: relative; }
.monogram {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.5rem, 9vw, 5.5rem); line-height: 0.8;
  color: rgba(246,237,224,0.14);
  letter-spacing: -0.04em;
  position: absolute; top: 24px; left: 0; right: 0; z-index: 0;
  pointer-events: none;
}
.rsvp__inner { position: relative; z-index: 1; }
.rsvp__title { font-family: var(--script); font-size: clamp(2.3rem, 6vw, 3.4rem); color: var(--gold-soft); line-height: 1; }
.rsvp__names { font-family: var(--serif); letter-spacing: 0.34em; text-transform: uppercase; margin-top: 4px; font-size: 1rem; color: var(--on-burgundy); }
.rsvp__text { color: var(--on-burgundy-muted); font-family: var(--serif-body); font-size: 1.14rem; margin: 18px auto 26px; max-width: 58ch; }

.rsvp-form { display: grid; gap: 14px; max-width: 600px; margin: 0 auto; text-align: left; }
.rsvp-form label { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-burgundy-muted); }
.rsvp-form input, .rsvp-form select, .rsvp-form textarea {
  width: 100%; padding: 12px 14px; margin-top: 6px;
  background: rgba(246,237,224,0.06);
  border: 1px solid rgba(212,189,138,0.35);
  color: var(--on-burgundy); font-family: var(--serif-body); font-size: 1.05rem;
  border-radius: 0; outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: rgba(246,237,224,0.4); }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus {
  border-color: var(--gold-soft); background: rgba(246,237,224,0.1);
}
.rsvp-form select option { color: #241713; }

.attend-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.attend-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.attend-toggle label {
  display: block; text-align: center; padding: 14px;
  border: 1px solid rgba(212,189,138,0.4);
  font-family: var(--serif-body); font-size: 1.05rem; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.3s var(--ease); color: var(--on-burgundy);
  text-transform: none;
}
.attend-toggle input:checked + label {
  background: var(--gold); color: var(--burgundy-deep); border-color: var(--gold);
  font-weight: 600;
}

.btn {
  display: inline-block; width: 100%; padding: 15px;
  background: var(--gold); color: var(--burgundy-deep);
  border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.76rem;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease);
  margin-top: 6px;
}
.btn:hover { background: var(--gold-soft); transform: translateY(-2px); }
.form-msg { text-align: center; font-family: var(--serif-body); font-size: 1.05rem; color: var(--gold-soft); min-height: 1.4em; }

/* ============================ MAP ==================================== */
.location { text-align: center; }
.location__venue { font-family: var(--serif); font-size: 1.4rem; color: var(--burgundy); margin-top: 8px; }
.location__addr { color: var(--on-cream-muted); font-family: var(--serif-body); font-size: 1.08rem; }
.map-frame {
  margin-top: 26px; border: 1px solid var(--cream-3);
  overflow: hidden; line-height: 0;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; filter: grayscale(0.2) contrast(1.02); }
.map-links { display: flex; justify-content: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.map-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--cream-3);
  color: var(--burgundy); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.3s var(--ease);
}
.map-links a:hover { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }

/* ============================ FOOTER ================================= */
.footer { text-align: center; padding: clamp(60px, 14vw, 100px) var(--pad); }
.footer__thanks { font-family: var(--script); font-size: clamp(2rem, 5.5vw, 3rem); color: var(--gold-soft); line-height: 1; }
.footer__sub { color: var(--on-burgundy-muted); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.72rem; margin-top: 16px; }
.footer__mono { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.2em; color: var(--gold); margin-top: 24px; }

/* ==================== Floating controls ============================== */
.fab {
  position: fixed; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--burgundy); color: var(--gold-soft);
  border: 1px solid rgba(212,189,138,0.45);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); background: var(--burgundy-soft); }
.fab--music { bottom: 22px; left: 22px; }
.fab--music.playing i { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fab--top { bottom: 22px; right: 22px; opacity: 0; pointer-events: none; }
.fab--top.show { opacity: 1; pointer-events: auto; }

/* On wide screens keep the FABs near the card, not screen edges */
@media (min-width: 900px) {
  .fab--music { left: calc(50% - var(--card-w) / 2 + 14px); }
  .fab--top   { right: calc(50% - var(--card-w) / 2 + 14px); }
}

/* ==================== Language switch ================================ */
.lang-switch {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 60; display: flex; overflow: hidden;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em;
  background: rgba(56, 10, 17, 0.55); border: 1px solid rgba(212, 189, 138, 0.4);
  border-radius: 999px; backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lang-switch a {
  padding: 6px 13px; color: var(--on-burgundy-muted); text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.active { background: var(--gold); color: var(--burgundy-deep); font-weight: 500; }

/* ==================== Lightbox ======================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(30, 6, 10, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; color: var(--gold-soft); background: none; border: none;
  cursor: pointer; font-size: 1.6rem; padding: 12px;
  transition: color 0.3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { color: #fff; }
.lightbox__close { top: 14px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__nav.prev { left: 8px; }
.lightbox__nav.next { right: 8px; }

/* ==================== QR "can't attend" modal ======================= */
.qr-modal {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(30, 6, 10, 0.9);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.35s var(--ease);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.qr-modal.open { display: flex; opacity: 1; }
.qr-modal__box {
  position: relative;
  background: var(--cream);
  max-width: 380px; width: 100%;
  padding: 34px 28px 30px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  border: 1px solid var(--gold-soft);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.qr-modal.open .qr-modal__box { transform: none; }
.qr-modal__title {
  font-family: var(--script); font-size: 2.4rem; line-height: 1;
  color: var(--burgundy); margin-bottom: 10px;
}
.qr-modal__text {
  font-family: var(--serif-body); font-size: 1.05rem; line-height: 1.6;
  color: var(--on-cream-muted); margin: 0 auto 20px; max-width: 30ch;
}
.qr-modal__box img {
  width: 220px; max-width: 78%; margin: 0 auto;
  border: 1px solid var(--cream-3);
}
.qr-modal__close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--on-cream-muted);
  transition: color 0.3s var(--ease);
}
.qr-modal__close:hover { color: var(--burgundy); }

/* ==================== Scroll reveal ================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="zoom"].in { transform: none; }
[data-reveal].d1 { transition-delay: 0.12s; }
[data-reveal].d2 { transition-delay: 0.24s; }
[data-reveal].d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scroll-cue i, .fab--music.playing i { animation: none !important; }
}

/* ==================== Mobile type scaling ==========================
   The base type is enlarged (112.5%) for the wide desktop card. On phones
   the card is full-width, so we step the root size down to keep text from
   overflowing / breaking, and tighten the heavily-tracked uppercase labels. */
@media (max-width: 768px) {
  html { font-size: 100%; }
}
@media (max-width: 480px) {
  html { font-size: 93.75%; } /* ~15px */
  .kicker { letter-spacing: 0.26em; font-size: 0.66rem; }
  .hero__pre { letter-spacing: 0.26em; }
  .hero__tag { letter-spacing: 0.3em; }
  .rsvp__names { letter-spacing: 0.22em; }
  .detail-block h3 { letter-spacing: 0.18em; }
  .footer__sub { letter-spacing: 0.22em; }

  /* Save-the-date: keep the big date + lunar line inside the card */
  .std__title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .std__title .script { font-size: 1.15em; }
  .std__date { font-size: 0.66rem; letter-spacing: 0.1em; }

  /* Map buttons: stack instead of overflowing side by side */
  .map-links { flex-direction: column; align-items: center; }
  .map-links a { width: 100%; max-width: 260px; justify-content: center; letter-spacing: 0.12em; }
}
@media (max-width: 360px) {
  html { font-size: 87.5%; } /* ~14px */
  .kicker { letter-spacing: 0.2em; }
  .std__title .script { font-size: 1.05em; }
}








