/* ============================================================
   EDUQIVA — SHARED STYLESHEET · Paper Playground (15 November 2026)
   Used by every page of the marketing site (index, mission, classes, teachers,
   sponsors, contact, privacy, terms and the generated legal/ pages). Edit here once;
   every page picks it up. The design is docs/design/redesign-2026-11.md: a warm,
   colourful site with plum ink, hard offset shadows, round type and women teachers
   who wave back. No navy anywhere. Forms and legal pages keep a plain look.

   Motion: everything that moves carries the class "m". The Play / Calm switch in the
   header puts "calm" on <html> and stops it (assets/play.js); prefers-reduced-motion
   stops it too. The only video is the Home reel, Play and desktop only.
   ============================================================ */

/* ============ FONTS ============ */
/* Served from this site, not from Google's font service: a request there sends the visitor's
   address to Google on every page, and this is a site for the parents of minors. Fredoka and
   Nunito are both SIL Open Font License; latin and latin-ext subsets, variable weight. */
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; src: url("fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-italic-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-italic-latin.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ DESIGN TOKENS ============ */
:root {
  --paper: #CFF2EE;          /* the page: exactly the baby blue Raz chose (22 Nov 2026); --paper-deep is the step behind it */
  --paper-deep: #B5E5E0;
  --card: #FFFFFF;           /* cards and panels */
  --ink: #35234B;            /* text, outlines, footer: a warm dark purple, not navy */
  --ink2: #5E4B73;           /* body copy */
  --mute: #6A5A7D;           /* captions, hints */
  --line: #A3D5D0;
  --sun: #5BC0EB;  --sun2: #B9E1F5;   /* the names stay, the yellow does not: --sun is the sky blue of buttons and marks, --sun2 every soft highlight (Raz, no white and yellow; 22 Nov 2026) */
  --coral: #FF6F59; --coral2: #FFD9D1; --coral-t: #B5361F;
  --aqua: #22B8B0;  --aqua2: #CFF2EE;  --aqua-t: #12736E;
  --lilac: #9B7BEA; --lilac2: #E8E0FB; --lilac-t: #5B3FB8;
  --leaf: #58C27A;  --leaf2: #DAF3E2;  --leaf-t: #25793F;
  --pink: #FF8FB1;  --pink2: #FFDCE7;
  --peach: #FFD7B5; --sky: #5BC0EB;
  --gold: #126C96;           /* the "QIVA" of the wordmark: a deep step of the sky blue, 4.9:1 on the page. It was gold until 22 Nov 2026; the name stays */

  --fh: "Fredoka", system-ui, sans-serif;
  --fb: "Nunito", system-ui, sans-serif;
  --r: 28px;                 /* big cards */
  --rs: 16px;                /* small things */
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1200px;
  --focus-ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--lilac);

  /* The names the older rules and the app's legal copy still read. */
  --paper-raised: var(--card);
  --paper-sunken: var(--sun2);
  --ink-soft: var(--ink2);
  --ink-faint: var(--mute);
  --line-strong: #7DB9B4;
  --accent-strong: var(--lilac-t);
  color-scheme: light;
}

/* ============ BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--fh); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
p { margin: 0; }
p + p { margin-top: 1rem; }
a { color: var(--lilac-t); text-underline-offset: 0.14em; }
a:hover { color: var(--coral-t); }
img, video { max-width: 100%; display: block; }
strong, b { font-weight: 700; }
::selection { background: var(--sun2); color: var(--ink); }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); position: relative; }
section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink2); max-width: 60ch; }
.lede-c { color: var(--ink2); max-width: 58ch; font-size: 1.1rem; }
.muted { color: var(--mute); }
.small { font-size: 0.9rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ============ FOCUS, PRESS, TAP ============ */
a, button { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }

/* The first thing the keyboard reaches: invisible until it has focus. */
.skip-link { position: absolute; left: 16px; top: -100%; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--fh); font-weight: 600; text-decoration: none; }
.skip-link:focus-visible { top: 16px; }

/* ============ STICKERS: eyebrow, buttons, cards, chips, discs ============ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fh); font-weight: 500; font-size: 0.95rem; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); color: var(--ink); width: max-content; max-width: 100%; line-height: 1.3; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); display: inline-block; flex: none; }
.eyebrow .dot.sun { background: var(--sun); } .eyebrow .dot.aqua { background: var(--aqua); } .eyebrow .dot.lilac { background: var(--lilac); } .eyebrow .dot.leaf { background: var(--leaf); } .eyebrow .dot.pink { background: var(--pink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--fh); font-weight: 600; font-size: 1.05rem; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); background: var(--card); box-shadow: 0 5px 0 var(--ink); transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s; cursor: pointer; line-height: 1.1; min-height: 48px; text-align: center; }
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 8px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sun, .btn-gold { background: var(--sun); color: var(--ink); }
.btn-coral { background: var(--coral); color: #fff; } .btn-coral:hover { color: #fff; }
.btn-aqua { background: var(--aqua); color: #fff; } .btn-aqua:hover { color: #fff; }
.btn-lilac { background: var(--lilac); color: #fff; } .btn-lilac:hover { color: #fff; }
.btn-ink, .btn-navy { background: var(--ink); color: #fff; } .btn-ink:hover, .btn-navy:hover { color: #fff; }
.btn-outline { background: var(--card); color: var(--ink); }
.btn.sm { padding: 10px 16px; font-size: 0.98rem; min-height: 42px; box-shadow: 0 4px 0 var(--ink); }

.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; position: relative; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card.tilt:hover { transform: translate(-2px, -5px) rotate(-0.8deg); }
.card .tab { position: absolute; top: -2px; left: 28px; right: 28px; height: 10px; border-radius: 0 0 10px 10px; background: var(--sun); }
.card.sun .tab { background: var(--sun); } .card.coral .tab { background: var(--coral); } .card.aqua .tab { background: var(--aqua); } .card.lilac .tab { background: var(--lilac); } .card.leaf .tab { background: var(--leaf); } .card.pink .tab { background: var(--pink); }
.card h3 { margin-top: 0; }
.card p.lede-c { font-size: 1rem; }
.card h3 + p { margin-top: 10px; }

.disc { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; border: 2px solid var(--ink); margin-bottom: 16px; transform: rotate(-4deg); }
.disc svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.disc.sun { background: var(--sun); } .disc.coral { background: var(--coral2); } .disc.aqua { background: var(--aqua2); } .disc.lilac { background: var(--lilac2); } .disc.leaf { background: var(--leaf2); } .disc.pink { background: var(--pink2); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-family: var(--fh); font-weight: 500; font-size: 0.95rem; border: 2px solid var(--ink); background: var(--card); box-shadow: 2px 2px 0 var(--ink); transition: transform 0.18s; color: var(--ink); text-decoration: none; }
.chip:hover { transform: translateY(-2px) rotate(-2deg); color: var(--ink); }
.chip.sun { background: var(--sun2); } .chip.coral { background: var(--coral2); } .chip.aqua { background: var(--aqua2); } .chip.lilac { background: var(--lilac2); } .chip.leaf { background: var(--leaf2); } .chip.pink { background: var(--pink2); } .chip.peach { background: var(--peach); }
.chip svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.link-more { font-family: var(--fh); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 3px solid var(--sun); color: var(--ink); width: max-content; }
.link-more:hover { border-color: var(--coral); color: var(--ink); }

/* A list with a tick before each line. */
.meta { display: grid; gap: 8px; margin-top: 18px; font-size: 0.98rem; color: var(--ink2); }
.meta span { display: flex; gap: 10px; align-items: flex-start; }
.meta svg { width: 20px; height: 20px; flex: none; stroke: var(--leaf-t); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }

/* ============ TOP BANNER ============ */
/* The one line that used to sit on navy: now a thin sun ribbon, the same words. */
.top-banner { background: var(--paper-deep); color: var(--ink); text-align: center; font-family: var(--fh); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; padding: 6px 16px; border-bottom: 2px solid var(--ink); }

/* ============ HEADER ============ */
header.site-nav { position: sticky; top: 0; z-index: 40; background: rgba(207, 242, 238, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 2px solid var(--ink); }
@media (prefers-reduced-transparency: reduce) { header.site-nav { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-row { display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter); max-width: 1360px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--fh); font-weight: 700; font-size: 1.45rem; color: var(--ink); letter-spacing: 0.02em; }
.brand-word b { color: var(--gold); }
nav.links { display: flex; gap: 4px; margin-left: 12px; }
/* Menu links: colour and lift ease in, a sun underline grows from the left on hover, a press
   squashes; the current page wears a sun pill with the small hard shadow. */
nav.links a { position: relative; text-decoration: none; color: var(--ink); font-family: var(--fh); font-weight: 500; font-size: 0.98rem; padding: 8px 11px; border-radius: 999px; border: 2px solid transparent; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
nav.links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
nav.links a:hover { background: var(--lilac2); transform: translateY(-2px); color: var(--ink); }
nav.links a:hover::after { transform: scaleX(1); }
nav.links a:active { transform: translateY(0) scale(0.96); }
nav.links a.active { background: var(--sun2); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
nav.links a.active::after { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-signin { text-decoration: none; color: var(--ink); font-family: var(--fh); font-weight: 500; padding: 8px 12px; white-space: nowrap; border-radius: 999px; transition: color 0.2s ease, background-color 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav-signin:hover { color: var(--ink); background: var(--aqua2); transform: translateY(-2px); }
.nav-signin:active { transform: scale(0.96); }
.nav-cta { white-space: nowrap; }
/* Play / Calm: Calm stops idle motion and keeps the colour. */
.sw { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: 3px; gap: 2px; box-shadow: var(--shadow-sm); }
.sw button { appearance: none; border: 0; background: transparent; font-family: var(--fh); font-weight: 600; font-size: 0.9rem; padding: 6px 12px; border-radius: 999px; color: var(--ink2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; transition: background-color 0.25s ease, color 0.25s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sw button:hover { transform: translateY(-1px); color: var(--ink); }
.sw button:active { transform: scale(0.94); }
.sw button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sw svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sw button[aria-pressed="true"] svg { transform: rotate(-18deg) scale(1.15); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); color: var(--ink); padding: 0; transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); }
.icon-btn:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 var(--ink); background: var(--lilac2); }
.icon-btn:active { transform: translateY(0) scale(0.94); box-shadow: 1px 1px 0 var(--ink); }
.icon-btn[aria-pressed="true"] { background: var(--aqua2); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn svg { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sound-btn[aria-pressed="true"] svg { transform: rotate(-12deg) scale(1.12); }
/* The menu button's three lines fold into a cross while the menu is open. */
.nav-toggle svg path { transform-box: view-box; transform-origin: 12px 12px; transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] { background: var(--sun2); }
.nav-toggle[aria-expanded="true"] svg path:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.nav-toggle[aria-expanded="true"] svg path:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.nav-toggle[aria-expanded="true"] svg path:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }
.nav-toggle { display: none; }
@media (max-width: 1100px) { nav.links.desktop { display: none; } .nav-toggle { display: grid; } .nav-signin.desktop-only { display: none; } }
@media (max-width: 799.98px) { .nav-cta.desktop-only { display: none; } }
@media (max-width: 420px) { .sound-btn { display: none; } }

/* Mobile menu: opens from the bar it belongs to. */
/* It unfolds from the bar, its links slide in one after another, and folds back the same way. */
#mnav { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 0.32s cubic-bezier(0.65, 0, 0.35, 1); }
#mnav > * { min-height: 0; }
#mnav.open { grid-template-rows: 1fr; }
#mnav a { display: block; padding: 12px var(--gutter); text-decoration: none; color: var(--ink); font-family: var(--fh); font-weight: 500; font-size: 1.05rem; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-12px); transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, padding-left 0.2s ease; }
#mnav.open a { opacity: 1; transform: none; }
#mnav.open a:nth-child(1) { transition-delay: 0.05s; } #mnav.open a:nth-child(2) { transition-delay: 0.1s; } #mnav.open a:nth-child(3) { transition-delay: 0.15s; } #mnav.open a:nth-child(4) { transition-delay: 0.2s; }
#mnav.open a:nth-child(5) { transition-delay: 0.25s; } #mnav.open a:nth-child(6) { transition-delay: 0.3s; } #mnav.open a:nth-child(7) { transition-delay: 0.35s; } #mnav.open a:nth-child(8) { transition-delay: 0.4s; }
#mnav a:hover { background: var(--lilac2); color: var(--ink); padding-left: calc(var(--gutter) + 10px); }
#mnav a.active { background: var(--sun2); box-shadow: inset 5px 0 0 var(--sun); }
#mnav a:last-child { margin-bottom: 8px; }

/* ============ HEROES ============ */
.hero, .page-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero .wrap, .page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.hero .wrap > div:first-child, .page-hero .wrap > div:first-child { position: relative; z-index: 2; }
@media (max-width: 900px) { .hero .wrap, .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero h1, .page-hero h1 { margin-top: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.hero h1 em { font-style: normal; position: relative; display: inline-block; color: var(--coral-t); }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.28em; background: var(--sun); z-index: -1; border-radius: 6px; transform: rotate(-1.5deg); }
.hero-tagline, .tagline { font-family: var(--fh); font-weight: 500; font-size: 1.25rem; color: var(--ink2); margin-top: 14px; }
.hero .lede, .page-hero .lede { margin-top: 16px; }
.hero-ctas, .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 480px) { .hero-ctas .btn, .ctas .btn { width: 100%; } }
/* The picture: a round-cornered window with the ink border, the Kling scene inside. */
.scene.pic { position: relative; overflow: hidden; border-radius: 40px; border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--paper); min-height: 440px; }
.scene.pic .heroart { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 100%; width: auto; max-width: none; }
@media (max-width: 900px) { .scene.pic { min-height: 0 !important; aspect-ratio: 1 / 1; width: 100%; } }
/* The Home reel: five ten-second clips crossfaded by CSS over a 50 s cycle, each with its still. */
/* The reel breaks out of the column: text stays on the container's left edge, the window runs to the right edge of the screen (Rafa, 16 November). */
.hero.reelhero .wrap { max-width: none; padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-right: 40px; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero.reelhero .wrap > div:first-child { padding-top: clamp(16px, 4vw, 56px); }
.hero.reelhero .scene.pic { aspect-ratio: 4 / 3; min-height: 0; border-radius: 32px; }
.hero.reelhero .scene.pic .heroart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; top: 0; right: 0; }
.reel { position: absolute; inset: 0; z-index: 1; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.7s ease; }
.reel video.on { opacity: 1; }
/* The badge beside the teacher while her scene holds, and the logo card that closes the round. */
.reel-badge { position: absolute; right: 18px; top: 18px; width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; opacity: 0; transform: scale(0.4) rotate(-20deg); transition: opacity 0.5s, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 3; }
.reel-badge img { width: 76px; height: 76px; border-radius: 50%; }
.reel-badge.on { opacity: 1; transform: scale(1) rotate(0); transition-delay: 0.5s; }
.reel-end { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: radial-gradient(circle at 50% 40%, var(--sun2) 0, var(--paper) 55%, var(--aqua2) 100%); opacity: 0; pointer-events: none; transition: opacity 0.7s ease; }
.reel-end.on { opacity: 1; }
.reel-end img { width: clamp(96px, 28%, 160px); height: auto; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: #fff; transform: scale(0.3); }
.reel-end strong { font-family: var(--fh); font-weight: 700; font-size: clamp(1.6rem, 6vw, 2.8rem); letter-spacing: 0.06em; color: var(--ink); opacity: 0; transform: translateY(16px); }
.reel-end small { font-family: var(--fh); font-weight: 500; font-size: clamp(0.85rem, 2.4vw, 1.1rem); color: var(--ink2); opacity: 0; transform: translateY(12px); }
.reel-end.on img { animation: logo-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
.reel-end.on strong { animation: logo-rise 0.7s ease 0.8s both; }
.reel-end.on small { animation: logo-rise 0.7s ease 1.1s both; }
.reel-end .confetti { position: absolute; width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--ink); opacity: 0; }
.reel-end.on .confetti { animation: confetti-fall 2.6s ease-out 0.4s both; }
.reel-end .c1 { left: 12%; top: 10%; background: var(--sun); --rot: 20deg; } .reel-end .c2 { left: 30%; top: 4%; background: var(--coral2); --rot: -30deg; animation-delay: 0.7s !important; border-radius: 50%; }
.reel-end .c3 { left: 50%; top: 2%; background: var(--leaf2); --rot: 45deg; animation-delay: 0.55s !important; } .reel-end .c4 { left: 68%; top: 8%; background: var(--lilac2); --rot: -10deg; animation-delay: 0.9s !important; }
.reel-end .c5 { left: 84%; top: 4%; background: var(--pink2); --rot: 30deg; animation-delay: 0.6s !important; border-radius: 50%; } .reel-end .c6 { left: 20%; top: 0; background: var(--aqua2); --rot: -45deg; animation-delay: 1.1s !important; }
@keyframes logo-pop { from { transform: scale(0.3) rotate(-15deg); } to { transform: scale(1) rotate(0); } }
@keyframes logo-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes confetti-fall { 0% { opacity: 0; transform: translateY(-20px) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(260px) rotate(calc(var(--rot) * 6)); } }
@media (max-width: 900px) { .hero.reelhero .wrap { grid-template-columns: minmax(0, 1fr); padding-left: var(--gutter); padding-right: var(--gutter); } .hero.reelhero .scene.pic { aspect-ratio: 16 / 10; } }
.calm .reel { display: none; }
/* Page tints behind the heroes. */
/* No rule above or below the hero: under the sticky header either one reads as a second bar (Rafa, 24 November 2026). */
.page-hero { margin-top: 0; }
.page-hero.cosmos { background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.page-hero.field { background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.page-hero.sky { background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.page-hero.harb { background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.page-hero.beach { background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.page-hero.plain { background: var(--paper); border-top: 0; padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero.plain .wrap { display: block; }
.page-hero.plain h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero.plain .lede { max-width: 60ch; }
.art { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); background: #fff; }

/* ============ BANDS AND WAVES ============ */
.band { position: relative; }
.band.aqua { background: var(--paper-deep); } .band.sun { background: var(--sun2); } .band.lilac { background: var(--lilac2); } .band.leaf { background: var(--leaf2); } .band.coral { background: var(--coral2); } .band.pink { background: var(--pink2); }
.band.ink { background: var(--ink); color: #fff; }
.band.ink h2, .band.ink h3, .band.ink p { color: #fff; } .band.ink .lede-c { color: rgba(255, 255, 255, 0.82); }
.band.ink .eyebrow { box-shadow: 3px 3px 0 var(--sun); }
.wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: 48px; display: block; }
.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; height: 48px; display: block; transform: scaleY(-1); }
.band > .wrap { padding-top: 24px; }
.section-head { max-width: 66ch; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; }
.section-head .link-more { margin-top: 10px; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob.m { animation: drift 9s ease-in-out infinite alternate; }

/* ============ FIGURES (the drawn team) ============ */
.person { display: block; }
/* Figures live in margins the layout reserves; where a narrower screen takes the margin away
   they hide rather than sit on the words (Rafa, 15 November). */
.fig-right { position: absolute; right: -10px; bottom: -6px; }
.fig-corner { position: absolute; right: 14px; top: -76px; }
.with-fig { padding-right: 190px; }
/* Under 1100px the figures leave the corners and stand, smaller, in the flow of their card or
   column, centred, so a phone sees them too. The inline offsets of the wide layout are overridden. */
@media (max-width: 1100px) {
  .fig-right, .fig-corner, .aside-fig { position: static !important; right: auto !important; bottom: auto !important; top: auto !important; display: flex !important; justify-content: center !important; margin: 18px 0 0; }
  .fig-corner { margin: 0 0 14px; }
  .fig-right .fig3d, .fig-corner .fig3d { width: 84px !important; }
  .aside-fig .fig3d { width: 100px !important; }
  .with-fig { padding-right: 28px !important; }
}

/* ============ HOME: tracks ============ */
.range-big { font-family: var(--fh); font-weight: 700; font-size: 2.4rem; line-height: 1; display: inline-block; padding: 10px 18px; background: var(--sun); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); }
.range-label { font-family: var(--fh); font-weight: 600; font-size: 1.15rem; margin-top: 18px; }
.subjects { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ============ CLASSES: subjects, steps ============ */
.subj { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
@media (max-width: 1100px) { .subj { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 640px) { .subj { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.subj .pl { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; font-family: var(--fh); font-weight: 500; font-size: 0.9rem; line-height: 1.2; position: relative; }
/* Each orb hovers over its own little ground shadow; nothing crosses the icon. */
.subj .orb { width: 88px; height: 88px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; position: relative; z-index: 1; animation: floaty 3.8s ease-in-out infinite; }
.subj .orb svg { width: 34px; height: 34px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.subj .pl::before { content: ""; position: absolute; left: 50%; top: 96px; width: 64px; height: 12px; margin-left: -32px; border-radius: 50%; background: rgba(53, 35, 75, 0.3); animation: ground 3.8s ease-in-out infinite; }
.subj .pl:nth-child(3n+2) .orb, .subj .pl:nth-child(3n+2)::before { animation-delay: 1.25s; }
.subj .pl:nth-child(3n) .orb, .subj .pl:nth-child(3n)::before { animation-delay: 2.5s; }
.subj .pl:hover .orb svg { transform: scale(1.22) rotate(-10deg); }
.stones { display: grid; gap: 20px; }
.stone { background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.stone .n { font-family: var(--fh); font-weight: 700; font-size: 1.4rem; width: 44px; height: 44px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; transform: rotate(-6deg); }
.stone svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 6px; flex: none; }
.stone p { color: var(--ink2); font-size: 0.98rem; }

/* ============ LIVE CLASS LIST (assets/classes.js) ============ */
.class-list__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.class-list__count { color: var(--mute); font-size: 0.95rem; margin-top: 10px; }
.class-list__filters { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; }
.class-list__filters label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.class-list__filters select { min-width: 190px; min-height: 46px; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; box-shadow: 2px 2px 0 var(--ink); }
.class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .class-grid { grid-template-columns: 1fr; } }
.class-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; border: 2px solid var(--ink) !important; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.class-card:hover, .class-card:focus-visible { transform: translate(-2px, -5px) rotate(-0.6deg); color: var(--ink); }
.class-card__cover { position: relative; height: 150px; background-size: cover; background-position: center; border-bottom: 2px solid var(--ink); }
.class-card__fade { position: absolute; inset: 0; }
.class-card__chip { position: absolute; left: 12px; top: 12px; max-width: 78%; display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-family: var(--fh); font-size: 0.8rem; font-weight: 500; }
.class-card__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.class-card__chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: contain; background: #fff; }
.class-card__badge { position: absolute; right: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: var(--sun); border: 2px solid var(--ink); color: var(--ink); font-family: var(--fh); font-size: 0.8rem; font-weight: 600; }
.class-card__band { padding: 6px 22px 16px; }
.class-card__band h3 { font-size: 1.25rem; line-height: 1.25; color: inherit; }
.class-card__band p { margin-top: 4px; font-size: 0.95rem; opacity: 0.9; }
.class-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 22px 22px; font-size: 0.95rem; color: var(--ink2); gap: 4px; border-top: 2px solid var(--ink); }
.class-card__body p + p { margin-top: 0; }
.class-card__muted { color: var(--mute); }
.class-card__status { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--ink); }
.class-card__btn { margin-top: 12px; text-align: center; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--sun); color: var(--ink); font-family: var(--fh); font-weight: 600; box-shadow: 0 4px 0 var(--ink); }
.class-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--ink2); border: 2px dashed var(--ink); border-radius: var(--r); font-family: var(--fh); font-size: 1.1rem; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pager:empty { display: none; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-family: var(--fh); font-weight: 600; cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform 0.15s; }
.pager__btn:hover:not(:disabled) { transform: translateY(-2px); }
.pager__btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.pager__btn.is-current { background: var(--ink); color: #fff; opacity: 1; }
/* The sponsor's credit under a class card. */
.class-card-wrap { display: flex; flex-direction: column; height: 100%; }
.class-card-wrap > .class-card { flex: 1; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.class-card__sponsor { padding: 12px 22px 16px; border: 2px solid var(--ink); border-top: 0; border-radius: 0 0 var(--r) var(--r); background: var(--sun2); box-shadow: var(--shadow); }
.class-card__sponsor-class { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--mute); }
.class-card__sponsor-name { margin-top: 2px; font-size: 0.95rem; color: var(--ink); }
.class-card__sponsor-logo { display: block; margin-top: 8px; height: 34px; width: auto; max-width: 150px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; border: 1px solid var(--line); }
.class-card__sponsor-site { display: inline-block; margin-top: 8px; font-size: 0.95rem; color: var(--ink2); }

/* ============ MISSION: the letter, the path ============ */
.letter { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 60px 48px 44px; max-width: 860px; position: relative; }
@media (max-width: 640px) { .letter { padding: 52px 24px 32px; } }
.letter p { margin-top: 16px; font-size: 1.04rem; line-height: 1.7; color: var(--ink2); }
.letter p:first-of-type { margin-top: 0; }
.letter strong { color: var(--ink); }
.letter .stamp { position: absolute; right: 28px; top: -34px; width: 64px; height: 74px; background: var(--sun); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; transform: rotate(6deg); }
.letter .stamp svg { width: 36px; height: 36px; fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.values .card { padding-top: 36px; }
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 120px; }
.path .dots { position: absolute; left: 4%; right: 4%; top: -30px; height: 6px; background: radial-gradient(circle, var(--ink) 2.2px, transparent 3px) 0 0 / 16px 6px repeat-x; opacity: 0.35; animation: walk 1.4s linear infinite; }
.stop { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 84px 22px 24px; text-align: center; }
.stop .fig { position: absolute; left: 50%; top: -84px; transform: translateX(-50%); display: flex; gap: 4px; align-items: flex-end; }
.stop .who { font-family: var(--fh); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute); }
.stop h3 { margin-top: 4px; font-size: 1.2rem; }
.stop p { margin-top: 10px; font-size: 0.95rem; color: var(--ink2); }
@media (max-width: 900px) { .path { grid-template-columns: 1fr 1fr; row-gap: 110px; } .path .dots { display: none; } }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; } }

/* ============ TEACHERS: gallery, apply ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.apply-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .apply-card { grid-template-columns: minmax(0, 1fr); } .apply-fig { min-height: 340px; margin-top: 8px; } .apply-fig .fig3d { width: 110px !important; } }

/* ============ SPONSORS ============ */
.rate { font-family: var(--fh); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--ink); display: inline-block; padding: 6px 20px; background: var(--sun); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); }
.promises, .sponsor-promises { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.promises li, .sponsor-promises li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink2); }
.promises svg { width: 24px; height: 24px; flex: none; stroke: var(--leaf-t); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.kids-row { border: 2px solid var(--ink); border-radius: var(--r); padding: 24px 28px; display: flex; gap: 16px; align-items: center; background: var(--card); }
.kids-row p { font-family: var(--fh); font-weight: 500; font-size: 1.15rem; }
.spot { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 32px; position: relative; overflow: hidden; }
.spot .quote { font-family: var(--fh); font-weight: 500; font-size: 1.3rem; line-height: 1.35; margin-top: 12px; }
.disclosure { font-size: 0.82rem; color: var(--mute); margin-top: 12px; line-height: 1.5; max-width: 74ch; }
.disclosure + .disclosure { margin-top: 12px; }
/* Live sponsor cards (assets/sponsors.js). */
#sponsor-list { display: grid; gap: 24px; }
.spotlight:not(:has(.spotlight-media)) { grid-template-columns: 1fr; }
.spotlight { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1fr 1.3fr; position: relative; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight-media { background: var(--sun2); min-height: 220px; display: flex; align-items: center; justify-content: center; color: var(--mute); font-family: var(--fh); font-size: 1.2rem; text-align: center; padding: 24px; border-right: 2px solid var(--ink); }
@media (max-width: 760px) { .spotlight-media { border-right: 0; border-bottom: 2px solid var(--ink); } }
.spotlight-media--filled { position: relative; overflow: hidden; padding: 0; min-height: 280px; }
.spotlight-fill { position: absolute; inset: 0; background-size: cover; background-position: center; }
.spotlight-fill--blur { filter: blur(22px) saturate(1.2); transform: scale(1.25); opacity: 0.75; }
.spotlight-logo { position: relative; max-width: 82%; max-height: 72%; object-fit: contain; border-radius: 12px; }
.spotlight-logo--chip { max-width: 55%; max-height: 120px; background: rgba(255, 255, 255, 0.94); padding: 12px; }
.spotlight-name { position: relative; color: #fff; font-family: var(--fh); font-weight: 600; font-size: 1.3rem; padding: 24px; }
.spotlight-body { padding: clamp(24px, 4vw, 40px); }
.spotlight-body .eyebrow { margin-bottom: 12px; }
.spotlight-body h3 { font-size: 1.5rem; line-height: 1.2; }
.spotlight-body .sub { color: var(--mute); font-size: 0.9rem; margin-top: 4px; }
.spotlight-body p.quote { margin-top: 14px; color: var(--ink2); font-family: var(--fh); font-weight: 500; font-size: 1.2rem; line-height: 1.35; }
.spotlight-body p { color: var(--ink2); font-size: 0.98rem; }
.spotlight-body .loc { margin-top: 20px; font-size: 0.95rem; color: var(--mute); display: flex; gap: 20px; flex-wrap: wrap; }
.spotlight-body .loc a { color: var(--lilac-t); font-weight: 700; position: relative; z-index: 2; }
.spotlight--link { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.spotlight--link:hover, .spotlight--link:focus-within { transform: translate(-2px, -5px) rotate(-0.5deg); }
.spotlight-link { color: inherit; text-decoration: none; }
.spotlight-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.spotlight--link:hover .spotlight-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* The sponsorship levels: a tree that grows, and a big dropdown (assets/grove.js, options.js). */
.grove { margin-top: 32px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); overflow: visible; max-width: 760px; position: relative; }
/* The sky holds the 3D tree clip (4:3). Play shows the clip, scrubbed by level; Calm and
   reduced motion show the still that grove.js draws from the level's frame. */
.grove .sky { position: relative; aspect-ratio: 4 / 3; border-radius: 26px 26px 0 0; overflow: hidden; background: var(--aqua2); border-bottom: 2px solid var(--ink); }
.grove .sky .tree3d, .grove .sky .tree-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.grove .sky .tree-still { display: none; }
.calm .grove .sky .tree3d { visibility: hidden; } .calm .grove .sky .tree-still { display: block; }
.grove .sky svg.tree { position: absolute; inset: 0; width: 100%; height: 100%; }
.tree.t0 { --trunk: 0.14; --drop: 112px; --canopy: 0; --sprout: 1; --bloom: 0; --fruit: 0; --birds: 0; --kids: 0; --sunb: 0; --spark: 0; }
.tree.t1 { --trunk: 0.36; --drop: 83px; --canopy: 0.4; --sprout: 0; --bloom: 0; --fruit: 0; --birds: 0; --kids: 0; --sunb: 0; --spark: 0; }
.tree.t2 { --trunk: 0.6; --drop: 52px; --canopy: 0.68; --sprout: 0; --bloom: 0; --fruit: 0; --birds: 0; --kids: 0; --sunb: 0; --spark: 0; }
.tree.t3 { --trunk: 0.82; --drop: 23px; --canopy: 0.92; --sprout: 0; --bloom: 1; --fruit: 0; --birds: 0; --kids: 0; --sunb: 0; --spark: 0; }
.tree.t4 { --trunk: 1; --drop: 0px; --canopy: 1.12; --sprout: 0; --bloom: 1; --fruit: 1; --birds: 0; --kids: 0; --sunb: 0; --spark: 0; }
.tree.t5 { --trunk: 1; --drop: 0px; --canopy: 1.24; --sprout: 0; --bloom: 1; --fruit: 1; --birds: 1; --kids: 1; --sunb: 0; --spark: 0; }
.tree.t6 { --trunk: 1.06; --drop: -8px; --canopy: 1.38; --sprout: 0; --bloom: 1; --fruit: 1; --birds: 1; --kids: 1; --sunb: 1; --spark: 1; }
.tree .trunk { transform-box: view-box; transform-origin: 260px 300px; transform: scaleY(var(--trunk)) scaleX(calc(0.55 + 0.45 * var(--trunk))); transition: transform 1.4s cubic-bezier(0.34, 1.2, 0.64, 1); }
.tree .canopy { transform-box: view-box; transform-origin: 260px 176px; transform: translateY(var(--drop)) scale(var(--canopy)); transition: transform 1.5s cubic-bezier(0.34, 1.3, 0.64, 1) 0.15s; }
.tree .sprout { transform-box: view-box; transform-origin: 260px 300px; transform: scale(var(--sprout)); opacity: var(--sprout); transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s; }
.tree .bloom circle { transform-box: fill-box; transform-origin: center; transform: scale(var(--bloom)); transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tree .fruit circle { transform-box: fill-box; transform-origin: center; transform: scale(var(--fruit)); transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1); }
.tree .bird { transform-box: fill-box; transform-origin: center; opacity: var(--birds); transform: translateY(calc((1 - var(--birds)) * 40px)) scale(calc(0.6 + 0.4 * var(--birds))); transition: transform 1.3s ease-out 1s, opacity 1s ease 1s; }
.tree .kidsg { transform-box: view-box; transform-origin: 260px 300px; opacity: var(--kids); transform: scale(calc(0.4 + 0.6 * var(--kids))); transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s, opacity 0.8s ease 0.9s; }
.tree .sunb { transform-box: fill-box; transform-origin: center; opacity: var(--sunb); transform: scale(var(--sunb)) rotate(calc(var(--sunb) * 90deg)); transition: transform 1.6s cubic-bezier(0.34, 1.3, 0.64, 1) 0.3s, opacity 1s ease 0.3s; }
.tree .spark { transform-box: fill-box; transform-origin: center; opacity: var(--spark); transform: scale(var(--spark)); transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s, opacity 0.8s ease 1.2s; }
.tree .canopy .leafy { transform-box: fill-box; transform-origin: 50% 100%; }
.tree.m .canopy .leafy { animation: sway 4.2s ease-in-out infinite; }
.tree .bloom circle:nth-child(1), .tree .fruit circle:nth-child(1) { transition-delay: 0.58s; } .tree .bloom circle:nth-child(2), .tree .fruit circle:nth-child(2) { transition-delay: 0.66s; } .tree .bloom circle:nth-child(3), .tree .fruit circle:nth-child(3) { transition-delay: 0.74s; } .tree .bloom circle:nth-child(4), .tree .fruit circle:nth-child(4) { transition-delay: 0.82s; } .tree .bloom circle:nth-child(5), .tree .fruit circle:nth-child(5) { transition-delay: 0.9s; }
.calm .tree * { transition-duration: 0.01s !important; transition-delay: 0s !important; }
.dd { position: relative; padding: 22px 24px 24px; }
.dd-btn { width: 100%; display: flex; align-items: center; gap: 14px; background: var(--sun2); border: 2px solid var(--ink); border-radius: 999px; padding: 14px 22px; box-shadow: 0 5px 0 var(--ink); cursor: pointer; font-family: var(--fh); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-align: left; min-height: 64px; transition: transform 0.18s; }
.dd-btn:hover { transform: translateY(-2px); }
.dd-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.dd-name { flex: 1; min-width: 0; }
.dd-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.dd-chev { width: 26px; height: 26px; flex: none; stroke: var(--ink); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-list { display: none; list-style: none; margin: 10px 0 0; padding: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: var(--shadow); position: absolute; left: 24px; right: 24px; z-index: 9; max-height: 60vh; overflow: auto; }
.dd.open .dd-list { display: block; }
.dd-item { width: 100%; display: flex; align-items: center; gap: 14px; background: transparent; border: 0; border-radius: 999px; padding: 12px 16px; cursor: pointer; font-family: var(--fh); font-weight: 500; font-size: 1.05rem; color: var(--ink); text-align: left; }
.dd-item:hover { background: var(--lilac2); }
.dd-item[aria-selected="true"] { background: var(--sun2); font-weight: 700; }
/* On a phone the price goes under the name instead of beside it, so the name keeps the width. */
@media (max-width: 560px) {
  .dd-btn, .dd-item { font-size: 0.98rem; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; }
  .dd-btn .dd-dot, .dd-item .dd-dot { grid-row: 1 / span 2; }
  .dd-btn .dd-name, .dd-item .dd-name { grid-column: 2; }
  .dd-btn .dd-price, .dd-item .dd-price { grid-column: 2; margin-left: 0; font-size: 0.92rem; white-space: normal; }
  .dd-btn .dd-chev { grid-column: 3; grid-row: 1 / span 2; }
}
/* What the chosen level includes, from the platform (options.js) or the fallback. */
.dd-detail { margin-top: 18px; display: none; }
.dd-detail.on { display: block; }
.dd-detail .option-sub { color: var(--ink2); font-size: 1rem; }
.option-presets { list-style: none; margin: 12px 0 0; padding: 0; font-size: 0.98rem; display: grid; gap: 4px; }
.option-presets li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink2); border-bottom: 1px dashed var(--line); padding: 4px 0; }
.option-presets .n { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.option-benefits { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.option-benefits li { position: relative; padding-left: 26px; color: var(--ink2); font-size: 0.98rem; }
.option-benefits li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 14px; height: 14px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--ink); }
.option-desc { margin-top: 12px; color: var(--ink2); font-size: 0.98rem; }
.option-cta { margin-top: 16px; }
.dd-foot, .tier-note { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 0.9rem; color: var(--ink2); flex-wrap: wrap; }
.dd-foot svg { width: 18px; height: 18px; vertical-align: -3px; stroke: var(--leaf-t); fill: none; stroke-width: 2.6; }

/* ============ CONTACT ============ */
.ways { display: grid; gap: 14px; }
.way { display: flex; gap: 14px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 22px; padding: 14px 18px; box-shadow: 4px 4px 0 var(--ink); }
.way .disc { margin: 0; width: 48px; height: 48px; border-radius: 16px; flex: none; }

/* ============ FORMS: the plain islands ============ */
/* Forms keep the app's plain look (Rafa's rule): white, one hairline, square-ish corners. */
.form-card, .form-panel { background: #fff; border: 1px solid #BFE0DD; border-radius: 12px; padding: clamp(20px, 3vw, 28px); color: #1F1A24; font-family: var(--fb); max-width: 640px; }
.form-card > p, .form-panel > p { color: #3F3650; }
.form-card > p + p, .form-panel > p + p { margin-top: 14px; }
.form-panel h2 { font-size: 1.6rem; margin: 6px 0 12px; }
.form-panel .eyebrow { margin-bottom: 0; }
.form-panel .form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.9rem; font-weight: 700; color: #1F1A24; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: max(16px, 1rem); min-height: 44px; padding: 11px 12px; border: 1px solid #93C6C3; border-radius: 8px; background: #fff; color: #1F1A24; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E8498; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--lilac); box-shadow: 0 0 0 3px var(--lilac2); }
.field input::placeholder, .field textarea::placeholder { color: #8E8498; }
.field textarea { resize: vertical; min-height: 120px; }
.field-hint { font-size: 0.9rem; color: #5E5668; margin: 0; }
.form-card > .field-hint { margin-top: 14px; }
.form-note { font-size: 0.9rem; color: #5E5668; margin-top: 12px; }
.form-note a { color: var(--lilac-t); font-weight: 700; }
/* The button inside a plain island is plain too. */
.pbtn, .form-card > .btn, .form-card > button.btn, .form-panel .btn, .form-card > p > .btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 1rem; padding: 12px 22px; border-radius: 8px; border: 0; background: #1F1A24; color: #fff; cursor: pointer; text-decoration: none; box-shadow: none; min-height: 44px; transform: none; }
.pbtn:hover, .form-card > .btn:hover, .form-panel .btn:hover, .form-card > p > .btn:hover { transform: none; box-shadow: none; background: #35234B; color: #fff; }
.form-panel .btn-outline, .form-card .btn-outline { background: #fff; color: #1F1A24; border: 1px solid #93C6C3; }
.form-panel .btn-outline:hover, .form-card .btn-outline:hover { background: #CFF2EE; color: #1F1A24; }
.form-card > .btn, .form-card > button.btn { margin-top: 6px; }

/* ============ LEGAL PAGES (privacy / terms / legal/*) ============ */
/* Plain reading pages: the site's header and footer, then a column of text and nothing else. */
.legal-content > * { max-width: 68ch; }
.legal-content > .legal-meta:first-child { margin-top: 0; font-size: 0.95rem; color: var(--mute); }
.legal-content h2 { font-size: 1.45rem; line-height: 1.25; margin-top: 40px; margin-bottom: 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin-top: 26px; margin-bottom: 8px; }
.legal-content h4 { font-family: var(--fb); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 28px; margin-bottom: 8px; }
.legal-content p, .legal-content li { color: var(--ink2); font-size: 1rem; line-height: 1.72; }
.legal-content p { margin-top: 12px; overflow-wrap: anywhere; } /* a signature line of underscores has no place to break and pushed a phone page sideways */
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 1.25rem; }
.legal-content li { margin-top: 4px; }
.legal-content li::marker { color: var(--lilac-t); }
.legal-content em, .legal-content strong { color: var(--ink); }
.legal-content a { color: var(--lilac-t); font-weight: 700; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; color: var(--ink2); line-height: 1.5; }
.legal-content th { background: var(--sun2); color: var(--ink); font-weight: 700; }
.legal-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.legal-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.legal-notice { border: 1px solid var(--sun); border-left: 4px solid var(--sun); background: var(--sun2); color: var(--ink); padding: 16px 20px; border-radius: 12px; margin: 0 0 32px; font-size: 0.95rem; line-height: 1.6; max-width: 68ch; }
.legal-notice strong { color: var(--ink); }
.legal-back { display: inline-block; font-family: var(--fh); font-weight: 600; text-decoration: none; margin-bottom: 16px; color: var(--ink); }
.legal-back:hover { text-decoration: underline; color: var(--ink); }

/* ============ FOOTER ============ */
footer { background: var(--ink); color: #fff; padding: 72px 0 32px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; position: relative; z-index: 1; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 700; font-size: 1.45rem; color: #fff; letter-spacing: 0.02em; }
.foot-brand img { width: 44px; height: 44px; border-radius: 14px; border: 2px solid #fff; background: #fff; object-fit: contain; }
.foot-tag { color: rgba(255, 255, 255, 0.8); font-size: 1rem; margin-top: 12px; max-width: 34ch; }
.foot-col h4 { color: var(--sun); margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: #fff; text-decoration: none; opacity: 0.9; }
.foot-col a:hover { color: var(--sun); opacity: 1; }
.foot-col li { font-size: 1rem; }
.foot-note { margin-top: 32px; font-size: 0.85rem; opacity: 0.8; }
.foot-note + .foot-bottom { margin-top: 14px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); position: relative; z-index: 1; }
footer .confetti { position: absolute; width: 14px; height: 14px; border-radius: 4px; opacity: 0.9; z-index: 0; }

/* ============ MOTION ============ */
/* Everything that moves carries "m". Calm and prefers-reduced-motion stop all of it. */
.m.wave { transform-origin: 138px 148px; transform-box: view-box; animation: wave 1.9s ease-in-out infinite; }
.m.point { transform-origin: 138px 148px; transform-box: view-box; animation: point 2.6s ease-in-out infinite; }
.m.blink { transform-box: fill-box; transform-origin: center; animation: blink 4.8s infinite; }
.m.float { animation: floaty 4.2s ease-in-out infinite; }
.m.spin { animation: spin 24s linear infinite; }
.m.fly { animation: fly 7s ease-in-out infinite; }
.m.sway { transform-origin: 50% 100%; animation: sway 3.6s ease-in-out infinite; }
.m.pulse { animation: pulse 2.4s ease-in-out infinite; }
.m.bob { animation: bob 5s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(14deg); } }
@keyframes point { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-9px) rotate(var(--rot, 0deg)); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(18px, -14px) scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fly { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(60px, -30px) rotate(8deg); } 60% { transform: translate(120px, -10px) rotate(-4deg); } 100% { transform: translate(0, 0) rotate(0); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.calm .m { animation: none !important; }

/* ============ ALIVE ============ */
/* The 3D people: an animated WebP (she waves now and then) in Play, the still frame in Calm
   and under reduced motion. The figure's box is the wrapper's width; height follows. */
.fig3d { display: inline-block; position: relative; line-height: 0; }
.fig3d img { width: 100%; height: auto; display: block; }
.fig3d .still { display: none; }
.calm .fig3d .anim { display: none; } .calm .fig3d .still { display: block; }
.kid3d { border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--ring, var(--sun2)), 4px 4px 0 var(--ink); object-fit: cover; background: #fff; display: inline-block; }
.stop .fig .kid3d, .kids-row .kid3d { animation: bob 3.6s ease-in-out infinite; }
.stop .fig .kid3d:nth-child(2), .kids-row .kid3d:nth-child(2) { animation-delay: 0.5s; }
.stop .fig .kid3d:nth-child(3), .kids-row .kid3d:nth-child(3) { animation-delay: 1s; }

/* Reveal on scroll: play.js puts "js" on <html>, then "in" on each .rv as it scrolls into view,
   with --rd staggering the pieces that arrive together. Without JavaScript nothing is hidden. */
.js .rv:not(.in) { opacity: 0; }
.js .rv.in { animation: rvin 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) backwards; animation-delay: var(--rd, 0s); }
@keyframes rvin { from { opacity: 0; transform: translateY(28px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.calm .rv, .calm .rv.in { opacity: 1; animation: none !important; }
@media print { .rv { opacity: 1 !important; animation: none !important; } }

/* Idle life, all CSS: discs wiggle, card tabs shimmer, the age badge and the rate rock, the
   stones and the contact ways bob in turn, the eyebrow dot breathes, the sun buttons send a
   ring out, page-hero pictures float, the little sparks around the Apply figure drift. */
.card .disc { animation: wiggle 3.4s ease-in-out infinite; }
.card:nth-child(2) .disc { animation-delay: 0.6s; } .card:nth-child(3) .disc { animation-delay: 1.2s; } .card:nth-child(4) .disc { animation-delay: 1.8s; }
.card .tab { background-image: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.8) 50%, transparent 75%); background-size: 220% 100%; background-repeat: no-repeat; animation: shimmer 4.5s ease-in-out infinite; }
.card:nth-child(2) .tab { animation-delay: 1.5s; } .card:nth-child(3) .tab { animation-delay: 3s; }
.range-big { animation: rock 4s ease-in-out infinite; }
.rate { animation: rock 5s ease-in-out infinite; }
.stone, .way { animation: stonebob 4.2s ease-in-out infinite; }
.stone:nth-child(2), .way:nth-child(2) { animation-delay: 0.7s; } .stone:nth-child(3), .way:nth-child(3) { animation-delay: 1.4s; } .way:nth-child(4) { animation-delay: 2.1s; }
.stone .n { animation: wiggle 3.4s ease-in-out infinite; }
.eyebrow .dot { animation: breathe 2.2s ease-in-out infinite; }
.btn-sun:not(:hover):not(:active), .btn-gold:not(:hover):not(:active) { animation: ring 2.8s ease-out infinite; }
.form-card .btn, .form-panel .btn, .legal .btn { animation: none !important; }
.page-hero .scene.pic { animation: floaty 6s ease-in-out infinite; }
.apply-fig { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.apply-fig .spark { position: absolute; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 7px; animation: bob 4s ease-in-out infinite; }
.apply-fig .spark.s1 { left: 8%; top: 12%; background: var(--sun); --rot: 12deg; }
.apply-fig .spark.s2 { right: 6%; top: 22%; background: var(--coral2); --rot: -18deg; animation-delay: 0.9s; border-radius: 50%; }
.apply-fig .spark.s3 { left: 16%; bottom: 18%; background: var(--aqua2); --rot: 30deg; animation-delay: 1.8s; }
.apply-fig .spark.s4 { right: 14%; bottom: 30%; background: var(--pink2); --rot: -8deg; animation-delay: 2.7s; width: 16px; height: 16px; }
.apply-fig .spark.s5 { left: 40%; top: 2%; background: var(--leaf2); --rot: 20deg; animation-delay: 1.3s; width: 14px; height: 14px; border-radius: 50%; }
@keyframes wiggle { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(4deg); } }
@keyframes shimmer { 0%, 55% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes rock { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(1deg); } }
@keyframes stonebob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }
@keyframes ring { 0% { box-shadow: 0 5px 0 var(--ink), 0 0 0 0 rgba(91, 192, 235, 0.75); } 70%, 100% { box-shadow: 0 5px 0 var(--ink), 0 0 0 16px rgba(91, 192, 235, 0); } }
@keyframes ground { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(0.7); opacity: 0.45; } }
@keyframes walk { to { background-position: 16px 0; } }
.calm .card .disc, .calm .card .tab, .calm .range-big, .calm .rate, .calm .stone, .calm .way, .calm .stone .n, .calm .eyebrow .dot, .calm .btn-sun, .calm .btn-gold, .calm .page-hero .scene.pic, .calm .apply-fig .spark, .calm .subj .orb, .calm .subj .pl::before, .calm .path .dots, .calm .kid3d { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel { display: none; }
  .m { animation: none !important; }
  .rv, .rv.in { opacity: 1; animation: none !important; }
  .fig3d .anim { display: none; } .fig3d .still { display: block; }
  .card .disc, .card .tab, .range-big, .rate, .stone, .way, .stone .n, .eyebrow .dot, .btn-sun, .btn-gold, .page-hero .scene.pic, .apply-fig .spark, .subj .orb, .subj .pl::before, .path .dots, .kid3d { animation: none !important; }
  .btn, .card, .chip, .class-card, .spotlight--link, .pager__btn, .dd-btn, .subj .orb { transition: none; }
  .btn:hover, .card.tilt:hover, .chip:hover, .class-card:hover, .spotlight--link:hover, .dd-btn:hover, .subj .pl:hover .orb { transform: none; }
  #mnav, #mnav a, nav.links a, nav.links a::after, .nav-signin, .sw button, .sw svg, .icon-btn, .sound-btn svg, .nav-toggle svg path, .brand img { transition: none; }
  #mnav a { opacity: 1; transform: none; }
  .tree * { transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .grove .sky .tree3d { visibility: hidden; } .grove .sky .tree-still { display: block; }
}

/* ============ RAZ'S LIST, 13 NOVEMBER 2026 ============
   EDUQIVA Academy beside the menu; on Home the small logo gives way to a large one above the
   headline; the sponsors' strip under the Home hero; the winter schedule on Classes; the
   President's message and her resume at the end of Mission. */
.brand { flex-shrink: 0; } .brand-word { white-space: nowrap; }
.brand-sub { font-weight: 500; color: var(--ink2); }
/* With "Academy" the row needs about 1,320 px; below that the tabs fold into the menu button, which
   also cures the overflow the row already had between 1,101 and 1,199 px. */
@media (min-width: 1100.02px) and (max-width: 1319.98px) { nav.links.desktop { display: none; } .nav-toggle { display: grid; } .nav-signin.desktop-only { display: none; } }
/* Raz, 23 November 2026: the logo badge left the header and the words "EDUQIVA Academy" are there at
   every width. Under 800 px the Apply button gives them its room (Apply is in the menu). */
@media (max-width: 380px) { .brand { font-size: 1.2rem; } }
@media (min-width: 1320px) and (max-width: 1380px) { .brand { font-size: 1.2rem; } nav.links { margin-left: 4px; } }

.hero-crest { display: block; width: clamp(128px, 12vw, 176px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.hero h1.hero-title-caps { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: 0.01em; margin-top: 22px; }

/* The sponsors' strip: a slow conveyor that stops under the pointer or keyboard focus, and
   stands still as one centered row in Calm or with reduced motion. */
.sponsor-strip { padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 4vw, 40px); }
.sponsor-strip__title { text-align: center; font-size: 1rem; margin-bottom: 20px; }
.marquee { overflow: hidden; padding: 10px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: sponsor-marquee 72s linear infinite; }
.marquee__track > li { padding-right: 20px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee:focus-within, .marquee:focus-within .marquee__track { -webkit-mask-image: none; mask-image: none; animation: none; }
@keyframes sponsor-marquee { to { transform: translateX(-50%); } }
.sponsor-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 260px; min-height: 96px; padding: 14px 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sponsor-tile:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.sponsor-tile:focus-visible { transform: translate(-2px, -2px); box-shadow: var(--focus-ring); border-radius: 20px; }
.sponsor-tile { gap: 10px; }
.sponsor-tile__logo { display: block; width: auto; height: auto; max-width: 190px; max-height: 46px; object-fit: contain; }
.sponsor-tile__level { font-family: var(--fh); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); }
.sponsor-tile__domain { font-size: 0.92rem; color: var(--ink2); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.calm .marquee, .calm .marquee__track { -webkit-mask-image: none; mask-image: none; animation: none; }
.calm .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 16px; padding: 0 var(--gutter); }
.calm .marquee__track > li[aria-hidden] { display: none; }
.calm .marquee__track > li { padding: 0 10px; }
@media (prefers-reduced-motion: reduce) {
  .marquee, .marquee__track { -webkit-mask-image: none; mask-image: none; animation: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 16px; padding: 0 var(--gutter); }
  .marquee__track > li[aria-hidden] { display: none; }
  .marquee__track > li { padding: 0 10px; }
  .sponsor-tile { transition: none; } .sponsor-tile:hover, .sponsor-tile:focus-visible { transform: none; }
}

/* The Sponsors page, until the platform holds the sponsors: the Home strip's tiles in a grid. */
.roster { display: grid; gap: 18px; justify-items: start; }
.roster__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 0; padding: 0; list-style: none; }
.roster__list .sponsor-tile { min-width: 0; height: 100%; }
@media (max-width: 640px) { .roster__list { grid-template-columns: minmax(0, 1fr); } }

/* The winter schedule on Classes: the tables scroll sideways on a phone rather than squash. */
.schedule .section-head { margin-bottom: 32px; }
.sched-block + .sched-block { margin-top: 48px; }
.sched-block > h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.sched-block > p { color: var(--ink2); margin-top: 6px; }
.sched-month { margin-top: 22px; }
.sched-month h4 { margin-bottom: 10px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); }
.table-scroll:focus-visible { outline: none; box-shadow: var(--focus-ring); }
table.sched { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 0.98rem; }
table.sched caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table.sched th, table.sched td { padding: 11px 14px; text-align: left; vertical-align: top; }
table.sched thead th { font-family: var(--fh); font-weight: 600; background: var(--sun2); border-bottom: 2px solid var(--ink); white-space: nowrap; }
table.sched tbody tr + tr td, table.sched tbody tr + tr th { border-top: 1px solid var(--line); }
table.sched tbody th { font-family: var(--fh); font-weight: 600; white-space: nowrap; }
table.sched td { color: var(--ink2); }
table.sched tr.is-holiday td.holiday { font-style: italic; }
table.sched tfoot td, table.sched tfoot th { font-family: var(--fh); font-weight: 600; border-top: 2px solid var(--ink); color: var(--ink); }
table.sched--summary { min-width: 480px; }
/* The same column widths in every month, so the six tables line up as one schedule. */
table.sched:not(.sched--summary) { table-layout: fixed; }
table.sched:not(.sched--summary) thead th:nth-child(1) { width: 10%; }
table.sched:not(.sched--summary) thead th:nth-child(2) { width: 15%; }
table.sched:not(.sched--summary) thead th:nth-child(3) { width: 24%; }
table.sched:not(.sched--summary) thead th:nth-child(4) { width: 13%; }
table.sched:not(.sched--summary) thead th:nth-child(5) { width: 14%; }
table.sched:not(.sched--summary) thead th:nth-child(6) { width: 14%; }
table.sched:not(.sched--summary) thead th:nth-child(7) { width: 10%; }
table.sched:not(.sched--summary) thead th { white-space: normal; }

/* The President's resume, after her message. */
.resume { margin-top: 40px; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 44px 48px; max-width: 860px; }
@media (max-width: 640px) { .resume { padding: 32px 24px; } }
.resume > header h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.resume > header p { color: var(--ink2); margin-top: 6px; }
.resume h4 { margin-top: 30px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.resume ul { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink2); }
.resume li + li { margin-top: 6px; }
.resume .job { margin-top: 20px; }
.resume .job h5 { font-family: var(--fh); font-weight: 600; font-size: 1.05rem; margin: 0; color: var(--ink); }
.resume .job p { margin: 2px 0 0; color: var(--ink2); font-size: 0.95rem; }
.resume ul.strengths { list-style: none; padding-left: 0; }
.resume ul.strengths li { position: relative; padding-left: 30px; }
.resume ul.strengths li::before { content: ""; position: absolute; left: 0; top: 0.15em; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325793F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; border: 2px solid var(--ink); }

/* ============ RAFA'S NOTES, 16 NOVEMBER 2026 (second round) ============ */
/* Moving between pages: the browser cross-fades the old page into the new one (cross-document
   view transitions), the content rising a little, while the banner and the header stay put.
   Where the browser has no such transition, the page's content still fades in. Calm and
   reduced motion get neither. */
@view-transition { navigation: auto; }
.top-banner { view-transition-name: top-banner; }
header.site-nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 0.26s ease both; }
::view-transition-new(root) { animation: vt-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px) scale(0.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px) scale(0.985); } }
main { animation: page-in 0.45s ease both; }
@keyframes page-in { from { opacity: 0; } }
html.calm::view-transition-old(root), html.calm::view-transition-new(root), html.calm::view-transition-group(*) { animation: none !important; }
.calm main { animation: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  main { animation: none; }
}

/* Home, the sponsors' strip: a strip of sky with cloud edges, and three clouds drifting behind
   the tiles (never over a word: they sit under the tiles and away from the title). */
.sponsor-strip { position: relative; background: linear-gradient(180deg, var(--paper-deep), var(--paper)); padding: clamp(52px, 6vw, 76px) 0 clamp(50px, 6vw, 72px); margin: 8px 0 12px; overflow: hidden; }
.sponsor-strip::before, .sponsor-strip::after { content: ""; position: absolute; left: -30px; right: -30px; height: 34px; background: radial-gradient(circle at 30px -4px, var(--paper) 30px, transparent 31px) 0 0 / 60px 34px repeat-x, radial-gradient(circle at 30px -14px, var(--paper) 30px, transparent 31px) 30px 0 / 60px 34px repeat-x; z-index: 1; pointer-events: none; }
.sponsor-strip::before { top: -1px; }
.sponsor-strip::after { bottom: -1px; transform: scaleY(-1); }
.sponsor-strip .wrap, .sponsor-strip .marquee { position: relative; z-index: 2; }
.sponsor-strip .cloud { position: absolute; z-index: 0; width: 150px; height: 46px; background: #fff; border-radius: 999px; opacity: 0.9; pointer-events: none; animation: cloud-drift 26s ease-in-out infinite alternate; }
.sponsor-strip .cloud::before, .sponsor-strip .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.sponsor-strip .cloud::before { width: 64px; height: 64px; left: 22px; top: -30px; }
.sponsor-strip .cloud::after { width: 46px; height: 46px; left: 74px; top: -18px; }
.sponsor-strip .cloud.c1 { left: 4%; top: 62px; }
.sponsor-strip .cloud.c2 { right: 6%; top: 54px; scale: 0.7; animation-duration: 34s; animation-direction: alternate-reverse; }
.sponsor-strip .cloud.c3 { left: 46%; bottom: 46px; scale: 0.55; animation-duration: 30s; }
@keyframes cloud-drift { from { translate: -30px 0; } to { translate: 50px 0; } }
.calm .sponsor-strip .cloud { animation: none; }
@media (max-width: 700px) { .sponsor-strip .cloud.c3 { display: none; } .sponsor-strip .cloud.c1 { top: 44px; scale: 0.7; } }
@media (prefers-reduced-motion: reduce) { .sponsor-strip .cloud { animation: none; } }

/* Sponsors page, the sponsors by level. Every level's promise is the same today (logo and
   profile on the site), so every sponsor gets a profile card; the level sets the order, the
   ribbon colour, and the Platinum card's width. */
.roster { display: grid; gap: 22px; justify-items: start; }
.roster__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 100%; margin: 0; padding: 0; list-style: none; }
.roster__list > li.lvl-platinum, .roster__list > li.lvl-diamond, .roster__list > li.lvl-corporate { grid-column: 1 / -1; }
@media (max-width: 900px) { .roster__list { grid-template-columns: minmax(0, 1fr); } }
.sponsor-card { position: relative; display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; height: 100%; padding: 52px 24px 24px; background: #fff; border: 2px solid var(--ink); border-radius: 26px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s; overflow: hidden; }
.sponsor-card:hover, .sponsor-card:focus-visible { transform: translate(-2px, -5px) rotate(-0.4deg); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); }
.sponsor-card__level { position: absolute; top: 0; left: 0; right: 0; padding: 7px 12px; font-family: var(--fh); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--ink); background-color: var(--sun2); background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%); background-size: 220% 100%; background-repeat: no-repeat; animation: shimmer 4.5s ease-in-out infinite; }
.lvl-platinum .sponsor-card__level { background-color: var(--lilac2); } .lvl-gold .sponsor-card__level { background-color: var(--sun); } .lvl-silver .sponsor-card__level { background-color: #E3E3EC; } .lvl-bronze .sponsor-card__level { background-color: var(--peach); } .lvl-diamond .sponsor-card__level { background-color: var(--aqua2); }
.sponsor-card__logo { display: block; width: auto; height: auto; max-width: min(240px, 80%); max-height: 64px; object-fit: contain; margin: 10px 0 2px; }
.lvl-platinum .sponsor-card__logo { max-height: 78px; max-width: min(320px, 80%); }
.sponsor-card__name { font-family: var(--fh); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.sponsor-card__fact { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--aqua2); font-family: var(--fh); font-weight: 500; font-size: 0.92rem; }
.sponsor-card__domain { font-size: 0.95rem; color: var(--ink2); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.sponsors-now { display: grid; gap: 28px; }
.calm .sponsor-card__level { animation: none; }
@media (prefers-reduced-motion: reduce) { .sponsor-card { transition: none; } .sponsor-card:hover, .sponsor-card:focus-visible { transform: none; } .sponsor-card__level { animation: none; } }

/* The living pictures (play.js): a clip sits exactly where its still sat. */
video.art { aspect-ratio: 1200 / 904; object-fit: cover; }
/* A wide hero reused in the 4:3 box: frame it on the person, who stands at the right. */
video.art.frame-right { object-position: 100% 50%; }
video.heroart { background: var(--paper); }

/* The tree at rest: the level's own seamless loop plays over the growth clip. Two copies of
   it hand over to each other with a short cross-fade (see assets/grove.js), the incoming one on top. */
.grove .sky .tree-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.3s linear; pointer-events: none; z-index: 1; }
.grove .sky .tree-loop.on { opacity: 1; transition-duration: 0.2s; }
.grove .sky .tree-loop.top { z-index: 2; }
.calm .grove .sky .tree-loop { display: none; }
@media (prefers-reduced-motion: reduce) { .grove .sky .tree-loop { display: none; } }

/* ==========================================================================
   RAZ'S FINAL UPDATE LIST, 17 NOVEMBER 2026
   ========================================================================== */
/* Home: one sponsor's listing as its approved flyer shows it, the other homepage sponsors beside it. */
.sponsor-feature { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; position: relative; z-index: 2; }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0 28px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 28px 22px; }
.listing__text { display: grid; gap: 12px; justify-items: center; text-align: center; }
.listing__eyebrow { font-family: var(--fh); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink2); }
.listing__name { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.3; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--sun); }
.listing__name span { display: block; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1.12em; }
.listing__quote { font-size: 0.98rem; line-height: 1.55; color: var(--ink2); max-width: 34ch; }
.listing__photo { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 14px; }
.listing__where { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--sun2); font-size: 1rem; color: var(--ink); }
.listing__where a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.listing__bar { color: var(--sun); font-weight: 700; }
.listing__disclosure { grid-column: 1 / -1; margin-top: 12px; font-size: 0.82rem; line-height: 1.5; color: var(--ink2); }
.sponsor-feature__others { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; align-content: stretch; }
.sponsor-feature__others .sponsor-tile { min-width: 0; height: 100%; }
@media (max-width: 980px) { .sponsor-feature { grid-template-columns: minmax(0, 1fr); } .sponsor-feature__others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .listing { grid-template-columns: minmax(0, 1fr); gap: 18px 0; padding: 22px 18px 18px; } .listing__where { margin-top: 0; } .sponsor-feature__others { grid-template-columns: minmax(0, 1fr); } }

/* Sponsors: the list is alphabetical, two to a row. No search box (22 November 2026). */
.roster-empty { font-size: 1rem; color: var(--ink2); }
.roster__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roster__list > li.lvl-platinum, .roster__list > li.lvl-diamond, .roster__list > li.lvl-corporate { grid-column: auto; }
.roster__list > li[hidden], #sponsor-list .spotlight[hidden] { display: none; }
@media (max-width: 900px) { .roster__list { grid-template-columns: minmax(0, 1fr); } }

/* The menu item "Students/Enroll Classes" is far longer than "Classes" was: it stays on one line.
   It fits from 1320 px, as the menu did before, because the Play / Calm switch and the sound
   button left the header the same day; between 1320 and 1440 px the brand and the gaps tighten. */
nav.links a { white-space: nowrap; }
@media (min-width: 1320px) and (max-width: 1440px) { .brand { font-size: 1.2rem; } nav.links { margin-left: 4px; } nav.links a { padding-left: 10px; padding-right: 10px; } }
/* The figure beside the Classes list hangs 150 px outside the column; up to 1520 px that is past
   the edge of the screen, so there it sits in the column like it does on a phone. */
@media (min-width: 1100.02px) and (max-width: 1520px) { .aside-fig { position: static !important; right: auto !important; bottom: auto !important; display: flex !important; justify-content: center !important; margin: 18px 0 0; } }
@media (max-width: 640px) { .listing__bar { display: none; } }
.sponsor-card__name span { display: block; font-weight: 500; font-size: 0.92em; }
.sponsor-card__quote { font-size: 0.95rem; line-height: 1.5; color: var(--ink2); max-width: 38ch; }

/* RAZ'S REVISED LIST, 18 NOVEMBER: a few classes first, and sponsors that open */
.class-more { display: flex; justify-content: center; margin-top: 28px; }
.class-more:has([hidden]) { display: none; }
.sponsor-dds { display: grid; gap: 12px; margin-top: 18px; }
.sponsor-dd { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.sponsor-dd > summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; padding: 14px 52px 14px 18px; cursor: pointer; list-style: none; position: relative; }
.sponsor-dd > summary::-webkit-details-marker { display: none; }
.sponsor-dd > summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s; }
.sponsor-dd[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.sponsor-dd[open] > summary { background: var(--sun2); border-bottom: 2px solid var(--ink); }
.sponsor-dd > summary:focus-visible { outline: 3px solid var(--lilac); outline-offset: -5px; border-radius: 14px; }
.sponsor-dd__name { font-family: var(--fh); font-weight: 600; font-size: 1.15rem; }
.sponsor-dd__fact { color: var(--ink2); font-size: 0.98rem; }
.sponsor-dd__subjects { padding: 14px 18px 0; color: var(--ink2); }
.sponsor-dd .table-scroll { border: 0; border-radius: 0; box-shadow: none; margin-top: 10px; border-top: 1px solid var(--line); }
table.sched--sponsor { min-width: 720px; }
table.sched--sponsor thead th { background: transparent; }
table.sched--sponsor td, table.sched--sponsor tbody th { line-height: 1.5; }
.sponsor-dd__total { margin-top: 16px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sponsor-dd > summary::after { transition: none; } }

/* REALISTIC PICTURES, 18 NOVEMBER: the frame shows the right part of each wide picture; these two are
   moved a little so the teacher's face (Mission) and the third teacher (Teachers) are inside it. */
.scene.pic .heroart[poster*="hero-teachers"] { transform: translate(4%, -50%); }

/* the standing figures above the How it works cards end above the card's label (Rafa, 18 November) */
.stop .fig:has(.fig3d) { top: -104px; }

/* LING'S PORTRAIT before the President's Message (her request, 18 November 2026). A real photograph. */
.president-head { display: flex; align-items: center; gap: 28px; margin-bottom: 40px; max-width: 860px; }
.president-photo { width: 168px; height: 168px; flex: none; object-fit: cover; border-radius: 28px; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .president-head { flex-direction: column; align-items: flex-start; gap: 18px; } .president-photo { width: 132px; height: 132px; } }

/* ============ Raz's final list, 21 November 2026 ============ */
/* The six sponsorship programs side by side. Each card carries its own picture: a row of leaves,
   one more per level, in the level's colour. */
.plan-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow); padding: 0 22px 22px; overflow: hidden; --plan: var(--aqua); }
.plan--0 { --plan: #D08A4A; --n: 1; } .plan--1 { --plan: #7FA7C4; --n: 2; } .plan--2 { --plan: #8E99AE; --n: 3; } .plan--3 { --plan: #2F8FC9; --n: 4; } .plan--4 { --plan: #22B8B0; --n: 5; } .plan--5 { --plan: #9B7BEA; --n: 6; }
.plan__art { position: relative; display: block; height: 76px; margin: 0 -22px 6px; border-bottom: 2px solid var(--ink); background: var(--aqua2); }
.plan__art::after { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: calc(6 * 34px); background: radial-gradient(circle at 17px 50%, rgba(53, 35, 75, 0.12) 0 9px, transparent 10px) 0 0 / 34px 100% repeat-x; }
.plan__art::before { content: ""; position: absolute; z-index: 1; left: 22px; top: 0; bottom: 0; width: calc(var(--n) * 34px); background: radial-gradient(circle at 17px 50%, var(--plan) 0 10px, var(--ink) 10px 12px, transparent 13px) 0 0 / 34px 100% repeat-x; }
.plan__name { font-size: 1.35rem; margin: 0; }
.plan__sub { margin: 0; color: var(--ink2); font-weight: 700; }
.plan__price { margin: 2px 0 4px; color: var(--ink2); }
.plan__price strong { font-family: var(--fh); font-weight: 600; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.plan__benefits { list-style: none; margin: 0 0 6px; padding: 12px 0 0; border-top: 2px dashed var(--line-strong); display: grid; gap: 8px; flex: 1; align-content: start; }
.plan__benefits li { position: relative; padding-left: 26px; color: var(--ink2); }
.plan__benefits li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 3px solid var(--aqua-t); border-bottom: 3px solid var(--aqua-t); transform: rotate(-45deg); }
.plan__cta { align-self: stretch; justify-content: center; text-align: center; }
.plan-notes { margin-top: 28px; }
.plan-notes ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink2); }
@media (max-width: 1000px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-grid { grid-template-columns: 1fr; } }

/* Sponsors page: the way to the list. Our Sponsors page: letters, count, the next page of cards. */
.roster-teaser { display: grid; gap: 12px; justify-items: start; margin-bottom: 28px; }
.page-hero--short .wrap { grid-template-columns: 1fr; }
.roster-count { margin: 6px 0 14px; color: var(--mute); font-weight: 700; min-height: 1.4em; }
.roster-more { display: flex; justify-content: center; margin: 22px 0 6px; }
#sponsor-list > .spotlight + .spotlight { margin-top: 22px; }
/* A picture that must be seen whole (Raz's own collage on Students/Enroll Classes): the frame takes the picture's shape. */
.scene.pic.scene--whole { min-height: 0 !important; aspect-ratio: 1535 / 1024; }
.scene.pic.scene--whole .heroart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; top: 0; right: 0; }
.roster-more .btn[hidden] { display: none; }
.summary-block { display: grid; gap: 10px; margin-bottom: 44px; max-width: 860px; }
.summary-block table.sched tbody th { white-space: normal; }
.summary-block .table-scroll { background: var(--card); border: 2px solid var(--ink); border-radius: var(--rs); box-shadow: var(--shadow-sm); overflow-x: auto; }

/* ---- Raz's revision of 23 November 2026 ---- */
/* Sponsors hero: his own picture, at its own shape and never larger than he sent it (525 x 350). */
.scene.pic.scene--sent { min-height: 0 !important; aspect-ratio: 525 / 350; width: 100%; max-width: 525px; justify-self: center; }
.scene.pic.scene--sent .heroart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; top: 0; right: 0; }
.kids-row.hero-box { margin-top: 28px; }
/* Sponsorship Options Overview: the six-level dropdown without the tree. Its list opens in the page,
   so nothing is cut off by the band it sits in. Choosing a level goes to its card and rings it. */
.overview { margin-top: 28px; max-width: 760px; }
.overview .dd { padding: 0; }
.overview .dd-list { position: static; margin-top: 14px; max-height: none; }
.plan { scroll-margin-top: 120px; }
.plan--picked { outline: 4px solid var(--ink); outline-offset: 5px; }
.more-ways { justify-content: center; margin-top: 36px; }
/* Students: the button under "Check Out Our Live Class Schedules ...", the steps, the time zones. */
.class-list__go { margin: 6px 0 0; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps .stone, .steps .stone .n { animation: none; }
.steps .stone h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.tz-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.tz-pick label { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.tz-pick select { min-width: 0; max-width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 1rem; box-shadow: 2px 2px 0 var(--ink); }
#register .form-panel { max-width: none; }
#register .form-panel > p { max-width: 72ch; }
#register .form-panel { position: relative; }
.steps-fig { position: absolute; right: clamp(28px, 6vw, 96px); top: 34px; }
@media (max-width: 900px) { .steps-fig { display: none; } }
@media (max-width: 560px) { .kids-row.hero-box { flex-direction: column; align-items: flex-start; } .steps .stone { padding: 16px; } .steps .stone svg { display: none; } }
/* Home, Sponsor a Class: Raz's own Become a Sponsor picture, never larger than he sent it (525 x 350). */
.art.art--sent { max-width: 525px; justify-self: center; }
