:root{
  --bg:#050505;
  --bg2:#0d0d0d;
  --panel:rgba(18,18,18,.78);
  --panel-solid:#111111;
  --panel-soft:#171717;
  --line:rgba(214,196,166,.18);
  --line2:rgba(255,255,255,.08);
  --text:#f2eee7;
  --muted:#a9a29a;
  --gold:#caa76f;
  --gold2:#f1d39b;
  --shadow:0 30px 90px rgba(0,0,0,.65);
  --radius:30px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-2;background:radial-gradient(circle at 18% 12%,rgba(202,167,111,.16),transparent 28%),radial-gradient(circle at 82% 18%,rgba(255,255,255,.08),transparent 24%),radial-gradient(circle at 50% 100%,rgba(202,167,111,.08),transparent 30%),linear-gradient(135deg,#030303 0%,#121212 48%,#050505 100%)}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.45;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:radial-gradient(circle at center,black,transparent 78%)}
a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{width:min(1180px,92vw);margin:auto}.site-shell{min-height:100vh;overflow:hidden}.nav{position:sticky;top:0;z-index:50;background:rgba(5,5,5,.72);backdrop-filter:blur(22px);border-bottom:1px solid var(--line2)}.nav-inner{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px;font-family:Georgia,serif;font-size:22px;letter-spacing:.2px}.brand-mark{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;color:#111;background:linear-gradient(145deg,#fff,#9d9d9d);box-shadow:0 0 30px rgba(255,255,255,.18)}.links{display:flex;align-items:center;gap:28px;font-size:14px;color:#c9c2b7}.links a{position:relative;padding:8px 0}.links a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);transform:scaleX(0);transition:.28s}.links a.active,.links a:hover{color:#fff}.links a.active:after,.links a:hover:after{transform:scaleX(1)}.select{border:1px solid var(--line2);background:rgba(255,255,255,.04);color:#ddd;border-radius:999px;padding:9px 13px;outline:none}.home-hero{position:relative;padding:80px 0 46px}.hero-layout{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:50px}.hero-bg-orb{position:absolute;border-radius:50%;filter:blur(8px);opacity:.7;pointer-events:none}.orb-one{width:260px;height:260px;background:rgba(202,167,111,.14);left:4%;top:16%}.orb-two{width:340px;height:340px;background:rgba(255,255,255,.06);right:7%;top:5%}.eyebrow,.section-kicker{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--gold2);font-weight:700}.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(58px,7vw,105px);line-height:.9;margin:16px 0 24px;color:#f7f0e7}.hero-copy h1 span{font-size:.58em;color:#cfc7bb;font-weight:400}.hero-lead{max-width:520px;color:#c7bfb4;font-size:18px;line-height:1.8}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:15px 25px;font-weight:700;transition:.3s}.btn.primary{border:1px solid rgba(241,211,155,.36);background:linear-gradient(180deg,#4d4942,#1a1a1a);box-shadow:inset 0 0 18px rgba(255,255,255,.08),0 18px 50px rgba(202,167,111,.18)}.btn.ghost{border:1px solid var(--line2);background:rgba(255,255,255,.035);color:#d8d1c8}.btn:hover{transform:translateY(-2px)}.portrait-stage{position:relative;min-height:610px;display:grid;place-items:center}.portrait-stage img{position:relative;z-index:2;width:min(610px,100%);height:610px;object-fit:cover;border-radius:48% 52% 46% 54%/56% 44% 56% 44%;box-shadow:0 35px 95px rgba(0,0,0,.78),0 0 0 1px rgba(255,255,255,.12);animation:softFloat 6s ease-in-out infinite;transition:opacity .35s,transform .8s}.portrait-stage img.fade-out{opacity:.18;transform:scale(.985)}.portrait-ring{position:absolute;width:min(680px,108%);height:680px;border-radius:50%;background:radial-gradient(circle,rgba(202,167,111,.12),transparent 60%);border:1px solid rgba(202,167,111,.22);box-shadow:inset 0 0 80px rgba(255,255,255,.04)}.floating-card{position:absolute;z-index:3;padding:12px 18px;border:1px solid var(--line);border-radius:999px;background:rgba(10,10,10,.66);backdrop-filter:blur(16px);color:#ddd;box-shadow:0 18px 50px rgba(0,0,0,.35)}.top-note{right:4%;top:18%}.bottom-note{left:5%;bottom:16%}.memorial-dashboard{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:34px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));box-shadow:var(--shadow)}.mini-stat{padding:28px;text-align:center;position:relative}.mini-stat+ .mini-stat{border-left:1px solid var(--line)}.stat-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(202,167,111,.12);color:var(--gold2);margin-bottom:8px}.mini-stat small{display:block;color:var(--muted);margin-bottom:8px}.mini-stat strong{font-family:Georgia,serif;font-size:26px;font-weight:400}.remembrance-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:24px;margin-top:28px}.candle-panel,.letter-panel,.story-hero-card,.chapter-card,.gallery-card{border:1px solid var(--line);background:linear-gradient(150deg,rgba(28,28,28,.92),rgba(8,8,8,.88));border-radius:var(--radius);box-shadow:var(--shadow)}.candle-panel,.letter-panel{padding:34px}.candle-panel{text-align:center}.candle-panel h2,.letter-panel h2,.strip-copy h2,.story-intro h2{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:10px 0 18px}.candle-frame{width:min(320px,88%);margin:22px auto;position:relative}.candle-frame:before{content:"";position:absolute;inset:18px;border-radius:32px;background:radial-gradient(circle,rgba(255,180,78,.35),transparent 65%);filter:blur(28px)}.candle-frame img{position:relative;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:26px;box-shadow:0 0 65px rgba(227,155,66,.25)}.candle-panel p{color:#d0c6ba;line-height:1.8}.letter-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.edit-badge{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--gold2);background:rgba(255,255,255,.035)}.letter-panel textarea{width:100%;min-height:330px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:22px;color:#e1d9cf;line-height:1.82;padding:22px;font-size:16px;resize:vertical;outline:none}.memory-strip{display:grid;grid-template-columns:320px 1fr;gap:26px;align-items:center;margin-top:28px;padding:30px;border:1px solid var(--line);border-radius:34px;background:rgba(255,255,255,.035)}.strip-copy span{color:var(--gold2);text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800}.strip-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.strip-photos img{height:220px;width:100%;object-fit:cover;border-radius:24px;border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 45px rgba(0,0,0,.35);animation:photoDrift 5s ease-in-out infinite}.strip-photos img:nth-child(2){animation-delay:.6s}.strip-photos img:nth-child(3){animation-delay:1.1s}.quote{text-align:center;color:#b5ada2;font-family:Georgia,serif;font-size:28px;padding:56px 0 76px}.inner-page{padding-bottom:76px}.page-title{text-align:center;padding:58px 0 36px}.page-title h1{font-family:Georgia,serif;font-size:clamp(42px,5vw,62px);font-weight:400;margin:12px 0;color:#f3ece2}.ornament{display:flex;align-items:center;justify-content:center;gap:14px;color:var(--gold);margin-top:12px}.ornament span{width:90px;height:1px;background:linear-gradient(90deg,transparent,var(--line),transparent)}.story-hero-card{display:grid;grid-template-columns:.88fr 1.12fr;gap:34px;padding:28px;align-items:stretch}.story-portrait{position:relative;min-height:560px;overflow:hidden;border-radius:28px;background:#0d0d0d}.story-portrait img{width:100%;height:100%;object-fit:cover}.story-portrait:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.42),transparent 45%)}.story-intro{padding:20px 12px 12px}.profile-list{display:grid;gap:10px;margin-top:24px}.profile-row{display:grid;grid-template-columns:130px 1fr;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.08)}.profile-row span{color:#9d968e}.profile-row strong{color:#eee4d8;font-weight:600}.story-chapters{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px}.chapter-card{padding:28px;min-height:245px}.chapter-card span{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(202,167,111,.13);color:var(--gold2);font-family:Georgia,serif;margin-bottom:16px}.chapter-card h3{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0 0 12px}.chapter-card p{color:#c8c0b5;line-height:1.82;margin:0}.timeline-showcase{display:grid;gap:28px;position:relative}.timeline-showcase:before{content:"";position:absolute;left:50%;top:60px;bottom:60px;width:1px;background:linear-gradient(transparent,rgba(202,167,111,.55),transparent)}.timeline-item{display:grid;grid-template-columns:1fr 64px 1fr;align-items:center;gap:0;min-height:300px}.timeline-photo{position:relative;border-radius:34px;overflow:hidden;border:1px solid var(--line);background:#0f0f0f;box-shadow:var(--shadow);transform:rotate(-1deg);transition:.35s}.timeline-photo img{width:100%;height:310px;object-fit:contain;background:radial-gradient(circle,#202020,#090909);padding:10px}.timeline-item:nth-child(even) .timeline-photo{grid-column:3;transform:rotate(1deg)}.timeline-dot{grid-column:2;width:52px;height:52px;border-radius:50%;margin:auto;display:grid;place-items:center;background:linear-gradient(145deg,#eee,#8b8b8b);color:#111;box-shadow:0 0 0 12px rgba(202,167,111,.09),0 0 45px rgba(202,167,111,.18)}.timeline-dot:before{content:"🐾"}.timeline-copy{padding:0 34px}.timeline-copy span{display:inline-block;color:var(--gold2);font-weight:800;letter-spacing:.12em}.timeline-copy h3{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:8px 0 12px}.timeline-copy p{color:#c8c0b6;line-height:1.8;max-width:380px}.timeline-item:nth-child(even) .timeline-copy{grid-column:1;grid-row:1;text-align:right}.timeline-item:nth-child(even) .timeline-copy p{margin-left:auto}.timeline-photo:hover{transform:translateY(-6px) rotate(0deg)}.gallery-mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:16px;margin-bottom:80px}.gallery-card{position:relative;overflow:hidden;border-radius:26px;margin:0;min-height:190px}.gallery-card:nth-child(1){grid-column:span 2;grid-row:span 2}.gallery-card:nth-child(4){grid-row:span 2}.gallery-card:nth-child(7){grid-column:span 2}.gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease,filter .7s ease;filter:saturate(.9) contrast(1.02)}.gallery-card:after{content:"Luna Memory";position:absolute;left:16px;right:16px;bottom:14px;padding:10px 14px;border-radius:999px;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(12px);font-size:13px;color:#e8dfd3;opacity:0;transform:translateY(12px);transition:.35s}.gallery-card:hover img{transform:scale(1.08);filter:saturate(1.05) contrast(1.08)}.gallery-card:hover:after{opacity:1;transform:translateY(0)}.footer{text-align:center;color:#827b72;border-top:1px solid rgba(255,255,255,.08);padding:30px}.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s ease,transform .75s ease}.reveal.visible{opacity:1;transform:none}@keyframes softFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-12px) scale(1.01)}}@keyframes photoDrift{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(max-width:980px){.hero-layout,.remembrance-grid,.story-hero-card,.memory-strip{grid-template-columns:1fr}.portrait-stage{min-height:520px}.portrait-stage img{height:520px}.memorial-dashboard{grid-template-columns:1fr}.mini-stat+.mini-stat{border-left:0;border-top:1px solid var(--line)}.story-chapters{grid-template-columns:1fr}.timeline-showcase:before{left:26px}.timeline-item,.timeline-item:nth-child(even){grid-template-columns:54px 1fr;gap:16px;min-height:auto}.timeline-dot{grid-column:1;grid-row:1;width:42px;height:42px}.timeline-photo,.timeline-item:nth-child(even) .timeline-photo{grid-column:2;grid-row:1;transform:none}.timeline-copy,.timeline-item:nth-child(even) .timeline-copy{grid-column:2;grid-row:2;text-align:left;padding:0 0 0 4px}.timeline-item:nth-child(even) .timeline-copy p{margin-left:0}.gallery-mosaic{grid-template-columns:repeat(2,1fr);grid-auto-rows:210px}.gallery-card:nth-child(n){grid-column:auto;grid-row:auto}.gallery-card:nth-child(1),.gallery-card:nth-child(7){grid-column:span 2}.links{gap:16px}}
@media(max-width:720px){.nav-inner{height:auto;padding:18px 0;flex-direction:column;gap:14px}.links{justify-content:center;flex-wrap:wrap}.home-hero{padding:46px 0 28px}.hero-layout{gap:24px}.hero-copy h1{font-size:52px}.hero-lead{font-size:16px}.portrait-stage{min-height:380px}.portrait-stage img{height:380px;border-radius:34px}.portrait-ring,.floating-card{display:none}.mini-stat strong{font-size:22px}.candle-panel,.letter-panel,.story-hero-card,.chapter-card,.memory-strip{padding:22px}.strip-photos{grid-template-columns:1fr}.strip-photos img{height:245px}.story-portrait{min-height:380px}.profile-row{grid-template-columns:1fr}.timeline-photo img{height:250px}.gallery-mosaic{grid-template-columns:1fr;grid-auto-rows:260px}.gallery-card:nth-child(1),.gallery-card:nth-child(7){grid-column:auto}.quote{font-size:22px;padding:38px 0 56px}}
@media(max-width:430px){.container{width:min(94vw,1180px)}.hero-copy h1{font-size:44px}.hero-actions{flex-direction:column}.btn{width:100%}.portrait-stage img{height:330px}.candle-panel h2,.letter-panel h2,.strip-copy h2,.story-intro h2{font-size:27px}.page-title{padding-top:42px}.timeline-copy h3{font-size:26px}.gallery-mosaic{grid-auto-rows:230px}}

/* Photo adaptation cleanup: all new Luna photos are displayed responsively without stretching. */
.portrait-stage img,
.story-portrait img,
.strip-photos img,
.gallery-card img {
  object-fit: cover;
  object-position: center center;
}
.timeline-photo img {
  object-fit: contain;
  object-position: center center;
}
@media (min-width: 981px) {
  .portrait-stage img { width: min(650px, 100%); height: 650px; }
  .story-portrait { min-height: 600px; }
  .gallery-mosaic { grid-auto-rows: 210px; }
}
@media (max-width: 720px) {
  .portrait-stage img { width: 100%; max-width: 420px; }
  .story-portrait img { object-fit: contain; background: radial-gradient(circle, #202020, #060606); }
  .timeline-photo img { height: 280px; padding: 8px; }
}

/* --------------------------------------------------
   Refined candle + redesigned gallery
   -------------------------------------------------- */
.luxury-candle {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(219, 154, 72, .18), transparent 36%),
    linear-gradient(155deg, rgba(22,22,22,.96), rgba(6,6,6,.94));
}
.luxury-candle:before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(238, 213, 171, .12);
  pointer-events: none;
}
.real-candle-scene {
  position: relative;
  width: min(340px, 92%);
  aspect-ratio: 1 / 1.08;
  margin: 26px auto 20px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.candle-glow {
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 191, 88, .58) 0%, rgba(235, 146, 47, .25) 34%, transparent 68%);
  filter: blur(24px);
  animation: glowPulse 3.4s ease-in-out infinite;
  z-index: 0;
}
.glass-cup {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 240px;
  border-radius: 32px 32px 46px 46px / 28px 28px 54px 54px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.22), transparent 10%, transparent 86%, rgba(255,255,255,.18)),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.36);
  box-shadow:
    inset 0 0 26px rgba(255,255,255,.08),
    inset 0 -28px 40px rgba(0,0,0,.25),
    0 34px 70px rgba(0,0,0,.7),
    0 0 54px rgba(244, 172, 72, .22);
  backdrop-filter: blur(3px);
}
.glass-rim {
  position: absolute;
  top: 8px;
  left: 18px;
  right: 18px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.48);
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent);
  box-shadow: 0 0 18px rgba(255,255,255,.14);
}
.flame-wrap {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 58px;
  height: 86px;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 24px rgba(255, 184, 78, .95));
  z-index: 5;
}
.flame {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  transform-origin: bottom center;
  animation: flameFlicker 1.8s ease-in-out infinite;
}
.flame-outer {
  width: 34px;
  height: 72px;
  background: linear-gradient(180deg, #fff4b8 0%, #ffbb59 34%, #f07822 82%);
  box-shadow: 0 0 28px rgba(255, 170, 62, .9), 0 0 56px rgba(255, 115, 34, .45);
}
.flame-inner {
  bottom: 8px;
  width: 16px;
  height: 42px;
  background: linear-gradient(180deg, #fff 0%, #fff2a3 52%, #ffb142 100%);
  animation-delay: .2s;
}
.wick {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 3px;
  height: 28px;
  transform: translateX(-50%);
  background: linear-gradient(#4a2c18, #120b05);
  border-radius: 999px;
  z-index: 4;
}
.wax-surface {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 112px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff1c8, #e1bd7c 66%, #b87934);
  box-shadow: inset 0 4px 18px rgba(255,255,255,.34), 0 0 26px rgba(255, 171, 76, .34);
  z-index: 3;
}
.wax-body {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 130px;
  bottom: 26px;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(180deg, #e9c98e, #c9934f 85%);
  box-shadow: inset 0 15px 26px rgba(255,255,255,.18), inset 0 -18px 26px rgba(80,42,12,.28);
  display: grid;
  place-items: center;
  z-index: 2;
}
.paw-on-wax {
  font-size: 42px;
  color: rgba(51, 28, 13, .75);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.16));
}
.glass-shine {
  position: absolute;
  top: 38px;
  bottom: 20px;
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.38), transparent 60%);
  opacity: .44;
  z-index: 6;
}
.shine-left { left: 22px; transform: rotate(7deg); }
.shine-right { right: 26px; width: 10px; opacity: .22; transform: rotate(-8deg); }
.candle-shadow {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  width: 240px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.86), transparent 70%);
  filter: blur(4px);
}
@keyframes flameFlicker {
  0%, 100% { transform: translateX(-50%) rotate(-1deg) scale(1); }
  25% { transform: translateX(-51%) rotate(2.2deg) scale(1.04, .96); }
  55% { transform: translateX(-49%) rotate(-2.4deg) scale(.96, 1.06); }
  78% { transform: translateX(-50%) rotate(1.3deg) scale(1.02); }
}
@keyframes glowPulse {
  0%, 100% { opacity: .62; transform: scale(.96); }
  50% { opacity: .92; transform: scale(1.04); }
}

.gallery-title {
  padding-bottom: 24px;
}
.gallery-subtitle {
  max-width: 680px;
  margin: 18px auto 0;
  color: #b9b1a6;
  line-height: 1.8;
}
.gallery-feature {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin: 0 auto 26px;
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  background:
    radial-gradient(circle at left top, rgba(202,167,111,.14), transparent 42%),
    rgba(255,255,255,.035);
  box-shadow: 0 22px 70px rgba(0,0,0,.3);
}
.gallery-feature h2 {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: #f0e7db;
}
.gallery-feature p {
  max-width: 390px;
  margin: 0;
  color: #aaa299;
  line-height: 1.75;
}
.redesigned-gallery {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 108px;
  gap: 18px;
}
.redesigned-gallery .gallery-card {
  min-height: unset;
  border-radius: 30px;
  border: 1px solid rgba(241,211,155,.16);
  background: #0d0d0d;
  box-shadow: 0 26px 70px rgba(0,0,0,.48);
  isolation: isolate;
}
.redesigned-gallery .gallery-card:nth-child(1) { grid-column: span 5; grid-row: span 4; }
.redesigned-gallery .gallery-card:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(3) { grid-column: span 3; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(4) { grid-column: span 3; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(5) { grid-column: span 4; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(6) { grid-column: span 5; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(7) { grid-column: span 7; grid-row: span 3; }
.redesigned-gallery .gallery-card:nth-child(8) { grid-column: span 5; grid-row: span 3; }
.redesigned-gallery .gallery-card img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.redesigned-gallery .gallery-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.72));
  opacity: .72;
  pointer-events: none;
}
.redesigned-gallery .gallery-card:after {
  display: none;
}
.gallery-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(8px);
  opacity: .86;
  transition: .35s ease;
}
.gallery-card figcaption span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(238, 213, 171, .14);
  border: 1px solid rgba(238, 213, 171, .28);
  color: var(--gold2);
  font-size: 12px;
  font-weight: 800;
}
.gallery-card figcaption strong {
  color: #f7efe5;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.redesigned-gallery .gallery-card:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}
.redesigned-gallery .gallery-card:hover {
  border-color: rgba(241,211,155,.34);
  box-shadow: 0 34px 80px rgba(0,0,0,.6), 0 0 46px rgba(202,167,111,.1);
}

@media (max-width: 980px) {
  .gallery-feature { align-items: flex-start; flex-direction: column; }
  .redesigned-gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .redesigned-gallery .gallery-card:nth-child(n) { grid-column: span 3; grid-row: span 3; }
  .redesigned-gallery .gallery-card:nth-child(1),
  .redesigned-gallery .gallery-card:nth-child(7) { grid-column: span 6; grid-row: span 3; }
}
@media (max-width: 720px) {
  .real-candle-scene { width: min(310px, 98%); }
  .glass-cup { width: 188px; height: 220px; }
  .redesigned-gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }
  .redesigned-gallery .gallery-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; }
  .redesigned-gallery .gallery-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
  .gallery-card figcaption { opacity: 1; transform: none; }
}
@media (max-width: 430px) {
  .gallery-feature { padding: 20px; }
  .redesigned-gallery .gallery-card { border-radius: 22px; }
  .redesigned-gallery .gallery-card img { aspect-ratio: 1 / 1; }
  .gallery-card figcaption strong { font-size: 16px; }
}
