/* home page (Motion) */

/* =========================================================
   HERO — constellation of real cards in depth
   ========================================================= */
.hero { position: relative; min-height: 600px; height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: clip; view-timeline: --hero block; }
.hero::before { /* warm light */
  content: ""; position: absolute; inset: -10% -10% auto auto; width: 70vw; height: 90vh; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227,196,126,.38), rgba(227,196,126,0) 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(24px, 3vw, 56px); align-items: center; padding-block: 16px; }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.hero-copy .h-xl { margin-top: 18px; font-size: min(clamp(2.35rem, 1.1rem + 4.6vw, 5.1rem), 10.4svh); }
.hero-copy .h-xl { text-wrap: wrap; }
.hero-copy .h-xl .line { display: block; }
.hero-copy .lede { margin-top: 22px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.hero-simchas { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-simchas .label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.hero-simchas .chip-rail { flex-wrap: wrap; }
.lede .short { display: none; }

/* entrance: words of the headline rise in */
.js .hero-copy .h-xl .line { opacity: 0; translate: 0 .35em; animation: rise 900ms var(--ease-out) forwards; }
.js .hero-copy .h-xl .line:nth-child(2) { animation-delay: 110ms; }
.js .hero-copy .h-xl .line:nth-child(3) { animation-delay: 220ms; }
.js .hero-copy .lede, .js .hero-actions, .js .hero-simchas { opacity: 0; translate: 0 14px; animation: rise 800ms var(--ease-out) forwards; }
.js .hero-copy .lede { animation-delay: 260ms; }
.js .hero-actions { animation-delay: 340ms; }
.js .hero-simchas { animation-delay: 420ms; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

.hero-stage { position: relative; display: grid; place-items: center; height: min(calc(100svh - var(--header-h) - 32px), 820px); }
.constellation {
  --mx: 0; --my: 0;
  position: relative; width: min(100%, calc(100svh - var(--header-h) - 32px), 800px); aspect-ratio: 1; container-type: size;
  perspective: 1700px;
}
.cons-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--mx) * 7deg)) rotateX(calc(var(--my) * -5deg)); transition: transform 900ms var(--ease-out); }
.cons-glow { position: absolute; left: 50%; top: 54%; width: 86cqw; height: 30cqw; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(21,17,12,.20), rgba(21,17,12,0)); filter: blur(6px); transform: rotateX(78deg) translateZ(-60px); }
.hc {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  translate: -50% -50%; transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--sx) * var(--h) * 1cqw), calc(var(--sy) * var(--h) * 1cqw), calc(var(--z) - var(--h) * 120px))
    rotateY(calc(var(--ry) + var(--h) * var(--ry) * .6)) rotateX(var(--rx, 0deg)) rotateZ(var(--rz, 0deg));
  border-radius: 10px;
}
.hc-float { position: relative; display: block; border-radius: 10px; transition: transform 600ms var(--ease-spring); animation: float var(--fd, 7s) var(--ease-in-out) infinite alternate; animation-delay: var(--fdl, 0s); }
.hc img { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; border-radius: 10px; box-shadow: var(--shadow-lift); background: var(--sand); transition: box-shadow 600ms var(--ease-out); }
.hc:hover .hc-float, .hc:focus-visible .hc-float { transform: translateZ(40px) scale(1.035); }
.hc:hover img, .hc:focus-visible img { box-shadow: 0 30px 60px -20px rgba(21,17,12,.5), 0 80px 120px -40px rgba(21,17,12,.4); }
.hc::after { content: ""; position: absolute; inset: 0; border-radius: 10px; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.0) 40%, rgba(255,255,255,.22) 52%, rgba(255,255,255,0) 64%); background-size: 260% 100%; animation: sheen 9s var(--ease-in-out) infinite; animation-delay: var(--fdl, 0s); }
@keyframes float { from { translate: 0 -1.1cqw; } to { translate: 0 1.1cqw; } }
@keyframes sheen { 0%, 60% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
.hc-label { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--muted); opacity: 0; transition: opacity var(--d-mid); }
.hc:hover .hc-label, .hc:focus-visible .hc-label { opacity: 1; }

/* a live "typing" field floating in front of the main card */
.hero-type {
  position: absolute; left: 50%; top: 79%; z-index: 9; translate: -50% 0;
  display: flex; align-items: center; gap: 12px; direction: rtl; white-space: nowrap;
  padding: 10px 14px 10px 12px; border-radius: 16px; background: rgba(255,253,248,.96);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 24px 40px -18px rgba(21,17,12,.45), 0 2px 0 rgba(255,255,255,.7) inset;
  transform: translate3d(calc(var(--h) * -6cqw), calc(var(--h) * 10cqw), 180px) rotateY(-8deg);
}
.ht-k { font-family: var(--f-he); font-weight: 700; font-size: 14px; color: var(--muted); }
.ht-v { position: relative; display: inline-block; min-width: 6.4em; height: 40px; line-height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--gold); box-shadow: 0 0 0 4px rgba(201,160,78,.16); font-family: var(--f-he); font-weight: 500; font-size: 1.3rem; color: var(--ink); text-align: right; background: #fff; }
.ht-w { position: relative; display: inline-block; }
.ht-tx { display: inline-block; clip-path: inset(-20% 0 -20% 100%); animation: htType 7.5s infinite; }
.ht-caret { position: absolute; top: 9px; bottom: 9px; width: 2px; margin-right: -2px; border-radius: 2px; background: var(--gold); right: 0; animation: htCaret 7.5s infinite; }
.ht-live { direction: ltr; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.ht-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3FA36B; box-shadow: 0 0 0 3px rgba(63,163,107,.18); }
@keyframes htType {
  0%, 8% { clip-path: inset(-20% 0 -20% 100%); animation-timing-function: steps(7, end); }
  40%, 86% { clip-path: inset(-20% 0 -20% 0); }
  92%, 100% { clip-path: inset(-20% 0 -20% 100%); }
}
@keyframes htCaret {
  0%, 8% { right: 0; opacity: 1; animation-timing-function: steps(7, end); }
  40% { right: 100%; opacity: 1; }
  44%, 48%, 52%, 56%, 60%, 64%, 68%, 72%, 76%, 80%, 84% { opacity: 1; }
  46%, 50%, 54%, 58%, 62%, 66%, 70%, 74%, 78%, 82% { opacity: 0; }
  86% { right: 100%; opacity: 1; }
  92%, 100% { right: 0; opacity: 1; }
}

/* card placements (cqw of a square stage) */
.hc1 { --x: 50%; --y: 49%; --w: 41cqw; --z: 0px;     --ry: -13deg; --rx: 4deg;  --sx: 0;   --sy: 14;  --fd: 7.5s; z-index: 5; }
.hc2 { --x: 19%; --y: 33%; --w: 31cqw; --z: -170px;  --ry: 22deg;  --rz: -4deg; --sx: -18; --sy: -6; --fd: 8.5s; --fdl: -2s; z-index: 2; }
.hc3 { --x: 82%; --y: 31%; --w: 30cqw; --z: -210px;  --ry: -26deg; --rz: 5deg;  --sx: 18;  --sy: -8; --fd: 9s;   --fdl: -4s; z-index: 1; }
.hc4 { --x: 16%; --y: 76%; --w: 24cqw; --z: 110px;   --ry: 16deg;  --rz: -8deg; --sx: -16; --sy: 10; --fd: 6.5s; --fdl: -1s; z-index: 6; }
.hc5 { --x: 85%; --y: 75%; --w: 23cqw; --z: 80px;    --ry: -18deg; --rz: 7deg;  --sx: 16;  --sy: 12; --fd: 7s;   --fdl: -3s; z-index: 6; }

/* hero exit (scroll-driven): the constellation opens as you scroll into the story */
@supports (animation-timeline: view()) {
  html:not(.no-sda) .hero { animation: h-run linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
}
@keyframes h-run { from { --h: 0; } to { --h: 1; } }
.hero-copy { opacity: calc(1 - var(--h) * 1.4); translate: 0 calc(var(--h) * -40px); }

.scroll-cue { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); z-index: 3; }
.scroll-cue i { width: 1.5px; height: 34px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
.scroll-cue { opacity: calc(1 - var(--h) * 4); }

@media (max-width: 900px) {
  .hero { height: auto; min-height: calc(100svh - var(--header-h)); align-items: stretch; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 4px 18px; align-content: start; }
  .hero-grid > * { min-width: 0; }
  .hero-stage { order: -1; height: auto; }
  .constellation { width: 100%; aspect-ratio: auto; height: clamp(270px, 54svh, 460px); }
  .hc4, .hc5 { display: none; }
  .hc1 { --x: 50%; --y: 50%; --w: 64cqw; --ry: -9deg; --rx: 4deg; --sy: 6; }
  .hc2 { --x: 15%; --y: 47%; --w: 44cqw; --z: -150px; --ry: 26deg; --rz: -5deg; --sx: -12; --sy: -4; }
  .hc3 { --x: 85%; --y: 47%; --w: 44cqw; --z: -170px; --ry: -28deg; --rz: 5deg; --sx: 12; --sy: -4; }
  .hc-label { display: none; }
  .hero-type { top: 80%; padding: 7px 10px 7px 9px; gap: 9px; border-radius: 13px; transform: translateZ(180px); }
  .ht-v { height: 34px; line-height: 34px; font-size: 1.1rem; }
  .ht-caret { top: 7px; bottom: 7px; }
  .ht-v { min-width: 5.6em; }
  .ht-live { display: none; }
  .hero-copy { max-width: none; }
  .hero-copy .h-xl { margin-top: 4px; font-size: clamp(2.05rem, 8.6vw, 2.7rem); }
  .hero-copy .h-xl .line:nth-child(2), .hero-copy .h-xl .line:nth-child(3) { display: inline-block; }
  .hero-copy .h-xl .line:nth-child(2) { white-space: pre; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy .lede { margin-top: 12px; font-size: .98rem; }
  .lede .long { display: none; }
  .lede .short { display: inline; }
  .hero-actions { margin-top: 18px; gap: 14px 20px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link { display: none; }
  .hero-simchas { margin-top: 16px; padding-top: 0; border-top: 0; }
  .hero-simchas .label { display: none; }
  .hero-simchas .chip-rail { flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .scroll-cue { display: none; }
}
@media (max-width: 900px) and (min-width: 600px) {
  .constellation { height: min(48svh, 460px); }
}

/* short desktop screens (laptops at 720-780px tall): tighten the hero so everything stays on the first screen */
@media (min-width: 901px) and (max-height: 800px) {
  .hero-copy .eyebrow { display: none; }
  .hero-copy .h-xl { margin-top: 0; }
  .hero-copy .lede { margin-top: 16px; font-size: 1rem; }
  .hero-actions { margin-top: 22px; }
  .hero-simchas { margin-top: 22px; padding-top: 0; border-top: 0; }
  .hero-simchas .label { display: none; }
  .hero-simchas .chip-rail { flex-wrap: nowrap; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .scroll-cue { display: none; }
}

/* =========================================================
   STORY — pinned, scroll-scrubbed (one --p from 0 to 1)
   ========================================================= */
.story { position: relative; height: 400vh; height: 400svh; view-timeline: --story block; view-timeline-inset: var(--header-h) 0px; background: var(--ink); }
@supports (animation-timeline: view()) {
  html:not(.no-sda) .story { animation: p-run linear both, e-run linear both; animation-timeline: --story, --story; animation-range: contain 0% contain 100%, entry 0% entry 100%; }
}
@keyframes p-run { from { --p: 0; } to { --p: 1; } }
@keyframes e-run { from { --e: 0; } to { --e: 1; } }

.story-pin {
  position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; isolation: isolate;
  /* chapter clocks derived from --p */
  --c1: clamp(0, (var(--e) - .25) / .75, 1);
  --e1: calc(var(--c1) * var(--c1) * (3 - 2 * var(--c1)));
  --dk: 1;
  --lit: clamp(0, var(--p) / .08, 1);
  --pn: clamp(0, (var(--p) - .10) / .04, 1);
  --clr: clamp(0, (var(--p) - .11) / .03, 1);
  --pf: clamp(0, (var(--p) - .44) / .03, 1);
  --dp: clamp(0, (var(--p) - .47) / .02, 1);
  --po: clamp(0, (var(--p) - .70) / .035, 1);
  --fr: clamp(0, (var(--p) - .705) / .075, 1);
  --fre: calc(var(--fr) * var(--fr) * (3 - 2 * var(--fr)));
  --ph: clamp(0, (var(--p) - .735) / .09, 1);
  --phe: calc(1 - (1 - var(--ph)) * (1 - var(--ph)) * (1 - var(--ph)));
  --ld: clamp(0, (var(--p) - .775) / .11, 1);
  --lde: calc(var(--ld) * var(--ld) * (3 - 2 * var(--ld)));
  --cs: clamp(0, (var(--p) - .875) / .045, 1);
  --ck: clamp(0, (var(--p) - .91) / .07, 1);
  --sfg: color-mix(in srgb, var(--paper) calc(var(--dk) * 100%), var(--ink));
  --sfg2: color-mix(in srgb, var(--muted-dark) calc(var(--dk) * 100%), var(--muted));
  color: var(--sfg);
}
/* per-line timing: a = start, b = end, n = when the next line takes over (phone one-line view) */
.t1 { --a: .15;  --b: .19;  --n: .193; }
.t2 { --a: .193; --b: .235; --n: .24; }
.t3 { --a: .24;  --b: .27;  --n: .273; }
.t4 { --a: .273; --b: .30;  --n: .305; }
.t5 { --a: .305; --b: .36;  --n: .365; }
.t6 { --a: .365; --b: .41;  --n: .44; }
.d1 { --a: .49;  --b: .54; }
.d2 { --a: .54;  --b: .565; }
.d3 { --a: .57;  --b: .60; }
.d4 { --a: .60;  --b: .625; }
.t1, .t2, .t3, .t4, .t5, .t6, .d1, .d2, .d3, .d4 {
  --lk: clamp(0, (var(--p) - var(--a)) / (var(--b) - var(--a)), 1);
  --act: calc(clamp(0, var(--lk) * 40, 1) * clamp(0, (1 - var(--lk)) * 40, 1));
}

.story-bg { position: absolute; inset: 0; z-index: -1; background: #100C08; }
.story-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 68% 46%, #2C2318 0%, #17120D 55%, #100C08 100%); opacity: var(--dk); }
.story-bg::after { /* spotlight */
  content: ""; position: absolute; left: 50%; top: -10%; width: 70%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(227,196,126,.22), rgba(227,196,126,0)); opacity: calc(.45 + var(--lit) * .55);
}
@media (min-width: 901px) { .story-bg::after { left: 46%; } }

.story-grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(330px, 4.6fr) 7.4fr; gap: clamp(24px, 3vw, 48px); align-items: center; }
.story-copy { position: relative; z-index: 4; }
.story-copy .eyebrow { color: color-mix(in srgb, var(--gold-light) calc(var(--dk) * 100%), var(--gold-deep)); }
.story-title { font-size: var(--t-48); margin-top: 16px; max-width: 13ch; font-variation-settings: "opsz" 96; }
.story-title em { font-style: italic; color: color-mix(in srgb, var(--gold-light) calc(var(--dk) * 100%), var(--gold-deep)); }

/* progress rail */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; counter-reset: r; }
.rail li { --s: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sfg2); }
.rail li .bar { display: block; height: 2px; border-radius: 2px; background: color-mix(in srgb, rgba(243,236,223,.18) calc(var(--dk) * 100%), rgba(21,17,12,.14)); margin-bottom: 10px; overflow: hidden; }
.rail li .bar::after { content: ""; display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--s)); }
.rail li b { color: var(--gold); margin-right: 6px; }
.rail .r1 { --s: clamp(0, var(--p) / .14, 1); }
.rail .r2 { --s: clamp(0, (var(--p) - .14) / .30, 1); }
.rail .r3 { --s: clamp(0, (var(--p) - .44) / .26, 1); }
.rail .r4 { --s: clamp(0, (var(--p) - .70) / .28, 1); }
.rail li { color: color-mix(in srgb, var(--sfg) calc(clamp(0, var(--s) * 50, 1) * 100%), var(--sfg2)); }

/* captions: stacked, crossfade by chapter */
.caps { position: relative; margin-top: 28px; min-height: 230px; }
.cap { position: absolute; inset: 0 0 auto 0; opacity: var(--o); translate: 0 calc((1 - var(--o)) * 18px); pointer-events: none; }
.cap h3 { font-size: var(--t-36); line-height: 1.1; font-variation-settings: "opsz" 72; }
.cap h3 em { font-style: italic; color: var(--gold); }
.cap p { margin-top: 14px; color: var(--sfg2); font-size: 1.05rem; line-height: 1.6; max-width: 40ch; }
.cap .he { color: var(--sfg); font-weight: 700; }
.cap .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cap1 { --o: clamp(0, (.135 - var(--p)) / .025, 1); }
.cap2 { --o: min(clamp(0, (var(--p) - .13) / .025, 1), clamp(0, (.445 - var(--p)) / .025, 1)); }
.cap3 { --o: min(clamp(0, (var(--p) - .44) / .025, 1), clamp(0, (.705 - var(--p)) / .025, 1)); }
.cap4 { --o: clamp(0, (var(--p) - .70) / .025, 1); }
.story-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.story-cta .link { color: var(--sfg); }
.story-cta .btn-ghost { --fg: var(--sfg); border-color: color-mix(in srgb, rgba(243,236,223,.3) calc(var(--dk) * 100%), var(--line-strong)); }

/* ---------- the scene ---------- */
.scene-wrap { position: relative; height: 100%; display: grid; place-items: center; }
.scene {
  position: relative; width: min(100%, calc(100svh - var(--header-h) - 40px)); aspect-ratio: 1; container-type: size; perspective: 1500px;
  /* geometry (cqw of the scene) */
  --cw: 49cqw; --chh: calc(var(--cw) * 621 / 480); --cx: 60cqw; --cy: 47cqw;
  --phw: 40cqw; --phh: 84cqw; --phx: 52cqw; --phy: 50cqw; --phr: 6.4cqw; --phi: 1.5cqw;
  --bw: 27cqw; --bh: calc(var(--bw) * 621 / 480); --bcx: 55cqw; --bcy: 45cqw;
  --ls: .551;
  --phl: calc(var(--phx) - var(--phw) / 2); --pht: calc(var(--phy) - var(--phh) / 2);
}
.scene-3d { position: absolute; inset: 0; transform-style: preserve-3d; }

/* ghost deck: other designs the card is picked from */
.ghost { position: absolute; width: calc(var(--cw) * .86); left: calc(var(--cx) - var(--cw) * .43); top: calc(var(--cy) - var(--chh) * .43); border-radius: 1.2cqw; overflow: hidden; box-shadow: var(--shadow-lift); opacity: calc(1 - var(--pn)); filter: brightness(calc(.95 - var(--e1) * .2)); }
.ghost img { width: 100%; aspect-ratio: 480 / 621; object-fit: cover; }
.hcard > .wm { z-index: 6; }
.g1 { transform: translate3d(calc(-6cqw - var(--e1) * 14cqw - var(--pn) * 10cqw), calc(1cqw + var(--e1) * 2cqw), -300px) rotateY(22deg) rotateZ(-5deg); }
.g2 { transform: translate3d(calc(6cqw + var(--e1) * 14cqw + var(--pn) * 10cqw), calc(-1cqw + var(--e1) * 2cqw), -380px) rotateY(-22deg) rotateZ(6deg); }

/* the hero card */
.hcard-shadow { position: absolute; left: calc(var(--cx) - var(--cw) * .5); top: calc(var(--cy) + var(--chh) * .44); width: var(--cw); height: 6cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); filter: blur(8px); transform: translateZ(-80px) scale(calc(1.1 - var(--lde) * .5)); opacity: calc((.35 + var(--dk) * .5) * (1 - var(--lde))); }
.hcard {
  --ryn: calc((1 - var(--e1)) * 38 + var(--e1) * (1 - var(--fre)) * -15);
  --rxn: calc((1 - var(--e1)) * 14 + var(--e1) * (1 - var(--fre)) * 5);
  position: absolute; width: var(--cw); left: calc(var(--cx) - var(--cw) / 2); top: calc(var(--cy) - var(--chh) / 2);
  aspect-ratio: 480 / 621; container-type: inline-size; border-radius: 1.1cqw;
  transform-style: preserve-3d; z-index: 5;
  transform:
    translate3d(calc((1 - var(--e1)) * 12cqw + var(--lde) * (var(--bcx) - var(--cx))), calc((1 - var(--e1)) * 3cqw + (1 - var(--pn)) * var(--cyo, 0cqw) + var(--lde) * (var(--bcy) - var(--cy))), calc((1 - var(--e1)) * -160px + var(--lde) * 2px))
    rotateY(calc(var(--ryn) * 1deg)) rotateX(calc(var(--rxn) * 1deg)) rotateZ(calc((1 - var(--e1)) * -6deg))
    scale(calc(1 - var(--lde) * (1 - var(--ls))));
  opacity: calc(1 - var(--cs));
  box-shadow: 0 2px 3px rgba(0,0,0,.2), 0 30px 60px -20px rgba(0,0,0,.55);
}
.hcard > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hcard::after { /* sheen tied to the turn */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.30) 50%, rgba(255,255,255,0) 62%);
  background-size: 300% 100%; background-position: calc(50% + var(--ryn) * 3%) 0; opacity: .7;
}

/* chapter 1: the picked design's tag */
.pick-tag {
  --o: calc(clamp(0, (var(--e) - .8) / .2, 1) * (1 - var(--pn)));
  position: absolute; z-index: 8; left: calc(var(--cx) - var(--cw) * .5 - 2cqw); top: calc(var(--cy) + var(--chh) * .5 - 1cqw);
  display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1.2cqw 1.8cqw; border-radius: 99px;
  background: rgba(251,248,242,.96); color: var(--ink); white-space: nowrap; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
  font-size: max(11px, 1.7cqw); font-weight: 800; opacity: var(--o); transform: translate3d(0, calc((1 - var(--o)) * 2cqw), 120px);
}
.pt-dot { width: 1.2cqw; height: 1.2cqw; min-width: 7px; min-height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .7cqw rgba(201,160,78,.25); }
.pt-price { font-family: var(--f-display); font-weight: 400; font-size: 1.15em; padding-left: 1.2cqw; border-left: 1px solid var(--line-strong); }

/* typing bands: a paper-coloured cover over each personal line shrinks right-to-left behind a caret */
.band { position: absolute; top: var(--bt); left: var(--bl); width: var(--bwid); height: var(--bht); }
.band .cover { position: absolute; inset: -12% -1.5%; background: #F8F2E6; transform-origin: 0 50%; transform: scaleX(calc(1 - var(--lk))); opacity: var(--clr); }
.band .caret, .tw .caret { position: absolute; top: -18%; bottom: -18%; width: max(1.5px, .45cqw); left: calc((1 - var(--lk)) * 100%); background: var(--gold); border-radius: 2px; opacity: var(--act); box-shadow: 0 0 6px rgba(201,160,78,.7); }
.band::before { content: ""; position: absolute; inset: -32% -2.5%; border: 1px dashed rgba(201,160,78,.95); border-radius: .8cqw; background: rgba(232,213,121,.10); opacity: var(--act); }
.b-chassan { --bt: 40.26%; --bht: 4.35%; --bl: 41.9%;  --bwid: 21.46%; }
.b-kallah  { --bt: 47.05%; --bht: 3.94%; --bl: 34.56%; --bwid: 35.88%; } /* "הכלה המהוללה" (no kallah name, 2026-11-03) */
.b-hall    { --bt: 63.77%; --bht: 1.61%; --bl: 42.92%; --bwid: 19.17%; }
.b-addr    { --bt: 65.54%; --bht: 1.45%; --bl: 45%;    --bwid: 15%; }
.b-p1      { --bt: 71.98%; --bht: 1.61%; --bl: 39.38%; --bwid: 26.25%; }
.b-p2      { --bt: 73.75%; --bht: 1.77%; --bl: 35.42%; --bwid: 33.33%; }
.b-eng     { --bt: 57.49%; --bht: 1.45%; --bl: 46.25%; --bwid: 12.5%; }
.b-times   { --bt: 59.58%; --bht: 1.77%; --bl: 35.63%; --bwid: 33.75%; }
.b-simcha  { --bt: 61.51%; --bht: 1.77%; --bl: 41.04%; --bwid: 22.92%; }
/* the date line is drawn by us (the date picker's output), on a permanent cover */
.b-date    { --bt: 55.23%; --bht: 2.09%; --bl: 34.6%; --bwid: 35.6%; }
.b-date .cover { transform: none; inset: -10% -2%; }
.b-date .dtext { position: absolute; inset: -40% -6%; display: flex; align-items: center; justify-content: center; }
.b-date .tw { position: relative; display: inline-block; }
.b-date .tx { display: block; font-family: var(--f-he); font-weight: 500; font-size: 1.78cqw; line-height: 1.15; color: #2E2924; white-space: nowrap; clip-path: inset(-30% 0 -30% calc((1 - var(--lk)) * 100%)); }
.b-date .tw .caret { top: -10%; bottom: -10%; }

/* ---------- editor panel ---------- */
.panel {
  position: absolute; left: 0; top: 40cqw; width: 41cqw; z-index: 7;
  transform: translate3d(calc((1 - var(--pn)) * -8cqw - var(--po) * 6cqw), 0, 90px) rotateY(10deg);
  opacity: calc(var(--pn) * (1 - var(--po)));
  color: var(--ink);
}
.panel-face { background: rgba(251,248,242,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); border-radius: 2.2cqw; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6), 0 2px 0 rgba(255,255,255,.6) inset; padding: 2.2cqw 2.4cqw 2.4cqw; }
.face-fields { opacity: calc(1 - var(--pf)); transform: translateY(calc(var(--pf) * -2cqw)); }
.face-date { position: absolute; inset: 0 0 auto 0; opacity: var(--pf); transform: translateY(calc((1 - var(--pf)) * 2cqw)); }
.panel-top { display: flex; align-items: center; gap: 1.2cqw; white-space: nowrap; font-size: max(10px, 1.45cqw); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 1.6cqw; border-bottom: 1px solid var(--line); margin-bottom: 1.4cqw; }
.panel-top .dots { display: inline-flex; gap: .7cqw; }
.panel-top .dots i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--sand-2); }
.panel-top .dots i:first-child { background: var(--gold); }
.panel-top .live { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .8cqw; color: var(--gold-deep); }
.panel-top .live::before { content: ""; width: 1cqw; height: 1cqw; border-radius: 50%; background: #3FA36B; box-shadow: 0 0 0 .6cqw rgba(63,163,107,.18); }
.fields { display: grid; gap: .9cqw; }
.field { display: grid; grid-template-columns: 9.5cqw 1fr; align-items: center; gap: 1.2cqw; direction: rtl; }
.f-label { font-family: var(--f-he); font-size: max(11px, 1.75cqw); font-weight: 700; color: var(--muted); text-align: right; }
.f-box { position: relative; display: flex; align-items: center; min-height: 4.6cqw; padding: 0 1.5cqw; border-radius: 1.2cqw; background: #fff; border: 1.5px solid color-mix(in srgb, var(--gold) calc(var(--act) * 100%), var(--line)); box-shadow: 0 0 0 calc(var(--act) * .6cqw) rgba(201,160,78,.2); overflow: hidden; }
.f-val { position: relative; display: inline-block; font-family: var(--f-he); font-size: max(12px, 2.05cqw); font-weight: 500; white-space: nowrap; color: var(--ink); }
.f-val .tx { display: block; clip-path: inset(-40% 0 -40% calc((1 - var(--lk)) * 100%)); }
.f-val.en { font-family: var(--f-ui); font-weight: 600; font-size: max(11px, 1.8cqw); }
.field .f-done { position: absolute; left: 1.2cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #3FA36B; color: #fff; display: grid; place-items: center; font-size: max(9px, 1.4cqw); font-weight: 700; opacity: clamp(0, (var(--lk) - .98) * 50, 1); transform: scale(calc(.6 + clamp(0, (var(--lk) - .98) * 50, 1) * .4)); }
.panel-foot { display: flex; flex-wrap: wrap; gap: .8cqw; margin-top: 1.6cqw; }
.panel-foot span { font-size: max(10px, 1.45cqw); font-weight: 700; padding: .5cqw 1.2cqw; border-radius: 99px; background: var(--cream); color: var(--ink-3); }
.panel-foot span.he { font-weight: 500; }

/* date face */
.dp-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: max(12px, 1.9cqw); }
.dp-head .he { font-weight: 500; color: var(--muted); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3cqw; margin-top: 1.2cqw; text-align: center; font-size: max(9px, 1.45cqw); font-weight: 600; color: var(--ink-3); }
.dp-grid b { font-size: max(8px, 1.2cqw); color: var(--muted); font-weight: 700; padding-bottom: .4cqw; }
.dp-grid span { position: relative; line-height: 2.75cqw; border-radius: 50%; }
.dp-grid span.pick { color: color-mix(in srgb, var(--ink) calc(var(--dp) * 100%), var(--ink-3)); font-weight: 800; }
.dp-grid span.pick::before { content: ""; position: absolute; inset: 0 .3cqw; border-radius: 1cqw; background: var(--gold); z-index: -1; transform: scale(var(--dp)); opacity: var(--dp); }
.dp-grid span.pick { isolation: isolate; }
.dp-out { margin-top: 1.1cqw; display: grid; gap: .5cqw; border-top: 1px solid var(--line); padding-top: 1.1cqw; }
.out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2cqw; opacity: var(--dp); transform: translateX(calc((1 - var(--dp)) * 1.5cqw)); }
.out-row .k { font-size: max(9px, 1.35cqw); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.out-row .v { font-size: max(11px, 1.8cqw); font-weight: 700; }
.out-row .v.he { font-weight: 700; font-size: max(12px, 2.1cqw); }
.dp-shabbos { margin-top: 1.1cqw; display: flex; align-items: center; gap: .8cqw; font-size: max(9px, 1.35cqw); font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.dp-shabbos .seg { font-family: var(--f-he); font-size: max(11px, 1.7cqw); color: var(--ink); padding: .3cqw 1.2cqw; border-radius: 99px; border: 1px solid var(--line-strong); }
.dp-mini { display: none; }

/* ---------- phone (WhatsApp-style, drawn in CSS) ---------- */
.phone {
  position: absolute; left: var(--phl); top: var(--pht); width: var(--phw); height: var(--phh); z-index: 3;
  border-radius: var(--phr); background: linear-gradient(145deg, #2a2a2c, #0d0d0e 40%, #1c1c1e);
  box-shadow: 0 0 0 .35cqw #3a3a3c inset, 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06);
  opacity: var(--ph); transform: translateZ(-40px) translateY(calc((1 - var(--phe)) * 6cqw)) scale(calc(1.12 - var(--phe) * .12));
}
.ph-screen { position: absolute; inset: var(--phi); border-radius: calc(var(--phr) - var(--phi)); overflow: hidden; background: #EFE7DC; }
.ph-screen::before { /* chat wallpaper */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(140,120,90,.18) 1px, transparent 1.2px), radial-gradient(rgba(140,120,90,.12) 1px, transparent 1.2px);
  background-size: 3.2cqw 3.2cqw, 3.2cqw 3.2cqw; background-position: 0 0, 1.6cqw 1.6cqw;
}
.ph-island { position: absolute; top: 1.4cqw; left: 50%; width: 11cqw; height: 3cqw; translate: -50% 0; border-radius: 99px; background: #000; z-index: 3; }
.ph-head { position: absolute; inset: 0 0 auto 0; height: 13cqw; padding: 5cqw 2.4cqw 0; display: flex; align-items: center; gap: 1.6cqw; background: #1F5E55; color: #fff; z-index: 2; opacity: var(--cs); }
.ph-back { font-size: 3.6cqw; line-height: 1; opacity: .9; }
.ph-av { width: 5.6cqw; height: 5.6cqw; border-radius: 50%; background: var(--gold-light); color: var(--ink); display: grid; place-items: center; font-family: var(--f-he); font-weight: 700; font-size: 2.8cqw; }
.ph-name { display: grid; font-size: 2.3cqw; font-weight: 700; line-height: 1.2; }
.ph-name small { font-size: 1.6cqw; font-weight: 500; opacity: .75; }
.ph-day { position: absolute; top: 15.6cqw; left: 50%; translate: -50% 0; font-size: 1.6cqw; font-weight: 700; padding: .6cqw 1.8cqw; border-radius: 1cqw; background: rgba(255,255,255,.85); color: #5b6570; opacity: var(--cs); }
.ph-input { position: absolute; left: 1.8cqw; right: 1.8cqw; bottom: 2.4cqw; height: 6.2cqw; display: flex; align-items: center; gap: 1.4cqw; opacity: var(--cs); }
.ph-input span { flex: 1; height: 100%; border-radius: 99px; background: #fff; display: flex; align-items: center; padding: 0 2.4cqw; font-size: 2cqw; font-weight: 500; color: #8a9096; }
.ph-input i { width: 6.2cqw; height: 6.2cqw; border-radius: 50%; background: #1F8F74; position: relative; }
.ph-input i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.6cqw; height: 2.6cqw; translate: -50% -58%; border-radius: 1cqw; background: #fff; }
.ph-bubble {
  position: absolute; z-index: 4;
  left: calc(var(--bcx) - var(--bw) / 2 - var(--phl) - .7cqw); top: calc(var(--bcy) - var(--bh) / 2 - var(--pht) - .7cqw);
  width: calc(var(--bw) + 1.4cqw); padding: .7cqw .7cqw .6cqw; border-radius: 1.6cqw 1.6cqw .4cqw 1.6cqw; background: #D9FDD3;
  box-shadow: 0 1px 1px rgba(0,0,0,.12); opacity: var(--cs);
}
.ph-img { position: relative; display: block; border-radius: 1.1cqw; overflow: hidden; }
.ph-bubble img { width: 100%; aspect-ratio: 480 / 621; object-fit: cover; }
.ph-cap { display: block; font-family: var(--f-he); direction: rtl; font-size: 2cqw; font-weight: 500; padding: .8cqw .6cqw 0; color: #111; }
.ph-time { display: block; text-align: right; font-size: 1.45cqw; color: #667781; font-weight: 600; padding: .2cqw .4cqw 0; }
.ph-time b { color: #53BDEB; font-weight: 800; letter-spacing: -.3em; margin-left: .4cqw; }
.ph-sent { position: absolute; left: 50%; top: calc(var(--bcy) + var(--bh) / 2 - var(--pht) + 8cqw); translate: -50% 0; font-size: 1.8cqw; color: #4c5a55; font-weight: 700; opacity: var(--cs); white-space: nowrap; z-index: 4; }

/* floating fact chips */
.fchip { position: absolute; z-index: 8; display: inline-flex; align-items: center; gap: 1cqw; padding: 1.1cqw 1.8cqw; border-radius: 99px; background: rgba(251,248,242,.95); color: var(--ink); font-size: max(11px, 1.75cqw); font-weight: 700; white-space: nowrap; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); opacity: var(--o); transform: translate3d(0, calc((1 - var(--o)) * 3cqw), var(--fz)); }
.fchip i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-style: normal; font-size: max(9px, 1.4cqw); color: var(--ink); }
.fc1 { left: 2cqw;  top: 26cqw; --fz: 70px;  --o: clamp(0, var(--ck) * 4, 1); }
.fc2 { left: 4cqw;  top: 44cqw; --fz: 40px;  --o: clamp(0, var(--ck) * 4 - 1, 1); }
.fc3 { right: 2cqw; top: 33cqw; --fz: 60px;  --o: clamp(0, var(--ck) * 4 - 2, 1); }
.fc4 { right: 4cqw; top: 51cqw; --fz: 30px;  --o: clamp(0, var(--ck) * 4 - 3, 1); }
.fc1 b { color: var(--gold-deep); }

/* skip link inside the pinned story */
.story-skip { position: absolute; right: var(--gutter); bottom: 18px; z-index: 6; font-size: 13px; font-weight: 700; color: var(--sfg2); display: inline-flex; gap: 8px; align-items: center; }
.story-skip:hover { color: var(--sfg); }

/* ---------- story on narrow screens: rail, scene, caption stacked ---------- */
@media (max-width: 900px) {
  .story-grid { display: flex; flex-direction: column; gap: 0; padding-top: 12px; padding-bottom: 12px; align-items: stretch; }
  .story-copy { display: contents; }
  .story-copy .eyebrow, .story-title { display: none; }
  .rail { order: 1; margin-top: 0; gap: 8px; }
  .rail li { font-size: 10.5px; letter-spacing: .08em; }
  .rail li .bar { margin-bottom: 7px; }
  .scene-wrap { order: 2; flex: 1 1 auto; min-height: 0; height: auto; padding-top: 10px; }
  .scene {
    width: min(100%, calc((100svh - var(--header-h) - 300px) * 100 / 128)); aspect-ratio: 100 / 128;
    --cw: 60cqw; --cx: 50cqw; --cy: 41cqw; --cyo: 16cqw;
    --phw: 58cqw; --phh: 121cqw; --phx: 50cqw; --phy: 64cqw; --phr: 9cqw; --phi: 2cqw;
    --bw: 38cqw; --bcx: 54cqw; --bcy: 57cqw; --ls: .6333;
  }
  .caps { order: 3; min-height: 168px; margin-top: 10px; }
  .cap h3 { font-size: 1.5rem; }
  .cap p { font-size: .95rem; margin-top: 8px; line-height: 1.5; }
  .cap .k { margin-bottom: 6px; font-size: 11px; }
  .story-cta { order: 4; margin-top: 0; gap: 14px; }
  .story-cta .btn { min-height: 46px; flex: 1; }
  .story-cta .link { display: none; }
  .story-skip { display: none; }
  .ghost { border-radius: 2cqw; }
  .g1 { transform: translate3d(calc(-10cqw - var(--e1) * 12cqw - var(--pn) * 10cqw), 16cqw, -320px) rotateY(26deg) rotateZ(-5deg); }
  .g2 { transform: translate3d(calc(10cqw + var(--e1) * 12cqw + var(--pn) * 10cqw), 15cqw, -380px) rotateY(-26deg) rotateZ(6deg); }
  .hcard { --ryn: calc((1 - var(--e1)) * 32 + var(--e1) * (1 - var(--fre)) * -10); border-radius: 1.6cqw; }
  .pick-tag { left: 50%; translate: -50% 0; top: calc(var(--cy) + var(--cyo) + var(--chh) * .5 + 3cqw); font-size: 12px; padding: 2.2cqw 3.6cqw; gap: 2.2cqw; }
  .pt-price { padding-left: 2.2cqw; }
  /* phone editor: one line at a time */
  .panel { left: 3cqw; top: 81cqw; width: 94cqw; transform: translate3d(0, calc((1 - var(--pn)) * 6cqw + var(--po) * 4cqw), 80px); }
  .panel-face { border-radius: 4cqw; padding: 3.2cqw 3.6cqw 3.6cqw; }
  .panel-top { font-size: 10px; gap: 2cqw; padding-bottom: 2.4cqw; margin-bottom: 2.6cqw; }
  .panel-top .dots i { width: 1.8cqw; height: 1.8cqw; }
  .panel-top .live::before { width: 1.8cqw; height: 1.8cqw; }
  .panel-top .step { display: inline; }
  .fields { display: block; position: relative; height: 10cqw; }
  .field { position: absolute; inset: 0; grid-template-columns: 17cqw 1fr; gap: 2.4cqw; opacity: calc(clamp(0, (var(--p) - var(--a) + .006) / .006, 1) * clamp(0, (var(--n) - var(--p)) / .004, 1)); }
  .t1.field { opacity: clamp(0, (var(--n) - var(--p)) / .004, 1); }
  .t6.field { opacity: calc(clamp(0, (var(--p) - var(--a) + .006) / .006, 1)); }
  .f-label { font-size: 14px; }
  .f-box { min-height: 10cqw; padding: 0 3cqw; border-radius: 2.6cqw; }
  .f-val { font-size: 17px; }
  .f-val.en { font-size: 15px; }
  .field .f-done { left: 2.4cqw; width: 5cqw; height: 5cqw; font-size: 10px; }
  .panel-foot { display: none; }
  .face-date .dp-head, .face-date .dp-grid, .face-date .dp-shabbos { display: none; }
  .dp-mini { display: flex; align-items: center; gap: 2cqw; font-weight: 700; font-size: 13px; }
  .dp-mini .cal { width: 7cqw; height: 7cqw; border-radius: 1.6cqw; background: var(--gold); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); transform: scale(calc(.8 + var(--dp) * .2)); }
  .dp-out { margin-top: 2.4cqw; padding-top: 2.4cqw; gap: 1.4cqw; }
  .out-row .k { font-size: 10px; }
  .out-row .v { font-size: 13px; }
  .out-row .v.he { font-size: 15px; }
  .out-row.en-row { display: none; }
  .phone { box-shadow: 0 0 0 .6cqw #3a3a3c inset, 0 40px 70px -30px rgba(0,0,0,.8); }
  .ph-island { top: 2cqw; width: 16cqw; height: 4.4cqw; }
  .ph-head { height: 17cqw; padding: 7cqw 3.4cqw 0; gap: 2.2cqw; }
  .ph-back { font-size: 5cqw; }
  .ph-av { width: 7.6cqw; height: 7.6cqw; font-size: 3.8cqw; }
  .ph-name { font-size: 3.2cqw; }
  .ph-name small { font-size: 2.3cqw; }
  .ph-day { top: 20.5cqw; font-size: 2.3cqw; padding: .8cqw 2.4cqw; }
  .ph-bubble { padding: 1cqw; width: calc(var(--bw) + 2cqw); left: calc(var(--bcx) - var(--bw) / 2 - var(--phl) - 1cqw); top: calc(var(--bcy) - var(--bh) / 2 - var(--pht) - 1cqw); border-radius: 2.4cqw 2.4cqw .6cqw 2.4cqw; }
  .ph-cap { font-size: 3cqw; }
  .ph-time { font-size: 2.2cqw; }
  .ph-input { height: 8.6cqw; bottom: 3.4cqw; left: 2.6cqw; right: 2.6cqw; }
  .ph-input span { font-size: 2.9cqw; }
  .ph-input i { width: 8.6cqw; height: 8.6cqw; }
  .ph-sent { display: none; }
  .fchip { font-size: 11.5px; padding: 2cqw 3.2cqw; gap: 1.8cqw; }
  .fchip i { width: 4.6cqw; height: 4.6cqw; font-size: 9px; }
  .fc1 { left: 0; top: 91cqw; }
  .fc2 { left: 5cqw; top: 102.5cqw; }
  .fc3 { right: 0; top: 96.5cqw; }
  .fc4 { display: none; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .constellation { height: clamp(220px, 46svh, 460px); }
  .scene { width: min(100%, calc((100svh - var(--header-h) - 215px) * 100 / 128)); }
  .cap p { display: none; }
  .caps { min-height: 84px; }
  .panel .panel-top { display: none; }
}
@media (max-width: 900px) and (min-width: 600px) {
  .scene { width: min(100%, calc((100svh - var(--header-h) - 300px) * 100 / 128), 560px); }
}

/* =========================================================
   SIMCHA PICKER — fanned mini decks
   ========================================================= */
.simchas { background: var(--cream); }
.simchas::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; background: linear-gradient(var(--paper), transparent); pointer-events: none; }
.stiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.stile {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 12px 18px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.25));
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 1px 0 rgba(21,17,12,.04), 0 18px 30px -24px rgba(21,17,12,.4);
  transition: transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out), background-color var(--d-mid);
}
.stile:hover, .stile:focus-visible { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(21,17,12,.04), 0 30px 50px -28px rgba(21,17,12,.55); background-color: #fff; }
.deck { position: relative; width: 62%; aspect-ratio: 480 / 621; perspective: 700px; margin-bottom: 18px; }
.deck .dc { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(21,17,12,.5); background: var(--sand); transition: transform 560ms var(--ease-spring); }
.deck .dc img { width: 100%; height: 100%; object-fit: cover; }
.deck .d1 { z-index: 3; transform: translateZ(0); }
.deck .d2 { z-index: 2; transform: translateX(-14%) rotate(-7deg) scale(.92); }
.deck .d3 { z-index: 1; transform: translateX(14%) rotate(7deg) scale(.92); }
.stile:hover .d1, .stile:focus-visible .d1 { transform: translateY(-6%) translateZ(30px) rotateX(6deg); }
.stile:hover .d2, .stile:focus-visible .d2 { transform: translateX(-42%) rotate(-14deg) scale(.9); }
.stile:hover .d3, .stile:focus-visible .d3 { transform: translateX(42%) rotate(14deg) scale(.9); }
.stile-he { font-family: var(--f-he); font-weight: 700; font-size: 1.32rem; line-height: 1.15; }
.stile-en { font-weight: 700; font-size: var(--t-14); margin-top: 2px; }
.stile-n { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.stile-g { color: var(--gold-deep); font-weight: 700; }
.stile-g::before { content: " · "; color: var(--muted); }
.stile.all { justify-content: center; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stile.all:hover { background: var(--ink-2); }
.stile.all .big { font-family: var(--f-display); font-size: 3.4rem; line-height: 1; font-variation-settings: "opsz" 144; color: var(--gold-light); }
.stile.all .stile-en { font-size: 1rem; margin-top: 8px; }
.stile.all .stile-n { color: var(--muted-dark); }
.stile.all .arrow { margin-top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(243,236,223,.35); display: grid; place-items: center; transition: transform var(--d-mid) var(--ease-spring), background-color var(--d-mid); }
.stile.all:hover .arrow { transform: translateX(4px); background: var(--gold); color: var(--ink); border-color: var(--gold); }
.groups-note { margin-top: 26px; display: flex; gap: 18px 28px; flex-wrap: wrap; color: var(--muted); font-size: var(--t-14); }
.groups-note b { color: var(--ink); }
@media (max-width: 1180px) { .stiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .stiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stile { padding: 14px 4px 12px; border-radius: 16px; }
  .deck { width: 60%; margin-bottom: 10px; }
  .deck .d2 { transform: translateX(-18%) rotate(-8deg) scale(.9); }
  .deck .d3 { transform: translateX(18%) rotate(8deg) scale(.9); }
  .stile-he { font-size: 1.02rem; }
  .stile-en { font-size: 12px; line-height: 1.3; }
  .stile-n { font-size: 11px; line-height: 1.35; }
  .stile-g { display: block; }
  .stile-g::before { content: none; }
  .stile.all .big { font-size: 2.1rem; }
  .stile.all .stile-en { font-size: 12.5px; }
  .stile.all .arrow { width: 34px; height: 34px; margin-top: 10px; }
  .groups-note { margin-top: 18px; gap: 6px 18px; font-size: 13px; }
}

/* =========================================================
   FEATURED — cover-flow rail (rotates on the rail's own scroll)
   ========================================================= */
.featured { overflow: hidden; padding-bottom: 48px; }
.flow { position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 30px 20px; outline-offset: -4px; }
.flow::-webkit-scrollbar { display: none; }
.flow-track { display: flex; gap: clamp(8px, 1.4vw, 22px); padding-inline: calc(50% - var(--fw) / 2); width: max-content; --fw: clamp(220px, 22vw, 310px); }
.flow-item { width: var(--fw); flex: none; scroll-snap-align: center; view-timeline: --fi inline; perspective: 1100px; }
.flow-card { display: block; transform-style: preserve-3d; transform-origin: 50% 50%; }
@supports (animation-timeline: view()) {
  html:not(.no-sda) .flow-card { animation: flow-turn linear both; animation-timeline: --fi; animation-range: cover 0% cover 100%; }
}
@keyframes flow-turn {
  0%   { transform: rotateY(38deg) translateZ(-90px) scale(.9); filter: brightness(.86); }
  42%, 58% { transform: rotateY(0deg) translateZ(0) scale(1); filter: brightness(1); }
  100% { transform: rotateY(-38deg) translateZ(-90px) scale(.9); filter: brightness(.86); }
}
html.no-sda .flow-card { transform: rotateY(calc(var(--f, 0) * 38deg)) translateZ(calc(var(--fa, 0) * -90px)) scale(calc(1 - var(--fa, 0) * .1)); }
.flow .tile-meta { opacity: 1; }
.flow-nav { display: flex; gap: 10px; }
.flow-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 18px; display: grid; place-items: center; transition: background-color var(--d-fast), border-color var(--d-fast), transform var(--d-fast) var(--ease-out); }
.flow-nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.flow-nav button:active { transform: scale(.94); }
.featured-foot { display: flex; justify-content: center; margin-top: 18px; }
@supports (animation-timeline: view()) {
  html:not(.no-sda) .flow-card .tile-meta { animation: flow-meta linear both; animation-timeline: --fi; animation-range: cover 0% cover 100%; }
}
@keyframes flow-meta { 0%, 22% { opacity: 0; } 40%, 60% { opacity: 1; } 78%, 100% { opacity: 0; } }
html.no-sda .flow-card .tile-meta { opacity: calc(1 - var(--fa, 0) * 1.6); }
@media (max-width: 720px) { .flow-nav { display: none; } }

/* =========================================================
   STRENGTHS
   ========================================================= */
.strengths { background: var(--paper); padding-top: clamp(48px, 3vw + 24px, 80px); }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.spanel { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform var(--d-mid) var(--ease-out), box-shadow var(--d-mid) var(--ease-out); }
.spanel:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(21,17,12,.4); }
.sviz { position: relative; height: 250px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.stext { padding: 22px 22px 26px; }
.stext h3 { font-size: 1.5rem; line-height: 1.15; font-variation-settings: "opsz" 48; }
.stext p { margin-top: 10px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.stext .he { color: var(--ink); font-weight: 700; }

/* viz 1: fonts */
.viz-fonts { width: 78%; aspect-ratio: 4 / 3.2; background: #FFFDF8; border-radius: 10px; box-shadow: var(--shadow-card); display: grid; grid-template-rows: auto 1fr auto; padding: 14px 16px; transform: rotate(-3deg); }
.viz-fonts .row { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fontstack { position: relative; display: grid; place-items: center; }
.fontstack span { grid-area: 1 / 1; font-size: 2.6rem; line-height: 1.1; color: var(--ink); direction: rtl; opacity: 0; animation: fontcycle 10s infinite; }
.fontstack span:nth-child(1) { font-family: 'Frank Ruhl Libre', serif; font-weight: 700; animation-delay: 0s; }
.fontstack span:nth-child(2) { font-family: 'Suez One', serif; animation-delay: 2.5s; }
.fontstack span:nth-child(3) { font-family: 'Bellefair', serif; font-size: 2.9rem; animation-delay: 5s; }
.fontstack span:nth-child(4) { font-family: 'Karantina', sans-serif; font-size: 3.4rem; font-weight: 700; animation-delay: 7.5s; }
@keyframes fontcycle { 0% { opacity: 0; translate: 0 8px; } 4%, 22% { opacity: 1; translate: 0 0; } 26%, 100% { opacity: 0; translate: 0 -8px; } }
.viz-fonts .langs { display: flex; gap: 6px; justify-content: center; }
.viz-fonts .langs span { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--cream); }
.viz-fonts .langs span.he { font-weight: 500; font-size: 13px; }

/* viz 2: date picker */
.viz-date { width: 84%; background: #FFFDF8; border-radius: 14px; box-shadow: var(--shadow-card); padding: 14px; display: grid; gap: 10px; transform: rotate(2deg); }
.vd-pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; }
.vd-pick small { color: var(--gold-light); font-weight: 600; }
.vd-out { display: grid; gap: 6px; }
.vd-out div { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.vd-out div b { font-family: var(--f-he); font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.vd-out div b.en { font-family: var(--f-ui); font-size: 12.5px; }
.vd-shab { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.vd-shab span { font-family: var(--f-he); font-size: 13px; padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--ink); }
.vd-shab span.on { background: var(--gold); border-color: var(--gold); }

/* viz 3: phone editor */
.viz-phone { position: relative; width: 132px; height: 236px; border-radius: 26px; background: #111; padding: 6px; box-shadow: var(--shadow-lift); transform: rotate(-4deg) translateY(16px); }
.viz-phone .scr { position: relative; height: 100%; border-radius: 21px; overflow: hidden; background: #FBF8F2; display: grid; grid-template-rows: 1fr auto; }
.viz-phone .scr-img { position: relative; display: block; min-height: 0; overflow: hidden; }
.viz-phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.viz-phone .one { padding: 8px; background: #fff; border-top: 1px solid var(--line); display: grid; gap: 5px; }
.viz-phone .one small { font-size: 8px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; letter-spacing: .04em; }
.viz-phone .one .in { height: 22px; border-radius: 6px; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: flex-end; padding: 0 6px; font-family: var(--f-he); font-size: 12px; direction: rtl; }
.viz-phone .one .in::after { content: ""; width: 1.5px; height: 13px; background: var(--gold); margin-right: 2px; animation: blink 1s steps(1) infinite; order: 2; }
.viz-phone .one .next { height: 20px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
@keyframes blink { 50% { opacity: 0; } }

/* viz 4: photo spot */
.viz-photo { width: 52%; transform: rotate(3deg); }
.paper-card { position: relative; aspect-ratio: 480 / 621; background: #FFFDF8; border-radius: 8px; box-shadow: var(--shadow-card); display: grid; justify-items: center; align-content: start; padding: 12% 10% 0; outline: 1px solid rgba(201,160,78,.55); outline-offset: -7px; }
.pc-title { font-family: var(--f-he); font-weight: 700; font-size: 1.5rem; color: var(--gold-deep); line-height: 1; }
.paper-card .spot { position: relative; margin-top: 12%; width: 62%; aspect-ratio: 1; border: 2px dashed var(--gold); border-radius: 6px; background: rgba(243,236,223,.8); display: grid; place-items: center; animation: spot 4.5s var(--ease-in-out) infinite; }
.paper-card .spot svg { width: 40%; height: auto; color: var(--gold-deep); }
.paper-card .h { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: #fff; border: 2px solid var(--gold); }
.paper-card .h1 { left: -6px; top: -6px; } .paper-card .h2 { right: -6px; top: -6px; } .paper-card .h3 { left: -6px; bottom: -6px; } .paper-card .h4 { right: -6px; bottom: -6px; }
.paper-card .rot { position: absolute; right: -28px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 11px; }
.pc-lines { display: grid; gap: 6px; justify-items: center; margin-top: 12%; width: 100%; }
.pc-lines i { height: 4px; border-radius: 4px; background: var(--sand); width: 70%; }
.pc-lines i:nth-child(2) { width: 50%; } .pc-lines i:nth-child(3) { width: 60%; }
@keyframes spot { 0%, 100% { transform: rotate(0deg) scale(1); } 40% { transform: rotate(-8deg) scale(1.08); } 70% { transform: rotate(4deg) scale(.98); } }
@media (max-width: 1180px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
  .sgrid::-webkit-scrollbar { display: none; }
  .spanel { flex: 0 0 84%; scroll-snap-align: start; }
  .spanel:hover { transform: none; }
  .sviz { height: 210px; }
  .stext { padding: 18px 18px 22px; }
  .stext h3 { font-size: 1.35rem; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.swipe-hint i { display: inline-block; width: 26px; height: 2px; border-radius: 2px; background: var(--gold); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing { background: var(--ink); color: var(--paper); overflow: hidden; }
.pricing::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(201,160,78,.16), transparent); pointer-events: none; }
.price-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.price-from { display: block; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--muted-dark); }
.price-big { font-size: clamp(3.6rem, 2rem + 6vw, 7.5rem); line-height: .9; color: var(--gold-light); display: block; margin-top: 4px; }
.pricing .h-m { margin-top: 18px; }
.gets { margin-top: 26px; display: grid; gap: 12px; }
.gets li { display: flex; gap: 12px; align-items: flex-start; color: #E6DCCB; }
.gets li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2315110C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.receipt-wrap { perspective: 1400px; display: grid; justify-items: center; }
.receipt { position: relative; width: min(100%, 520px); background: #FFFDF8; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.8); transform: rotate(-2deg); transition: transform 700ms var(--ease-spring); }
.receipt:hover { transform: rotate(0deg) translateY(-6px); }
.rc-top { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; padding: 22px 120px 22px 24px; }
.rc-img { position: relative; display: block; width: 92px; aspect-ratio: 400 / 565; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 20px -10px rgba(21,17,12,.5); transform: rotate(-4deg); }
.rc-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-item { display: grid; gap: 3px; min-width: 0; }
.rc-k { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.rc-item strong { font-size: 1.05rem; }
.rc-sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.rc-perf { position: relative; height: 0; border-top: 2px dashed var(--sand-2); margin: 0 18px; }
.rc-perf::before, .rc-perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.rc-perf::before { left: -30px; } .rc-perf::after { right: -30px; }
.rc-rows { padding: 18px 24px 8px; display: grid; gap: 2px; }
.rc-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rc-rows li:last-child { border-bottom: 0; }
.rc-rows span { color: var(--muted); font-weight: 600; }
.rc-rows b { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.rc-rows b::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2315110C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.rc-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 12px 12px; padding: 16px 20px; border-radius: 14px; background: var(--ink); color: var(--paper); }
.rc-total span { display: grid; gap: 2px; font-size: 14px; font-weight: 700; color: #E6DCCB; }
.rc-total small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.rc-total b { font-size: 2.6rem; line-height: 1; font-weight: 400; color: var(--gold-light); letter-spacing: -.02em; }
.rc-stamp { position: absolute; z-index: 2; right: 22px; top: 22px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(140,106,38,.75); outline: 1px solid rgba(140,106,38,.45); outline-offset: -7px; display: grid; place-content: center; text-align: center; color: var(--gold-deep); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.1; transform: rotate(14deg); background: rgba(255,253,248,.6); }
.rc-stamp b { display: block; font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; letter-spacing: 0; text-transform: none; font-style: italic; }
@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .receipt { transform: rotate(-1deg); }
}
@media (max-width: 560px) {
  .rc-top { grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 86px 16px 18px; }
  .rc-img { width: 64px; }
  .rc-stamp { width: 66px; height: 66px; right: 14px; top: 16px; font-size: 8.5px; }
  .rc-stamp b { font-size: 1.15rem; }
  .rc-rows { padding: 12px 18px 4px; }
  .rc-rows li { font-size: 13px; }
  .rc-total { padding: 14px 16px; }
  .rc-total span { font-size: 13px; }
  .rc-total b { font-size: 2.1rem; }
}

/* =========================================================
   CLOSING CTA — two drifting rows of real cards
   ========================================================= */
.closing { position: relative; overflow: hidden; background: var(--cream); padding-block: 0; }
.drift { display: grid; gap: 18px; padding-block: 40px; opacity: .9; }
.drift-row { display: flex; gap: 18px; width: max-content; animation: drift 80s linear infinite; }
.drift-row.r2 { animation-direction: reverse; animation-duration: 95s; margin-left: -120px; }
.drift-row .dr { position: relative; flex: none; display: block; height: 210px; aspect-ratio: 480 / 621; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-card); background: var(--sand); }
.drift-row .dr img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { to { transform: translateX(-50%); } }
.closing:hover .drift-row { animation-play-state: paused; }
.closing-card {
  position: absolute; left: 0; right: 0; top: 50%; margin-inline: auto; transform: translateY(-50%); width: min(640px, calc(100% - 32px)); z-index: 2;
  background: rgba(251,248,242,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); text-align: center;
  box-shadow: 0 40px 80px -40px rgba(21,17,12,.55);
}
.closing-card .h-m { margin-top: 14px; }
.closing-card p { margin: 14px auto 0; color: var(--muted); max-width: 44ch; }
.closing-card .btn { margin-top: 26px; }
.closing-card .eyebrow::before { display: none; }
@media (max-width: 720px) {
  .drift { padding-block: 24px; gap: 12px; }
  .drift-row { gap: 12px; }
  .drift-row .dr { height: 150px; }
  .closing-card { padding: 26px 20px; }
}

/* =========================================================
   REDUCED MOTION — the story unpins into a static, complete layout
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none !important; --h: 0; }
  .hc-float, .hc::after { animation: none !important; }
  .ht-tx { animation: none !important; clip-path: none; }
  .ht-caret { animation: none !important; right: 100%; }
  .js .hero-copy .h-xl .line, .js .hero-copy .lede, .js .hero-actions, .js .hero-simchas { opacity: 1; translate: none; animation: none; }
  .cons-inner { transform: none; }
  .story { height: auto; animation: none !important; --p: 1; --e: 1; }
  .story-pin { position: relative; top: 0; height: auto; overflow: clip; padding-block: 88px; --dk: 1; }
  .ghost, .hcard-shadow, .pick-tag { display: none; }
  .story-grid { height: auto; }
  .caps { min-height: 0; display: grid; gap: 26px; margin-top: 30px; }
  .cap { position: relative; opacity: 1; translate: none; pointer-events: auto; }
  .cap h3 { font-size: var(--t-28); }
  .rail { display: none; }
  .scene { width: min(100%, 680px); }
  .story-skip { display: none; }
  .flow-card, .flow-card .tile-meta { animation: none !important; transform: none !important; opacity: 1 !important; }
  .fontstack span { animation: none; opacity: 0; }
  .fontstack span:nth-child(1) { opacity: 1; }
  .paper-card .spot, .viz-phone .one .in::after { animation: none; }
  .drift-row { animation: none; }
  @media (max-width: 900px) {
    .story-grid { display: grid; grid-template-columns: 1fr; padding-block: 0; }
    .story-copy { display: block; }
    .story-copy .eyebrow, .story-title { display: revert; }
    .scene-wrap { padding-top: 24px; }
    .scene { width: 100%; }
    .story-cta { margin-top: 24px; }
  }
}

/* the page's H1 is the small line above the big display headline */
.hero-copy .hero-h1 { margin: 0; font-size: 12px; line-height: 1.4; }
.hero-copy .hero-h1 .bw { font-size: 1.25em; letter-spacing: 0; }
@media (max-width: 900px) {
  .hero-copy .hero-h1 { display: inline-flex; font-size: 10.5px; letter-spacing: .12em; margin-top: 2px; }
  .hero-copy .hero-h1::before { width: 14px; }
}
@media (min-width: 901px) and (max-height: 800px) { .hero-copy .hero-h1 { display: inline-flex; } .hero-copy .h-xl { margin-top: 10px; } }
