@font-face { font-family: "Great Vibes"; src: url("fonts/great-vibes.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --red-900: #4a0608;
  --red-800: #6e0b0f;
  --red-700: #8f1115;
  --red-600: #b0171c;
  --gold-300: #f6e3a6;
  --gold-400: #e9c873;
  --gold-500: #c9a24b;
  --gold-600: #a07d2e;
  --cream: #fff8ea;
  --ink: #3a1d10;
  --gold-grad: linear-gradient(135deg, #8a6420 0%, #f6e3a6 28%, #c9a24b 50%, #fff2c4 72%, #a07d2e 100%);
  --serif: "Cormorant", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --script: "Great Vibes", "Cormorant", cursive;
  --zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--red-900);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
}
html[lang="zh"] body { font-family: var(--serif), var(--zh); }
html[lang="zh"] [data-i18n] { font-family: var(--zh); letter-spacing: .04em; font-style: normal; }
img { max-width: 100%; display: block; }
a { color: var(--gold-400); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

.xi {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", var(--zh);
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  margin: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

/* ---------- envelope ---------- */
.envelope { display: none; }
.js .envelope {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,215,140,.18), transparent 60%),
    repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,.06) 0 2px, transparent 2px 6px),
    var(--red-700);
  perspective: 1400px;
  transition: opacity .9s ease .9s, visibility 0s linear 1.8s;
}
.envelope__flap {
  position: absolute; left: 0; right: 0; height: 50%;
  background: linear-gradient(var(--red-600), var(--red-800));
  transition: transform 1.1s cubic-bezier(.7,0,.3,1);
  box-shadow: 0 0 40px rgba(0,0,0,.35);
}
.envelope__flap--top { top: 0; transform-origin: top; clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 100%, 0 40%); }
.envelope__flap--bottom { bottom: 0; transform-origin: bottom; clip-path: polygon(0 60%, 50% 0, 100% 60%, 100% 100%, 0 100%); background: linear-gradient(var(--red-800), var(--red-700)); }
.envelope__inner { position: relative; text-align: center; padding: 24px; transition: opacity .5s ease, transform .8s ease; }
.envelope__to { margin: 0 0 6px; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--gold-300); }
.envelope__names { font-family: var(--script); font-size: clamp(2.6rem, 9vw, 4.4rem); margin: 0 0 22px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.envelope__names span { font-size: .8em; }
.envelope__date { letter-spacing: .4em; color: var(--gold-300); margin: 22px 0 0; }
.seal {
  width: 132px; height: 132px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 35% 30%, #ffefb8, #d4a947 45%, #8a6420 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 -6px 12px rgba(0,0,0,.25), inset 0 6px 10px rgba(255,255,255,.4);
  display: inline-grid; place-items: center; color: var(--red-800);
  animation: pulse 2.4s ease-in-out infinite;
}
.seal__xi { font-family: "STKaiti", "KaiTi", var(--zh); font-size: 58px; line-height: 1; margin-top: 10px; }
.seal__label { font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; margin-top: -18px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.is-open .envelope { opacity: 0; visibility: hidden; pointer-events: none; }
.is-open .envelope__flap--top { transform: rotateX(180deg) translateY(10%); }
.is-open .envelope__flap--bottom { transform: translateY(100%); }
.is-open .envelope__inner { opacity: 0; transform: scale(1.15); }
.is-sealed { overflow: hidden; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 10px clamp(12px, 3vw, 28px);
  background: linear-gradient(rgba(60,5,7,.85), rgba(60,5,7,0));
  transition: background .3s;
}
.topbar.is-solid { background: rgba(60,5,7,.92); backdrop-filter: blur(6px); box-shadow: 0 1px 0 rgba(233,200,115,.25); }
.topbar__mark { font-family: var(--script); font-size: 1.7rem; text-decoration: none; color: var(--gold-400); line-height: 1; }
.topbar__mark span { font-size: .8em; }
.topbar__nav { display: flex; gap: 18px; margin-left: auto; }
.topbar__nav a { text-decoration: none; color: var(--cream); font-size: .95rem; letter-spacing: .08em; }
.topbar__nav a:hover { color: var(--gold-400); }
.lang { display: flex; border: 1px solid rgba(233,200,115,.5); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--cream); padding: 4px 10px; font-size: .8rem; letter-spacing: .05em; }
.lang button[aria-pressed="true"] { background: var(--gold-500); color: var(--red-900); font-weight: 600; }
@media (max-width: 600px) { .topbar__nav { display: none; } .lang { margin-left: auto; } }

.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 90px 16px 60px; }
.hero__slides, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides img { object-fit: cover; opacity: 0; transition: opacity 2s ease; transform: scale(1.08); }
.hero__slides img.is-on { opacity: 1; animation: kenburns 9s ease-out forwards; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(74,6,8,.45), rgba(74,6,8,.88) 75%), linear-gradient(transparent 60%, var(--red-900)); }
@keyframes kenburns { from { transform: scale(1.18) translate(2%, 1%); } to { transform: scale(1.04) translate(0, 0); } }
.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero .xi { font-size: clamp(4rem, 14vw, 7.5rem); opacity: 0; animation: rise 1.4s ease .3s forwards; }
.names { font-family: var(--script); font-weight: 400; font-size: clamp(3.4rem, 13vw, 8rem); margin: 8px 0 0; line-height: 1.15; background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
.names em { font-style: normal; font-size: .75em; }
.names .ch { display: inline-block; padding: .12em .14em .18em; margin: -.12em -.14em -.18em; opacity: 0; transform: translateY(.4em) rotate(-6deg); filter: blur(6px); animation: letter .9s cubic-bezier(.2,.7,.2,1) forwards; background: var(--gold-grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
.hero__date { font-size: clamp(1.1rem, 3.2vw, 1.6rem); letter-spacing: .12em; color: var(--gold-300); margin: 10px 0 4px; opacity: 0; animation: rise 1s ease 2.2s forwards; }
.hero__line { font-style: italic; font-size: clamp(1rem, 2.8vw, 1.3rem); opacity: 0; animation: rise 1s ease 2.6s forwards; }
.scroll-cue { display: inline-block; margin-top: 34px; font-size: .85rem; letter-spacing: .25em; text-transform: uppercase; text-decoration: none; color: var(--gold-300); opacity: 0; animation: rise 1s ease 3.2s forwards; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 46px; margin: 10px auto 0; background: linear-gradient(var(--gold-400), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
body:not(.is-open) .hero * { animation-play-state: paused; }

.flourish { position: absolute; z-index: 1; width: clamp(140px, 26vw, 300px); opacity: .85; pointer-events: none; }
.flourish--tr { top: 64px; right: 0; animation: sway 7s ease-in-out infinite; transform-origin: top right; }
.flourish--bl { bottom: 0; left: 0; animation: sway 8s ease-in-out infinite reverse; transform-origin: bottom left; }
@keyframes sway { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg); } }

.lantern { position: absolute; top: 0; z-index: 1; width: clamp(46px, 7vw, 76px); transform-origin: top center; animation: swing 4.5s ease-in-out infinite; }
.lantern::before { content: ""; display: block; width: 2px; height: clamp(60px, 12vh, 120px); margin: 0 auto; background: var(--gold-500); }
.lantern span {
  display: grid; place-items: center; aspect-ratio: 4/5; border-radius: 45% 45% 40% 40%;
  background: radial-gradient(circle at 50% 40%, #ff5a3c, var(--red-600) 55%, var(--red-800));
  box-shadow: 0 0 30px rgba(255,90,60,.55), inset 0 0 0 3px rgba(233,200,115,.6);
  color: var(--gold-300); font-family: "STKaiti", "KaiTi", var(--zh); font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  position: relative;
}
.lantern span::after { content: ""; position: absolute; bottom: -22px; left: 50%; width: 6px; height: 22px; margin-left: -3px; background: linear-gradient(var(--gold-500), transparent); border-radius: 0 0 3px 3px; }
.lantern--l { left: 8%; }
.lantern--r { right: 8%; animation-delay: -1.8s; }
@keyframes swing { 0%,100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }
@media (max-width: 600px) { .lantern--l { left: 4%; } .lantern--r { right: 4%; } .flourish--tr { top: 52px; } }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(70px, 10vw, 120px) 16px; }
.section-title { font-family: var(--script); font-weight: 400; text-align: center; font-size: clamp(2.6rem, 8vw, 4.2rem); margin: 0 0 40px; line-height: 1.2; color: var(--gold-400); }
html[lang="zh"] .section-title { font-family: "STKaiti", "KaiTi", var(--zh); font-size: clamp(2rem, 6vw, 3rem); letter-spacing: .12em; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

.together { text-align: center; background: radial-gradient(ellipse at top, var(--red-800), var(--red-900) 70%); }
.counter { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.5vw, 26px); max-width: 860px; margin: 0 auto; }
.counter div { min-width: 104px; padding: 18px 12px 12px; border: 1px solid rgba(233,200,115,.4); border-radius: 14px; background: rgba(0,0,0,.18); }
.counter b { display: block; font-size: clamp(2rem, 6vw, 3rem); font-weight: 600; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter span { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-300); }
.together__since { margin: 26px auto 0; max-width: 640px; font-style: italic; }

/* ---------- story ---------- */
.story { background: var(--cream); color: var(--ink); }
.story .section-title { color: var(--red-700); }
.story__art { margin: 0 auto 50px; width: min(540px, 100%); border-radius: 18px; box-shadow: 0 20px 50px rgba(110,11,15,.25); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(var(--gold-500), var(--red-600), var(--gold-500)); }
.timeline li { position: relative; width: 50%; padding: 0 40px 50px; }
.timeline li:nth-child(odd) { text-align: right; }
.timeline li:nth-child(even) { margin-left: 50%; }
.timeline li::before { content: "❤"; position: absolute; top: 2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red-700); color: var(--gold-300); font-size: 15px; box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--gold-500); }
.timeline li:nth-child(odd)::before { right: -17px; }
.timeline li:nth-child(even)::before { left: -17px; }
.timeline li.is-in::before { animation: beat 1.4s ease 1; }
@keyframes beat { 0%,100% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }
.timeline time { display: block; font-size: 1.5rem; font-weight: 600; color: var(--red-700); letter-spacing: .06em; }
.timeline p { margin: 6px 0 0; font-size: 1.1rem; }
.timeline li:nth-child(odd).reveal { transform: translateX(-40px); }
.timeline li:nth-child(even).reveal { transform: translateX(40px); }
.timeline li.reveal.is-in { transform: none; }
@media (max-width: 640px) {
  .timeline::before { left: 17px; }
  .timeline li, .timeline li:nth-child(odd), .timeline li:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 40px 56px; text-align: left; }
  .timeline li:nth-child(odd)::before, .timeline li:nth-child(even)::before { left: 0; right: auto; }
  .timeline li:nth-child(odd).reveal, .timeline li:nth-child(even).reveal { transform: translateY(30px); }
}

/* ---------- the day ---------- */
.day { text-align: center; background:
  radial-gradient(circle at 15% 20%, rgba(233,200,115,.08), transparent 40%),
  radial-gradient(circle at 85% 80%, rgba(233,200,115,.08), transparent 40%), var(--red-800); }
.card { position: relative; max-width: 860px; margin: 0 auto 30px; perspective: 1600px; }
.card__cover {
  position: absolute; inset: 0; z-index: 2; border-radius: 18px;
  display: grid; place-content: center; gap: 6px;
  background: repeating-radial-gradient(circle at 30% 30%, rgba(0,0,0,.05) 0 2px, transparent 2px 7px), linear-gradient(140deg, var(--red-600), var(--red-800));
  box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 0 0 2px rgba(233,200,115,.6), inset 0 0 0 10px var(--red-700), inset 0 0 0 11px rgba(233,200,115,.4);
  transform-origin: left center; backface-visibility: hidden;
  transition: transform 1.6s cubic-bezier(.6,0,.2,1) .3s, opacity .6s ease 1.5s;
}
.card__cover .xi { font-size: 6rem; }
.card__cover-names { font-family: var(--script); font-size: 2.6rem; color: var(--gold-400); }
.card.is-in .card__cover { transform: rotateY(-110deg); opacity: 0; }
.card__body { position: relative; border-radius: 18px; padding: clamp(24px, 5vw, 56px); background: linear-gradient(var(--cream), #fbefd6); color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(160,125,46,.5), inset 0 0 0 10px #fbefd6, inset 0 0 0 11px rgba(160,125,46,.35); }
.card__quote { margin: 0 auto 26px; max-width: 640px; font-style: italic; color: var(--gold-600); font-size: 1.15rem; }
.card__quote p { margin: 0; }
.card__quote cite { display: block; margin-top: 6px; font-size: .95rem; }
.card__couple { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 30px; }
.card__name { font-family: var(--script); font-size: clamp(2.1rem, 6vw, 3.1rem); color: var(--red-700); margin: 0; line-height: 1.15; }
.card__name small { font-family: var(--serif); font-size: .4em; font-style: italic; color: var(--gold-600); }
.card__couple p:not(.card__name):not(.card__amp) { margin: 4px 0 0; font-style: italic; font-size: 1rem; }
.card__amp { font-family: var(--script); font-size: 3rem; color: var(--gold-500); margin: 0; }
.card__events { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.event { padding: 20px 16px; border-radius: 14px; border: 1px solid rgba(160,125,46,.45); background: rgba(255,255,255,.55); }
.event h3 { margin: 0 0 8px; color: var(--red-700); letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; }
html[lang="zh"] .event h3 { letter-spacing: .3em; }
.event p { margin: 2px 0; font-size: 1rem; }
.event__place { font-weight: 600; color: var(--gold-600); font-size: 1.12rem !important; }
.card__thanks { font-style: italic; margin: 0 auto 18px; max-width: 600px; }
.card__families { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; font-style: italic; color: var(--red-700); font-weight: 600; }
.card__families p { margin: 0; }
@media (max-width: 640px) {
  .card__couple { grid-template-columns: 1fr; }
  .card__events { grid-template-columns: 1fr; }
}
.btn { border: 1px solid var(--gold-400); background: transparent; color: var(--gold-300); border-radius: 999px; padding: 12px 26px; letter-spacing: .12em; font-size: .95rem; transition: background .3s, color .3s; }
.btn:hover { background: var(--gold-400); color: var(--red-900); }

/* ---------- gallery ---------- */
.gallery { background: linear-gradient(var(--red-900), #2a0304); }
.feature { position: relative; max-width: 1000px; margin: 0 auto 40px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(233,200,115,.35); background: #1a0203; }
.feature__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 1.4s ease; }
.feature__stage .bg { object-fit: cover; filter: blur(24px) brightness(.55); transform: scale(1.2); }
.feature__stage .is-on { opacity: 1; }
.feature__stage .fg.is-on { animation: kenburns-soft 7s ease-out forwards; }
@keyframes kenburns-soft { from { transform: scale(1.08); } to { transform: scale(1); } }
.feature__nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid rgba(233,200,115,.6); background: rgba(74,6,8,.55); color: var(--gold-300); font-size: 1.8rem; line-height: 1; }
.feature__nav--prev { left: 12px; } .feature__nav--next { right: 12px; }
.feature__dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.feature__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,248,234,.45); }
.feature__dots button[aria-current="true"] { background: var(--gold-400); transform: scale(1.3); }
@media (max-width: 600px) { .feature { aspect-ratio: 4/5; } }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 28px; }
.chips button { border: 1px solid rgba(233,200,115,.5); background: none; color: var(--cream); padding: 6px 16px; border-radius: 999px; font-size: .95rem; }
.chips button[aria-selected="true"] { background: var(--gold-500); color: var(--red-900); border-color: var(--gold-500); }
.grid { max-width: 1100px; margin: 0 auto; columns: 4 220px; column-gap: 14px; }
.grid button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #1a0203; break-inside: avoid; position: relative; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .7s ease, transform .7s ease; }
.grid button.is-in { opacity: 1; transform: none; }
.grid button.is-hidden { display: none; }
.grid img { width: 100%; height: auto; transition: transform .8s ease, filter .8s ease; }
.grid button:hover img { transform: scale(1.06); filter: saturate(1.15); }
@media (max-width: 600px) { .grid { columns: 2; column-gap: 8px; } .grid button { margin-bottom: 8px; border-radius: 8px; } }
.grid button::after { content: ""; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(233,200,115,.3); pointer-events: none; }

/* ---------- forever ---------- */
.forever { text-align: center; padding-bottom: 90px; background: radial-gradient(ellipse at center, var(--red-800), #2a0304 75%); }
.forever .xi { font-size: clamp(5rem, 18vw, 9rem); animation: glow 3s ease-in-out infinite; }
@keyframes glow { 0%,100% { filter: drop-shadow(0 0 6px rgba(246,227,166,.3)); } 50% { filter: drop-shadow(0 0 22px rgba(246,227,166,.75)); } }
.forever__word { font-family: var(--script); font-size: clamp(3rem, 10vw, 5rem); color: var(--gold-400); margin: 10px 0 0; }
html[lang="zh"] .forever__word { font-family: "STKaiti", "KaiTi", var(--zh); }
.forever__line { max-width: 620px; margin: 6px auto 30px; font-style: italic; font-size: 1.2rem; }
.forever__sign { font-family: var(--script); font-size: 2.4rem; color: var(--gold-300); margin: 0; }
.footer { text-align: center; padding: 26px 16px 34px; background: #2a0304; color: rgba(255,248,234,.65); font-size: .9rem; letter-spacing: .08em; }
.footer p { margin: 2px 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(20,1,2,.94); padding: 56px 12px 24px; animation: fadein .35s ease; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 900px); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: zoomin .45s cubic-bezier(.2,.7,.2,1); }
.lightbox figcaption { margin-top: 10px; color: var(--gold-300); font-size: .95rem; letter-spacing: .08em; }
.lightbox__close { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: var(--cream); font-size: 2.6rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(233,200,115,.6); background: rgba(74,6,8,.6); color: var(--gold-300); font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: 10px; } .lightbox__nav--next { right: 10px; }
@keyframes fadein { from { opacity: 0; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.92); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .grid button { opacity: 1; transform: none; }
  .names .ch { opacity: 1; transform: none; filter: none; }
}
