/* StasHoo: "Storybook Sky" theme (chosen 21 Nov 2026).
   Loaded after site.css on every page: the palette, the fonts (English and
   Chinese), and the home-page sections (illustrated hero, Jar Day story,
   mosaic, missions). */

@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url('assets/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('assets/fonts/baloo-2-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 200 1000; font-display: swap; src: url('assets/fonts/nunito-latin-wght-normal.woff2') format('woff2'); }

:root {
  /* Palette: sky, ink-navy, coral (Hoo's satchel), sun (the card's coins), meadow */
  --paper: #F4FAFF; --surface: #FFFFFF; --mist: #EAF6EF;
  --ink: #17324A; --ink-soft: #4A6078; --ink-faint: #6E8296; --line: #D9E8F3;
  --accent: #2A7FA0; --accent-wash: #E2F2F8; --coral: #E8664F; --coral-deep: #C24F3A; --sun: #FFCC00; --meadow: #3A9D6E;
  --serif: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --sans: 'Nunito', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 32px; --radius-sm: 18px;
  --shadow: 0 10px 30px rgba(23, 50, 74, 0.08);
  --shadow-lift: 0 24px 60px rgba(23, 50, 74, 0.16);
}
body { font-weight: 600; }
.display, .title, .hero-title, .section-title { font-weight: 800; letter-spacing: -0.01em; line-height: 1.04; }
.display em, .title em, .highlight-underline { font-style: normal; color: var(--coral); }
.eyebrow { color: var(--coral-deep); font-weight: 800; letter-spacing: 0.06em; background: #FFE9E4; padding: 6px 14px; border-radius: 999px; justify-self: center; width: fit-content; }
h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.2; }
.lead { color: var(--ink-soft); }

.announce { background: var(--coral-deep); color: #fff; }
.header { background: rgba(244, 250, 255, 0.82); }
.btn { font-weight: 800; min-height: 56px; }
.btn-primary { background: var(--coral-deep); box-shadow: 0 5px 0 #9E3E2C; }
.btn-primary:hover { background: #B54734; box-shadow: 0 5px 0 #9E3E2C; }
.btn-ghost { background: #fff; border: 2px solid var(--line); }
.chip { border: 2px solid var(--line); font-weight: 700; }
.chip.active, .chips-quiet .chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.segmented { background: #fff; box-shadow: var(--shadow); }
.segmented button.active { background: var(--accent); color: #fff; }
.panel, .calc, .form, .plan, .callout, .frosted, .result { border: 0; box-shadow: var(--shadow); }
.section-mist { background: var(--mist); }

/* ---------- Reveal on scroll (staggered, 450ms, transform + opacity only) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); }
.rv { transition: opacity 450ms var(--ease), transform 450ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Headline words rise from behind their line (hero only) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.03em 0.1em; margin: 0 -0.03em -0.1em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 500ms var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.js .split.in .w > span { transform: none; }

/* ---------- Hero: the illustrated hill ---------- */
.hero-scene {
  position: relative; overflow: hidden; text-align: center;
  min-height: min(92vh, 900px); padding: clamp(56px, 8vh, 96px) 0 0;
  background: #CFE8F6 url('assets/art/hero-hill.webp') center bottom / cover no-repeat;
}
.hero-scene .container { position: relative; z-index: 2; display: grid; gap: var(--s3); justify-items: center; }
.hero-scene .display { max-width: 900px; font-size: clamp(40px, 5.4vw, 72px); }
.hero-scene .lead { max-width: 640px; color: var(--ink); background: rgba(255, 255, 255, 0.55); padding: 6px 14px; border-radius: 16px; }
.hero-scene .hero-actions { justify-content: center; }
.hero-scene .fine { max-width: 560px; color: var(--ink-soft); }
.cloud { position: absolute; z-index: 1; pointer-events: none; border-radius: 999px; background: #fff; opacity: 0.75; filter: blur(2px);
  box-shadow: 40px -18px 0 6px #fff, 90px 0 0 0 #fff, 20px 10px 0 4px #fff; will-change: transform; }
.cloud-1 { width: 120px; height: 46px; top: 16%; left: 6%; }
.cloud-2 { width: 90px; height: 34px; top: 9%; right: 12%; opacity: 0.6; }
.cloud-3 { width: 70px; height: 28px; top: 34%; right: 4%; opacity: 0.5; }
@keyframes drift { from { translate: 0 0; } to { translate: 40px 0; } }
.cloud { animation: drift 14s ease-in-out infinite alternate; }
.cloud-2 { animation-duration: 18s; } .cloud-3 { animation-duration: 22s; }

/* ---------- Jar Day story (the card plays by itself) ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story-copy { display: grid; gap: var(--s3); align-content: start; }
.story-copy .eyebrow { justify-self: start; }
.story .showcase { position: relative; }
.speech { position: relative; display: flex; gap: 14px; align-items: center; }
.speech img { width: 84px; flex: none; filter: drop-shadow(0 8px 12px rgba(23, 50, 74, 0.18)); }
.bubble {
  position: relative; background: #fff; border-radius: 22px; padding: 14px 18px; box-shadow: var(--shadow);
  font-weight: 700; color: var(--ink); min-height: 56px; display: flex; align-items: center;
}
.bubble::before { content: ''; position: absolute; left: -8px; top: 50%; width: 16px; height: 16px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.bubble-text { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.bubble-text.swap { opacity: 0; transform: translateY(6px); }
.story-steps { display: flex; gap: 8px; }
.story-steps i { width: 26px; height: 6px; border-radius: 99px; background: var(--line); transition: background-color 300ms var(--ease); }
.story-steps i.on { background: var(--coral); }
.story .points { border-top: 2px dashed var(--line); }
.replay { justify-self: start; }

/* ---------- Big soft numerals (how it works) ---------- */
.steps { gap: var(--s3); }
.step { border-top: 0; background: #fff; border-radius: var(--radius); padding: var(--s4) var(--s3) var(--s3); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step-n { font-family: var(--serif); font-weight: 800; font-size: 88px; line-height: 0.8; color: #DCEBF6; letter-spacing: -0.04em; margin-bottom: -6px; }
.step:nth-child(2) .step-n { color: #FFE1D9; } .step:nth-child(3) .step-n { color: #FFF0B8; } .step:nth-child(4) .step-n { color: #D7EFE2; }

/* ---------- Mosaic: what you get ---------- */
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-auto-rows: minmax(250px, auto); gap: var(--s3); }
.tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile p { color: var(--ink-soft); font-size: 16px; }
.tile-hoo { grid-row: span 2; background: linear-gradient(180deg, #D8EEFA 0%, #F4FAFF 70%); align-content: space-between; }
.tile-hoo h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.tile-hoo img { width: min(220px, 70%); justify-self: center; filter: drop-shadow(0 14px 20px rgba(23, 50, 74, 0.18)); }
.ring { position: relative; width: 120px; height: 120px; justify-self: center; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--line); stroke-width: 10; }
.ring .arc { fill: none; stroke: var(--coral); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1200ms var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 30px; color: var(--ink); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 14px; padding: 10px 12px; font-size: 15px;
  opacity: 0; transform: translateX(-12px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); transition-delay: calc(var(--i) * 160ms + 250ms); }
.in .ticks li, .no-js .ticks li { opacity: 1; transform: none; }
.ticks li b { margin-left: auto; font-weight: 800; color: var(--meadow); }
.ticks .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--meadow); color: #fff; display: grid; place-items: center; flex: none; }
.ticks .tick svg { width: 14px; height: 14px; stroke-width: 2.4; }
.tile .glyph { width: 56px; height: 56px; border-radius: 50%; }
.tile-gift .glyph { background: #FFF2BF; color: #8A6A00; }
.tile-private .glyph { background: var(--accent-wash); color: var(--accent); }

/* ---------- Money missions ---------- */
.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.mission { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; display: grid; align-content: start;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.mission:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.mission figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.mission img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.mission:hover img { transform: scale(1.05); }
.mission .body { padding: var(--s3); display: grid; gap: 8px; }
.mission .tag { font-size: 13px; font-weight: 800; color: var(--coral-deep); letter-spacing: 0.04em; text-transform: uppercase; }
.mission p { color: var(--ink-soft); font-size: 15px; }
.mission .refrain { color: var(--accent); font-weight: 800; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s4); font-weight: 800; color: var(--accent); text-decoration: none; }
.more-link .icon { transition: transform 200ms var(--ease); }
.more-link:hover .icon { transform: translateX(4px); }
.center { text-align: center; }

/* ---------- Waitlist: one frosted pill ---------- */
.pill-form { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; transition: box-shadow 200ms var(--ease), border-color 200ms var(--ease); }
.pill-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.pill-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; min-height: 48px; }
.pill-form .btn { width: auto; margin: 0; min-height: 48px; flex: none; position: relative; }
.pill-form.shake { animation: shake 360ms var(--ease); }
details.more { border-top: 2px dashed var(--line); padding-top: var(--s2); }
details.more summary { cursor: pointer; font-weight: 800; color: var(--accent); list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary .icon { transform: rotate(45deg); }
details.more summary .icon { transition: transform 200ms var(--ease); }
details.more .field + .field { margin-top: var(--s2); }

/* ---------- Video & callouts in B colours ---------- */
.video { background: linear-gradient(160deg, #2A7FA0, #17324A); }
.play { background: var(--coral); border: 0; }
.plan.now { box-shadow: 0 0 0 3px var(--coral), var(--shadow); }
.plan.now .plan-step { color: var(--coral-deep); }
.callout-dark { background: var(--accent); border-color: var(--accent); }
.callout-dark .eyebrow { color: var(--coral-deep); }
.callout-dark .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 5px 0 #CFE3EE; }
.footer { background: #fff; }

/* ---------- Phones ---------- */
@media (max-width: 920px) {
  .story { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .tile-hoo { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 760px) {
  .hero-scene { min-height: 0; padding-bottom: 0; background: #CFE8F6; }
  .hero-scene::after { content: ''; display: block; height: 62vw; margin-top: var(--s3);
    background: url('assets/art/hero-hill-phone.webp') center 100% / cover no-repeat; }
  .missions { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .mission { scroll-snap-align: start; }
  .mosaic { grid-template-columns: 1fr; }
  .tile-hoo { grid-column: auto; }
  .step-n { font-size: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .split .w > span, .ticks li { opacity: 1 !important; transform: none !important; }
  .cloud { animation: none !important; }
}
.soon > * { min-width: 0; }
@media (max-width: 560px) {
  .pill-form { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; }
  .pill-form input { padding: 0 12px; }
  .pill-form .btn { width: 100%; }
}

/* Hero: sky colour above, the painted hill fitted to the width along the bottom */
.hero-scene {
  min-height: 0;
  padding: clamp(56px, 7vw, 96px) 0 calc(50vw * 0.62);
  background: linear-gradient(180deg, #AACFE0 0%, #AACFE0 calc(100% - 50vw), rgba(170, 207, 224, 0) calc(100% - 42vw)),
              url('assets/art/hero-hill.webp') center bottom / 100% auto no-repeat, #AACFE0;
}
.hero-scene .display { font-size: clamp(40px, 5vw, 66px); max-width: 1000px; }
.hero-scene .lead { background: none; padding: 0; text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9); }
.hero-scene .fine { color: var(--ink); text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9); }
@media (max-width: 760px) {
  .hero-scene { padding-bottom: 0; background: linear-gradient(180deg, #A8CBDD, #CFE5F1); }
}
.form form { grid-template-columns: minmax(0, 1fr); }
.form-head .eyebrow { justify-self: start; }
.ring b { display: flex; align-items: center; justify-content: center; gap: 1px; }
.story-copy .title em { white-space: nowrap; }

/* Missions on phones: dots + swipe hint (hidden on wider screens) */
.mission-dots { display: none; }
@media (max-width: 760px) {
  .mission-dots { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--s2); }
  .mission-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; position: relative; transition: width 250ms var(--ease), background-color 250ms var(--ease); }
  .mission-dots button::before { content: ''; position: absolute; inset: -12px; } /* 34px tap target */
  .mission-dots button.on { width: 26px; background: var(--coral); }
  .swipe-hint { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 13px; font-weight: 800; color: var(--ink-faint); }
  .swipe-hint .icon { width: 16px; height: 16px; }
  .missions { scrollbar-width: none; }
  .missions::-webkit-scrollbar { display: none; }
}

/* Hero on phones: the hill fades in behind the second half of the text, so it never sits there as a separate picture */
@media (max-width: 760px) {
  .hero-scene { padding-bottom: 62vw; background:
      linear-gradient(180deg, #A9CDDE 0%, #AACFE0 calc(100% - 100vw), rgba(170, 207, 224, 0) calc(100% - 62vw)),
      url('assets/art/hero-hill-phone.webp') center 100% / 100% auto no-repeat, #AACFE0; }
  .hero-scene::after { display: none; }
}
@media (max-width: 760px) {
  .hero-scene { padding-bottom: 76vw; background:
      linear-gradient(180deg, #A9CDDE 0%, #AACFE0 calc(100% - 130vw), rgba(170, 207, 224, 0.55) calc(100% - 104vw), rgba(170, 207, 224, 0) calc(100% - 80vw)),
      url('assets/art/hero-hill-phone.webp') center 100% / 100% auto no-repeat, #AACFE0; }
  .hero-scene .fine { display: none; }
  .hero-scene .lead { text-shadow: 0 0 2px rgba(255, 255, 255, 0.9), 0 1px 14px rgba(255, 255, 255, 1); }
}

/* Chinese: ZCOOL KuaiLe for headlines (playful, rounded), Noto Sans SC for text.
   Both are hosted with the site and split into small pieces, so a page only
   downloads the characters it uses. KuaiLe has one weight, so headlines are not
   made artificially bold. */
html[lang="zh"] { --serif: 'Baloo 2', 'ZCOOL KuaiLe', 'Noto Sans SC Variable', sans-serif; --sans: 'Nunito', 'Noto Sans SC Variable', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[lang="zh"] body { font-weight: 400; }
html[lang="zh"] .display, html[lang="zh"] .title, html[lang="zh"] .hero-title, html[lang="zh"] .section-title,
html[lang="zh"] h3, html[lang="zh"] main h2 { font-weight: 400; letter-spacing: 0.02em; }
html[lang="zh"] strong, html[lang="zh"] b, html[lang="zh"] .btn, html[lang="zh"] .eyebrow { font-weight: 700; }
.tile-wide { grid-column: span 2; }
@media (max-width: 920px) { .tile-wide { grid-column: span 2; } }
@media (max-width: 760px) { .tile-wide { grid-column: auto; } }

/* ======================================================================
   Why start young (short, visual version, 21 Nov 2026)
   ====================================================================== */
.why-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
  background: linear-gradient(180deg, #A9CDDE 0%, #D6EAF5 100%); }
.why-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 0.6fr; gap: var(--s5); align-items: center; }
.why-hero-copy { display: grid; gap: var(--s3); }
.why-hero-copy .eyebrow { justify-self: start; }
.why-hero .display { font-size: clamp(40px, 5.2vw, 68px); }
.why-hoo { width: min(260px, 100%); justify-self: center; filter: drop-shadow(0 18px 24px rgba(23, 50, 74, 0.2)); }

.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s3); align-items: center; max-width: 900px; margin: 0 auto; }
.vs { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); display: grid; gap: 10px; }
.vs p { font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2vw, 24px); line-height: 1.3; color: var(--ink); }
.vs-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.vs-bad .vs-tag { color: var(--ink-faint); }
.vs-bad p { color: var(--ink-soft); }
.vs-good { box-shadow: 0 0 0 3px var(--meadow), var(--shadow); }
.vs-good .vs-tag { color: var(--meadow); }
.vs-mid { font-family: var(--serif); font-weight: 800; font-size: 28px; color: var(--coral); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.fact { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); display: grid; gap: 8px; align-content: start; }
.fact-big { font-family: var(--serif); font-weight: 800; font-size: clamp(64px, 7vw, 92px); line-height: 0.9; color: var(--accent); }
.fact:nth-child(2) .fact-big { color: var(--coral); }
.fact:nth-child(3) .fact-big { color: var(--meadow); }
.fact-label { font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }
.fact p { color: var(--ink-soft); font-size: 16px; }
.fact-src { font-size: 13px; color: var(--ink-faint); padding-top: 10px; border-top: 2px dashed var(--line); margin-top: 4px; }

.why .age-tabs-header { margin-left: auto; margin-right: auto; }
.why .age-panel { max-width: 860px; margin: 0 auto; border: 0; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.why .age-panel.active { display: grid; gap: var(--s3); }
.age-take { font-family: var(--serif); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.age-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.age-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.age-chips .icon { width: 18px; height: 18px; color: var(--meadow); stroke-width: 2.2; }
.say { display: flex; gap: 14px; align-items: center; background: var(--accent-wash); border-radius: 22px; padding: 14px 18px; }
.say img { width: 56px; flex: none; }
.say p { display: grid; gap: 2px; font-weight: 700; color: var(--ink); font-size: 17px; }
.say p b { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.duties { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); max-width: 900px; margin: 0 auto; }
.duty { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); display: grid; gap: var(--s2); align-content: start; }
.duty ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.duty li { display: flex; justify-content: space-between; align-items: center; background: var(--paper); border-radius: 14px; padding: 12px 16px; font-weight: 700; }
.duty li b { color: var(--ink-faint); }
.duty-paid { box-shadow: 0 0 0 3px var(--sun), var(--shadow); }
.duty-paid li b { color: var(--meadow); }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.mini { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s3); display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: start;
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease); }
.mini:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.mini h3 { font-size: 20px; margin-bottom: 4px; }
.mini p { color: var(--ink-soft); font-size: 15px; }
.mini-n { position: absolute; right: 18px; top: 10px; font-family: var(--serif); font-weight: 800; font-size: 44px; line-height: 1; color: #E6EFF6; }
.mini .glyph { width: 52px; height: 52px; border-radius: 16px; }
.glyph.t1 { background: #FFE9E4; color: var(--coral-deep); } .glyph.t2 { background: var(--accent-wash); color: var(--accent); }
.glyph.t3 { background: #DDF2E6; color: var(--meadow); } .glyph.t4 { background: #FFF2BF; color: #8A6A00; }
.glyph.t5 { background: #FFF2BF; color: #8A6A00; } .glyph.t6 { background: #FFE1DE; color: #B42318; }

.why-cta { display: grid; justify-items: center; text-align: center; gap: var(--s3); }
.why-cta img { width: 120px; filter: drop-shadow(0 12px 16px rgba(23, 50, 74, 0.18)); }

@media (max-width: 920px) {
  .why-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .why-hero-copy .eyebrow { justify-self: center; }
  .why-hoo { width: 150px; }
  .facts, .minis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .versus { grid-template-columns: 1fr; }
  .vs-mid { justify-self: center; }
  .facts, .minis, .duties { grid-template-columns: 1fr; }
  .age-tab-btn { padding: 0 12px; font-size: 14px; }
}
/* Mission cards carry the illustrator's pictures; the number sits on the picture. */
.mini { display: block; padding: 0; overflow: hidden; }
.mini-art { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.mini-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.mini:hover .mini-art img { transform: scale(1.04); }
.mini > div { padding: var(--s2) var(--s3) var(--s3); }
.mini-n { z-index: 1; top: 12px; right: 12px; font-size: 18px; color: var(--ink); background: rgba(255,255,255,.88); border-radius: 999px; padding: 6px 10px; }
@media (prefers-reduced-motion: reduce) { .mini:hover .mini-art img { transform: none; } }
@media (max-width: 640px) {
  .why .age-tabs-header { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 22px; }
  .why .age-tab-btn { white-space: normal; line-height: 1.2; padding: 8px 6px; font-size: 13px; border-radius: 18px; }
}

/* Why page missions on phones: one swipe row instead of six stacked pictures */
@media (max-width: 760px) {
  .minis { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s2); margin: 0 calc(-1 * var(--gutter, 16px)); padding: 6px var(--gutter, 16px) 18px; scrollbar-width: none; }
  .minis::-webkit-scrollbar { display: none; }
  .mini { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Painted Hoo poses keep their shape whatever width they are given */
.speech img, .why-hoo, .why-cta img { height: auto; }
.speech img { width: 96px; }
