/* ==========================================================================
   Alex & Aileen · "our story" · stories.css · by Very Online Studio
   Two worlds: heirloom (wine, gold foil, Bodoni, engraving) and, for 2021 to
   the proposal, a game client (HUD, condensed caps, signal gold).
   ========================================================================== */

@font-face { font-family: 'Bodoni Moda'; font-weight: 400 900; font-display: swap; src: url(../fonts/bodoni-moda-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2'); }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 100 900; font-display: swap; src: url(../fonts/big-shoulders-display-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans Tagalog'; font-weight: 400; font-display: swap; src: url(../fonts/noto-sans-tagalog-tagalog-400-normal.woff2) format('woff2'); unicode-range: U+1700-171F, U+25CC; }

:root {
  --alak: #540212; --alak-2: #7A1A2E; --gabi: #1E0509; --ink: #2A0A12; --ink-2: #6B4A4F;
  --ginto: #C8A15A; --ginto-hi: #F0D9A0; --cream: #FFF7EA; --paper: #FFF9F2; --line: #E8D6CE;
  --hud: #EAF2F0; --sig: #F2C14E; --loss: #9A9EA8;
  --d: 'Bodoni Moda', 'Didot', Georgia, serif;
  --s: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g: 'Big Shoulders Display', 'Archivo', sans-serif;
  --bar-h: calc(env(safe-area-inset-top, 0px) + 66px);
  --reply-h: calc(env(safe-area-inset-bottom, 0px) + 68px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --foil: linear-gradient(115deg, #7d5a22 0%, #e9cf8f 16%, #c8a15a 30%, #fff3cf 44%, #b8893c 56%, #f0d9a0 72%, #8a6526 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--gabi); color: var(--cream); font: 400 16px/1.5 var(--s); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
html.js, html.js body { height: 100%; overflow: hidden; overscroll-behavior: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4, ol, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ginto-hi); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* foil: gold that catches the light */
.foil { background: var(--foil); background-size: 260% 100%; animation: foil 7s ease-in-out infinite alternate; }
@keyframes foil { to { background-position: 100% 0; } }

/* film grain over everything */
.grain { position: fixed; inset: -60px; z-index: 90; pointer-events: none; opacity: .075; mix-blend-mode: overlay; animation: grain .6s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(16px, -20px); } 60% { transform: translate(-12px, -8px); } 80% { transform: translate(20px, 18px); } 100% { transform: translate(0, 0); } }

.toast { position: fixed; left: 50%; bottom: calc(var(--reply-h) + 14px); z-index: 120; transform: translate(-50%, 30px); opacity: 0; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 999px; background: #0d0205; color: var(--cream); font-weight: 500; font-size: .9rem; text-align: center; transition: transform .35s var(--ease), opacity .3s; pointer-events: none; box-shadow: 0 0 0 1px rgb(240 217 160 / .25), 0 10px 30px rgb(0 0 0 / .5); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* ---------------------------------------------------------------- desktop backdrop */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--gabi); }
.backdrop__img { position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(46px) brightness(.32) saturate(1.3); transition: background-image .8s; }

/* ---------------------------------------------------------------- the cover */
.cover { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2.2vh, 20px); padding: calc(env(safe-area-inset-top) + 48px) 30px calc(env(safe-area-inset-bottom) + 44px); text-align: center; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 34%, #6a0c1f 0%, var(--alak) 38%, #2c040c 100%); }
.cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 34%, rgb(255 210 150 / .14), transparent 70%); pointer-events: none; }
.cover__lace { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ginto); opacity: .6; pointer-events: none; }
.cover__medal { position: relative; width: min(64vw, 34vh, 300px); aspect-ratio: 1; flex: none; }
.cover__medal .guil { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ginto-hi); overflow: visible; }
.cover__mono { position: absolute; inset: 21%; -webkit-mask: url(../img/aa-mask.png) center / contain no-repeat; mask: url(../img/aa-mask.png) center / contain no-repeat; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .35)); }
.cover__title { position: relative; font: 500 clamp(42px, 12.5vw, 78px)/1 var(--d); letter-spacing: -.01em; color: var(--cream); }
.cover__title .amp { display: inline-block; margin: 0 .18em; color: var(--ginto-hi); font-weight: 400; font-size: .7em; vertical-align: .08em; }
.cover__date { position: relative; font-size: 15px; line-height: 1.45; color: rgb(255 247 234 / .85); letter-spacing: .02em; }
.cover__for { position: relative; font: 400 19px/1.3 var(--d); color: var(--ginto-hi); }
.cover__for b { font-weight: 600; }
.cover__ctas { position: relative; display: grid; justify-items: center; gap: 8px; margin-top: 4px; }
.cta { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--foil); background-size: 260% 100%; animation: foil 5s ease-in-out infinite alternate; color: var(--ink); font: 650 16px/1 var(--s); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .5); }
.cta svg { width: 20px; height: 20px; }
.cta-quiet { border: 0; background: none; padding: 8px; color: rgb(255 247 234 / .8); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.cover__hint { position: relative; max-width: 30ch; font-size: 12.5px; line-height: 1.5; color: rgb(255 247 234 / .6); }
html.cover-gone .cover { pointer-events: none; }

/* ---------------------------------------------------------------- stage + player */
.stage { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; }
html.js:not(.cover-gone) .stage { visibility: hidden; }
.player { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--gabi); container-type: size; isolation: isolate; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.deck { position: absolute; inset: 0; perspective: 1500px; touch-action: none; }
.story { position: absolute; inset: 0; overflow: hidden; visibility: hidden; backface-visibility: hidden; background: var(--gabi); }
.story.is-on { visibility: visible; }
.story::after { content: ""; position: absolute; inset: 0; z-index: 30; background: #000; opacity: var(--shade, 0); pointer-events: none; }
/* text sits over pictures: a soft scrim from the bottom */
.s-develop::before, .s-stream::before, .s-moments::before, .s-game::before, .s-film::before { content: ""; position: absolute; inset: 0; z-index: 15; pointer-events: none; background: linear-gradient(to top, rgb(14 3 6 / .92) 0%, rgb(14 3 6 / .72) 28%, rgb(14 3 6 / 0) 58%), linear-gradient(to bottom, rgb(14 3 6 / .55), rgb(14 3 6 / 0) 18%); }

@media (min-width: 760px) and (min-height: 560px) {
  .player { height: min(100dvh - 40px, 920px); width: auto; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: 0 40px 120px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(240 217 160 / .14); }
}

/* the picture box: covers the story like object-fit, so overlays (the engraving) stay aligned */
.fit { position: absolute; left: 50%; top: 50%; width: max(100cqw, 100cqh * 960 / 1706); aspect-ratio: 960 / 1706; transform: translate(-50%, -50%); }
.fit .photo { width: 100%; height: 100%; object-fit: cover; }
.engraving { position: absolute; left: 4.96%; top: 7%; width: 92.43%; height: 43%; -webkit-mask: url(../img/engraving.webp) center / 100% 100% no-repeat; mask: url(../img/engraving.webp) center / 100% 100% no-repeat; }

/* ---------------------------------------------------------------- top bar */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 40; padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 14px; background: linear-gradient(to bottom, rgb(10 2 5 / .6), rgb(10 2 5 / 0)); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar__progress { display: flex; gap: 4px; height: 3px; }
.bar__progress i { flex: 1; height: 100%; border-radius: 2px; background: rgb(255 255 255 / .3); overflow: hidden; }
.bar__progress b { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.bar__row { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.bar__avatar { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--alak) !important; animation: none !important; box-shadow: 0 0 0 1.5px var(--ginto-hi), 0 0 0 3px rgb(84 2 18 / .9); }
.bar__avatar::after { content: ""; position: absolute; inset: 6px; background: var(--foil); background-size: 260% 100%; -webkit-mask: url(../img/aa-mask.png) center / contain no-repeat; mask: url(../img/aa-mask.png) center / contain no-repeat; }
.bar__who { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; line-height: 1.2; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.bar__who b { font-size: 14px; font-weight: 650; }
.bar__when { grid-row: 1; grid-column: 2; font-size: 12.5px; color: rgb(255 255 255 / .62); align-self: end; }
.bar__ch { grid-column: 1 / -1; font-size: 12.5px; color: rgb(255 255 255 / .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__btn { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.bar__btn svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .5)); }
.bar__btn:active { background: rgb(255 255 255 / .12); }

/* ---------------------------------------------------------------- bottom reply bar */
.reply { position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(env(safe-area-inset-bottom, 0px) + 12px); background: linear-gradient(to top, rgb(10 2 5 / .55), rgb(10 2 5 / 0)); }
.reply__field { flex: 1; min-width: 0; height: 46px; padding: 0 20px; border: 1.5px solid rgb(255 255 255 / .6); border-radius: 999px; background: rgb(0 0 0 / .2); color: #fff; font-size: 15px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); }
html.rsvp-done .reply__field { border-color: var(--ginto-hi); color: var(--ginto-hi); }
.reply__heart { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; background: none; color: #fff; }
.reply__heart svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 4px rgb(0 0 0 / .5)); }
.reply__heart.is-on { color: #E8566F; }
.float-heart { position: absolute; z-index: 46; color: #E8566F; font-size: 26px; line-height: 1; pointer-events: none; text-shadow: 0 2px 10px rgb(0 0 0 / .4); }
body[data-story="rsvp"] .reply { opacity: 0; pointer-events: none; }
.reply { transition: opacity .4s; }

/* ---------------------------------------------------------------- transition helpers */
.leak { position: absolute; inset: -25%; z-index: 35; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(ellipse 50% 40% at 50% 50%, rgb(255 214 150 / .6), rgb(255 140 90 / .22) 40%, transparent 70%); }
.flash { position: absolute; inset: 0; z-index: 36; opacity: 0; pointer-events: none; background: radial-gradient(circle at 50% 42%, #fff8e2, var(--ginto-hi) 40%, var(--ginto) 90%); }
.glitch { position: absolute; inset: 0; z-index: 37; width: 100%; height: 100%; max-width: none; opacity: 0; pointer-events: none; }
.coach { position: absolute; inset: 0; z-index: 45; display: none; pointer-events: none; }
.player.show-coach .coach { display: block; animation: coach 3.2s ease forwards; }
.coach p { display: grid; grid-template-columns: 30% 1fr 30%; height: 100%; align-items: center; text-align: center; font: 600 13px/1.35 var(--s); color: #fff; }
.coach span { display: grid; place-items: center; height: 100%; text-shadow: 0 1px 8px #000; }
.coach__l { background: rgb(0 0 0 / .42); border-right: 1px dashed rgb(255 255 255 / .35); }
.coach__m { background: rgb(0 0 0 / .26); }
.coach__r { background: rgb(0 0 0 / .42); border-left: 1px dashed rgb(255 255 255 / .35); }
@keyframes coach { 0% { opacity: 0; } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; } }
.player.is-holding .bar, .player.is-holding .reply { opacity: 0; transition: opacity .25s; }

/* ---------------------------------------------------------------- shared copy styles */
.copy { position: absolute; z-index: 20; left: 22px; right: 22px; text-shadow: 0 1px 14px rgb(0 0 0 / .45); }
.copy--bottom { bottom: calc(var(--reply-h) + 16px); }
.copy p { font-size: 15.5px; line-height: 1.5; max-width: 36ch; }
.copy p + p { margin-top: 8px; }
.title { font: 500 31px/1.06 var(--d); letter-spacing: -.005em; margin-bottom: 10px; color: var(--cream); }
.copy .small { font-size: 13px; color: rgb(255 247 234 / .7); }
.copy .line { font: 500 20px/1.3 var(--d); color: var(--ginto-hi); }
.k { font-size: 13px; letter-spacing: .04em; color: var(--ginto-hi); margin-bottom: 4px; }
.stickers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sticker { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--cream); color: var(--ink); font: 600 14px/1 var(--s); text-decoration: none; text-shadow: none; box-shadow: 0 8px 22px -10px rgb(0 0 0 / .7); white-space: nowrap; }
.sticker svg { width: 17px; height: 17px; flex: none; }
.sticker small { font-weight: 450; opacity: .7; margin-left: 2px; }
.sticker--ghost { background: rgb(255 247 234 / .1); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgb(255 247 234 / .55); backdrop-filter: blur(4px); }
.sticker--gold { min-height: 50px; padding: 0 22px; background: var(--foil); background-size: 260% 100%; animation: foil 5s ease-in-out infinite alternate; font-size: 15px; }
.copy .sticker { margin-top: 12px; }

/* ---------------------------------------------------------------- invitation: capiz window */
.s-invite { background: radial-gradient(110% 60% at 50% 28%, #5d0a1c 0%, #33050f 60%, #14030a 100%); }
.s-invite::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 34% at 50% 27%, rgb(255 212 150 / .32), transparent 70%); opacity: 0; transition: opacity 1.6s ease; }
.s-invite.is-lit::before { opacity: 1; }
.s-invite .fit { z-index: 2; }
.capiz { position: absolute; inset: 0; z-index: 10; display: flex; perspective: 1100px; pointer-events: none; }
.capiz__leaf { position: relative; width: 50%; height: 100%; transform-style: preserve-3d; backface-visibility: hidden; }
.capiz__leaf--l { transform-origin: 0 50%; }
.capiz__leaf--r { transform-origin: 100% 50%; }
.capiz__leaf canvas { width: 100%; height: 100%; }
.copy--invite { bottom: calc(var(--reply-h) + 20px); text-align: center; }
.copy--invite p { max-width: none; }
.dear { font: 400 21px/1.3 var(--d) !important; color: var(--ginto-hi); margin-bottom: 10px; }
.lead { font-size: 14.5px !important; letter-spacing: .03em; color: rgb(255 247 234 / .82); }
.names { font: 500 clamp(44px, 13cqw, 64px)/1.02 var(--d); margin: 4px 0 6px; color: var(--cream); }
.names .amp, .credits .amp { color: var(--ginto-hi); font-weight: 400; font-size: .62em; margin: 0 .2em; vertical-align: .1em; }

/* the engraving develops into the photograph */
.s-develop .engraving { z-index: 2; }
.s-develop .photo { position: relative; z-index: 1; }
.when-big { font: 500 33px/1.08 var(--d) !important; color: var(--cream); max-width: 12ch !important; }
.where { font-size: 15px; color: rgb(255 247 234 / .82); margin-top: 6px !important; }
.seats { color: var(--ginto-hi); }
.seats b { font-weight: 650; }
.tag { font: 500 15px/1 var(--s); color: var(--ginto-hi); letter-spacing: .02em; margin-top: 12px !important; }

/* ---------------------------------------------------------------- the game chapter */
.s-game, .s-round { background: #0b0306; color: var(--hud); }
.s-game .clip { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .58; filter: saturate(.85) contrast(1.08); }
.hud-bg { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / .22) 0 1px, transparent 1px 3px),
    linear-gradient(rgb(234 242 240 / .045) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgb(234 242 240 / .045) 1px, transparent 1px) 0 0 / 30px 30px,
    radial-gradient(120% 80% at 50% 40%, transparent 30%, rgb(5 1 3 / .8) 100%); }
.hud-bg--soft { opacity: .7; }
.hud-bg::before, .hud-bg::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1.5px solid rgb(242 193 78 / .55); }
.hud-bg::before { left: 12px; top: calc(var(--bar-h) + 10px); border-right: 0; border-bottom: 0; }
.hud-bg::after { right: 12px; bottom: calc(var(--reply-h) + 6px); border-left: 0; border-top: 0; }
.hud-year { position: absolute; z-index: 3; top: 14%; left: 0; right: 0; text-align: center; font: 900 clamp(120px, 46cqw, 230px)/1 var(--g); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.2px rgb(240 217 160 / .32); }
.mf { position: absolute; z-index: 5; top: 25%; left: 0; right: 0; display: grid; justify-items: center; gap: 12px; text-align: center; }
.mf__k { font: 700 12px/1 var(--s); font-stretch: 75%; letter-spacing: .28em; text-transform: uppercase; color: rgb(234 242 240 / .82); }
.mf__t { font: 900 clamp(54px, 18cqw, 84px)/.9 var(--g); text-transform: uppercase; letter-spacing: .02em; color: var(--sig); text-shadow: 0 0 28px rgb(242 193 78 / .5); }
.mf__ring { position: relative; width: 132px; height: 132px; margin-top: 6px; }
.mf__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.mf__ticks { fill: none; stroke: rgb(234 242 240 / .35); stroke-width: 2; stroke-dasharray: 1 6.2; }
.mf__track { fill: rgb(10 2 5 / .55); stroke: rgb(234 242 240 / .14); stroke-width: 7; }
.mf__fill { fill: none; stroke: var(--sig); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgb(242 193 78 / .7)); }
.mf__accept { position: absolute; inset: 0; display: grid; place-items: center; font: 800 21px/1 var(--g); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.is-accepted .mf__accept { color: var(--sig); }
.mf__players { display: flex; gap: 28px; list-style: none; padding: 0; margin-top: 4px; }
.mf__players li { display: flex; align-items: center; gap: 9px; font: 700 13px/1 var(--s); font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; }
.mf__players i { width: 10px; height: 10px; border: 1.5px solid var(--hud); transform: rotate(45deg); transition: background .3s, box-shadow .3s, border-color .3s; }
.is-accepted .mf__players i { background: var(--sig); border-color: var(--sig); box-shadow: 0 0 10px var(--sig); }
.copy--game { bottom: calc(var(--reply-h) + 16px); padding: 13px 15px 14px; background: rgb(10 2 5 / .66); border-left: 2px solid var(--sig); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); backdrop-filter: blur(3px); text-shadow: none; }
.copy--game p { font-size: 15.5px; max-width: none; color: var(--hud); }
.g-title { font: 800 27px/1 var(--g); letter-spacing: .04em; text-transform: uppercase; color: var(--sig); margin-bottom: 8px; }

/* lock in */
.s-lock { background: radial-gradient(90% 60% at 50% 35%, #2a0812, #0b0306 75%); }
.lock__head { position: absolute; z-index: 5; top: calc(var(--bar-h) + 16px); left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: baseline; }
.lock__head p { font: 700 13px/1 var(--s); font-stretch: 75%; letter-spacing: .22em; text-transform: uppercase; color: rgb(234 242 240 / .85); }
.lock__head b { font: 800 30px/1 var(--g); color: var(--sig); font-variant-numeric: tabular-nums; }
.lock__cards { position: absolute; z-index: 5; top: calc(var(--bar-h) + 62px); left: 16px; right: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard { position: relative; --flash: 0; background: linear-gradient(180deg, rgb(234 242 240 / .08), rgb(234 242 240 / .02)); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); box-shadow: inset 0 0 0 1px rgb(234 242 240 / .18); }
.pcard::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: var(--flash); pointer-events: none; mix-blend-mode: overlay; }
.pcard__img { position: relative; aspect-ratio: 3 / 3.6; overflow: hidden; }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 3 6 / .95), transparent 45%), repeating-linear-gradient(0deg, rgb(0 0 0 / .14) 0 1px, transparent 1px 3px); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.06); }
.pcard__meta { position: relative; margin-top: -38px; padding: 0 10px 48px; }
.pcard__role { font: 600 10.5px/1 var(--s); font-stretch: 80%; letter-spacing: .2em; text-transform: uppercase; color: rgb(234 242 240 / .72); }
.pcard__name { font: 800 32px/1 var(--g); letter-spacing: .02em; text-transform: uppercase; color: #fff; margin-top: 4px; }
.pcard__abil { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 7px; }
.pcard__abil li { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1.15 var(--s); font-stretch: 85%; color: var(--hud); }
.pcard__abil svg { width: 22px; height: 22px; flex: none; color: var(--ginto-hi); }
.pcard__abil .ult svg { color: var(--sig); filter: drop-shadow(0 0 5px rgb(242 193 78 / .6)); }
.pcard__abil .ult span { color: var(--sig); }
.pcard__lock { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 0 6px; text-align: center; background: var(--sig); color: var(--gabi); font: 900 21px/1 var(--g); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 6px 24px rgb(242 193 78 / .4); }

/* late nights */
.feed { position: absolute; z-index: 5; top: calc(var(--bar-h) + 14px); right: 12px; display: grid; justify-items: end; gap: 6px; }
.feed p { display: flex; align-items: center; gap: 8px; padding: 6px 11px; background: rgb(10 2 5 / .7); font: 700 12.5px/1 var(--s); font-stretch: 85%; clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.feed b:first-child { color: var(--sig); }
.feed svg { width: 15px; height: 15px; color: #E8566F; }
.round-n { position: absolute; z-index: 5; top: calc(var(--bar-h) + 12px); left: 18px; font: 700 11px/1 var(--s); font-stretch: 75%; letter-spacing: .22em; text-transform: uppercase; color: rgb(234 242 240 / .8); }
.round-n b { display: block; margin-top: 4px; font: 800 40px/1 var(--g); letter-spacing: 0; color: #fff; font-variant-numeric: tabular-nums; }
.chat { position: absolute; z-index: 5; left: 14px; right: 26%; top: calc(var(--bar-h) + 92px); list-style: none; padding: 0; display: grid; gap: 6px; }
.chat li { padding: 7px 10px; background: rgb(10 2 5 / .6); border-left: 2px solid rgb(242 193 78 / .85); font-size: 13.5px; line-height: 1.3; }
.chat time { margin-right: 7px; font-size: 11px; color: rgb(234 242 240 / .55); font-variant-numeric: tabular-nums; }
.chat b { margin-right: 6px; color: var(--sig); font-weight: 650; }

/* textures streaming in */
.s-stream .photo { opacity: 0; transition: opacity .5s; }
.s-stream.is-loaded .photo { opacity: 1; }
.stream { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; image-rendering: pixelated; }
.loadbar { position: absolute; z-index: 18; top: 44%; left: 18%; right: 18%; text-align: center; color: var(--hud); }
.loadbar p { font: 700 12px/1 var(--s); font-stretch: 75%; letter-spacing: .24em; text-transform: uppercase; }
.loadbar i { display: block; height: 4px; margin: 10px 0 8px; background: rgb(255 255 255 / .2); }
.loadbar span { display: block; height: 100%; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--sig); }
.loadbar b { font: 800 19px/1 var(--g); }
.achv { position: absolute; z-index: 25; top: calc(var(--bar-h) + 12px); left: 0; right: 0; margin: 0 auto; width: max-content; display: flex; gap: 11px; align-items: center; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgb(14 4 8 / .88); box-shadow: inset 0 0 0 1px rgb(242 193 78 / .55), 0 10px 30px rgb(0 0 0 / .5); }
.achv__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3cf, var(--sig) 55%, #9b6b1d); color: var(--gabi); }
.achv__icon svg { width: 19px; height: 19px; }
.achv small { display: block; font: 600 10px/1 var(--s); font-stretch: 80%; letter-spacing: .18em; text-transform: uppercase; color: var(--sig); }
.achv b { display: block; margin-top: 3px; font: 800 19px/1 var(--g); letter-spacing: .04em; text-transform: uppercase; color: #fff; }

/* ---------------------------------------------------------------- rounds: plan A, B, C */
.etch { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: filter 1s ease; }
.is-lost .etch { filter: grayscale(.8) brightness(.62); }
.banner { position: absolute; z-index: 10; top: calc(var(--bar-h) + 18px); left: 0; right: 0; padding: 10px 0 12px; text-align: center; background: linear-gradient(90deg, transparent, rgb(10 2 5 / .86) 18%, rgb(10 2 5 / .86) 82%, transparent); border-top: 1px solid rgb(242 193 78 / .45); border-bottom: 1px solid rgb(242 193 78 / .45); }
.banner small { display: block; font: 700 12px/1 var(--s); font-stretch: 75%; letter-spacing: .32em; text-transform: uppercase; color: rgb(234 242 240 / .8); }
.banner b { display: block; margin-top: 4px; font: 900 48px/1 var(--g); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.objective { position: absolute; z-index: 10; top: calc(var(--bar-h) + 116px); left: 26px; right: 26px; text-align: center; font-size: 14.5px; line-height: 1.4; color: var(--hud); text-shadow: 0 1px 10px #000; }
.objective small { display: block; margin-bottom: 4px; font: 700 10.5px/1 var(--s); font-stretch: 75%; letter-spacing: .26em; text-transform: uppercase; color: var(--sig); }
.result { position: absolute; z-index: 12; top: 37%; left: 0; right: 0; text-align: center; }
.result b { display: inline-block; padding: 6px 24px 5px; font: 900 54px/1 var(--g); letter-spacing: .08em; text-transform: uppercase; }
.result small { display: block; margin-top: 10px; font-size: 14.5px; color: var(--hud); text-shadow: 0 1px 10px #000; }
.result--lost b { color: #E3E4E8; background: rgb(70 72 82 / .72); }
.result--won b { color: var(--gabi); background: var(--foil); background-size: 260% 100%; animation: foil 3s ease-in-out infinite alternate; box-shadow: 0 0 40px rgb(242 193 78 / .5); }
.stamp-date { font: 500 22px/1.1 var(--d) !important; color: var(--ginto-hi); margin-bottom: 6px; }
.crowd { position: absolute; z-index: 10; top: calc(var(--bar-h) + 176px); left: 26px; right: 26px; text-align: center; }
.crowd p { font: 700 10.5px/1 var(--s); font-stretch: 75%; letter-spacing: .26em; text-transform: uppercase; color: var(--hud); }
.crowd__row { display: flex; justify-content: center; gap: 5px; margin: 10px 0; }
.crowd__row svg { width: 25px; height: 25px; color: var(--hud); }
.crowd__meter { display: block; height: 5px; background: rgb(255 255 255 / .16); }
.crowd__meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--sig), #E8566F); transform-origin: 0 50%; }
#plan-b .result { top: 47%; }
.windshield { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.ws__frame { fill: #080104; opacity: .94; }
.ws__glow { stroke: var(--sig); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.ws__mirror { fill: #12040a; stroke: rgb(240 217 160 / .3); }
.ws__mirror-arm { stroke: #12040a; stroke-width: 6; }
.s-planc .copy--bottom { bottom: calc(var(--reply-h) + 12px); }

/* she said yes */
.s-yes .ring3d { position: absolute; z-index: 5; left: 0; top: 8%; width: 100%; height: 50%; max-width: none; }
.victory { position: absolute; z-index: 8; top: 30%; left: 0; right: 0; text-align: center; font: 900 clamp(56px, 20cqw, 92px)/1 var(--g); letter-spacing: .18em; text-transform: uppercase; color: var(--sig); text-shadow: 0 0 40px rgb(242 193 78 / .6); }
.copy--yes { bottom: calc(var(--reply-h) + 26px); text-align: center; }
.copy--yes p { margin: 0 auto; font-size: 16px; }
.yes { font: 500 clamp(46px, 14cqw, 66px)/1 var(--d); color: var(--ginto-hi); margin-bottom: 14px; }
.yes .wd { display: inline-block; white-space: nowrap; }
.yes .ch { display: inline-block; }

/* ---------------------------------------------------------------- now showing */
.s-film { background: #12030a; }
.velvet { position: absolute; inset: 0; background:
  radial-gradient(70% 45% at 50% 34%, rgb(255 220 170 / .2), transparent 70%),
  repeating-linear-gradient(90deg, rgb(0 0 0 / .32) 0 5px, rgb(255 255 255 / .025) 9px, rgb(0 0 0 / .32) 16px),
  linear-gradient(180deg, #4a0b19, #250510 60%, #0e0207); }
.now { position: absolute; z-index: 16; top: calc(var(--bar-h) + 22px); left: 0; right: 0; text-align: center; font: 700 12px/1 var(--s); font-stretch: 80%; letter-spacing: .36em; text-transform: uppercase; color: var(--ginto-hi); }
.now::before, .now::after { content: ""; display: block; height: 6px; margin: 8px auto; width: 70%; background: radial-gradient(circle, #fff3cf 0 1.6px, transparent 2.2px) 0 0 / 12px 6px repeat-x; animation: bulbs 1.2s steps(2) infinite; }
@keyframes bulbs { 50% { opacity: .45; } }
.screen { position: absolute; z-index: 16; top: calc(var(--bar-h) + 76px); left: 6%; right: 6%; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 2px rgb(240 217 160 / .55), 0 0 0 9px #0b0306, 0 0 70px rgb(255 214 160 / .28); }
.screen video { width: 100%; height: 100%; object-fit: cover; }
.film-t { position: absolute; z-index: 16; top: calc(var(--bar-h) + 98px + 88cqw * .5625); left: 0; right: 0; text-align: center; font: 500 clamp(34px, 10cqw, 46px)/1 var(--d); white-space: nowrap; color: var(--cream); text-shadow: 0 2px 16px #000; }
.s-film > .sticker { position: absolute; z-index: 16; top: calc(var(--bar-h) + 160px + 88cqw * .5625); left: 0; right: 0; margin: 0 auto; width: max-content; }

/* ---------------------------------------------------------------- little moments */
.s-moments { background: #000; }
.s-moments .gl, .s-moments .gl-still { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.s-moments.has-gl .gl-still { display: none; }
.m-cap { position: absolute; z-index: 18; top: calc(var(--bar-h) + 14px); left: 22px; right: 22px; font: 500 21px/1.2 var(--d); color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .7); }

/* ---------------------------------------------------------------- save the date */
.s-date { background: radial-gradient(110% 70% at 50% 30%, #5d0a1c 0%, #2c040c 70%, #14030a 100%); }
.guil--date { position: absolute; z-index: 2; top: calc(var(--bar-h) - 6px); left: 0; right: 0; margin: 0 auto; width: min(94cqw, 56cqh); aspect-ratio: 1; color: var(--ginto-hi); overflow: visible; }
.date-num { position: absolute; z-index: 3; top: calc(var(--bar-h) - 6px + min(94cqw, 56cqh) / 2); left: 0; right: 0; margin: 0 auto; width: max-content; transform: translateY(-52%); font: 600 min(36cqw, 22cqh)/1 var(--d); letter-spacing: -.02em; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgb(0 0 0 / .45)); }
.copy--date { bottom: calc(var(--reply-h) + 14px); text-align: center; }
.date-t { font: 500 29px/1.1 var(--d); color: var(--cream); }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 2px; }
.count div { padding: 9px 0 8px; border: 1px solid rgb(240 217 160 / .35); background: rgb(10 2 5 / .35); }
.count b { display: block; font: 500 28px/1 var(--d); font-variant-numeric: tabular-nums; color: var(--cream); }
.count span { display: block; margin-top: 4px; font-size: 11px; color: rgb(255 247 234 / .65); }
.copy--date .stickers { justify-content: center; }

/* ---------------------------------------------------------------- the map */
.s-map { background: #14040a; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.map__ground { fill: #1c050c; }
.map__lake { fill: #0b0207; }
.map__wave { fill: none; stroke: rgb(200 161 90 / .2); stroke-width: .6; }
.map__c { fill: none; stroke: rgb(220 180 110 / .34); stroke-width: .5; }
.map__c--idx { stroke: rgb(240 210 150 / .62); stroke-width: .9; }
.map__shore { fill: none; stroke: rgb(240 217 160 / .55); stroke-width: 1; }
.map__road-case { fill: none; stroke: #170409; stroke-width: 6; }
.map__road { fill: none; stroke: rgb(240 217 160 / .5); stroke-width: 1.6; }
.map__route { fill: none; stroke: var(--sig); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgb(242 193 78 / .8)); }
.map__lab { fill: rgb(240 217 160 / .7); font: 600 9px/1 var(--s); font-stretch: 80%; letter-spacing: .12em; text-transform: uppercase; }
.map__lab--water { font: 400 17px/1 var(--d); letter-spacing: .04em; text-transform: none; fill: rgb(240 217 160 / .55); text-anchor: middle; }
.map__lab--small { font-size: 7.5px; }
.map__lab--place { font: 400 11px/1 var(--d); letter-spacing: .02em; text-transform: none; fill: rgb(240 217 160 / .62); }
.map__lab--ridge { font-size: 8px; letter-spacing: .5em; fill: rgb(240 217 160 / .45); }
.map__glow { fill: url(#mapglow); }
.map__lab--road { font-size: 7px; fill: rgb(240 217 160 / .55); }
.map__pulse { fill: rgb(242 193 78 / .22); transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map__dot { fill: var(--sig); stroke: var(--gabi); stroke-width: 2; }
.map__pin-t { fill: #fff; font: 500 13px/1 var(--d); paint-order: stroke; stroke: #170409; stroke-width: 3px; }
.map__pin-s { fill: var(--sig); font: 650 9.5px/1 var(--s); paint-order: stroke; stroke: #170409; stroke-width: 3px; }
.map__compass circle { fill: none; stroke: rgb(240 217 160 / .5); stroke-width: .6; }
.map__needle { fill: rgb(240 217 160 / .8); }
.map__scale path { fill: none; stroke: rgb(240 217 160 / .7); stroke-width: 1; }
.copy--card { bottom: calc(var(--reply-h) + 14px); padding: 16px 16px 15px; border-radius: 16px; background: rgb(22 4 10 / .84); box-shadow: inset 0 0 0 1px rgb(240 217 160 / .22); backdrop-filter: blur(6px); text-shadow: none; }
.place { font: 500 26px/1.1 var(--d); color: var(--cream); }
.addr { font-size: 14px !important; color: rgb(255 247 234 / .75); margin-top: 4px !important; }
.time { font-size: 14.5px !important; margin-top: 8px !important; }
.time b { color: var(--ginto-hi); font-weight: 650; }
.copy--card .stickers { margin-top: 12px; }

/* ---------------------------------------------------------------- the programme */
.s-prog { --p: 0; color: var(--ink); }
.sky { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--sky1, #E9C79C), var(--sky2, #F6E2BF)); }
.sky__sun { position: absolute; width: 74px; height: 74px; border-radius: 50%; left: calc(6% + var(--p) * 74%); top: calc(16% + var(--p) * var(--p) * 58%); background: radial-gradient(circle, #fffbea 0 30%, #ffd987 60%, rgb(255 190 110 / 0) 72%); opacity: max(0, 1 - var(--p) * 1.35); }
.sky__moon { position: absolute; right: 12%; top: calc(34% - var(--p) * 20%); width: 46px; height: 46px; border-radius: 50%; background: #f6e6c4; box-shadow: 0 0 40px rgb(255 230 190 / .45); opacity: max(0, (var(--p) - .62) * 3); }
.sky__stars { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: max(0, (var(--p) - .58) * 2.6); }
.sky__ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: 24%; max-width: none; fill: rgb(40 10 18 / .9); }
.copy--prog { top: calc(var(--bar-h) + 16px); bottom: calc(var(--reply-h) + 6px); display: flex; flex-direction: column; text-shadow: none; transition: color 1s; }
.prog-win { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask: linear-gradient(#000 80%, transparent); mask: linear-gradient(#000 80%, transparent); }
.is-night .copy--prog { color: var(--cream); }
.copy--prog .title { color: inherit; }
.prog { list-style: none; padding: 0; margin-top: 8px; }
.prog li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 11px 12px; border-radius: 14px; opacity: .5; transition: opacity .5s, background .5s, transform .5s var(--ease); }
.prog b { font: 600 16px/1.3 var(--d); }
.prog span { font-size: 15px; line-height: 1.3; }
.prog small { display: block; margin-top: 2px; font-size: 12.5px; opacity: .78; }
.prog li.is-on { opacity: 1; background: rgb(255 255 255 / .42); transform: scale(1.02); box-shadow: 0 10px 26px -16px rgb(60 10 20 / .6); }
.is-night .prog li.is-on { background: rgb(0 0 0 / .32); box-shadow: inset 0 0 0 1px rgb(240 217 160 / .35); }
.prog li.is-past { opacity: .36; }

/* ---------------------------------------------------------------- what to wear */
.s-wear { background: radial-gradient(100% 60% at 50% 30%, #3a0812, #14030a 80%); }
.weaves { position: absolute; z-index: 2; top: calc(var(--bar-h) + 16px); left: 16px; right: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; perspective: 900px; }
.weaves canvas { width: 100%; aspect-ratio: 1.25; border-radius: 4px; box-shadow: 0 10px 24px -12px #000, inset 0 0 0 1px rgb(255 255 255 / .1); }
.weaves figcaption { margin-top: 6px; font-size: 11.5px; line-height: 1.2; text-align: center; color: rgb(255 247 234 / .82); }
.copy--wear { bottom: calc(var(--reply-h) + 14px); }
@container (max-height: 760px) { .weaves canvas { aspect-ratio: 1.6; } .weaves { gap: 9px 10px; } }

/* ---------------------------------------------------------------- our people: credits */
.s-credits { background: #0d0206; }
.credits { position: absolute; left: 0; right: 0; top: var(--bar-h); bottom: var(--reply-h); overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 10%, #000 86%, transparent); mask: linear-gradient(transparent, #000 10%, #000 86%, transparent); }
.credits__roll { padding: 0 26px; text-align: center; }
.credits__title { font: 500 42px/1 var(--d); color: var(--ginto-hi); }
.credits__lede { margin: 12px auto 44px; max-width: 28ch; font-size: 15px; color: rgb(255 247 234 / .78); }
.cr > div { margin-bottom: 30px; }
.cr dt { font-size: 12px; letter-spacing: .1em; color: var(--ginto); margin-bottom: 6px; }
.cr dd { font: 400 19px/1.4 var(--d); color: var(--cream); }
.cr__star dd { font-size: 27px; line-height: 1.25; }
.cr__pairs dd { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 15px; line-height: 1.35; margin-bottom: 6px; }
.cr__pairs dd span:first-child { text-align: right; }
.cr__pairs dd span:last-child { text-align: left; }
.credits__end { margin-top: 40px; font: 500 28px/1 var(--d); color: var(--ginto-hi); }

/* ---------------------------------------------------------------- RSVP */
.s-rsvp { background: radial-gradient(110% 70% at 50% 18%, #5d0a1c 0%, #2c040c 70%, #14030a 100%); }
.guil--rsvp { position: absolute; z-index: 1; top: -14cqw; right: -34cqw; width: 120cqw; aspect-ratio: 1; color: var(--ginto-hi); opacity: .3; }
.copy--scroll { position: absolute; z-index: 20; left: 0; right: 0; top: var(--bar-h); bottom: 0; padding: 10px 18px calc(env(safe-area-inset-bottom, 0px) + 30px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-user-select: text; user-select: text; text-shadow: none; }
.rsvp-t { font: 500 38px/1.05 var(--d); color: var(--cream); }
.rsvp-back { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px; padding: 9px 15px 9px 10px; border: 0; border-radius: 99px; background: rgb(255 247 234 / .12); box-shadow: inset 0 0 0 1.5px rgb(240 217 160 / .5); color: var(--cream); font: 600 14px/1 var(--s); }
.rsvp-back svg { width: 17px; height: 17px; }
.rsvp-back--bottom { display: flex; margin: 18px auto 4px; }
.copy--scroll .lede { margin-top: 6px; font-size: 15.5px; color: rgb(255 247 234 / .85); }
.copy--scroll .lede b { color: var(--ginto-hi); font-weight: 650; }
.card { margin-top: 16px; padding: 18px 16px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -24px #000; }
.card p { max-width: none; }
.lbl { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.help { margin-bottom: 10px; font-size: 13.5px !important; line-height: 1.45; color: var(--ink-2); }
.find__row { display: flex; gap: 8px; }
.inp { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 1.5px solid #DCC6BE; border-radius: 13px; background: #fff; color: var(--ink); font: 16px var(--s); }
.inp:focus { outline: none; border-color: var(--alak); box-shadow: 0 0 0 3px rgb(200 161 90 / .35); }
textarea.inp { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.4; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 18px; border: 0; border-radius: 13px; background: var(--alak); color: var(--cream); font: 650 15px/1 var(--s); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--alak); box-shadow: inset 0 0 0 1.5px var(--alak); }
.btn--big { width: 100%; height: 56px; font-size: 16px; margin-top: 8px; }
.btn--small { height: 42px; font-size: 14px; }
.btn:disabled { opacity: .55; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--alak); font: 600 14px var(--s); text-decoration: underline; text-underline-offset: 3px; }
.find__msg { min-height: 1.2em; margin-top: 10px; font-size: 14px !important; color: var(--alak); }
.find__q { margin: 12px 0 8px; font-weight: 650; }
.find__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.find__opt { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-size: 15px; text-align: left; }
.find__opt-seats { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.taken__t { font-size: 15.5px !important; margin-bottom: 8px; }
.taken__done { margin-top: 12px; font-size: 14px !important; color: var(--ink-2); }
.answer__for { margin-bottom: 4px; font-size: 14.5px !important; color: var(--ink-2); }
.answer__for b { color: var(--ink); }
.choice { border: 0; padding: 0; margin: 12px 0; }
.choice__opt { position: relative; display: block; margin-bottom: 8px; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choice__opt span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 15px; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice__opt b { display: block; font: 500 19px/1.2 var(--d); color: var(--ink); }
.choice__opt small { font-size: 13px; color: var(--ink-2); }
.choice__opt input:checked + span { border-color: var(--alak); background: #FBF0EE; box-shadow: inset 0 0 0 1px var(--alak); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--ginto); outline-offset: 2px; }
.answer[data-attending="no"] .answer__yes { display: none; }
.fld { margin-bottom: 12px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; }
.stepper .inp { flex: none; width: 66px; text-align: center; }
.err { margin: 4px 0 10px; font-size: 13.5px !important; color: #B3261E; }
.done { text-align: center; }
.done__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 7px 12px; border-radius: 999px; background: var(--alak); color: var(--ginto-hi); font: 800 19px/1 var(--g); letter-spacing: .12em; text-transform: uppercase; }
.done__badge svg { width: 20px; height: 20px; }
.done__t { margin: 14px 0 8px; font: 500 24px/1.2 var(--d); color: var(--ink); }
.done__no { display: none; }
.done.is-no .done__yes { display: none; }
.done.is-no .done__no { display: inline; }
.done__keep { margin: 12px 0; padding: 12px; border-radius: 13px; background: #F5EAE5; font-size: 14px; }
.done__keep p { margin-bottom: 8px; }
.row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 12px; }

/* ---------------------------------------------------------------- gifts: sobre */
.s-gifts { background: radial-gradient(100% 60% at 50% 30%, #5d0a1c, #22040c 75%); }
.s-gifts::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 30% at 50% 32%, rgb(255 214 150 / .16), transparent 70%); }
.sobres { position: absolute; z-index: 5; top: calc(var(--bar-h) + 7cqh); left: 0; right: 0; display: flex; justify-content: center; gap: 14px; padding: 0 14px; }
.sobre { position: relative; width: min(44cqw, 220px); aspect-ratio: 16 / 11.5; padding: 0; border: 0; background: none; perspective: 700px; margin-bottom: 52px; }
.sobre__back { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(170deg, #6b1427, #45091a); box-shadow: 0 22px 34px -16px rgb(0 0 0 / .85); }
.sobre__card { position: absolute; left: 7%; right: 7%; top: 8%; bottom: 10%; display: grid; place-content: center; gap: 4px; border-radius: 4px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), inset 0 0 0 5px var(--paper), inset 0 0 0 6px rgb(200 161 90 / .6); transition: transform .8s var(--ease) .2s; }
.sobre__card b { font: 500 19px/1 var(--d); color: var(--alak); }
.sobre__card small { font-size: 11px; color: var(--ink-2); }
.sobre__front { position: absolute; inset: 0; border-radius: 6px; background: var(--foil); background-size: 260% 100%; clip-path: polygon(0 34%, 50% 66%, 100% 34%, 100% 100%, 0 100%); }
.sobre__front::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(175deg, #7a1a2e, #4f0211 75%); clip-path: polygon(0 calc(34% + 3px), 50% calc(66% + 3px), 100% calc(34% + 3px), 100% 100%, 0 100%); }
.sobre__front::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 9%; height: 1px; background: rgb(240 217 160 / .5); box-shadow: 0 -4px 0 rgb(240 217 160 / .2); }
.sobre__flap { position: absolute; left: 0; right: 0; top: 0; height: 66%; z-index: 3; background: var(--foil); background-size: 260% 100%; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transition: transform .8s var(--ease); }
.sobre__flap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #8f2c41, #5e0b1d); clip-path: polygon(3px 0, calc(100% - 3px) 0, 50% calc(100% - 5px)); }
.sobre__flap::after { content: ""; position: absolute; inset: 0; clip-path: polygon(3px 0, calc(100% - 3px) 0, 50% calc(100% - 5px)); background: repeating-linear-gradient(135deg, rgb(240 217 160 / .1) 0 1px, transparent 1px 7px), repeating-linear-gradient(45deg, rgb(240 217 160 / .1) 0 1px, transparent 1px 7px); }
.sobre__seal { position: absolute; z-index: 4; left: 50%; top: 66%; width: 42px; height: 42px; margin: -26px 0 0 -21px; border-radius: 50%; box-shadow: 0 4px 10px rgb(0 0 0 / .45), inset 0 0 0 2px rgb(255 255 255 / .25), inset 0 0 0 5px rgb(120 80 30 / .25); transition: opacity .3s; }
.sobre__seal::after { content: ""; position: absolute; inset: 8px; background: #5e3f16; opacity: .6; -webkit-mask: url(../img/aa-mask.png) center / contain no-repeat; mask: url(../img/aa-mask.png) center / contain no-repeat; }
.sobre__tag { position: absolute; left: 0; right: 0; top: calc(100% + 12px); display: grid; gap: 2px; text-align: center; font-size: 12.5px; color: rgb(255 247 234 / .7); }
.sobre__tag b { font: 500 18px/1.1 var(--d); color: var(--cream); }
.is-peek .sobre { animation: bob 2.6s ease-in-out infinite; }
.is-peek .sobre:nth-child(2) { animation-delay: -1.3s; }
@keyframes bob { 50% { translate: 0 -6px; } }
.sobre.is-open { animation: none; }
.sobre.is-open .sobre__flap { transform: rotateX(178deg); z-index: 0; }
.sobre.is-open .sobre__seal { opacity: 0; }
.sobre.is-open .sobre__card { transform: translateY(-44%); }

/* ---------------------------------------------------------------- questions */
.s-faq { background: radial-gradient(110% 70% at 50% 80%, #4a0817, #14030a 75%); }
.guil--faq { position: absolute; z-index: 1; bottom: -30cqw; left: -40cqw; width: 130cqw; aspect-ratio: 1; color: var(--ginto-hi); opacity: .22; }
.copy--faq { top: calc(var(--bar-h) + 22px); }
.chips { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 11px 15px; border: 0; border-radius: 999px; background: rgb(255 247 234 / .1); color: var(--cream); font-size: 14.5px; line-height: 1.25; text-align: left; box-shadow: inset 0 0 0 1px rgb(240 217 160 / .42); backdrop-filter: blur(4px); }
.chips button:active { background: rgb(255 247 234 / .2); }

/* ---------------------------------------------------------------- forever */
.s-forever .etch { cursor: crosshair; }
.lantern-sky { position: absolute; inset: 0; z-index: 6; overflow: hidden; pointer-events: none; }
.lantern { position: absolute; left: 0; top: 0; width: 26px; height: 34px; pointer-events: none; }
.lantern i { position: absolute; inset: 0; border-radius: 40% 40% 30% 30% / 50% 50% 40% 40%; background: radial-gradient(circle at 50% 70%, #FFF3C4, #FFB45C 45%, #E06A2C 85%); box-shadow: 0 0 18px 5px rgb(255 170 80 / .5); }
.lantern b { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; width: max-content; max-width: 160px; text-align: center; font: 600 11px/1.2 var(--s); color: #FFE7BF; text-shadow: 0 1px 6px #000; }
.copy--forever { bottom: calc(var(--reply-h) + 10px); text-align: center; }
.copy--forever p { margin-left: auto; margin-right: auto; }
.forever { font: 500 clamp(42px, 12cqw, 56px)/1 var(--d); color: var(--ginto-hi); }
.forever span { display: block; margin-bottom: 4px; font-size: 20px; color: var(--cream); }
.baybayin { margin-top: 10px !important; font: 400 26px/1.2 'Noto Sans Tagalog', sans-serif !important; color: var(--ginto); }
.wish { margin-top: 14px; text-align: left; }
.wish .lbl { color: rgb(255 247 234 / .85); font-weight: 500; font-size: 13.5px; text-align: center; }
.wish .inp { height: 46px; background: rgb(255 247 234 / .1); border-color: rgb(240 217 160 / .45); color: var(--cream); }
.wish .inp::placeholder { color: rgb(255 247 234 / .5); }
.wish .btn { height: 46px; background: var(--foil); background-size: 260% 100%; color: var(--ink); }
.copy--forever .stickers { justify-content: center; }
.wakas { margin-top: 14px !important; font: 500 17px/1.3 var(--d) !important; color: var(--cream); }
.wakas small { display: block; margin-top: 2px; font: 400 12.5px var(--s); color: rgb(255 247 234 / .65); }
.studio { margin-top: 8px !important; font-size: 12px !important; color: rgb(255 247 234 / .55); }


/* ==========================================================================
   ILLUSTRATIONS (draw.js): engraved gold line work with rich fills
   ========================================================================== */
.dr-line { fill: none; stroke: var(--ginto-hi); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes sway { from { transform: rotate(-1.8deg); } to { transform: rotate(1.8deg); } }
@keyframes swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes flicker { 0%, 100% { opacity: .9; } 40% { opacity: .65; } 60% { opacity: 1; } }
@keyframes twinkle { to { opacity: .35; } }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 30% { opacity: .55; } 100% { opacity: 0; transform: translate(-14px, -10px) scale(1.4); } }

/* the clothes */
.outfits { position: absolute; z-index: 2; top: calc(var(--bar-h) + 4px); left: 0; right: 0; margin: 0 auto; width: min(100%, 96cqh); height: 41cqh; overflow: visible; --gown: #A9808A; --barong: #A48C78; }
.rail__rod { fill: none; stroke: var(--ginto-hi); stroke-width: 3; stroke-linecap: round; }
.rail__end { fill: var(--alak); stroke: var(--ginto-hi); stroke-width: 1.4; }
.rail__dot { fill: var(--ginto-hi); }
.garment { transform-box: view-box; animation: sway 4.6s ease-in-out infinite alternate; }
.garment--barong { transform-origin: 115px 30px; }
.garment--gown { transform-origin: 290px 30px; animation-duration: 5.4s; animation-delay: -2.4s; }
.hanger { stroke-width: 2.2; }
.barong { fill: var(--barong); }
.collar { stroke: rgb(240 217 160 / .8); stroke-width: .6; }
.undershirt { fill: rgb(255 255 255 / .1); }
.emb { fill: none; stroke: rgb(255 250 235 / .72); stroke-width: .75; stroke-linecap: round; }
.emb--thin { stroke-width: .5; opacity: .7; }
.emb--seam { stroke-dasharray: 1.6 1.4; stroke-width: .6; }
.emb-leaf { fill: rgb(255 250 235 / .45); }
.emb-fl ellipse { fill: rgb(255 250 235 / .82); }
.emb-fl circle, .stud, .bead { fill: var(--ginto-hi); }
.stud { stroke: rgb(0 0 0 / .3); stroke-width: .5; }
.outline { stroke: rgb(240 217 160 / .85); stroke-width: 1.1; }
.gown { fill: var(--gown); }
.fold { fill: none; stroke: rgb(0 0 0 / .24); stroke-width: .9; stroke-linecap: round; }
.ros ellipse { fill: rgb(255 250 235 / .55); }
.ros circle { fill: var(--ginto-hi); }
.sash { fill: rgb(0 0 0 / .26); stroke: var(--ginto-hi); stroke-width: .6; }
.sheen { mix-blend-mode: soft-light; pointer-events: none; }
.chips9 { position: absolute; z-index: 3; top: calc(var(--bar-h) + 41cqh + 14px); left: 0; right: 0; display: flex; justify-content: center; gap: 7px; padding: 0 12px; }
.chip9 { position: relative; width: 33px; height: 33px; flex: none; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: 0 0 0 1.5px rgb(255 247 234 / .28); transition: box-shadow .3s, transform .35s var(--ease); }
.chip9 canvas { width: 100%; height: 100%; border-radius: 50%; }
.chip9[aria-checked="true"] { transform: scale(1.16); box-shadow: 0 0 0 2px var(--gabi), 0 0 0 3.5px var(--ginto-hi); }
.chip9.is-tapped::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ginto-hi); animation: tapring .8s ease-out forwards; pointer-events: none; }
@keyframes tapring { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.7); } }
.chip9__name { position: absolute; z-index: 3; top: calc(var(--bar-h) + 41cqh + 60px); left: 0; right: 0; text-align: center; font: 500 18px/1.2 var(--d); color: var(--ginto-hi); }
.copy--wear { bottom: calc(var(--reply-h) + 12px); }
.copy--wear .title { font-size: 28px; margin-bottom: 6px; }
@container (max-height: 760px) { .copy--wear .small { display: none; } }

/* the road through the day */
.prog-road { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: calc(var(--reply-h) + 30cqh); max-width: none; }
.copy--prog { bottom: calc(var(--reply-h) + 21cqh); }
.hill--far { fill: rgb(70 26 34 / .5); }
.hill--near { fill: rgb(38 10 16 / .92); }
.trunk { fill: none; stroke: #250a0e; stroke-width: 2.4; stroke-linecap: round; }
.frond { fill: none; stroke: #33121a; stroke-width: 1.7; stroke-linecap: round; }
.bldg { fill: #2a0a12; stroke: var(--ginto-hi); stroke-width: .8; stroke-linejoin: round; }
.dwin { fill: #f6d79a; opacity: .35; transition: opacity 1s; }
.is-night .dwin { opacity: .95; }
.door { fill: #140306; stroke: var(--ginto-hi); stroke-width: .8; }
.bulb { fill: #ffe7b0; opacity: .3; }
.is-night .bulb, .s-round .bulb { opacity: 1; animation: twinkle 1.4s ease-in-out infinite alternate; }
.road { fill: #2a1416; }
.lane { fill: none; stroke: var(--ginto-hi); stroke-width: 1.2; stroke-dasharray: 8 8; }
.kerb { stroke-width: .8; opacity: .6; }
.jshadow { fill: rgb(0 0 0 / .35); }
.jroof { fill: var(--alak); stroke: var(--ginto-hi); stroke-width: .6; }
.jrack { fill: none; stroke: var(--ginto-hi); stroke-width: .7; }
.jbag { fill: #6F7A45; stroke: #2a0a12; stroke-width: .5; }
.jbag--b { fill: #A48C78; }
.jbody { fill: #EFE4DC; stroke: #2a0a12; stroke-width: .8; }
.jstripe { fill: var(--alak); }
.jstripe2 { fill: #6F7A45; }
.jchrome { fill: none; stroke: var(--ginto); stroke-width: 1; }
.jchrome-f, .jbumper { fill: var(--ginto); }
.jw { fill: #2a1418; stroke: var(--ginto); stroke-width: .6; transition: fill 1s; }
.is-night .jw { fill: #f3c876; }
.pax { fill: #140406; }
.horse { fill: var(--ginto-hi); stroke: #6b4a1e; stroke-width: .3; }
.grill { stroke: var(--ginto); stroke-width: .7; }
.hlight { fill: #fff3cf; }
.hglow { fill: url(#dr-glow); opacity: 0; transition: opacity 1s; }
.is-night .hglow { opacity: 1; }
.mudflap { fill: #140406; }
.wheel { transform-box: fill-box; transform-origin: center; }
.tire { fill: #140406; }
.rim { fill: none; stroke: var(--ginto-hi); stroke-width: 1.4; }
.spoke { stroke: var(--ginto-hi); stroke-width: .8; }
.hub { fill: var(--ginto-hi); }
.puff { fill: rgb(255 255 255 / .5); transform-box: fill-box; animation: puff 1.4s ease-out infinite; }
.puff:nth-child(2) { animation-delay: .45s; } .puff:nth-child(3) { animation-delay: .9s; }

/* plan A and B scenes */
.scene { position: absolute; z-index: 6; left: 0; right: 0; top: calc(var(--bar-h) + 154px); width: 100%; height: 27cqh; max-width: none; }
.wood { fill: #2a120a; }
.eave { fill: #170805; stroke: var(--ginto-hi); stroke-width: .6; }
.tile { fill: none; stroke: rgb(240 217 160 / .45); stroke-width: .7; }
.doorway { fill: #0e0405; }
.cloth { fill: var(--alak); stroke: var(--ginto-hi); stroke-width: .6; }
.noren { transform-box: fill-box; transform-origin: top center; animation: sway 3.4s ease-in-out infinite alternate; }
.crest ellipse { fill: var(--cream); }
.crest circle { fill: var(--ginto-hi); }
.crest-ring { fill: none; stroke: var(--cream); stroke-width: .8; }
.beam { stroke-width: 2.2; }
.plank { fill: #3a1a0e; stroke: var(--ginto-hi); stroke-width: .6; }
.warmwin { fill: url(#dr-warm); opacity: .85; }
.lattice { stroke: #2a120a; stroke-width: 1.6; }
.chochin { transform-box: view-box; animation: swing 2.8s ease-in-out infinite alternate; }
.chochin + .chochin, .chochin:nth-of-type(2) { animation-delay: -1.2s; }
.paper { fill: #f0b85e; stroke: #7a3a1a; stroke-width: .8; }
.rib { stroke: rgb(122 58 26 / .7); stroke-width: .6; }
.cap { fill: #1a0805; }
.lglow { fill: url(#dr-glow); animation: flicker 2.2s ease-in-out infinite; }
.pot { fill: #3a1a0e; stroke: var(--ginto-hi); stroke-width: .5; }
.stalk { fill: none; stroke: #6F7A45; stroke-width: 2.2; }
.node { stroke: #3F4A2A; stroke-width: 1; }
.leafb { fill: none; stroke: #A3AF8C; stroke-width: 1.6; stroke-linecap: round; }
.step { fill: #3a2a24; }
.walker { fill: #070102; stroke: var(--ginto-hi); stroke-width: .7; opacity: 0; }
.plaster { fill: #3a1814; }
.wire { stroke-width: .6; opacity: .6; }
.awn--a { fill: var(--alak); }
.awn--b { fill: #F3EBE6; }
.awn-edge { fill: none; stroke: var(--ginto-hi); stroke-width: .8; }
.cafewin { fill: url(#dr-warm); opacity: .9; }
.tables ellipse { fill: #3a1a0e; }
.guest { fill: #2a0d10; opacity: 0; }
.mullion { stroke: #2a120a; stroke-width: 2.4; }
.sill { fill: #2a120a; stroke: var(--ginto-hi); stroke-width: .6; }
.cup { fill: var(--cream); stroke: #2a0a12; stroke-width: .5; }
.steam { fill: none; stroke: rgb(255 255 255 / .65); stroke-width: 1; stroke-linecap: round; animation: steam 2.2s ease-in-out infinite; }
.board { fill: #1a1a16; stroke: var(--ginto-hi); stroke-width: .6; }
.chalk { stroke: rgb(255 255 255 / .55); stroke-width: 1; }
#plan-b .crowd { top: calc(var(--bar-h) + 160px + 27cqh); }
#plan-b .result { top: calc(var(--bar-h) + 194px + 27cqh); }
#plan-a .result { top: calc(var(--bar-h) + 162px + 27cqh); }

/* plan C: inside the car */
.dashboard { fill: #0a0204; }
.dashline { stroke-width: .8; opacity: .45; }
.vents rect { fill: #14060a; stroke: rgb(240 217 160 / .3); }
.vents path { stroke: rgb(240 217 160 / .25); }
.dials circle { fill: none; stroke: var(--sig); stroke-width: 1.4; opacity: .8; }
.dials path { stroke: var(--sig); stroke-width: 1.2; }
.wheel-rim { fill: none; stroke: #1c080c; stroke-width: 12; stroke-linecap: round; }
.head path, .head ellipse { fill: #050102; }
.head .hair { fill: none; stroke: #050102; stroke-width: 7; stroke-linecap: round; }
.head .rim-light { fill: none; stroke: rgb(255 230 180 / .55); stroke-width: 1.5; stroke-linecap: round; }
.ringbox .box { fill: #3a0a14; stroke: var(--ginto-hi); stroke-width: .8; }
.ringbox .lid { transform-box: fill-box; transform-origin: 50% 100%; }
.ringbox .gem { fill: #fff8e6; opacity: 0; }
.ringbox .glint { fill: url(#dr-glow); opacity: 0; }
.garland { transform-box: view-box; animation: swing 2.6s ease-in-out infinite alternate; }
.sampa ellipse { fill: #FFFDF6; stroke: #B9A07A; stroke-width: .4; }
.sampa circle { fill: #E7CF97; }
.gleaf { fill: #6F7A45; }
.tassel { fill: var(--ginto); }
.copy--planc { top: 34cqh; padding: 12px 14px; border-radius: 12px; background: rgb(8 1 4 / .55); backdrop-filter: blur(2px); text-shadow: 0 1px 8px #000; }
.mirror-arm { stroke: #12040a; stroke-width: 6; }
.mirror { fill: #12040a; stroke: rgb(240 217 160 / .4); stroke-width: 1; }
.mirror-glint { stroke: rgb(240 217 160 / .25); stroke-width: 1.4; stroke-linecap: round; }
.copy--planc p { font-size: 15.5px; }
.s-planc .result { top: calc(34cqh + 172px); }

/* cover garland, credits curtains, question icons */
.cover__garland { position: absolute; inset: -14%; width: 128%; height: 128%; max-width: none; overflow: visible; pointer-events: none; }
.g-tassel { transform-box: fill-box; transform-origin: top center; animation: sway 3s ease-in-out infinite alternate; }
.curtains { position: absolute; inset: 0; z-index: 25; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.velvet-d { fill: #4c0b1a; }
.cfold { fill: none; stroke: rgb(0 0 0 / .38); stroke-width: 3; }
.tie { fill: none; stroke: var(--ginto-hi); stroke-width: 3; stroke-linecap: round; }
.chips button { display: inline-flex; align-items: center; gap: 9px; }
.chips svg { width: 19px; height: 19px; flex: none; color: var(--ginto-hi); }

/* preview mode (?preview): for the couple */
.preview-chip { display: inline-block; margin-left: 7px; padding: 2px 7px 1px; border-radius: 99px; background: var(--sig); color: var(--gabi); font: 700 9.5px/1.4 var(--s); letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; text-shadow: none; }
.cover__preview { position: relative; max-width: 32ch; padding: 9px 14px; border-radius: 12px; background: rgb(242 193 78 / .14); box-shadow: inset 0 0 0 1px rgb(242 193 78 / .5); color: var(--ginto-hi); font-size: 13.5px; line-height: 1.4; }
.preview-note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgb(242 193 78 / .14); box-shadow: inset 0 0 0 1px rgb(242 193 78 / .45); color: var(--ginto-hi); font-size: 14px !important; }

/* ---------------------------------------------------------------- desktop: neighbours */
.peek { display: none; }
@media (min-width: 1000px) and (min-height: 560px) {
  .peek { display: block; position: relative; flex: none; height: min(60dvh, 560px); aspect-ratio: 9 / 16; margin: 0 clamp(20px, 4vw, 60px); padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; opacity: .42; filter: saturate(.75); transition: opacity .3s, transform .3s var(--ease); }
  .peek:hover { opacity: .7; transform: scale(1.02); }
  .peek[hidden] { display: block !important; visibility: hidden; }
  .peek__img { position: absolute; inset: 0; background: center / cover no-repeat; }
  .peek__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .75), transparent 55%); }
  .peek__t { position: absolute; left: 14px; right: 14px; bottom: 16px; font: 500 19px/1.15 var(--d); color: #fff; text-align: left; }
}

/* ---------------------------------------------------------------- the details sheet */
.more { position: fixed; inset: 0; z-index: 70; background: rgb(10 2 5 / .55); backdrop-filter: blur(3px); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.more.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.more__in { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px calc(env(safe-area-inset-bottom, 0px) + 34px); border-radius: 24px 24px 0 0; background: var(--paper); color: var(--ink); transform: translateY(100%); transition: transform .5s var(--ease); -webkit-user-select: text; user-select: text; }
.more.is-open .more__in { transform: none; }
@media (min-width: 760px) { .more__in { left: 50%; right: auto; width: min(600px, 100vw); margin-left: max(-300px, -50vw); } }
.more__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 12px; background: var(--paper); }
.more__head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #E2CFC8; }
.more__head h2 { font: 500 24px/1.15 var(--d); }
.x { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: #F1E4DE; color: var(--ink); font-size: 1.6rem; line-height: 1; }
.x svg { width: 20px; height: 20px; }
.more__sec { padding: 18px 0; border-top: 1px solid var(--line); }
.more__sec:first-of-type { border-top: 0; padding-top: 4px; }
.more__h { margin-bottom: 10px; font: 500 22px/1.15 var(--d); color: var(--ink); }
.more__sec h4 { margin: 12px 0 4px; font: 600 15px/1.3 var(--s); color: var(--ink); }
.more__sec p, .more__sec li { font-size: 15px; color: var(--ink-2); }
.more__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ess div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ess dt { font-size: 13.5px; font-weight: 650; color: var(--alak); }
.ess dd { font-size: 15px; color: var(--ink); }
.ess small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.ess__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.ess__links a, .more a { color: var(--alak); font-weight: 600; }
.toc { list-style: none; padding: 0; display: grid; gap: 6px; }
.toc button { width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; border: 0; border-radius: 12px; background: #F6ECE7; color: var(--ink); font: 500 17px/1.2 var(--d); text-align: left; }
.toc button span { flex: none; width: 92px; font: 600 12px/1.2 var(--s); color: var(--alak); }
.seg { display: flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 999px; background: #F3E7E2; width: fit-content; }
.seg button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 600 14px/1 var(--s); color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--alak); color: var(--cream); }
.way { margin-top: 12px; }
.way ol { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 8px; }
.way li { counter-increment: s; position: relative; padding-left: 32px; }
.way li::before { content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--alak); color: var(--cream); font: 700 12px/1 var(--s); }
.way b, .hotel b, .box b { color: var(--ink); }
.note { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #F6ECE7; font-size: 14px !important; }
.hotels { display: grid; gap: 10px; margin-top: 12px; }
.hotel { padding: 14px; border-radius: 14px; background: #F8EFEA; }
.hotel h4 { margin: 0 0 6px; font: 500 18px/1.2 var(--d); }
.hotel ul { list-style: none; padding: 0; display: grid; gap: 4px; margin-bottom: 8px; }
.hotel li { position: relative; padding-left: 12px; font-size: 14px; }
.hotel li::before { content: "·"; position: absolute; left: 1px; color: var(--alak); font-weight: 800; }
.box { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #F8EFEA; }
.box h4 { margin-top: 0; }
.qa { margin-top: 8px; border-radius: 14px; background: #F8EFEA; overflow: hidden; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 16px; cursor: pointer; list-style: none; font: 500 17px/1.3 var(--d); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 400 24px/1 var(--s); color: var(--alak); transition: transform .3s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { display: grid; gap: 8px; padding: 0 16px 14px; }
.qa__a ul { padding-left: 18px; display: grid; gap: 4px; }

/* ---------------------------------------------------------------- dialogs */
dialog { padding: 0; border: 0; color: inherit; }
dialog::backdrop { background: rgb(10 2 5 / .72); backdrop-filter: blur(3px); }
.cinema { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: rgb(8 2 4 / .96); display: none; place-items: center; }
.cinema[open] { display: grid; }
.cinema__video { width: min(1100px, 96vw); max-height: 84dvh; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; }
.cinema__x, .viewer__x { position: fixed; right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); }
.viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: transparent; display: none; place-items: center; }
.viewer[open] { display: grid; }
.viewer figure { display: grid; justify-items: center; gap: 12px; padding: 60px 12px 20px; }
.viewer__img { max-width: 94vw; max-height: 76dvh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 0 0 8px var(--paper), 0 30px 80px rgb(0 0 0 / .5); }
.viewer__cap { font: 400 19px/1.3 var(--d); color: var(--cream); text-align: center; text-shadow: 0 2px 10px #000; }
.viewer__prev, .viewer__next { position: fixed; top: 50%; margin-top: -21px; }
.viewer__prev { left: 10px; } .viewer__next { right: 10px; }
.qrbox { width: min(440px, 94vw); max-height: 94dvh; border-radius: 22px; background: var(--paper); color: var(--ink); overflow: auto; }
.qrbox__in { position: relative; padding: 22px 20px 20px; }
.qrbox__x { position: absolute; right: 12px; top: 12px; }
.give { display: grid; justify-items: center; gap: 12px; text-align: center; }
.give h3 { font: 500 24px/1 var(--d); color: var(--alak); }
.give .qr { width: min(300px, 76vw); height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.give figcaption { font-size: 14px; color: var(--ink-2); }
.give .link { color: var(--alak); font-weight: 650; }

/* ---------------------------------------------------------------- reduced motion, no JS */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition-duration: .01ms !important; }
html:not(.js) .cover { position: relative; min-height: 100vh; }
html:not(.js) .cover__ctas, html:not(.js) .bar, html:not(.js) .reply, html:not(.js) .peek, html:not(.js) .backdrop, html:not(.js) .grain, html:not(.js) .coach, html:not(.js) .capiz { display: none; }
html:not(.js) .stage { position: static; display: block; }
html:not(.js) .player { height: auto; container-type: normal; }
html:not(.js) .deck { position: static; }
html:not(.js) .story { position: relative; visibility: visible; min-height: 80vh; padding: 40px 0; }
html:not(.js) .story .copy { position: relative; left: auto; right: auto; bottom: auto; top: auto; margin: 0 22px; }
html:not(.js) .more { position: static; visibility: visible; opacity: 1; background: none; }
html:not(.js) .more__in { position: static; transform: none; max-height: none; }

/* short phones: keep the round results and the plan C caption clear of each other */
@container (max-height: 780px) {
  .scene { height: 24cqh; }
  #plan-a .result { top: calc(var(--bar-h) + 150px + 7cqh); }
  #plan-b .crowd { top: calc(var(--bar-h) + 156px + 24cqh); }
  #plan-b .result { top: calc(var(--bar-h) + 186px + 24cqh); }
  .copy--planc { top: 31cqh; }
  .copy--planc p { font-size: 14px; }
  .s-planc .result { top: auto; bottom: calc(var(--reply-h) + 27cqh); }
}
