/* DigiPatrika - story cards. Loaded after card.css, which supplies the button bar, sheets and type.
   A story is a set of paintings in assets/img/<name>/ and the scenes below. "wada" is the first.
   Phones see each scene fitted to the screen; wide screens get the paintings edge to edge. */

.story {
  --teak: #3a2119; --wall: #e39a7d; --wall-lo: #d98c6e; --cream: #fbf1dc; --wine: #6d1f2c; --brass: #c9973a; --brass-hi: #f6dfa3;
  --art: url(../img/wada/paper.jpg); --clouds: url(../img/wada/clouds.webp); --plaque: url(../img/wada/plaque.jpg);
  --wall-hi: #eba98d; --wall-dn: #d58a6c; --day-hi: #6a3a25; --on-wall: #4b2216; --on-wall-h: #4a2216; --sky-ink: #5b1722; --sky-soft: #8a4b1c; --sky-halo: 0 1px 0 rgba(255, 255, 255, .55);
  --door: .806; --leaf-t: 18.6%; --leaf-w: 31.4%; --leaf-h: 65.7%; --leaf-x: 18.7%; --paper-w: 76.8%; --plq: 440 / 665; --plq-in: 31% 17% 15%; --wood: #4a2a1e;
  background: var(--teak); color: #3b1c13;
}
body.story:not(.opened) { height: 100svh; overflow: hidden; }
.story h1, .story h2, .story h3 { font-family: var(--display); font-weight: var(--dw); }

/* ---------- the door ---------- */
.gate {
  position: fixed; inset: 0; z-index: 20; overflow: hidden; --dw: calc(100svh * var(--door));
  transform-origin: 50% 56%; transition: transform 1.15s cubic-bezier(.6, 0, .35, 1) .7s, opacity .55s linear 1.3s;
}
.gate[hidden] { display: none; }
.gate::before, .gate::after {            /* the wall either side, where the screen is wider than the doorway */
  content: ""; position: absolute; top: 0; bottom: 0; width: max(0px, calc(50% - var(--dw) / 2 + 3px));
  background: linear-gradient(var(--wall-hi), var(--wall) 60%, var(--wall-dn));
}
.gate::before { left: 0; }
.gate::after { right: 0; }
.gate-door {
  position: absolute; top: 0; left: 50%; width: var(--dw); height: 100svh; margin-left: calc(var(--dw) / -2);
  padding: 0; border: 0; background: none; cursor: pointer; perspective: 1500px; -webkit-tap-highlight-color: transparent;
}
.gate-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.leaf { position: absolute; top: var(--leaf-t); width: var(--leaf-w); height: var(--leaf-h); transition: transform 1.2s cubic-bezier(.45, 0, .2, 1); backface-visibility: hidden; }
.leaf-l { left: var(--leaf-x); transform-origin: 0 50%; }
.leaf-r { right: var(--leaf-x); transform-origin: 100% 50%; }
.opened .leaf-l { transform: rotateY(-106deg); }
.opened .leaf-r { transform: rotateY(106deg); }
.opened .gate { transform: scale(3); opacity: 0; pointer-events: none; }
.gate-door:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.gate-say {
  position: absolute; left: 50%; bottom: max(26px, 7svh); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 26px 13px; text-align: center; pointer-events: none; color: #fbe9c4;
  background: rgba(46, 24, 17, .9); border-radius: 60px 60px 12px 12px; box-shadow: inset 0 0 0 1px rgba(201, 151, 58, .8), inset 0 0 0 5px rgba(46, 24, 17, .9), inset 0 0 0 6px rgba(201, 151, 58, .35), 0 14px 30px rgba(0, 0, 0, .4);
  transition: opacity .3s;
}
.opened .gate-say { opacity: 0; }
.gate-guest { font-size: 14px; color: #e3c998; }
.gate-guest strong { display: block; font-size: 19px; font-weight: 400; color: #fff3d6; }
.gate-names { font: var(--dw) clamp(23px, 6.6vw, 32px)/1.3 var(--display); }
.gate-names i { font: 400 .55em var(--body); color: var(--brass-hi); padding: 0 .2em; }
.gate-hint { margin-top: 3px; font-size: 14.5px; color: var(--brass-hi); animation: knock 2.6s ease-in-out infinite; }
@keyframes knock { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-3px); } 86% { transform: translateY(1px); } }

/* ---------- full-bleed scenes: the courtyard at dawn, and the pond at dusk ---------- */
.scene { position: relative; height: max(100svh, 124.1vw); overflow: hidden; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-say, .end-say {
  position: absolute; left: 0; right: 0; top: 0; height: 39%; padding: 4% 18px 0;
  display: grid; align-content: center; justify-items: center; text-align: center; color: var(--sky-ink);
}
.hero-say .mantra { margin: 0; font-size: clamp(15px, 1.5vw, 24px); color: var(--sky-soft); }
.hero-say h1 { margin: .12em 0 .1em; font-size: clamp(44px, 9vw, 150px); line-height: 1.16; text-shadow: var(--sky-halo); overflow-wrap: anywhere; }
.hero-say h1 span { display: block; }
.hero-say h1 i { display: block; font: 400 .34em/1.5 var(--body); color: var(--sky-soft); }
.hero-when { font-size: clamp(15.5px, 1.6vw, 26px); color: var(--sky-ink); opacity: .85; }
@media (min-width: 800px) {
  .hero-say h1 span, .hero-say h1 i { display: inline; }
  .hero-say h1 i { padding: 0 .3em; }
}
.hero-down {
  position: absolute; left: 0; right: 0; top: calc(100svh - 118px); display: grid; justify-items: center; gap: 0;
  font-size: 13.5px; color: #fff4dc; text-shadow: 0 1px 2px rgba(40, 15, 5, .9), 0 0 12px rgba(40, 15, 5, .9);
}
.hero-down svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; animation: nod 1.8s ease-in-out infinite; }
@keyframes nod { 50% { transform: translateY(5px); } }

.cloud {
  position: absolute; left: 0; width: 200%; height: clamp(54px, 14.4vw, 260px); pointer-events: none;
  background: var(--clouds) 0 0 / 50% 100% repeat-x; animation: drift 110s linear infinite;
}
.cloud-a { top: 27%; opacity: .9; }
.cloud-b { top: 3%; opacity: .5; animation-duration: 170s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }

/* the couple walk in from the front of the courtyard once the door has opened */
.walkers {
  position: absolute; left: 50%; bottom: max(8.5%, 96px); height: 27%; width: auto; margin-left: -1%; pointer-events: none;
  transform: translate(-50%, 9%) scale(1.12); opacity: 0; filter: drop-shadow(0 10px 8px rgba(40, 20, 10, .35));
  transition: transform 2.2s cubic-bezier(.2, .7, .2, 1) 1.9s, opacity .9s linear 1.9s;
}
.opened .walkers { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 800px) { .walkers { bottom: 5%; height: 25%; } }

.end-say { height: 37%; }
.end-say h2 { font-size: clamp(30px, 5.4vw, 84px); line-height: 1.25; }
.end-say .hosts { margin-top: 10px; font-size: clamp(17px, 1.7vw, 26px); color: var(--sky-ink); }
.end-say .hosts span { display: block; font-size: .78em; color: var(--sky-soft); }
.end-say .made { position: static; margin-top: 14px; }
.end-say .made a { color: var(--sky-soft); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the invitation: a scroll that unrolls on the wada wall ---------- */
.s-invite {
  display: grid; gap: 44px; justify-items: center; align-items: center; padding: clamp(52px, 8vw, 120px) 14px;
  background: radial-gradient(120% 60% at 50% 0, var(--wall-hi), transparent 70%), var(--wall);
}
.scroll { width: min(100%, 600px); filter: drop-shadow(0 16px 18px rgba(74, 30, 14, .32)); }
.roller { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.scroll-clip { display: grid; grid-template-rows: 0fr; margin: -3.3% 0 -2.9%; transition: grid-template-rows 2s cubic-bezier(.3, .1, .2, 1); }
.scroll.on .scroll-clip { grid-template-rows: 1fr; }
.scroll-in { min-height: 0; overflow: hidden; }
.scroll-paper {
  width: var(--paper-w); margin: 0 auto; padding: 4px 2px 14px; text-align: center;
  border: clamp(38px, 10.5vw, 68px) solid transparent; border-image: var(--art) 86 fill / 1 / 0 stretch;
}
.scroll-paper .ganesha { width: 54px; }
.scroll-h { margin: 8px 0 14px; font-size: 15.5px; color: #8a5a17; }
.scroll-paper .who span { display: block; font-size: 14.5px; color: #7b5b3e; }
.scroll-paper .who h2 { font-size: clamp(31px, 8.6vw, 44px); line-height: 1.25; color: var(--wine); overflow-wrap: anywhere; }
.scroll-paper .who p { margin-top: 2px; font-size: 15px; line-height: 1.5; color: #7b5b3e; }
.amp { margin: 8px 0; font-size: 17px; color: #8a5a17; }
.amp::before, .amp::after { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 10px; vertical-align: middle; background: #c9a25a; }
.scroll-text { margin-top: 18px; font-size: 16.5px; line-height: 1.75; }

.jharokha { width: min(80vw, 400px); text-align: center; }
.jharokha img {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
  border: 7px solid var(--wood); outline: 2px solid var(--brass); outline-offset: -11px; box-shadow: 0 18px 30px rgba(74, 30, 14, .35);
  clip-path: inset(100% 0 0 0 round 50% 50% 8px 8px / 30% 30% 8px 8px); transition: clip-path 1.3s cubic-bezier(.3, .1, .2, 1) .15s;
}
.jharokha.on img { clip-path: inset(0 round 50% 50% 8px 8px / 30% 30% 8px 8px); }
.jharokha figcaption { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--on-wall); }
.jharokha figcaption b { display: block; font-family: var(--display); font-size: 23px; line-height: 1.4; color: var(--on-wall-h); }
@media (min-width: 940px) {
  .s-invite { grid-template-columns: minmax(0, 600px) minmax(0, 400px); justify-content: center; gap: 7vw; }
}

/* ---------- the day: three plaques, shown when the guest pulls the tassel ---------- */
.s-day {
  position: relative; overflow: hidden; padding: 0 12px clamp(54px, 8vw, 110px); text-align: center; color: #f3deb0;
  background: radial-gradient(90% 55% at 50% 0, var(--day-hi), transparent 72%), var(--teak);
}
.tassel {
  display: block; width: clamp(58px, 7vw, 86px); margin: -8px auto 0; padding: 0; border: 0; background: none; cursor: grab; touch-action: none;
  transform: translateY(var(--pull, 0px)); transform-origin: 50% 0; -webkit-tap-highlight-color: transparent; animation: hangsway 3.4s ease-in-out infinite alternate, tug 3.2s ease-in-out infinite;
}
@keyframes tug { 0%, 60%, 100% { translate: 0 0; } 72% { translate: 0 18px; } 84% { translate: 0 -4px; } }
.tassel img { display: block; width: 100%; height: auto; pointer-events: none; }
.tassel.held { animation: none; cursor: grabbing; }
.tassel:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 4px; }
@keyframes hangsway { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
.shown .tassel { animation: letgo 1.1s cubic-bezier(.3, 1.6, .4, 1) both; cursor: default; }
@keyframes letgo { 0% { translate: 0 70px; } 45% { translate: 0 -16px; rotate: 6deg; } 75% { rotate: -3deg; } 100% { translate: 0 0; rotate: 0deg; } }
.s-day h2 { margin-top: 18px; font-size: clamp(30px, 4.4vw, 56px); color: var(--brass-hi); }
.pull-hint {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 18px 8px 12px; border-radius: 30px; font-size: 16px; color: #3a2119;
  background: var(--brass-hi); box-shadow: 0 0 0 0 rgba(246, 223, 163, .6); animation: callout 2.2s ease-out infinite; transition: opacity .4s;
}
.pull-hint svg, .missed svg, .fn-more svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pull-hint svg { transform: rotate(180deg); }
@keyframes callout { 70%, 100% { box-shadow: 0 0 0 14px rgba(246, 223, 163, 0); } }
.plaques { cursor: pointer; }
.shown .plaques { cursor: default; }
/* scrolled past without pulling: a chip above the bar takes them back */
.missed {
  position: fixed; left: 50%; bottom: calc(max(12px, env(safe-area-inset-bottom)) + 76px); z-index: 16; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 10px 18px 10px 13px; border: 0; border-radius: 30px; cursor: pointer;
  font: 400 15.5px/1.3 var(--body); color: #3a2119; background: var(--brass-hi); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); animation: chip-in .45s cubic-bezier(.2, .8, .2, 1);
}
.missed[hidden] { display: none; }
@keyframes chip-in { from { transform: translate(-50%, 30px); opacity: 0; } }
.shown .pull-hint { opacity: 0; }

.plaques { display: flex; justify-content: center; gap: clamp(6px, 2vw, 26px); margin-top: 16px; perspective: 1200px; }
.plaque {
  position: relative; width: min(30vw, 210px); aspect-ratio: var(--plq); background: var(--plaque) center / cover; border-radius: 2px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .45); transition: transform 1.1s cubic-bezier(.3, .1, .2, 1);
}
.plaque p { position: absolute; inset: var(--plq-in); display: grid; align-content: center; justify-items: center; gap: 2px; filter: blur(10px); opacity: .22; transition: filter .5s linear .5s, opacity .5s linear .5s; }
.plaque b { font: var(--dw) clamp(34px, 10.5vw, 76px)/1.1 var(--display); color: var(--brass-hi); }
.plaque b.word { font-size: clamp(15px, 4.3vw, 30px); line-height: 1.35; }
.plaque small { font-size: clamp(11.5px, 3.1vw, 19px); line-height: 1.35; color: #f4dcc0; }
.shown .plaque { transform: rotateY(360deg); }
.shown .plaque:nth-child(2) { transition-delay: .18s; }
.shown .plaque:nth-child(3) { transition-delay: .36s; }
.shown .plaque p { filter: none; opacity: 1; }
.shown .plaque:nth-child(2) p { transition-delay: .68s; }
.shown .plaque:nth-child(3) p { transition-delay: .86s; }

.story .count { max-width: 420px; margin: 34px auto 0; padding: 0; opacity: 0; translate: 0 14px; transition: opacity .6s 1.3s, translate .6s 1.3s; }
.shown .count { opacity: 1; translate: 0 0; }
.story .count-label { font-size: 15px; color: #d9b98a; }
.story .count-row { gap: 8px; margin-top: 10px; }
.story .count-row div, .story .count-row div + div { padding: 9px 2px 8px; border: 1px solid rgba(201, 151, 58, .55); border-radius: 26px 26px 5px 5px; background: rgba(0, 0, 0, .2); }
.story .count-row b { font-size: 27px; color: var(--brass-hi); }
.story .count-row span { font-size: 12.5px; color: #d9b98a; }

/* ---------- functions: arched cards, swiped on a phone, side by side on a wide screen ---------- */
.s-fn { padding: clamp(52px, 8vw, 110px) 0 clamp(56px, 8vw, 110px); text-align: center; background: var(--cream); }
.s-fn > h2, .s-wall > h2 { font-size: clamp(30px, 4.4vw, 56px); color: var(--wine); }
.fn-row { display: flex; gap: 18px; padding: 26px max(20px, calc(50vw - 150px)) 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fn-row::-webkit-scrollbar { display: none; }
.fn {
  flex: 0 0 min(300px, 78vw); scroll-snap-align: center; display: grid; align-content: start; justify-items: center; gap: 6px; padding-bottom: 22px; overflow: hidden;
  background: #fffaf0; border-radius: 150px 150px 12px 12px; box-shadow: inset 0 0 0 1px #d6b46e, inset 0 0 0 6px #fffaf0, inset 0 0 0 7px rgba(214, 180, 110, .6), 0 14px 26px rgba(92, 52, 20, .16);
  opacity: 0; transform: translateY(26px) rotate(var(--tilt)); transition: opacity .7s, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.fn.on { opacity: 1; transform: rotate(var(--tilt)); }
.fn img { width: calc(100% - 14px); margin-top: 7px; aspect-ratio: 8 / 9; height: auto; object-fit: cover; border-radius: 143px 143px 0 0; }
.fn h3 { margin-top: 8px; padding: 0 16px; font-size: 27px; line-height: 1.3; color: var(--wine); }
.fn p { padding: 0 18px; font-size: 16px; line-height: 1.5; }
.fn-when { color: #8a5a17; }
.fn-where strong { font-weight: 400; color: #3b1c13; }
.fn-where { color: #7b5b3e; }
.fn-dress { margin-top: 4px; padding: 5px 14px 6px !important; font-size: 14.5px !important; border: 1px dashed #c9a25a; border-radius: 30px; color: #5b3324; }
.fn-dress span { margin-right: 7px; color: #8a5a17; }
.fn-dress span::after { content: ":"; }
.fn-map { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 9px 18px; border-radius: 30px; font-size: 15px; text-decoration: none; color: #fff3d6; background: var(--wine); }
.fn-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 12px; }
.fn-go .fn-map { padding: 9px 15px; font-size: 14.5px; }
.fn-cal { color: var(--wine); background: none; box-shadow: inset 0 0 0 1px var(--wine); }
.fn-cal svg { stroke: var(--wine) !important; }
.fn-map svg { width: 16px; height: 16px; fill: none; stroke: var(--brass-hi); stroke-width: 1.8; stroke-linejoin: round; }
.fn-map:focus-visible, .hang:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
@media (min-width: 900px) {
  .fn-row { flex-wrap: wrap; justify-content: center; gap: 34px; overflow: visible; padding: 34px 24px 20px; }
  .fn { flex-basis: 310px; }
}
.fn-more { display: grid; justify-items: center; gap: 10px; margin-top: 2px; font-size: 15px; color: #8a5a17; }
.fn-more span, .fn-more svg { grid-row: 1; }
.fn-more { grid-template-columns: auto auto; justify-content: center; column-gap: 8px; align-items: center; }
.fn-more svg { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.fn-dots { grid-column: 1 / -1; display: flex; gap: 7px; }
.fn-dots i { width: 8px; height: 8px; border-radius: 8px; background: #dcc594; transition: width .25s, background .25s; }
.fn-dots i.on { width: 24px; background: var(--wine); }
@media (min-width: 900px) { .fn-more { display: none; } }
.notes { width: min(100% - 40px, 520px); margin: 30px auto 0; padding-top: 26px; border-top: 1px dashed #c9a25a; }
.notes h3 { font-size: 25px; color: var(--wine); }
.notes ul { list-style: none; margin-top: 10px; text-align: left; display: grid; gap: 8px; }
.notes li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.55; }
.notes li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 13px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffd35a, #f08a1c 60%, #c9600f); }

/* ---------- photos in carved frames, hanging from nails ---------- */
.s-wall { padding: clamp(52px, 8vw, 110px) 10px clamp(60px, 8vw, 120px); text-align: center; background: radial-gradient(100% 50% at 50% 100%, var(--wall-dn), transparent 70%), var(--wall); }
.s-wall > h2 { color: var(--on-wall-h); }
.wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(10px, 3vw, 44px); max-width: 1180px; margin: 20px auto 0; }
.hang {
  position: relative; width: min(44vw, 250px); aspect-ratio: 620 / 941; margin-top: var(--drop); transform-origin: 50% 2.5%;
  filter: drop-shadow(0 12px 10px rgba(74, 30, 14, .3)); animation: sway var(--beat) ease-in-out infinite alternate; animation-play-state: paused;
}
.hang.on { animation-play-state: running; }
.hang span { position: absolute; left: 22.6%; top: 31.2%; width: 54.6%; height: 53.6%; overflow: hidden; background: #2a1710; }
.hang span img { width: 100%; height: 100%; object-fit: cover; }
.hang-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes sway { from { transform: rotate(calc(var(--sway) * -1)); } to { transform: rotate(var(--sway)); } }

/* the bar sits on paintings here, so it needs a firmer plate than on the simple card */
.story .bar { background: rgba(46, 24, 17, .94); transition-delay: 2.1s; }
.story.embed .gate-say { bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  .cloud, .hang, .tassel, .gate-hint, .hero-down svg, .pull-hint, .fn-more svg, .missed { animation: none; }
  .gate, .leaf, .walkers, .scroll-clip, .jharokha img, .plaque, .plaque p, .fn, .story .count { transition-duration: .01s; transition-delay: 0s; }
}
@media (max-width: 799px) { .hero-down { display: none; } }

/* ---------- Deepmal: a hill temple at night. Same scenes, its own paintings, colours and measurements ---------- */
.story-deepmal {
  --teak: #141a3a; --wall: #2a2d4e; --wall-hi: #3a3e68; --wall-dn: #1f2140; --day-hi: #2c377a; --cream: #f6efe0; --wine: #1f2a5c; --wood: #b9862c;
  --art: url(../img/deepmal/paper.jpg); --clouds: none; --plaque: url(../img/deepmal/plaque.jpg);
  --on-wall: #e9dfc6; --on-wall-h: #f6dfa3; --sky-ink: #fdf0cf; --sky-soft: #f1c56b; --sky-halo: 0 2px 10px rgba(8, 10, 30, .8);
  --door: .7467; --leaf-t: 23.8%; --leaf-w: 23.3%; --leaf-h: 57%; --leaf-x: 26.8%; --paper-w: 79.4%; --plq: 440 / 789; --plq-in: 22% 21% 28%;
}
.story-deepmal .cloud { display: none; }
.story-deepmal .tassel { width: clamp(96px, 11vw, 150px); margin-top: 0; }
.story-deepmal .scroll { filter: drop-shadow(0 16px 18px rgba(4, 6, 24, .5)); }
.story-deepmal .scroll-h, .story-deepmal .amp { color: #6b5320; }
.story-deepmal .jharokha img { box-shadow: 0 18px 30px rgba(4, 6, 24, .5); }
.story-deepmal .hang { filter: drop-shadow(0 12px 10px rgba(4, 6, 24, .45)); }
.story-deepmal .hang span { left: 23%; top: 31.6%; width: 54%; height: 53%; }
.story-deepmal .plaque small { color: #dfe3ff; }
.story-deepmal .bar { background: rgba(16, 20, 48, .94); }
.story-deepmal .gate-say { background: rgba(16, 20, 48, .92); box-shadow: inset 0 0 0 1px rgba(201, 151, 58, .8), inset 0 0 0 5px rgba(16, 20, 48, .92), inset 0 0 0 6px rgba(201, 151, 58, .35), 0 14px 30px rgba(0, 0, 0, .5); }
.story-deepmal .hero-down { color: #fdf0cf; }

/* ---------- scratch-off: the plaques sit under gold foil the guest rubs away ---------- */
.rv-scratch .s-day { padding-top: clamp(40px, 6vw, 80px); }
.rv-scratch .s-day h2 { margin-top: 0; }
.rv-scratch .pull-hint svg { transform: none; }
.rv-scratch .plaques { position: relative; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; cursor: default; }
.rv-scratch .plaque p { filter: none; opacity: 1; }
.rv-scratch .shown .plaque { transform: none; }
.foil { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); z-index: 2; border-radius: 6px; touch-action: none; cursor: grab; transition: opacity .7s; }
.shown .foil { opacity: 0; pointer-events: none; }
