/* Fonts served from this site (no Google Fonts requests: GDPR). */
@font-face { font-family: 'Unbounded'; src: url('assets/fonts/unbounded-latin.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/atkinson-400.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/atkinson-700.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/atkinson-400-italic.woff2') format('woff2'); }

/* Cobito · E1 «Signs in the world»
   The 3D paper town stays. Every block of information is a physical sign that stands, hangs or is pinned
   somewhere in Caleta Nueva; the HTML is projected onto that board every frame (see main.js · Signs).
   Type: Unbounded (painted lettering, labels) + Atkinson Hyperlegible (text).
   One action colour: ultramarine paper tickets. Everything else is the material of its sign. */
:root {
  --ink: #0F1A2B;
  --ink-2: #3D4B60;
  --navy: #172440;
  --accent: #2F45FF;
  --accent-d: #1B2AB8;
  --dale: #E8653A;
  --chalk: #F1EEE3;
  --chalk-y: #FFE07A;
  --slate: #213029;
  --wood: #B27A48;
  --wood-d: #7A4D2A;
  --oak: #CF9A62;
  --paper: #FFFCF5;
  --kraft: #C99A63;
  --cork: #C48955;
  --felt: #1D1F25;
  --warn: #FFD23F;
  --marker: #1E4A3A;
  --gold: #F1D48A;
  --pink: #FF4F9A;
  --teal: #2EC4C9;
  --bus: #0E7D7A;
  --manila: #F2D8A2;
  --mint: #BDEADC;
  --gut: 16px;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.1 0 0 0 0 0.17 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #DCEEFC; color: var(--ink); font: 400 16px/1.5 var(--text); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- the world ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#world { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.world-on #world { opacity: 1; }
.world-fallback { position: absolute; inset: 0; background: #F6E4CF url(img/fallback-hero.webp) center 40% / cover no-repeat; display: none; }
.no-webgl .world-fallback, .flat .world-fallback { display: block; opacity: .35; }
.no-webgl #world { display: none; }
body.can-pick { cursor: pointer; }

/* name tags: little paper flags on a thread above each resident (neighbors stop only) */
.pins { position: absolute; inset: 0; overflow: hidden; }
.pin { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.pin.on { opacity: 1; }
.pin-box {
  position: absolute; left: 0; bottom: 22px; transform: translateX(calc(-50% + var(--dx, 0px))) rotate(-2deg);
  font: 700 10px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  background: var(--paper) var(--noise); color: var(--ink); padding: 6px 8px 5px;
  box-shadow: 0 2px 0 rgba(15, 26, 43, .22);
}
.pin:nth-child(2n) .pin-box { transform: translateX(calc(-50% + var(--dx, 0px))) rotate(2deg); }
.pin-line { position: absolute; left: -.5px; bottom: 2px; width: 1px; height: 22px; background: rgba(15, 26, 43, .55); }
.pin-dot { display: none; }
.pin.is-on .pin-box { background: var(--warn); }

/* ---------- header: a row of enamel street plates ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; height: 68px; display: flex; align-items: center; gap: 12px; padding: 0 24px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 11px;
  font: 800 18px/1 var(--display); letter-spacing: -.02em; text-decoration: none;
  background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(15, 26, 43, .25); border-radius: 3px;
}
.brand-mark { position: relative; width: 20px; height: 20px; border-radius: 50%; background: #F1E3CC; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.brand-mark::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -3px; height: 9px; border-radius: 9px 9px 3px 3px; background: var(--dale); }
.here {
  display: inline-flex; align-items: baseline; gap: 8px; height: 40px; padding: 0 14px; align-items: center;
  background: var(--navy); color: #fff; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--navy), inset 0 0 0 3.5px rgba(255,255,255,.85), 0 3px 0 #0A1226;
  white-space: nowrap;
}
.here-es { font: 700 12.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.here-en { font: 400 12px/1 var(--text); opacity: .7; }
.top-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; height: 40px; padding: 0 6px; background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(15, 26, 43, .25); border-radius: 3px; }
.top-nav a { font: 600 12.5px/1 var(--display); text-decoration: none; padding: 9px 10px; border-radius: 2px; }
.top-nav a:hover { background: var(--ink); color: #fff; }
.top-cta { margin-left: 4px; }

/* ---------- the one action: an ultramarine paper ticket ---------- */
.tix {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px 0 20px;
  font: 700 14px/1 var(--display); letter-spacing: .01em; text-decoration: none; color: #fff; white-space: nowrap;
  background: var(--accent) var(--noise-w); border-radius: 3px; box-shadow: 0 3px 0 var(--accent-d);
  transition: transform .14s ease, box-shadow .14s ease;
}
.tix::after { content: ""; position: absolute; right: 12px; top: 8px; bottom: 8px; border-left: 2px dotted rgba(255, 255, 255, .55); }
.tix:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 5px 0 var(--accent-d); }
.tix:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-d); }
.tix-sm { min-height: 40px; font-size: 12.5px; padding: 0 26px 0 14px; }
.tix-sm::after { right: 10px; top: 7px; bottom: 7px; }
.tix-ink { background-color: var(--ink); box-shadow: 0 3px 0 #000; }
.tix-ink:hover { box-shadow: 0 5px 0 #000; }
.tix[disabled] { background-color: #3E8B5A; box-shadow: 0 3px 0 #23603A; cursor: default; transform: none; }
.lnk { font: 700 14px/1 var(--display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 14px 4px; }
.lnk:hover { text-decoration-thickness: 4px; }

/* ======================================================================
   SIGNS — common
   ====================================================================== */
.sec { position: relative; }
.has-webgl .sec { scroll-snap-align: start; }
.has-webgl .sign {
  position: fixed; left: 0; top: 0; z-index: 5; transform-origin: 0 0; opacity: 0; /* v5: hidden by opacity only; the text is always rendered */
  will-change: transform; backface-visibility: hidden;
}
.has-webgl .sign.off { pointer-events: none; }
.sign { width: var(--w, 520px); }
.lit { position: absolute; inset: 0; pointer-events: none; z-index: 9; mix-blend-mode: multiply; background: linear-gradient(var(--la, 100deg), rgba(255, 255, 255, 0) 30%, rgba(var(--shc, 40, 30, 70), var(--sh, 0)) 100%); border-radius: inherit; }
.sign h2 { font-weight: 800; }

/* ---------- 1 · HERO + 13 · FINAL · painted signpost ---------- */
.s-post { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.plank { position: relative; filter: drop-shadow(0 5px 0 var(--wood-d)); }
.plank > span {
  display: inline-block; padding: 12px 52px 13px 22px;
  font: 900 60px/1 var(--display); letter-spacing: -.035em; color: var(--ink);
  background: var(--c, var(--warn)) var(--noise);
  clip-path: polygon(0 3%, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 97%);
}
.plank-a { --c: var(--warn); transform: rotate(-2.4deg); }
.plank-b { --c: #FF8DB8; transform: rotate(1.6deg) translateX(14px); }
.plank-b > span { clip-path: polygon(34px 0, 100% 3%, 100% 97%, 34px 100%, 0 50%); padding: 12px 22px 13px 50px; }
.plank-c { --c: #6FD6D9; transform: rotate(-.8deg); }
.plank-tag {
  font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: var(--navy) var(--noise-w); padding: 9px 12px 8px; box-shadow: 0 3px 0 #0A1226; filter: none; transform: rotate(-1deg);
}
.notice {
  position: relative; margin-top: 6px; max-width: 470px; padding: 20px 22px 18px;
  background: var(--paper) var(--noise); box-shadow: 0 3px 0 #D9CDBB, 0 5px 0 #C9BBA6; transform: rotate(.7deg);
}
.nail { position: absolute; left: 12px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #8C8F96; box-shadow: inset -1px -1px 0 rgba(0,0,0,.35); }
.nail-r { left: auto; right: 12px; }
.hero-h1 { font: 800 23px/1.12 var(--display); letter-spacing: -.02em; }
.lede { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.acts { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.acts .lnk { color: var(--ink); background: rgba(255, 252, 245, .9); padding: 13px 10px; }

.s-final { gap: 6px; }
.final-h { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.s-final .plank > span { font-size: 64px; }
.s-final .plank-c > span { background-color: #FF9E6E; }
.postcard {
  position: relative; margin-top: 14px; width: 100%; max-width: 470px; padding: 20px 22px 18px;
  background: var(--paper) var(--noise); box-shadow: 0 3px 0 #D9CDBB, 0 5px 0 #C9BBA6; transform: rotate(-.6deg);
}
.postcard::before { /* stamp */
  content: ""; position: absolute; right: 18px; top: 16px; width: 54px; height: 64px;
  background: radial-gradient(circle at 50% 46%, #F1E3CC 0 13px, transparent 13.5px), linear-gradient(var(--dale), var(--dale)) 50% 76% / 26px 12px no-repeat, #8ED1F2;
  border: 3px solid #fff; outline: 2px dotted #fff; outline-offset: -1px; box-shadow: 0 1px 0 rgba(0,0,0,.15); transform: rotate(4deg);
}
.final-p { max-width: calc(100% - 80px); font-size: 15.5px; color: var(--ink-2); }
.tix-static { /* a postmark, not a button */
  display: inline-block; min-height: 0; margin: 12px 0 4px; padding: 7px 12px; background: none; box-shadow: none; color: #3346D6;
  border: 2.5px solid #3346D6; border-radius: 40px; font: 800 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); opacity: .9;
}
.tix-static::after { display: none; }
.tix-static:hover { transform: rotate(-4deg); box-shadow: none; }
.notify { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(15, 26, 43, .3); }
.notify label { display: block; font: 700 13px/1.2 var(--display); }
.notify-row { display: flex; gap: 10px; align-items: flex-end; margin-top: 8px; }
.notify-row input { flex: 1; min-width: 0; height: 44px; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 0 2px; font-size: 16px; outline: none; }
.notify-row input:focus-visible { border-bottom-color: var(--accent); outline: none; background: rgba(47, 69, 255, .06); }

.notify .stamp {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 26px 0 14px; color: #fff; white-space: nowrap;
  font: 700 13px/1 var(--display); background: var(--accent) var(--noise-w); border-radius: 3px; box-shadow: 0 3px 0 var(--accent-d);
}
.notify .stamp::after { content: ""; position: absolute; right: 10px; top: 8px; bottom: 8px; border-left: 2px dotted rgba(255,255,255,.55); }
.notify-fine { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- 2 · TRY · café chalkboard ---------- */
.s-chalk {
  position: relative; padding: 26px 30px 22px; color: var(--chalk);
  background:
    radial-gradient(60% 40% at 22% 18%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(50% 35% at 80% 75%, rgba(255,255,255,.05), transparent 70%),
    var(--noise-w), var(--slate);
  border: 14px solid var(--wood); border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), inset 0 0 40px rgba(0,0,0,.35), 0 4px 0 var(--wood-d);
}
.s-chalk .lit { inset: -14px; }
.chalk-kicker { font: 600 11px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(241, 238, 227, .72); }
.chalk-kicker span { display: inline-block; margin-right: 8px; font: 800 20px/1 var(--display); letter-spacing: -.01em; text-transform: none; color: var(--chalk-y); border-bottom: 2px solid rgba(255, 224, 122, .6); padding-bottom: 2px; transform: rotate(-3deg); }
.s-chalk h2 { margin-top: 12px; font: 800 30px/1.1 var(--display); letter-spacing: -.02em; text-shadow: 0 0 1px rgba(255,255,255,.4); }
.chalk-scene { margin-top: 10px; font-size: 16.5px; color: rgba(241, 238, 227, .86); }
.demo { margin-top: 16px; padding-top: 14px; border-top: 2px dashed rgba(241, 238, 227, .22); }
.demo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.chalk-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 15px/1 var(--display); color: var(--chalk); }
.chalk-btn svg { width: 44px; height: 44px; flex: none; }
.chalk-btn span { border-bottom: 2px solid rgba(241, 238, 227, .35); padding-bottom: 3px; }
.chalk-btn:hover, .chalk-btn:focus-visible { color: var(--chalk-y); }
.chalk-btn:hover span { border-color: currentColor; }
.demo[data-state="heard"] .demo-play .ring { stroke-dasharray: 3 4; }
.demo-hidden { font-size: 14px; color: rgba(241, 238, 227, .6); font-style: italic; }
.demo-form { margin-top: 14px; }
.chalk-label { display: block; font: 600 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(241, 238, 227, .6); }
.demo-line { display: flex; align-items: flex-end; gap: 12px; margin-top: 6px; }
.demo-line input {
  flex: 1; min-width: 0; height: 48px; background: transparent; border: 0; border-bottom: 2px dashed rgba(241, 238, 227, .55);
  color: var(--chalk); font-size: 20px; padding: 0 2px; outline: none;
}
.demo-line input::placeholder { color: rgba(241, 238, 227, .38); font-style: italic; }
.demo-line input:focus-visible { border-bottom: 2px solid var(--chalk-y); }
.demo-mic svg { width: 20px; height: 20px; }
.demo-mic.is-live { color: var(--chalk-y); }
.demo-feedback { min-height: 0; margin-top: 10px; font-size: 16px; color: var(--chalk-y); }
.demo-feedback:empty { display: none; }
.demo-feedback b { font-family: var(--display); letter-spacing: .14em; }
.demo.shake .demo-line { animation: shake .4s ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.demo-result { margin-top: 8px; }
.demo-phrase { font: 800 44px/1.05 var(--display); letter-spacing: -.02em; color: #fff; }
.demo-phrase span { background: linear-gradient(transparent 82%, rgba(255, 224, 122, .7) 82% 92%, transparent 92%); }
.demo-en { margin-top: 4px; font-style: italic; color: rgba(241, 238, 227, .8); }
.demo-react { margin-top: 8px; font-size: 15.5px; }
.demo-result .chalk-btn { margin-top: 6px; }
.demo[data-state="done"] .demo-form, .demo[data-state="done"] .demo-row { display: none; }
.chalk-fine { margin-top: 14px; font-size: 13px; color: rgba(241, 238, 227, .62); }

/* ---------- 3 · ENEMY · lifeguard notice ---------- */
.s-warn {
  position: relative; padding: 26px 30px 0; overflow: hidden;
  background: var(--warn) var(--noise); border-radius: 14px;
  box-shadow: inset 0 0 0 7px var(--warn), inset 0 0 0 10px var(--ink), 0 5px 0 #B98E14;
}
.screw { position: absolute; left: 18px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #9A8A55; box-shadow: inset 1px 1px 0 rgba(255,255,255,.4); }
.screw-r { left: auto; right: 18px; }
.screw-b { top: auto; bottom: 18px; z-index: 2; background: #C9B26A; }
.warn-top { display: flex; align-items: center; gap: 10px; margin-left: 4px; font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.warn-ico { display: grid; place-items: center; width: 28px; height: 25px; padding-top: 6px; font: 900 15px/1 var(--display); color: var(--warn); background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.warn-h { margin-top: 16px; font-family: var(--display); letter-spacing: -.025em; }
.warn-thumb { display: block; font-size: 22px; font-weight: 500; line-height: 1.15; }
.warn-mouth { display: block; font-size: 46px; font-weight: 900; line-height: 1.02; margin-top: 4px; }
.warn-p { margin-top: 14px; font-size: 16px; }
.warn-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px -30px 0; padding: 14px 30px 16px; background: var(--ink); color: var(--warn); }
.warn-foot b { font: 800 16px/1.2 var(--display); }
.warn-foot span { font: 500 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; opacity: .8; white-space: nowrap; }

/* ---------- 4 · DAY · plaza notice board ---------- */
.s-cork {
  position: relative; padding: 22px 22px 24px;
  background: radial-gradient(circle at 30% 40%, rgba(90, 50, 20, .25) 0 1px, transparent 1.6px) 0 0 / 9px 11px,
              radial-gradient(circle at 70% 70%, rgba(255, 230, 190, .25) 0 1px, transparent 1.6px) 0 0 / 13px 7px,
              var(--noise), var(--cork);
  border: 12px solid var(--wood-d); border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.2), 0 4px 0 #4E2F16;
}
.s-cork .lit { inset: -12px; }
.cork-head { position: relative; margin-right: 150px; padding: 14px 18px 16px; background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(0,0,0,.18); transform: rotate(-.6deg); }
.cork-kicker { font: 700 10.5px/1.3 var(--display); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.cork-head h2 { margin-top: 6px; font: 800 26px/1.1 var(--display); letter-spacing: -.02em; }
.cork-warm { position: absolute; right: 14px; top: 16px; width: 140px; padding: 12px 12px 14px; font: 700 13px/1.3 var(--text); background: #FFF08A; box-shadow: 0 3px 0 rgba(0,0,0,.15); transform: rotate(4deg); z-index: 2; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; counter-reset: n; }
.note { position: relative; padding: 18px 16px 16px; background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(0,0,0,.16); transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .35s ease; }
.note:nth-child(1) { --r: -1.2deg; background-color: #FFFCF5; }
.note:nth-child(2) { --r: 1deg; background-color: #DDEFFF; }
.note:nth-child(3) { --r: .6deg; background-color: #FFE0EA; }
.note:nth-child(4) { --r: -.8deg; background-color: #E3F6D5; }
.note::before { content: ""; position: absolute; left: 50%; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #6B7280; box-shadow: inset -2px -2px 0 rgba(0,0,0,.25), 0 2px 0 rgba(0,0,0,.2); }
.note.is-on { transform: rotate(var(--r)) translateY(-5px) scale(1.03); box-shadow: 0 8px 0 rgba(0,0,0,.18); z-index: 1; }
.note.is-on::before { background: var(--pink); }
.note-n { display: block; font: 900 30px/1 var(--display); color: var(--ink); }
.note h3 { margin-top: 8px; font: 700 15.5px/1.2 var(--display); }
.note p { margin-top: 6px; font-size: 14.5px; line-height: 1.42; color: var(--ink-2); }

/* ---------- 5 · WHY · appointment card ---------- */
.s-card { position: relative; padding: 0 0 20px; background: var(--paper) var(--noise); border-radius: 4px; box-shadow: 0 3px 0 #D7D9DE, 0 6px 0 #B9BEC8; overflow: hidden; }
.card-kicker { display: flex; align-items: center; gap: 10px; padding: 14px 24px; font: 700 11px/1 var(--display); letter-spacing: .09em; text-transform: uppercase; background: #CFE6FF; }
.card-cross { position: relative; width: 16px; height: 16px; }
.card-cross::before, .card-cross::after { content: ""; position: absolute; background: #2F6BD6; }
.card-cross::before { left: 5px; top: 0; width: 6px; height: 16px; }
.card-cross::after { top: 5px; left: 0; width: 16px; height: 6px; }
.s-card h2 { padding: 18px 24px 0; font: 800 26px/1.12 var(--display); letter-spacing: -.02em; }
.card-p { padding: 10px 24px 0; font-size: 15.5px; color: var(--ink-2); }
.appts { margin: 14px 24px 0; border-top: 2px solid var(--ink); }
.appts li { display: grid; grid-template-columns: 96px 1fr 28px; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(15, 26, 43, .3); }
.appts li::after { content: ""; width: 22px; height: 22px; border: 2px solid rgba(15, 26, 43, .45); border-radius: 3px; justify-self: end; }
.appts li:first-child::after { border-color: #2F6BD6; background: radial-gradient(circle, #2F6BD6 0 4px, transparent 4.5px); }
.appt-k { font: 600 10px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.appts b { font: 700 17px/1.1 var(--display); letter-spacing: -.01em; }
.appt-glow b { color: #B07A00; text-shadow: 0 0 12px rgba(255, 200, 60, .55); }
.appts li.appt-glow::after { border: 0; background: none; content: "✦"; color: #E3A400; font-size: 22px; line-height: 1; text-align: center; }
.card-fine { padding: 10px 24px 0; font-size: 13.5px; color: var(--ink-2); }
.card-fade { margin: 16px 0 0; padding: 16px 24px 0; border-top: 2px dashed rgba(15, 26, 43, .25); }
.card-fade h3 { font: 700 16px/1.2 var(--display); }
.card-fade p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.card-fade .tix { margin-top: 12px; }

/* ---------- 6 · NEIGHBORS · felt letter board ---------- */
.s-felt {
  position: relative; padding: 22px 26px 20px; color: #fff;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 2px, rgba(0,0,0,.18) 2px 3px, transparent 3px 10px), var(--felt);
  border: 12px solid var(--oak); border-radius: 3px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4), 0 4px 0 #8D6036;
}
.s-felt .lit { inset: -12px; }
.felt-top { font: 600 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.s-felt h2 { margin-top: 12px; font: 700 26px/1.12 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.felt-p { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.78); }
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 14px; }
.cast-btn { display: flex; align-items: baseline; gap: 6px; width: 100%; min-height: 32px; padding: 6px 0; text-align: left; color: #fff; }
.cast-name { font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.cast-dots { flex: 1; border-bottom: 2px dotted rgba(255,255,255,.28); transform: translateY(-3px); }
.cast-place { font: 400 10.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.cast-btn:hover .cast-name, .cast-btn.is-on .cast-name, .cast-btn:focus-visible .cast-name { color: var(--warn); }
.cast-btn.is-on .cast-name::before { content: "▸ "; }
.cast-line { margin-top: 14px; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.18); font-size: 15px; min-height: 48px; color: rgba(255,255,255,.75); }
.cast-line b { font-family: var(--display); font-weight: 700; color: var(--warn); letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.cast-q { font-style: italic; color: rgba(255,255,255,.6); }
.cast-say { display: block; margin-top: 4px; color: #fff; font-size: 16px; }

/* ---------- 7 · SHIFT · cardboard shop sign ---------- */
.s-kraft {
  position: relative; padding: 24px 26px 20px;
  background: radial-gradient(120% 80% at 50% 0, rgba(255,240,210,.18), transparent 60%), var(--noise), var(--kraft);
  border-radius: 2px; box-shadow: 0 4px 0 #94693A;
}
.s-kraft::before, .s-kraft::after { content: ""; position: absolute; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: #F5EBDA; box-shadow: inset 0 0 0 3px #E9D7B8, 0 0 0 2px rgba(0,0,0,.08); }
.s-kraft::before { left: 18%; } .s-kraft::after { right: 18%; }
.kraft-top { font: 700 10.5px/1.3 var(--display); letter-spacing: .09em; text-transform: uppercase; color: #4A2F14; text-align: center; margin-top: 4px; }
.s-kraft h2 { margin-top: 10px; font: 800 25px/1.12 var(--display); letter-spacing: -.02em; text-align: center; }
.kraft-p { margin-top: 10px; font-size: 15px; color: #3A2410; text-align: center; }
.shop { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; margin-top: 16px; }
.order { position: relative; padding: 10px 12px 12px; background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(0,0,0,.18); transform: rotate(-2deg); text-align: center; }
.order::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 7px; background: radial-gradient(circle at 5px 0, var(--paper) 4.5px, transparent 5px) 0 0 / 10px 7px repeat-x; }
.order-k { font: 700 10px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px dashed rgba(15,26,43,.3); padding-bottom: 6px; }
.order img { width: 84px; height: 84px; object-fit: contain; margin: 8px auto 4px; }
.shop-ask { font-size: 13px; line-height: 1.3; color: var(--ink-2); min-height: 34px; }
.shop-play { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shop-word { display: flex; gap: 6px; }
.slot { display: grid; place-items: center; width: 34px; height: 40px; font: 800 20px/1 var(--display); background: rgba(255, 252, 245, .35); border-bottom: 3px solid var(--ink); }
.slot.in { background: var(--paper); animation: drop .3s cubic-bezier(.3,1.6,.5,1); }
@keyframes drop { from { transform: translateY(-10px); } }
.wheel { position: relative; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, #B88550 0 22px, transparent 23px), var(--noise), #E9C48E; box-shadow: inset 0 0 0 3px rgba(0,0,0,.08), 0 4px 0 #94693A; }
.wl { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; transform: translate(var(--x), var(--y)); border-radius: 50%; background: var(--paper); box-shadow: 0 3px 0 rgba(0,0,0,.2); font: 800 17px/1 var(--display); color: var(--ink); }
.wl:hover { background: #fff; transform: translate(var(--x), var(--y)) scale(1.08); }
.wl[disabled] { opacity: .25; cursor: default; }
.wl.nope { animation: nope .35s ease; background: #FFD6D6; }
@keyframes nope { 30% { transform: translate(calc(var(--x) - 4px), var(--y)); } 60% { transform: translate(calc(var(--x) + 4px), var(--y)); } }
.flagline { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 2px dashed rgba(58, 36, 16, .3); }
.flagbar { display: flex; gap: 3px; flex: none; }
.flagbar i { width: 13px; height: 17px; background: rgba(58, 36, 16, .2); clip-path: polygon(0 0, 100% 0, 100% 78%, 75% 100%, 50% 78%, 25% 100%, 0 78%); }
.flagbar i.on:nth-child(4n+1) { background: var(--pink); } .flagbar i.on:nth-child(4n+2) { background: #FFC93C; }
.flagbar i.on:nth-child(4n+3) { background: var(--teal); } .flagbar i.on:nth-child(4n+4) { background: #8BD346; }
#shopFlags { font-size: 13.5px; color: #3A2410; }

/* ---------- 8 · NO GUILT · door hanger ---------- */
.s-hanger {
  position: relative; padding: 92px 26px 26px; text-align: center;
  background: var(--noise), #FFB3CF; border-radius: 60px 60px 6px 6px;
  -webkit-mask: radial-gradient(circle 27px at 50% 50px, transparent 26px, #000 27px); mask: radial-gradient(circle 27px at 50% 50px, transparent 26px, #000 27px);
}
.hanger-hole { position: absolute; left: 50%; top: 50px; width: 6px; height: 40px; margin-left: -3px; background: rgba(0,0,0,0); }
.hanger-top { font: 700 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #7A1E45; }
.s-hanger h2 { margin-top: 12px; font: 900 32px/1.04 var(--display); letter-spacing: -.03em; }
.nope { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 16px; }
.nope li { font: 700 14px/1.5 var(--display); color: var(--ink); }
.nope s { text-decoration-thickness: 3px; text-decoration-color: #C2185B; }
.hanger-p { margin-top: 14px; font-size: 15px; }
.hanger-fine { margin-top: 12px; font-size: 13px; color: #6B2A45; font-style: italic; }

/* ---------- 9 · MEX · bus stop ---------- */
.s-bus { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bus-disc {
  display: grid; place-content: center; text-align: center; width: 128px; height: 128px; border-radius: 50%; color: #fff;
  background: var(--noise-w), var(--bus); box-shadow: inset 0 0 0 5px var(--bus), inset 0 0 0 8px #fff, 0 4px 0 #075452;
}
.bus-disc span { font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.bus-disc b { margin-top: 6px; font: 900 24px/1 var(--display); letter-spacing: -.02em; }
.bus-plate { position: relative; width: 100%; padding: 0 0 18px; background: var(--paper) var(--noise); border-radius: 6px; box-shadow: inset 0 0 0 3px var(--bus), 0 4px 0 #C9C2B2; overflow: hidden; }
.bus-k { padding: 12px 22px; background: var(--bus); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.bus-plate h2 { padding: 16px 22px 0; font: 800 24px/1.12 var(--display); letter-spacing: -.02em; }
.route { position: relative; display: flex; justify-content: space-between; margin: 18px 30px 0; }
.route::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 5px; background: var(--bus); border-radius: 3px; }
.route li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.route li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--bus); }
.route b { font: 800 14px/1 var(--display); }
.bus-p { padding: 14px 22px 0; font-size: 15px; color: var(--ink-2); }
.mex-words { margin: 12px 22px 0; border-top: 1px solid rgba(15,26,43,.2); }
.mex-words div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(15,26,43,.12); }
.mex-words dt { font: 700 15px/1.2 var(--display); color: var(--bus); }
.mex-words dd { font-size: 14px; line-height: 1.35; }
.bus-links-h { padding: 12px 22px 0; font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.bus-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 22px 0; }
.bus-links a { font-size: 14.5px; font-weight: 700; text-underline-offset: 3px; padding: 4px 0; }

/* ---------- 10 · AI · historical marker ---------- */
.s-marker {
  position: relative; padding: 70px 34px 34px; text-align: center; color: #FBF1D6;
  background: var(--noise-w), var(--marker);
  clip-path: polygon(0 34px, 9% 34px, 14% 10px, 36% 10px, 42% 0, 58% 0, 64% 10px, 86% 10px, 91% 34px, 100% 34px, 100% 100%, 0 100%);
}
.s-marker::before { content: ""; position: absolute; inset: 46px 12px 12px; border: 2px solid var(--gold); pointer-events: none; }
.marker-top { font: 700 11px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.s-marker h2 { margin-top: 14px; font: 800 26px/1.15 var(--display); letter-spacing: -.01em; color: var(--gold); }
.marker-facts { margin-top: 18px; text-align: left; border-top: 1px solid rgba(241, 212, 138, .45); }
.marker-facts div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(241, 212, 138, .25); }
.marker-facts dt { font: 600 11px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.marker-facts dd { font-size: 15.5px; line-height: 1.4; }

/* ---------- 11 · PRICE · valance + two hanging tags ---------- */
.s-tags { position: relative; }
.valance {
  position: relative; padding: 20px 28px 30px; text-align: center; color: #fff;
  background: var(--noise-w), var(--navy);
  -webkit-mask: radial-gradient(circle 14px at 50% 100%, transparent 13.5px, #000 14px) 0 0 / 40px 100%, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 14px) no-repeat;
  mask: radial-gradient(circle 14px at 50% 100%, transparent 13.5px, #000 14px) 0 0 / 40px 100%, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 14px) no-repeat;
}
.valance-k { font: 600 10.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.valance h2 { margin-top: 8px; font: 900 34px/1.05 var(--display); letter-spacing: -.03em; }
.valance-p { margin-top: 8px; font-size: 15.5px; color: rgba(255,255,255,.85); }
.tags { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 0 12px; }
.tag { position: relative; margin-top: 52px; padding: 36px 20px 18px; isolation: isolate; filter: drop-shadow(0 3px 0 rgba(0,0,0,.2)); }
.tag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise), var(--tc, var(--manila)); clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px); }
.tag::after { /* the string up to the valance */ content: ""; position: absolute; left: 50%; bottom: calc(100% - 18px); width: 2px; height: 70px; background: #F4EFE6; transform-origin: 50% 100%; transform: rotate(var(--sr, -6deg)); z-index: -2; }
.tag-free { --sr: 7deg; transform: rotate(-2deg); }
.tag-plus { --tc: var(--mint); --sr: -5deg; transform: rotate(1.5deg); }
.tag-hole { position: absolute; left: 50%; top: 12px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(255,255,255,.75); opacity: .9; }
.tag-k { font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.tag h3 { margin-top: 8px; text-align: center; font: 600 15px/1.1 var(--display); }
.tag .big { display: block; font: 900 46px/1 var(--display); letter-spacing: -.04em; }
.tag-sub { margin-top: 6px; text-align: center; font-size: 13.5px; font-weight: 700; }
.tag ul { margin-top: 12px; border-top: 1px dashed rgba(15,26,43,.35); }
.tag li { padding: 7px 0 7px 20px; position: relative; font-size: 14.5px; line-height: 1.3; border-bottom: 1px dashed rgba(15,26,43,.2); }
.tag li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); }
.tag-foot { margin-top: 10px; font-size: 12.5px; color: var(--ink-2); text-align: center; }
.price-sum { margin: 18px auto 0; max-width: 92%; padding: 10px 14px 12px; font-size: 13px; line-height: 1.4; text-align: center; background: var(--paper) var(--noise); box-shadow: 0 2px 0 rgba(0,0,0,.15); transform: rotate(-.4deg); }

/* ---------- 12 · FAQ · tear-off flyers ---------- */
.s-flyers { position: relative; padding: 22px 22px 26px; background: var(--noise), #86C6E8; border: 10px solid #F4EFE6; box-shadow: 0 4px 0 #C9C2B2; }
.s-flyers .lit { inset: -10px; }
.flyers-head { text-align: center; }
.flyers-k { font: 700 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #12415C; }
.flyers-head h2 { margin-top: 8px; font: 900 30px/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); }
.flyers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 16px; margin-top: 20px; align-items: start; }
.flyer { position: relative; padding: 22px 14px 40px; background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(0,0,0,.15); transform: rotate(var(--r, 0deg)); }
.flyer::before { /* tape */ content: ""; position: absolute; left: 50%; top: -9px; width: 62px; height: 20px; margin-left: -31px; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(255,255,255,.35); transform: rotate(-3deg); }
.flyer::after { /* tear-off fringe */ content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; border-top: 1.5px dashed rgba(15,26,43,.35); background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(15,26,43,.25) 15px 16.5px); }
.f1 { --r: -1.4deg; } .f2 { --r: 1deg; background-color: #FFF2A6; } .f3 { --r: -.5deg; background-color: #FFD9E6; }
.f4 { --r: .9deg; background-color: #E2F6D6; } .f5 { --r: -1deg; } .f6 { --r: 1.6deg; background-color: #FFE3C4; }
.flyer h3 { font: 800 15.5px/1.2 var(--display); letter-spacing: -.01em; }
.flyer p { margin-top: 8px; font-size: 14.5px; line-height: 1.42; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 6; background: var(--navy); color: #fff; }
.foot-in { max-width: 1100px; margin: 0 auto; padding: 48px 24px 56px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.foot-brand { font: 800 22px/1 var(--display); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { font-size: 15px; text-decoration: none; opacity: .85; }
.foot nav a:hover { opacity: 1; text-decoration: underline; }
.foot-h { font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
.foot-note { grid-column: 1 / -1; font-size: 13px; opacity: .65; max-width: 640px; }

/* ---------- no WebGL: the signs simply stand in a column ---------- */
/* flat column: no JS (no class), no WebGL (.no-webgl) or reduced motion (.flat) — the same boards, top to bottom */
html:not(.has-webgl) .sec { padding: 72px var(--gut); display: flex; justify-content: center; }
html:not(.has-webgl) .sign { position: relative; max-width: 100%; }
html:not(.has-webgl) .sec:first-child { padding-top: 110px; }
html:not(.has-webgl) .more-tab { display: none !important; }

/* ======================================================================
   phone
   ====================================================================== */
@media (max-width: 759px) {
  .top { height: 56px; padding: 0 12px; gap: 8px; }
  .brand { height: 36px; font-size: 16px; padding: 0 10px 0 8px; }
  .here { height: 36px; padding: 0 10px; margin-left: auto; gap: 6px; }
  .here-es { font-size: 11px; }
  .here-en { font-size: 11px; }
  .top-nav, .top-cta { display: none; }

  .plank > span { font-size: 38px; padding: 9px 36px 10px 14px; clip-path: polygon(0 3%, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 97%); }
  .plank-b > span { padding: 9px 14px 10px 34px; clip-path: polygon(24px 0, 100% 3%, 100% 97%, 24px 100%, 0 50%); }
  .plank-b { transform: rotate(1.6deg) translateX(8px); }
  .plank { filter: drop-shadow(0 4px 0 var(--wood-d)); }
  .s-post { gap: 7px; }
  .plank-tag { font-size: 8.5px; padding: 7px 8px 6px; letter-spacing: .06em; }
  .notice { padding: 13px 14px 12px; margin-top: 4px; }
  .nail { top: 6px; left: 7px; width: 5px; height: 5px; } .nail-r { left: auto; right: 7px; }
  .hero-h1 { font-size: 17px; }
  .lede { font-size: 13.5px; margin-top: 6px; line-height: 1.42; }
  .acts { gap: 4px 8px; margin-top: 6px; flex-wrap: wrap; }
  .tix { min-height: 44px; font-size: 13px; padding: 0 26px 0 14px; }
  .tix::after { right: 10px; }
  .lnk { font-size: 12.5px; }
  .acts .lnk { padding: 12px 8px; }
  .s-final .plank > span { font-size: 34px; }
  .s-final .final-h { gap: 6px; }
  .plank > span { font-size: 34px; }
  .postcard { padding: 14px 14px 12px; margin-top: 8px; }
  .postcard::before { width: 40px; height: 48px; right: 12px; top: 12px; background-size: auto, 20px 9px, auto; }
  .final-p { font-size: 13.5px; max-width: calc(100% - 52px); }
  .notify-row input { font-size: 16px; height: 42px; }

  .s-chalk { padding: 16px 16px 14px; border-width: 10px; }
  .s-chalk .lit { inset: -10px; }
  .chalk-kicker { font-size: 9px; } .chalk-kicker span { font-size: 16px; }
  .s-chalk h2 { font-size: 20px; margin-top: 8px; }
  .chalk-scene { font-size: 14px; margin-top: 6px; }
  .demo { margin-top: 10px; padding-top: 10px; }
  .demo-row { gap: 8px 12px; }
  .chalk-btn { font-size: 13.5px; }
  .chalk-btn svg { width: 38px; height: 38px; }
  .demo-hidden { font-size: 12.5px; }
  .demo-form { margin-top: 8px; }
  .chalk-label { font-size: 9px; }
  .demo-line { gap: 8px; flex-wrap: wrap; }
  .demo-line input { flex-basis: 100%; height: 42px; font-size: 17px; }
  .demo-feedback { font-size: 14px; }
  .demo-phrase { font-size: 32px; }
  .demo-react { font-size: 14px; }
  .chalk-fine { font-size: 11.5px; margin-top: 10px; }

  .s-warn { padding: 18px 18px 0; border-radius: 10px; box-shadow: inset 0 0 0 5px var(--warn), inset 0 0 0 7.5px var(--ink), 0 4px 0 #B98E14; }
  .screw { left: 12px; top: 12px; width: 6px; height: 6px; } .screw-r { left: auto; right: 12px; } .screw-b { top: auto; bottom: 12px; }
  .warn-top { font-size: 10px; gap: 8px; } .warn-ico { width: 22px; height: 20px; font-size: 12px; padding-top: 5px; }
  .warn-h { margin-top: 10px; }
  .warn-thumb { font-size: 16px; } .warn-mouth { font-size: 30px; }
  .warn-p { font-size: 14px; margin-top: 10px; }
  .warn-foot { margin: 14px -18px 0; padding: 11px 18px 13px; }
  .warn-foot b { font-size: 13px; } .warn-foot span { font-size: 9px; }

  .s-cork { padding: 12px 12px 14px; border-width: 9px; }
  .s-cork .lit { inset: -9px; }
  .cork-head { padding: 10px 12px 12px; }
  .cork-kicker { font-size: 9px; }
  .cork-head h2 { font-size: 18px; }
  .cork-head { margin-right: 0; }
  .cork-warm { position: relative; right: auto; top: auto; width: auto; margin-top: 10px; padding: 8px 10px; font-size: 12px; transform: rotate(-.6deg); }
  .notes { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .note { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 10px 12px 10px 10px; }
  .note-n { grid-row: span 2; font-size: 22px; }
  .note h3 { margin-top: 0; font-size: 13px; }
  .note p { margin-top: 3px; font-size: 12.5px; line-height: 1.35; }
  .note::before { top: -5px; width: 10px; height: 10px; margin-left: -5px; }

  .s-card { padding-bottom: 14px; }
  .card-kicker { padding: 11px 16px; font-size: 9px; }
  .s-card h2 { padding: 12px 16px 0; font-size: 19px; }
  .card-p { padding: 6px 16px 0; font-size: 13.5px; }
  .appts { margin: 10px 16px 0; }
  .appts li { grid-template-columns: 74px 1fr 22px; padding: 6px 0; gap: 6px; }
  .appts li::after { width: 18px; height: 18px; }
  .appts b { font-size: 14px; } .appt-k { font-size: 8.5px; }
  .card-fine { padding: 8px 16px 0; font-size: 12px; }
  .card-fade { padding: 10px 16px 0; margin-top: 10px; }
  .card-fade h3 { font-size: 13.5px; } .card-fade p { font-size: 12.5px; }
  .card-fade .tix { margin-top: 8px; }

  .s-felt { padding: 14px 14px 12px; border-width: 9px; }
  .s-felt .lit { inset: -9px; }
  .felt-top { font-size: 9px; }
  .s-felt h2 { font-size: 17px; margin-top: 8px; }
  .felt-p { font-size: 12.5px; margin-top: 6px; }
  .cast { gap: 0 12px; margin-top: 8px; }
  .cast-btn { min-height: 30px; padding: 5px 0; }
  .cast-name { font-size: 10.5px; letter-spacing: .06em; }
  .cast-place { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
  .cast-line { margin-top: 8px; padding-top: 8px; font-size: 13px; min-height: 40px; }
  .cast-say { font-size: 14px; }

  .s-kraft { padding: 18px 14px 12px; }
  .kraft-top { font-size: 8.5px; }
  .s-kraft h2 { font-size: 18px; margin-top: 6px; }
  .kraft-p { font-size: 12.5px; margin-top: 6px; }
  .shop { grid-template-columns: 104px 1fr; gap: 10px; margin-top: 10px; }
  .order { padding: 8px 8px 10px; }
  .order img { width: 60px; height: 60px; }
  .shop-ask { font-size: 11.5px; min-height: 30px; }
  .slot { width: 26px; height: 32px; font-size: 16px; }
  .shop-word { gap: 4px; }
  .wheel { width: 128px; height: 128px; }
  .wl { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 15px; }
  .flagline { margin-top: 10px; padding-top: 8px; gap: 8px; flex-wrap: wrap; }
  #shopFlags { font-size: 12px; }

  .s-hanger { padding: 74px 18px 18px; border-radius: 50px 50px 6px 6px; -webkit-mask: radial-gradient(circle 21px at 50% 40px, transparent 20px, #000 21px); mask: radial-gradient(circle 21px at 50% 40px, transparent 20px, #000 21px); }
  .hanger-top { font-size: 9.5px; }
  .s-hanger h2 { font-size: 24px; margin-top: 8px; }
  .nope { gap: 0 10px; margin-top: 10px; } .nope li { font-size: 12px; }
  .hanger-p { font-size: 13.5px; margin-top: 10px; }
  .hanger-fine { font-size: 12px; margin-top: 8px; }

  .s-bus { gap: 12px; }
  .bus-disc { width: 84px; height: 84px; }
  .bus-disc span { font-size: 8px; } .bus-disc b { font-size: 16px; margin-top: 4px; }
  .bus-plate { padding-bottom: 12px; }
  .bus-k { padding: 9px 14px; font-size: 9px; }
  .bus-plate h2 { padding: 10px 14px 0; font-size: 17px; }
  .route { margin: 12px 18px 0; }
  .route::before { top: 8px; height: 4px; }
  .route li::before { width: 20px; height: 20px; border-width: 4px; }
  .route b { font-size: 12px; }
  .bus-p { padding: 10px 14px 0; font-size: 12.5px; }
  .mex-words { margin: 8px 14px 0; }
  .mex-words div { grid-template-columns: 70px 1fr; padding: 5px 0; gap: 6px; }
  .mex-words dt { font-size: 12.5px; } .mex-words dd { font-size: 12px; }
  .bus-links-h { padding: 8px 14px 0; font-size: 9px; }
  .bus-links { padding: 4px 14px 0; gap: 0 12px; }
  .bus-links a { font-size: 12.5px; }

  .s-marker { padding: 50px 18px 22px; clip-path: polygon(0 26px, 9% 26px, 14% 8px, 36% 8px, 42% 0, 58% 0, 64% 8px, 86% 8px, 91% 26px, 100% 26px, 100% 100%, 0 100%); }
  .s-marker::before { inset: 34px 8px 8px; }
  .marker-top { font-size: 9px; letter-spacing: .14em; }
  .s-marker h2 { font-size: 18px; margin-top: 8px; }
  .marker-facts { margin-top: 12px; }
  .marker-facts div { grid-template-columns: 1fr; gap: 2px; padding: 7px 2px; }
  .marker-facts dt { font-size: 9px; } .marker-facts dd { font-size: 13.5px; }

  .valance { padding: 14px 14px 26px; }
  .valance-k { font-size: 8.5px; }
  .valance h2 { font-size: 22px; margin-top: 6px; }
  .valance-p { font-size: 12.5px; margin-top: 6px; }
  .tags { gap: 10px; padding: 0 2px; }
  .tag { margin-top: 36px; padding: 28px 10px 12px; }
  .tag::after { height: 50px; }
  .tag-hole { top: 9px; width: 12px; height: 12px; margin-left: -6px; box-shadow: 0 0 0 3px rgba(255,255,255,.75); }
  .tag-k { font-size: 9px; }
  .tag h3 { font-size: 11.5px; margin-top: 6px; }
  .tag .big { font-size: 30px; }
  .tag-sub { font-size: 11px; }
  .tag ul { margin-top: 8px; }
  .tag li { font-size: 11.5px; padding: 5px 0 5px 14px; }
  .tag li::before { top: 8px; width: 7px; height: 4px; border-width: 2px; }
  .tag-foot { font-size: 10.5px; margin-top: 6px; }
  .price-sum { font-size: 11.5px; margin-top: 12px; padding: 8px 10px; }

  .s-flyers { padding: 14px 12px 16px; border-width: 7px; }
  .s-flyers .lit { inset: -7px; }
  .flyers-k { font-size: 8.5px; }
  .flyers-head h2 { font-size: 20px; }
  .flyers { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .flyer { padding: 14px 12px 28px; }
  .flyer::after { height: 18px; }
  .flyer h3 { font-size: 13.5px; } .flyer p { font-size: 13px; margin-top: 4px; }

  .foot-in { grid-template-columns: 1fr; padding: 36px 16px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .tix, .note, .slot.in { transition: none; animation: none; }
}

/* snap to each stop's arrival point; a toast for residents clicked away from the neighbors stop */
html.has-webgl { scroll-snap-type: y proximity; }
.toast { position: fixed; left: 50%; bottom: 18px; z-index: 40; max-width: min(92vw, 480px); padding: 12px 16px; transform: translate(-50%, 140%) rotate(-1deg);
  background: var(--paper) var(--noise); box-shadow: 0 3px 0 rgba(15, 26, 43, .25); font-size: 15px; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.toast.on { transform: translate(-50%, 0) rotate(-1deg); }
.toast b { font-family: var(--display); font-size: 13px; }
.lit { background: linear-gradient(rgba(255, 150, 90, calc(var(--warm, 0) * .22)), rgba(255, 150, 90, calc(var(--warm, 0) * .22))), linear-gradient(var(--la, 100deg), rgba(255, 255, 255, 0) 30%, rgba(var(--shc, 40, 30, 70), var(--sh, 0)) 100%); }
.s-post > .lit, .s-tags > .lit, .s-bus > .lit { display: none; }
/* paper notices: a lifted corner so they read as sheets, not panels */
.notice::after, .postcard::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px;
  background: linear-gradient(135deg, rgba(0,0,0,.0) 0 48%, #E6DCCB 50% 100%); box-shadow: -2px -2px 3px rgba(0,0,0,.08); clip-path: polygon(100% 0, 0 100%, 100% 100%); }
.notice, .postcard { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.plank-tag { text-wrap: balance; }
.lnk { white-space: nowrap; }
@media (max-width: 759px) { .notice::after, .postcard::after { width: 18px; height: 18px; } .notice, .postcard { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); } }
@media (max-width: 759px) { .tix-static { font-size: 10px; padding: 5px 9px; margin: 8px 0 2px; border-width: 2px; } }

/* ======================================================================
   v2 · picture wall, word-trainer shelf, merged hanger, FAQ link
   ====================================================================== */
/* ---------- 3 · PICTURES · gallery wall on the malecón ---------- */
.s-wall {
  position: relative; padding: 24px 26px 22px;
  background: radial-gradient(70% 60% at 20% 10%, rgba(255,255,255,.16), transparent 70%), var(--noise-w), var(--noise), #EDAA3E;
  border-radius: 2px; box-shadow: inset 0 -10px 0 rgba(120, 60, 10, .12), 0 4px 0 #A8721F;
}
.wall-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6px 28px; align-items: end; }
.wall-k { grid-column: 1 / -1; font: 700 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #6B3A06; }
.wall-head h2 { font: 900 36px/1.02 var(--display); letter-spacing: -.035em; }
.wall-p { font-size: 15.5px; line-height: 1.45; color: #3B2205; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.poster { position: relative; padding: 9px 9px 12px; background: var(--paper) var(--noise); border: 5px solid #1C1B22; box-shadow: 0 4px 0 rgba(60, 30, 0, .35); transform: rotate(var(--r, 0deg)); }
.poster:nth-child(1) { --r: -1.4deg; } .poster:nth-child(2) { --r: 1deg; } .poster:nth-child(3) { --r: -.6deg; } .poster:nth-child(4) { --r: 1.5deg; }
.poster::before { /* nail + string */ content: ""; position: absolute; left: 50%; top: -24px; width: 44px; height: 20px; margin-left: -22px;
  background: radial-gradient(circle at 50% 3px, #7B7F88 0 3.5px, transparent 4px), linear-gradient(to top right, transparent 48%, rgba(28,27,34,.6) 49% 52%, transparent 53%) 0 0 / 50% 100% no-repeat, linear-gradient(to top left, transparent 48%, rgba(28,27,34,.6) 49% 52%, transparent 53%) 100% 0 / 50% 100% no-repeat; }
.poster figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #EEE6D6; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-es { margin-top: 10px; font: 800 16px/1.15 var(--display); letter-spacing: -.01em; }
.poster-en { margin-top: 2px; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.poster-trick { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(15,26,43,.3); font-size: 13px; line-height: 1.35; }
.poster-trick b { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.wall-more { margin-top: 18px; font-size: 14px; color: #3B2205; }
.wall-more span { font-family: var(--display); font-weight: 700; font-size: 13px; }

/* ---------- 6 · WORDS · shelf of words coming back ---------- */
.shelf { margin-top: 16px; padding-top: 12px; border-top: 2px dashed rgba(58, 36, 16, .3); }
.shelf-k { font: 700 10.5px/1.3 var(--display); letter-spacing: .09em; text-transform: uppercase; color: #4A2F14; text-align: center; }
.shelf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; padding-bottom: 6px; border-bottom: 9px solid var(--wood-d); box-shadow: 0 3px 0 #4E2F16; }
.shelf-row li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.shelf-row img { width: 44px; height: 44px; object-fit: contain; }
.shelf-row b { font: 800 13px/1.1 var(--display); }
.shelf-row span { font: 600 10px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #4A2F14; background: var(--paper); padding: 4px 6px 3px; transform: rotate(-2deg); }
.s-kraft h2 { font-size: 34px; }

/* ---------- 8 · NO GUILT + the word bank ---------- */
.hanger-thumb { margin: 18px -26px 0; padding: 16px 26px 4px; border-top: 2px dashed rgba(122, 30, 69, .35); }
.hanger-k { font: 700 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #7A1E45; }
.hanger-big { margin-top: 10px; font: 900 25px/1.05 var(--display); letter-spacing: -.03em; }
.hanger-big span { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.01em; margin-bottom: 2px; }
.hanger-p2 { margin-top: 8px; font-size: 14px; }

/* ---------- 11 · FAQ link to /how-we-check ---------- */
.flyer-link { display: inline-block; margin-top: 8px; font: 700 13px/1 var(--display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 6px 0; }
.flyer-link:hover { text-decoration-thickness: 3px; }

@media (max-width: 759px) {
  .s-wall { padding: 14px 12px 14px; }
  .wall-head { grid-template-columns: 1fr; }
  .wall-k { font-size: 8.5px; }
  .wall-head h2 { font-size: 22px; }
  .wall-p { font-size: 12.5px; line-height: 1.4; }
  .posters { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .poster { display: grid; grid-template-columns: 112px 1fr; column-gap: 10px; padding: 6px; border-width: 3px; }
  .poster::before { display: none; }
  .poster figure { grid-row: span 3; align-self: start; }
  .poster-es { margin-top: 0; font-size: 13px; }
  .poster-en { font-size: 11.5px; }
  .poster-trick { margin-top: 3px; padding-top: 3px; font-size: 11px; line-height: 1.3; }
  .poster-trick b { font-size: 10px; }
  .wall-more { margin-top: 10px; font-size: 11.5px; } .wall-more span { font-size: 11px; }
  .s-kraft h2 { font-size: 24px; }
  .shelf { margin-top: 10px; padding-top: 8px; }
  .shelf-k { font-size: 8.5px; }
  .shelf-row img { width: 32px; height: 32px; }
  .shelf-row b { font-size: 11px; } .shelf-row span { font-size: 8px; }
  .hanger-thumb { margin: 12px -18px 0; padding: 10px 18px 2px; }
  .hanger-k { font-size: 8.5px; }
  .hanger-big { font-size: 19px; } .hanger-big span { font-size: 14px; }
  .hanger-p2 { font-size: 12.5px; }
  .flyer-link { font-size: 12px; }
}
@media (min-width: 760px) {
  .posters { gap: 22px; }
  .poster-es { font-size: 18px; }
  .poster-en { font-size: 14.5px; }
  .poster-trick { font-size: 14px; }
  .poster-trick b { font-size: 13px; }
  .wall-head h2 { font-size: 40px; }
  .wall-p { font-size: 16.5px; }
  .wall-more { font-size: 15px; }
}
@media (min-width: 760px) { .posters { margin-top: 32px; } }

/* ======================================================================
   v3 · prescription card (why it works), hanger headline, 7th flyer
   ====================================================================== */
.s-rx { background: var(--paper) var(--noise); }
.s-rx h2 { font-size: 30px; }
.s-rx h2::before { content: "℞"; display: inline-block; margin-right: 10px; font: 400 30px/1 Georgia, serif; color: #2F6BD6; transform: translateY(1px); }
.rx { margin: 12px 24px 0; counter-reset: rx; border-top: 2px solid var(--ink); }
.rx > li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed rgba(15, 26, 43, .3); counter-increment: rx; }
.rx > li::before { content: counter(rx); position: absolute; left: 0; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #2F6BD6; border-radius: 50%; font: 800 11px/1 var(--display); color: #2F6BD6; }
.rx-what { font: 800 15.5px/1.2 var(--display); letter-spacing: -.01em; }
.rx-do { margin-top: 3px; font-size: 14.5px; line-height: 1.4; }
.rx-do b { font-weight: 700; color: #2F6BD6; }
.rx-cite { display: inline-block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(47, 107, 214, .5); text-underline-offset: 2px; }
.rx-cite:hover { color: #2F6BD6; }
.ladder { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ladder li { font: 700 10px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding: 5px 7px 4px; border: 1.5px solid rgba(15, 26, 43, .5); border-radius: 2px; }
.ladder li:first-child { border-color: #2F6BD6; color: #2F6BD6; }
.ladder li + li::before { content: "→ "; color: rgba(15, 26, 43, .45); }
.ladder-glow { color: #8A5D00; border-color: #E3A400 !important; background: #FFF2C2; }
.rx-foot { padding: 10px 24px 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.rx-foot a { text-underline-offset: 2px; }
.s-rx .card-fade { margin-top: 12px; }
.nope-line { margin-top: 12px; font: 700 14px/1.4 var(--display); letter-spacing: .01em; color: #7A1E45; }
.flyers { grid-template-columns: repeat(4, 1fr); }
.f7 { --r: -1.2deg; background-color: #DDEFFF; }
@media (max-width: 759px) {
  .s-rx h2 { font-size: 21px; } .s-rx h2::before { font-size: 22px; margin-right: 6px; }
  .rx { margin: 8px 16px 0; }
  .rx > li { padding: 8px 0 8px 26px; }
  .rx > li::before { width: 18px; height: 18px; top: 8px; font-size: 9.5px; }
  .rx-what { font-size: 13px; } .rx-do { font-size: 12.5px; line-height: 1.35; } .rx-cite { font-size: 10.5px; }
  .ladder li { font-size: 8px; padding: 4px 5px 3px; }
  .rx-foot { padding: 8px 16px 0; font-size: 11px; }
  .nope-line { font-size: 12px; margin-top: 8px; }
  .flyers { grid-template-columns: 1fr; }
}
@media (min-width: 760px) {
  .rx { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .rx > li:nth-child(2) { grid-row: span 1; }
}

/* ======================================================================
   v4 · phone layer — each stop: headline + a few words + one action; the rest lives behind "More"
   ====================================================================== */
.more-tab, .sheet-x, .deck-nav, .stops, .sheet-back { display: none; }

@media (max-width: 759px) {
  /* header: brand · street plate · (after the hero) a small ticket. Under it: 12 dots, tap to jump */
  .top { height: 56px; }
  .here-en { display: none; }
  .here-es { font-size: 14px; letter-spacing: .06em; }
  .top-cta { display: none; }
  body.past-hero .top-cta { display: inline-flex; margin-left: 6px; min-height: 40px; font-size: 14px; padding: 0 24px 0 12px; }
  body.past-hero .brand { font-size: 0; gap: 0; padding: 0 9px; }
  body.past-hero .here { margin-left: 6px; }
  .stops { display: flex; position: absolute; left: 10px; right: 10px; top: 54px; height: 30px; align-items: center; }
  .stops::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; margin-top: -1px; background: rgba(15, 26, 43, .28); border-radius: 2px; }
  .stops a { position: relative; flex: 1; height: 44px; display: grid; place-items: center; }
  .stops i { width: 8px; height: 8px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 2px rgba(15, 26, 43, .45); transition: transform .2s ease, background .2s ease; }
  .stops a.on i { background: var(--navy); box-shadow: 0 0 0 2.5px #fff, 0 0 0 4px var(--navy); transform: scale(1.25); }

  /* collapsed boards hide their extra text; it stays in the HTML and opens with "More" */
  .has-webgl .sign:not(.is-open) .m-more { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; }
  .sign:not(.is-open) .m-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pins { display: none; }

  .more-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 4px; margin-left: auto;
    font: 700 15px/1 var(--display); color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .sign > .more-tab { display: flex; margin: 6px 0 -6px auto; }
  .sign.is-open .more-tab { display: none !important; }
  .sheet-x { position: sticky; top: 0; z-index: 12; float: right; width: 44px; height: 44px; margin: -6px -8px 0 6px; border-radius: 50%; font: 700 20px/44px var(--text); text-align: center; color: inherit; background: rgba(255,255,255,.18); }
  .sign.is-open .sheet-x { display: block; }
  .has-webgl .sign.is-open { z-index: 25; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; pointer-events: auto; }
  .sign.is-open .lit { display: none; }
  .sheet-back { position: fixed; inset: 0; z-index: 22; background: rgba(15, 26, 43, .38); opacity: 0; pointer-events: none; transition: opacity .3s ease; display: block; }
  .sheet-open .sheet-back { opacity: 1; pointer-events: auto; }
  .sheet-open, .sheet-open body { overflow: hidden; }

  /* swipe decks: one card at a time, paper flip; dots + ‹ › */
  .has-webgl .sign:not(.is-open) .deck { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; perspective: 900px; touch-action: pan-y; }
  .has-webgl .sign:not(.is-open) .deck > * { grid-area: 1 / 1; opacity: 0; pointer-events: none; transform-origin: 50% 50%; transition: transform .25s ease; }
  .has-webgl .sign:not(.is-open) .deck > .is-cur { opacity: 1; pointer-events: auto; }
  .has-webgl .sign:not(.is-open) .deck > .peek { z-index: 0; opacity: .9; transform: rotate(2deg) translateY(4px) !important; }
  .has-webgl .sign:not(.is-open) .deck > .is-cur { z-index: 1; }
  .deck > .in-r { animation: flipR .42s cubic-bezier(.25,1.3,.5,1); }
  .deck > .in-l { animation: flipL .42s cubic-bezier(.25,1.3,.5,1); }
  @keyframes flipR { from { transform: translateX(60px) rotateY(-70deg); opacity: .2; } }
  @keyframes flipL { from { transform: translateX(-60px) rotateY(70deg); opacity: .2; } }
  .has-webgl .sign:not(.is-open) .deck-nav { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
  .deck-b { width: 44px; height: 44px; border-radius: 50%; font: 700 24px/1 var(--text); color: inherit; background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 2px currentColor; }
  .deck-dots { display: flex; gap: 7px; padding: 0 6px; }
  .deck-dots i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .3; }
  .deck-dots i.on { opacity: 1; width: 20px; border-radius: 4px; }

  /* type: nothing under 14px on phones */
  .sign { font-size: 15px; }
  .tix { font-size: 15px; min-height: 46px; }

  /* 1 · hero / 12 · final */
  .plank-tag { font-size: 14px; letter-spacing: .01em; text-transform: none; padding: 7px 10px 6px; }
  .plank > span, .s-final .plank > span { font-size: 31px; }
  .notice { padding: 12px 14px 10px; }
  .hero-h1 { font-size: 19px; }
  .lede { font-size: 15px; }
  .acts { flex-wrap: nowrap; }
  .acts .more-tab { background: rgba(255, 252, 245, .92); padding: 0 10px; color: var(--ink); }
  .lnk { font-size: 15px; }
  .final-p { font-size: 15px; }
  .tix-static { font-size: 14px; padding: 6px 10px; }
  .notify label { font-size: 15px; }
  .notify .stamp { font-size: 15px; min-height: 44px; }
  .notify-fine { font-size: 14px; }
  .postcard .more-tab { display: none; }

  /* 2 · chalkboard */
  .s-chalk { padding: 14px 16px 10px; }
  .chalk-kicker span { font-size: 19px; }
  .chalk-kicker i { font-size: 14px; font-style: normal; }
  .s-chalk h2 { font-size: 21px; }
  .chalk-scene { font-size: 15px; }
  .chalk-btn { font-size: 15px; min-height: 44px; }
  .chalk-btn svg { width: 44px; height: 44px; }
  .demo-hidden, .chalk-label { font-size: 14px; }
  .demo-line { flex-wrap: nowrap; }
  .demo-line input { flex: 1 1 auto; font-size: 17px; }
  .demo-mic span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .demo-mic { min-width: 44px; justify-content: center; }
  .demo-mic svg { width: 24px; height: 24px; }
  .demo-feedback, .demo-en, .demo-react { font-size: 15px; }
  .demo-phrase { font-size: 32px; }
  .chalk-fine { font-size: 14px; }

  /* 3 · picture wall: one big framed scene at a time */
  .s-wall { padding: 14px 14px 10px; }
  .wall-k { font-size: 14px; letter-spacing: .04em; }
  .wall-head h2 { font-size: 23px; }
  .wall-p, .wall-more { font-size: 15px; } .wall-more span { font-size: 14px; }
  .posters { margin-top: 12px; }
  .poster { display: block; padding: 8px 8px 10px; border-width: 4px; }
  .poster figure { grid-row: auto; }
  .poster-es { margin-top: 8px; font-size: 19px; }
  .poster-en { font-size: 15px; }
  .poster-trick, .poster-trick b { font-size: 14px; }
  .s-wall .deck-nav { color: #3B2205; }

  /* 4 · notice board */
  .cork-kicker, .cork-warm { font-size: 14px; }
  .cork-head h2 { font-size: 19px; }
  .note { display: block; padding: 14px 14px 14px; }
  .note-n { display: inline; font-size: 22px; margin-right: 6px; }
  .note h3 { display: inline; font-size: 16px; }
  .note p { margin-top: 6px; font-size: 15px; }
  .note.is-on { transform: rotate(var(--r)); box-shadow: 0 3px 0 rgba(0,0,0,.16); }
  .s-cork .deck-nav { color: #3A2410; }

  /* 5 · prescription */
  .card-kicker { font-size: 14px; letter-spacing: .04em; }
  .s-rx h2 { font-size: 23px; }
  .card-p { font-size: 15px; }
  .rx { border-top: 0; }
  .rx > li { border-bottom: 0; padding: 10px 0 4px 30px; background: var(--paper); }
  .rx-what { font-size: 16px; } .rx-do { font-size: 15px; }
  .rx-cite { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .ladder li { font-size: 14px; text-transform: none; letter-spacing: 0; }
  .rx-foot, .card-fade p { font-size: 14px; } .card-fade h3 { font-size: 16px; }
  .s-rx .deck-nav { color: #2F6BD6; }

  /* 6 · word trainer */
  .kraft-top, .shelf-k, .order-k, .shop-ask, #shopFlags { font-size: 14px; }
  .s-kraft h2 { font-size: 26px; }
  .kraft-p { font-size: 15px; }
  .shop { grid-template-columns: 1fr 1.25fr; }
  .order img { width: 70px; height: 70px; }
  .slot { width: 32px; height: 40px; font-size: 20px; }
  .wheel { width: 164px; height: 164px; }
  .wl { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 18px; }
  .shelf-row b { font-size: 14px; } .shelf-row span { font-size: 14px; text-transform: none; letter-spacing: 0; padding: 3px 4px 2px; }
  .flagline { justify-content: center; }

  /* 7 · felt board */
  .felt-top { font-size: 14px; letter-spacing: .12em; }
  .s-felt h2 { font-size: 18px; }
  .felt-p { font-size: 15px; }
  .cast-btn { min-height: 44px; }
  .cast-name { font-size: 14px; }
  .sign.is-open .cast-place { display: inline; font-size: 14px; }
  .cast-line, .cast-say { font-size: 15px; } .cast-q { font-size: 14px; } .cast-line b { font-size: 14px; }

  /* 8 · door hanger */
  .hanger-top, .hanger-k, .hanger-fine { font-size: 14px; }
  .s-hanger h2 { font-size: 28px; }
  .nope-line { font-size: 15px; }
  .hanger-big { font-size: 23px; } .hanger-big span { font-size: 16px; }
  .hanger-p2 { font-size: 15px; }

  /* 9 · bus stop */
  .bus-disc { width: 92px; height: 92px; }
  .bus-disc span { font-size: 14px; letter-spacing: .06em; } .bus-disc b { font-size: 18px; }
  .bus-k, .bus-links-h { font-size: 14px; }
  .bus-plate h2 { font-size: 19px; }
  .route b { font-size: 14px; }
  .bus-p { font-size: 15px; }
  .mex-words div { grid-template-columns: 86px 1fr; }
  .mex-words dt { font-size: 15px; } .mex-words dd { font-size: 14px; }
  .bus-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }

  /* 10 · price: two small tags, tap to read in full */
  .valance-k, .valance-p { font-size: 14px; }
  .valance h2 { font-size: 25px; }
  .tag { cursor: pointer; }
  .tag-k, .tag h3, .tag-sub, .tag li, .tag-foot, .price-sum { font-size: 14px; }
  .tag .big { font-size: 34px; }
  .tag li { padding-left: 18px; } .tag li::before { top: 9px; }

  /* 11 · FAQ: one flyer at a time */
  .flyers-k { font-size: 14px; }
  .flyers-head h2 { font-size: 22px; }
  .flyer { padding: 18px 14px 34px; }
  .flyer h3 { font-size: 17px; } .flyer p { font-size: 15px; }
  .flyer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .s-flyers .deck-nav { color: #12415C; }

  .toast { font-size: 15px; } .toast b { font-size: 14px; }
}
@media (max-width: 759px) {
  body.past-hero .brand { display: none; }
  body.past-hero .here { margin-left: 0; padding: 0 10px; }
  .here-es { letter-spacing: .03em; }
  body.past-hero .top-cta { margin-left: auto; }
  .demo-line { flex-wrap: wrap; }
  .demo-line input { flex: 1 0 100%; }
  .demo-line .tix { flex: 1; }
}
.card-kicker i { font-style: normal; }
@media (max-width: 759px) { .card-kicker { flex-wrap: wrap; row-gap: 2px; } .sign.is-open > :nth-child(2) { padding-right: 40px; } }
@media (max-width: 759px) {
  .brand, .here { height: 44px; }
  body.past-hero .top-cta { min-height: 44px; }
  .stops { top: 56px; }
}

/* ======================================================================
   v4b · "a poster you get in one glance" — on every size: headline + one line + one visual/action.
   Everything else waits behind the board's own "More ↓" (the board lifts into a paper sheet).
   ====================================================================== */
@media (min-width: 760px) { html.has-webgl { scrollbar-gutter: stable; } }
/* v5 · "tucked": text behind "More ↓" stays in the DOM and rendered (never display:none) — it takes no space and is not seen
   until the board opens. Only in the 3D town; the flat column shows everything. */
.has-webgl .sign:not(.is-open) .x-more { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; }
@media (min-width: 760px) { .has-webgl .sign:not(.is-open) .d-more { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; } }

.more-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 4px;
  font: 700 14px/1 var(--display); color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.more-tab:hover { text-decoration-thickness: 3px; }
.sign > .more-tab { display: flex; width: max-content; margin: 10px 0 -8px auto; }
.s-card > .more-tab, .bus-plate ~ .more-tab { margin-right: 22px; }
.acts .more-tab { margin-left: 0; color: var(--ink); background: rgba(255, 252, 245, .92); padding: 0 12px; }
.sign.is-open .more-tab { display: none !important; }
.sheet-x { display: none; }
.sign.is-open .sheet-x { display: block; position: sticky; top: 0; z-index: 12; float: right; width: 44px; height: 44px; margin: -6px -8px 0 6px; border-radius: 50%;
  font: 700 20px/44px var(--text); text-align: center; color: inherit; background: rgba(255,255,255,.22); }
.has-webgl .sign.is-open { z-index: 25; overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; }
.sign.is-open .lit { display: none; }
.sheet-back { display: block; position: fixed; inset: 0; z-index: 22; background: rgba(15, 26, 43, .4); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.sheet-open .sheet-back { opacity: 1; pointer-events: auto; }
html.sheet-open { overflow: hidden; }
.tag, .flyer, .poster { cursor: pointer; }
.sign.is-open .tag, .sign.is-open .flyer, .sign.is-open .poster { cursor: default; }

/* ---------- desktop type: fewer sizes, nothing under 13px, bigger headlines ---------- */
@media (min-width: 760px) {
  .here-es, .here-en, .top-nav a, .tix-sm { font-size: 13px; }
  .plank-tag, .chalk-kicker, .chalk-label, .card-kicker, .felt-top, .kraft-top, .order-k, .shelf-k, .hanger-top,
  .bus-k, .bus-links-h, .valance-k, .tag-k, .flyers-k, .wall-k, .cork-kicker, .bus-disc span { font-size: 13px; letter-spacing: .08em; }
  .cast-place, .shelf-row span, .tag-foot, .rx-cite, .rx-foot, .notify-fine, .tix-static, .poster-trick b, .price-sum, .foot-h { font-size: 13px; }
  .pin-box { font-size: 12px; padding: 7px 9px 6px; }
  .pin-box { font-size: 13px; }

  .s-chalk h2 { font-size: 34px; }
  .chalk-scene { font-size: 17px; }
  .wall-head h2 { font-size: 46px; }
  .wall-line { font-size: 18px; line-height: 1.4; color: #3B2205; }
  .posters { margin-top: 30px; }
  .poster-es { font-size: 20px; margin-top: 12px; }
  .cork-head h2 { font-size: 34px; }
  .note { padding: 20px 18px 22px; }
  .note h3 { font-size: 20px; line-height: 1.15; }
  .s-kraft h2 { font-size: 48px; }
  .s-felt h2 { font-size: 30px; }
  .bus-plate h2 { font-size: 30px; }
  .bus-p { font-size: 16px; }
  .valance h2 { font-size: 42px; }
  .flyers-head h2 { font-size: 38px; }
  .flyer { padding: 24px 16px 44px; }
  .flyer h3 { font-size: 19px; line-height: 1.2; }
}

/* ---------- 5 · Rx: four dosage lines, the science on demand ---------- */
.s-rx { padding-bottom: 20px; }
.s-rx h2 { padding: 22px 28px 0; font: 800 46px/1 var(--display); letter-spacing: -.03em; }
.s-rx h2::before { font-size: 42px; margin-right: 12px; }
.rx-sub { padding: 8px 28px 0; font-size: 17px; color: var(--ink-2); }
.dose { margin: 20px 28px 0; border-top: 2px solid var(--ink); counter-reset: d; }
.dose li { counter-increment: d; display: flex; align-items: baseline; gap: 16px; padding: 15px 0 14px; border-bottom: 1px dashed rgba(15, 26, 43, .3);
  font: 700 24px/1.15 var(--display); letter-spacing: -.02em; }
.dose li::before { content: counter(d); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #2F6BD6; border-radius: 50%;
  font: 800 14px/1 var(--display); color: #2F6BD6; transform: translateY(-4px); letter-spacing: 0; }
.dose sup { margin-left: 3px; font: 700 13px/0 var(--display); color: #2F6BD6; }
.rx-sign { margin: 14px 28px 0; text-align: right; font: italic 400 24px/1 var(--text); color: #2F6BD6; transform: rotate(-4deg); }
.science { margin-top: 18px; border-top: 2px dashed rgba(15, 26, 43, .25); }
.science h3 { padding: 18px 28px 0; font: 800 22px/1.1 var(--display); }
.science .rx { margin: 8px 28px 0; }
.science .rx-foot { padding: 12px 28px 4px; }

/* ---------- 5 · the small tag on the clinic door ---------- */
.s-fadetag { position: relative; padding: 30px 18px 12px; background: var(--paper) var(--noise); border-radius: 4px; box-shadow: 0 3px 0 #C9BBA6; }
.s-fadetag::before { content: ""; position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #9FA6B2; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.fadetag-h { font: 800 18px/1.15 var(--display); letter-spacing: -.01em; }
.fadetag-p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.s-fadetag .tix { margin-top: 12px; }

/* ---------- 6 · words ---------- */
.kraft-line { margin-top: 8px; text-align: center; font-size: 17px; color: #3A2410; }

/* ---------- 8 · Gato: hanger + sticker ---------- */
.s-hanger h2 { font-size: 40px; line-height: 1; }
.nope-line { margin-top: 14px; font: 700 15px/1.5 var(--display); color: var(--ink); }
.nope-line s { text-decoration-thickness: 3px; text-decoration-color: #C2185B; }
.hanger-more p { margin-top: 12px; font-size: 15px; text-align: left; }
.hanger-more .hanger-fine { text-align: center; }
.hanger-thumb-m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; } /* desktop: the sticker on the door says it */
.s-sticker { padding: 18px 22px 16px; background: var(--noise), #FFE14D; border-radius: 22px; box-shadow: 0 0 0 5px #fff, 0 6px 0 rgba(15, 26, 43, .22); transform: rotate(-3deg); }
.sticker-big { font: 900 30px/1.02 var(--display); letter-spacing: -.03em; }
.sticker-big span { display: block; margin-bottom: 4px; font-weight: 500; font-size: 19px; letter-spacing: -.01em; }

/* ---------- phone: same diet, 14px floor ---------- */
@media (max-width: 759px) {
  .has-webgl .s-fadetag, .has-webgl .s-sticker { opacity: 0 !important; pointer-events: none !important; } /* v5: not display:none */
  html:not(.has-webgl) .s-sticker { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; } /* flat phone: the hanger already shows this line */
  .hanger-thumb-m { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; opacity: 1; display: block; margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(122, 30, 69, .35); font: 900 22px/1.05 var(--display); letter-spacing: -.03em; }
  .hanger-thumb-m span { display: block; font-weight: 500; font-size: 16px; }
  .s-hanger h2 { font-size: 30px; }
  .nope-line { font-size: 15px; margin-top: 10px; }
  .s-rx h2 { padding: 16px 16px 0; font-size: 32px; } .s-rx h2::before { font-size: 30px; margin-right: 8px; }
  .s-rx .card-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
  .rx-sub { padding: 6px 16px 0; font-size: 15px; }
  .dose { margin: 12px 16px 0; }
  .dose li { gap: 12px; padding: 11px 0 10px; font-size: 18px; }
  .dose li::before { width: 26px; height: 26px; font-size: 14px; }
  .dose sup { font-size: 14px; }
  .rx-sign { margin: 10px 16px 0; font-size: 20px; }
  .science h3 { padding: 14px 16px 0; font-size: 19px; }
  .science .rx { margin: 6px 16px 0; }
  .science .rx-foot { padding: 10px 16px 4px; }
  .s-card > .more-tab { margin-right: 14px; }
  .wall-line, .kraft-line { font-size: 15px; }
  .s-kraft h2 { font-size: 30px; }
  .sign > .more-tab { margin: 6px 0 -6px auto; }
  .more-tab { font-size: 15px; }
}
.dose li { display: block; position: relative; padding-left: 46px; }
.dose li::before { position: absolute; left: 0; top: 13px; transform: none; }
@media (min-width: 760px) { .postcard .more-tab { display: none !important; } }
@media (max-width: 759px) { .postcard .more-tab { display: inline-flex; } .dose li { padding-left: 38px; } .dose li::before { top: 9px; } }
@media (max-width: 759px) {
  .top { padding: 0 10px; }
  .here { padding: 0 8px !important; }
  .here-es { letter-spacing: 0; }
  body.past-hero .top-cta { padding: 0 20px 0 10px; }
  body.past-hero .top-cta::after { right: 8px; }
}
@media (min-width: 760px) { .cast-line b { font-size: 13px; } }

/* ======================================================================
   v5 · SEO pass: text first, town second
   ====================================================================== */
/* before three.js arrives (html.gl-wait), the pier board already stands where the camera will put it (same spot as
   placeSign: desk cx .25 · cy .56 · 560px; phone centered, 12px from the bottom). Only transforms, so the hand-over
   to the 3D projection is not a layout shift. The other boards wait off-screen (their lazy images wait too). */
.has-webgl .sec { min-height: 100vh; }
.gl-wait .sign { pointer-events: none; transform: translateX(-300vw); }
.gl-wait [data-sign="hero"] { opacity: 1; pointer-events: auto; --w: 560px; transform: translate(max(16px, calc(25vw - 280px)), clamp(92px, calc(56vh - 50%), calc(100vh - 24px - 100%))); }
@media (max-width: 759px) {
  .gl-wait [data-sign="hero"] { --w: min(410px, calc(100vw - 28px)); transform: translate(calc(50vw - 50%), max(92px, calc(100vh - 12px - 100%))); }
  @supports (height: 100dvh) { .gl-wait [data-sign="hero"] { transform: translate(calc(50vw - 50%), max(92px, calc(100dvh - 12px - 100%))); } }
}
/* new links: same underlined .lnk as "Try a phrase now" */
.chalk-link { margin-top: 6px; }
.chalk-link .lnk, .demo-next .lnk { display: inline-block; padding: 12px 2px; color: var(--chalk); }
.demo-next { margin-top: 2px; }
.bus-go .lnk, .price-link .lnk { display: inline-block; padding: 12px 2px 4px; }
.price-link { margin-top: 6px; text-align: center; }
@media (max-width: 759px) {
  .chalk-link .lnk, .demo-next .lnk, .bus-go .lnk, .price-link .lnk { font-size: 15px; padding: 13px 2px; }
  .chalk-link { margin-top: 0; }
}
/* the tag now says "about 3 minutes a day" (SEO line): keep it one strip on desktop, as before (≈23px longer) */
@media (min-width: 760px) { .has-webgl .plank-tag { white-space: nowrap; } }
/* flat column: the two wide boards keep their 3D width (phones: max-width 100%) */
html:not(.has-webgl) [data-sign="pics"], html:not(.has-webgl) [data-sign="faq"] { --w: 1040px; }
.bus-go { padding: 2px 22px 0; }
@media (max-width: 759px) { .bus-go { padding: 0 14px; } }
html:not(.has-webgl) .acts { flex-wrap: wrap; } /* flat column: "Try a phrase now" is shown too */
/* the price board has no backing: the link sits on a paper chip, like "Try a phrase now" on the pier */
.price-link .lnk { color: var(--ink); background: rgba(255, 252, 245, .92); padding: 11px 12px; text-underline-offset: 4px; }
@media (max-width: 759px) { .price-link .lnk { padding: 12px 10px; } }
.bus-go .lnk { white-space: normal; line-height: 1.3; }
@media (max-width: 759px) { .sign.is-open .acts { flex-wrap: wrap; } } /* open pier sheet: "Try a phrase now" fits */

/* ======================================================================
   v6 · picture wall: zoom hint on the wall + full-screen viewer (lightbox)
   ====================================================================== */
.poster-zoom { position: relative; display: block; width: 100%; height: 100%; color: inherit; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.poster-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.poster-zoom-i { /* the ⤢ badge: always there on phones and touch screens, appears on hover / focus on desktop */
  position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 30px; height: 30px;
  font: 700 17px/1 var(--text); color: #fff; background: rgba(15, 26, 43, .82); border-radius: 50%;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .35); pointer-events: none;
}
@media (hover: hover) and (min-width: 760px) {
  .poster { transition: transform .18s ease, box-shadow .18s ease; }
  .poster:hover, .poster:focus-within { transform: rotate(var(--r, 0deg)) translateY(-7px) scale(1.015); box-shadow: 0 12px 0 rgba(60, 30, 0, .22); }
  .poster-zoom-i { opacity: 0; transform: scale(.7); transition: opacity .16s ease, transform .16s ease; }
  .poster:hover .poster-zoom-i, .poster:focus-within .poster-zoom-i { opacity: 1; transform: none; }
}
@media (max-width: 759px) { .poster-zoom-i { width: 26px; height: 26px; font-size: 15px; right: 5px; top: 5px; } }

html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 1000; display: grid; color: #fff;
  grid-template-columns: 72px minmax(0, 1fr) 72px; grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "n . x" "prev box next" "cap cap cap" "strip strip strip";
  padding: 12px 20px 16px; background: rgba(10, 16, 28, .96); animation: lbFade .18s ease;
  overscroll-behavior: contain;
}
.lb[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } }
.lb button { font-family: inherit; cursor: pointer; }
.lb :focus-visible { outline: 3px solid var(--chalk-y); outline-offset: 3px; }
.lb-n { grid-area: n; align-self: center; justify-self: start; margin: 0; padding: 8px 12px; font: 700 14px/1 var(--display); letter-spacing: .06em; color: #fff; white-space: nowrap; background: var(--ink); border: 2px solid rgba(255, 255, 255, .22); border-radius: 999px; }
.lb-x, .lb-arr {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--ink);
  background: var(--paper) var(--noise); border: 3px solid #1C1B22; border-radius: 50%; box-shadow: 0 3px 0 rgba(0, 0, 0, .45);
  font: 700 20px/1 var(--text); transition: transform .14s ease;
}
.lb-x { grid-area: x; justify-self: end; }
.lb-arr { align-self: center; width: 56px; height: 56px; font-size: 34px; }
.lb-arr span { margin-top: -4px; }
.lb-prev { grid-area: prev; justify-self: start; }
.lb-next { grid-area: next; justify-self: end; }
@media (hover: hover) { .lb-x:hover, .lb-arr:hover { transform: translateY(-2px) rotate(-3deg); } }
.lb-box { grid-area: box; min-height: 0; display: grid; place-items: center; container-type: size; touch-action: pan-y pinch-zoom; padding: 8px 0; }
.lb-fig { /* the picture as large as fits, framed like the paper posters on the wall */
  margin: 0; width: min(100cqw, calc((100cqh - 20px) * 1.5 + 20px)); border: 10px solid var(--paper);
  background: #EEE6D6 center / cover no-repeat; box-shadow: 0 0 0 4px #1C1B22, 0 10px 0 4px rgba(0, 0, 0, .35);
  transform-origin: 50% 60%; user-select: none; -webkit-user-select: none;
}
.lb-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; opacity: 0; transition: opacity .2s ease; -webkit-user-drag: none; }
.lb-fig.is-loaded .lb-img { opacity: 1; }
.lb-fig.in-r { animation: lbInR .3s cubic-bezier(.2, .9, .3, 1.15); }
.lb-fig.in-l { animation: lbInL .3s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes lbInR { from { transform: translateX(48px) rotate(1.5deg); opacity: .2; } }
@keyframes lbInL { from { transform: translateX(-48px) rotate(-1.5deg); opacity: .2; } }
.lb-cap { /* a paper label under the picture */
  grid-area: cap; justify-self: center; width: min(100%, 760px); margin-top: 14px; display: flex; align-items: center; gap: 18px;
  padding: 12px 18px; color: var(--ink); background: var(--paper) var(--noise); border: 4px solid #1C1B22; box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
  transform: rotate(-.4deg);
}
.lb-txt { flex: 1; min-width: 0; }
.lb-es { margin: 0; font: 800 26px/1.15 var(--display); letter-spacing: -.01em; }
.lb-en { margin: 3px 0 0; font-size: 17px; font-style: italic; color: var(--ink-2); }
.lb-trick { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed rgba(15, 26, 43, .3); font-size: 16px; line-height: 1.4; }
.lb-trick b { font-family: var(--display); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; }
.lb-trick[hidden], .lb-play[hidden] { display: none; }
.lb-play { flex: none; }
.lb-strip { grid-area: strip; display: flex; gap: 8px; justify-content: center; margin-top: 14px; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.lb-th { flex: none; width: 72px; height: 48px; padding: 0; border: 3px solid transparent; border-radius: 3px; background: #EEE6D6; opacity: .55; transition: opacity .15s ease, transform .15s ease; }
.lb-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-th:hover { opacity: .9; }
.lb-th[aria-current="true"] { opacity: 1; border-color: var(--paper); transform: translateY(-3px); }
@media (max-height: 760px) and (min-width: 760px) { .lb-strip { margin-top: 10px; } .lb-th { width: 60px; height: 40px; } .lb-cap { margin-top: 10px; padding: 9px 16px; } .lb-es { font-size: 22px; } }
@media (max-width: 759px) {
  .lb {
    /* picture + label sit together in the middle; the spare height goes above and below them */
    grid-template-columns: 56px minmax(0, 1fr) 56px; grid-template-rows: auto minmax(0, 1fr) auto auto minmax(0, 1fr) auto;
    grid-template-areas: ". . x" ". . ." "box box box" "cap cap cap" ". . ." "prev n next";
    padding: 10px var(--gut) max(14px, env(safe-area-inset-bottom)); background: rgba(10, 16, 28, .985);
  }
  .lb-n { justify-self: center; font-size: 15px; }
  .lb-box { container-type: inline-size; padding: 0; }
  .lb-fig { border-width: 7px; width: min(100cqw, calc((100dvh - 360px) * 1.5)); box-shadow: 0 0 0 3px #1C1B22, 0 7px 0 3px rgba(0, 0, 0, .35); }
  .lb-cap { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 10px; padding: 12px 14px; }
  .lb-es { font-size: 21px; }
  .lb-en { font-size: 16px; }
  .lb-trick { font-size: 15px; }
  .lb-trick b { font-size: 13.5px; }
  .lb-play { align-self: flex-start; }
  .lb-arr { width: 52px; height: 52px; margin-top: 12px; }
  .lb-strip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb-fig.in-r, .lb-fig.in-l { animation: none; } .lb-img { transition: none; } }

/* ---------- tablet / narrow desktop (760px–1080px): prevent header wrap & overflow ---------- */
@media (min-width: 760px) and (max-width: 1080px) {
  .top { padding: 0 12px; gap: 8px; }
  .here { display: none; }
  .brand { padding: 0 10px 0 9px; font-size: 16px; }
  .top-nav { gap: 1px; padding: 0 4px; }
  .top-nav a { font-size: 12px; padding: 8px 6px; white-space: nowrap; }
  .top-cta { font-size: 12px; padding: 0 22px 0 10px; white-space: nowrap; flex-shrink: 0; }
}

/* ---------- waitlist checkbox & extra FAQ flyers ---------- */
.notify-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font: 400 13px/1.35 var(--text) !important; color: var(--ink-2); cursor: pointer; }
.notify-check input { width: 16px; height: 16px; accent-color: var(--accent); flex: none; margin: 0; }
.f7 { --r: .7deg; background-color: #E2F6D6; }
.f8 { --r: -1.1deg; background-color: #FFF2A6; }
.f9 { --r: .8deg; background-color: #FFE3C4; }
