/* Hoglt · Posters for a school day (hoglt.com/art).
   A riso-printed poster series: every screen is one poster on a coloured paper stock (warm
   paper, brand green, white, dark ink), printed in two inks with a slight misregistration.
   Giant lowercase type, halftone dots, sticker-cut hedgehogs, tickets, stamps and tape; the
   app's screens are printed cards. The hedgehog hides behind something only twice: tucked
   behind the "sleep too." letters at bedtime, and waving from behind the footer at the end.
   Fit rule: every poster fits one screen at 390x664, 1280x720 and up, and tablets; on phones
   under 620px tall the hero still fits and the rest may scroll. Open with ?fit to check. */
/* self-hosted latin subsets (were Google Fonts): one variable file each, preloaded in the page */
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --ink: #0C2413;
  --ink-2: #163D22;
  --g: #4BB462;
  --g-2: #3E9E54;
  --fur: #F3E6CC;
  --paper: #FBF7EE;
  --coin: #F0BC39;
  --white: #FFFFFF;
  --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, sans-serif;
  --bar: 58px;
  --screen: 100vh;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.14 0 0 0 0 0.07 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230C2413' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%230C2413' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  color-scheme: light;
}
@supports (height: 100svh) { :root { --screen: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-padding-top: var(--bar); -webkit-text-size-adjust: 100%; }
/* a poster already makes room for the bar, so its own top edge lands at the top of the screen */
.poster { scroll-margin-top: calc(var(--bar) * -1); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fur); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
/* ink on paper and green, cream on ink (overridden per dark surface below) */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.narrow { display: none; }

/* ---------- the bar: logo, the poster index, get the app ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: calc(var(--bar) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gr) 0 var(--gl);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  background: var(--ink); color: var(--fur);
}
.bar-logo { justify-self: start; }
.bar-logo img { width: 96px; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.bar-sound {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid rgba(243, 230, 204, .3); border-radius: 8px; background: none; color: var(--fur); cursor: pointer;
  transition: border-color .15s, scale .12s;
}
.bar-sound .i { width: 19px; height: 19px; }
.bar-sound .i-off, .bar-sound[aria-pressed="false"] .i-on { display: none; }
.bar-sound[aria-pressed="false"] .i-off { display: block; opacity: .6; }
.bar-sound:active { scale: .94; }
@media (hover: hover) { .bar-sound:hover { border-color: rgba(243, 230, 204, .6); } }
html:not(.js) .bar-sound { display: none; }
.bar :focus-visible { outline-color: var(--fur); }
.bar-index { position: relative; }
.index-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px;
  border: 1.5px solid rgba(243, 230, 204, .3); border-radius: 8px; background: none; color: var(--fur); cursor: pointer;
  font: 600 15px/1 var(--display); font-variant-numeric: tabular-nums;
}
@media (hover: hover) { .index-btn:hover { border-color: rgba(243, 230, 204, .6); } }
.index-of { opacity: .55; }
.index-label { font: 700 14px/1 var(--body); opacity: .85; white-space: nowrap; }
.index-caret { width: 16px; height: 16px; transition: transform .2s; }
.index-btn[aria-expanded="true"] .index-caret { transform: rotate(180deg); }
.index {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(300px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto; padding: 8px;
  background: var(--fur); color: var(--ink); border-radius: 12px; box-shadow: 0 0 0 2.5px var(--ink), 8px 8px 0 var(--g);
}
.index[hidden] { display: none; }
.index a { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; min-height: 42px; padding: 6px 10px; border-radius: 8px; font: 600 16px/1.2 var(--display); text-decoration: none; }
.index a b { font: 800 13px/1 var(--body); color: var(--g-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .index a:hover { background: rgba(12, 36, 19, .08); } }
.index a[aria-current="true"] { background: var(--ink); color: var(--fur); }
.index a[aria-current="true"] b { color: var(--g); }
.index :focus-visible { outline-color: var(--ink); }
/* the language picker sits where the poster index was, and uses its button and list */
.lang-btn .i-globe { width: 18px; height: 18px; }
.langs a { grid-template-columns: 38px minmax(0, 1fr) auto; }
.langs a small { font: 700 12px/1 var(--body); opacity: .6; }
.langs a[aria-current="true"] small { opacity: .8; }
.langs hr { margin: 6px 4px; border: 0; border-top: 1.5px solid rgba(12, 36, 19, .15); }
/* Japanese: Latin stays in Fredoka/Nunito, kana and kanji come from M PLUS Rounded 1c (loaded by the /ja/ pages) */
html[lang=ja] { --display: "Fredoka", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif; --body: "Nunito", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif; }
html[lang=ja] body { word-break: auto-phrase; line-break: strict; }
html[lang=ja] .giant { letter-spacing: 0; line-height: .98; }

/* ---------- printed bits: chunky buttons, tickets, stamps, tape, stickers ---------- */
.chunk {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 20px; border: 2.5px solid var(--ink); border-radius: 10px;
  background: var(--ink); color: var(--fur); cursor: pointer;
  font: 600 17px/1 var(--display); text-decoration: none; white-space: nowrap;
  box-shadow: 6px 6px 0 var(--chunk-shadow, var(--g)); transition: transform .12s, box-shadow .12s;
}
@media (hover: hover) { html.is-pointing .chunk:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--chunk-shadow, var(--g)); } }
.chunk:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--chunk-shadow, var(--g)); }
.chunk .i { width: 20px; height: 20px; }
.chunk-paper { background: var(--paper); color: var(--ink); }
.chunk-fur { min-height: 44px; padding: 9px 14px; border-color: var(--fur); background: var(--fur); color: var(--ink); font-size: 15px; box-shadow: 4px 4px 0 var(--g); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ticket {
  display: inline-flex; align-items: center; gap: 2px; margin-bottom: 18px; padding: 9px 18px;
  background: var(--ink); color: var(--fur); font: 600 15px/1 var(--display); letter-spacing: .01em; white-space: nowrap;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 7px, #000 7.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 50%, #0000 7px, #000 7.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, #0000 7px, #000 7.5px) right / 51% 100% no-repeat;
}
.stamp {
  position: absolute; z-index: 4; display: grid; place-items: center;
  width: clamp(92px, 9.6vw, 132px); aspect-ratio: 1; padding: 12px; border-radius: 50%;
  background: var(--g); color: var(--ink); text-align: center;
  font: 700 clamp(13px, 1.1vw, 15px)/1.12 var(--display);
  transform: rotate(10deg); box-shadow: 0 0 0 5px var(--white), 7px 9px 0 5px rgba(12, 36, 19, .2);
}
.tape {
  position: absolute; z-index: 5; width: 110px; height: 28px; pointer-events: none;
  background: rgba(255, 250, 236, .74); box-shadow: 0 1px 0 rgba(12, 36, 19, .08);
  clip-path: polygon(0 10%, 5% 0, 10% 10%, 15% 0, 20% 10%, 25% 0, 30% 10%, 35% 0, 40% 10%, 45% 0, 50% 10%, 55% 0, 60% 10%, 65% 0, 70% 10%, 75% 0, 80% 10%, 85% 0, 90% 10%, 95% 0, 100% 10%, 100% 90%, 95% 100%, 90% 90%, 85% 100%, 80% 90%, 75% 100%, 70% 90%, 65% 100%, 60% 90%, 55% 100%, 50% 90%, 45% 100%, 40% 90%, 35% 100%, 30% 90%, 25% 100%, 20% 90%, 15% 100%, 10% 90%, 5% 100%, 0 90%);
}
.sticker { filter: drop-shadow(4px 0 0 var(--white)) drop-shadow(-4px 0 0 var(--white)) drop-shadow(0 4px 0 var(--white)) drop-shadow(0 -4px 0 var(--white)) drop-shadow(10px 12px 0 var(--sticker-shadow, rgba(12, 36, 19, .22))); }
.plat { display: inline-flex; align-items: center; margin-left: 8px; padding: 4px 8px; border-radius: 5px; background: var(--ink); color: var(--fur); font: 700 13px/1 var(--body); vertical-align: middle; white-space: nowrap; }
.ticket .plat { background: var(--g); color: var(--ink); }
.lede { font: 600 clamp(17px, 1.4vw, 20px)/1.45 var(--body); max-width: 44ch; }
.small { font: 400 15px/1.4 var(--body); opacity: .85; }
.more { margin-top: 14px; font: 700 15.5px/1.3 var(--body); }
.more a { display: inline-block; padding: 12px 0; color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.more a::after { content: " →"; }
.more a + a { margin-left: 18px; }
.lede a, .small a, .note-line a, .chart th a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.note-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 700 15px/1.3 var(--body); }
.note-line .i { width: 18px; height: 18px; }
.note-line .plat { margin-left: 0; }

/* ---------- posters and paper stocks ---------- */
.poster {
  --stock: var(--fur); --fg: var(--ink); --mis: var(--g); --dot: rgba(75, 180, 98, .5); --chunk-shadow: var(--g); --card-shadow: var(--g);
  position: relative; isolation: isolate; overflow: clip;
  min-height: var(--screen);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--bar) + clamp(24px, 5vh, 56px)) clamp(32px, 6vh, 64px);
  background: var(--stock); color: var(--fg);
}
.poster::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; background: var(--grain); opacity: .4; mix-blend-mode: multiply; }
.stock-green { --stock: var(--g); --mis: var(--fur); --dot: rgba(12, 36, 19, .2); --chunk-shadow: var(--fur); --card-shadow: var(--ink); }
.stock-paper { --stock: var(--paper); --dot: rgba(75, 180, 98, .42); }
.stock-ink { --stock: var(--ink); --fg: var(--fur); --mis: var(--g); --dot: rgba(75, 180, 98, .45); --card-shadow: var(--g); --sticker-shadow: rgba(0, 0, 0, .45); }
.stock-ink::after { mix-blend-mode: soft-light; opacity: .55; }
.stock-ink .ticket { background: var(--fur); color: var(--ink); }
.stock-ink .plat { background: var(--fur); color: var(--ink); }
.stock-ink .chunk { border-color: var(--fur); background: var(--fur); color: var(--ink); }
.stock-ink :focus-visible { outline-color: var(--fur); }
.stock-green .stamp { background: var(--fur); }
.poster-in { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
/* Big screens: each poster's content grows with the screen, as if the browser were zoomed in, so
   a 2K monitor does not get a small poster floating in empty paper. --z is set in the page's head
   (1 up to about 1500 x 860). Inside, viewport units are divided by it (--vw, --vh), so whatever
   follows the screen keeps its proportion and only the fixed caps grow. */
:root { --z: 1; --vw: calc(1vw / var(--z)); --vh: calc(1vh / var(--z)); }
.poster-in { zoom: var(--z); }
.dots { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle, var(--dot) 1.7px, transparent 2.1px) 0 0 / 11px 11px; }
.dots-r { -webkit-mask: radial-gradient(52% 64% at 80% 58%, #000 24%, transparent 72%); mask: radial-gradient(52% 64% at 80% 58%, #000 24%, transparent 72%); }
.dots-l { -webkit-mask: radial-gradient(52% 64% at 20% 42%, #000 24%, transparent 72%); mask: radial-gradient(52% 64% at 20% 42%, #000 24%, transparent 72%); }
.dots-hero { -webkit-mask: radial-gradient(48% 60% at 78% 64%, #000 26%, transparent 72%); mask: radial-gradient(48% 60% at 78% 64%, #000 26%, transparent 72%); }

/* giant type, printed twice: ink, and the second colour a little off register */
.giant { margin: 0; font: 700 clamp(54px, 11vw, 176px)/.82 var(--display); letter-spacing: -.045em; color: var(--fg); text-shadow: .045em .035em 0 var(--mis); }
.giant span { display: block; }
.giant .in1 { padding-left: .5em; }
.giant-s { font-size: clamp(48px, 8.4vw, 136px); }
.press > span { animation: press .9s cubic-bezier(.2, .8, .2, 1) both; }
.press > span:nth-child(2) { animation-delay: .08s; }
.press > span:nth-child(3) { animation-delay: .16s; }
.press > span:nth-child(4) { animation-delay: .24s; }
@keyframes press { from { transform: translateY(16px); text-shadow: .22em .17em 0 var(--mis); } }
/* the plain words above the hero's giant lines: what the page is about, in the heading */
.giant .giant-key { margin-bottom: .55em; font: 600 clamp(17px, 1.5vw, 22px)/1.25 var(--display); letter-spacing: .005em; text-shadow: none; }
@media (min-width: 860px) { .giant .giant-key { font-size: min(calc(1.6 * var(--vw)), 22px); } }
/* phones: the line wraps before the time ticket in the corner */
@media (max-width: 859px) { .giant .giant-key { max-width: 62%; } }

/* the poster grid: big type, a hedgehog, and one piece of the app */
.grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-areas: "head pic" "body pic";
  column-gap: clamp(24px, calc(4 * var(--vw)), 64px); row-gap: clamp(16px, calc(3 * var(--vh)), 30px); align-items: center;
}
.grid.flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "pic head" "pic body"; }
.g-head { grid-area: head; align-self: end; min-width: 0; }
.g-body { grid-area: body; align-self: start; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.g-pic { grid-area: pic; position: relative; min-width: 0; display: grid; place-items: center; }
.g-pic .sticker { width: min(86%, calc(54 * var(--vh)), 480px); }
/* the stamp sits in the picture's empty lower corner, beside the hedgehog rather than on it */
.g-pic .stamp { left: -7%; bottom: 2%; }
.grid.flip .g-pic .stamp { left: auto; right: -7%; }

/* printed app cards */
.print {
  position: relative; width: 100%; max-width: 460px; padding: 18px 18px 16px;
  background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 16px;
  box-shadow: 8px 8px 0 var(--card-shadow);
}
.tilt-l { transform: rotate(-1.2deg); }
.tilt-r { transform: rotate(1.2deg); }
.chart.tilt-r { transform: rotate(.4deg); }
.tape-tl { top: -14px; left: 30px; transform: rotate(-6deg); }
.pr-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.pr-split { margin-top: 14px; padding-top: 14px; border-top: 2px dashed rgba(12, 36, 19, .25); grid-template-columns: 44px minmax(0, 1fr); }
.pr-ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--g); color: var(--ink); border: 2px solid var(--ink); }
.pr-ic .i { width: 22px; height: 22px; }
.pr-txt b { display: block; font: 600 19px/1.2 var(--display); }
.pr-txt em { display: block; font-style: normal; font-size: 14.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border-radius: 99px; background: var(--g); border: 2px solid var(--ink); cursor: pointer; transition: background-color .2s; }
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: translate .3s cubic-bezier(.3, 1.5, .5, 1), width .15s; }
.switch[aria-checked="false"] { background: var(--paper); }
.switch[aria-checked="false"]::after { translate: -20px 0; }
.switch:active::after { width: 24px; }
.days { display: flex; gap: 6px; margin-top: 14px; }
.days button { flex: 1; min-width: 0; height: 44px; padding: 0; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font: 600 14px/1 var(--display); transition: background-color .15s, color .15s, translate .12s; }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--fur); }
.days button:active { translate: 0 2px; }
.zone { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, transparent 4.5px), radial-gradient(circle, rgba(75, 180, 98, .9) 1.3px, transparent 1.7px) 0 0 / 6px 6px, var(--paper); }

.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 500px; }
.lg-app { margin-bottom: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); font: 600 17px/1.15 var(--display); }
.lg ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.lg li { display: flex; align-items: center; gap: 7px; font: 600 14.5px/1.2 var(--body); }
.lg li::before { content: ""; flex: none; width: 17px; height: 17px; border: 2px solid var(--ink); border-radius: 4px; background: var(--paper) center / 11px no-repeat; }
.lg li.yes::before { background-color: var(--g); background-image: var(--check); }
.lg li.no { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 2px; }
.lg li.no::before { background-image: var(--cross); background-size: 10px; }

/* ---------- 01 · the promise ---------- */
.p-hero .poster-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  grid-template-areas: "giant hog" "body hog"; align-items: end; column-gap: 24px; row-gap: clamp(16px, 3vh, 28px);
}
.p-hero .giant { grid-area: giant; font-size: clamp(58px, 12vw, 196px); }
.hero-body { grid-area: body; display: grid; gap: 18px; max-width: 520px; }
.hero-hog { grid-area: hog; align-self: end; justify-self: end; width: min(124%, calc(62 * var(--vh)), 540px); max-width: none; margin-left: -24%; transform: rotate(-4deg); }
.hero-stamp { right: 34%; top: 2%; }
.hero-ticket { position: absolute; right: var(--gr); top: -6px; margin: 0; transform: rotate(-6deg); }
/* the tape sits above the keyword line, not on it */
.hero-tape { left: calc(var(--gl) - 8px); top: -46px; transform: rotate(-8deg); }

/* ---------- 04 · tasks ---------- */
.task { max-width: 440px; }
.vk-from { font: 700 13.5px/1.3 var(--body); color: var(--ink-2); }
.vk-item { width: 100%; margin-top: 8px; padding: 10px 0; display: grid; grid-template-columns: 30px minmax(0, 1fr) 32px; gap: 12px; align-items: center; background: none; border: 0; text-align: left; cursor: pointer; font: 600 20px/1.25 var(--display); }
.box { width: 28px; height: 28px; border: 2.5px solid var(--ink); border-radius: 7px; background: var(--paper); transition: background-color .2s; }
.vk-item[aria-pressed="true"] .box { background: var(--g) var(--check) center / 18px no-repeat; }
.vk-item[aria-pressed="true"] .vk-title { text-decoration: line-through; text-decoration-thickness: 2.5px; }
.coin { width: 30px; height: 30px; border-radius: 50%; background: var(--coin); border: 2.5px solid var(--ink); opacity: .35; transition: opacity .2s; }
.vk-item.is-confirmed .coin { opacity: 1; animation: coin .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes coin { 45% { transform: translateY(-14px) scale(1.25); } }
.vk-hint { padding-top: 10px; border-top: 2px dashed rgba(12, 36, 19, .25); font: 600 16px/1.3 var(--display); }
.coinfx { position: fixed; z-index: 50; width: 22px; height: 22px; border-radius: 50%; background: var(--coin); border: 2.5px solid var(--ink); pointer-events: none; animation: fly 1s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes fly { to { transform: translate(var(--dx), var(--dy)) scale(.6); opacity: 0; } }
.p-cheer.is-happy .sticker { animation: hop .8s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 30% { transform: translateY(-6%) rotate(-3deg); } 60% { transform: rotate(2deg); } }

/* ---------- 05 · rules: the sentence is the poster ---------- */
.p-rules .poster-in { display: grid; justify-items: center; text-align: center; }
.rules-head { display: grid; justify-items: center; }
.kicker { font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--display); }
.builder { width: 100%; max-width: 1120px; margin-top: clamp(16px, calc(3 * var(--vh)), 28px); }
/* art.js reserves the height of its longest version, so the chips below never jump while you tap */
.sentence { font: 700 clamp(40px, 6.2vw, 100px)/1.1 var(--display); letter-spacing: -.03em; color: var(--fur); text-shadow: .04em .03em 0 var(--g); }
.tok { display: inline-block; margin: 0 .02em; padding: 0 .18em; border: 0; border-radius: .14em; background: var(--g); color: var(--ink); cursor: pointer; font: inherit; letter-spacing: inherit; text-shadow: none; transform: rotate(-1.5deg); transition: background-color .15s, transform .12s, rotate .25s cubic-bezier(.3, 1.6, .5, 1); }
.tok + .tok { transform: rotate(1deg); }
@media (hover: hover) { .tok:hover { background: #5DC473; } }
.tok:active { transform: scale(.96); }
.tok:focus-visible { outline-color: var(--fur); }
.conds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(18px, calc(3 * var(--vh)), 28px); }
.conds button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 2px solid rgba(243, 230, 204, .5); border-radius: 10px; background: transparent; color: var(--fur); cursor: pointer; font: 700 16px/1 var(--body); }
.conds button[aria-checked="true"] { background: var(--fur); color: var(--ink); border-color: var(--fur); }
.conds button[aria-checked="true"] .plat { background: var(--ink); color: var(--fur); }
.hint { margin-top: 14px; font: 600 15px/1.4 var(--body); color: rgba(243, 230, 204, .82); }
/* the guide stands in the poster's corner, in line with the content's right edge, whatever the sentence's length */
.rules-hog { position: absolute; z-index: 1; right: max(var(--gr), calc((100% - 1440px) / 2 + var(--gr))); bottom: calc(3 * var(--vh)); width: min(calc(14 * var(--vw)), calc(18 * var(--vh)), 200px); transform: rotate(6deg); }

/* ---------- 06 · websites ---------- */
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; }
.pack { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; font: 600 16px/1.15 var(--display); box-shadow: 4px 4px 0 rgba(12, 36, 19, .16); transition: background-color .15s; }
.pack .i { width: 18px; height: 18px; opacity: .4; }
.pack[aria-pressed="true"] { background: var(--ink); color: var(--fur); box-shadow: 4px 4px 0 var(--g); }
.pack[aria-pressed="true"] .i { opacity: 1; color: var(--g); }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.try-label { margin-right: 2px; font: 800 15px/1 var(--body); }
.try button { min-height: 44px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 99px; background: transparent; cursor: pointer; font: 700 15px/1 var(--body); }
.try button[aria-pressed="true"] { background: var(--ink); color: var(--fur); }
.toast { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border: 2.5px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--fur); font: 600 18px/1.2 var(--display); transform: rotate(-1.5deg); box-shadow: 5px 5px 0 var(--g); }
.toast .i { width: 18px; height: 18px; color: var(--g); }
.result.is-open .toast { background: var(--paper); color: var(--ink); }
.result.is-open .toast .i { color: var(--ink); }
.result.is-pop .toast { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.result-masc.is-pop { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.88) rotate(-1.5deg); } }

/* ---------- 07 · daily limit ---------- */
.g-limit { padding: 10px 14px 14px 0; }
.v-shield { position: relative; width: min(100%, 380px); padding: 26px 22px 20px; border-radius: 26px; background: var(--ink); color: var(--fur); text-align: center; box-shadow: 10px 10px 0 var(--fur); transform: rotate(1.5deg); }
.v-shield.is-dropped { animation: drop .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes drop { 0% { transform: translateY(-12px) rotate(1.5deg) scale(1.03); } }
.v-shield :focus-visible { outline-color: var(--fur); }
.vs-again { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 230, 204, .12); color: var(--fur); cursor: pointer; opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.vs-again .i { width: 18px; height: 18px; }
.v-shield[data-state="done"] .vs-again { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .3s; }
.vs-emblem { position: relative; width: 124px; height: 124px; margin: 0 auto 12px; display: grid; place-items: center; }
.vs-emblem > * { grid-area: 1 / 1; }
.vs-ring { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 5; }
.vs-ring circle { stroke: rgba(243, 230, 204, .16); }
.vs-ring .fg { stroke: var(--g); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: opacity .3s; }
.v-shield[data-state="done"] .vs-ring .fg { opacity: 0; }
.vs-min { display: grid; justify-items: center; font: 700 13px/1 var(--body); color: rgba(243, 230, 204, .72); transition: opacity .25s; }
.vs-min b { font: 600 36px/1 var(--display); color: var(--fur); font-variant-numeric: tabular-nums; }
.vs-emblem img { width: 104px; height: 104px; transition: opacity .3s, transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.v-shield:not([data-state="done"]) .vs-emblem img { opacity: 0; transform: scale(.5); }
.v-shield[data-state="done"] .vs-min { opacity: 0; }
.vs-faces { display: grid; }
.vs-faces > div { grid-area: 1 / 1; transition: opacity .3s, transform .3s, visibility 0s; }
.v-shield[data-state="done"] .vs-before, .v-shield:not([data-state="done"]) .vs-after { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.vs-title { font: 600 24px/1.15 var(--display); }
.vs-sub { margin-top: 6px; font-size: 15.5px; color: rgba(243, 230, 204, .82); }
.vs-ask, .vs-run { width: 100%; min-height: 50px; margin-top: 18px; padding: 14px; border: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--fur); color: var(--ink); cursor: pointer; font: 600 18px/1 var(--display); transition: transform .12s, opacity .2s; }
.vs-run { background: var(--g); }
.vs-run .i { width: 20px; height: 20px; }
.v-shield[data-state="running"] .vs-run { opacity: .55; pointer-events: none; }
.vs-ask:active, .vs-run:active { transform: scale(.98); }
.vs-pin { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: rgba(243, 230, 204, .82); }
.vs-pin .i { width: 15px; height: 15px; }

/* ---------- 08 · bedtime: the hedgehog sleeps behind the letters ---------- */
.moon-dots { position: absolute; z-index: 0; right: 9%; top: 15%; width: clamp(120px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--fur) 2px, transparent 2.5px) 0 0 / 9px 9px; -webkit-mask: radial-gradient(circle at 36% 40%, #000 44%, transparent 71%); mask: radial-gradient(circle at 36% 40%, #000 44%, transparent 71%); opacity: .85; }
.p-night .g-head, .p-night .g-body { position: relative; z-index: 3; }
.p-night .g-pic { z-index: 1; justify-items: end; margin-right: -30%; }
.print-night { background: #173B23; color: var(--fur); border-color: var(--fur); }
.print-night .pr-txt em { color: rgba(243, 230, 204, .78); }
.pr-ic-fur { background: var(--fur); border-color: var(--fur); }
.print-night .switch, .print-night .switch::after { border-color: var(--fur); }
.print-night .switch::after { background: var(--fur); }
.print-night .switch[aria-checked="false"] { background: transparent; }
.strip { position: relative; height: 14px; margin-top: 16px; border: 2px solid var(--fur); border-radius: 5px; overflow: hidden; }
.strip i { position: absolute; top: 0; bottom: 0; background: var(--g); }
.strip-scale { display: flex; justify-content: space-between; margin-top: 6px; font: 600 13.5px/1 var(--body); color: rgba(243, 230, 204, .75); font-variant-numeric: tabular-nums; }
.zz { position: absolute; left: 62%; top: 12%; }
.zz i { position: absolute; left: 0; bottom: 0; opacity: 0; font: 700 22px/1 var(--display); font-style: normal; color: var(--fur); animation: zz 3.6s ease-in infinite; }
.zz i:nth-child(2) { font-size: 28px; animation-delay: 1.2s; }
.zz i:nth-child(3) { font-size: 34px; animation-delay: 2.4s; }
@keyframes zz { 0% { opacity: 0; transform: none; } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(24px, -60px); } }

/* ---------- 09 · the curl-up ---------- */
.curl-pics { display: grid; width: min(84%, calc(50 * var(--vh)), 440px); }
.curl-pics img { grid-area: 1 / 1; width: 100%; }
.curl-calm { transition: opacity .2s, transform .4s ease; }
.curl-ball { opacity: 0; transform: scale(.45) rotate(-60deg); transition: opacity .2s, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.is-curled .curl-calm { opacity: 0; transform: scale(.7); }
.is-curled .curl-ball { opacity: 1; transform: none; }
.is-curled .curl-pics { animation: shake .5s ease .3s; }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.is-curled .curl-try { background: var(--g); color: var(--ink); }

/* ---------- 10 · what we don't see: printed on black tape ---------- */
.blind { list-style: none; padding: 0; display: grid; gap: 12px; justify-items: start; }
.blind li { display: flex; align-items: center; gap: .4em; max-width: 100%; padding: 10px 16px; background: var(--ink); color: var(--fur); font: 600 clamp(20px, 2.3vw, 32px)/1.15 var(--display); transform: rotate(-.8deg); }
.blind li:nth-child(2) { transform: rotate(.9deg); margin-left: 1.2em; }
.blind li:nth-child(3) { transform: rotate(-.4deg); }
.blind .i { width: .9em; height: .9em; color: var(--g); stroke-width: 2.4; }

/* ---------- 11 · getting started ---------- */
.steps-head { margin-bottom: clamp(18px, calc(3 * var(--vh)), 34px); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.steps li { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.steps h3 { display: flex; align-items: flex-start; gap: 10px; font: 600 19px/1.25 var(--display); }
.steps h3 b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--fur); font-size: 17px; }
.step-card { min-height: 150px; display: grid; place-items: center; padding: 16px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); }
.sheet { width: min(220px, 100%); padding: 14px; display: grid; justify-items: center; gap: 8px; text-align: center; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); }
.sheet .i { width: 32px; height: 32px; color: var(--g-2); }
.sheet b { font: 600 16px/1.2 var(--display); }
.sheet span { width: 100%; padding: 8px; border-radius: 8px; background: var(--ink); color: var(--fur); font: 600 14px/1 var(--display); }
.sv-guess { place-items: stretch; align-content: center; gap: 10px; }
.g-label, .g-real { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 700 14.5px/1.3 var(--body); }
.g-label output { font: 600 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.g-real b { flex: none; white-space: nowrap; font: 600 22px/1 var(--display); filter: blur(6px); user-select: none; }
.g-real[hidden], .g-cta[hidden] { display: none; }
.g-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.g-range::-webkit-slider-runnable-track { height: 10px; border: 2px solid var(--ink); border-radius: 6px; background: linear-gradient(var(--g), var(--g)) 0 0 / calc(12px + var(--g) * (100% - 24px)) 100% no-repeat, var(--paper); }
.g-range::-moz-range-track { height: 10px; border: 2px solid var(--ink); border-radius: 6px; background: linear-gradient(var(--g), var(--g)) 0 0 / calc(12px + var(--g) * (100% - 24px)) 100% no-repeat, var(--paper); }
.g-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.g-range::-moz-range-thumb { width: 22px; height: 22px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.g-range:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.g-cta { font: 700 15px/1.3 var(--body); text-underline-offset: 3px; }
.code { grid-auto-flow: column; gap: 6px; }
.code span { width: 34px; height: 46px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--fur); font: 600 22px/1 var(--display); }

/* ---------- 12 · iPhone or Android ---------- */
.chart { max-width: 620px; }
.chart table { width: 100%; border-collapse: collapse; }
.chart th, .chart td { padding: 11px 0; border-bottom: 2px dashed rgba(12, 36, 19, .22); }
.chart tr:last-child th, .chart tr:last-child td { border-bottom: 0; }
.chart thead th { padding-top: 0; font: 600 16px/1 var(--display); text-align: center; }
.chart tbody th { padding-right: 14px; text-align: left; font: 600 17px/1.3 var(--display); }
.chart td { width: 84px; text-align: center; font-size: 0; }
.chart td::before { content: ""; display: inline-block; width: 26px; height: 26px; border: 2.5px solid var(--ink); border-radius: 50%; vertical-align: middle; }
.chart td.y::before { background: var(--g) var(--check) center / 15px no-repeat; }
.chart td.n::before { width: 16px; height: 4px; border: 0; border-radius: 2px; background: rgba(12, 36, 19, .3); }
#p12 .lede { margin-top: 16px; }
.grid.split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head body"; align-items: center; }
.grid.split .g-body { align-self: center; align-items: stretch; }

/* ---------- 13 · PLUS ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font: 600 clamp(20px, 2vw, 26px)/1.25 var(--display); }
.ticks li::before { content: ""; flex: none; width: 28px; height: 28px; border: 2px solid var(--fur); border-radius: 50%; background: var(--g) var(--check) center / 16px no-repeat; }
#p13 .lede { margin-top: 16px; }

/* ---------- 14 · questions ---------- */
.qa { width: 100%; max-width: 640px; display: grid; gap: 10px; }
.qa details { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--g); }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 15px 52px 15px 18px; font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(var(--ink), var(--ink)) center / 16px 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 3px 16px no-repeat; transition: transform .25s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 18px 16px; color: var(--ink-2); }
.qa a { font-weight: 800; text-underline-offset: 3px; }

/* ---------- 15 · get the app: the hedgehog waves from behind the footer ---------- */
.p-get { --gh: min(52vh, 460px, 56vw); justify-content: flex-start; padding-bottom: calc(var(--gh) * .62); }
.p-get .giant { font-size: clamp(64px, 13vw, 210px); }
/* the column fills the poster, so the hedgehog always stands on the poster's bottom edge */
.p-get .poster-in { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.get-cols { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 22px 56px; margin-top: clamp(18px, calc(3 * var(--vh)), 30px); }
.get-cols h3 { margin-bottom: 12px; font: 600 20px/1.2 var(--display); }
.soon { display: inline-flex; align-items: center; min-height: 50px; font: 700 15px/1 var(--body); color: var(--ink-2); }
.p-get .small { margin-top: 18px; }
/* line height .82 lets the g of "hoglt." hang into the labels under it */
.p-get .giant { padding-bottom: .12em; }
/* it sits in the content box, above the poster's bottom padding (.62 of its size): -.98 hides the lower third */
.get-hog { position: absolute; z-index: 1; right: 6%; bottom: calc(var(--gh) * -.98); width: var(--gh); transform: rotate(-4deg); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; padding: 44px var(--gr) 56px var(--gl); background: var(--ink); color: rgba(243, 230, 204, .8); font-size: 15.5px; }
.foot-in { max-width: 1280px; margin: 0 auto; display: grid; gap: 14px; justify-items: start; }
.foot-logo { width: 150px; }
.foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot li a { display: inline-block; padding: 11px 0; }
.foot-nav ul { margin: 0; font-weight: 700; }
.foot a { color: var(--fur); text-underline-offset: 3px; }
.foot :focus-visible { outline-color: var(--fur); }
.copy { opacity: .7; }

/* ---------- feedback: every printed piece answers the hand ---------- */
::selection { background: var(--g); color: var(--ink); }
.stock-green ::selection { background: var(--ink); color: var(--fur); }

/* halftone fields drawn live while their poster is on screen (art-fx.js); the CSS dots stand in otherwise */
.dots-ghost { background: none; }
.dots.is-live, .moon-dots.is-live { background: none; }
.dots.is-live:not(.moon-dots) { -webkit-mask: none; mask: none; }
.dots-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* giant letters lift where you point; their second ink slips further off register */
.giant .gl { display: block; }
.ch {
  display: inline-block; font-style: normal;
  translate: 0 calc(var(--lift, 0) * -.07em);
  text-shadow: calc(.045em + var(--sx, 0) * .09em) calc(.035em + var(--sy, 0) * .09em) 0 var(--mis);
  transition: translate .5s cubic-bezier(.25, 1.5, .5, 1), text-shadow .5s cubic-bezier(.25, 1.5, .5, 1);
}
.ch.is-bob { animation: bob .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bob { 35% { translate: 0 -.1em; } }

/* stickers lean toward the cursor, squash on a press, hop on a click */
.sticker { transition: translate .45s cubic-bezier(.25, 1.4, .5, 1), rotate .45s cubic-bezier(.25, 1.4, .5, 1), scale .3s ease; }
.sticker.is-hot { translate: calc(var(--nx, 0) * 10px) calc(var(--ny, 0) * 8px); rotate: calc(var(--nx, 0) * 4deg); scale: 1.035; }
.sticker.is-press { scale: .95; transition-duration: .45s, .45s, .1s; }
.sticker.is-hop { animation: sticker-hop .6s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes sticker-hop { 30% { translate: 0 -7%; } 62% { translate: 0 1.2%; } }
/* each hedgehog answers a poke in its own way */
.sticker.r-wave { animation: r-wave .8s ease-in-out; }
.sticker.r-nod { animation: r-nod .6s cubic-bezier(.3, 1.4, .5, 1); }
.sticker.r-shake { animation: r-shake .5s ease-in-out; }
.sticker.r-point { animation: r-point .6s cubic-bezier(.3, 1.4, .5, 1); }
.sticker.r-nope { animation: r-nope .45s ease-in-out; }
.sticker.r-stir { animation: r-stir .9s ease-in-out; }
.sticker.r-tip { animation: r-tip .8s cubic-bezier(.3, 1.3, .5, 1); }
.sticker.r-tilt { animation: r-tilt .8s cubic-bezier(.3, 1.3, .5, 1); }
.sticker.r-squeeze { animation: r-squeeze .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes r-wave { 20% { rotate: -7deg; } 45% { rotate: 6deg; } 70% { rotate: -4deg; } 88% { rotate: 2deg; } }
@keyframes r-nod { 35% { translate: 0 4%; rotate: 2deg; } 70% { translate: 0 -1%; } }
@keyframes r-shake { 15% { rotate: 9deg; } 35% { rotate: -9deg; } 55% { rotate: 6deg; } 75% { rotate: -4deg; } }
@keyframes r-point { 40% { translate: -4% -4%; rotate: -5deg; } }
@keyframes r-nope { 20% { translate: -5% 0; } 45% { translate: 5% 0; } 70% { translate: -3% 0; } 88% { translate: 1% 0; } }
@keyframes r-stir { 30% { scale: 1.05 .97; } 55% { rotate: -3deg; } 80% { rotate: 2deg; } }
@keyframes r-tip { 40% { rotate: 14deg; translate: 3% 0; } }
@keyframes r-tilt { 40% { rotate: -10deg; translate: 0 -2%; } }
@keyframes r-squeeze { 30% { scale: .88 1.06; } 60% { scale: 1.12 .94; } }
/* bedtime's letters get sleepy where you point: they sink, droop and dim */
.is-sleepy .ch { translate: 0 calc(var(--lift, 0) * .06em); rotate: calc(var(--lift, 0) * var(--tilt, 1) * 7deg); opacity: calc(1 - var(--lift, 0) * .35); transition: translate .9s ease, rotate .9s ease, opacity .9s ease; }
.curl-calm { transition: opacity .2s, transform .4s ease, translate .45s cubic-bezier(.25, 1.4, .5, 1), rotate .45s cubic-bezier(.25, 1.4, .5, 1), scale .3s ease; }
.curl-ball { transition: opacity .2s, transform .6s cubic-bezier(.3, 1.5, .5, 1), translate .45s, rotate .45s, scale .3s; }
.curl-pics { cursor: pointer; }
.heartfx, .zfx { position: fixed; z-index: 50; pointer-events: none; font: 700 26px/1 var(--display); font-style: normal; animation: float-up 1.1s cubic-bezier(.2, .7, .3, 1) both; }
.heartfx { color: var(--g); text-shadow: 2px 2px 0 var(--fur); }
.heartfx:nth-child(odd) { color: var(--fur); text-shadow: 2px 2px 0 var(--g); }
.zfx { color: var(--fur); font-size: 30px; }
@keyframes float-up { 0% { opacity: 0; scale: .6; } 15% { opacity: 1; } 100% { opacity: 0; translate: var(--dx) var(--dy); scale: 1.15; } }

/* stamps press down and leave an ink ring; tickets wiggle; tape lifts; little labels tilt */
.stamp { transition: rotate .35s cubic-bezier(.3, 1.6, .5, 1), scale .25s ease, box-shadow .25s ease; }
.stamp::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid var(--g); opacity: 0; pointer-events: none; }
.stock-green .stamp::after { border-color: var(--fur); }
.stamp.is-thunk { animation: thunk .5s cubic-bezier(.3, 1.6, .5, 1); }
.stamp.is-thunk::after { animation: ink-ring .6s ease-out; }
@keyframes thunk { 0% { scale: 1.16; } 40% { scale: .88; } 70% { scale: 1.04; } }
@keyframes ink-ring { 0% { opacity: .7; scale: .9; } 100% { opacity: 0; scale: 1.55; } }
.ticket { transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1), translate .3s cubic-bezier(.3, 1.6, .5, 1); }
.ticket.is-wiggle, .plat.is-wiggle { animation: wiggle .45s ease; }
@keyframes wiggle { 25% { rotate: -5deg; } 55% { rotate: 4deg; } 80% { rotate: -2deg; } }
.tape { pointer-events: auto; transition: translate .3s cubic-bezier(.3, 1.6, .5, 1), rotate .3s cubic-bezier(.3, 1.6, .5, 1), background-color .2s; }
.tape.is-lift { animation: lift .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes lift { 40% { translate: 0 -6px; rotate: -6deg; } }
.plat { transition: rotate .25s cubic-bezier(.3, 1.6, .5, 1); }

/* printed cards straighten and lift when you pick them up */
.print, .v-shield, .step-card, .qa details, .toast { transition: translate .3s cubic-bezier(.3, 1.5, .5, 1), rotate .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s ease; }
.zone { position: relative; }
.zone::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--g-2); opacity: 0; pointer-events: none; }
.zone.is-ping::after { animation: ping 1s ease-out; }
@keyframes ping { 0% { opacity: .9; scale: .8; } 100% { opacity: 0; scale: 1.9; } }
.print.is-off .days, .print.is-off .pr-row:first-child .pr-txt em { opacity: .4; transition: opacity .25s; }
.print.is-off .pr-row:first-child .pr-ic { background: var(--paper); transition: background-color .25s; }
.print-night.is-off .pr-row:first-child .pr-ic { background: transparent; color: var(--fur); }
.days button.is-pop { animation: pop-in .35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop-in { 0% { scale: .82; } }
.pr-ic .i { transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }

/* the ledger: allowed ticks bounce, closed features shake their head */
.lg li { transition: translate .2s ease; }
.lg li.is-pop::before { animation: pop-in .4s cubic-bezier(.3, 1.8, .5, 1); }
.lg li.is-nope { animation: nope .4s ease; }
@keyframes nope { 20% { translate: -4px 0; } 40% { translate: 4px 0; } 60% { translate: -2px 0; } 80% { translate: 1px 0; } }

/* tasks: the box answers, the coin spins */
.box, .coin { transition: background-color .2s, opacity .2s, scale .15s ease, border-width .15s; }
.vk-item:active .box { scale: .88; }

/* the rule sentence: a tapped word turns over, a new ending inks in */
.tok.is-flip { animation: tok-flip .34s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes tok-flip { 0% { translate: 0 .28em; opacity: .15; } }
.tok-cond.is-ink, .tok-open.is-ink { animation: ink-in .4s ease; }
@keyframes ink-in { 0% { opacity: 0; color: var(--g); } }
.conds button { transition: background-color .15s, color .15s, border-color .15s, translate .12s; }
.conds button:active { translate: 0 2px; }
.conds button .i { transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.conds button.is-pick .i { animation: pop-in .4s cubic-bezier(.3, 1.8, .5, 1); }

/* website packs: press in, the lock snaps shut or springs open */
.pack { transition: background-color .15s, color .15s, translate .15s ease, box-shadow .15s ease; }
.pack:active { translate: 2px 2px; box-shadow: 1px 1px 0 rgba(12, 36, 19, .16); }
.pack[aria-pressed="true"]:active { box-shadow: 1px 1px 0 var(--g); }
.pack.is-lock .i { animation: lock-shut .45s cubic-bezier(.3, 1.7, .5, 1); }
.pack.is-unlock .i { animation: lock-open .5s ease; }
@keyframes lock-shut { 0% { scale: 1.6; rotate: -18deg; } }
@keyframes lock-open { 35% { translate: 0 -4px; rotate: 16deg; } }
.try button { transition: background-color .15s, color .15s, scale .12s; }
.try button:active { scale: .95; }

/* 19:00: the replay arrow turns, the ask button confirms, the lock rattles */
.vs-again .i { transition: rotate .45s cubic-bezier(.3, 1.4, .5, 1); }
.vs-ask { transition: transform .12s, opacity .2s, background-color .25s; }
.vs-ask.is-sent { background: var(--g); animation: pop-in .4s cubic-bezier(.3, 1.6, .5, 1); }
.vs-pin.is-shake .i { animation: nope .4s ease; }
.vs-ring .fg { transition: opacity .3s, stroke-width .25s; }

/* bedtime: the time under the finger, and a switched-off night stops snoring */
.strip, .strip-scale { cursor: crosshair; }
.strip-tip {
  position: absolute; z-index: 3; left: 0; top: 0; padding: 6px 9px; border-radius: 7px;
  background: var(--fur); color: var(--ink); font: 700 13px/1 var(--body); white-space: nowrap; font-variant-numeric: tabular-nums;
  translate: -50% calc(-100% - 10px); opacity: 0; pointer-events: none; transition: opacity .15s;
}
.strip-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; rotate: 45deg; }
.strip-tip.is-sleep { background: var(--g); }
.strip-tip.is-on { opacity: 1; }
.strip i { transition: opacity .3s, background-color .3s; }
.p-night.is-off .strip i { opacity: .3; }
.p-night.is-off .zz { opacity: 0; transition: opacity .4s; }

/* black tape lifts at a touch, the crossed eye blinks */
.blind li { transition: translate .25s cubic-bezier(.3, 1.6, .5, 1), rotate .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s ease; cursor: default; }
.blind li.is-slap { animation: slap .35s ease; }
@keyframes slap { 0% { scale: 1.05; } 55% { scale: .98; } }
.blind .i { transition: scale .2s; }

/* getting started: numbers spin, the sheet button answers, the code rolls */
.steps h3 b { transition: rotate .6s cubic-bezier(.3, 1.3, .5, 1); }
.steps h3 b.is-pop { animation: pop-in .4s cubic-bezier(.3, 1.8, .5, 1); }
.sheet span { transition: background-color .2s, color .2s, scale .12s; }
.sheet span:active { scale: .95; }
.sheet span.is-ok { background: var(--g); color: var(--ink); }
.code span { transition: translate .2s cubic-bezier(.3, 1.6, .5, 1); }
.code span.is-pop { animation: pop-in .35s cubic-bezier(.3, 1.8, .5, 1); }
.g-label output { display: inline-block; }
.g-label output.is-bump { animation: pop-in .3s cubic-bezier(.3, 1.8, .5, 1); }
.g-range::-webkit-slider-thumb { transition: transform .15s ease, background-color .15s; }
.g-range:active::-webkit-slider-thumb { transform: scale(1.15); background: var(--g); }
.g-range:active::-moz-range-thumb { background: var(--g); }

/* the chart lights the row and the column under the pointer */
.chart th, .chart td { transition: background-color .15s; }
.chart tbody tr:hover th, .chart tbody tr:hover td,
.chart table[data-col="1"] tr > :nth-child(2), .chart table[data-col="2"] tr > :nth-child(3) { background: rgba(75, 180, 98, .16); }
html.is-pointing .chart tbody tr:hover td.y::before { animation: pop-in .4s cubic-bezier(.3, 1.8, .5, 1); }

/* PLUS: the ticks nudge */
.ticks li { transition: translate .2s ease; }
.ticks li::before { transition: rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.note-line .i { transition: rotate .5s cubic-bezier(.3, 1.3, .5, 1); }
.note-line.is-pop .i { animation: pop-in .4s cubic-bezier(.3, 1.8, .5, 1); }

/* questions: the plus turns as it opens (and back as it closes) */
.qa details.is-closing summary::after { transform: none; }

/* the bar: a reading line, the logo hops, the poster number turns over */
.bar::after { content: ""; position: absolute; left: 0; bottom: -3px; width: calc(var(--read, 0) * 100%); height: 3px; background: var(--g); pointer-events: none; }
.bar-logo img, .foot-logo { transition: translate .3s cubic-bezier(.3, 1.6, .5, 1), rotate .3s cubic-bezier(.3, 1.6, .5, 1), scale .12s; }
.bar-logo:active img { scale: .94; }
.index-no { display: inline-block; }
.index-no.is-flip { animation: tok-flip .34s cubic-bezier(.3, 1.4, .5, 1); }
.index a b { transition: translate .2s ease; }
.chunk .i { transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1); }

/* links underline in ink, thicker and greener when pointed at */
.foot a, .qa a, .g-cta { text-decoration-thickness: 1.5px; transition: color .15s, text-decoration-thickness .15s, text-underline-offset .15s; }

/* the smallest bits: labels, headers, the plus, the index button; stickers never drag as images */
.sticker { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.soon, .lg-app, .toast { transition: rotate .3s cubic-bezier(.3, 1.6, .5, 1), border-bottom-width .15s, translate .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s ease; }
.soon.is-wiggle, .toast.is-wiggle { animation: wiggle .45s ease; }
.qa summary::after { transition: transform .25s, scale .2s; }
.index-btn { transition: border-color .15s, scale .12s; }
.index-btn:active { scale: .97; }
.sheet .i { transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
/* everything above that needs a real hover (mouse, trackpad) */
@media (hover: hover) and (pointer: fine) {
  html.is-pointing .qa summary:hover::after { scale: 1.2; }
  html.is-pointing .vs-again:hover .i { rotate: -200deg; }
  .vs-run:hover, .vs-ask:hover { filter: brightness(1.06); }
  .vk-item:hover .box { border-width: 3px; }
  html.is-pointing .vk-item:not(.is-confirmed):hover .coin { animation: coin-spin .7s ease; }
  .pack:hover { box-shadow: 4px 4px 0 rgba(12, 36, 19, .3); }
  .pack:hover .i { opacity: .75; }
  .pack[aria-pressed="true"]:hover .i { opacity: 1; }
  html.is-pointing .pack:active { translate: 2px 2px; }
  .try button:hover { background: rgba(12, 36, 19, .08); }
  .try button[aria-pressed="true"]:hover { background: var(--ink-2); }
  .conds button:hover { border-color: var(--fur); }
  html.is-pointing .conds button:hover .i { rotate: -14deg; }
  .days button[aria-pressed="false"]:hover { background: rgba(12, 36, 19, .08); }
  html.is-pointing .days button:active { translate: 0 2px; }
  html.is-pointing .index a:hover b { translate: 4px 0; }
  html.is-pointing .bar-logo:hover img, html.is-pointing .foot-logo:hover { translate: 0 -2px; rotate: -3deg; }
  .foot a:hover, .qa a:hover, .g-cta:hover { color: var(--g); text-decoration-thickness: 3px; text-underline-offset: 5px; }
  .qa a:hover, .g-cta:hover { color: inherit; text-decoration-color: var(--g-2); }
  html.is-pointing .curl-stage:has(.curl-try:hover):not(.is-curled) .curl-calm { rotate: -5deg; scale: .96; translate: 6px 4px; }
  html.is-pointing .p-night .g-pic:hover .zz i { animation-duration: 1.8s; }
  .sheet span:hover { background: var(--ink-2); }
  .sheet span.is-ok:hover { background: var(--g); }
}
@keyframes coin-spin { to { rotate: y 360deg; } }
@keyframes blink { 50% { scale: 1 .1; } }

/* ---------- laptops and desktops: the type is sized by the shorter side of the screen ---------- */
@media (min-width: 860px) {
  .giant { font-size: min(calc(11 * var(--vw)), calc(17 * var(--vh)), 176px); }
  .giant-s { font-size: min(calc(8.4 * var(--vw)), calc(13 * var(--vh)), 136px); }
  .p-hero .giant { font-size: min(calc(12 * var(--vw)), calc(18 * var(--vh)), 196px); }
  .p-get .giant { font-size: min(calc(13 * var(--vw)), calc(20 * var(--vh)), 210px); }
  /* a headline never outgrows its column: the widest line is 4.9em ("means one"), 5.4em for the small size */
  .g-head { container-type: inline-size; }
  .g-head .giant { font-size: min(calc(11 * var(--vw)), calc(17 * var(--vh)), 20cqi, 176px); }
  .g-head .giant-s { font-size: min(calc(8.4 * var(--vw)), calc(13 * var(--vh)), 18cqi, 136px); }
  .sentence { font-size: min(calc(6.2 * var(--vw)), calc(10 * var(--vh)), 100px); }
  /* the stamp follows the end of "day has", so a bigger headline never runs under it */
  .hero-stamp { right: auto; left: calc(var(--gl) + var(--stamp-at, 3.8) * min(calc(12 * var(--vw)), calc(18 * var(--vh)), 196px)); }
  /* the translated headlines run longer: their widest line is about 7em, so the column fits 7em */
  html[lang=de], html[lang=fr] { --stamp-at: 6; }
  html[lang=de] .g-head .giant, html[lang=fr] .g-head .giant { font-size: min(calc(11 * var(--vw)), calc(17 * var(--vh)), 14cqi, 176px); }
  html[lang=de] .g-head .giant-s, html[lang=fr] .g-head .giant-s { font-size: min(calc(8.4 * var(--vw)), calc(13 * var(--vh)), 13cqi, 136px); }
  /* Japanese: every character is a full em wide, so the lines (up to 8 characters) get a smaller size */
  html[lang=ja] .giant { font-size: min(calc(6.4 * var(--vw)), calc(10 * var(--vh)), 104px); }
  html[lang=ja] .giant-s { font-size: min(calc(5.4 * var(--vw)), calc(8.6 * var(--vh)), 88px); }
  html[lang=ja] .g-head .giant { font-size: min(calc(6.4 * var(--vw)), calc(10 * var(--vh)), 11.5cqi, 104px); }
  html[lang=ja] .g-head .giant-s { font-size: min(calc(5.4 * var(--vw)), calc(8.6 * var(--vh)), 11cqi, 88px); }
  html[lang=ja] .p-hero .giant { font-size: min(calc(6.8 * var(--vw)), calc(10.6 * var(--vh)), 112px); }
  html[lang=ja] .p-get .giant { font-size: min(calc(7.4 * var(--vw)), calc(11.4 * var(--vh)), 120px); }
  html[lang=ja] .hero-stamp { left: calc(var(--gl) + 7.4 * min(calc(6.8 * var(--vw)), calc(10.6 * var(--vh)), 112px)); }
}
/* Japanese lines never break inside a phrase; their sizes above and below keep each line on the screen */
html[lang=ja] .giant span:not(.giant-key) { white-space: nowrap; }
@media (max-width: 859px) {
  html[lang=ja] .giant, html[lang=ja] .giant-s { font-size: clamp(30px, 8.6vw, 60px); }
  html[lang=ja] .p-hero { --hf: clamp(32px, 9.4vw, 60px); }
}
/* narrow desktops: a smaller picture leaves its corner free for the stamp */
@media (min-width: 860px) and (max-width: 1199px) {
  .g-pic .sticker, .curl-pics { width: min(70%, 54vh, 480px); }
}
@media (min-width: 860px) and (max-height: 820px) {
  .poster { padding-block: calc(var(--bar) + 20px) 28px; }
  .p-get { padding-bottom: calc(var(--gh) * .62); }
  .step-card { min-height: 128px; }
}
/* wide screens: the last poster is two halves, the words on the left and a big hedgehog waving
   from the bottom edge on the right, instead of a small one under everything */
@media (min-width: 1200px) {
  .p-get { --gh: min(calc(70 * var(--vh)), 620px, calc(38 * var(--vw))); padding-bottom: 0; }
  .p-get .poster-in { padding-bottom: clamp(32px, calc(6 * var(--vh)), 64px); }
  .get-hog { right: 7%; bottom: calc(var(--gh) * -.3); }
}


/* ---------- phones and small tablets ---------- */
@media (max-width: 859px) {
  .wide { display: none; }
  .narrow { display: inline; }
  .bar { gap: 8px; }
  .bar-logo img { width: 78px; max-width: none; }
  .index-btn { gap: 6px; padding: 8px 10px; }
  .index-label { display: none; }
  .bar-cta { padding: 9px 12px; }
  .bar-end { gap: 6px; }
  .bar-sound { width: 44px; height: 44px; }

  .poster { padding-block: calc(var(--bar) + 20px) 24px; }
  .poster { --gf: clamp(46px, 13.2vw, 72px); }
  .giant { font-size: var(--gf); }
  .giant-s { font-size: clamp(42px, 11.4vw, 62px); }
  .ticket { margin-bottom: 12px; font-size: 14px; padding: 8px 15px; }
  .grid, .grid.flip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "pic" "body"; row-gap: 12px; }
  .grid.split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
  /* the sticker rides up beside a short last line; under a long one it stays clear of the letters */
  .g-pic { justify-items: end; margin-top: calc(var(--gf) * -1); }
  #p03 .g-pic, #p10 .g-pic, #p13 .g-pic, #p14 .g-pic { margin-top: calc(var(--gf) * -.12); }
  .g-pic .sticker { width: min(44vw, 190px, 26vh); }
  .g-pic .stamp, .grid.flip .g-pic .stamp { right: auto; left: 0; top: auto; bottom: 0; width: 78px; font-size: 11.5px; padding: 9px; }
  .g-body { gap: 12px; }
  .print { padding: 14px 14px 12px; }
  .lede { font-size: 16.5px; }

  .p-hero .poster-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "giant" "hog" "body"; row-gap: 0; }
  .p-hero { --hf: clamp(50px, 14.6vw, 80px); }
  .p-hero .giant { font-size: var(--hf); }
  .hero-hog { justify-self: end; width: min(56vw, 240px, 32vh); margin: calc(var(--hf) * -1.1) -6px 6px 0; }
  .hero-body { gap: 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; width: min(100%, 340px); }
  /* in the hedgehog's row, to its left: clear of the type and the lede */
  .hero-stamp { grid-area: hog; left: 0; right: auto; top: auto; bottom: 12%; width: 88px; font-size: 12px; }
  .hero-ticket { top: -10px; font-size: 13px; }
  .hero-tape { display: none; }

  .ledger { gap: 10px; }
  .lg-app { font-size: 15.5px; }
  .lg li { font-size: 13.5px; gap: 5px; hyphens: auto; }
  .lg li::before { width: 15px; height: 15px; }
  .vk-item { font-size: 18px; }

  .sentence { font-size: clamp(32px, 9.2vw, 44px); }
  .conds button { padding: 9px 13px; font-size: 15px; }
  .rules-hog { position: relative; right: auto; bottom: auto; width: 120px; margin-top: 14px; align-self: center; }

  #p06 .g-pic { margin-top: calc(var(--gf) * -1.1); }
  #p06 .g-pic .sticker { width: min(30vw, 120px); }
  .pack { min-height: 42px; padding: 8px 10px; font-size: 14.5px; gap: 8px; }
  .packs { gap: 8px; }
  .try { gap: 6px; }
  .try button { padding: 7px 9px; font-size: 13.5px; min-height: 44px; }
  .toast { font-size: 16px; padding: 10px 14px; }

  .g-limit { padding: 0 10px 10px 0; justify-items: center; margin-top: 4px; }
  .v-shield { padding: 20px 18px 16px; }
  .vs-emblem { width: 96px; height: 96px; margin-bottom: 8px; }
  .vs-emblem img { width: 80px; height: 80px; }
  .vs-min b { font-size: 28px; }
  .vs-ask, .vs-run { margin-top: 12px; min-height: 46px; padding: 12px; }

  .p-night .g-pic { margin-right: 0; margin-top: calc(var(--gf) * -1.4); }
  .moon-dots { right: 6%; top: 11%; width: 96px; }
  .zz { left: 70%; top: 2%; }

  .curl-pics { width: min(44vw, 190px); }

  .blind li { font-size: clamp(19px, 5.4vw, 24px); padding: 8px 13px; }
  .blind li:nth-child(2) { margin-left: .6em; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps h3 { font-size: 16px; gap: 8px; }
  .steps h3 b { width: 28px; height: 28px; font-size: 15px; }
  .step-card { min-height: 0; padding: 12px 14px; box-shadow: 4px 4px 0 var(--ink); }
  .sheet { padding: 8px 12px; gap: 6px; }
  .sheet .i { display: none; }
  .code span { width: 28px; height: 36px; font-size: 19px; }
  .sv-guess { gap: 4px; }

  .chart tbody th { font-size: 15px; }
  .chart td { width: 62px; }
  .chart th, .chart td { padding: 9px 0; }

  .ticks li { font-size: 19px; }
  .qa summary { padding: 12px 46px 12px 14px; font-size: 16.5px; }
  .qa { gap: 8px; }

  .p-get { --gh: min(40vh, 280px); padding-bottom: calc(var(--gh) * .62); }
  .get-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .get-hog { right: 4%; }
}
/* the narrowest phones: the bar's four pieces still fit inside the gutters */
@media (max-width: 359px) {
  .bar { gap: 6px; }
  .bar-logo img { width: 66px; }
  .bar-sound { width: 40px; height: 44px; }
}
/* ---------- tablets in portrait: after the phone block, so these win ---------- */
@media (min-width: 700px) and (max-width: 859px) {
  .poster { --gf: clamp(64px, 13vw, 110px); }
  .p-hero { --hf: clamp(80px, 15vw, 124px); }
  .giant-s { font-size: clamp(56px, 11vw, 92px); }
  .g-pic .sticker { width: min(46vw, 340px, 28vh); }
  .hero-hog { width: min(52vw, 400px, 34vh); margin-top: calc(var(--hf) * -.85); }
  .lede { font-size: 19px; max-width: 560px; }
  .print, .packs, .qa, .chart, .ledger, .steps { max-width: 600px; }
  .sentence { font-size: clamp(44px, 7.4vw, 60px); }
  .rules-hog { width: 160px; }
  .curl-pics { width: min(42vw, 320px, 28vh); }
  #p06 .g-pic .sticker { width: 190px; }
  .p-get { --gh: min(36vh, 420px); }
}
@media (max-width: 859px) { .more { margin-top: 6px; } .more a { padding: 12px 0; margin: -5px 0; } }
@media (max-width: 859px) and (max-height: 740px) {
  .p-hero { padding-top: calc(var(--bar) + 8px); }
  .giant .giant-key { margin-bottom: .4em; font-size: 15px; }
  .hero-hog { width: min(56vw, 240px, 29vh); }
  .hero-body { gap: 9px; }
  .hero-cta { gap: 10px; }
}
/* short phones: the hero keeps its one-screen promise */
@media (max-width: 859px) and (max-height: 620px) {
  .p-hero { --hf: clamp(42px, 12.4vw, 60px); }
  .p-hero { padding-top: calc(var(--bar) + 10px); }
  .hero-hog { width: min(46vw, 190px, 26vh); }
  .hero-stamp { display: none; }
  .hero-cta { gap: 10px; }
  .chunk { min-height: 44px; padding: 10px 16px; }
}

/* phones on their side: the hero goes back to two columns so it still fits */
@media (orientation: landscape) and (max-width: 959px) and (max-height: 500px) {
  .p-hero { --hf: min(8vw, 13.5vh); padding-block: calc(var(--bar) + 8px) 14px; }
  .p-hero .poster-in { grid-template-columns: minmax(0, 1fr) minmax(0, .46fr); grid-template-areas: "giant hog" "body hog"; column-gap: 20px; row-gap: 10px; }
  .p-hero .giant { font-size: var(--hf); }
  .hero-hog { width: min(30vw, 66vh); margin: 0; align-self: center; }
  .hero-body { gap: 8px; }
  .hero-body .lede { font-size: 15px; max-width: 520px; }
  .hero-cta { flex-direction: row; width: auto; gap: 10px; }
  .hero-cta .chunk { min-height: 42px; padding: 9px 14px; }
  .hero-stamp, .hero-tape, .g-pic .stamp { display: none; }
  .hero-ticket { top: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}
