/* ============================================================
   Vasu Kumar & Poojitha — Wedding Invitation
   Traditional South Indian palette: temple green · turmeric gold ·
   kumkum red on sandal parchment.

   TYPOGRAPHY
   Two families, strictly assigned:
     Cinzel             — inscriptional roman capitals. Titles, names,
                          labels, buttons. Never for running text.
     Cormorant Garamond — old-style text face. Everything you read in
                          sentences: the invitation, addresses, notes.
                          Its italic supplies the ampersand.
   Rules held throughout:
     · capitals are always tracked; the larger the size, the less
     · running text never exceeds ~34 characters per line
     · display leading is tight (1.05–1.2), text leading generous (1.7–1.9)
     · numerals are lining + tabular only in the clock, old-style elsewhere
   ============================================================ */

:root {
  --green: #0d3b2e;
  --green-2: #14513e;
  --green-3: #1d6b50;
  --green-soft: #56796a;
  --gold: #c8952b;
  --gold-2: #e8bc57;
  --gold-3: #f6e0a4;
  --kumkum: #9c1526;
  --kumkum-2: #c02b2b;
  --sandal: #f7eddb;
  --sandal-2: #efe0c4;
  --ink: #33261a;
  --ink-soft: #6b5b46;

  --caps: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --text: 'Cormorant Garamond', 'EB Garamond', Garamond, serif;

  /* fluid type scale — 1.25 ratio, clamped for phone → desktop */
  --t-xs: clamp(10.5px, 2.7vw, 11.5px);
  --t-sm: clamp(12px, 3.1vw, 13.5px);
  --t-base: clamp(16px, 4.1vw, 18px);
  --t-md: clamp(18px, 4.6vw, 21px);
  --t-lg: clamp(20px, 4.9vw, 27px);
  --t-xl: clamp(30px, 7.4vw, 44px);
  --t-2xl: clamp(38px, 9.6vw, 62px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--text);
  font-weight: 400;
  font-size: var(--t-base);
  line-height: 1.8;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(200,149,43,.10), transparent 40%),
    radial-gradient(circle at 85% 78%, rgba(156,21,38,.06), transparent 40%),
    repeating-linear-gradient(45deg, rgba(51,38,26,.02) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, var(--sandal), var(--sandal-2));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
}
body.locked { overflow: hidden; height: 100dvh; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }

/* the two workhorse type roles */
.display-title, .card-title, .nm, .cover-names {
  font-family: var(--caps);
  line-height: 1.14;
  text-transform: uppercase;
}
.eyebrow, .ptag, .btn, .unit span, .cover-kicker, .cover-tap span, .footer-mark {
  font-family: var(--caps);
  text-transform: uppercase;
  font-weight: 400;
}

/* ============================================================
   COVER
   ============================================================ */
#cover {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at 50% 42%, var(--green-3) 0%, var(--green-2) 34%, var(--green) 72%, #07231b 100%);
  transition: opacity 1s ease .9s, transform 1.6s cubic-bezier(.3,0,.2,1);
}
#cover.opening { opacity: 0; transform: scale(1.25); pointer-events: none; }
#cover.gone { display: none; }

.cover-flash {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 45%, #ffe9a8, #e8bc57 38%, transparent 72%);
}
#cover.opening .cover-flash { animation: flash 1.4s ease forwards; }
@keyframes flash { 30% { opacity: .85; } 100% { opacity: 0; } }

.muggu {
  position: absolute; width: min(92vw, 560px); aspect-ratio: 1;
  color: var(--gold-2); opacity: .62;
  filter: drop-shadow(0 0 16px rgba(232,188,87,.28));
}
.muggu svg { width: 100%; height: 100%; }
.muggu-line path, .muggu-line circle {
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 3.6s ease-out forwards;
}
.muggu-line g:nth-of-type(1) path { animation-delay: .5s; }
.muggu-line circle:nth-of-type(2) { animation-delay: 1.1s; }
.muggu-line circle:nth-of-type(3) { animation-delay: 1.4s; }
.muggu-line g:nth-of-type(2) path { animation-delay: 1.8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
#cover.opening .muggu { animation: muggu-out 1.4s ease forwards; }
@keyframes muggu-out { to { transform: scale(1.6) rotate(22deg); opacity: 0; } }

.cover-mid { position: relative; z-index: 2; text-align: center; padding: 22px 26px; }
.cover-mid::before {
  content: ""; position: absolute; inset: -6% -12%;
  background: radial-gradient(closest-side, rgba(7,35,27,.72), rgba(7,35,27,.34) 62%, transparent);
  z-index: -1;
}
.cover-kicker {
  font-size: var(--t-xs); letter-spacing: .42em; text-indent: .42em;
  color: var(--gold-2);
}
.cover-names {
  margin-top: 16px;
  font-size: clamp(30px, 8.4vw, 52px);
  letter-spacing: .05em;
  color: #fff8e6;
  text-shadow: 0 2px 6px rgba(7,35,27,.85), 0 2px 26px rgba(7,35,27,.7);
}
.cover-names i {
  display: block; margin: 6px 0;
  font-family: var(--text); font-style: italic; font-weight: 400;
  font-size: .7em; letter-spacing: 0; text-transform: none;
  color: var(--gold-2);
}
/* date + prompt live together at the foot, clear of the kolam */
.cover-foot {
  position: absolute; bottom: max(34px, env(safe-area-inset-bottom, 0px) + 30px);
  left: 0; right: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 0 18px;
}
.cover-date {
  font-size: var(--t-sm); font-style: italic; letter-spacing: .04em;
  line-height: 1.9; text-align: center; color: rgba(246,224,164,.8);
}
.cover-date::after {
  content: ""; display: block; width: 44px; height: 1px;
  margin: 16px auto 0; background: rgba(232,188,87,.5);
}

.cover-tap { text-align: center; }
.cover-tap span {
  display: inline-block; padding: 13px 30px;
  font-size: var(--t-xs); letter-spacing: .34em; text-indent: .34em;
  color: var(--gold-3);
  border: 1px solid rgba(232,188,87,.5);
  background: rgba(7,35,27,.45);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .58; } }
#cover.opening .cover-foot, #cover.opening .cover-mid { opacity: 0; transition: opacity .5s; }

/* ============================================================
   PAGE
   ============================================================ */
#invite {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.2s ease .3s, transform 1.2s cubic-bezier(.22,.61,.36,1) .3s;
}
body.opened #invite { opacity: 1; transform: none; }

.toranam {
  height: 62px;
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='62' viewBox='0 0 80 62'%3E%3Cpath d='M0 7 Q20 17 40 7 T80 7' fill='none' stroke='%23e8bc57' stroke-width='2'/%3E%3Cpath d='M13 10 q-8 16 0 30 q10-13 0-30z' fill='%231d6b50' stroke='%230d3b2e' stroke-width='.8'/%3E%3Cpath d='M27 12 q-8 15 0 28 q10-12 0-28z' fill='%23256f56' stroke='%230d3b2e' stroke-width='.8'/%3E%3Cpath d='M41 9 q-8 17 0 32 q10-14 0-32z' fill='%231d6b50' stroke='%230d3b2e' stroke-width='.8'/%3E%3Cpath d='M55 12 q-8 15 0 28 q10-12 0-28z' fill='%23256f56' stroke='%230d3b2e' stroke-width='.8'/%3E%3Cpath d='M69 10 q-8 16 0 30 q10-13 0-30z' fill='%231d6b50' stroke='%230d3b2e' stroke-width='.8'/%3E%3Ccircle cx='20' cy='47' r='4' fill='%23e07b12'/%3E%3Ccircle cx='48' cy='50' r='4.5' fill='%23e8bc57'/%3E%3Ccircle cx='34' cy='52' r='3.4' fill='%239c1526'/%3E%3Ccircle cx='62' cy='48' r='3.8' fill='%23e07b12'/%3E%3Ccircle cx='6' cy='50' r='3.4' fill='%23e8bc57'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 80px 62px;
  box-shadow: 0 4px 14px rgba(13,59,46,.28);
}

.scroll-wrap { padding: clamp(22px, 5vw, 44px) clamp(14px, 4vw, 32px) 10px; max-width: 720px; margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  position: relative;
  margin: 0 auto clamp(26px, 5vw, 44px);
  padding: clamp(44px, 9vw, 72px) clamp(22px, 6vw, 58px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.7), transparent 55%),
    linear-gradient(170deg, #fffaf0, var(--sandal));
  box-shadow: 0 14px 34px rgba(51,38,26,.13);
  overflow: hidden;
}
.card--dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(29,107,80,.55), transparent 60%),
    linear-gradient(170deg, var(--green-2), var(--green) 70%, #082a20);
  color: var(--sandal);
  box-shadow: 0 14px 34px rgba(13,59,46,.3);
}

.card-frame {
  position: absolute; inset: 10px;
  border: 2px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: 5px;
  pointer-events: none;
}
.card-frame::before, .card-frame::after {
  content: ""; position: absolute; width: 26px; height: 26px;
  border: 2px solid var(--gold-2);
}
.card-frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card-frame::after  { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.card--dark .card-frame { border-color: var(--gold-2); outline-color: rgba(232,188,87,.5); }

/* --- section heads: tracked label over a titling line --- */
.eyebrow {
  font-size: var(--t-xs); letter-spacing: .4em; text-indent: .4em;
  color: var(--kumkum); opacity: .82;
}
.card--dark .eyebrow { color: var(--gold-2); opacity: 1; }

.card-title {
  margin-top: 12px;
  font-size: var(--t-lg);
  letter-spacing: .045em;
  color: var(--kumkum);
}
.card--dark .card-title { color: var(--gold-3); }
.card-title::after {
  content: ""; display: block; width: 54px; height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.rule-orn { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px auto; max-width: 260px; color: var(--gold); }
.rule-orn i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule-orn i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.rule-orn b { font-size: 11px; font-weight: 400; }

/* ============================================================
   1. THE INVITATION
   ============================================================ */
.card--hero { padding-top: clamp(24px, 6vw, 40px); }
.kalasham { color: var(--gold); margin: 0 auto 14px; width: clamp(76px, 20vw, 104px); }
.kalasham svg { width: 100%; height: auto; display: block; }

.invocation {
  font-size: var(--t-md);
  font-style: italic;
  letter-spacing: .02em;
  color: var(--gold);
}
.shloka {
  margin-top: 14px;
  font-size: var(--t-sm);
  font-style: italic;
  line-height: 2.1;
  letter-spacing: .015em;
  color: var(--green-soft);
  max-width: 30em; margin-inline: auto;
}

.display-title {
  font-size: var(--t-xl);
  letter-spacing: .13em; text-indent: .13em;
  line-height: 1.22;
  color: var(--kumkum);
}

.lede {
  margin: clamp(24px, 5vw, 34px) auto 0;
  max-width: 27em;
  font-size: var(--t-md);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
}


/* --- the pair: two portraits, two names, one screen --- */
.display-kicker {
  font-family: var(--caps); text-transform: uppercase;
  font-size: var(--t-sm); letter-spacing: .38em; text-indent: .38em;
  color: var(--kumkum);
}

.pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;      /* portraits share a row, names share a row */
  column-gap: clamp(8px, 2.6vw, 22px);
  margin-top: clamp(24px, 5vw, 34px);
}
.who { display: contents; }
.who:first-of-type .portrait   { grid-column: 1; grid-row: 1; }
.who:first-of-type figcaption  { grid-column: 1; grid-row: 2; }
.who:last-of-type  .portrait   { grid-column: 3; grid-row: 1; }
.who:last-of-type  figcaption  { grid-column: 3; grid-row: 2; }
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(200,149,43,.35);
  outline-offset: 4px;
  border-radius: 999px 999px 6px 6px;   /* temple-arch head */
  overflow: hidden;
  background: var(--sandal-2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who figcaption { margin-top: clamp(14px, 3vw, 20px); display: block; }
.who .hon {
  display: flex; align-items: center; justify-content: center;
  min-height: 2.9em; margin-bottom: 6px;      /* keeps both names on one baseline */
  font-size: clamp(10px, 2.6vw, 12px); font-style: italic;
  letter-spacing: .04em; line-height: 1.35; color: var(--green-soft);
}
.who .nm {
  display: block;
  font-family: var(--caps); text-transform: uppercase;
  font-size: clamp(16px, 4.4vw, 26px); font-weight: 500;
  letter-spacing: .04em; line-height: 1.2;
  color: var(--kumkum);
}
.pair-amp {
  grid-column: 2; grid-row: 1;
  align-self: center;             /* level with the middle of the portraits */
}
.pair-amp i {
  font-style: italic; font-size: clamp(24px, 6vw, 40px);
  line-height: 1; color: var(--gold);
}

/* --- the names, set large in the words card --- */
.names { margin-top: clamp(30px, 6vw, 44px); }
/* honorifics stay in the text face, italic — they are words, not labels */
.hon {
  font-size: var(--t-sm); font-style: italic; font-weight: 400;
  letter-spacing: .06em;
  color: var(--green-soft);
  margin-bottom: 12px;
}
.nm {
  font-size: var(--t-2xl);
  font-weight: 500;
  letter-spacing: .045em; text-indent: .045em;
  color: var(--kumkum);
}
.card--dark .nm { color: var(--gold-3); }
.nm--sm { font-size: clamp(24px, 6.2vw, 34px); }

.amp {
  margin: clamp(12px, 2.6vw, 20px) 0 clamp(16px, 3.4vw, 26px);
  position: relative;
}
.amp i {
  font-style: italic; font-weight: 400;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1; color: var(--gold);
  padding: 0 20px; background: transparent;
}
/* hairlines flanking the ampersand */
.amp::before, .amp::after {
  content: ""; position: absolute; top: 50%; width: clamp(40px, 14vw, 92px); height: 1px;
  background: var(--gold); opacity: .55;
}
.amp::before { right: calc(50% + 34px); }
.amp::after  { left: calc(50% + 34px); }

/* --- the date, set like an engraved plate --- */
.stamp {
  margin: clamp(32px, 6vw, 46px) auto 0;
  padding: clamp(18px, 4vw, 26px) clamp(18px, 5vw, 34px);
  max-width: 24em;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(200,149,43,.35);
  outline-offset: 4px;
  background: linear-gradient(160deg, #fffdf6, var(--sandal-2));
}
.stamp-day {
  font-family: var(--caps); text-transform: uppercase;
  font-size: var(--t-xs); letter-spacing: .38em; text-indent: .38em;
  color: var(--green-soft);
}
.stamp-date {
  margin-top: 10px;
  font-family: var(--caps); text-transform: uppercase;
  font-size: var(--t-lg); letter-spacing: .05em;
  line-height: 1.2; color: var(--green);
}
.stamp-time {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(200,149,43,.4);
  font-size: var(--t-base); font-style: italic;
  color: var(--kumkum);
}

.cue { margin-top: 30px; color: var(--gold); font-size: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(7px); } }

/* ============================================================
   2. COUNTDOWN
   ============================================================ */
.clock {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 20px);
  margin-top: clamp(26px, 5vw, 38px);
}
@media (min-width: 620px) { .clock { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.unit { padding: 18px 8px 16px; border: 1px solid rgba(232,188,87,.4); background: rgba(7,35,27,.32); }
.unit b {
  display: block;
  font-family: var(--text); font-weight: 300;
  font-size: clamp(38px, 10vw, 56px); line-height: .95;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold-2);
}
.unit span {
  display: block; margin-top: 12px;
  font-size: var(--t-xs); letter-spacing: .26em; text-indent: .26em;
  color: rgba(247,237,219,.72);
}
.clock-note {
  margin-top: clamp(24px, 5vw, 32px);
  font-size: var(--t-base); font-style: italic;
  color: var(--gold-3);
}

/* ============================================================
   3. THE COUPLE
   ============================================================ */
.couple { margin-top: clamp(26px, 5vw, 36px); display: grid; gap: 10px; }
.couple-orn { color: var(--gold); justify-self: center; width: 34px; }
.couple-orn svg { width: 100%; height: 92px; }

.ptag {
  display: inline-block; padding: 7px 22px; margin-bottom: 16px;
  font-size: var(--t-xs); letter-spacing: .3em; text-indent: .3em;
  color: #fff6e0; background: var(--kumkum);
}
.parent {
  margin-top: 14px;
  font-size: var(--t-base); font-weight: 300; line-height: 1.9;
  color: var(--ink-soft);
  max-width: 24em; margin-inline: auto;
}

@media (min-width: 760px) {
  .couple { grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(16px, 3vw, 34px); }
  .couple-orn svg { height: 150px; }
}

/* ============================================================
   4. VENUE
   ============================================================ */
.venue-addr {
  margin-top: 18px;
  font-size: var(--t-base); font-weight: 300; line-height: 1.9;
  color: var(--ink-soft);
  max-width: 26em; margin-inline: auto;
}
.map {
  margin: clamp(24px, 5vw, 32px) 0;
  border: 1px solid var(--gold);
  outline: 1px solid rgba(200,149,43,.3);
  outline-offset: 4px;
  aspect-ratio: 4 / 3;
  background: var(--sandal-2);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-block; padding: 15px 28px;
  font-size: var(--t-xs); letter-spacing: .26em; text-indent: .26em;
  text-decoration: none;
  color: #fff6e0; background: linear-gradient(160deg, var(--kumkum-2), var(--kumkum));
  border: 1px solid var(--gold);
  box-shadow: 0 5px 14px rgba(156,21,38,.2);
  transition: transform .18s ease;
}
.btn:active { transform: scale(.97); }
.btn--ghost { background: linear-gradient(160deg, var(--green-3), var(--green-2)); box-shadow: 0 5px 14px rgba(13,59,46,.22); }

/* ============================================================
   5. BLESSINGS
   ============================================================ */
.elders { list-style: none; margin-top: clamp(26px, 5vw, 36px); display: grid; gap: 26px; }
.elders li {
  font-family: var(--text);
  font-size: clamp(19px, 4.9vw, 24px);
  letter-spacing: .01em; line-height: 1.55;
  color: var(--gold-3);
}
.elders li small {
  display: block; margin-bottom: 8px;
  font-family: var(--text); text-transform: uppercase;
  font-size: var(--t-xs); letter-spacing: .3em; text-indent: .3em;
  color: var(--gold-2);
}
.request {
  margin: clamp(30px, 6vw, 42px) auto 0; max-width: 26em;
  font-size: var(--t-base); font-style: italic; font-weight: 300;
  line-height: 1.95; color: rgba(247,237,219,.88);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 10px;
  padding: 44px 20px calc(50px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--sandal);
  background: linear-gradient(180deg, var(--green-2), var(--green) 60%, #072019);
  border-top: 3px double var(--gold);
}
.gopuram { color: var(--gold-2); opacity: .85; }
.gopuram svg { width: min(90%, 330px); height: auto; }
.footer-line {
  margin-top: 18px;
  font-size: var(--t-md); font-style: italic; font-weight: 300;
  line-height: 1.7; color: var(--gold-3);
}
.footer-mark {
  margin-top: 26px;
  font-size: var(--t-sm); letter-spacing: .44em; text-indent: .44em;
  color: var(--gold-2);
}

/* ============================================================
   MUSIC + REVEAL
   ============================================================ */
.music {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold-2);
  background: radial-gradient(circle at 35% 30%, var(--green-3), var(--green));
  color: var(--gold-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 5px 16px rgba(13,59,46,.35);
}
.eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; height: 5px; background: currentColor; }
.music.on .eq i { animation: eq .9s ease-in-out infinite; }
.music.on .eq i:nth-child(2) { animation-delay: .18s; }
.music.on .eq i:nth-child(3) { animation-delay: .36s; }
@keyframes eq { 50% { height: 16px; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .muggu-line path, .muggu-line circle { stroke-dashoffset: 0; animation: none; }
  .cue, .eq i, .cover-tap span { animation: none; }
  .reveal, #invite { transition: none; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: flex; gap: 14px;
  margin-top: clamp(24px, 5vw, 34px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 4px; }
.gallery::-webkit-scrollbar-thumb { background: var(--gold); }
.gallery figure {
  flex: 0 0 min(250px, 72vw);
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border: 1px solid var(--gold);
  background: var(--sandal-2);
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-hint {
  margin-top: 6px;
  font-size: var(--t-sm); font-style: italic;
  color: var(--ink-soft); opacity: .8;
}
