/* Photo Strip (STAGING DRAFT 2026-11-14) — a vintage photo-booth layer over the gatefold engine (see strip.js). Everything is scoped
   to html.ps-on (set by strip.js only when art.ps.on), so no other design is touched. Zero AI imagery: the booth, the strip, the
   grain, the negative, the contact sheet and the map are code; Google Fonts (Bricolage Grotesque, Caveat — OFL). */
html.ps-on {
  --ps-big: 'Bricolage Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif; --ps-mono: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; /* fonts 2026-11-19: was Courier Prime (a 3rd family) */ --ps-hand: 'Caveat', 'Bradley Hand', cursive;
  --ps-bigv: 'wdth' 75, 'opsz' 96;
  /* Flash Red (default): warm paper, ink, flash red, amber date stamp */
  --ps-booth: #1b1a19; --ps-booth2: #262523; --ps-metal: #3a3835; --ps-sign: #e2412e; --ps-sign-d: #b92e20; --ps-sign-s: #9e2418; --ps-sign-t: #fff4e2;
  --ps-btn-a: #ff7a62; --ps-btn-b: #e2412e; --ps-btn-c: #9e2418; --ps-glow: rgba(226, 65, 46, .42);
  --ps-led: #f08a24; --ps-led-g: rgba(240, 138, 36, .8); --ps-cream: #f2eee6; --ps-print: #fbfaf6; --ps-film: #1c1b1a; --ps-film2: #2b2926; --ps-sheet: #141414;
  --ps-acc-t: var(--accent); --ps-acc-d: #9e2418; --ps-on-acc: #fff4e2; --ps-tone: none; --ps-tape: rgba(236, 226, 200, .78);
  --ps-map: color-mix(in srgb, var(--ink) 7%, var(--ps-print)); --ps-block: color-mix(in srgb, var(--ink) 13%, var(--ps-print)); --ps-water: color-mix(in srgb, var(--ink) 22%, var(--ps-print));
  --ps-road: var(--ps-print); --ps-road-o: color-mix(in srgb, var(--ink) 26%, transparent); --ps-ink-soft: color-mix(in srgb, var(--ink) 50%, transparent);
  --ps-rule: color-mix(in srgb, var(--ink) 88%, transparent);
}
html.ps-on[data-variant="pink"] { --ps-booth: #241519; --ps-booth2: #33212a; --ps-metal: #4a343b; --ps-sign: #d9385e; --ps-sign-d: #b32549; --ps-sign-s: #8e1a38; --ps-sign-t: #fff0f1;
  --ps-btn-a: #ff7e9c; --ps-btn-b: #d9385e; --ps-btn-c: #8e1a38; --ps-glow: rgba(217, 56, 94, .42); --ps-led: #f6a857; --ps-led-g: rgba(246, 168, 87, .8);
  --ps-cream: #fbe9ea; --ps-print: #fffafa; --ps-film: #211619; --ps-film2: #33242a; --ps-sheet: #1a1113; --ps-acc-d: #8e1a38; --ps-on-acc: #fff0f1; --ps-tape: rgba(255, 244, 232, .8); }
html.ps-on[data-variant="sepia"] { --ps-booth: #2a1d14; --ps-booth2: #3a2a1e; --ps-metal: #564330; --ps-sign: #c99a2e; --ps-sign-d: #a67a1c; --ps-sign-s: #7c5a12; --ps-sign-t: #fff6de;
  --ps-btn-a: #f0cf73; --ps-btn-b: #c99a2e; --ps-btn-c: #7c5a12; --ps-glow: rgba(201, 154, 46, .4); --ps-led: #f2bd58; --ps-led-g: rgba(242, 189, 88, .75);
  --ps-cream: #f1e6cf; --ps-print: #f8f0dc; --ps-film: #2a1d14; --ps-film2: #3c2b1e; --ps-sheet: #23180f; --ps-acc-t: #9a6f14; --ps-acc-d: #7c5a12; --ps-on-acc: #2a1d14;
  --ps-tone: sepia(.62) saturate(.9); --ps-tape: rgba(246, 232, 196, .8); }
html.ps-on[data-variant="cobalt"] { --ps-booth: #10141f; --ps-booth2: #1b2233; --ps-metal: #333c52; --ps-sign: #2547a8; --ps-sign-d: #1b3684; --ps-sign-s: #132862; --ps-sign-t: #f6f2e8;
  --ps-btn-a: #6f8fe6; --ps-btn-b: #2547a8; --ps-btn-c: #132862; --ps-glow: rgba(60, 100, 220, .45); --ps-led: #f0a23a; --ps-led-g: rgba(240, 162, 58, .8);
  --ps-cream: #f3efe6; --ps-film: #10141f; --ps-film2: #1e2536; --ps-sheet: #0d111a; --ps-acc-d: #132862; --ps-on-acc: #f6f2e8; }

/* ───────── the first screen ───────── */
html.ps-on .ps-hero .door, html.ps-on .ps-hero .shade, html.ps-on .ps-hero .hseam, html.ps-on .ps-hero .kseam, html.ps-on .ps-hero .scene-img { display: none !important; }
html.ps-on .ps-hero .scene { opacity: 0 !important; pointer-events: none; } /* the engine's names stay for screen readers; the layer draws them */
html.ps-on .ps-hero .scene-clip { border-radius: 0; background: var(--paper); }
html.ps-on .ps-hero .card::before { display: none; }
html.ps-on .ps-hero { background: var(--paper); }
html.ps-on, html.ps-on body { background: var(--paper); }
html.ps-on body.locked, html.ps-on:has(body.locked) { background: var(--ps-booth); }
.ps { position: absolute; inset: 0; overflow: hidden; z-index: 1; font-family: var(--ps-mono); font-weight: 500; color: var(--ink); }
.ps-paper, .ps-lo, .ps-hi, .ps-flash { position: absolute; inset: 0; }
.ps-paper { background: var(--paper); }
.ps-paper::before { content: ''; position: absolute; inset: 0; background: var(--ps-grainp, none); background-size: 96px; opacity: .26; pointer-events: none; }

/* — the booth — */
.ps-lo, .ps-hi { will-change: transform; }
.ps-lo { z-index: 1; background: var(--ps-booth); }
.ps-booth { transform-origin: 50% 0; }
.ps-hi { z-index: 3; pointer-events: none; }
.ps-hic { position: absolute; left: 0; right: 0; top: 0; height: var(--ps-slot, 60%); overflow: hidden; background: var(--ps-booth); }
.ps-hic .ps-booth { height: 100svh; }
.ps-lip { position: absolute; left: 50%; top: var(--ps-slot, 60%); width: calc(var(--ps-sw, 130px) + 26px); height: 12px; margin-left: calc((var(--ps-sw, 130px) + 26px) / -2);
  background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)); }
.ps-edge { position: absolute; left: 0; right: 0; top: 100%; height: 46px; background: linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, 0)); }
.ps-booth { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; color: var(--ps-cream);
  padding: calc(env(safe-area-inset-top) + clamp(40px, 8.4svh, 78px)) 0 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 6px), radial-gradient(120% 80% at 50% 18%, var(--ps-booth2), var(--ps-booth) 62%); }
/* a personal guest link ("Dear Anna & Mark" at the top, --gh-room on html.gh-on from common/rsvp.js): the booth steps down under it —
   the PHOTOS sign never sits behind the greeting (2026-11-17); a short screen then scales the booth (fit(): need > H) */
html.gh-on .ps-booth { padding-top: max(calc(env(safe-area-inset-top) + clamp(40px, 8.4svh, 78px)), calc(var(--gh-room, 0px) + 8px)); }
.ps-lo .ps-up { visibility: hidden; } .ps-lo .ps-up > * { display: none; }
.ps-sign { width: min(79.500%, 342px); flex: none; height: clamp(92px, 15.600svh, 132px); }
.ps-sg { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; height: 100%; padding: 10px 12px; border-radius: 8px;
  background: var(--ps-sign); box-shadow: inset 0 0 0 4px var(--ps-sign-d), 0 10px 30px var(--ps-glow); }
.ps-sg b { display: block; text-align: center; font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(54px, 9.300svh, 78px); line-height: .8; padding-top: .06em; color: var(--ps-sign-t); text-shadow: 0 3px 0 var(--ps-sign-s); white-space: nowrap; }
.ps-bulbs, .ps-brow, .ps-gl { display: flex; justify-content: space-between; align-items: center; }
.ps-bulbs, .ps-brow { position: relative; }
.ps-gl { position: absolute; inset: 0; pointer-events: none; }
.ps-bulbs i, .ps-brow i { width: 9px; height: 9px; border-radius: 50%; flex: none; position: relative; background: radial-gradient(circle at 40% 35%, #fffbe6, #ffd77a 45%, #e0a43c 80%); }
.ps-gl i { background: none; }
.ps-gl i::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 222, 140, .78), rgba(255, 214, 120, .3) 55%, rgba(255, 214, 120, 0)); }
.ps-gl i.o::after { display: none; }
.ps-hero:not(.ps-rest) .ps-hi .ps-gl { animation: psTwinkle 2.200s ease-in-out infinite; }
.ps-hero:not(.ps-rest) .ps-hi .ps-gl.b { animation-delay: -1.100s; }
@keyframes psTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: .38; } }
.ps-poses { margin-top: clamp(14px, 3.200svh, 30px); height: clamp(10.500px, 1.500svh, 12.500px); font: 500 clamp(10.500px, 1.500svh, 12.500px)/1 var(--ps-mono); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; padding-left: .3em; }
.ps-win { width: min(64%, 276px); margin-top: clamp(14px, 3.200svh, 30px); flex: none; height: calc(clamp(92px, 17.500svh, 170px) + 12px); padding: 6px; border-radius: 14px; background: var(--ps-booth2); }
.ps-glass { position: relative; height: 100%; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(6px, 1.400svh, 14px);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ps-booth2) 86%, #fff), #0d0d0c 62%); box-shadow: inset 0 0 0 3px var(--ps-metal), inset 0 10px 30px rgba(0, 0, 0, .6); }
.ps-glass::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .085) 38%, transparent 46%); pointer-events: none; }
.ps-wn { width: 86%; text-align: center; font-family: var(--ps-hand); font-weight: 700; font-size: clamp(30px, 6svh, 46px); line-height: .95; color: var(--ps-cream); opacity: .94; text-wrap: balance; }
.ps-wn i { font-style: normal; } .ps-wn span { display: inline-block; max-width: 100%; }
.ps-led { font: 500 clamp(13px, 2svh, 15px)/1 var(--ps-mono); letter-spacing: .3em; padding-left: .3em; color: var(--ps-led); text-shadow: 0 0 6px var(--ps-led-g); white-space: nowrap; }
.ps-slot { position: relative; flex: none; margin-top: clamp(16px, 3.800svh, 40px); width: calc(var(--ps-sw, 130px) + 62px); height: 20px; border-radius: 5px;
  background: linear-gradient(#d9d6d0, #8d8a85 50%, #c9c6c0); box-shadow: 0 2px 0 #000; }
.ps-slot i { position: absolute; left: 15px; right: 15px; top: 6px; height: 7px; border-radius: 3px; background: #050505; }
.ps-gap { flex: none; height: clamp(70px, 19svh, 150px); }
.ps-btn { flex: none; margin-top: clamp(10px, 2.200svh, 26px); }
.ps-btn i { display: flex; align-items: center; justify-content: center; width: clamp(62px, 10.400svh, 76px); aspect-ratio: 1; border-radius: 50%; font-style: normal;
  background: radial-gradient(circle at 40% 35%, var(--ps-btn-a), var(--ps-btn-b) 55%, var(--ps-btn-c)); box-shadow: 0 0 0 6px #2c2b29, 0 0 0 8px #4a4844, 0 0 26px 6px var(--ps-glow); }
.ps-btn span { font: 600 clamp(10.500px, 1.700svh, 12px)/1 var(--ps-mono); letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; color: var(--ps-sign-t); }
.ps-hintgap { flex: none; height: 40px; align-self: stretch; }
.ps-btn i::before { content: ''; position: absolute; }
.ps-hero:not(.untie) .ps-lo .ps-btn i { animation: psBreath 2.600s ease-in-out infinite; }
@keyframes psBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

/* the engine's hint: "TAP TO PRINT" in spaced typewriter caps under the button */
html.ps-on .ps-hero .hint { z-index: 6; top: var(--ps-hint, 88%); bottom: auto; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 6px 10px 6px calc(10px + .3em); white-space: nowrap;
  font: 500 12px/1 var(--ps-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ps-cream); -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: none; animation: none; }
html.ps-on .ps-hero .hint::before, html.ps-on .ps-hero .hint::after { display: none; }
html.ps-on .ps-hero .cue { --cue-ink: var(--ink); color: var(--ink); z-index: 6; }
html.ps-on .ps-hero .cue span { color: var(--ink); font-family: var(--ps-mono); font-size: 10px; letter-spacing: .3em; }

/* — the strip — */
.ps-fx { position: absolute; z-index: 2; left: var(--ps-sx, 30px); top: var(--ps-sy, 80px); width: var(--ps-sw, 130px); height: var(--ps-sh, 480px); will-change: transform; transform: translate3d(var(--ps-dx, 0), 0, 0); }
.ps-fy { position: absolute; inset: 0; will-change: transform; transform: translate3d(0, var(--ps-dy, 0), 0); }
.ps-wob { position: absolute; inset: 0; transform-origin: 50% 12%; will-change: transform; }
.ps-strip { position: absolute; inset: 0; background: var(--ps-print); padding: var(--ps-pad, 9px) var(--ps-pad, 9px) 0; display: flex; flex-direction: column; gap: var(--ps-gapS, 8px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 18px 30px -12px rgba(0, 0, 0, .42); }
.ps-f { position: relative; flex: none; height: var(--ps-fh, 100px); overflow: hidden; background: #1d1c1b; }
.ps-ph, .ps-cph { position: absolute; inset: 0; background-size: cover; background-position: 50% 36%; background-repeat: no-repeat; }
html.ps-on[data-variant="sepia"] .ps-ph, html.ps-on[data-variant="sepia"] .ps-cph { filter: grayscale(1) contrast(1.060) brightness(1.040) sepia(.62) saturate(.9); }
html.ps-on:not([data-variant="sepia"]) .ps-ph, html.ps-on:not([data-variant="sepia"]) .ps-cph { filter: grayscale(1) contrast(1.100) brightness(1.030); }
/* the photo sits INTO the strip paper: an inner shadow all round + film grain */
.ps-f::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), inset 0 2px 5px rgba(0, 0, 0, .5), inset 0 0 14px rgba(0, 0, 0, .28); }
.ps-f::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--ps-grain, none); background-size: 130px; mix-blend-mode: overlay; opacity: .3; }
.ps-dev { position: absolute; inset: 0; z-index: 1; opacity: 0; background: linear-gradient(180deg, #a9a59d, #8f8b84); }
.ps-cap { flex: none; height: calc(var(--ps-cap, 30px) - var(--ps-gapS, 8px)); display: flex; align-items: center; justify-content: center; font: 500 clamp(6px, calc(var(--ps-sw, 130px) * .058), 9.500px)/1 var(--ps-mono); letter-spacing: .12em; padding-left: .12em;
  text-transform: uppercase; white-space: nowrap; color: #161616; }
.ps-wob > .ps-tape { left: 50%; top: -13px; margin-left: -37px; transform: rotate(-4deg); opacity: 0; }
.ps-tape { position: absolute; width: 74px; height: 24px; background: var(--ps-tape); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
/* no photos: a typographic strip — the booth's dark curtain behind drawn frames */
.ps-f.typo { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 3px, rgba(0, 0, 0, .1) 3px 9px), linear-gradient(180deg, #2c2a28, #191817); }
.ps-tf { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ps-print); }
.ps-ti { font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); font-size: calc(var(--ps-fh, 100px) * .74); line-height: 1; text-transform: uppercase; padding-top: .04em; }
.ps-tf svg { width: 56%; height: 62%; fill: none; stroke: var(--ps-print); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ps-f.t-heart svg .ps-hd { fill: var(--accent); stroke: var(--accent); }
html.ps-on[data-variant="cobalt"] .ps-f.t-heart svg .ps-hd { fill: #5f83ea; stroke: #5f83ea; }
.ps-tf svg .ps-hs { stroke: rgba(255, 255, 255, .7); stroke-width: 4; }
.ps-td { display: flex; flex-direction: column; align-items: center; gap: 0; font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); font-size: calc(var(--ps-fh, 100px) * .285); line-height: .96; letter-spacing: .02em; }
.ps-td b:nth-child(2) { color: var(--ps-led); }

/* — the paper: the big words, the names, the date — */
.ps-col { position: absolute; left: var(--ps-cx, 190px); top: var(--ps-cy, 120px); width: var(--ps-cw, 180px); text-align: center; }
.ps-title { font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); text-transform: uppercase; letter-spacing: -.01em; line-height: .86; font-size: 88px; color: var(--accent); }
.ps-w { display: block; overflow: hidden; padding: .06em .04em .02em; margin: -.06em -.04em -.02em; }
.ps-w b { display: inline-block; font-weight: inherit; white-space: nowrap; will-change: transform; }
.ps-nm { position: relative; font-family: var(--ps-hand); font-weight: 700; font-size: 40px; line-height: 1; margin-top: .52em; color: var(--ink); }
.ps-nm i { font-style: normal; }
.ps-nm .ps-n1, .ps-nm .ps-n2 { white-space: nowrap; }
.ps-nm.two .ps-n1, .ps-nm.two .ps-n2 { display: block; }
.ps-wipe { display: inline-block; overflow: hidden; padding: .16em .1em .2em; margin: -.16em -.1em -.2em; vertical-align: top; max-width: calc(100% + .2em); }
.ps-wi { display: inline-block; white-space: nowrap; will-change: transform; }
.ps-sub { font: 500 clamp(9.500px, 2.900vw, 12px)/1.500 var(--ps-mono); letter-spacing: .16em; text-transform: uppercase; margin-top: 9px; text-wrap: balance; }
.ps-rule { display: block; width: 60px; height: 1.500px; background: var(--ink); margin: clamp(12px, 2.800svh, 26px) auto; }
.ps-date { font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); letter-spacing: .01em; line-height: .9; font-size: 44px; font-variant-numeric: lining-nums; }
.ps-date.words { font-size: 22px; line-height: 1.100; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; }
.ps-city { font: 500 clamp(10px, 3vw, 12px)/1.600 var(--ps-mono); letter-spacing: .16em; text-transform: uppercase; margin-top: 11px; text-wrap: balance; overflow-wrap: anywhere; }
.ps-foot { position: absolute; left: var(--ps-x0, 0); width: var(--ps-wc, 100%); bottom: calc(max(86px, 13svh) + env(safe-area-inset-bottom) * .5); text-align: center; padding: 0 22px; }
.ps-foot span { position: relative; display: inline-block; font: 500 clamp(9.500px, 2.700vw, 11px)/1.500 var(--ps-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--soft-ink, #55514a); text-wrap: balance; }
.ps-cta-hint { position: absolute; inset: 0; pointer-events: none; }
.ps-flash { z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(90% 70% at 50% 34%, #fff, #fffdf4 55%, #fff6dc); }

/* closed: the paper's words wait (every piece that will move is its own layer from the start: nothing is promoted mid-opening) */
.ps-hero:not(.ps-rest) .ps-wipe, .ps-hero:not(.ps-rest) .ps-rule, .ps-hero:not(.ps-rest) .ps-fd, .ps-hero:not(.ps-rest) .ps-wob > .ps-tape { will-change: transform, opacity; }
.ps-w b { transform: translateY(112%); }
.ps-wipe { transform: translateX(-102%); } .ps-wi { transform: translateX(102%); }
.ps-fd { opacity: 0; transform: translateY(9px); }
.ps-rule { opacity: 0; transform: scaleX(0); }

/* ───────── the tap: press → flash → the booth rises while the strip prints → frames develop → the strip settles → the words ───────── */
.ps-hero.untie .hint { opacity: 0; transition: opacity .25s ease; }
.ps-hero.untie .ps-btn i { animation: psPress .34s cubic-bezier(.3, .6, .3, 1) both; }
@keyframes psPress { 0% { transform: scale(1); } 32% { transform: scale(.9); } 100% { transform: scale(1); } }
.ps-hero.untie .ps-flash { animation: psFlash .62s cubic-bezier(.2, .6, .3, 1) .07s both; }
@keyframes psFlash { 0% { opacity: 0; } 14% { opacity: .96; } 30% { opacity: .7; } 100% { opacity: 0; } }
/* (the lift and the print 'end' long after they arrive — 46 % of 2.56 s = 1.18 s — so no layer is torn down while the strip still moves) */
.ps-hero.untie .ps-lo, .ps-hero.untie .ps-hi { animation: psLift 2.560s linear .24s both; }
@keyframes psLift { 0% { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(.5, 0, .18, 1); } 46%, 100% { transform: translate3d(0, var(--ps-lift, -110%), 0); } }
.ps-hero.untie .ps-fy { animation: psPrint 2.560s linear .24s both; }
@keyframes psPrint { 0% { transform: translate3d(0, var(--ps-dy, 0), 0); animation-timing-function: cubic-bezier(.42, 0, .2, 1); } 46%, 100% { transform: translate3d(0, 0, 0); } }
.ps-hero.untie .ps-fx { animation: psSide .82s cubic-bezier(.5, 0, .2, 1) .86s both; }
@keyframes psSide { to { transform: translate3d(0, 0, 0); } }
.ps-hero.untie .ps-wob { animation: psWob 1.700s cubic-bezier(.4, 0, .4, 1) .3s both; }
@keyframes psWob { 0% { transform: rotate(0); } 18% { transform: rotate(.9deg); } 40% { transform: rotate(-.75deg); } 62% { transform: rotate(.5deg); } 82% { transform: rotate(-.22deg); } 100% { transform: rotate(0); } }
.ps-hero.untie .ps-dev { animation: psSnap .1s linear .1s both, psDev 1.050s cubic-bezier(.4, 0, .5, 1) calc(.62s + (3 - var(--i)) * .15s) forwards; }
@keyframes psSnap { from { opacity: 0; } to { opacity: 1; } }
@keyframes psDev { from { opacity: 1; } to { opacity: 0; } }
.ps-hero.untie .ps-wob > .ps-tape { animation: psTape .36s cubic-bezier(.2, .8, .3, 1.200) 1.620s both; }
@keyframes psTape { from { opacity: 0; transform: rotate(-4deg) translateY(-10px) scale(1.150); } to { opacity: 1; transform: rotate(-4deg); } }
.ps-hero.untie .ps-w b { animation: psRoll .6s cubic-bezier(.2, .75, .2, 1) calc(1.280s + var(--k) * .1s) both; }
@keyframes psRoll { to { transform: translateY(0); } }
.ps-hero.untie .ps-wipe { animation: psWipeA .62s cubic-bezier(.45, .05, .35, 1) 1.660s both; }
.ps-hero.untie .ps-wi { animation: psWipeB .62s cubic-bezier(.45, .05, .35, 1) 1.660s both; }
@keyframes psWipeA { to { transform: translateX(0); } } @keyframes psWipeB { to { transform: translateX(0); } }
.ps-hero.untie .ps-fd { animation: psUp .55s ease-out calc(1.900s + var(--j) * .1s) both; }
@keyframes psUp { to { opacity: 1; transform: none; } }
.ps-hero.untie .ps-rule { animation: psRule .5s cubic-bezier(.3, .7, .2, 1) 1.960s both; }
@keyframes psRule { to { opacity: 1; transform: none; } }
/* the opened page: the booth is gone for good (no layers kept alive above the paper) */
.ps-hero.ps-rest .ps-lo, .ps-hero.ps-rest .ps-hi, .ps-hero.ps-rest .ps-flash { visibility: hidden; }

/* ?open / reduced motion: the finished first screen at once */
html.ps-now .ps-lo, html.ps-now .ps-hi, html.ps-now .ps-flash { display: none; }
html.ps-now .ps-fx, html.ps-now .ps-fy, html.ps-now .ps-wob, html.ps-now .ps-w b, html.ps-now .ps-wipe, html.ps-now .ps-wi, html.ps-now .ps-fd, html.ps-now .ps-rule { animation: none !important; transform: none; opacity: 1; }
html.ps-now .ps-dev { animation: none !important; opacity: 0; }
html.ps-now .ps-wob > .ps-tape { animation: none !important; opacity: 1; }

/* ───────── pages ───────── */
html.ps-on #content { position: relative; background: var(--paper); font-family: var(--ps-mono); font-weight: 500; color: var(--ink); }
html.ps-on #content::before { content: ''; position: absolute; inset: 0; background: var(--ps-grainp, none); background-size: 96px; opacity: .26; pointer-events: none; z-index: 0; }
html.ps-on #content > .sec { position: relative; z-index: 1; padding: 46px clamp(22px, 8.700vw, 34px) 44px; background: none; }
html.ps-on #content > .sec::before, html.ps-on #content > .sec::after { display: none; }
/* between two pages: three small booth lamps, centred (their own space — the paddings keep every text clear of them) */
html.ps-on #content > .sec + .sec::before { content: ''; display: block; position: absolute; left: 50%; top: -6px; width: 62px; height: 12px; margin-left: -31px; pointer-events: none;
  background: radial-gradient(circle at 6px 6px, #ffe9a8 0 2px, #e9b14a 2.600px 3.600px, rgba(233, 177, 74, .28) 4.200px 6px, transparent 6.400px),
    radial-gradient(circle at 31px 6px, #ffe9a8 0 2px, #e9b14a 2.600px 3.600px, rgba(233, 177, 74, .28) 4.200px 6px, transparent 6.400px),
    radial-gradient(circle at 56px 6px, #ffe9a8 0 2px, #e9b14a 2.600px 3.600px, rgba(233, 177, 74, .28) 4.200px 6px, transparent 6.400px); }
html.ps-on #content > .sec.note + .sec.note::before, html.ps-on #content > .foot::before { display: none; }
html.ps-on #content .kicker { font: 600 12px/1.400 var(--ps-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ps-acc-t); text-wrap: balance; }
html.ps-on #content h2.script, html.ps-on #content .kicker.ps-hk { font-family: var(--ps-big); font-style: normal; font-weight: 800; font-variation-settings: var(--ps-bigv); text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(46px, 16.900vw, 66px); line-height: .88; color: var(--ink); margin: 12px 0 0; text-wrap: balance; overflow-wrap: anywhere; padding-top: .04em; }
html.ps-on #content h2.script svg, html.ps-on #content h2.script canvas { display: none; }
html.ps-on #content p { font: 500 15px/1.620 var(--ps-mono); color: var(--ink); max-width: 330px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
html.ps-on #content .btn { border-radius: 4px; border: 1.500px solid var(--ink); background: none; color: var(--ink); font: 600 12.500px/1.200 var(--ps-mono); letter-spacing: .24em; text-transform: uppercase; padding: 15px 24px 14px calc(24px + .24em);
  box-shadow: none; min-height: 50px; text-shadow: none; }
html.ps-on #content .btn.fill { background: var(--accent); border-color: var(--accent); color: var(--ps-on-acc); box-shadow: 0 4px 0 var(--ps-acc-d); font-family: var(--ps-big); font-variation-settings: var(--ps-bigv); font-weight: 800; font-size: 23px; letter-spacing: 0;
  padding: 14px 30px 12px; }
html.ps-on #content .btn::before, html.ps-on #content .btn::after { display: none; }
html.ps-on #content .line-icons, html.ps-on #content .divider, html.ps-on #content .corner { display: none; }

/* a row of booth bulbs */
.ps-brow { width: min(100%, 250px); margin: 0 auto; }
.sec.vis .ps-brow .ps-gl { animation: psTwinkle 2.600s ease-in-out infinite; } .sec.vis .ps-brow .ps-gl.b { animation-delay: -1.300s; }

/* — the fine print — */
html.ps-on #content > .ps-inv { padding-top: 40px; }
html.ps-on .ps-inv .names-big, html.ps-on .ps-inv .dateline, html.ps-on .ps-inv .timeline-words { display: none; }
html.ps-on .ps-inv > p { margin-top: 22px; }
.ps-rows { max-width: 340px; margin: 28px auto 0; border-bottom: 1.500px solid var(--ps-rule); text-align: left; }
.ps-row { display: flex; align-items: baseline; gap: 10px; padding: 14px 0 13px; border-top: 1.500px solid var(--ps-rule); }
html.ps-on .ps-row[data-reveal] { transition-delay: calc(var(--r) * .07s); }
.ps-rk { width: 74px; flex: none; font: 600 12px/1.300 var(--ps-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ps-acc-t); overflow-wrap: anywhere; }
.ps-rv { flex: 1; min-width: 0; font-family: var(--ps-big); font-weight: 700; font-variation-settings: 'wdth' 85, 'opsz' 24; font-size: 21px; line-height: 1.150; overflow-wrap: anywhere; text-wrap: balance; }
.ps-rv small { display: block; font: 500 13px/1.400 var(--ps-mono); letter-spacing: .02em; margin-top: 5px; color: var(--soft-ink, #3d3a35); text-wrap: pretty; }
.ps-stamp { display: flex; justify-content: center; margin-top: 30px; }
html.ps-on .ps-stamp[data-reveal] { opacity: 1; transform: none; transition: none; }
.ps-st { position: relative; width: 122px; height: 122px; transform: rotate(-8deg) scale(1.700); opacity: 0; }
.ps-stamp.in .ps-st { animation: psStamp .5s cubic-bezier(.3, 1.250, .4, 1) .15s both; }
@keyframes psStamp { 0% { opacity: 0; transform: rotate(-22deg) scale(1.700); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
.ps-st svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--accent); }
.ps-st span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 22px/.95 var(--ps-hand); color: var(--ps-on-acc); padding: 0 22px; }

/* — the program: a film negative — */
html.ps-on .ps-sch ol.prog { position: relative; max-width: 300px; margin: 30px auto 0; padding: 16px 36px; border-radius: 3px; background-color: var(--ps-film); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .55);
  background-image: linear-gradient(var(--ps-cream), var(--ps-cream)), linear-gradient(var(--ps-cream), var(--ps-cream)); background-size: 0 0; display: flex; flex-direction: column; gap: 16px; }
html.ps-on .ps-sch ol.prog::before, html.ps-on .ps-sch ol.prog::after { content: ''; position: absolute; top: 10px; bottom: 10px; width: 14px; display: block; opacity: .9;
  background: repeating-linear-gradient(180deg, var(--ps-cream) 0 11px, transparent 11px 22px); border-radius: 2px;
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 11px, transparent 11px 22px); mask: repeating-linear-gradient(180deg, #000 0 11px, transparent 11px 22px); }
html.ps-on .ps-sch ol.prog::before { left: 10px; } html.ps-on .ps-sch ol.prog::after { right: 10px; }
html.ps-on .ps-sch ol.prog > li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; min-height: 158px; padding: 18px 14px 20px; border-radius: 3px;
  background: var(--ps-film2); box-shadow: inset 0 0 22px rgba(0, 0, 0, .6); border: 0; margin: 0; }
html.ps-on .ps-sch ol.prog > li::before, html.ps-on .ps-sch ol.prog > li::after { display: none; }
html.ps-on .ps-sch .pi { order: 0; width: auto; height: auto; margin: 0 0 8px; display: block; }
html.ps-on .ps-sch .pt { display: block; text-align: center; width: 100%; }
.ps-ic { width: 34px; height: 30px; fill: none; stroke: var(--ps-led); stroke-width: 1.600; stroke-linecap: round; stroke-linejoin: round; display: block; margin: 0 auto; }
html.ps-on .ps-sch .prog time { display: block; font: 500 11.500px/1.300 var(--ps-mono); font-style: normal; letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; color: var(--ps-led); }
html.ps-on .ps-sch .prog b { display: block; font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(30px, 10.300vw, 40px); line-height: .9;
  color: var(--ps-cream); margin-top: 9px; text-wrap: balance; overflow-wrap: anywhere; padding-top: .04em; }
html.ps-on .ps-sch .prog .pt span { display: block; font: 500 11.500px/1.450 var(--ps-mono); letter-spacing: .03em; color: color-mix(in srgb, var(--ps-cream) 82%, var(--ps-film2)); margin-top: 9px; text-wrap: balance; }
.ps-fn { position: absolute; right: -4px; bottom: 22px; font: 500 8.500px/1 var(--ps-mono); font-style: normal; letter-spacing: .1em; color: var(--ps-led); transform: rotate(-90deg); transform-origin: 50% 50%; width: 22px; text-align: center; }

/* — outtakes: the contact sheet — */
.ps-sheet { position: relative; max-width: 338px; margin: 30px auto 0; padding: 18px 14px 14px; border-radius: 3px; background: var(--ps-sheet); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .55); }
.ps-best { position: relative; }
html.ps-on .ps-cs { position: relative; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; transform: none; overflow: visible; }
html.ps-on .ps-cs[data-reveal] { transform: translateY(12px); } html.ps-on .ps-cs[data-reveal].in { transform: none; }
html.ps-on .ps-cs::before, html.ps-on .ps-cs::after { display: none; }
.ps-cs .ps-cph { position: relative; inset: auto; aspect-ratio: 1.240; display: block; }
.ps-cs.wide .ps-cph { aspect-ratio: 2.200; }
.ps-grid .ps-cs .ps-cph { aspect-ratio: .95; }
/* the print sits INTO the sheet: a thin light edge, an inner shadow, grain */
.ps-cs .ps-cph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 3px 8px rgba(0, 0, 0, .55), inset 0 0 20px rgba(0, 0, 0, .3); pointer-events: none; }
.ps-cs .ps-cph::before { content: ''; position: absolute; inset: 0; background: var(--ps-grain, none); background-size: 150px; mix-blend-mode: overlay; opacity: .3; pointer-events: none; }
.ps-cs figcaption { font: 500 9px/1 var(--ps-mono); letter-spacing: .2em; color: var(--ps-led); text-align: left; padding: 8px 0 0 2px; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 12px; }
.ps-grid .wide { grid-column: 1 / -1; }
.ps-edgeprint { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font: 500 9px/1 var(--ps-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ps-led); opacity: .8; white-space: nowrap; }
.ps-circ { position: absolute; left: -8px; top: -8px; width: calc(100% + 16px); height: calc(100% - 4px); overflow: visible; pointer-events: none; }
.ps-circ path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; opacity: .93; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.ps-on[data-variant="cobalt"] .ps-circ path { stroke: #4b72e6; }
.ps-best:has(.ps-cs.in) .ps-circ path { animation: psDraw 1.100s cubic-bezier(.5, 0, .3, 1) .55s both; }
@keyframes psDraw { to { stroke-dashoffset: 0; } }
.ps-note { margin-top: 16px; font: 700 30px/1 var(--ps-hand); color: var(--ps-acc-t); }
html.ps-on .ps-note[data-reveal] { opacity: 1; transform: none; transition: none; }
.ps-note.in .ps-wipe { animation: psWipeA .7s cubic-bezier(.45, .05, .35, 1) 1.250s both; }
.ps-note.in .ps-wi { animation: psWipeB .7s cubic-bezier(.45, .05, .35, 1) 1.250s both; }

/* — the countdown: the booth's window — */
html.ps-on .ps-cd .framed.plain { width: min(100%, 318px); padding: 16px 14px; border: 0; border-radius: 14px; background: var(--ps-booth); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .55), inset 0 0 0 2px var(--ps-booth2);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 6px); }
html.ps-on .ps-cd .framed.plain .framed-in { position: relative; margin: 14px 0; padding: 26px 14px 24px; border: 0; border-radius: 10px; color: var(--ps-cream);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ps-booth2) 86%, #fff), #0d0d0c 62%); box-shadow: inset 0 0 0 3px var(--ps-metal), inset 0 10px 30px rgba(0, 0, 0, .6); overflow: hidden; }
html.ps-on .ps-cd .framed-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .07) 38%, transparent 46%); pointer-events: none; }
html.ps-on #content .ps-cd .framed-in .kicker { color: var(--ps-cream); font-weight: 400; letter-spacing: .3em; font-size: 11px; opacity: .85; }
html.ps-on .ps-cd .cd-days b { font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv); font-size: min(30cqw, 84px); line-height: .86; color: var(--ps-led); text-shadow: 0 0 14px color-mix(in srgb, var(--ps-led-g) 55%, transparent); padding-top: .05em; }
html.ps-on .ps-cd .cd-days span, html.ps-on .ps-cd .cd-row span { font: 500 10.500px/1.200 var(--ps-mono); letter-spacing: .24em; color: color-mix(in srgb, var(--ps-cream) 80%, transparent); margin-top: 6px; }
html.ps-on .ps-cd .cd-row { margin-top: 2px; }
html.ps-on .ps-cd .cd-row b { font: 600 min(11cqw, 28px)/1 var(--ps-mono); color: var(--ps-led); text-shadow: 0 0 6px var(--ps-led-g); font-variant-numeric: tabular-nums; }
html.ps-on .ps-cd .cd-t { font: 700 23px/1.100 var(--ps-hand); color: var(--ps-cream); margin-top: 14px; letter-spacing: 0; text-transform: none; font-style: normal; }
html.ps-on .ps-cd .cd-past { font-family: var(--ps-hand) !important; font-weight: 700; color: var(--ps-led); text-shadow: 0 0 8px var(--ps-led-g); }
html.ps-on .ps-cd .cd-past-date { font-family: var(--ps-mono); color: var(--ps-cream); }

/* — the venue: a drawn map print, taped on — */
.ps-map { position: relative; display: block; width: min(100%, 318px); margin: 30px auto 6px; padding: 9px 9px 9px; background: var(--ps-print); box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 18px 30px -14px rgba(0, 0, 0, .42); text-decoration: none; }
.ps-mapin { position: relative; display: block; aspect-ratio: 320 / 210; overflow: hidden; }
.ps-mapin svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ps-mapin::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22), inset 0 2px 6px rgba(0, 0, 0, .3), inset 0 0 16px rgba(0, 0, 0, .14); pointer-events: none; }
.ps-mapin::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--ps-grain, none); background-size: 150px; mix-blend-mode: multiply; opacity: .28; pointer-events: none; }
.ps-map > .ps-tape { left: 50%; top: -12px; margin-left: -37px; transform: rotate(3deg); }
.ps-pin { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(-46px); opacity: 0; }
.ps-map.in .ps-pin { animation: psPin .62s cubic-bezier(.3, 0, .4, 1) .5s both; }
@keyframes psPin { 0% { opacity: 0; transform: translateY(-46px); } 30% { opacity: 1; } 68% { transform: translateY(0); } 82% { transform: translateY(-5px); } 100% { opacity: 1; transform: translateY(0); } }
html.ps-on .ps-ven .venue-name { font-family: var(--ps-big); font-weight: 800; font-variation-settings: 'wdth' 80, 'opsz' 48; font-size: clamp(25px, 7.700vw, 30px); letter-spacing: 0; line-height: 1.050; text-transform: none; margin-top: 26px; text-wrap: balance; overflow-wrap: anywhere; }
html.ps-on .ps-ven .addr { margin-top: 10px; }
html.ps-on .ps-ven .when { margin-top: 8px; font-weight: 700; font-size: 12.500px; letter-spacing: .1em; text-transform: uppercase; color: var(--ps-acc-t); }

/* — notes and the dress code: ticket stubs — */
html.ps-on #content .note-card { position: relative; max-width: 330px; padding: 30px 22px 28px; border: 0; outline: 0; border-radius: 4px; background: var(--ps-print); box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 16px 28px -16px rgba(0, 0, 0, .34);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
html.ps-on #content .note-card::before, html.ps-on #content .note-card::after { display: none; }
html.ps-on #content .note-card h2.script { font-size: clamp(32px, 10.800vw, 40px); margin-top: 10px; }
html.ps-on #content .note-card p { margin-top: 14px; font-size: 14.500px; }
html.ps-on #content > .sec.note { padding-top: 26px; padding-bottom: 30px; }
.ps-nic { display: flex; justify-content: center; }
.ps-nic .ps-ic { width: 44px; height: 39px; stroke: var(--ps-acc-t); stroke-width: 1.500; }
html.ps-on .dress-title { color: var(--ps-acc-t); font-family: var(--ps-big); font-weight: 700; font-variation-settings: 'wdth' 85, 'opsz' 24; font-size: 22px; letter-spacing: 0; text-transform: none; margin-top: 18px; text-wrap: balance; }
html.ps-on .sec.dress > .ps-nic { margin-bottom: 14px; }
html.ps-on .palette span { border-radius: 50%; transform: none; width: 34px; height: 34px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), inset 0 2px 4px rgba(0, 0, 0, .18); }

/* — the RSVP — */
html.ps-on .ps-rs .seal { display: none; }
html.ps-on .ps-rs > p { margin-top: 18px; }
.ps-cam { width: 120px; margin: 0 auto 10px; }
.ps-cam svg { display: block; width: 100%; overflow: visible; }
.ps-cb { fill: var(--ink); } .ps-cl { fill: var(--paper); } .ps-cl2 { fill: var(--ink); } .ps-cf { fill: var(--ps-led); } .ps-cd { fill: var(--accent); }
html.ps-on[data-variant="sepia"] .ps-cd, html.ps-on[data-variant="cobalt"] .ps-cd { fill: var(--ps-led); }
.ps-rays line { stroke: var(--ps-acc-t); stroke-width: 2.600; stroke-linecap: round; opacity: 0; }
.ps-cam.in .ps-rays line { animation: psRay 1.300s ease-out calc(.45s + var(--q) * .02s) both; }
@keyframes psRay { 0% { opacity: 0; } 12% { opacity: 1; } 45% { opacity: 1; } 100% { opacity: .55; } }
html.ps-on #content .ps-hand { font: 700 24px/1.100 var(--ps-hand); color: var(--soft-ink, #55514a); margin-top: 26px; }

/* — the end of the roll — */
html.ps-on #content > .foot { padding-top: 34px; }
.ps-end { margin: 0 auto 30px; }
.ps-endk { font: 600 11px/1 var(--ps-mono); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: var(--ps-acc-t); margin-bottom: 14px; }
.ps-leader { position: relative; margin: 0 calc(clamp(22px, 8.700vw, 34px) * -1) 18px; padding: 15px 0; background: var(--ps-film); overflow: hidden; box-shadow: 0 14px 26px -16px rgba(0, 0, 0, .5); }
.ps-leader::before, .ps-leader::after { content: ''; position: absolute; left: 0; right: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--ps-cream) 0 9px, transparent 9px 20px); opacity: .9; }
.ps-leader::before { top: 4px; } .ps-leader::after { bottom: 4px; }
.ps-lf { display: flex; justify-content: center; gap: 6px; padding: 0 8px; }
.ps-lf span { flex: 0 1 auto; min-width: 0; padding: 12px clamp(7px, 2.400vw, 12px) 10px; border-radius: 2px; background: var(--ps-film2); box-shadow: inset 0 0 12px rgba(0, 0, 0, .55); font-family: var(--ps-big); font-weight: 800; font-variation-settings: var(--ps-bigv);
  text-transform: uppercase; font-size: clamp(19px, 6.400vw, 27px); line-height: 1; color: var(--ps-cream); white-space: nowrap; }
.ps-lf span.h { color: var(--ps-led); font-family: var(--ps-mono); font-weight: 500; }
html.ps-on .ps-end[data-reveal] { opacity: 1; transform: none; transition: none; }
.ps-end .ps-lf { transform: translateX(46%); opacity: 0; }
.ps-end.in .ps-lf { animation: psReel 1.200s cubic-bezier(.2, .7, .2, 1) .1s both; }
@keyframes psReel { to { transform: none; opacity: 1; } }
html.ps-on #content > .foot .sig { font: 700 clamp(26px, 8.200vw, 32px)/1.100 var(--ps-hand); color: var(--ink); text-wrap: balance; }

/* — light specks in the page margins — */
.ps-amb { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ps-amb i { position: absolute; width: 7px; height: 7px; left: calc(2px + var(--a) * 1.300px); top: calc(6% + var(--a) * 11.700%); opacity: 0; background: var(--ps-led);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: psSpeck 9s ease-in-out infinite; animation-delay: calc(var(--a) * -2.300s); }
.ps-amb i:nth-child(even) { left: auto; right: calc(3px + var(--a) * 1.100px); background: var(--accent); width: 6px; height: 6px; }
@keyframes psSpeck { 0% { opacity: 0; transform: translateY(26px) scale(.6) rotate(0); } 30% { opacity: .5; } 60% { opacity: .32; } 100% { opacity: 0; transform: translateY(-54px) scale(1) rotate(50deg); } }
body.locked .ps-amb i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ps-gl, .ps-btn i, .ps-amb i { animation: none !important; }
  .ps-circ path { stroke-dashoffset: 0; } .ps-st { opacity: 1; transform: rotate(-8deg); } .ps-pin { opacity: 1; transform: none; } .ps-rays line { opacity: .7; } .ps-end .ps-lf { transform: none; opacity: 1; }
  .ps-note .ps-wipe, .ps-note .ps-wi { transform: none; }
}
/* owner QA 2026-11-29 H-1: very long names wrap inside the column / the booth window instead of running off the screen */
.ps-nm.wrap .ps-wi, .ps-nm.wrap .ps-n1, .ps-nm.wrap .ps-n2 { white-space: normal; text-wrap: balance; overflow-wrap: anywhere; }
.ps-nm.wrap .ps-n1, .ps-nm.wrap .ps-n2 { display: block; }
.ps-wn.wrap, .ps-wn.wrap * { white-space: normal; text-wrap: balance; overflow-wrap: anywhere; }

/* owner QA round 3 (2026-12-01) R3-2: English + Spanish — the hint takes two centred lines (and the booth leaves room for them) */
html.ps-bi .ps-hintgap { height: 62px; }
html.ps-on.ps-bi .ps-hero .hint { white-space: normal; width: min(86vw, 340px); left: 50%; transform: translateX(-50%); text-align: center; line-height: 1.55; }
