/* ============================================================
   style.css — Ezelta Sacred Vows
   Editorial, intimate, cinematic. Mobile-first.
   v5: Light & Lace design upgrade.
   ============================================================ */

/* ─── Design Tokens ──────────────────────────────────── */
:root {
  /* ─── Primary ───────────────────────── */
  --candle:      #F1ECDB;   /* headings, body text, buttons, lace frames (v7: LIGHT) */
  --juniper:     #292F17;   /* deepest dark — footer, envelope, darkest sections */
  --warm-wood:   #3C1B0F;   /* primary background surface (v7: DARK) */

  /* ─── Accent ────────────────────────── */
  --bow:         #7E2625;   /* highlight accent — active states, emphasis */
  --leaf:        #868859;   /* labels, dividers, muted secondary text */

  /* ─── Supporting ────────────────────── */
  --cream:       #FAF7F0;   /* card backgrounds — windows of light on dark surface */
  --soft-gold:   #C4A96A;   /* wax seal, metallic accents (use sparingly) */

  /* Legacy aliases */
  --beige-sand:      var(--warm-wood);  /* section bgs → dark */
  --dark-pine:       var(--juniper);    /* darkest sections */
  --earth-brown:     var(--candle);     /* headings/text → light */
  --slate-blue-grey: var(--leaf);       /* muted accents */
  --charcoal-grey:   var(--candle);     /* body text → light */
  --off-white:       var(--cream);      /* card bgs → cream */
  --warm-ivory:      var(--cream);      /* lace mats → cream */

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Lora", Georgia, serif;
  --font-script:  "Pinyon Script", "Great Vibes", cursive;

  --maxw: 1100px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-pad: clamp(4rem, 12vh, 9rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 800ms;

  /* Flourish divider — inline SVG mask shared across sections */
  --flourish-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='black' stroke-linecap='round'%3E%3Cpath d='M2 12 C12 4 28 4 40 12' stroke-width='2'/%3E%3Cline x1='40' y1='12' x2='88' y2='12' stroke-width='1.2'/%3E%3Ccircle cx='100' cy='12' r='4' fill='black' stroke='none'/%3E%3Ccircle cx='100' cy='12' r='8' stroke-width='1' opacity='0.55'/%3E%3Cline x1='112' y1='12' x2='160' y2='12' stroke-width='1.2'/%3E%3Cpath d='M160 12 C172 4 188 4 198 12' stroke-width='2'/%3E%3Ccircle cx='44' cy='12' r='2.5' fill='black' stroke='none' opacity='0.6'/%3E%3Ccircle cx='156' cy='12' r='2.5' fill='black' stroke='none' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ─── Resets ─────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.85;
  color: var(--candle);
  background: var(--warm-wood);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paper / parchment texture overlay — fixed, completely non-interactive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998; /* below opening (1000) and lightbox (1100) */
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 3px, rgba(241,236,219,0.025) 3px, rgba(241,236,219,0.025) 4px),
    repeating-linear-gradient(75deg,  transparent, transparent 6px, rgba(241,236,219,0.015) 6px, rgba(241,236,219,0.015) 7px);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--candle);
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1.25em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ─── Layout helpers ─────────────────────────────────── */
.section { padding: var(--section-pad) var(--gutter); }
.wrap { max-width: var(--maxw); margin-inline: auto; }
.narrow { max-width: 680px; }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--leaf);
  margin: 0 0 0.85rem;
}

.section-title {
  font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem);
  font-style: italic;
  font-weight: 500;
  color: var(--candle);
  margin: 0.25rem 0 0.5rem;
}

/* ─── Ornamental flourish divider ────────────────────── */
.divider-mark {
  width: 180px;
  height: 24px;
  margin: 1.75rem auto;
  background-color: var(--candle);
  opacity: 0.45;
  -webkit-mask: var(--flourish-mask) center / contain no-repeat;
          mask: var(--flourish-mask) center / contain no-repeat;
}
/* Inside light cards — use dark color */
.blessing .divider-mark,
.dresscode .divider-mark {
  background-color: var(--warm-wood);
  opacity: 0.4;
}
/* Already-dark sections — slightly lighter */
.events .divider-mark,
.closing .divider-mark {
  background-color: var(--candle);
  opacity: 0.5;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--candle);
  line-height: 1;
}

/* ─── Scroll reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Section 0 — Opening / Envelope Overlay
   ============================================================ */
.opening {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--juniper);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
  transition: opacity 1200ms ease-in-out, visibility 1200ms;
}
/* Dark overlay on top of background image */
.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41,47,23,0.72);
  pointer-events: none;
  z-index: 0;
}
.opening.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.opening__inner {
  max-width: 540px;
  animation: fadeUp 1.2s var(--ease-out) both;
}
.opening__greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.1rem);
  color: var(--candle);
  margin-bottom: 1.75rem;
}
.opening__invite {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(247,244,238,0.78);
  margin-bottom: 0.75rem;
}
.opening__names {
  font-family: var(--font-script);
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  color: var(--off-white);
  margin-bottom: 2.5rem;
}

/* ─── Envelope ───────────────────────────────────────── */
.envelope {
  position: relative;
  width: clamp(180px, 48vw, 230px);
  aspect-ratio: 7 / 5;
  margin: 0 auto 3rem;
  perspective: 1200px;
  will-change: transform;
}
.envelope > div { position: absolute; }

/* Back panel */
.envelope__back {
  inset: 0;
  background: linear-gradient(150deg, #FAF7F0 0%, var(--warm-ivory) 50%, #EAE4D2 100%);
  border: 1px solid rgba(196,169,106,0.4);
  border-radius: 6px;
  box-shadow:
    0 10px 45px rgba(0,0,0,0.38),
    0 3px 10px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.55);
  z-index: 1;
}

/* Letter that rises */
.envelope__letter {
  left: 9%; right: 9%;
  top: 10%; height: 74%;
  background: linear-gradient(180deg, #FDFCF8 0%, var(--warm-ivory) 100%);
  border-radius: 2px;
  box-shadow: 0 4px 22px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.65);
  transform: translateY(22%);
  opacity: 0;
  z-index: 2;
  overflow: hidden;
  transition: transform 1100ms 1000ms cubic-bezier(0.4,0,0.2,1),
              opacity    700ms  1000ms ease-in-out;
}
/* Faint ruled lines on the letter */
.envelope__letter::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 18%; bottom: 12%;
  background-image: repeating-linear-gradient(
    180deg,
    transparent, transparent 17px,
    rgba(196,169,106,0.18) 17px, rgba(196,169,106,0.18) 18px
  );
}

/* Front pocket — V-notch bottom half */
.envelope__front {
  inset: 0;
  background: linear-gradient(150deg, #EAE4D2 0%, var(--warm-ivory) 45%, #EAE4D2 100%);
  border: 1px solid rgba(196,169,106,0.4);
  border-radius: 6px;
  clip-path: polygon(0 40%, 50% 74%, 100% 40%, 100% 100%, 0 100%);
  z-index: 3;
  box-shadow: inset 0 -2px 8px rgba(94,75,59,0.07);
}

/* Top flap — hinged on top edge; visuals (lace trim + creases) drawn by inner SVG */
.envelope__flap {
  top: 0; left: 0;
  width: 100%; height: 74%;
  transform-origin: top center;
  transform: rotateX(0deg);
  backface-visibility: hidden;
  z-index: 4;
  filter: drop-shadow(0 1px 3px rgba(94,75,59,0.12));
  transition: transform 1700ms cubic-bezier(0.4,0,0.2,1);
}
.envelope__flap-svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Pearl button closure — sits at the flap tip (fold seam) */
.envelope__pearl {
  position: absolute;
  top: calc(74% - 11px); /* centered on the flap tip / pocket seam */
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  z-index: 6;
  background:
    radial-gradient(circle at 36% 30%,
      #ffffff 0%, #f6efdd 38%, #e6dcc2 68%, #cdc3aa 100%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.85),
    inset 0 -2px 3px rgba(120,100,70,0.3),
    0 2px 6px rgba(0,0,0,0.3);
  transition: transform 320ms cubic-bezier(0.4,0,0.2,1),
              opacity   280ms ease-in-out;
  will-change: transform, opacity;
}

/* Sequenced opening: pearl unclasps, then flap folds, then letter rises */
.opening.is-opening .envelope__pearl {
  transform: translateX(-50%) scale(0.55);
  opacity: 0;
  transition-duration: 300ms;
}
.opening.is-opening .envelope__flap { transform: rotateX(180deg); z-index: 1; }
.opening.is-opening .envelope__letter { transform: translateY(-36%); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .envelope__flap, .envelope__letter, .envelope__pearl { transition: none; }
}

/* "Open Invitation" — elegant underline text style */
.btn-open {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247,244,238,0.38);
  color: rgba(247,244,238,0.88);
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  padding: 0.45rem 0.1rem;
  border-radius: 0;
  transition: color 400ms var(--ease-out), border-color 400ms var(--ease-out);
}
.btn-open:hover,
.btn-open:focus-visible {
  color: var(--off-white);
  border-color: rgba(247,244,238,0.85);
}
.opening.is-opening .btn-open {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease-in-out;
}

body.is-locked { overflow: hidden; }

/* ============================================================
   Section 1 — Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--off-white);
  overflow: hidden;
  padding: var(--gutter);
}
.hero__bg {
  position: absolute;
  inset: -8%;
  background: var(--juniper) center/cover no-repeat;
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* darker where the names (top) and countdown (bottom) sit, lighter in the middle */
  background: linear-gradient(180deg,
    rgba(41,47,23,0.62) 0%,
    rgba(41,47,23,0.34) 42%,
    rgba(41,47,23,0.70) 100%);
}
/* Subtle hero vignette for depth */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

/* Monogram rendered via CSS mask (assets/monogram_full.svg), tinted Candle */
.monogram-mark {
  background-color: var(--candle);
  -webkit-mask: url("assets/monogram_full.svg") center / contain no-repeat;
          mask: url("assets/monogram_full.svg") center / contain no-repeat;
}
.hero__monogram {
  /* Sized by width so it stays readable yet never overflows narrow screens.
     The monogram art already carries the names + date. max-height keeps it
     from crowding the countdown on short viewports. */
  width: clamp(250px, 74vw, 430px);
  height: auto;
  max-height: 62vh;
  aspect-ratio: 727 / 1035;
  margin: 0 auto clamp(1.25rem, 3vh, 2rem);
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.45));
}
.hero__names {
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 2rem + 9vw, 7rem);
  color: var(--off-white);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 2px 30px rgba(0,0,0,0.3);
}
.hero__date {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem);
  color: var(--candle);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.75rem);
  margin-bottom: 3rem;
}
.countdown__unit { min-width: 3.5rem; }
.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  line-height: 1;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.countdown__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--candle);
  margin-top: 0.6rem;
}

.scroll-hint {
  position: absolute;
  bottom: clamp(1.25rem, 4vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-hint__line {
  width: 1px; height: 48px;
  margin: 0 auto;
  background: linear-gradient(var(--beige-sand), transparent);
  animation: scrollPulse 2.4s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   Section 2 — Blessing
   ============================================================ */
.blessing { background: rgba(241,236,219,0.04); text-align: center; }

/* Card treatment */
.blessing .narrow {
  background: var(--warm-ivory);
  border-radius: 8px;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  box-shadow:
    0 4px 28px rgba(94,75,59,0.09),
    0 1px 4px rgba(94,75,59,0.07),
    0 0 0 1px rgba(196,169,106,0.15);
  position: relative;
}
/* Inner decorative border */
.blessing .narrow::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196,169,106,0.22);
  border-radius: 4px;
  pointer-events: none;
}

.blessing__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  line-height: 1.5;
  color: var(--warm-wood);   /* dark text inside light card */
  white-space: pre-line;
  margin-bottom: 1.5rem;
}
.blessing__source {
  letter-spacing: 0.2em;
  color: var(--leaf);
  font-size: 0.95rem;
}

/* ============================================================
   Section 3 — The Couple
   ============================================================ */
.couple { background: var(--warm-wood); }
.couple__grid {
  display: grid;
  gap: clamp(3rem, 8vw, 5rem);
}
.person { text-align: center; }

/* Ornate monogram frame laid OVER an oval photo */
.person__photo-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 2rem;
  aspect-ratio: 727 / 1035;   /* match monogram_frame.svg */
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.38));
}
.person__photo {
  position: absolute;
  /* The oval photo sits in the frame's window. Tune these 4 values to fit. */
  top: 47%;
  left: 50%;
  width: 64%;
  height: 58%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border-radius: 50%;         /* ellipse, since width != height */
  background: var(--off-white);
  filter: grayscale(6%);
  z-index: 1;
}
/* the frame art, recoloured to candle, overlaid on top */
.person__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-color: var(--candle);
  -webkit-mask: url("assets/monogram_frame.svg") center / contain no-repeat;
          mask: url("assets/monogram_frame.svg") center / contain no-repeat;
}

.person__name {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 1.8rem + 4vw, 4rem);
  color: var(--candle);   /* light text on dark section */
  margin-bottom: 0.25rem;
}
.person__fullname {
  letter-spacing: 0.18em;
  color: var(--leaf);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.person__bio {
  color: var(--candle);
  max-width: 42ch;
  margin-inline: auto;
}
.couple__amp {
  display: none;
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--leaf);
  align-self: center;
  text-align: center;
}

/* ============================================================
   Section 4 — Our Story
   ============================================================ */
.story { background: rgba(241,236,219,0.04); }
.story__para {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
  line-height: 1.6;
  color: var(--candle);
  max-width: 60ch;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Rectangular photo with ornate corner pieces overlaid at each corner */
.story__photo-wrap {
  position: relative;
  margin: 2.5rem auto 3rem;
  display: inline-block;
  width: 100%;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,0.3));
}
.story__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background: var(--off-white);
  margin: 0;
}
.story__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--candle);
  -webkit-mask-image:
    url("assets/topleft_imgborder.svg"),
    url("assets/topright_imgborder.svg"),
    url("assets/bottomleft_imgborder.svg"),
    url("assets/bottomright_imgborder.svg");
          mask-image:
    url("assets/topleft_imgborder.svg"),
    url("assets/topright_imgborder.svg"),
    url("assets/bottomleft_imgborder.svg"),
    url("assets/bottomright_imgborder.svg");
  -webkit-mask-position: left top, right top, left bottom, right bottom;
          mask-position: left top, right top, left bottom, right bottom;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: clamp(58px, 17%, 124px);
          mask-size: clamp(58px, 17%, 124px);
}
/* story photo offset classes (unchanged) */
.story__photo--offset { }
@media (min-width: 768px) {
  .story__photo-wrap--left  { width: 70%; margin-right: auto; }
  .story__photo-wrap--right { width: 70%; margin-left: auto; }
}

/* ============================================================
   Section 5 — Gallery
   ============================================================ */
.gallery { background: var(--warm-wood); }

/* Horizontal scroll gallery — natural aspect ratios, no cropping; auto-scrolls */
.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 3rem;
  padding: 8px clamp(1.25rem, 5vw, 4rem) 22px;
  cursor: grab;
}
.gallery-scroll.is-grabbing { cursor: grabbing; }
.gallery-scroll.is-grabbing .gallery-item { transition: none; }
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }

/* Each photo keeps its natural aspect ratio, with ornate corners overlaid */
.gallery-item {
  position: relative;
  flex: 0 0 auto;
  height: 360px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 3px;
  cursor: zoom-in;
  filter: drop-shadow(0 14px 36px rgba(0,0,0,0.32));
  transition: transform 400ms var(--ease-out);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img {
  height: 100%;
  width: auto;
  max-width: none;       /* override global img max-width so wide photos aren't squeezed */
  display: block;
  object-fit: contain;   /* nothing is cropped */
  border-radius: 2px;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: var(--candle);
  -webkit-mask-image:
    url("assets/topleft_imgborder.svg"),
    url("assets/topright_imgborder.svg"),
    url("assets/bottomleft_imgborder.svg"),
    url("assets/bottomright_imgborder.svg");
          mask-image:
    url("assets/topleft_imgborder.svg"),
    url("assets/topright_imgborder.svg"),
    url("assets/bottomleft_imgborder.svg"),
    url("assets/bottomright_imgborder.svg");
  -webkit-mask-position: left top, right top, left bottom, right bottom;
          mask-position: left top, right top, left bottom, right bottom;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: clamp(44px, 22%, 84px);
          mask-size: clamp(44px, 22%, 84px);
}
@media (max-width: 767px) {
  .gallery-item { height: 270px; padding: 8px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(45,69,56,0.94);
  display: none;
  place-items: center;
}
.lightbox.is-open { display: grid; }
.lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(247,244,238,0.6);
  color: var(--off-white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(247,244,238,0.15); }
.lightbox__prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.75rem);
  right: clamp(0.75rem, 3vw, 1.75rem);
  background: transparent;
  border: 0;
  color: var(--off-white);
  font-size: 2rem;
  line-height: 1;
}

/* ============================================================
   Section 6 — Events
   ============================================================ */
.events { background: var(--dark-pine); color: var(--off-white); position: relative; }
/* Subtle vignette on dark section */
.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}
.events .eyebrow { color: var(--leaf); }
.events .section-title { color: var(--off-white); }
.events__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  position: relative; /* above vignette */
}
@media (min-width: 768px) {
  .events__grid { align-items: stretch; }
}
.event-card {
  background: var(--cream);
  color: var(--warm-wood);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 6px 30px rgba(0,0,0,0.25),
    0 0 0 1px rgba(196,169,106,0.2);
  position: relative;
}
/* Inner decorative border on event cards */
.event-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196,169,106,0.2);
  border-radius: 4px;
  pointer-events: none;
  z-index: 0;
}
.event-card__body {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1; /* stretch body to fill card height so maps align */
}
.event-card__icon {
  width: 40px; height: 40px;
  margin: 0 auto 1rem;
  color: var(--soft-gold);
}
.event-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--warm-wood);   /* inside light card */
  margin-bottom: 0.75rem;
}
.event-card__meta { margin-bottom: 0.35rem; }
.event-card__time { letter-spacing: 0.16em; color: var(--leaf); }
.event-card__venue { font-weight: 600; color: var(--warm-wood); margin-top: 0.75rem; }
.event-card__address {
  font-size: 0.92rem;
  color: var(--warm-wood);
  margin-bottom: 0;
  flex: 1; /* pushes button to bottom of body */
}
.event-card__map {
  width: 100%;
  height: 200px; /* fixed height so both cards' maps align */
  border: 0;
  display: block;
  background: var(--candle);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.btn-directions {
  display: block;
  width: calc(100% - 0px); /* full width within body */
  margin-top: 1.5rem;
  background: var(--warm-wood);
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  padding: 0.8rem 1.8rem;
  border-radius: 2px;
  transition: background 400ms var(--ease-out), opacity 300ms;
  flex-shrink: 0;
}
.btn-directions:hover { background: var(--juniper); }

/* ============================================================
   Section 7 — Dress Code
   ============================================================ */
.dresscode { background: rgba(241,236,219,0.04); text-align: center; }
/* Card treatment */
.dresscode .narrow {
  background: var(--warm-ivory);
  border-radius: 8px;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  box-shadow:
    0 4px 24px rgba(94,75,59,0.09),
    0 0 0 1px rgba(196,169,106,0.15);
  position: relative;
}
.dresscode .narrow::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196,169,106,0.2);
  border-radius: 4px;
  pointer-events: none;
}
.dresscode__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  color: var(--warm-wood);   /* dark text inside light card */
  margin-bottom: 0.75rem;
}
.dresscode__note { color: var(--warm-wood); }
.swatches {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.swatch {
  width: 48px; height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* ============================================================
   Section 8 — RSVP
   ============================================================ */
.rsvp { background: var(--warm-wood); }
.rsvp__form {
  max-width: 600px;
  margin: 3rem auto 0;
  background: var(--warm-ivory);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow:
    0 4px 28px rgba(94,75,59,0.09),
    0 0 0 1px rgba(196,169,106,0.15);
  position: relative;
}
.rsvp__form::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196,169,106,0.18);
  border-radius: 4px;
  pointer-events: none;
}

.field { margin-bottom: 1.75rem; }
.field label {
  display: block;
  letter-spacing: 0.16em;
  color: var(--warm-wood);   /* inside light card */
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.field input[type="text"],
.field input[type="number"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--warm-wood);
  background: var(--cream);
  border: 1px solid rgba(60,27,15,0.22);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 300ms var(--ease-out);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--slate-blue-grey);
}
.field textarea { resize: vertical; min-height: 110px; }

.radio-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.radio-pill {
  flex: 1 1 auto;
  min-width: 160px;
  position: relative;
}
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(60,27,15,0.28);
  border-radius: 2px;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  color: var(--warm-wood);
  background: var(--cream);
  transition: all 300ms var(--ease-out);
}
.radio-pill input:checked + span {
  background: var(--bow);
  color: var(--cream);
  border-color: var(--bow);
}
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 2px var(--slate-blue-grey); }

.btn-submit {
  width: 100%;
  background: var(--dark-pine);
  color: var(--off-white);
  border: 0;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 2px;
  transition: opacity 300ms, background 400ms var(--ease-out);
}
.btn-submit:hover:not(:disabled) { background: var(--earth-brown); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-submit .spinner {
  display: inline-block;
  width: 1em; height: 1em;
  border: 2px solid rgba(247,244,238,0.4);
  border-top-color: var(--off-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -0.15em;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-message {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--candle);
  padding: 2rem 1rem;
}
.form-error {
  color: var(--bow);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.rsvp__loading {
  text-align: center;
  font-style: italic;
  color: var(--slate-blue-grey);
  padding: 2rem 0;
}

.field__hint {
  color: var(--slate-blue-grey);
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.field__hint--warn { color: var(--bow); }

.rsvp__submitted {
  max-width: 520px;
  margin: 3rem auto 0;
  text-align: center;
  background: var(--warm-ivory);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(94,75,59,0.09), 0 0 0 1px rgba(196,169,106,0.15);
}
.rsvp-submitted__thanks {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--warm-wood);   /* inside light card */
  margin-bottom: 1.5rem;
}
.rsvp-submitted__details { display: flex; flex-direction: column; gap: 0.4rem; }
.rsvp-submitted__line { color: var(--warm-wood); font-size: 0.95rem; }

.rsvp__no-token {
  max-width: 520px;
  margin: 3rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--slate-blue-grey);
  font-size: 1.05rem;
}

[hidden] { display: none !important; }

/* ============================================================
   Section 9 — Angpao / Gift
   ============================================================ */
.gift { background: rgba(241,236,219,0.04); text-align: center; }
.gift__message { max-width: 46ch; margin: 0 auto; color: var(--candle); }
.gift__cards {
  display: grid;
  gap: 1.5rem;
  max-width: 400px;   /* single account → tighter, centered, no empty space */
  margin: 0 auto;
}
.bank-card {
  background: var(--cream);
  border: 1px solid rgba(196,169,106,0.3);
  border-radius: 10px;
  padding: clamp(2rem, 6vw, 2.75rem) clamp(1.5rem, 5vw, 2.25rem);
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28);
  position: relative;
}
.bank-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(196,169,106,0.22);
  border-radius: 6px;
  pointer-events: none;
}
.bank-card__icon {
  width: 38px; height: 38px;
  margin: 0 auto 0.9rem;
  color: var(--bow);
}
.bank-card__bank {
  letter-spacing: 0.28em;
  color: var(--leaf);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bank-card__number {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.3rem);
  color: var(--warm-wood);   /* inside light card */
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.bank-card__name { color: var(--warm-wood); margin-top: 0.5rem; font-size: 0.95rem; }
.btn-copy {
  display: block;
  width: 100%;
  margin-top: 1.75rem;
  background: var(--bow);
  border: 1px solid var(--bow);
  color: var(--candle);
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  padding: 0.85rem 1.4rem;
  border-radius: 3px;
  transition: all 300ms var(--ease-out);
}
.btn-copy:hover { background: #6a1f1e; border-color: #6a1f1e; }
.btn-copy.copied { background: var(--juniper); border-color: var(--juniper); color: var(--candle); }
.gift__qris { max-width: 240px; margin: 2.5rem auto 0; }

/* ============================================================
   Section 10 — Greetings Wall
   ============================================================ */
.greetings { background: var(--warm-wood); }
.greetings__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  max-width: 760px;
  margin-inline: auto;
}
/* Light "note card" on the dark wall, for clear contrast */
.greeting-card {
  position: relative;
  background: var(--cream);
  border-radius: 8px;
  padding: 1.6rem 1.75rem 1.4rem;
  box-shadow:
    0 0 0 1px rgba(196,169,106,0.25),
    0 10px 28px rgba(0,0,0,0.28);
  break-inside: avoid;
}
.greeting-card__quote {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.5;
  height: 1rem;
  color: var(--bow);
  opacity: 0.5;
}
.greeting-card__msg {
  margin: 0 0 1rem;
  color: var(--warm-wood);
  font-style: italic;
}
.greeting-card__name {
  font-family: var(--font-script);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--bow);
}
.greeting-card__time {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0.3rem 0 0;
}
.greetings__empty,
.greetings__loading {
  text-align: center;
  font-style: italic;
  color: var(--leaf);
  margin-top: 3rem;
}
.btn-more {
  display: block;
  margin: 2rem auto 0;
  background: transparent;
  border: 1px solid var(--candle);
  color: var(--candle);
  letter-spacing: 0.16em;
  padding: 0.7rem 2rem;
  border-radius: 2px;
}
.btn-more:hover { background: var(--candle); color: var(--warm-wood); }

/* ============================================================
   Section 11 — Closing / Footer
   ============================================================ */
.closing {
  background: var(--dark-pine);
  color: var(--off-white);
  text-align: center;
  position: relative;
}
/* Deep vignette */
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}
.closing .wrap { position: relative; z-index: 1; }

.closing__msg {
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  line-height: 1.45;
  white-space: pre-line;   /* render the \n in the message as a line break */
  color: var(--candle);
}
/* Footer monogram — the simpler initials mark, sized larger for legibility */
.closing__monogram {
  width: clamp(180px, 46vw, 290px);
  height: auto;
  aspect-ratio: 323 / 444;
  margin: 0 auto clamp(1.25rem, 3vh, 2rem);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.42));
  -webkit-mask: url("assets/monogram_initials.svg") center / contain no-repeat;
          mask: url("assets/monogram_initials.svg") center / contain no-repeat;
}
.closing__date {
  letter-spacing: 0.4em;
  color: var(--candle);
  font-size: 1rem;
  margin-bottom: 3rem;
}
.closing__credit {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(247,244,238,0.5);
}
/* Lace heart / flourish ornament above the closing names */
.closing__ornament {
  display: block;
  width: 60px; height: 60px;
  margin: 0 auto 1.5rem;
  opacity: 0.45;
  color: var(--beige-sand);
}

.btn-top {
  display: inline-block;
  margin-bottom: 2.5rem;
  background: transparent;
  border: 1px solid var(--candle);
  color: var(--candle);
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
}
.btn-top:hover { background: var(--candle); color: var(--warm-wood); }

/* ============================================================
   Music Player (floating)
   ============================================================ */
.music {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(60,27,15,0.92);
  color: var(--candle);
  border-radius: 999px;
  padding: 0.45rem;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.music[hidden] { display: none; }
.music.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.music__toggle {
  background: transparent;
  border: 0;
  color: var(--candle);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.music__toggle svg { width: 20px; height: 20px; }
.music__icon-pause { display: none; }
.music.is-playing .music__icon-play { display: none; }
.music.is-playing .music__icon-pause { display: block; }
.music__volume {
  width: 0;
  opacity: 0;
  transition: width 400ms var(--ease-out), opacity 400ms var(--ease-out);
  accent-color: var(--candle);
}
.music:hover .music__volume,
.music:focus-within .music__volume {
  width: 80px;
  opacity: 1;
  margin-right: 0.5rem;
}

/* ============================================================
   v8 — Lace, Engravings & Ornaments
   ============================================================ */

/* ─── Painted-landscape backgrounds (dark sections) ────
   Opt-in: set decor.landscapeBg in content.js to a JPG path and
   script.js layers it (with a Juniper overlay) onto these sections.
   Kept out of CSS so no request is made until the file exists. */
.events,
.closing {
  background-color: var(--juniper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ─── Second envelope — hero / blessing transition ───── */
.blessing { position: relative; }
.envelope-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -55%);
  width: clamp(150px, 42vw, 230px);
  z-index: 5;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.32));
  pointer-events: none;
}
.envelope-divider__svg { display: block; width: 100%; height: auto; }

/* ─── Baroque corner flourishes ──────────────────────── */
.ornate-corners { position: relative; }
.ornate-corners .corner {
  position: absolute;
  width: clamp(50px, 9vw, 92px);
  aspect-ratio: 1;
  background-color: var(--candle);
  opacity: 0.4;
  -webkit-mask: url("assets/corner-flourish.svg") center / contain no-repeat;
          mask: url("assets/corner-flourish.svg") center / contain no-repeat;
  pointer-events: none;
}
.ornate-corners .corner:nth-child(1) { top: 10px;  left: 10px;  transform: rotate(0deg); }
.ornate-corners .corner:nth-child(2) { top: 10px;  right: 10px; transform: rotate(90deg); }
.ornate-corners .corner:nth-child(3) { bottom: 10px; right: 10px; transform: rotate(180deg); }
.ornate-corners .corner:nth-child(4) { bottom: 10px; left: 10px;  transform: rotate(270deg); }

/* Thin connecting frame line between the corners */
.ornate-corners::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(241,236,219,0.18);
  border-radius: 3px;
  pointer-events: none;
}

/* Closing frame sizing so corners + border wrap the content */
.closing__frame {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.75rem, 6vw, 3.5rem);
}

/* Two-corner accent for section titles (Couple, Story) */
.title-accent { position: relative; padding-top: 1.5rem; }
.title-accent::before,
.title-accent::after {
  content: "";
  position: absolute;
  top: -6px;
  width: clamp(40px, 7vw, 64px);
  aspect-ratio: 1;
  background-color: var(--candle);
  opacity: 0.32;
  -webkit-mask: url("assets/corner-flourish.svg") center / contain no-repeat;
          mask: url("assets/corner-flourish.svg") center / contain no-repeat;
  pointer-events: none;
}
.title-accent::before { left: 4%;  transform: rotate(0deg); }
.title-accent::after  { right: 4%; transform: rotate(90deg); }

/* ─── Ornate rococo frame (Blessing showcase card) ───── */
.ornate-frame {
  /* soft watercolour wash inside the frame */
  background:
    radial-gradient(ellipse at center, rgba(241,236,219,0.96) 28%, rgba(241,236,219,0.86) 100%),
    linear-gradient(135deg, rgba(241,236,219,0.92) 0%, rgba(200,210,190,0.35) 50%, rgba(241,236,219,0.92) 100%) !important;
  border-radius: 8px;
  box-shadow:
    0 6px 34px rgba(0,0,0,0.3),
    0 0 0 1px rgba(196,169,106,0.35),
    inset 0 0 0 7px rgba(255,255,255,0.45);
}
/* the blessing card sits on dark now — keep corners dark-toned for contrast on cream */
.ornate-frame.ornate-corners .corner { background-color: var(--warm-wood); opacity: 0.34; }
.ornate-frame.ornate-corners::after { border-color: rgba(60,27,15,0.16); }

/* ─── Bas-relief floral engraving (subtle background) ── */
.blessing::before,
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--candle);
  opacity: 0.06;
  -webkit-mask: url("assets/floral-bg-pattern.svg") center / 200px 200px repeat;
          mask: url("assets/floral-bg-pattern.svg") center / 200px 200px repeat;
  pointer-events: none;
  z-index: 0;
}
.blessing > .wrap,
.closing > .wrap { position: relative; z-index: 1; }

/* ─── Floral vine at the hero's lower edge ───────────── */
.hero__vine {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: clamp(26px, 5vw, 44px);
  background-color: var(--candle);
  opacity: 0.28;
  -webkit-mask: url("assets/floral-vine-border.svg") bottom center / auto 100% repeat-x;
          mask: url("assets/floral-vine-border.svg") bottom center / auto 100% repeat-x;
  pointer-events: none;
  z-index: 1;
}

/* ─── Lace strip divider (reusable) ──────────────────── */
.lace-strip {
  width: 100%;
  height: 16px;
  background-color: var(--candle);
  opacity: 0.3;
  -webkit-mask: var(--flourish-mask) center / 220px 20px repeat-x;
          mask: var(--flourish-mask) center / 220px 20px repeat-x;
}

/* ─── Faint lace texture on light content cards ──────── */
.event-card,
.bank-card,
.rsvp__form {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(60,27,15,0.05) 1px, transparent 0);
  background-size: 14px 14px;
}

/* ============================================================
   v9 — Lace dividers (assets/linelace01.svg via CSS mask)
   ============================================================ */
.lace-divider {
  width: 100%;
  height: clamp(46px, 7vw, 68px);
  margin: clamp(1.75rem, 5vw, 3.25rem) 0;
  /* Lace filled with a warm paper texture (falls back to flat candle) */
  background-color: var(--candle);
  background-image: url("assets/paper-texture.svg");
  background-size: 180px 180px;
  background-repeat: repeat;
  opacity: 0.72;
  /* lace scaled to full height, tiled edge-to-edge across the viewport */
  -webkit-mask: url("assets/linelace01.svg") center / auto 100% repeat-x;
          mask: url("assets/linelace01.svg") center / auto 100% repeat-x;
}
/* tighter, centered single-motif variant for use inside a section (e.g. Angpao) */
.lace-divider--inset {
  width: min(300px, 70%);
  height: 30px;
  margin: 0 auto 2rem;
  opacity: 0.45;
  -webkit-mask: url("assets/linelace01.svg") center / contain no-repeat;
          mask: url("assets/linelace01.svg") center / contain no-repeat;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive — Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .events__grid { grid-template-columns: repeat(2, 1fr); }

  .couple__grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
  }
  .couple__amp { display: block; }

  .story__photo-wrap--left  { width: 70%; margin-right: auto; display: block; }
  .story__photo-wrap--right { width: 70%; margin-left: auto; display: block; }

  /* Greetings: two columns on wider screens for a richer wall */
  .greetings__list { grid-template-columns: 1fr 1fr; align-items: start; }

  .gallery-item { height: 420px; }
}
