/* Layout: a black-and-white motion comic. Wide opening spread with a shot to take, then two scroll-driven scenes (the question, the work) where the camera pushes in and frames change as you scroll, then plain comic panels for the work, the offer and the call. Red is the headband and the only accent. */
:root {
  --paper: #ffffff;
  --ink: #141414;
  --ink-soft: #5a5a5a;
  --tone: #d9d9d9;
  --red: #d2432c;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; font-weight: 700; padding-block: 16px; }
.top a { color: var(--ink); text-decoration: none; }
.top a:hover { color: var(--red); }

/* Opening spread */
.spread { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.hero { position: relative; border: 4px solid var(--ink); min-height: 600px; overflow: hidden; background: repeating-conic-gradient(from 0deg at 62% 62%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3deg, var(--paper) 3deg 7deg); }
.hero img { position: absolute; right: 0; bottom: 0; height: 82%; }
.hero h1 { position: absolute; left: 24px; top: 20px; margin: 0; font-family: var(--display); font-weight: 400; font-size: 56px; line-height: 1; background: var(--paper); padding: 6px 12px; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.hero .tag { position: absolute; left: 24px; top: 140px; margin: 0; background: var(--paper); border: 3px solid var(--ink); padding: 6px 12px; font-weight: 700; }
.hero .say { position: absolute; left: 24px; bottom: 34%; max-width: 15ch; }
.court { position: relative; border: 4px solid var(--ink); background: var(--paper); min-height: 600px; overflow: hidden; }
.court canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: pointer; }
.court .hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); margin: 0; background: var(--paper); border: 3px solid var(--ink); padding: 6px 14px; font-weight: 700; white-space: nowrap; }
.reveal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); background: var(--paper); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 18px 22px; display: grid; gap: 10px; justify-items: start; width: min(340px, 86%); }
.reveal[hidden] { display: none; }
.reveal b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.reveal p { margin: 0; }
.reveal .row { display: flex; gap: 10px; flex-wrap: wrap; }
.reveal.in { animation: slam .45s cubic-bezier(.2, 1.7, .4, 1); }
@keyframes slam { from { transform: translate(-50%, -50%) scale(.5) rotate(-12deg); } to { transform: translate(-50%, -50%) rotate(-2deg); } }

/* Chapters */
.chap { display: flex; align-items: center; gap: 12px; margin: 72px 0 14px; }
.chap .no { font-family: var(--display); font-size: 14px; color: var(--paper); background: var(--ink); padding: 2px 10px; }
.chap h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }

/* Story panels: still frames with comic lettering */
.impact { position: relative; aspect-ratio: 1000 / 600; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 22px; background: repeating-conic-gradient(from 0deg at 50% 45%, var(--paper) 0deg 2.2deg, var(--ink) 2.2deg 2.8deg, var(--paper) 2.8deg 6deg); }
.impact .burst { position: absolute; inset: 8% 10%; background: var(--paper); clip-path: polygon(50% 0, 58% 14%, 74% 4%, 74% 20%, 94% 16%, 84% 32%, 100% 44%, 84% 54%, 96% 72%, 76% 70%, 76% 92%, 60% 80%, 50% 100%, 40% 80%, 24% 92%, 24% 70%, 4% 72%, 16% 54%, 0 44%, 16% 32%, 6% 16%, 26% 20%, 26% 4%, 42% 14%); }
.impact .word { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 64px); line-height: 1; color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: rotate(-5deg); white-space: nowrap; }
.impact .name { position: relative; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.impact .line { position: relative; margin: 0; font-weight: 700; max-width: 24ch; }
.impact a { position: relative; color: var(--ink); font-weight: 700; }
.impact a:hover { color: var(--red); }
.impact .seal { position: absolute; right: 6%; bottom: 8%; width: 54px; height: 54px; background: var(--red); color: var(--paper); font: 700 30px / 54px var(--body); text-align: center; transform: rotate(-8deg); }
.mot { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

.eyes, .boom { position: relative; aspect-ratio: 1000 / 600; }
.eyes { background: var(--ink); }
.eyes canvas, .boom canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.eyes .think { right: 4%; top: 7%; max-width: 15ch; }
.boom { display: grid; place-items: center; background: var(--paper); }
.boom b { position: relative; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 64px); color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: scale(.4) rotate(-14deg); opacity: 0; transition: transform .55s cubic-bezier(.2, 1.8, .4, 1), opacity .2s; }
.boom.go b { transform: rotate(-4deg); opacity: 1; }
.sweat { animation: drip 1.8s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(18px); opacity: 0; } }

/* The work: one desk scene that plays its five steps */
.stage { position: relative; border: 4px solid var(--ink); background: var(--ink); overflow: hidden; aspect-ratio: 1000 / 560; }
.cam { position: absolute; inset: 0; transform-origin: 73% 55%; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1); }
.cam svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.screen { position: absolute; left: 60.2%; top: 43%; width: 25.8%; height: 26.4%; color: var(--paper); font: 700 clamp(9px, 1.25vw, 16px) / 1.35 var(--body); overflow: hidden; }
.screen > div { position: absolute; inset: 0; padding: 6% 7%; display: grid; align-content: start; gap: 6%; opacity: 0; transition: opacity .45s; }
.screen > div.on { opacity: 1; }
.screen .bar { display: block; height: .5em; background: var(--paper); transform-origin: left; }
.screen .bar.red { background: var(--red); }
.screen .row { display: flex; justify-content: space-between; }
.screen .ok { color: var(--red); }
.steps { position: absolute; left: 3%; bottom: 5%; width: min(380px, 44%); height: 34%; }
.step { position: absolute; left: 0; bottom: 0; background: var(--paper); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--red); padding: 12px 16px; display: grid; gap: 4px; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .55s cubic-bezier(.2, 1.3, .4, 1); width: 100%; }
.step.on { opacity: 1; transform: none; }
.step small { font-family: var(--display); font-size: 14px; color: var(--red); }
.step p { margin: 0; font-weight: 700; }
.dots { position: absolute; right: 3%; bottom: 5%; display: flex; gap: 8px; }
.dots button { width: 36px; height: 36px; font: 400 14px / 1 var(--display); border: 3px solid var(--paper); background: var(--ink); color: var(--paper); cursor: pointer; }
.dots button.on { background: var(--red); border-color: var(--red); }

/* Panels */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.p { position: relative; border: 4px solid var(--ink); background: var(--paper); min-height: 240px; padding: 22px; display: grid; align-content: end; overflow: hidden; grid-column: span 6; margin: 0; }
.p.art { padding: 0; display: block; min-height: 0; }
.p.art svg { display: block; width: 100%; height: auto; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }

/* Lettering */
.cap.bottom { top: auto !important; bottom: 18px; }
.cap { position: absolute; left: 18px; top: 18px; background: var(--paper); border: 3px solid var(--ink); padding: 8px 14px; font-weight: 700; max-width: 30ch; box-shadow: 5px 5px 0 var(--ink); margin: 0; z-index: 2; }
.say { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 50% / 44%; padding: 22px 30px; text-align: center; margin: 0; font-weight: 700; z-index: 2; }
.say::after { content: ""; position: absolute; width: 24px; height: 24px; background: var(--paper); border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.say.tail-r::after { right: 18%; bottom: -14px; transform: rotate(45deg); }
.say.tail-edge::after { right: -14px; top: 50%; transform: translateY(-50%) rotate(-45deg); }
.say.big { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.25; }
.think { position: absolute; background: var(--paper); border: 3px solid var(--ink); border-radius: 46% 54% 50% 50% / 56% 50% 50% 44%; padding: 18px 24px; font-weight: 700; text-align: center; z-index: 2; margin: 0; }
.sfx { position: absolute; font-family: var(--display); font-size: 56px; line-height: 1; color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke; pointer-events: none; z-index: 1; transition: opacity .3s; }

/* SVG ink */
.k { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.k3 { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.k2 { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kw { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kw2 { fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fi { fill: var(--ink); }
.fw { fill: var(--paper); }
.fr { fill: var(--red); }

/* Cards */
.card { display: grid; gap: 10px; align-content: start; }
.card .seal { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; background: var(--red); color: var(--paper); font: 700 30px / 54px var(--body); text-align: center; transform: rotate(-8deg); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.card p { margin: 0; }
.card a { color: var(--ink); font-weight: 700; }
.card a:hover { color: var(--red); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.card li { display: flex; justify-content: space-between; gap: 12px; border-top: 2px dashed var(--ink); padding-top: 6px; }
.card li span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-soft); }

/* Ending */
.bye { position: relative; container-type: inline-size; border: 4px solid var(--ink); margin: 0; }
.bye img { display: block; width: 100%; height: auto; }
.bye .t { position: absolute; display: grid; place-items: center; text-align: center; font: 700 max(10px, 2.9cqw) / 1.15 var(--body); }
.cta { gap: 14px; align-content: center; justify-items: start; }
.cta p { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.2; }
.btn { font: 700 18px var(--body); color: var(--paper); background: var(--red); text-decoration: none; border: 4px solid var(--ink); padding: 10px 22px; box-shadow: 6px 6px 0 var(--ink); transition: transform .12s, box-shadow .12s; display: inline-block; cursor: pointer; }
.btn.plain { color: var(--ink); background: var(--paper); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.end { text-align: center; margin-top: 30px; display: grid; gap: 2px; padding-bottom: 72px; }
.end b { font-family: var(--display); font-weight: 400; font-size: 56px; color: var(--red); line-height: 1; }
.credit { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }

/* Ambient motion */
@keyframes drive { from { transform: translateX(-460px); } to { transform: translateX(1150px); } }
.steam path { animation: steam 2.4s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -1.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
.screen .on .bar { animation: grow .6s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }
.caret::after { content: "_"; }

@media (max-width: 900px) {
  .spread { grid-template-columns: 1fr; }
  .hero, .court { min-height: 480px; }
  .hero h1 { font-size: 30px; }
  .hero .tag { top: 84px; }
  .s2, .s3, .s4 { grid-column: span 6 !important; }
  .steps { width: 70%; }
  .eyes .think { padding: 6px 10px; }
  .dots button { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .car, .steam path, .screen .on .bar, .reveal.in { animation: none; }
  .step, .boom b, .screen > div, .cam { transition: none; }
  .sweat { animation: none; }
}
.p .face { position: absolute; bottom: 0; }
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shelf .p { grid-column: auto; min-height: 280px; align-content: start; gap: 10px; }
.shelf h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.shelf p { margin: 0; }
.shelf .for { color: var(--ink-soft); }
.shelf .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-right: 70px; }
.shelf .links a { color: var(--ink); font-weight: 700; }
.shelf .links a:hover { color: var(--red); }
.shelf .seal { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; background: var(--red); color: var(--paper); font: 700 30px / 54px var(--body); text-align: center; transform: rotate(-8deg); }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.how .p { grid-column: auto; min-height: 0; align-content: start; gap: 6px; }
.how small { font-family: var(--display); font-size: 14px; color: var(--red); }
.how b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.15; }
.how p { margin: 0; }
.lead { margin: 0 0 14px; max-width: 60ch; }
.back { font-weight: 700; }
@media (max-width: 900px) { .shelf, .how { grid-template-columns: 1fr; } }

.p.ponder { min-height: 0; aspect-ratio: 1000 / 360; background: radial-gradient(circle, rgba(20,20,20,.16) 1.6px, transparent 2px) 0 0 / 10px 10px; }
.cloud { position: absolute; margin: 0; background: var(--paper); border: 3px solid var(--ink); border-radius: 50% / 46%; padding: 18px 28px; font-weight: 700; text-align: center; z-index: 2; }
.cloud.big { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.25; padding: 26px 40px; }
.puff { position: absolute; background: var(--paper); border: 3px solid var(--ink); border-radius: 50%; z-index: 2; }
.p.shot { min-height: 0; padding: 0; display: block; aspect-ratio: 1000 / 600; }
.p.shot > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.p.shot .visit { position: absolute; right: 18px; top: 18px; z-index: 2; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 6px 14px; font-weight: 700; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.p.shot .visit:hover { color: var(--red); }
.p.shot .seal { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; background: var(--red); color: var(--paper); font: 700 30px / 54px var(--body); text-align: center; transform: rotate(-8deg); z-index: 2; }
@media (max-width: 900px) { .cloud.big { font-size: 15px; padding: 12px 18px; } .cloud { padding: 8px 14px; font-size: 13px; } .p.ponder { aspect-ratio: 1000 / 560; } }

/* Lettering pass: scalloped thought clouds, halftone bubble shadows, burst behind the thinking close-up */
.cloud { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-6 -6 112 92' preserveAspectRatio='none'%3E%3Cpath d='M97.0 40.0 A7 7 0 0 1 92.3 55.6 A7 7 0 0 1 79.3 68.1 A7 7 0 0 1 60.5 75.1 A7 7 0 0 1 39.5 75.1 A7 7 0 0 1 20.7 68.1 A7 7 0 0 1 7.7 55.6 A7 7 0 0 1 3.0 40.0 A7 7 0 0 1 7.7 24.4 A7 7 0 0 1 20.7 11.9 A7 7 0 0 1 39.5 4.9 A7 7 0 0 1 60.5 4.9 A7 7 0 0 1 79.3 11.9 A7 7 0 0 1 92.3 24.4 A7 7 0 0 1 97.0 40.0Z' fill='white' stroke='%23141414' stroke-width='3' vector-effect='non-scaling-stroke' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; border: 0; border-radius: 0; padding: 34px 44px; }
.cloud.big { padding: 44px 62px; }
.cloud { filter: drop-shadow(6px 6px 0 rgba(20,20,20,.3)); }
.say { isolation: auto; }
.puff { box-shadow: 4px 4px 0 rgba(20,20,20,.35); }
.p.ponder { background: repeating-conic-gradient(from 0deg at 18% 62%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3deg, var(--paper) 3deg 7deg); }
.sfx.red { color: var(--red); -webkit-text-stroke: 2px var(--ink); }
@media (max-width: 900px) { .cloud { padding: 18px 24px; } .cloud.big { padding: 24px 32px; } }

/* Narration boxes: the narrator speaks where Sarath is not on screen */
.nar { position: absolute; left: 0; top: 0; margin: 0; z-index: 2; background: var(--ink); color: var(--paper); padding: 8px 16px; font-weight: 700; font-size: 15px; line-height: 1.3; max-width: 34ch; }
.p.shot .nar { top: 0; left: 0; }
.p.art > svg { height: 100%; }
@media (max-width: 900px) { .p.art[style*="aspect-ratio"] { aspect-ratio: 1000 / 520 !important; } .nar { font-size: 13px; padding: 6px 12px; } }

.p.art.fill { aspect-ratio: auto; min-height: 0; }
.p.art.fill > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .p.art.fill { aspect-ratio: 1000 / 520; } }

.p.art > img.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Chapters and page-turn gates */
.chapter { display: block; }
.js .chapter.locked { display: none; }
.chapter.turning { animation: turn .9s cubic-bezier(.2, .7, .2, 1); }
@keyframes turn { from { opacity: .15; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.take { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin: 14px 0 0; padding: 12px 18px; border: 4px solid var(--ink); font-weight: 700; }
.take span { font-family: var(--display); font-size: 14px; color: var(--red); }
.more { margin: 10px 0 0; font-weight: 700; }
.more a { color: var(--ink); }
.more a:hover { color: var(--red); }
.gate { display: grid; justify-items: center; gap: 8px; margin: 48px 0 16px; text-align: center; }
.gate[hidden] { display: none; }
.gate .to { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--red); }
.gate p { margin: 0; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .chapter.turning { animation: none; } }

.chap h2:focus { outline: none; }

/* Hero as a manga page: lettering sits in the empty boxes of the colour art */
.hero.page { container-type: inline-size; min-height: 0; background: none; border: 4px solid var(--ink); margin: 0; overflow: hidden; }
.hero.page img { position: static; display: block; width: 100%; height: auto; }
.hero.page .t { position: absolute; display: grid; place-items: center; align-content: center; text-align: center; line-height: 1.05; }
.hero.page h1 { position: static; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; font-family: var(--display); font-weight: 400; font-size: 3.3cqw; line-height: 1; }
.hero.page .name span { font-weight: 700; font-size: 1.8cqw; line-height: 1.2; }
.hero.page .big { font-family: var(--display); font-weight: 400; font-size: 3.6cqw; }
.hero.page .mid { font-family: var(--display); font-weight: 400; font-size: 2.2cqw; line-height: 1.1; }
.spread { grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 900px) { .spread { grid-template-columns: 1fr; } .court { min-height: 480px; } .hero.page h1 { font-size: 3.6cqw; } }

.hero.page h1 { font-size: 2.7cqw; white-space: nowrap; }
.hero.page .big { font-size: 2.8cqw; }
.hero.page .mid { font-size: 2.4cqw; }
.court { background: repeating-conic-gradient(from 0deg at 84% 44%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3deg, var(--paper) 3deg 7deg); }
@media (max-width: 900px) { .hero.page h1 { font-size: 3cqw; } }


/* Cover: a landscape comic cover */
.spread.cover { display: block; position: relative; max-width: none; margin: 0; aspect-ratio: 1000 / 470; min-height: 380px; overflow: hidden; border: 4px solid var(--ink);
  background: radial-gradient(circle, rgba(20,20,20,.16) 1.6px, transparent 2px) 0 0 / 10px 10px, repeating-conic-gradient(from 0deg at 76% 70%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3.2deg, var(--paper) 3.2deg 8deg); background-color: var(--paper); container-type: inline-size; }
.cover .series { position: absolute; left: 0; top: 0; margin: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: clamp(11px, 1.5cqw, 16px); letter-spacing: .08em; padding: 8px 18px; }
.cover h1 { position: absolute; left: 4cqw; top: 15%; margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 8.8cqw, 108px); line-height: .98; }
.cover .line { position: absolute; left: 4cqw; bottom: 9%; margin: 0; font-weight: 700; font-size: clamp(14px, 2cqw, 22px); max-width: 46ch; background: var(--paper); border: 3px solid var(--ink); padding: 6px 14px; box-shadow: 5px 5px 0 var(--ink); }
.cover img { position: absolute; right: 3%; bottom: 0; height: 94%; width: auto; }
@media (max-width: 900px) { .spread.cover { aspect-ratio: auto; min-height: 460px; } .cover h1 { font-size: clamp(34px, 12cqw, 64px); top: 18%; } .cover img { height: 62%; } .cover .line { max-width: 24ch; } }

/* Scroll-driven gates: the button stays for keyboard users only */
.gate .btn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gate .btn:focus-visible { position: static; width: auto; height: auto; clip-path: none; }
.gate .muted { font-weight: 400; font-size: 14px; }
.gate { margin: 40px 0 120px; }

/* Merged thinking and laser panel */
.p.ponder canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.p.ponder .measure { opacity: 0; transform: scale(.6) rotate(-6deg); transition: opacity .3s, transform .5s cubic-bezier(.2, 1.8, .4, 1); }
.p.ponder .measure.on { opacity: 1; transform: rotate(-3deg); }
.p.ponder .think { position: absolute; padding: 18px 26px; font-size: 18px; z-index: 3; }
@media (max-width: 900px) { .p.ponder .think { padding: 8px 12px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .p.ponder .measure { transition: none; } }

.cover .line span { font-weight: 400; font-size: .86em; }
.p.shot .cap { max-width: 44ch; }

/* Drawn product panels: one inked scene, one line, one button. The real site is one click away. */
.p.scene { min-height: 0; padding: 0; display: block; aspect-ratio: 1000 / 600; }
.p.scene.s6 { aspect-ratio: 1000 / 520; }
.p.scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.p.scene .hit { position: absolute; inset: 0; z-index: 1; }
.p.scene .nar, .p.scene .cap, .p.scene .visit, .p.scene .sfx, .p.scene .seal { z-index: 2; }
.p.scene .visit { position: absolute; right: 18px; top: 18px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 6px 14px; font-weight: 700; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.p.scene .visit:hover { color: var(--red); }
.p.scene .seal { position: absolute; right: 16px; bottom: 16px; width: 54px; height: 54px; background: var(--red); color: var(--paper); font: 700 30px / 54px var(--body); text-align: center; transform: rotate(-8deg); }
.p.scene .cap { max-width: 36ch; }
.p.scene .cap.bottom { right: 90px; }
.p.scene .score { font-family: var(--display); font-size: 92px; fill: var(--red); stroke: var(--ink); stroke-width: 5px; paint-order: stroke; }
.p.scene .ofx { font: 700 20px var(--body); fill: var(--ink); letter-spacing: .06em; }
.p.scene:hover { box-shadow: 8px 8px 0 var(--ink); transform: translate(-3px, -3px); }
.p.scene { transition: transform .15s, box-shadow .15s; }

/* Scene motion: starts when the panel is half in view (class .play, set by script) */
.js .sc-ss .walker { transform: translateX(-60px); opacity: 0; }
.js .sc-ss .scorebox { transform-box: fill-box; transform-origin: center; transform: scale(.3) rotate(-12deg); opacity: 0; }
.sc-ss.play .walker { animation: walk 2.4s ease-out forwards; }
.sc-ss.play .scorebox { animation: slam2 .6s .9s cubic-bezier(.2, 1.7, .4, 1) forwards; }
@keyframes walk { to { transform: translateX(0); opacity: 1; } }
@keyframes slam2 { to { transform: none; opacity: 1; } }
.js .sc-cl .tick, .js .sc-cl .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sc-cl .bub, .js .sc-cl .bub2 { transform-box: fill-box; transform-origin: bottom left; transform: scale(0); }
.sc-cl.play .ring { animation: draw .5s .2s ease-out forwards; }
.sc-cl.play .tick { animation: draw .4s .6s ease-out forwards; }
.sc-cl.play .bub { animation: slam2 .4s 1.1s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sc-cl.play .bub2 { animation: slam2 .4s 1.6s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sc-cl.play .buzz { animation: buzz .18s 2.1s 6 alternate; }
.sc-cl .buzz { opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes buzz { from { transform: translateX(-4px); } to { transform: translateX(4px); } }
.sc-sh .ship { animation: rock 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 90%; }
.sc-sh .sea { animation: bob 3s ease-in-out infinite; }
@keyframes rock { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.js .sc-sh .t1, .js .sc-sh .t2, .js .sc-sh .t3 { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .sc-sh .signed { transform-box: fill-box; transform-origin: center; transform: scale(2.4) rotate(-14deg); opacity: 0; }
.sc-sh.play .t1 { animation: draw .35s .3s ease-out forwards; }
.sc-sh.play .t2 { animation: draw .35s .8s ease-out forwards; }
.sc-sh.play .t3 { animation: draw .35s 1.3s ease-out forwards; }
.sc-sh.play .signed { animation: stamp .35s 1.9s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp { to { transform: rotate(-6deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .sc-ss .walker, .js .sc-ss .scorebox, .js .sc-cl .bub, .js .sc-cl .bub2, .js .sc-sh .signed { transform: none; opacity: 1; }
  .js .sc-cl .tick, .js .sc-cl .ring, .js .sc-sh .t1, .js .sc-sh .t2, .js .sc-sh .t3 { stroke-dashoffset: 0; }
  .sc-ss.play *, .sc-cl.play *, .sc-sh .ship, .sc-sh .sea { animation: none !important; }
  .p.scene { transition: none; }
}
@media (max-width: 900px) { .p.scene, .p.scene.s6 { aspect-ratio: 1000 / 600; } .p.scene .score { font-size: 80px; } .p.scene .cap.bottom { right: 18px; bottom: 76px; } .p.scene .sfx { font-size: 34px !important; } }
.p.scene .tn { font: 700 11px var(--body); fill: var(--ink); }
.p.scene .sg { font: 400 17px var(--display); fill: var(--ink); }
.p.scene .bs { font: 700 9px var(--body); fill: #fff; }
.p.scene .ft { font: 400 19px var(--display); fill: #fff; }
.sc-ss .auto { animation: drive2 14s linear infinite; }
@keyframes drive2 { from { transform: translateX(-200px); } to { transform: translateX(1100px); } }
.js .sc-ss .flag { transform-box: fill-box; transform-origin: bottom left; transform: scale(0); }
.sc-ss.play .flag { animation: slam2 .4s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sc-ss.play .walker { animation: stroll 3.2s ease-in-out forwards; }
@keyframes stroll { from { transform: translateX(0); } to { transform: translateX(312px); } }
.js .sc-ss .walker { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sc-ss .auto { animation: none; } .js .sc-ss .flag { transform: none; } }

/* SafeStreets panel: the street keeps coming toward you while a child walks the measuring tape */
.sc-ss .dolly { object-position: 50% 50%; transform-origin: 62% 64%; will-change: transform; }
.sc-ss.play .dolly { animation: dolly 6s cubic-bezier(.45, 0, .55, 1) forwards, bob .7s ease-in-out infinite alternate; }
@keyframes dolly { from { transform: scale(1); } to { transform: scale(1.38); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -5px; } }
.sc-ss .lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: repeating-conic-gradient(from 0deg at 62% 64%, transparent 0deg 3.2deg, rgba(20,20,20,.9) 3.2deg 3.5deg, transparent 3.5deg 8deg); -webkit-mask: radial-gradient(circle at 62% 64%, transparent 28%, #000 85%); mask: radial-gradient(circle at 62% 64%, transparent 28%, #000 85%); }
.sc-ss.play .lines { animation: linesin 6s ease-in-out forwards; }
@keyframes linesin { 0%, 100% { opacity: 0; } 30%, 80% { opacity: .22; } }
.sc-ss .pen { position: absolute; z-index: 2; display: grid; background: var(--red); color: var(--paper); border: 3px solid var(--ink); padding: 3px 12px 4px; transform-origin: bottom left; box-shadow: 4px 4px 0 var(--ink); clip-path: none; }
.sc-ss .pen b { font: 400 17px / 1.1 var(--display); letter-spacing: .02em; }
.sc-ss .pen em { font: 700 15px / 1.2 var(--body); font-style: normal; }
.sc-ss .pen1 { left: 4%; top: 40%; } .sc-ss .pen2 { right: 5%; top: 46%; } .sc-ss .pen3 { left: 42%; top: 22%; }
.js .sc-ss .pen { transform: scale(0) rotate(-8deg); }
.sc-ss.play .pen { animation: slam2 .4s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sc-ss.play .pen1 { animation-delay: 1.8s; } .sc-ss.play .pen2 { animation-delay: 3.6s; } .sc-ss.play .pen3 { animation-delay: 5.4s; }
.sc-ss .burstbox { position: absolute; z-index: 3; right: 9%; top: 6%; width: min(300px, 34%); aspect-ratio: 1; pointer-events: none; }
.sc-ss .burstbox svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(6px 6px 0 rgba(20,20,20,.35)); }
.js .sc-ss .burstbox, .js .sc-ss .shing { transform: scale(.2) rotate(-14deg); opacity: 0; }
.sc-ss.play .burstbox { animation: slam2 .55s 5.6s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sc-ss.play .shing { animation: slam3 .4s 5.8s cubic-bezier(.2, 1.7, .4, 1) forwards; }
@keyframes slam3 { to { transform: rotate(-6deg); opacity: 1; } }
.sc-ss .score { font-size: 112px; }
.sc-ss .ofx { font-size: 24px; }
.sc-ss .cap.bottom { bottom: 62px; right: auto; max-width: 34ch; }
.sc-ss .tape { position: absolute; z-index: 2; left: 18px; right: 90px; bottom: 16px; height: 30px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.sc-ss .rule { position: absolute; inset: 0; }
.sc-ss .rule i { position: absolute; top: 0; width: 2px; height: 9px; background: var(--ink); }
.sc-ss .rule i:nth-child(4n+1) { height: 16px; }
.sc-ss .tape .z, .sc-ss .tape .e { position: absolute; bottom: 1px; font: 700 12px / 1 var(--body); }
.sc-ss .tape .z { left: 8px; } .sc-ss .tape .e { right: 8px; }
.sc-ss .pin { position: absolute; top: -9px; bottom: -9px; left: 0; width: 4px; margin-left: -2px; background: var(--red); }
.sc-ss .pin b { position: absolute; bottom: calc(100% + 4px); left: 0; transform: translateX(-80%); background: var(--red); color: var(--paper); border: 3px solid var(--ink); padding: 1px 8px; font: 400 15px / 1.3 var(--display); white-space: nowrap; }
.sc-ss.play .pin { animation: pinmove 5.4s linear forwards; }
@keyframes pinmove { to { left: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .sc-ss .dolly { transform: scale(1.2); } .js .sc-ss .pen, .js .sc-ss .burstbox { transform: none; opacity: 1; } .js .sc-ss .shing { transform: rotate(-6deg); opacity: 1; }
  .sc-ss .pin { left: 100%; } .sc-ss.play .dolly, .sc-ss.play .lines, .sc-ss.play .pin, .sc-ss.play .pen, .sc-ss.play .burstbox, .sc-ss.play .shing { animation: none; }
}
@media (max-width: 900px) {
  .sc-ss .pen b { font-size: 12px; } .sc-ss .pen em { font-size: 11px; } .sc-ss .pen { padding: 2px 8px; }
  .sc-ss .burstbox { width: 40%; right: 4%; top: 12%; } .sc-ss .cap.bottom { bottom: 58px; max-width: 24ch; right: auto; font-size: 13px; }
  .sc-ss .shing { font-size: 26px !important; }
}
.p.scene > img.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-ss .pen2 { right: 13%; top: 64%; }
.sc-ss .burstbox { width: min(270px, 31%); right: 8%; top: 5%; }
.sc-ss .tape { right: 104px; }
.sc-ss .cap.bottom { max-width: 32ch; }
.p.scene.sc-cl, .p.scene.sc-sh { aspect-ratio: 1000 / 780; }
.sc-sh .seal { display: none; }
.sc-cl .cap.bottom, .sc-sh .cap.bottom { right: 90px; max-width: none; bottom: 16px; }
@media (max-width: 900px) { .p.scene.sc-cl, .p.scene.sc-sh { aspect-ratio: 1000 / 860; } .sc-cl .sfx { display: none; } }
.p.scene .artbox { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .p.scene, .p.scene.s6, .p.scene.sc-cl, .p.scene.sc-sh { aspect-ratio: auto; display: block; padding-bottom: 14px; }
  .p.scene .artbox { position: relative; inset: auto; aspect-ratio: 1000 / 640; border-bottom: 4px solid var(--ink); overflow: hidden; margin-bottom: 14px; }
  .p.scene.sc-ss .artbox { aspect-ratio: 1000 / 760; }
  .p.scene .cap, .p.scene .cap.bottom, .sc-ss .cap.bottom, .sc-cl .cap.bottom, .sc-sh .cap.bottom { position: static; display: block; margin: 0 14px 14px; max-width: none; box-shadow: 4px 4px 0 var(--ink); }
  .p.scene .visit { position: static; display: inline-block; margin: 0 14px; }
  .p.scene .seal { right: 14px; bottom: 14px; width: 44px; height: 44px; font-size: 24px; line-height: 44px; }
  .sc-sh .seal { display: none; }
  .sc-ss .tape { right: 14px; left: 14px; bottom: 12px; }
  .sc-ss .burstbox { width: 44%; right: 3%; top: 4%; }
  .sc-ss .shing { display: none; }
  .p.scene .nar { font-size: 12px; }
}
.p.scene .artbox > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.p.scene .artbox > img.plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .p.scene.sc-ss .artbox { aspect-ratio: 1000 / 1000; }
  .sc-ss .burstbox { width: 40%; top: 9%; right: 2%; }
  .sc-ss .pen1 { left: 3%; top: 50%; } .sc-ss .pen2 { right: 3%; top: 62%; } .sc-ss .pen3 { left: 26%; top: 30%; }
  .sc-ss .tape { height: 28px; }
}

/* ===== Ship chapter: chaos, then MyShipDesk, then calm ===== */

.sp { min-height: 0; padding: 0; display: block; }
.sp .artbox { position: relative; aspect-ratio: 1000 / 560; overflow: hidden; background: var(--paper); }
.sp .artbox > img.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sp .nar { z-index: 3; }
.sp .hit { position: absolute; inset: 0; z-index: 1; }

/* Papers in the air, and a shaking picture, while the office panics */
.papers { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.papers i { position: absolute; left: var(--x); top: -12%; width: 38px; height: 48px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 3px 3px 0 rgba(20,20,20,.3); transform: rotate(var(--r)); opacity: 0; }
.papers i::before { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 3px; background: var(--ink); box-shadow: 0 8px 0 var(--ink), 0 16px 0 var(--ink), 0 24px 0 var(--ink); }
.chaos.play .papers i { animation: flutter var(--d) linear var(--t) infinite; }
@keyframes flutter { 0% { opacity: 0; transform: translate(0, 0) rotate(var(--r)); } 8% { opacity: 1; } 50% { transform: translate(60px, 300px) rotate(calc(var(--r) + 160deg)); } 100% { opacity: 1; transform: translate(-40px, 640px) rotate(calc(var(--r) + 340deg)); } }
.chaos.play .artbox > img.scene { animation: shake .22s infinite alternate; }
@keyframes shake { from { transform: translate(-3px, 1px); } to { transform: translate(3px, -2px); } }

/* Between the panels */
.gutter { position: relative; display: grid; place-items: center; height: 120px; margin: 14px 0; background: repeating-conic-gradient(from 0deg at 50% 50%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3deg, var(--paper) 3deg 7deg); border: 4px solid var(--ink); overflow: hidden; }
.gutter b { font: 400 clamp(30px, 5vw, 56px) / 1 var(--display); color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: rotate(-3deg); }
.gutter span { position: absolute; left: 0; top: 0; background: var(--ink); color: var(--paper); padding: 6px 14px; font-weight: 700; font-size: 15px; }
.js .gutter b { transform: scale(.3) rotate(-14deg); opacity: 0; }
.gutter.play b { animation: slam3 .5s cubic-bezier(.2, 1.7, .4, 1) forwards; }

/* Calm: the stamp, and a label on the screen she is using */
.stamp { position: absolute; z-index: 3; left: 5%; top: 14%; width: 96px; height: 96px; background: var(--red); color: var(--paper); font: 700 66px / 96px var(--body); text-align: center; transform: rotate(-8deg); border: 4px solid var(--ink); }
.js .stamp { transform: scale(2.6) rotate(-16deg); opacity: 0; }
.calm.play .stamp { animation: stamp2 .35s 2.4s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp2 { to { transform: rotate(-8deg); opacity: 1; } }
.screenlabel { position: absolute; z-index: 3; left: 66%; top: 41%; background: var(--red); color: var(--paper); border: 3px solid var(--ink); padding: 3px 12px 4px; font: 400 18px / 1.2 var(--display); box-shadow: 4px 4px 0 var(--ink); transform-origin: bottom center; }
.screenlabel::after { content: ""; position: absolute; left: 50%; top: 100%; width: 0; height: 0; border: 9px solid transparent; border-top-color: var(--ink); transform: translateX(-50%); }
.js .screenlabel { transform: scale(0); }
.calm.play .screenlabel { animation: slam2 .4s 1.2s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sp .sfx { z-index: 3; left: 3%; bottom: 4%; font-size: 48px; }
.sp .cap.bottom { position: static; display: block; margin: 0 20px 20px; max-width: 52ch; }
.sp .visit { position: absolute; right: 18px; bottom: 22px; z-index: 4; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 6px 14px; font-weight: 700; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.sp .visit:hover { color: var(--red); }
.calm .reacts { padding-bottom: 18px; }

/* The MyShipDesk screen, fitted to the monitor's angle in the drawing */
.mon { position: absolute; left: 0; top: 0; width: 1024px; height: 572px; transform-origin: 0 0; z-index: 2; pointer-events: none; }
.scr { position: absolute; left: 0; top: 0; width: 560px; height: 340px; transform-origin: 0 0; background: #fff; }
.scr svg { display: block; }
.scr .mt { font: 400 40px var(--display); fill: #fff; }
.scr .ms { font: 700 20px var(--body); fill: #fff; }
.scr .mr { font: 700 40px var(--body); fill: #141414; }
.scr .mb { font: 400 36px var(--display); fill: #fff; }
.scr .ms2 { font: 700 18px var(--body); fill: #5a5a5a; }
.scr .tk { fill: none; stroke: #141414; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.js .scr .tk { stroke-dasharray: 1; stroke-dashoffset: 1; }
.calm.play .scr .tk { animation: draw .3s ease-out forwards; }
.calm.play .scr g g:nth-child(1) .tk { animation-delay: .5s; } .calm.play .scr g g:nth-child(2) .tk { animation-delay: .9s; } .calm.play .scr g g:nth-child(3) .tk { animation-delay: 1.3s; } 
.js .scr .btnsign { opacity: .25; }
.calm.play .scr .btnsign { animation: lit .3s 1.8s forwards; }
@keyframes lit { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .scr .tk { stroke-dashoffset: 0; } .js .scr .btnsign { opacity: 1; } .calm.play .scr .tk, .calm.play .scr .btnsign { animation: none; } }

/* Reaction strip on the scene itself: face, eyes close-up, face, eyes close-up */
.strip { position: absolute; z-index: 3; right: 1.2%; top: 50%; transform: translateY(-50%); width: 10.5%; display: grid; gap: 8px; }
.strip .sq { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 4px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.strip .sq img { display: block; width: 100%; height: 100%; object-fit: cover; }
.strip .z img { scale: 2.5; }
.strip .zd img { transform-origin: 50% 36%; } .strip .ze img { transform-origin: 50% 47%; }
.sp .sb1, .sp .sb2 { position: absolute; z-index: 3; margin: 0; padding: 12px 20px; border: 3px solid var(--ink); background: var(--paper); border-radius: 50% / 44%; font: 400 18px / 1.2 var(--display); max-width: 16ch; text-align: center; }
.sp .sb1 { right: 14%; top: 8%; } .sp .sb2 { right: 14%; top: 66%; } .calm .sb2 { top: 86%; }
.sp .sb1::after, .sp .sb2::after { content: ""; position: absolute; right: -20px; top: 50%; width: 22px; height: 26px; background: var(--ink); transform: translateY(-50%); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.js .sp .sq, .js .sp .sb1, .js .sp .sb2 { opacity: 0; transform: scale(.3); }
.sp.play .sq, .sp.play .sb1, .sp.play .sb2 { animation: pop2 .35s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.sp.play .sq:nth-child(1) { animation-delay: .6s; } .sp.play .sq:nth-child(2) { animation-delay: 1s; } .sp.play .sq:nth-child(3) { animation-delay: 1.4s; } .sp.play .sq:nth-child(4) { animation-delay: 1.8s; }
.sp.play .sb1 { animation-delay: 1.1s; } .sp.play .sb2 { animation-delay: 1.9s; }
@keyframes pop2 { to { opacity: 1; transform: none; } }
.chaos.play .sq img { animation: tremble .12s infinite alternate; }
@media (max-width: 900px) { .strip { width: 17%; gap: 5px; } .sp .sb1, .sp .sb2 { font-size: 15px; padding: 8px 12px; right: 22%; } .sp .sb2 { top: 70%; } }
@media (prefers-reduced-motion: reduce) { .js .sp .sq, .js .sp .sb1, .js .sp .sb2 { opacity: 1; transform: none; } .sp.play .sq, .sp.play .sb1, .sp.play .sb2, .chaos.play .sq img { animation: none; } }
.shipnote { margin: 18px 0 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 900px) {
  .reacts { grid-template-columns: 1fr; }
  .react .face { width: 96px; } .react .say { font-size: 15px; }
  .react .bang { left: 70px; }
  .screenlabel { left: 56%; top: 30%; font-size: 15px; }
  .stamp { width: 64px; height: 64px; font-size: 48px; line-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .sp .react, .js .screenlabel { opacity: 1; transform: none; } .js .stamp { opacity: 1; transform: rotate(-8deg); } .js .gutter b { opacity: 1; transform: rotate(-3deg); }
  .chaos.play .react .face img, .chaos.play .artbox > img.scene, .chaos.play .papers i { animation: none; }
}

/* One big box around the before and after */
.pairbox { border: 4px solid var(--ink); background: var(--paper); }
.pairbox .sp { border: 0; }
.pairbox .gutter { margin: 0; border-left: 0; border-right: 0; }

/* Ship chapter at phone width: picture on top, faces in a row, lines below */
@media (max-width: 900px) {
  .sp .artbox { aspect-ratio: auto; display: block; overflow: visible; }
  .sp .artbox > img.scene { position: relative; inset: auto; height: auto; aspect-ratio: 1000 / 560; }
  .sp .artbox .papers { height: auto; aspect-ratio: 1000 / 560; bottom: auto; }
  .sp .artbox .hit { aspect-ratio: 1000 / 560; bottom: auto; }
  .sp .sfx, .sp .stamp { display: none; }
  .sp .nar { font-size: 12px; max-width: 26ch; }
  .strip { position: static; transform: none; width: auto; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 12px 4px; border-top: 4px solid var(--ink); background: radial-gradient(circle, rgba(20,20,20,.14) 1.6px, transparent 2px) 0 0 / 10px 10px, var(--paper); }
  .sp .sb1, .sp .sb2 { position: static; display: block; margin: 8px 12px 0; max-width: none; text-align: left; padding: 8px 16px; font-size: 15px; border-radius: 24px; }
  .sp .sb1::after, .sp .sb2::after { display: none; }
  .sp .sb2 { margin-bottom: 12px; }
  .calm .sb2 { top: auto; }
  .sp .visit { position: static; display: inline-block; margin: 0 12px 14px; }
  .sp .cap.bottom { margin: 12px 12px 12px; }
}

/* Clinic chapter: a horizontal strip across the top right, because the patient sits on the right in the calm scene */
@media (min-width: 901px) {
  .strip.hstrip { right: 1.5%; top: 3%; transform: none; width: 36%; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .clinicbox .sb1, .clinicbox .sb2 { right: 3%; max-width: 20ch; }
  .clinicbox .sb1 { top: 24%; } .clinicbox .sb2 { top: 38%; }
  .clinicbox .calm .sb2 { top: 38%; }
  .clinicbox .sb1::after, .clinicbox .sb2::after { right: auto; left: 72%; top: -20px; width: 26px; height: 22px; transform: none; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
  .clinicbox .stamp { left: 2%; top: 30%; }
}
@media (max-width: 900px) { .clinicbox .gutter b { font-size: 26px; } }

/* Clinic chaos: dizzy swirl eyes, floating question marks, a pulsing !? and a dizzy sound effect */
.sq .sw { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.sw .spin { transform-box: fill-box; transform-origin: center; animation: spinr .7s linear infinite; }
.sw .spin.rev { animation-direction: reverse; animation-duration: .9s; }
@keyframes spinr { to { transform: rotate(360deg); } }
.qm { position: absolute; z-index: 3; font: 400 46px / 1 var(--display); color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke; opacity: 0; }
.q1 { left: 55%; top: 5%; } .q2 { left: 58.5%; top: 15%; } .q3 { left: 52%; top: 16%; }
.chaos.play .qm { animation: qfloat 2.4s ease-in-out infinite; }
.chaos.play .q1 { animation-delay: 1.9s; } .chaos.play .q2 { animation-delay: 2.3s; } .chaos.play .q3 { animation-delay: 2.7s; }
@keyframes qfloat { 0% { opacity: 0; transform: translateY(14px) rotate(-14deg) scale(.6); } 25% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px) rotate(12deg) scale(1.1); } }
.qb { position: absolute; z-index: 3; right: 4.5%; top: 51%; font: 400 64px / 1 var(--display); color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke; transform: rotate(8deg); opacity: 0; }
.chaos.play .qb { animation: qpulse 1s 2.2s ease-in-out infinite; }
@keyframes qpulse { 0%, 100% { opacity: 1; transform: rotate(8deg) scale(1); } 50% { opacity: 1; transform: rotate(8deg) scale(1.18); } }
.clinicbox .chaos .kura { left: auto !important; right: 12%; top: 50% !important; bottom: auto !important; font-size: 40px; transform: rotate(-4deg); }
@media (max-width: 900px) { .qm, .qb, .clinicbox .chaos .kura { display: none; } }
@media (prefers-reduced-motion: reduce) { .sw .spin, .chaos.play .qm, .chaos.play .qb { animation: none; } .qm, .qb { opacity: 1; } }

/* One reaction per face: exclamation, swirl eyes, question mark, tears */
.sq .mk { position: absolute; z-index: 2; top: 2%; right: 8%; font: 400 46px / 1 var(--display); color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke; pointer-events: none; }
.sq .mk.ex { transform: rotate(10deg); }
.sq .mk.qu { transform: rotate(-8deg); }
.chaos.play .mk.ex { animation: kpop .7s ease-in-out infinite alternate; }
.chaos.play .mk.qu { animation: kbob 1.6s ease-in-out infinite; }
@keyframes kpop { from { transform: rotate(10deg) scale(.9); } to { transform: rotate(10deg) scale(1.25); } }
@keyframes kbob { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-6px) rotate(8deg); } }
.sw .tear { stroke-dasharray: 5 7; }
.chaos.play .sw .tear { animation: tearflow .5s linear infinite; }
.chaos.play .sw .tear.t2 { animation-duration: .6s; }
@keyframes tearflow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .chaos.play .mk, .chaos.play .sw .tear { animation: none; } }

/* Double exclamation mark on the eye close-up, a shock sound instead of the dizzy one */
.sq .mk.dbl { top: 4%; right: 6%; font-size: 52px; transform: rotate(-6deg); }
.chaos.play .mk.dbl { animation: kshake .14s linear infinite alternate; }
@keyframes kshake { from { transform: rotate(-6deg) translate(-2px, 1px); } to { transform: rotate(-6deg) translate(2px, -1px); } }
.sq .mk.ex { font-size: 40px; right: 5%; }
@media (prefers-reduced-motion: reduce) { .chaos.play .mk.dbl { animation: none; } }

/* SafeStreets chapter: score meter in the middle band, and sound-effect marks on the strip */
.ssgut .meter { position: absolute; left: 6%; right: 6%; bottom: 12px; height: 18px; border: 3px solid var(--ink); background: repeating-linear-gradient(90deg, #fff 0 calc(10% - 2px), var(--ink) calc(10% - 2px) 10%); }
.ssgut .meter i { display: block; height: 100%; width: 0; background: var(--red); border-right: 0; }
.js .ssgut.play .meter i { animation: meterfill 2.4s .3s cubic-bezier(.3, .1, .2, 1) forwards; }
@keyframes meterfill { to { width: 100%; } }
.ssgut b { margin-bottom: 18px; }
.sq .mk.bark { font-size: 22px; top: auto; bottom: 4%; right: 4%; transform: rotate(-6deg); }
.sq .mk.pant { font-size: 19px; top: auto; bottom: 4%; right: 4%; transform: rotate(-4deg); }
.sq .mk.note, .sq .mk.heart { font-size: 40px; }
.chaos.play .mk.bark { animation: kshake .16s linear infinite alternate; }
@media (max-width: 900px) { .ssbox .gutter b { font-size: 26px; } .ssbox .mk { display: none; } .ssgut .meter { bottom: 8px; height: 14px; } }
@media (prefers-reduced-motion: reduce) { .js .ssgut.play .meter i, .js .ssgut .meter i { width: 100%; animation: none; } }
.grid > .pairbox { grid-column: 1 / -1; }
.ssgut { height: 172px; align-content: start; padding-top: 26px; }
.ssgut b { margin: 0; }
.ssgut .meter { bottom: 16px; height: 26px; overflow: hidden; }
.ssgut .meter::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 3px), var(--ink) calc(10% - 3px) 10%); pointer-events: none; }
@media (max-width: 900px) { .ssgut { height: 140px; padding-top: 22px; } .ssgut .meter { height: 20px; } }

/* SafeStreets: animals only, danger signs on the hostile road, and a colour wash on both pictures */
.strip.hstrip.two { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 901px) { .ssbox .strip.hstrip.two { width: 22%; right: 2%; top: 4%; } }
.tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
.tint-hot { background: linear-gradient(180deg, #ffb24a 0%, #ffd8a0 30%, rgba(255,255,255,0) 58%), radial-gradient(ellipse at 72% 72%, rgba(255,92,60,.42), rgba(255,255,255,0) 62%), radial-gradient(ellipse at 14% 78%, rgba(255,214,70,.45), rgba(255,255,255,0) 40%); }
.tint-fresh { background: linear-gradient(180deg, #8fd0ff 0%, #cfeaff 32%, rgba(255,255,255,0) 52%), radial-gradient(ellipse at 24% 60%, rgba(104,200,96,.5), rgba(255,255,255,0) 52%), radial-gradient(ellipse at 84% 48%, rgba(46,190,190,.42), rgba(255,255,255,0) 40%), radial-gradient(ellipse at 10% 40%, rgba(255,160,90,.35), rgba(255,255,255,0) 35%); }
.dsign { position: absolute; z-index: 3; margin: 0; font-family: var(--display); line-height: 1; text-align: center; border: 4px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); opacity: 0; }
.dsign.d-tri { left: 32%; top: 7%; width: 74px; height: 74px; background: #ffd400; transform: rotate(45deg) scale(.3); display: grid; place-items: center; }
.dsign.d-tri b { transform: rotate(-45deg); font: 400 38px / 1 var(--display); }
.dsign.d-plate { left: 41%; top: 24%; background: var(--red); color: #fff; font-size: 30px; padding: 8px 16px; transform: rotate(-4deg); -webkit-text-stroke: 1px var(--ink); }
.dsign.d-cars { left: 21%; top: 10%; background: #ffd400; font-size: 24px; padding: 6px 14px; transform: rotate(3deg); }
.dsign.d-no { left: 24%; top: 25%; background: #fff; color: var(--red); font-size: 22px; padding: 6px 12px; transform: rotate(-2deg); border-color: var(--red); box-shadow: 4px 4px 0 var(--ink); }
.js .dsign { opacity: 0; }
.chaos.play .dsign { animation: sign .35s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.chaos.play .d-cars { animation-delay: .5s; } .chaos.play .d-tri { animation-delay: 1s; animation-name: signtri; } .chaos.play .d-plate { animation-delay: 1.5s; } .chaos.play .d-no { animation-delay: 2s; }
@keyframes sign { to { opacity: 1; } }
@keyframes signtri { from { opacity: 0; transform: rotate(45deg) scale(.3); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.chaos.play .dsign.d-plate, .chaos.play .dsign.d-cars, .chaos.play .dsign.d-no { animation-name: signpop; }
@keyframes signpop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@media (max-width: 900px) { .tint { height: auto; aspect-ratio: 1000 / 560; bottom: auto; } .dsign.d-plate { font-size: 14px; padding: 4px 8px; } .dsign.d-cars, .dsign.d-no { font-size: 12px; padding: 3px 7px; } .dsign.d-tri { width: 40px; height: 40px; } .dsign.d-tri b { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .js .dsign { opacity: 1; } .dsign.d-tri { transform: rotate(45deg); } .chaos.play .dsign { animation: none; } }
.dsign.d-plate { left: 47%; top: 31%; } .dsign.d-no { left: 17%; top: 31%; } .dsign.d-cars { left: 13%; top: 11%; } .dsign.d-tri { left: 45%; top: 8%; }
/* Hostile road, pure ink: signs in paper and red, placed on the empty sky */
.dsign.d-tri { background: #fff; left: 40%; top: 9%; } .dsign.d-tri b { color: var(--red); }
.dsign.d-cars { background: #fff; color: var(--red); left: 14%; top: 12%; }
.dsign.d-no { left: 20%; top: 30%; }
.dsign.d-plate { left: 50%; top: 24%; }

/* SafeStreets chapter, crowd version: two junction pictures, the cut-out pair on the kerb, six faces and three bubbles */
.cs { padding: 0; min-height: 0; display: block; border: 0; }
.cs .cview { position: relative; aspect-ratio: 1000 / 560; overflow: hidden; }
.cs .cview > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cs .hit { position: absolute; inset: 0; z-index: 1; }
.cs .pairimg { position: absolute; z-index: 2; left: 2.5%; bottom: 3%; height: 38%; width: auto; filter: drop-shadow(3px 3px 0 rgba(20,20,20,.35)); transform-origin: 50% 100%; }
.csa .pairimg { height: 46%; left: 3%; }
.cs .nar { z-index: 3; }
.cs .cstrip { position: absolute; z-index: 3; right: 1.2%; top: 14px; width: 56%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cs .cstrip .sq { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 3px solid var(--ink); background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.cs .cstrip .sq img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs .say { position: absolute; z-index: 3; margin: 0; padding: 10px 18px; border: 3px solid var(--ink); background: var(--paper); border-radius: 50% / 44%; font: 400 18px / 1.2 var(--display); max-width: 15ch; text-align: center; }
.cs .cs1 { right: 40%; top: 22%; } .cs .cs2 { right: 20%; top: 34%; } .cs .cs3 { right: 2%; top: 22%; }
.cs .cs1::after, .cs .cs2::after, .cs .cs3::after { content: ""; position: absolute; left: 50%; top: -18px; width: 22px; height: 20px; background: var(--ink); transform: translateX(-50%); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.js .cs .sq, .js .cs .say { opacity: 0; transform: scale(.3); }
.cs.play .sq, .cs.play .say { animation: pop2 .35s cubic-bezier(.2, 1.7, .4, 1) forwards; }
.cs.play .sq:nth-child(1) { animation-delay: .4s; } .cs.play .sq:nth-child(2) { animation-delay: .65s; } .cs.play .sq:nth-child(3) { animation-delay: .9s; } .cs.play .sq:nth-child(4) { animation-delay: 1.15s; } .cs.play .sq:nth-child(5) { animation-delay: 1.4s; } .cs.play .sq:nth-child(6) { animation-delay: 1.65s; }
.cs.play .cs1 { animation-delay: 1.2s; } .cs.play .cs2 { animation-delay: 1.8s; } .cs.play .cs3 { animation-delay: 2.4s; }
.csb.play .sq img { animation: tremble .12s infinite alternate; }
.csb.play .pairimg { animation: shiver .09s infinite alternate; }
@keyframes shiver { from { transform: translate(-1.5px, 0) rotate(-.6deg); } to { transform: translate(1.5px, 0) rotate(.6deg); } }
.csa.play .pairimg { animation: stroll2 1.1s ease-in-out infinite alternate; }
@keyframes stroll2 { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-5px) rotate(.6deg); } }
.cs .cap.bottom { position: static; display: block; margin: 12px 20px 16px; max-width: 52ch; }
.cs .visit { position: absolute; right: 18px; bottom: 22px; z-index: 4; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 6px 14px; font-weight: 700; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
@media (max-width: 900px) {
  .cs .cview { aspect-ratio: 1000 / 620; }
  .cs .pairimg { height: 46%; } .csa .pairimg { height: 54%; }
  .cs .cstrip { position: static; width: auto; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 8px 8px 4px; border-top: 4px solid var(--ink); background: var(--paper); }
  .cs .cstrip .sq { border-width: 2px; box-shadow: 2px 2px 0 var(--ink); }
  .cs .say { position: static; display: block; margin: 8px 12px 0; max-width: none; text-align: left; padding: 8px 16px; font-size: 15px; border-radius: 24px; }
  .cs .say::after { display: none; }
  .cs .visit { position: static; display: inline-block; margin: 12px 12px 0; }
  .cs .nar { font-size: 12px; max-width: 26ch; }
}
@media (prefers-reduced-motion: reduce) { .js .cs .sq, .js .cs .say { opacity: 1; transform: none; } .cs.play .sq, .cs.play .say, .csb.play .sq img, .csb.play .pairimg, .csa.play .pairimg { animation: none; } }

/* Plaza animation: overlays drawn in code, so the picture itself never smears */
.cs .cview { container-type: inline-size; }
.fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.fx > * { position: absolute; margin: 0; opacity: 0; }
.fx .orb { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #ff8a1f; border: .22cqw solid var(--ink); }
.fx .o1 { left: 66.5%; top: 45%; } .fx .o2 { left: 68.5%; top: 43%; } .fx .o3 { left: 70.5%; top: 45%; }
.csa.play .orb { opacity: 1; animation: ox 1.1s ease-in-out infinite alternate, oy .55s cubic-bezier(.25, .8, .5, 1) infinite alternate; }
.csa.play .o2 { animation-delay: -.37s, -.18s; } .csa.play .o3 { animation-delay: -.74s, -.36s; }
@keyframes ox { from { translate: -2.8cqw 0; } to { translate: 2.8cqw 0; } }
@keyframes oy { from { transform: translateY(1.2cqw); } to { transform: translateY(-4.5cqw); } }
.fx .nt, .fx .ht { font: 400 2.6cqw / 1 var(--display); }
.fx .nt { color: var(--ink); left: 56%; top: 54%; } .fx .n2 { left: 57.5%; } .fx .n3 { left: 55%; }
.fx .ht { color: var(--red); -webkit-text-stroke: .15cqw var(--ink); paint-order: stroke; left: 29.5%; top: 55%; } .fx .h2 { left: 31.5%; } .fx .h3 { left: 27.5%; }
.csa.play .nt, .csa.play .ht { animation: rise 3.2s ease-out infinite; }
.csa.play .n2, .csa.play .h2 { animation-delay: 1.05s; } .csa.play .n3, .csa.play .h3 { animation-delay: 2.1s; }
@keyframes rise { 0% { opacity: 0; transform: translate(0, 0) rotate(-8deg) scale(.6); } 18% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-2.6cqw, -9cqw) rotate(12deg) scale(1.1); } }
.fx .ft { width: 1cqw; height: .38cqw; border-radius: 50%; background: #fff; border: .16cqw solid var(--ink); left: 62%; top: 68%; }
.fx .f2 { left: 63.5%; } .fx .f3 { left: 61%; }
.csa.play .ft { animation: feather 2.2s ease-in infinite; }
.csa.play .f2 { animation-delay: .7s; } .csa.play .f3 { animation-delay: 1.4s; }
@keyframes feather { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(3.4cqw, 6cqw) rotate(220deg); } }
.fx .pop { font: 400 2.6cqw / 1 var(--display); color: var(--red); -webkit-text-stroke: .2cqw var(--ink); paint-order: stroke; }
.fx .hen { left: 59%; top: 62%; transform: rotate(-6deg); }
.csa.play .pop { animation: popcycle 3.4s ease-in-out infinite; }
@keyframes popcycle { 0%, 62% { opacity: 0; transform: rotate(-6deg) scale(.3); } 70% { opacity: 1; transform: rotate(-6deg) scale(1.15); } 92% { opacity: 1; transform: rotate(-6deg) scale(1); } 100% { opacity: 0; } }
.fx .spk { font: 400 2cqw / 1 var(--display); color: #ffc400; -webkit-text-stroke: .12cqw var(--ink); paint-order: stroke; left: 13%; top: 64%; } .fx .s2 { left: 21%; top: 69%; } .fx .s3 { left: 15.5%; top: 80%; }
.csa.play .spk { animation: twinkle 1.1s ease-in-out infinite; }
.csa.play .s2 { animation-delay: .35s; } .csa.play .s3 { animation-delay: .7s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(30deg); } }
.fx .jl { width: .28cqw; height: 2cqw; background: var(--ink); border-radius: 1cqw; left: 61%; top: 60%; transform-origin: 50% 0; }
.fx .j2 { left: 62.8%; top: 60.6%; } .fx .j3 { left: 64.6%; top: 60%; }
.csa.play .jl { opacity: 1; animation: jump .5s ease-in-out infinite alternate; }
.csa.play .j2 { animation-delay: .12s; } .csa.play .j3 { animation-delay: .24s; }
@keyframes jump { from { transform: scaleY(.35); } to { transform: scaleY(1.1); } }
.fx .hi { left: 76%; top: 27%; background: var(--paper); border: .3cqw solid var(--ink); border-radius: 50% / 44%; padding: .7cqw 1.9cqw; font: 400 2.2cqw / 1.2 var(--display); }
.fx .hi::after { content: ""; position: absolute; left: 62%; top: 100%; width: 1.6cqw; height: 1.4cqw; background: var(--ink); clip-path: polygon(0 0, 100% 0, 60% 100%); }
.csa.play .hi { animation: hicycle 4s ease-in-out infinite; }
@keyframes hicycle { 0%, 20% { opacity: 0; transform: scale(.3); } 28% { opacity: 1; transform: scale(1.12); } 40%, 78% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .csa.play .fx > * { animation: none !important; opacity: 1; } .fx .pop, .fx .hi { opacity: 1; } }
/* positions fitted to the plaza picture */
.fx .o1 { left: 56.5%; top: 31%; } .fx .o2 { left: 59%; top: 29%; } .fx .o3 { left: 61.5%; top: 31%; }
.fx .nt { left: 54%; top: 53%; } .fx .n2 { left: 55.5%; } .fx .n3 { left: 52.5%; }
.fx .ht { left: 29%; top: 49%; } .fx .h2 { left: 31.5%; } .fx .h3 { left: 26.5%; }
.fx .ft { left: 61%; top: 66%; } .fx .f2 { left: 62.5%; } .fx .f3 { left: 59.5%; }
.fx .hen { left: 58%; top: 58%; }
.fx .spk { left: 16%; top: 59%; } .fx .s2 { left: 21.5%; top: 64%; } .fx .s3 { left: 15%; top: 72%; }
.fx .jl { left: 62.4%; top: 36%; } .fx .j2 { left: 64%; top: 36.6%; } .fx .j3 { left: 65.6%; top: 36%; }
.fx .hi { left: 79%; top: 14%; }
.fx .o1 { left: 62.5%; top: 46%; } .fx .o2 { left: 65%; top: 44%; } .fx .o3 { left: 67.5%; top: 46%; }
.fx .jl { left: 62.8%; top: 61%; } .fx .j2 { left: 64.4%; top: 61.6%; } .fx .j3 { left: 66%; top: 61%; }
.fx .ht { top: 57%; } .fx .hen { top: 65%; left: 60%; } .fx .ft { top: 71%; }

/* Manga pass: ink greys with red as the only colour */
.cs .cview > img.bg { filter: grayscale(1) contrast(1.25) brightness(1.03); }
.cs .cstrip .sq img { filter: grayscale(1) contrast(1.2); }
.cs .pairimg { filter: contrast(1.15) drop-shadow(3px 3px 0 rgba(20,20,20,.35)); }
.cs .cview { background: #fff; }
.csb .cview::after, .csa .cview::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle, rgba(20,20,20,.18) 1.2px, transparent 1.6px) 0 0 / 7px 7px; mix-blend-mode: multiply; }
.csa .cview::after { opacity: .5; }
.fx .orb { background: var(--red); }
.fx .spk { color: var(--red); }
.cs .cstrip .sq { border-color: var(--ink); }

/* Weather tint: grey drawing, one soft colour of sky laid over it, plus grain */
.cs .cview > img.bg { filter: grayscale(1) contrast(1.2) brightness(1.02); }
.cs .pairimg { filter: grayscale(1) contrast(1.15) drop-shadow(3px 3px 0 rgba(20,20,20,.35)); }
.cs .cview::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
.csb .cview::before { background: linear-gradient(180deg, #f2b66a 0%, #f7cf9a 34%, #f4dcc0 62%, rgba(255,255,255,0) 88%); opacity: .85; }
.csa .cview::before { background: linear-gradient(180deg, #8ec9f2 0%, #b9defa 36%, #dcefff 64%, rgba(255,255,255,0) 90%); opacity: .85; }
.cs .cview::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); opacity: .22; mix-blend-mode: multiply; }
.fx .orb { background: #fff; }
.fx .spk { color: #fff; }
.fx .ht { color: #fff; -webkit-text-stroke: .3cqw var(--ink); }
/* the red scarf is the one real colour */
.cs .pairimg { filter: contrast(1.1) drop-shadow(3px 3px 0 rgba(20,20,20,.35)); }

/* Report cards: SafeStreets marks each street like a teacher marks a test */
.rcard { position: absolute; z-index: 4; left: 2.5%; top: 19%; width: 26cqw; padding: 1.1cqw 1.4cqw 1.3cqw; background: #fffdf3; border: .35cqw solid var(--ink); box-shadow: .6cqw .6cqw 0 var(--ink); transform: rotate(-3deg) scale(.3); opacity: 0; display: grid; gap: .35cqw; background-image: repeating-linear-gradient(180deg, transparent 0 1.55cqw, rgba(20,20,20,.12) 1.55cqw 1.7cqw); font: 700 1.25cqw / 1.3 var(--body); color: var(--ink); }
.rcard .rc-h { font: 400 1.35cqw / 1 var(--display); letter-spacing: .04em; border-bottom: .22cqw solid var(--ink); padding-bottom: .4cqw; }
.rcard .rc-sc { font: 400 5.2cqw / 1 var(--display); color: var(--ink); }
.rcard .rc-sc small { font: 700 1.5cqw var(--body); color: var(--ink-soft); }
.rcard .rc-note { color: var(--red); font: 700 1.6cqw / 1.2 var(--body); font-style: italic; transform: rotate(-2deg); margin-top: .3cqw; }
.rcard .rc-star { position: absolute; right: -1.6cqw; bottom: -1.8cqw; font-style: normal; font-size: 5.4cqw; line-height: 1; color: #ffc400; -webkit-text-stroke: .22cqw var(--ink); transform: rotate(14deg); }
.cs.play .rcard { animation: rcslam .45s 1.2s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.csa.play .rcard { animation-delay: 1.6s; }
@keyframes rcslam { to { opacity: 1; transform: rotate(-3deg) scale(1); } }
.ssgut .mlo, .ssgut .mhi { position: absolute; bottom: 44px; font: 400 26px / 1 var(--display); }
.ssgut .mlo { left: 6%; } .ssgut .mhi { right: 6%; color: var(--red); }
@media (max-width: 900px) { .rcard { font-size: max(10px, 2.6cqw); width: 42cqw; top: 15%; } .rcard .rc-h { font-size: max(10px, 2.6cqw); } .rcard .rc-sc { font-size: 9cqw; } .rcard .rc-sc small { font-size: max(10px, 2.6cqw); } .rcard .rc-note { font-size: max(11px, 3cqw); } .rcard .rc-star { font-size: 9cqw; } }
@media (prefers-reduced-motion: reduce) { .rcard { opacity: 1; transform: rotate(-3deg); } .cs.play .rcard { animation: none; } }
/* band labels: plain numbers, not the dark "THEN" tag */
.ssgut .mlo, .ssgut .mhi { background: none; padding: 0; top: auto; bottom: 46px; font: 400 26px / 1 var(--display); color: var(--ink); -webkit-text-stroke: 0; }
.ssgut .mlo { left: 6%; right: auto; } .ssgut .mhi { right: 6%; left: auto; color: var(--red); }
@media (max-width: 900px) {
  .rcard { left: auto; right: 2%; top: 36%; width: 40cqw; transform: rotate(2deg) scale(.3); }
  @keyframes rcslam { to { opacity: 1; transform: rotate(2deg) scale(1); } }
  .ssgut .mlo, .ssgut .mhi { bottom: 34px; font-size: 20px; }
}
.ssgut .mlo, .ssgut .mhi { bottom: 52px; }
@media (max-width: 900px) { .ssgut .mlo, .ssgut .mhi { bottom: 44px; } }

.csa .cview { aspect-ratio: 1024 / 394; }
@media (max-width: 900px) { .csa .cview { aspect-ratio: 1024 / 394; } .csa .cview > img.bg { object-fit: contain; object-position: 50% 50%; height: 100%; } .csa > .rcard { position: relative !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 0 10px; } .csa .nar { top: 0 !important; bottom: auto !important; left: 0 !important; right: auto !important; font-size: 10px; padding: 4px 8px; max-width: 20ch; } }

/* report card above the picture, never over it */
.cs > .rcard { position: relative !important; left: auto !important; right: auto !important; top: auto !important; width: auto !important; transform: rotate(-.4deg) !important; opacity: 1 !important; animation: none !important; display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 10px 16px 12px !important; margin: 0 0 14px; background-image: none !important; font: 700 15px / 1.3 var(--body) !important; box-shadow: 4px 4px 0 var(--ink) !important; border-width: 3px !important; }
.cs > .rcard .rc-h { font-size: 15px !important; }
.cs > .rcard .rc-sc { font-size: 38px !important; line-height: 1; }
.cs > .rcard .rc-sc small { font-size: 14px !important; }
.cs > .rcard .rc-note { font-size: 16px !important; margin-left: auto; }
.cs > .rcard .rc-star { position: static !important; font-size: 30px !important; transform: none !important; opacity: 1 !important; animation: none !important; color: #e8b800; }
@media (max-width: 900px) { .cs > .rcard { gap: 2px 12px; } .cs > .rcard .rc-note { margin-left: 0; } .cs > .rcard .rc-sc { font-size: 32px !important; } }

/* card overlaid on the top of the picture */
.cs { position: relative; }
.cs > .rcard { position: absolute !important; z-index: 6; top: 12px !important; left: 2% !important; right: 2% !important; margin: 0; }
.cs .nar { top: 98px !important; }
@media (max-width: 900px) { .cs .nar { top: auto !important; bottom: 0 !important; left: auto !important; right: 0 !important; } .cs > .rcard { top: 6px !important; left: 1.5% !important; right: 1.5% !important; padding: 6px 10px 8px !important; gap: 0 10px; } .cs > .rcard, .cs > .rcard .rc-st, .cs > .rcard .rc-ln { font-size: 11px !important; } .cs > .rcard .rc-h { font-size: 11px !important; } .cs > .rcard .rc-sc { font-size: 24px !important; } .cs > .rcard .rc-note { font-size: 12px !important; } .cs > .rcard .rc-star { font-size: 20px !important; } }
@media (max-width: 900px) { .csa > .rcard { position: relative !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 0 10px; } .csa .nar { top: 0 !important; bottom: auto !important; left: 0 !important; right: auto !important; font-size: 10px; padding: 4px 8px; max-width: 20ch; } }
@media (max-width: 900px) { .csa .nar { display: none !important; } }

/* funny talk on the redesigned street */
.cs .say.tb { font: 400 max(10px, 1.4cqw) / 1.15 var(--display); padding: .55cqw 1.1cqw; border-width: 2px; max-width: 13ch; }
.cs .say.tb::after { content: ""; position: absolute; right: auto; top: auto; bottom: -18px; left: var(--tx, 28%); width: 22px; height: 20px; background: var(--ink); border: 0; transform: none; clip-path: polygon(0 0, 100% 0, 30% 100%); }
.cs .tb1 { left: 21%; top: 49%; --tx: 68%; } .cs .tb2 { left: 3%; top: 31%; --tx: 45%; } .cs .tb3 { left: 58%; top: 70%; --tx: 78%; } .cs .tb4 { left: 66%; top: 44%; --tx: 70%; } .cs .tb5 { left: 44%; top: 31%; --tx: 60%; }
.cs.play .tb1 { animation-delay: 1.0s; } .cs.play .tb2 { animation-delay: 1.5s; } .cs.play .tb3 { animation-delay: 2.0s; } .cs.play .tb4 { animation-delay: 2.5s; } .cs.play .tb5 { animation-delay: 3.0s; }
@media (max-width: 900px) { .cs .tb2, .cs .tb5 { display: none; } .cs .say.tb { position: absolute; } }

/* data report cards */
.cs > .rcard .rc-st { flex: 1 1 auto; }
.cs > .rcard .rc-note { margin-left: 0; order: 2; }
.cs > .rcard .rc-star { order: 3; }
.cs > .rcard .rc-tbl { order: 5; flex: 1 1 100%; list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0 14px; }
.cs > .rcard .rc-tbl li { display: grid; gap: 1px; border-top: 2px solid var(--ink); padding-top: 3px; }
.cs > .rcard .rc-tbl i { font-style: normal; font-size: 14px; }
.cs > .rcard .rc-tbl b { font: 400 30px / 1 var(--display); color: var(--red); }
.cs > .rcard .rc-tbl em { font-style: normal; font-weight: 500; font-size: 12.5px; line-height: 1.25; }
.cs > .rcard .rc-note { flex: 0 0 auto; }
.csa > .rcard .rc-tbl b { color: var(--ink); }
.cs .nar { top: 160px !important; }
@media (max-width: 900px) {
  .cs > .rcard, .csb > .rcard { position: relative !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 0 10px; }
  .cs > .rcard .rc-tbl { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .cs > .rcard .rc-tbl i { font-size: 11px !important; } .cs > .rcard .rc-tbl b { font-size: 22px !important; } .cs > .rcard .rc-tbl em { font-size: 10.5px !important; }
  .csb .nar { top: 0 !important; bottom: auto !important; left: 0 !important; right: auto !important; }
}

.cs .tb2 { top: 40%; } .cs .tb5 { top: 38%; } .cs .tb1 { top: 52%; }
@media (max-width: 900px) { .cs .nar { top: auto; } }
.cs .tb2 { top: 52%; left: 2%; --tx: 60%; }

/* hand-drawn manga bubbles */
.cs .say.mg { background: none; border: 0; border-radius: 0; box-shadow: none; padding: .9cqw 1.5cqw 1.1cqw; max-width: 14ch; }
.cs .say.mg::after { display: none !important; }
.mg .bb { position: absolute; left: 0; top: 0; width: 100%; height: 136%; overflow: visible; z-index: 0; pointer-events: none; }
.mg .bb.bs { left: -14%; top: -26%; width: 128%; height: 152%; }
.mg .bb.fl { transform: scaleX(-1); }
.mg .bb path, .mg .bb circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: url(#wob); }
.mg span { position: relative; z-index: 1; }
.cs .say.mg.tb { font-size: max(10px, 1.45cqw); }
.cs .tb.mg.tb5, .cs .tb.mg.tb2 { padding: 1.2cqw 2cqw 1.4cqw; }
.cs .tb.mg.tb4 { padding: 1.1cqw 2cqw; }
.cs .cs1.mg, .cs .cs2.mg { font-size: 22px; padding: 14px 24px; }
.cs .cs3.mg { padding: 16px 26px 20px; }
@media (max-width: 900px) {
  .cs .cs1.mg, .cs .cs2.mg, .cs .cs3.mg { background: var(--paper); border: 3px solid var(--ink); border-radius: 999px; padding: 10px 18px; }
  .cs .cs1.mg .bb, .cs .cs2.mg .bb, .cs .cs3.mg .bb { display: none; }
}
@media (max-width: 900px) { .cs .say.mg.tb { font-size: 9px; padding: 7px 12px 9px; max-width: 12ch; } .cs .tb.mg.tb4 { padding: 8px 14px; } .cs .tb1 { left: 8%; top: 34%; } .cs .tb3 { left: 44%; top: 56%; } .cs .tb4 { left: 66%; top: 28%; } }

/* bubbles pinned to their speakers: left/bottom = speaker's head, translate puts the tail tip there */
.cs .say.pin { top: auto; max-width: 15ch; font-size: max(10px, 1.4cqw); padding: .8cqw 1.4cqw 1cqw; z-index: 4; }
.cs .say.pin.k-cloud { padding: 1.2cqw 2cqw 1.4cqw; }
.cs .say.pin.k-burst { padding: 1.3cqw 2.2cqw 1.5cqw; }
.cs .say.pin .bb { left: 0; top: 0; width: 100%; height: 136%; }
.cs .say.pin .bb .pt { stroke: none; filter: url(#wob); }
.cs.play .say.pin { animation-delay: var(--d, 1s); }
@media (max-width: 900px) { .cs .say.pin { font-size: 8.5px; padding: 6px 10px 8px; max-width: 13ch; } .cs .say.pin.ph { display: none; } }
.cs .say.pin.k-burst { padding: 1.9cqw 2.9cqw 2.1cqw; max-width: 13ch; }
.cs .say.pin.k-cloud { max-width: 17ch; padding: 1.4cqw 2.2cqw 1.6cqw; }
.cs .say.pin.k-burst { max-width: 15ch; }
@media (max-width: 900px) {
  .cs .say.pin { position: absolute; display: block; margin: 0; text-align: center; font-size: 8.5px; line-height: 1.15; max-width: 12ch; padding: 6px 10px 8px; border-radius: 0; }
  .cs .say.pin.k-burst { padding: 9px 14px 10px; max-width: 11ch; }
  .cs .say.pin.k-cloud { padding: 8px 12px 9px; }
}
@media (max-width: 900px) { .csb .nar { top: auto !important; bottom: 0 !important; left: auto !important; right: 0 !important; } }
/* phone: compact report card laid over the buildings, vehicles left clear */
@media (max-width: 900px) {
  .cs > .rcard, .csb > .rcard, .csa > .rcard { position: absolute !important; top: 6px !important; left: 6px !important; right: 6px !important; margin: 0 !important; padding: 5px 8px 6px !important; gap: 0 8px !important; box-shadow: 2px 2px 0 var(--ink) !important; border-width: 2px !important; }
  .cs > .rcard .rc-h { font-size: 9px !important; } .cs > .rcard .rc-st { font-size: 9px !important; } .cs > .rcard .rc-note { font-size: 9.5px !important; }
  .cs > .rcard .rc-star { font-size: 13px !important; }
  .cs > .rcard .rc-tbl { grid-auto-flow: column !important; grid-template-columns: none !important; grid-auto-columns: 1fr; gap: 0 6px !important; margin-top: 3px; }
  .cs > .rcard .rc-tbl li { border-top-width: 1px; padding-top: 1px; }
  .cs > .rcard .rc-tbl i { font-size: 8px !important; } .cs > .rcard .rc-tbl b { font-size: 15px !important; } .cs > .rcard .rc-tbl em { display: none; }
  .csa .cview { aspect-ratio: 1024 / 470 !important; } .csa .cview > img.bg { object-fit: cover !important; object-position: 50% 100% !important; }
}
.cs .say.pin.k-speech { max-width: 17ch; }
@media (max-width: 900px) { .cs .say.pin.k-speech { max-width: 13ch; } .csa .say.pin.g { left: 38% !important; bottom: 24% !important; translate: 0 0 !important; } }
.cs .say.pin { width: max-content; }
@media (max-width: 900px) { .csa .say.pin.g { left: 33% !important; bottom: 30% !important; translate: 0 -32% !important; } }
/* tablet and narrow desktop windows (601-900px): keep every bubble, show the whole street */
@media (min-width: 601px) and (max-width: 900px) {
  .cs .say.pin.ph { display: block; }
  .cs .say.pin { font-size: max(9px, 1.45cqw); padding: .9cqw 1.5cqw 1.1cqw; max-width: 15ch; }
  .cs .say.pin.k-burst { padding: 1.9cqw 2.9cqw 2.1cqw; max-width: 14ch; }
  .cs .say.pin.k-cloud { padding: 1.4cqw 2.2cqw 1.6cqw; max-width: 17ch; }
  .csa .cview { aspect-ratio: 1024 / 394 !important; }
  .csa .say.pin.g { left: 35% !important; bottom: 32% !important; translate: -6% -32% !important; }
}
/* pinned manga bubbles in the clinic and ship panels */
.sp .artbox { container-type: inline-size; }
.sp .say.pin { position: absolute; z-index: 4; margin: 0; top: auto; width: max-content; max-width: 16ch; text-align: center; font: 400 max(10px, 1.45cqw) / 1.15 var(--display); padding: .9cqw 1.5cqw 1.1cqw; background: none; border: 0; }
.sp .say.pin.k-burst { padding: 1.9cqw 2.9cqw 2.1cqw; max-width: 15ch; }
.sp .say.pin.k-cloud { padding: 1.4cqw 2.2cqw 1.6cqw; max-width: 17ch; }
.sp .say.pin .bb { position: absolute; left: 0; top: 0; width: 100%; height: 136%; overflow: visible; z-index: 0; pointer-events: none; }
.sp .say.pin .bb path, .sp .say.pin .bb circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: url(#wob); }
.sp .say.pin .bb .pt { stroke: none; }
.sp .say.pin span { position: relative; z-index: 1; }
.js .sp .say.pin { opacity: 0; transform: scale(.3); }
.sp.play .say.pin { animation: pop2 .35s cubic-bezier(.2, 1.7, .4, 1) forwards; animation-delay: var(--d, 1s); }
@media (max-width: 600px) { .sp .say.pin { font-size: 8.5px; padding: 6px 10px 8px; max-width: 12ch; } .sp .say.pin.k-burst { padding: 9px 14px 10px; } .sp .say.pin.ph { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .sp .say.pin { opacity: 1; transform: none; } .sp.play .say.pin { animation: none; } }
.sp .say.pin::after { display: none !important; }

/* Hero: moving speed lines. Thin lines turn slowly; thick lines flicker like an anime focus shot. */
@property --sl { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --sk { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.spread.cover {
  background: radial-gradient(circle, rgba(20,20,20,.16) 1.6px, transparent 2px) 0 0 / 10px 10px,
    repeating-conic-gradient(from var(--sl) at 76% 70%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3.2deg, var(--paper) 3.2deg 8deg);
  background-color: var(--paper);
  animation: sl-turn 6s linear infinite;
}
.spread.cover::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-conic-gradient(from var(--sk) at 76% 70%, transparent 0deg 17deg, rgba(20,20,20,.22) 17deg 17.8deg, transparent 17.8deg 29deg);
  -webkit-mask: radial-gradient(circle at 76% 70%, transparent 22%, #000 46%); mask: radial-gradient(circle at 76% 70%, transparent 22%, #000 46%);
  animation: sk-flick .9s steps(1) infinite; }
@keyframes sl-turn { to { --sl: 8deg; } }
@keyframes sk-flick { 0% { --sk: 0deg; } 33% { --sk: 11deg; } 66% { --sk: 5deg; } }
@media (prefers-reduced-motion: reduce) { .spread.cover, .spread.cover::before { animation: none; } }

/* Chapter 04: four manga panels, one seal each. Panels drop in one by one, then each seal stamps down. */
.seals { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seals .sl { position: relative; border: 4px solid var(--ink); background: var(--paper); padding: 46px 18px 20px; display: grid; justify-items: start; align-content: start; gap: 4px; }
.seals .sl:nth-child(odd) { rotate: -1deg; } .seals .sl:nth-child(even) { rotate: .8deg; margin-top: 18px; }
.seals .no { position: absolute; left: -4px; top: -4px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 22px; line-height: 1; padding: 8px 12px; }
.seals .sfx { position: absolute; right: 10px; top: 8px; font-family: var(--display); font-size: 20px; rotate: 8deg; color: var(--ink); -webkit-text-stroke: 1px var(--ink); }
.seals .mark { width: 112px; height: 112px; justify-self: center; margin: 0 0 8px; overflow: visible; }
.seals small { font-family: var(--display); font-size: 13px; color: var(--red); }
.seals b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.seals p { margin: 4px 0 0; }
.js .seals .sl { opacity: 0; translate: 0 -26px; }
.js .seals .mark, .js .seals .sfx { opacity: 0; }
.seals.play .sl { animation: sl-drop .45s cubic-bezier(.2,1.4,.4,1) calc(var(--i) * .5s) both; }
.seals.play .mark { animation: stamp .4s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .5s + .3s) both; }
.seals.play .sfx { animation: sfx-pop .3s ease-out calc(var(--i) * .5s + .55s) both; }
.seals.play .tomoes { transform-origin: 60px 60px; animation: seal-turn 4s cubic-bezier(.6,0,.3,1) 1.2s infinite; }
@keyframes seal-turn { 0% { transform: rotate(0); } 30%, 100% { transform: rotate(360deg); } }
.seals.play .chakra { animation: seal-flick .45s steps(1) 1.6s infinite; }
.seals.play .spin { transform-origin: 60px 60px; animation: seal-spin 1.4s linear 1.6s infinite; }
.seals.play .swirl { transform-origin: 60px 60px; animation: seal-spin 3.2s linear 1.8s infinite reverse; }
.seals.play .rays { animation: seal-flick .35s steps(1) 2.2s infinite; }
.seals.play .rise { animation: seal-rise 1.6s ease-in-out 2.2s infinite alternate; }
@keyframes seal-rise { from { transform: translateY(2px); } to { transform: translateY(-3px); } }
.seals.play .puff { transform-box: fill-box; transform-origin: center; animation: seal-puff 2.6s ease-in-out 2.2s infinite; }
@keyframes seal-puff { 50% { transform: scale(1.06); } }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-flick { 50% { opacity: .15; } }
@keyframes sl-drop { from { opacity: 0; translate: 0 -26px; } to { opacity: 1; translate: 0 0; } }
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes sfx-pop { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@media (max-width: 900px) { .seals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .seals { grid-template-columns: 1fr; } .seals .sl:nth-child(even) { margin-top: 0; } }
@media (prefers-reduced-motion: reduce) { .js .seals .sl, .js .seals .mark, .js .seals .sfx { opacity: 1; translate: none; animation: none; } .seals .tomoes, .seals .chakra, .seals .spin, .seals .swirl, .seals .rays, .seals .puff, .seals .rise { animation: none !important; } }

/* Hero: a red aura flickers round the portrait. */
.cover img { z-index: 1; animation: aura 1.1s ease-in-out infinite alternate; }
.cover h1, .cover .line, .cover .series { z-index: 2; }
@keyframes aura {
  from { filter: drop-shadow(0 0 3px rgba(210,67,44,.9)) drop-shadow(0 -4px 10px rgba(210,67,44,.55)); }
  to { filter: drop-shadow(0 0 5px rgba(210,67,44,.95)) drop-shadow(0 -10px 22px rgba(210,67,44,.7)); }
}
@media (prefers-reduced-motion: reduce) { .cover img { animation: none; } }

/* One-minute summary under the hero: plain type for visitors who want the facts first. */
.tldr { max-width: 760px; margin: 56px 0 0; display: grid; gap: 12px; }
.tldr .big { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.2; text-wrap: balance; }
.tldr p { margin: 0; }
.tldr .go { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.tldr .lnk { font-weight: 700; color: var(--ink); text-decoration: none; border: 3px solid var(--ink); padding: 10px 18px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); }
.tldr .lnk.solid { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.tldr .lnk:hover { translate: -1px -1px; }
.tldr .lnk:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Breaks between chapters: white space, one gag face, one big line. */
.brk { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; width: min(760px, 100%); grid-column: 1 / -1; justify-self: center; margin: 140px auto 120px; }
.brk img { height: 120px; width: auto; }
.brk.txt { grid-template-columns: 1fr; text-align: center; }
.brk p { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.2; text-wrap: balance; }
.js .brk img { opacity: 0; scale: .4; rotate: -10deg; }
.brk.play img { animation: brk-pop .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes brk-pop { to { opacity: 1; scale: 1; rotate: 0deg; } }
@media (max-width: 600px) { .brk { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; margin: 96px auto 80px; } .brk img { height: 100px; } .tldr .big, .brk p { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .js .brk img { opacity: 1; scale: 1; rotate: 0deg; } .brk.play img { animation: none; } }
.more { grid-column: 1 / -1; width: 100%; }

/* Chapter 06: the next volume's cover, starring the visitor. */
.vol { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; }
.volcover { position: relative; margin: 0; aspect-ratio: 2 / 3; border: 5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; container-type: inline-size;
  background: radial-gradient(circle, rgba(20,20,20,.14) 1.4px, transparent 1.8px) 0 0 / 9px 9px,
    repeating-conic-gradient(from var(--sl) at 50% 48%, var(--paper) 0deg 2.4deg, var(--tone) 2.4deg 3.2deg, var(--paper) 3.2deg 8deg);
  background-color: var(--paper); animation: sl-turn 6s linear infinite; }
.volcover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5%; background: var(--ink); }
.volcover .series { position: absolute; left: 5%; right: 0; top: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 4cqw; padding: 2.4cqw 4cqw; }
.volcover .volno { position: absolute; right: 6cqw; top: 40cqw; width: 22cqw; aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--paper); border: 3px solid var(--ink); display: grid; place-items: center; align-content: center; font-family: var(--display); font-size: 4cqw; line-height: 1; rotate: 10deg; }
.volcover .volno b { font-weight: 400; font-size: 10cqw; }
.volcover .ttl { position: absolute; left: 10cqw; top: 12cqw; margin: 0; font-family: var(--display); font-weight: 400; font-size: 11cqw; line-height: .95; text-transform: uppercase; }
.volcover .who { position: absolute; left: 50%; bottom: 0; width: 82%; translate: -50% 0; }
.volcover .band { position: absolute; left: 50%; top: 58cqw; width: 44%; translate: -50% 0; rotate: -6deg; filter: drop-shadow(3px 3px 0 var(--ink)); }
.volcover .star { position: absolute; left: 10cqw; bottom: 22cqw; background: var(--paper); border: 3px solid var(--ink); padding: 1.4cqw 3cqw; font-family: var(--display); font-size: 4cqw; rotate: -4deg; }
.volcover .bar { position: absolute; right: 4cqw; bottom: 4cqw; width: 16cqw; height: 9cqw; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, var(--paper) 2px 4px, var(--ink) 4px 5px, var(--paper) 5px 8px); border: 2px solid var(--paper); outline: 2px solid var(--ink); }
.js .volcover .q { opacity: 0; }
.volcover .q { transform-box: fill-box; transform-origin: center; animation: q-bob 1.6s ease-in-out infinite alternate; }
@keyframes q-bob { from { opacity: 1; translate: 0 3px; rotate: -6deg; } to { opacity: 1; translate: 0 -5px; rotate: 6deg; } }
.volcover .band { animation: band-wiggle 2.4s ease-in-out infinite; }
@keyframes band-wiggle { 0%, 100% { rotate: -6deg; translate: -50% 0; } 50% { rotate: -2deg; translate: -50% -6px; } }
.pitch { display: grid; gap: 14px; justify-items: start; max-width: 46ch; }
.pitch .big { margin: 0; font-family: var(--display); font-size: 30px; line-height: 1.15; }
.pitch p { margin: 0; }
.pitch .lnk { font-weight: 700; text-decoration: none; border: 3px solid var(--ink); padding: 12px 22px; background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--red); }
.pitch .lnk:hover { translate: -1px -1px; }
.pitch .lnk:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 760px) { .vol { grid-template-columns: 1fr; gap: 28px; } .volcover { max-width: 360px; width: 100%; justify-self: center; } .pitch .big { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .volcover, .volcover .q, .volcover .band { animation: none; } .js .volcover .q { opacity: 1; } }

/* Breaks: hand-drawn sound effects in orange flame bursts. */
.brk .sfxb { width: 230px; height: auto; overflow: visible; }
.js .brk .sfxb { opacity: 0; scale: .3; rotate: -14deg; }
.brk.play .sfxb { animation: sfxb-pop .45s cubic-bezier(.3,1.7,.5,1) both, sfxb-shake .5s steps(2) .45s 2; }
.brk.play .sfxb .fl { transform-box: fill-box; transform-origin: 50% 100%; animation: sfxb-flame .5s ease-in-out calc(var(--k) * -.07s) infinite alternate; }
.brk.play .sfxb .sp { animation: sfxb-spark .35s steps(1) infinite; }
@keyframes sfxb-pop { to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes sfxb-shake { 0% { translate: -3px 1px; } 100% { translate: 3px -1px; } }
@keyframes sfxb-flame { from { scale: 1 .85; } to { scale: 1.05 1.15; } }
@keyframes sfxb-spark { 50% { opacity: .2; } }
@media (max-width: 600px) { .brk .sfxb { width: 190px; } }
@media (prefers-reduced-motion: reduce) { .js .brk .sfxb { opacity: 1; scale: 1; rotate: 0deg; } .brk.play .sfxb, .brk.play .sfxb * { animation: none; } }

/* Hero as a manga volume cover: VOL. box, faint big numeral, vertical katakana spine strip, publisher label. Pairs with the VOL. 2 cover at the end. */
.spread.cover img { right: 3.6%; height: 88%; }
@media (max-width: 900px) { .spread.cover img { height: 62%; } }
.cover .vtag { position: absolute; z-index: 3; left: 0; top: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 1.5cqw; line-height: 1; padding: 1cqw 1.6cqw 1.2cqw; display: flex; align-items: baseline; gap: .5cqw; }
.cover .vtag b { font-weight: 400; font-size: 3.4cqw; }
.cover .vbig { position: absolute; z-index: 0; right: 16%; top: -6%; font-family: var(--display); font-size: 52cqw; line-height: 1; color: transparent; -webkit-text-stroke: 3px rgba(20,20,20,.16); pointer-events: none; }
.cover .vstrip { position: absolute; z-index: 3; right: 0; top: 0; bottom: 0; width: 3.4cqw; background: var(--red); color: var(--paper); writing-mode: vertical-rl; display: grid; place-items: center; font-family: var(--body); font-weight: 700; font-size: 1.5cqw; letter-spacing: .3em; border-left: 3px solid var(--ink); }
.cover .pub { position: absolute; z-index: 3; left: 4cqw; bottom: 2.4cqw; font-family: var(--display); font-size: 1.1cqw; letter-spacing: .12em; border: 2px solid var(--ink); background: var(--paper); padding: .4cqw .9cqw; display: none; }
@media (max-width: 900px) { .cover .vtag { font-size: 11px; padding: 7px 10px 8px; } .cover .vtag b { font-size: 22px; } .cover .vstrip { width: 22px; font-size: 10px; } .cover .vbig { font-size: 90cqw; right: 6%; top: 8%; } }

/* Breaks: ninja icons from the icon sheet. */
.brk .ico { width: 130px; height: 130px; overflow: visible; }
.js .brk .ico { opacity: 0; scale: .3; rotate: -14deg; }
.brk.play .ico { animation: sfxb-pop .45s cubic-bezier(.3,1.7,.5,1) both; }
.brk.play .ico .rise { animation: ico-rise 1.4s ease-in-out .5s infinite alternate; }
.brk.play .ico .sp { animation: sfxb-spark .4s steps(1) infinite; }
@keyframes ico-rise { from { transform: translateY(3px); } to { transform: translateY(-4px); } }
@media (max-width: 600px) { .brk .ico { width: 110px; height: 110px; } }
@media (prefers-reduced-motion: reduce) { .js .brk .ico { opacity: 1; scale: 1; rotate: 0deg; } .brk.play .ico, .brk.play .ico * { animation: none; } }

/* Breaks: each icon on a small manga panel with focus lines. */
.brk .stage { position: relative; width: 170px; aspect-ratio: 1; border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); rotate: -2deg; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle, var(--paper) 0 30%, transparent 62%), repeating-conic-gradient(from 0deg, var(--paper) 0deg 5deg, var(--ink) 5deg 6deg, var(--paper) 6deg 11deg) var(--paper); }
.brk:nth-of-type(odd) .stage { rotate: 2deg; }
.brk .stage svg { width: 82%; height: 82%; overflow: visible; }
.js .brk .stage { opacity: 0; scale: .3; }
.brk.play .stage { animation: stage-pop .45s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes stage-pop { to { opacity: 1; scale: 1; } }
.brk.play .stage .spin { transform-origin: 60px 60px; animation: seal-spin 3s linear infinite; }
.brk.play .stage .spin.fast { animation-duration: .9s; }
.brk.play .stage .spin.rev { animation-direction: reverse; }
.brk.play .stage .flick { animation: seal-flick .4s steps(1) infinite; }
.brk.play .stage .flick.b { animation-delay: .2s; }
.brk.play .stage .throb { transform-origin: 60px 60px; animation: stage-throb 1.2s ease-in-out infinite alternate; }
.brk.play .stage .rise { animation: ico-rise 1.4s ease-in-out infinite alternate; }
.brk.play .stage .puff { transform-box: fill-box; transform-origin: center; animation: seal-puff 1.6s ease-in-out infinite; }
@keyframes stage-throb { from { transform: scale(.96); } to { transform: scale(1.05); } }
@media (max-width: 600px) { .brk .stage { width: 140px; } }
@media (prefers-reduced-motion: reduce) { .js .brk .stage { opacity: 1; scale: 1; } .brk.play .stage, .brk.play .stage * { animation: none !important; } }
.brk .stage.bolt { background: radial-gradient(circle, #d6ebff 0 22%, rgba(214,235,255,.6) 38%, transparent 62%), repeating-conic-gradient(from 0deg, var(--paper) 0deg 5deg, var(--ink) 5deg 6deg, var(--paper) 6deg 11deg) var(--paper); }
.brk .stage.bolt .flick:not(.b) { stroke: #1f6fd1; stroke-width: 5.5; }
.brk .stage.bolt .flick.b { stroke-width: 2.6; }
.brk.play .stage.bolt .flick { animation-name: stage-flick-soft; }
@keyframes stage-flick-soft { 50% { opacity: .55; } }

/* Breaks: no box. The icon sits in a round burst of focus lines that fades out into the page. */
.brk .stage { border: 0; box-shadow: none; rotate: 0deg; overflow: visible; width: 190px;
  background: radial-gradient(circle, var(--paper) 0 26%, transparent 34%), repeating-conic-gradient(from 0deg, transparent 0deg 6deg, var(--ink) 6deg 6.8deg, transparent 6.8deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 0 52%, transparent 70%); mask: radial-gradient(circle, #000 0 52%, transparent 70%); }
.brk:nth-of-type(odd) .stage { rotate: 0deg; }
.brk .stage.bolt { background: radial-gradient(circle, #d6ebff 0 24%, transparent 36%), repeating-conic-gradient(from 0deg, transparent 0deg 6deg, var(--ink) 6deg 6.8deg, transparent 6.8deg 12deg); }
.brk .stage svg { width: 64%; height: 64%; }
@media (max-width: 600px) { .brk .stage { width: 160px; } }
.brk .stage.big { width: 240px; }
.brk:has(.stage.big) p { font-size: 44px; }
@media (max-width: 600px) { .brk .stage.big { width: 190px; } .brk:has(.stage.big) p { font-size: 32px; } }

/* Report cards as a thin strip across the top of the picture. */
.cs > .rcard { display: flex !important; align-items: center; flex-wrap: wrap; gap: 6px 18px; top: 8px !important; left: 8px !important; right: 8px !important; padding: 7px 14px !important; min-height: 0; }
.cs > .rcard .rc-h { font-size: 13px; padding: 0; margin: 0; border: 0; }
.cs > .rcard .rc-st { font-size: 13px; margin: 0; }
.cs > .rcard .rc-note { order: 9; margin: 0 0 0 auto; font-size: 13px; }
.cs > .rcard .rc-star { display: none; }
.cs > .rcard .rc-tbl { display: flex !important; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; border: 0; grid-template-columns: none; }
.cs > .rcard .rc-tbl li { display: flex !important; align-items: baseline; gap: 6px; padding: 0; border: 0; }
.cs > .rcard .rc-tbl i { font-size: 13px; }
.cs > .rcard .rc-tbl b { font-size: 20px !important; line-height: 1; }
.cs > .rcard .rc-tbl em { display: none !important; }
.cs .nar { top: 56px !important; }
@media (max-width: 900px) {
  .cs > .rcard { gap: 2px 10px; padding: 5px 8px !important; }
  .cs > .rcard .rc-st, .cs > .rcard .rc-note { display: none; }
  .cs > .rcard .rc-tbl { gap: 2px 10px; }
  .cs > .rcard .rc-tbl i { font-size: 10px; }
  .cs > .rcard .rc-tbl b { font-size: 14px !important; }
  .cs > .rcard .rc-h { font-size: 10px; }
  .cs .nar { top: auto !important; }
}
.cs > .rcard { flex-direction: row !important; flex-wrap: nowrap !important; height: auto !important; }
.cs > .rcard > * { width: auto !important; flex: none !important; position: static !important; }
.cs > .rcard .rc-tbl { flex: 1 1 auto !important; flex-wrap: nowrap !important; }
@media (max-width: 900px) { .cs > .rcard, .cs > .rcard .rc-tbl { flex-wrap: wrap !important; } }
/* Keep the strip on one line at every desktop width: drop the place name, then shrink. */
.cs > .rcard { overflow: hidden; }
.cs > .rcard .rc-note { white-space: nowrap; }
@media (max-width: 1240px) { .cs > .rcard .rc-st { display: none; } }
@media (max-width: 1060px) { .cs > .rcard { gap: 4px 12px; } .cs > .rcard .rc-tbl { gap: 4px 11px; } .cs > .rcard .rc-tbl i, .cs > .rcard .rc-note, .cs > .rcard .rc-h { font-size: 12px; } .cs > .rcard .rc-tbl b { font-size: 17px !important; } }
@media (max-width: 960px) { .cs > .rcard .rc-note { display: none; } }
.cs .nar { top: 62px !important; }
@media (max-width: 900px) { .cs .nar { top: auto !important; } }

/* SafeStreets: a row of reaction cut-ins between the crash and the redesign, like chapter 05. */
.cutrow { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 10px; padding: 10px 0; background: var(--paper); }
.cutrow .cut { position: relative; height: 150px; border: 4px solid var(--ink); background-color: var(--paper); background-image: url(img/gemini/ss-pair-scared-ink.webp); background-repeat: no-repeat; overflow: hidden; }
.cutrow .c-kid { background-size: 360% auto; background-position: 32% 47%; }
.cutrow .c-mum { background-size: 360% auto; background-position: 70% 18%; }
.cutrow .c-kid::after, .cutrow .c-mum::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(20,20,20,.13) 1.3px, transparent 1.7px) 0 0 / 8px 8px; mix-blend-mode: multiply; }
.cutrow .c-sfx { background: repeating-conic-gradient(from 0deg at 50% 50%, var(--paper) 0deg 4deg, var(--ink) 4deg 5deg, var(--paper) 5deg 10deg); display: grid; place-items: center; }
.cutrow .c-sfx b { font-family: var(--display); font-weight: 400; font-size: 46px; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke; text-shadow: 4px 4px 0 var(--ink); rotate: -8deg; background: var(--paper); padding: 0 14px; color: var(--red); }
.js .cutrow .cut { opacity: 0; }
.cutrow.play .cut { animation: cut-in .28s steps(2) both; }
.cutrow.play .cut:nth-child(2) { animation-delay: .35s; } .cutrow.play .cut:nth-child(3) { animation-delay: .7s; }
@keyframes cut-in { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
@media (max-width: 600px) { .cutrow { gap: 6px; padding: 6px 0; } .cutrow .cut { height: 96px; } .cutrow .c-sfx b { font-size: 26px; padding: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .js .cutrow .cut { opacity: 1; } .cutrow.play .cut { animation: none; } }
.say.pin.w { max-width: 19ch !important; }
/* More air between the name and the portrait. */
.spread.cover img { right: 3.6%; height: 84%; }
.cover h1 { font-size: clamp(36px, 8cqw, 100px); }
@media (max-width: 900px) { .spread.cover img { height: 58%; } .cover h1 { font-size: clamp(34px, 11cqw, 60px); } }

/* Product bands: ENTER tab, the name, and one line on what it does. */
.gutter { align-content: center; gap: 10px; height: 170px; }
.gutter span:not(.mlo):not(.mhi) { font-family: var(--display); font-weight: 400; font-size: 16px; padding: 7px 16px; letter-spacing: .04em; }
.gutter .gsub { font-style: normal; font-weight: 700; font-size: 18px; background: var(--paper); border: 3px solid var(--ink); padding: 4px 14px; rotate: -1deg; }
.js .gutter .gsub { opacity: 0; translate: 0 8px; }
.gutter.play .gsub { animation: gsub-in .35s ease-out .45s forwards; }
@keyframes gsub-in { to { opacity: 1; translate: 0 0; } }
.ssgut { height: 220px; padding-top: 22px; align-content: start; }
@media (max-width: 900px) { .gutter { height: 128px; } .gutter .gsub { font-size: 14px; padding: 3px 10px; } .ssgut { height: 190px; } }
@media (prefers-reduced-motion: reduce) { .js .gutter .gsub { opacity: 1; translate: none; } }
@media (max-width: 600px) {
  .p.ponder { aspect-ratio: 1000 / 1000; }
  .p.ponder .face { height: 70% !important; left: -4% !important; top: auto; bottom: 0; }
  .p.ponder .puff { display: none; }
  .p.ponder .cloud.big { left: 38% !important; right: 3%; top: 15% !important; max-width: none !important; font-size: 14px; }
  .p.ponder .think.measure { right: 3% !important; top: 50% !important; max-width: 12ch !important; }
  .p.ponder .cloud:not(.big) { left: 46% !important; bottom: 3% !important; max-width: 15ch !important; }
}
.top a { white-space: nowrap; }
@media (max-width: 480px) { .top { font-size: 14px; } }
.tldr .prods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tldr .prods li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-top: 10px; border-top: 2px solid var(--ink); }
.tldr .prods b { font-family: var(--display); font-weight: 400; }
@media (max-width: 600px) { .tldr .prods li { grid-template-columns: 1fr; gap: 2px; } }
/* no-clash pass: text never sits on a face or on other text */
.p.ponder .face { top: auto !important; bottom: 0; height: 86% !important; }
@media (max-width: 600px) {
  .cs > .rcard, .csb > .rcard, .csa > .rcard { position: relative !important; top: auto !important; left: auto !important; right: auto !important; margin: 0 0 8px !important; }
  .cs .nar { display: none !important; }
  .spread.cover { overflow: visible; margin-bottom: 140px; }
  .spread.cover .line { position: absolute; top: calc(100% + 12px); bottom: auto; left: 0; right: 0; max-width: none; }
}
@media (max-width: 600px) { .sp .nar { display: none !important; } }
.sp .say.pin, .cs .say.pin { z-index: 7; }
/* Phone pass: every bubble that stays in the art gets its own spot over wall, sky or road, and text big enough to read. */
@media (max-width: 600px) {
  .sp .say.pin, .cs .say.pin { font-size: 10.5px !important; line-height: 1.15; padding: 10px 18px 12px !important; max-width: 16ch !important; }
  .sp .say.pin.k-burst, .cs .say.pin.k-burst { padding: 16px 28px 18px !important; max-width: 15ch !important; }
  .sp .say.pin.k-cloud, .cs .say.pin.k-cloud { padding: 14px 26px 16px !important; max-width: 18ch !important; }
  .papers { display: none; }
  .say.pin.m-amma { left: 31% !important; bottom: 4% !important; translate: 0 0 !important; }
  .say.pin.m-lic { left: 30% !important; bottom: 62% !important; translate: 0 0 !important; }
  .say.pin.m-insp { padding: 12px 30px 13px !important; max-width: 19ch !important; left: 29% !important; top: 0 !important; bottom: auto !important; translate: 0 0 !important; }
  .say.pin.m-moron { left: 1% !important; top: 1% !important; bottom: auto !important; translate: 0 0 !important; }
  .say.pin.m-book { left: 15% !important; top: 1% !important; bottom: auto !important; translate: 0 0 !important; }
  .say.pin.m-who { left: auto !important; right: 1% !important; top: 1% !important; bottom: auto !important; translate: 0 0 !important; }
  .papers i { width: 16px; height: 21px; border-width: 2px; box-shadow: 2px 2px 0 rgba(20,20,20,.3); }
  .papers i::before { left: 3px; right: 3px; top: 4px; height: 2px; box-shadow: 0 4px 0 var(--ink), 0 8px 0 var(--ink); }
  .sq .mk, .sq .mk.ex, .sq .mk.dbl, .sq .mk.qu { font-size: 18px; -webkit-text-stroke: 1px var(--ink); top: 3px; right: 4px; }
  .p.ponder .think.measure { right: 3% !important; top: 41% !important; max-width: 14ch !important; padding: 8px 14px; }
}

/* SafeStreets gutter: the width meter is gone, so the gutter matches the other two. */
.ssgut { height: 170px; padding-top: 0; align-content: center; }
@media (max-width: 900px) { .ssgut { height: 128px; } }
/* Cover issue tag: the place sits beside the volume number, as on a magazine masthead. */
.cover .vtag .place { font-family: var(--body); font-weight: 700; font-size: .8em; letter-spacing: .1em; margin-left: 1cqw; padding-left: 1cqw; border-left: 2px solid var(--paper); align-self: center; }
@media (max-width: 900px) { .cover .vtag .place { font-size: 10px; margin-left: 8px; padding-left: 8px; } }
/* Sound toggle: a plain nav link, never a pill. */
.top .snd { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.top .snd:hover, .top .snd[aria-pressed="true"] { color: var(--red); }
.top .snd:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
/* Drawn bubbles: the shape is fitted to the words by script, so narrow, balanced lines give a round bubble that stays small. */
.say.mg span { display: block; max-width: 12ch; margin-inline: auto; text-wrap: balance; }
