/* NoMoreForIsrael.com. One long scroll story: pinned scenes hold a full-height stage while
   scrolling drives them; copy sits on a 1296px wrap. Each scene's markup comes from
   blocks/<name>/render.php, and site.js runs the scenes. */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-900.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --orange: #FF5A1F;
  --black: #0B0A09;
  --cream: #F7F2EB;
  --paper: #F2ECE1;
  --paper-ink: #1D1915;

  --bg: var(--black);
  --ink: var(--cream);
  --ink-2: #ADA398;
  --dim: rgba(247, 242, 235, .2);
  --accent: var(--orange);
  --mark-bg: var(--orange);
  --mark-ink: var(--black);
  --rule: rgba(247, 242, 235, .16);
  --nav-bg: rgba(11, 10, 9, .76);
  --btn-bg: var(--orange);
  --btn-ink: var(--black);
  --btn2-ink: var(--cream);
  --btn2-line: rgba(247, 242, 235, .5);
  --door: #181614;
  --door-ink: var(--cream);
  --door-dim: rgba(247, 242, 235, .2);
  --door-key: var(--orange);
  --door-line: rgba(247, 242, 235, .07);
  --seam: var(--orange);
  --flood: var(--orange);
  --flood-ink: var(--black);
  --flood-ink-2: #3D1A08;
  --fbtn-bg: var(--black);
  --fbtn-ink: var(--cream);
  --fbtn2-ink: var(--black);
  --fbtn2-line: rgba(11, 10, 9, .7);
  --field-bg: #FFF8F2;
  --field-ink: var(--black);
  --seg-past: rgba(247, 242, 235, .2);
  --tag-shadow: rgba(0, 0, 0, .5);

  --display: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --gut-l: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  /* The WordPress toolbar's height for signed-in editors; pinned stages stick below it */
  --ab: 0px;
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --nav-h: 56px; } }
body.admin-bar { --ab: 32px; }
@media (max-width: 782px) { body.admin-bar { --ab: 46px; } }
@media (max-width: 600px) { body.admin-bar { --ab: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.wrap { width: 100%; max-width: 1296px; margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.skip { position: absolute; z-index: 80; left: 12px; top: calc(var(--ab) + 12px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 15px/1.2 var(--display); text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- Lockup, nav, buttons ---------- */
.lockup { font-family: var(--display); font-weight: 900; line-height: 1; letter-spacing: .01em; white-space: nowrap; color: var(--ink); text-decoration: none; }
.lockup .sc { font-size: .78em; text-transform: uppercase; letter-spacing: .02em; }
.nav {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--ab)); z-index: 60; height: var(--nav-h);
  background: var(--nav-bg); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
}
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .lockup { font-size: clamp(15px, 1.4vw, 18px); }
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 16px; line-height: 1.15; letter-spacing: .01em; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-secondary { background: transparent; color: var(--btn2-ink); box-shadow: inset 0 0 0 2px var(--btn2-line); }
.btn-flood { background: var(--fbtn-bg); color: var(--fbtn-ink); }
.btn-flood-2 { background: transparent; color: var(--fbtn2-ink); box-shadow: inset 0 0 0 2px var(--fbtn2-line); }
.nav .btn { padding: 11px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 7vh, 80px); padding-bottom: clamp(32px, 6vh, 64px); overflow: clip; }
.hero-copy { position: relative; z-index: 2; will-change: transform, opacity; }
.hero-num { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 14vw, 136px); line-height: .92; letter-spacing: -.04em; white-space: nowrap; color: var(--accent); margin-bottom: .16em; }
.hero-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(27px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -.02em; max-width: 17em; text-wrap: balance; }
.hero-sub { margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.ticker { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.ticker strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tick-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: beat 3s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 65%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
.load { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.load-2 { animation-delay: .12s; }
.load-3 { animation-delay: .24s; }
.load-4 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

.hero-tag { position: absolute; z-index: 1; top: 0; right: max(40px, 8vw); width: clamp(118px, 11vw, 160px); pointer-events: none; }
.tag-sway { transform-origin: 50% 0; animation: sway 7s ease-in-out infinite; filter: drop-shadow(10px 18px 14px var(--tag-shadow)); }
.tag-jolt { transform-origin: 50% 0; }
.tag-jolt.go { animation: jolt 1.1s cubic-bezier(.3, .7, .3, 1); }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes jolt { 18% { transform: rotate(5deg); } 45% { transform: rotate(-3deg); } 70% { transform: rotate(1.4deg); } }
.hero-tag svg { display: block; width: 100%; height: auto; overflow: visible; }
.tag-string { stroke: var(--ink-2); stroke-width: 1.5; fill: none; }
.tag-body { fill: var(--paper); }
.tag-hole { fill: var(--bg); }
.tag-dot { fill: #F6C445; }
.tag-text { font-family: var(--hand); font-weight: 700; font-size: 76px; fill: var(--paper-ink); }
@media (max-width: 960px) { .hero-tag { display: none; } }

/* ---------- Ad: the video grows from a card to the full screen ---------- */
.film { position: relative; z-index: 3; height: calc(100vh + 140vh); height: calc(100svh + 140vh); }
.film-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); overflow: hidden; background: var(--bg); }
.film-stage::before { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dark, 0); }
.film-frame { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9; transform-origin: 50% 50%; background: #000; will-change: transform; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-ui { position: absolute; left: 0; top: 0; z-index: 4; will-change: transform; }
.film-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  padding: 10px 15px 10px 12px; border-radius: 999px; background: rgba(11, 10, 9, .66); color: #fff;
  font: 700 13px/1 var(--display); letter-spacing: .02em;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.film-btn svg { width: 18px; height: 18px; }
.film-btn[aria-pressed="true"] .snd-waves { opacity: 1; }
.snd-waves { opacity: .45; }
.film-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.film-cap {
  position: absolute; left: 0; top: 0; z-index: 4; max-width: min(34em, calc(100vw - 32px));
  padding: 6px 12px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff;
  font: 600 clamp(15px, 1.5vw, 21px)/1.35 var(--text); text-align: center;
  opacity: 0; transition: opacity .25s ease; will-change: transform;
}
.film-cap.on { opacity: 1; }
/* Without scripts, the ad is a plain player */
html:not(.js) .film { height: auto; }
html:not(.js) .film-stage { display: none; }
.film-plain { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Doors: behind closed doors, the count ---------- */
.doors { position: relative; z-index: 2; height: calc(100vh + 300vh); height: calc(100svh + 300vh); }
.doors-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); overflow: hidden; }
.behind { position: absolute; inset: 0; display: flex; align-items: center; background: var(--flood); color: var(--flood-ink); }
.behind-inner { text-align: center; transform: scale(var(--bs, 1)); }
.count { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 8.6vw, 128px); line-height: 1; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.count-label { margin: .55em auto 0; max-width: 21em; font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); line-height: 1.2; text-wrap: balance; opacity: var(--cl, 1); }
.choice { margin-top: clamp(28px, 6vh, 64px); opacity: var(--cq, 1); transform: translateY(calc((1 - var(--cq, 1)) * 24px)); }
.ready .choice:not(.live) { visibility: hidden; }
.choice-q { margin-inline: auto; max-width: 23em; font-family: var(--display); font-weight: 800; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.16; letter-spacing: -.012em; text-wrap: balance; }
.choice-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.behind :focus-visible, .act :focus-visible { outline-color: var(--flood-ink); }
.door { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: var(--door); z-index: 2; will-change: transform; }
.door-l { left: 0; }
.door-r { right: 0; }
.door::before, .door::after { content: ""; position: absolute; left: 12%; right: 12%; border: 1px solid var(--door-line); border-radius: 3px; }
.door::before { top: 6%; height: 40%; }
.door::after { top: 52%; bottom: 6%; }
.door-copy { position: absolute; top: 0; bottom: 0; z-index: 1; width: var(--sw, 100vw); display: flex; align-items: center; justify-content: center; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.door-l .door-copy { left: 0; }
.door-r .door-copy { right: 0; }
.door-text { max-width: 19em; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(25px, 3.5vw, 54px); line-height: 1.14; letter-spacing: -.016em; color: var(--door-ink); text-wrap: balance; }
.ready .door-text { color: var(--door-dim); }
.door-text .w { transition: color .3s ease; }
.door-text .w.on { color: var(--door-ink); }
.door-text .hl .w.on { color: var(--door-key); }
.seam {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3; width: 2px; margin-left: -1px; opacity: 0; pointer-events: none;
  background: var(--seam); box-shadow: 0 0 16px 3px var(--seam), 0 0 70px 18px color-mix(in srgb, var(--seam) 45%, transparent);
}

/* ---------- Questions ---------- */
.qa { padding-block: clamp(96px, 16vh, 180px) clamp(48px, 8vh, 96px); }
.qa-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(20px, 3vh, 32px); }
.q { grid-column: 1 / span 9; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.a { grid-column: 5 / span 8; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); }
.a p { max-width: 34em; text-wrap: pretty; }
.a p + p { margin-top: 1em; }
.a a { color: var(--ink); text-underline-offset: 3px; }
.a .is-style-lead { color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.3em; line-height: 1.15; letter-spacing: -.01em; }
.hl {
  color: var(--mark-ink); background-color: transparent; background-image: linear-gradient(var(--mark-bg), var(--mark-bg)); background-repeat: no-repeat; background-position: 0 0; background-size: 100% 100%;
  padding: .02em .14em; margin: 0 -.06em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .8s cubic-bezier(.6, .05, .2, 1), color .35s ease .25s;
}
.ready .hl:not(.lit) { background-size: 0% 100%; color: inherit; }
/* In the sentences that light up, a highlight marks the words that turn orange */
.door-text .hl, .words-text .hl { background: none; color: inherit; padding: 0; margin: 0; border-radius: 0; transition: none; }
[data-reveal] { opacity: var(--r, 1); transform: translate3d(0, calc((1 - var(--r, 1)) * 36px), 0); }
@media (max-width: 760px) { .q, .a { grid-column: 1 / -1; } }

/* What it could pay for */
.instead { padding-block: clamp(64px, 10vh, 120px) clamp(80px, 12vh, 140px); }
.instead .q { max-width: 14em; }
.alt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 6vh, 64px); }
.alt { display: flex; flex-direction: column; gap: 28px; padding-top: 24px; border-top: 2px solid var(--ink); min-width: 0; }
.alt-text { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2vw, 29px); line-height: 1.22; letter-spacing: -.01em; text-wrap: pretty; }
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; gap: 7px; }
.mono-label { font-family: var(--mono); font-size: 13px; line-height: 1.3; letter-spacing: .02em; color: var(--ink-2); }
.bar { display: flex; height: 30px; }
.bar i { display: block; height: 100%; transform-origin: 0 50%; }
.b-now { width: var(--now, 47.6%); background: var(--ink-2); transform: scaleX(var(--g1, 1)); }
.b-add { width: calc(100% - var(--now, 47.6%)); background: var(--accent); transform: scaleX(var(--g2, 1)); }
.houses { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.house { display: block; width: 100%; height: auto; }
.house path { fill: transparent; stroke: var(--ink-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .35s ease, stroke .35s ease; }
.house.on path { fill: var(--accent); stroke: var(--accent); }
@media (max-width: 760px) { .alt-grid { grid-template-columns: 1fr; } }

/* Timeline */
.mou { position: relative; height: calc(100vh + 110vh); height: calc(100svh + 110vh); }
.mou-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); display: flex; align-items: center; overflow: hidden; }
.mou-inner { display: grid; gap: clamp(36px, 7vh, 72px); }
.mou-copy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; }
.mou-copy .q { grid-column: 1 / span 6; }
.mou-copy .a { grid-column: 7 / span 6; align-self: end; }
.mou-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; }
.seg { display: grid; grid-template-rows: auto 64px auto; gap: 12px; min-width: 0; }
.seg-years { font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
.seg-bar { position: relative; border-radius: 4px; }
.seg-bar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--seg-c, var(--seg-past)); transform-origin: 0 50%; transform: scaleX(var(--d, 1)); }
.seg-now { --seg-c: var(--ink); }
.seg-next .seg-bar::before { background: repeating-linear-gradient(-45deg, var(--accent) 0 2px, transparent 2px 9px); box-shadow: inset 0 0 0 2px var(--accent); }
.seg-amt { font-family: var(--display); font-weight: 800; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.15; opacity: var(--d, 1); }
.seg-past .seg-amt { color: var(--ink-2); }
.today { position: absolute; top: -8px; bottom: -8px; left: 80%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); opacity: var(--d, 1); }
.today span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.seg-next.drawn .seg-bar { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 22%, transparent); } }

/* Redacted memo */
.memo-scene { position: relative; height: calc(100vh + 130vh); height: calc(100svh + 130vh); }
.memo-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); display: flex; align-items: center; overflow: hidden; }
.memo-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; align-items: center; }
.memo-inner .q { grid-column: 1 / span 5; grid-row: 1 / span 2; font-size: clamp(32px, 4.2vw, 62px); }
.memo {
  grid-column: 6 / span 7; padding: clamp(22px, 3vw, 42px); border-radius: 3px; transform: rotate(-1deg);
  background: var(--paper); color: var(--paper-ink); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .75);
  font-family: var(--mono); font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.8;
}
.memo > * + * { margin-top: 1.1em; }
.memo-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-ink); font-size: .74em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.rd { background-image: linear-gradient(var(--black), var(--black)); background-repeat: no-repeat; background-position: 100% 0; background-size: calc((1 - var(--x, 1)) * 100%) 100%; padding: .12em 0; }
.rd-lines { display: grid; gap: .6em; }
.rd-fixed { display: block; height: 1.1em; width: var(--w, 100%); background: var(--black); }
.memo-coda { grid-column: 6 / span 7; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; opacity: var(--co, 1); transform: translateY(calc((1 - var(--co, 1)) * 18px)); }

/* A question that ends on a choice */
.stop { padding-bottom: clamp(96px, 16vh, 180px); }
.choice-2 { margin-top: clamp(80px, 14vh, 140px); padding-top: clamp(28px, 4vh, 40px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: end; }
.choice-2 .choice-q { grid-column: 1 / span 6; margin: 0; max-width: 18em; font-size: clamp(24px, 2.8vw, 40px); }
.choice-2 .choice-btns { grid-column: 7 / span 6; justify-content: flex-end; margin-top: 0; }
@media (max-width: 900px) { .choice-2 .choice-q, .choice-2 .choice-btns { grid-column: 1 / -1; justify-content: flex-start; } }

/* One-word answer */
.yes-scene { position: relative; height: calc(100vh + 100vh); height: calc(100svh + 100vh); }
.yes-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); display: flex; align-items: center; overflow: hidden; }
.yes-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(16px, 3vh, 32px); align-items: start; }
.yes-inner .q { grid-column: 1 / -1; max-width: 13em; }
.yes-word { grid-column: 1 / span 4; font-family: var(--display); font-weight: 900; font-size: clamp(88px, 13vw, 210px); line-height: .82; letter-spacing: -.055em; color: var(--accent); transform-origin: 0 0; will-change: transform; }
.yes-inner .a { grid-column: 5 / span 8; padding-top: .4em; opacity: var(--ya, 1); transform: translateY(calc((1 - var(--ya, 1)) * 24px)); }

/* Receipt */
.receipt-scene { position: relative; height: calc(100vh + 110vh); height: calc(100svh + 110vh); }
.receipt-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); display: flex; align-items: center; overflow: hidden; }
.receipt-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.receipt-copy { grid-column: 1 / span 6; display: grid; gap: clamp(18px, 3vh, 28px); }
.receipt-copy .q { font-size: clamp(32px, 4.2vw, 62px); }
.receipt-copy .q, .receipt-copy .a { grid-column: auto; }
.printer { grid-column: 8 / span 5; justify-self: center; width: min(360px, 100%); }
.slot { position: relative; z-index: 2; height: 18px; border-radius: 9px; background: #000; box-shadow: inset 0 3px 6px rgba(255, 255, 255, .08), 0 0 0 1px var(--rule); }
.receipt-clip { overflow: hidden; margin: -9px 14px 0; padding-bottom: 24px; }
.receipt {
  position: relative; padding: 30px 20px 18px; background: var(--paper); color: var(--paper-ink);
  font-family: var(--mono); font-size: 13px; line-height: 1.65; letter-spacing: .03em; text-transform: uppercase;
  transform: translateY(calc((var(--pr, 1) - 1) * 100%)); will-change: transform;
}
.receipt::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: conic-gradient(from -45deg at 50% 100%, var(--paper) 90deg, transparent 0) 0 0 / 14px 10px repeat-x; }
.r-c { text-align: center; }
.r-h { font-weight: 600; letter-spacing: .08em; }
.r-rule { border: 0; border-top: 1.5px dashed rgba(29, 25, 21, .5); margin: 12px 0; }
.r-row { display: flex; justify-content: space-between; gap: 12px; }
.r-row span:last-child { text-align: right; white-space: nowrap; }
.r-total { font-weight: 600; font-size: 15px; }
.barcode { height: 42px; width: 80%; margin: 18px auto 2px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 2px, transparent 2px 4px, var(--paper-ink) 4px 5px, transparent 5px 8px, var(--paper-ink) 8px 11px, transparent 11px 12px); }

/* Sentence that lights up */
.why { position: relative; height: calc(100vh + 90vh); height: calc(100svh + 90vh); }
.words-stage { position: sticky; top: var(--ab); height: calc(100vh - var(--ab)); height: calc(100svh - var(--ab)); display: flex; align-items: center; overflow: hidden; }
.why .q { font-size: clamp(30px, 3.6vw, 54px); margin-bottom: clamp(20px, 4vh, 40px); }
.words-text { max-width: 22em; font-family: var(--display); font-weight: 800; font-size: clamp(25px, 3.3vw, 50px); line-height: 1.16; letter-spacing: -.016em; text-wrap: pretty; }
.ready .words-text { color: var(--dim); }
.words-text .w { transition: color .3s ease; }
.words-text .w.on { color: var(--ink); }
.words-text .hl .w.on { color: var(--accent); }

/* Big statement */
.poll { padding-block: clamp(80px, 14vh, 160px); }
.poll-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(20px, 3vh, 32px); }
.statement { grid-column: 1 / span 10; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6.2vw, 96px); line-height: .98; letter-spacing: -.04em; max-width: 12em; text-wrap: balance; }
.poll .a { grid-column: 6 / span 7; }

/* ---------- Action ---------- */
.act { position: relative; isolation: isolate; color: var(--flood-ink); padding-block: clamp(96px, 16vh, 180px); }
.act-bg { position: absolute; inset: 0; z-index: -1; background: var(--flood); }
.act-h { max-width: 13.5em; font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5.6vw, 88px); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.act-sub { margin-top: 18px; font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2vw, 28px); color: var(--flood-ink-2); }
.act a { color: inherit; }
.petition, .thanks, .act-embed { margin-top: clamp(32px, 6vh, 56px); max-width: 780px; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.f { display: grid; gap: 7px; min-width: 0; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.f em { font-style: normal; font-weight: 500; color: var(--flood-ink-2); }
.f-wide { grid-column: 1 / -1; }
.f input { width: 100%; font: 500 18px/1.2 var(--text); padding: 15px 16px; border-radius: 12px; border: 0; background: var(--field-bg); color: var(--field-ink); }
.f input:focus-visible { outline: 3px solid var(--flood-ink); outline-offset: 2px; }
.petition-go { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.petition-go .btn { font-size: 18px; padding: 19px 36px; }
.fine { font-size: 13px; line-height: 1.45; color: var(--flood-ink-2); max-width: 28em; }
.f-err { margin-top: 14px; font-weight: 700; }
.thanks-h { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.thanks p + p { margin-top: 12px; font-size: 19px; color: var(--flood-ink-2); }
.thanks .btn { margin-top: 22px; }
.act-embed iframe { display: block; width: 100%; border: 0; }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { padding-block: clamp(56px, 10vh, 112px) calc(clamp(40px, 6vh, 64px) + env(safe-area-inset-bottom, 0px)); }
.foot-fit { overflow: hidden; }
.foot-lockup { display: inline-block; font-size: 10vw; line-height: .9; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.foot-meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-meta a:hover { color: var(--ink); }

/* ---------- Article pages (the privacy policy) ---------- */
.prose { max-width: calc(760px + var(--gut-l) + var(--gut-r)); padding-block: clamp(48px, 10vh, 112px) clamp(24px, 4vh, 48px); font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.prose h1 { margin-bottom: .6em; font: 900 clamp(36px, 5vw, 64px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.prose h2, .prose h3 { margin: 1.7em 0 .5em; font: 800 20px/1.25 var(--display); color: var(--ink); }
.prose h2 { font-size: 22px; }
.prose p, .prose ul, .prose ol { margin: 0 0 .9em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 2px; overflow-wrap: anywhere; }
.prose .policy-date { font-family: var(--mono); font-size: 13px; }

/* Ordinary blocks placed between scenes keep to the column */
.scenes > :not(section) { max-width: calc(760px + var(--gut-l) + var(--gut-r)); margin: 0 auto 1em; padding-left: var(--gut-l); padding-right: var(--gut-r); }

/* ---------- Phones: the tall copy scenes scroll in normal flow ---------- */
@media (max-width: 760px) {
  .mou, .memo-scene, .yes-scene, .receipt-scene { height: auto; }
  .mou-stage, .memo-stage, .yes-stage, .receipt-stage { position: relative; top: 0; height: auto; padding-block: clamp(72px, 12vh, 120px); }
  .mou-copy .q, .mou-copy .a, .memo-inner .q, .memo, .memo-coda, .yes-word, .yes-inner .a, .receipt-copy, .printer, .statement, .poll .a { grid-column: 1 / -1; }
  .memo-inner .q { grid-row: auto; }
  .memo { transform: rotate(-.6deg); }
  .mou-track { grid-template-columns: 1fr; gap: 22px; }
  .seg { grid-template-rows: auto 40px auto; gap: 8px; }
  .today span { bottom: auto; top: calc(100% + 4px); }
  .seg-now .seg-amt { padding-top: 14px; }
}

/* ---------- Reduced motion: everything in its finished state, no pinning ---------- */
.rm .load, .rm .tag-sway, .rm .tag-jolt.go, .rm .tick-dot, .rm .seg-next.drawn .seg-bar { animation: none; }
.rm .film, .rm .doors, .rm .mou, .rm .memo-scene, .rm .yes-scene, .rm .receipt-scene, .rm .why { height: auto; }
.rm .film-stage, .rm .doors-stage, .rm .mou-stage, .rm .memo-stage, .rm .yes-stage, .rm .receipt-stage, .rm .words-stage { position: relative; top: 0; height: auto; }
.rm .mou-stage, .rm .memo-stage, .rm .yes-stage, .rm .receipt-stage, .rm .words-stage { padding-block: clamp(72px, 12vh, 140px); }
.rm .film-stage::before { opacity: 1; }
.rm .film-frame { position: relative; transform: none !important; width: 100% !important; height: auto !important; left: auto !important; top: auto !important; clip-path: none !important; }
/* The ad keeps the browser's own player, with its captions, and never starts by itself */
.rm .film-ui, .rm .film-cap { display: none; }
.rm .doors-stage { display: flex; flex-direction: column-reverse; }
.rm .behind { position: relative; padding-block: clamp(72px, 12vh, 140px); }
.rm .door { position: relative; width: 100%; transform: none !important; background: var(--bg); }
.rm .door::before, .rm .door::after, .rm .door-r, .rm .seam { display: none; }
.rm .door-copy { position: relative; width: auto !important; padding-block: clamp(72px, 12vh, 140px); }
.rm .yes-word { transform: none !important; }
