/* =======================================================================
 * The world look (2026-11-06): the website as part of the game.
 *
 * Approved on the style tile (/style/, pages/20-style-tile.mjs) and rolled out here as a layer loaded after
 * styles.css, grown-up.css and season.css. The game's cream and brown by day, the site's navy by night (the
 * night tokens are grown-up.css's own dark ones, which win over the day ones below by being more specific).
 *
 *   - One painted area per page: the sky kit and the website meadow at the top. Everything else sits on paper.
 *   - Cream chrome: plain cards, one soft shadow, one radius family, no outlines, no stars, no sparkles.
 *   - One blue button per view (#1763d6, white words); everything else is the quiet cream button.
 *   - Fredoka for titles, buttons and chips. Nunito for every sentence.
 *   - Motion lives in the buddy and the sky: clouds drift, buddies breathe and hop. Chrome stays still.
 *     Everything stands still under reduced motion.
 * ======================================================================= */

:root {
  --paper: #f6efe2;
  --card: #fdf8ef;
  --sunk: #f1e5d3;
  --wash: #f1e5d3;
  --sky: #f6efe2;
  --ink: #33190f;
  --ink-soft: #6b4a37;
  --ink-faint: #7d6049;
  --rule: #ebdcc6;
  --rule-sky: #ebdcc6;
  --shadow: 0 6px 14px rgba(90, 58, 26, .18);
  --shadow-soft: 0 2px 10px rgba(90, 58, 26, .1);
  --brand: #1763d6;
  --brand-deep: #1763d6;
  --brand-hover: #3d84ee;
  --link: #1763d6;
  --link-deep: #0e4fb2;
  --display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --headline: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --quiet: var(--card);
  --quiet-ink: var(--ink);
  --quiet-hover: #fffdf8;
}
:root[data-theme='dark'] { --quiet: #2a4466; --quiet-ink: #eef4fb; --quiet-hover: #335178; --brand-hover: #3d84ee; --link: #8fbaff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) { --quiet: #2a4466; --quiet-ink: #eef4fb; --quiet-hover: #335178; --brand-hover: #3d84ee; --link: #8fbaff; }
}

body { font: 600 1.0625rem/1.6 var(--body); color: var(--ink); background: var(--paper); transition: background-color .6s ease, color .6s ease; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.lede { color: var(--ink-soft); }

/* --- Buttons: one blue, the rest quiet. They press down under the pointer. --- */
.btn {
  background: var(--brand); color: #fff; border-radius: 999px; box-shadow: 0 6px 14px rgba(23, 99, 214, .28);
  font: 700 1.05rem/1.1 var(--display);
  transition: transform .16s var(--ease), background-color .16s ease;
}
.btn:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .06s; }
.btn--cream { background: var(--quiet); color: var(--quiet-ink); box-shadow: var(--shadow); }
.btn--cream:hover { background: var(--quiet-hover); color: var(--quiet-ink); }
.btn--small { min-height: 46px; font-size: 1rem; }

/* --- Cards and chips --- */
.card { border: 0; background: var(--card); box-shadow: var(--shadow); border-radius: var(--r-sheet); }
.chip { background: var(--card); color: var(--ink-soft); box-shadow: var(--shadow-soft); }
.page .chip--sunk { display: inline-block; background: var(--sunk); color: var(--ink-soft); box-shadow: none; }
.band--sunk { background: var(--sunk); }
.band--paper { background: var(--paper); }

/* Screenshots sit in a plain cream frame, never a device outline. */
.device, .device--window, .device--tablet, .device--phone { background: var(--card); padding: 10px; border-radius: var(--r-card); box-shadow: var(--shadow); }
.device::before, .device--window::before { content: none; display: none; }
.device img, .device--window img { border-radius: calc(var(--r-card) - 10px); aspect-ratio: auto; }

/* --- The note above the bar: a quiet line, not a colored strip. --- */
.notice { background: var(--sunk); color: var(--ink-soft); border-bottom: 0; }
.notice__in p { font: 600 .9rem/1.4 var(--body); }
.notice a { color: var(--ink); }

/* --- The bar: a cream pill floating over the page, the pages named in it on a computer. --- */
.bar { background: none; border: 0; padding: 12px clamp(10px, 2vw, 24px); pointer-events: none; }
.bar__pill { pointer-events: auto; max-width: 1180px; min-height: 64px; padding: 8px 10px 8px 16px; gap: 14px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); transition: background-color .6s ease; }
.bar__home { display: flex; align-items: center; gap: 8px; margin-right: 0; font: 700 1.25rem/1 var(--display); color: var(--ink); text-decoration: none; }
.bar__home img.bar__round { width: 36px; height: 36px; }
.bar__brand { margin-right: auto; display: flex; align-items: center; gap: 18px; }
.bar__links { display: none; gap: 2px; }
.bar__link { padding: .5em .9em; border-radius: 999px; font: 700 1rem/1.2 var(--display); color: var(--ink-soft); text-decoration: none; box-shadow: none; }
.bar__link:hover { background: var(--sunk); color: var(--ink); }
.bar__link[aria-current] { background: var(--sunk); color: var(--ink); box-shadow: none; border-radius: 999px; font-weight: 700; }
.bar__go { gap: 10px; margin-right: 0; }
.bar__signin { font: 700 1rem/1.2 var(--display); color: var(--ink-soft); text-decoration: none; padding: .5em .7em; border-radius: 999px; }
.bar__signin:hover { background: var(--sunk); color: var(--ink); }
.bar__menu { background: var(--sunk); border-radius: 50%; }
.theme { display: flex; gap: 2px; padding: 3px; background: var(--sunk); border-radius: 999px; }
.theme button { border: 0; background: none; padding: 7px 13px; border-radius: 999px; font: 700 .92rem/1 var(--display); color: var(--ink-soft); cursor: pointer; }
.theme button[aria-pressed='true'] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-soft); }
@media (min-width: 1100px) {
  .bar__links { display: flex; }
  .bar .bar__menu { display: none; }
}
@media (max-width: 1099px) { .bar__go .theme, .bar__go .bar__signin { display: none; } }
.menu .menu__link[aria-current] { background: var(--sunk); color: var(--ink); }
.theme--menu { justify-self: center; margin-top: 6px; }
.theme--menu button { padding: 10px 22px; font-size: 1rem; }

/* --- The sky: the shared sky kit and the website meadow, with day and night. --- */
.sky-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky-scene__wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s ease; }
.sky-scene__wash--night { opacity: 0; }
.sky-scene__sun, .sky-scene__moon { position: absolute; height: auto; transition: opacity .9s ease, transform 1.2s var(--ease); }
.sky-scene__sun { left: 6%; top: 9%; width: clamp(80px, 8vw, 140px); }
/* The sun rocks its rays and breathes (2026-11-09, the owner: "make the sun move/ animated"). Its own rotate and scale,
   so the day/night slide on transform still works; a gentle rock rather than a spin keeps its shine on top. */
.sky-scene__sun { animation: sun-rock 7s ease-in-out infinite alternate, sun-breathe 3.2s ease-in-out infinite alternate; }
@keyframes sun-rock { from { rotate: -9deg; } to { rotate: 9deg; } }
@keyframes sun-breathe { from { scale: 1; } to { scale: 1.07; } }
@media (prefers-reduced-motion: reduce) { .sky-scene__sun { animation: none; } }
.sky-scene__moon { right: 9%; top: 10%; width: clamp(60px, 6vw, 104px); opacity: 0; transform: translateY(-50px); }
.sky-scene__land { position: absolute; left: 50%; bottom: -4%; width: max(100%, 1180px); max-width: none; height: auto; transform: translateX(-50%); }
.sky-scene__cloud { position: absolute; width: auto; max-width: none; height: auto; opacity: .95; transition: opacity .9s ease; }
.sky-scene__cloud--1 { top: 14%; width: clamp(140px, 17vw, 290px); animation: sky-drift 120s linear infinite; }
.sky-scene__cloud--2 { top: 28%; width: clamp(100px, 11vw, 210px); animation: sky-drift 150s linear infinite; animation-delay: -70s; }
@keyframes sky-drift { from { left: -24%; } to { left: 104%; } }
:root[data-theme='dark'] .sky-scene__wash--day, :root[data-theme='dark'] .sky-scene__sun { opacity: 0; }
:root[data-theme='dark'] .sky-scene__sun { transform: translateY(70px); }
:root[data-theme='dark'] .sky-scene__wash--night, :root[data-theme='dark'] .sky-scene__moon { opacity: 1; transform: none; }
:root[data-theme='dark'] .sky-scene__cloud { opacity: .8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .sky-scene__wash--day, :root:not([data-theme='light']) .sky-scene__sun { opacity: 0; }
  :root:not([data-theme='light']) .sky-scene__sun { transform: translateY(70px); }
  :root:not([data-theme='light']) .sky-scene__wash--night, :root:not([data-theme='light']) .sky-scene__moon { opacity: 1; transform: none; }
  :root:not([data-theme='light']) .sky-scene__cloud { opacity: .8; }
}

/* --- The top of every page: a cream card on the sky, the page's buddy beside it. --- */
.world-top { position: relative; isolation: isolate; overflow: hidden; padding: clamp(118px, 12vw, 150px) 0 clamp(64px, 8vw, 104px); }
.world-top--plain { padding-bottom: 40px; background: var(--sunk); }
.world-top__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.world-top--plain .world-top__grid { grid-template-columns: 1fr; }
.world-top__panel { max-width: 620px; padding: clamp(26px, 3.4vw, 42px); }
.world-top__panel h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px; }
.world-top--home .world-top__panel h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.world-top__panel .lede { margin: 0; }
.world-top__panel .cta-row { margin-top: 24px; gap: 10px; }
.world-top__panel .btn { padding-inline: 1.2em; white-space: nowrap; }
.world-top__assure { margin: 16px 0 0; font-size: .98rem; color: var(--ink-soft); }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.trust li { padding: .35em .9em; background: var(--sunk); border-radius: 999px; font: 700 .85rem/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.world-top__stage { position: relative; min-height: 440px; display: grid; align-items: end; justify-items: start; }
.world-top__stage--alone { justify-items: center; min-height: 360px; }
.world-top__frame { position: relative; z-index: 1; width: min(65%, 440px); margin: 0 0 66px; transform: rotate(-2deg); background: var(--card); border-radius: var(--r-card); padding: 10px; box-shadow: var(--shadow); }
.world-top__frame img { width: 100%; height: auto; border-radius: calc(var(--r-card) - 10px); }
/* A second, smaller screen in front of the first (Schools: a game beside the class dashboard). */
.world-top__frame--small { position: absolute; z-index: 2; left: -6%; bottom: 18px; width: min(38%, 250px); margin: 0; padding: 7px; transform: rotate(3deg); }
.world-top__frame--small img { border-radius: calc(var(--r-card) - 12px); }
@media (max-width: 860px) { .world-top__frame--small { display: none; } }   /* too narrow for two screens: the dashboard alone */
.world-top__buddy { position: absolute; z-index: 2; right: -4%; bottom: -12px; width: min(300px, 46%); cursor: pointer; }
.world-top__stage--alone .world-top__buddy { position: relative; right: auto; bottom: -12px; width: min(320px, 80%); }
.world-top__bubble { position: absolute; z-index: 3; right: -9%; bottom: 182px; max-width: 240px; margin: 0; padding: 12px 18px; background: var(--card); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow); font: 800 1.05rem/1.3 var(--body); text-align: left; transition: opacity .18s ease, transform .18s var(--ease); }
.world-top__bubble::after { content: none; display: none; }
.world-top__bubble.is-swap { opacity: 0; transform: translateY(6px); }
.world-top__stage--alone .world-top__bubble { right: auto; left: 50%; bottom: auto; top: 0; transform: translateX(-10%); }
.breathe { animation: breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.03); } }
.is-hop { animation: buddy-hop .55s var(--ease); }
@keyframes buddy-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-26px) scale(1.02, .98); } 70% { transform: translateY(0) scale(.98, 1.03); } 100% { transform: none; } }

/* --- Sections ease in as they come into view, once. --- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- Shared section parts --- */
.sec { padding: clamp(48px, 6vw, 84px) 0; }
.sec--sunk { background: var(--sunk); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sec__head h2 { margin: 0 0 6px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sec__head .lede { margin: 0; }

.places { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.places button { border: 0; padding: .55em 1.1em; border-radius: 999px; background: var(--card); color: var(--ink-soft); box-shadow: var(--shadow-soft); font: 700 1rem/1.2 var(--display); cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s var(--ease); }
.places button:hover { transform: translateY(-1px); color: var(--ink); }
.places button[aria-selected='true'] { background: var(--brand); color: #fff; box-shadow: none; }
.games-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.games-row[hidden] { display: none; }
.gcard { display: block; background: var(--card); border-radius: var(--r-card); padding: 10px 10px 14px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .18s var(--ease); }
.gcard:hover { transform: translateY(-4px); }
.gcard img { width: 100%; height: auto; border-radius: calc(var(--r-card) - 10px); aspect-ratio: 1; object-fit: contain; background: var(--sunk); padding: 8px; }
.gcard b { display: block; margin: 10px 4px 2px; font: 700 1.05rem/1.2 var(--display); }
.gcard span { display: block; margin: 0 4px; font-size: .92rem; color: var(--ink-soft); line-height: 1.4; }

/* Reason cards: rows that centre themselves, so a short last row sits in the middle, not on the left. */
.helps { --g: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.helps > * { flex: 0 0 calc((100% - 2 * var(--g)) / 3); min-width: 0; }
@media (max-width: 980px) { .helps > * { flex-basis: calc((100% - var(--g)) / 2); } }
@media (max-width: 640px) { .helps > * { flex-basis: 100%; } }
.band .cta-row--mid + .note.mid { text-align: center; }

.helps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.help4 { padding: 24px; display: grid; align-content: start; gap: 8px; }
.help4 img { width: 64px; height: 64px; margin-bottom: 4px; transition: transform .2s var(--ease); }
.help4:hover img { transform: translateY(-3px) rotate(-3deg); }
.help4 h3 { margin: 0; font-size: 1.2rem; }
.help4 p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.ask__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.ask__card { padding: 24px 26px 26px; display: grid; gap: 10px; text-decoration: none; color: inherit; transition: transform .18s var(--ease); }
.ask__card:hover { transform: translateY(-4px); }
.ask__card img { width: 72px; height: 72px; transition: transform .18s var(--ease); }
.ask__card:hover img { transform: translateY(-3px); }
.ask__who { font: 700 .8rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ask__card h3 { margin: 0; font-size: 1.35rem; }
.ask__card p { margin: 0; color: var(--ink-soft); }
.arrow-t { margin-top: 6px; font: 700 1.02rem/1.2 var(--display); color: var(--link); }

/* --- The closing band: plain, the three starter buddies asleep under it. Tap one and it wakes up. --- */
.call { background: var(--sunk); color: var(--ink); padding: clamp(48px, 6vw, 80px) 0 0; overflow: hidden; }
.call__panel { max-width: 640px; margin-inline: auto; text-align: center; padding: clamp(28px, 3.5vw, 44px); background: var(--card); border-radius: var(--r-sheet); box-shadow: var(--shadow); }
.call h2 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3rem); }
.call .lede, .call p { color: var(--ink-soft); }
/* The older look laid this card out in two columns with the buttons on the left; here it is one centred column. */
.call__panel { display: block; }
.call .cta-row--mid { justify-content: center; }
.call .btn:not(.btn--cream) { background: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(23, 99, 214, .28); }
.call .btn:not(.btn--cream):hover { background: var(--brand-hover); }
.call .btn--cream { background: var(--quiet); color: var(--quiet-ink); box-shadow: var(--shadow); }
.call .btn--cream:hover { background: var(--quiet-hover); color: var(--quiet-ink); }
.call__buddies { display: none; }
.call__sleepers { display: flex; align-items: flex-end; justify-content: center; gap: 4vw; width: min(680px, 90%); margin: 28px auto 0; }
.call__sleepers img { width: clamp(90px, 14vw, 160px); height: auto; display: block; cursor: pointer; transition: transform .2s var(--ease); }
.call__sleepers img.is-awake { transform: translateY(-6px); }
.call .stroll { display: none; }

/* --- The footer: paper by day, navy by night; the right lockup for each. --- */
.foot { background: var(--paper); color: var(--ink); border-top: 1px solid var(--rule); }
.foot__brand p { color: var(--ink-soft); }
.foot__col h2 { color: var(--ink); }
.foot__col a, .foot__out { color: var(--ink-soft); font-weight: 600; }
.foot__col a:hover, .foot__out:hover { color: var(--ink); }
.foot__small { border-top-color: var(--rule); color: var(--ink-faint); }
.foot__small a { color: var(--ink-soft); font-weight: 600; }
.foot__theme legend, .foot__theme span { color: var(--ink-soft); }
.foot .foot__mark--white { display: none; }
.foot .foot__mark--navy { display: block; }
:root[data-theme='dark'] .foot .foot__mark--white { display: block; }
:root[data-theme='dark'] .foot .foot__mark--navy { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .foot .foot__mark--white { display: block; }
  :root:not([data-theme='light']) .foot .foot__mark--navy { display: none; }
}

@media (max-width: 960px) {
  .helps4 { grid-template-columns: repeat(2, 1fr); }
  .games-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .world-top__grid { grid-template-columns: 1fr; }
  .world-top__stage { min-height: 360px; justify-items: center; }
  .world-top__frame { width: min(100%, 420px); margin-bottom: 120px; }
  .world-top__buddy { width: 210px; right: 0; }
  .world-top__bubble { display: none; }   /* no room beside the buddy: it would sit on the game screen */
  .ask__grid { grid-template-columns: 1fr; }
  .sec__head { flex-direction: column; align-items: stretch; }
}
@media (max-width: 520px) {
  .helps4 { grid-template-columns: 1fr; }
  .world-top__panel .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sky-scene__cloud { animation: none; left: 14%; }
  .sky-scene__cloud--2 { left: 62%; }
  .breathe, .is-hop { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .call__sleepers img.is-awake { transform: none; }
}


/* The FAQ: an open question or a hovered one in the quiet sunk cream, not the old pale blue. */
.q[open] summary, .q summary:hover { background: var(--sunk); }
.more-news { display: none; }

/* =======================================================================
 * Phones (2026-11-06: "most of my users or customers are on their phones").
 *
 * A phone shows one thing at a time, so everything here makes a section shorter without dropping anything:
 * page tops fit in about one screen, long lists of games swipe sideways instead of stacking, cards put their
 * picture beside the words, and the gaps between sections shrink.
 * ======================================================================= */
@media (max-width: 640px) {
  /* Page tops: the card, then a short strip of sky with the screen and the buddy side by side. */
  .world-top { padding: 92px 0 0; }
  .world-top--plain { padding-bottom: 24px; }
  .world-top__grid { gap: 0; }
  .world-top__panel { padding: 22px 20px; border-radius: 22px; }
  .world-top__panel h1, .world-top--home .world-top__panel h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); margin-bottom: 10px; }
  .world-top__panel .lede { font-size: 1.02rem; line-height: 1.5; }
  .world-top__panel .cta-row { margin-top: 18px; gap: 8px; }
  .world-top__panel .btn { min-height: 50px; }
  .trust { margin-top: 14px; gap: 6px; }
  .trust li { font-size: .74rem; padding: .3em .7em; }
  .world-top__assure { font-size: .9rem; margin-top: 12px; }
  .world-top__stage { min-height: 0; height: 230px; justify-items: start; align-items: end; margin-top: 18px; }
  .world-top__frame { width: 74%; margin: 0 0 54px; padding: 6px; border-radius: 16px; }
  .world-top__frame img { border-radius: 11px; }
  .world-top__buddy { width: 132px; right: -2%; bottom: -6px; }
  .world-top__stage--alone { height: 170px; justify-items: end; }
  .world-top__stage--alone .world-top__buddy { position: absolute; right: 2%; bottom: -6px; width: 140px; }
  .sky-scene__sun { width: 64px; top: 72px; }
  .sky-scene__moon { width: 54px; top: 76px; }
  .sky-scene__land { bottom: -2%; width: 900px; }

  /* Sections: tighter, and the headings a size down. */
  .sec, .band { padding: 36px 0; }
  .sec__head { margin-bottom: 16px; gap: 10px; }
  .sec__head h2, .title, .title--left { font-size: clamp(1.6rem, 7vw, 2rem); }
  .sec__head .btn { align-self: flex-start; min-height: 42px; font-size: .95rem; padding-inline: 1em; }

  /* The place buttons: one row that swipes, not two that wrap. */
  .places { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .places::-webkit-scrollbar { display: none; }
  .places button { flex: none; }

  /* Rows of games swipe sideways, a card and a bit of the next one on screen at once. */
  .games-row, .games { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .games-row[hidden] { display: none; }
  .games-row::-webkit-scrollbar, .games::-webkit-scrollbar { display: none; }
  .games-row > .gcard, .games > .game { flex: 0 0 62%; scroll-snap-align: start; }
  .gcard span, .game__blurb { font-size: .88rem; }
  .game { padding: 12px 12px 14px; }
  .place { margin-bottom: 28px; }
  .place__head { margin-bottom: .6rem; }

  /* Cards with a picture: the picture beside the words. */
  .helps4 { gap: 12px; }
  .help4 { grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px 18px; align-items: start; }
  .help4 img { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
  .help4 h3 { font-size: 1.08rem; align-self: end; }
  .help4 p { font-size: .95rem; }
  .ask__grid { gap: 12px; margin-top: 16px; }
  .ask__card { grid-template-columns: 56px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px 18px; }
  .ask__card img { grid-row: span 4; width: 56px; height: 56px; align-self: start; }
  .ask__card h3 { font-size: 1.12rem; }
  .ask__card p { font-size: .95rem; }
  .helps { --g: 12px; margin-top: 1.2rem; }
  .help { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 16px 18px; }
  .help img { grid-row: span 2; width: 64px; height: 64px; margin: 0; }
  .help h3 { font-size: 1.12rem; margin: 0 0 4px; }

  /* Numbered steps: the number beside the words, not above them. */
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; padding: 14px 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }


  /* The season band: a smaller picture beside the heading. */
  .season-band__art { max-width: 120px; }

  /* The closing band and footer. */
  .call { padding-top: 36px; }
  .call__panel { padding: 24px 20px; }
  .call h2 { font-size: 1.8rem; }
  .call__sleepers { gap: 2vw; margin-top: 18px; }
  .call__sleepers img { width: 92px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__col:last-child { grid-column: 1 / -1; }

  /* Buddies: the twelve cards swipe sideways; the faces above still jump to each one. */
  .buddies { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .buddies::-webkit-scrollbar { display: none; }
  .buddies > .buddy { flex: 0 0 86%; scroll-snap-align: start; scroll-margin-top: 0; }
  .faces { gap: 8px; }

  /* What's new: the newest four, the rest behind a button. */
  .news-list.is-short > li:nth-child(n+5) { display: none; }
  .more-news { display: flex; justify-content: center; margin-top: 18px; }

  /* The footer's last row: the name on its own line, the three links together, our social pages at the end. */
  .foot__small { gap: 10px 18px; align-items: center; }
  .foot__small > span:first-child { flex-basis: 100%; }
  .foot__small .foot__socials { margin-left: auto; }

  /* The cookie notice: a slim strip along the bottom, not a card over half the screen. */
  body .sb-cookies { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 18px 18px 0 0; border: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); font: 600 .9rem/1.45 var(--body); background: var(--card); color: var(--ink); }
  body .sb-cookies h2 { display: none; }
  body .sb-cookies p { margin: 0 0 10px; font-size: .88rem; color: var(--ink-soft); }
  body .sb-cookies__row { flex-wrap: nowrap; }
  body .sb-cookies button { flex: 1; min-height: 44px; padding: 0 12px; font: 700 .95rem/1 var(--display); }
}

/* ---- Home: the weekly worksheets (pages/01-home.mjs weeklySheets) — words beside four real sheets fanned out. ---- */
.wk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wk__new { display: inline-block; margin: 0 0 14px; padding: 10px 28px; border-radius: 999px; background: #1763d6; color: #fff; font: 700 1.6rem/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(23, 99, 214, .35); transform: rotate(-2deg); }
.wk__words h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.wk__words .lede { margin: 0 0 18px; }
.wk__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.wk__list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink-soft); font-size: 1.02rem; }
.wk__list li b { color: var(--ink); }
.wk__list svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #1763d6; color: #fff; margin-top: 1px; }
.wk__words .cta-row { gap: 10px; }
.wk__plan { margin: 14px 0 0; color: var(--ink-soft); font-size: .95rem; }
.wk__fan { position: relative; aspect-ratio: 10 / 7; }
.wk__sheet { position: absolute; top: 11%; width: 38%; margin: 0; border-radius: 8px; background: #fff; box-shadow: var(--shadow); overflow: hidden; transform-origin: 50% 100%; transition: transform .25s var(--ease, ease); }
.wk__sheet img { display: block; width: 100%; height: auto; aspect-ratio: 410 / 522; object-fit: cover; }
/* A hand of cards: four sheets side by side, each one showing, the outer two tipped out and dropped a little. */
.wk__sheet--1 { left: 0;     transform: rotate(-10deg) translateY(5%); z-index: 1; }
.wk__sheet--2 { left: 20.5%; transform: rotate(-3.5deg); z-index: 2; }
.wk__sheet--3 { left: 41.5%; transform: rotate(3.5deg); z-index: 3; }
.wk__sheet--4 { left: 62%;   transform: rotate(10deg) translateY(5%); z-index: 4; }
.wk__fan:hover .wk__sheet--1 { transform: rotate(-13deg) translate(-3%, 5%); }
.wk__fan:hover .wk__sheet--2 { transform: rotate(-5deg) translateX(-2%); }
.wk__fan:hover .wk__sheet--3 { transform: rotate(5deg) translateX(2%); }
.wk__fan:hover .wk__sheet--4 { transform: rotate(13deg) translate(3%, 5%); }
.wk__tag { position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotate(-2deg); z-index: 5; margin: 0; padding: 8px 20px; border-radius: 999px; background: var(--card); color: var(--link); box-shadow: var(--shadow); font: 700 1.15rem/1.2 var(--display); white-space: nowrap; }
@media (max-width: 860px) {
  .wk__grid { grid-template-columns: 1fr; }
  .wk__fan { order: -1; width: min(90%, 520px); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .wk__sheet { transition: none; } }
