/* Project STEMulate website.
   The team's colours (forest, leaf and lime on cream, with a little grape for
   the Academy), Fredoka and Nunito, real photos from our sessions, and the
   STEM x workshops shown as collectible cards like the ones in the Academy. */

:root {
  --cream: #fffbea;
  --butter: #fff4bf;
  --butter-2: #ffe98a;
  --mint: #eaf8d8;
  --lime: #c6ef72;
  --leaf: #7cc242;
  --leaf-deep: #3f7d20;
  --forest: #1e4a24;
  --forest-2: #163a1b;
  --forest-3: #0f2a13;
  --on-forest: #f3fbe6;
  --on-forest-muted: #cfe6c2;
  --grape: #7c4dff;
  --grape-deep: #5a2fd8;
  --lilac: #efe7ff;
  --ink: #1b2e1c;
  --muted: #4e5f50;
  --line: rgba(27, 46, 28, 0.14);
  --white: #ffffff;
  --sci: #1f9d55;
  --sci-l: #dcf7e6;
  --math: #1f7fc4;
  --math-l: #e0f0ff;

  /* One colour per STEM x series (card frames only; text stays ink) */
  --x-sports: #e3672b;
  --x-coding: #2b7fc1;
  --x-games: #7c4dff;
  --x-nature: #3f8f2a;
  --x-magic: #c93f7e;
  --x-content: #d99a12;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --head: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --die-cut: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff)
    drop-shadow(0 10px 12px rgba(15, 42, 19, 0.28));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.ico { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--forest); font-weight: 800;
  padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 10px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

/* ───────── Buttons and links ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1.05rem/1 var(--head);
  padding: 15px 24px; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 0.95rem; box-shadow: 0 4px 0 var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-leaf { background: var(--leaf); color: var(--ink); }
.btn-grape { background: var(--grape); color: #fff; }
.btn-light { background: var(--white); color: var(--ink); }
/* On forest backgrounds: a cream outline instead of the ink one */
.btn-outline { background: transparent; color: var(--on-forest); border-color: var(--on-forest); box-shadow: 0 5px 0 var(--forest-3); }
.btn-outline:hover { background: rgba(243, 251, 230, 0.1); box-shadow: 0 7px 0 var(--forest-3); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 1.02rem var(--head); color: var(--leaf-deep); text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-dark .text-link { color: var(--lime); }
.band-lime .text-link { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--forest); color: var(--on-forest);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-name { font: 500 1.2rem/1.05 var(--head); letter-spacing: 0.01em; }
.brand-name b { display: block; font-weight: 700; font-size: 1.32rem; color: var(--lime); letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a {
  white-space: nowrap;
}
.nav-links > a:not(.btn) {
  font: 600 1rem var(--head); text-decoration: none; color: var(--on-forest);
  padding: 8px 11px; border-radius: 999px;
}
.nav-links > a:not(.btn):hover { background: rgba(198, 239, 114, 0.16); }
.nav-links > a[aria-current="page"] { background: var(--lime); color: var(--forest); }
.nav-links .btn { margin-left: 10px; }
.nav-toggle { display: none; }

/* ───────── Sections ───────── */
.section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }
.band-forest { background: var(--forest); color: var(--on-forest); }
.band-forest-deep { background: var(--forest-2); color: var(--on-forest); }
.band-lime { background: var(--lime); }
.band-butter { background: var(--butter); }
.band-mint { background: var(--mint); }
.band-white { background: var(--white); }
.band-lilac { background: var(--lilac); }

/* Section openers: a heading with its sentence beside it on wide screens */
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: 52px; }
.intro h2 { margin: 0; }
.intro p { margin: 0; font-size: 1.15rem; color: var(--muted); }
.on-dark .intro p { color: var(--on-forest-muted); }
.intro-centred { display: block; text-align: center; max-width: 780px; margin: 0 auto 48px; }
.intro-centred p { margin-top: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.on-dark .lead { color: var(--on-forest-muted); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 28px; }

/* ───────── Home hero: the session photo with the headline on a forest panel ───────── */
.hero { position: relative; background: var(--forest); }
.hero-photo { margin: 0; height: clamp(520px, 80vh, 780px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-photo figcaption {
  position: absolute; right: 16px; bottom: 14px; max-width: 30em;
  font-size: 0.85rem; font-weight: 700; color: #fff; text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.hero-panel {
  position: absolute; left: max(16px, calc((100% - var(--wrap)) / 2)); bottom: 0;
  width: min(640px, calc(100% - 32px));
  background: var(--forest); color: var(--on-forest);
  padding: 44px 44px 40px; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.hero-bots { position: absolute; left: 32px; top: -78px; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.hero-bots img { width: 78px; filter: var(--die-cut); animation: bob 5s ease-in-out infinite; }
.hero-bots img:nth-child(2) { width: 70px; animation-delay: -1.2s; }
.hero-bots img:nth-child(3) { width: 66px; animation-delay: -2.4s; }
.hero-bots img:nth-child(4) { width: 72px; animation-delay: -3.6s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.hero-pre { font: 600 1rem var(--head); color: var(--lime); margin-bottom: 14px; }
/* "STIM" crossed out in front of STEMulating, as a little wordmark joke */
.hero-chip { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(198, 239, 114, 0.14); border: 2px solid rgba(198, 239, 114, 0.45); }
.hero-chip s { color: var(--on-forest-muted); text-decoration-thickness: 2px; margin-right: 3px; }
.hero h1 { margin-bottom: 18px; color: var(--on-forest); }
.hero h1 em {
  font-style: normal; display: inline-block; padding: 0 0.18em 0.04em; border-radius: 0.24em;
  background: var(--lime); color: var(--forest); transform: rotate(-2deg);
}
.hero h1 em + em { background: var(--butter-2); transform: rotate(2deg); }
.hero .lead { color: var(--on-forest-muted); margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Inner-page hero: forest band with a photo or STEMbot */
.page-hero { background: var(--forest); color: var(--on-forest); padding: 72px 0 80px; position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 18px; }
.page-hero .lead { color: var(--on-forest-muted); }
.page-hero-photo { margin: 0; position: relative; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.page-hero-photo .bot { position: absolute; left: -26px; bottom: -30px; width: 108px; filter: var(--die-cut); transform: rotate(-8deg); }
.page-hero-photo figcaption { font-size: 0.88rem; color: var(--on-forest-muted); margin-top: 12px; }
.crumb { font: 600 1rem var(--head); color: var(--lime); margin-bottom: 12px; display: block; }

/* ───────── Numbers band ───────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.number { border-left: 4px solid var(--forest); padding: 4px 0 4px 18px; }
.number b {
  display: block; font: 700 clamp(2.8rem, 5.6vw, 4.4rem)/1 var(--head); color: var(--forest);
  font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.number span { font-weight: 800; font-size: 1.05rem; }
.numbers-note { margin: 30px 0 0; font-weight: 700; color: var(--forest); }
.numbers-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--forest); margin-bottom: 26px; }

/* ───────── Signature: STEM x workshops as collectible cards ───────── */
/* Cards keep their own height, like a handful of real cards on a table */
.album { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; align-items: start; }
.wcard {
  --frame: var(--leaf);
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; padding: 10px;
  border: 8px solid var(--frame);
  box-shadow: 0 7px 0 rgba(15, 42, 19, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.album > li:nth-child(3n + 1) .wcard { transform: rotate(-1.4deg); }
.album > li:nth-child(3n + 3) .wcard { transform: rotate(1.4deg); }
.wcard:hover, .wcard:focus-within { transform: rotate(0) translateY(-6px); box-shadow: 0 13px 0 rgba(15, 42, 19, 0.2); }
.wcard-art { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--mint); }
.wcard-art img { width: 100%; height: 100%; object-fit: cover; }
.wcard-tag {
  position: absolute; left: 10px; top: 10px;
  font: 700 0.82rem var(--head); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 5px 11px;
}
.wcard-body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.wcard-body h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 8px; }
.wcard-body h3 small { display: block; font: 700 0.85rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.wcard-body p { color: var(--muted); margin-bottom: 12px; }
.wcard-body .text-link { margin-top: auto; }
.wcard-quote { font-style: italic; }
/* On Home the card's name links to its part of the Curriculum page; the whole card is clickable */
.wcard-link { text-decoration: none; }
.wcard-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.wcard-link:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.wcard .text-link { position: relative; z-index: 1; }
.wcard:target { box-shadow: 0 0 0 6px var(--lime), 0 7px 0 rgba(15, 42, 19, 0.22); }
.x-sports { --frame: var(--x-sports); }
.x-coding { --frame: var(--x-coding); }
.x-games { --frame: var(--x-games); }
.x-nature { --frame: var(--x-nature); }
.x-magic { --frame: var(--x-magic); }
.x-content { --frame: var(--x-content); }

/* ───────── Photo + text rows ───────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.split-photo figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }
.on-dark .split-photo figcaption { color: var(--on-forest-muted); }
.split p { font-size: 1.1rem; }

/* A workshop's rhythm: numbered steps along a line */
.rhythm { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: st; position: relative; }
.rhythm::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 4px; border-radius: 2px; background: var(--lime); }
.rhythm li { counter-increment: st; position: relative; padding: 58px 14px 0 0; }
.rhythm li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.2rem var(--head); color: var(--forest); background: var(--lime); border: 4px solid var(--cream);
}
.band-butter .rhythm li::before { border-color: var(--butter); }
.rhythm b { display: block; font: 600 1.2rem var(--head); margin-bottom: 4px; }
.rhythm span { display: block; font-size: 0.95rem; color: var(--muted); line-height: 1.45; }
.rhythm-short li { padding-right: 8px; }

/* ───────── Partners ───────── */
.partner-wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 170px; padding: 18px 14px; text-align: center;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md);
}
.partner img { height: 78px; width: auto; max-width: 160px; object-fit: contain; }
.partner span { font: 600 0.98rem/1.25 var(--head); }
.partner-text { background: var(--mint); border-style: dashed; }
.partner-text strong { font: 700 1.25rem/1.15 var(--head); color: var(--leaf-deep); }
/* Home: all nine partners in one row on wide screens */
.partner-strip { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.partner-strip .partner { min-height: 128px; padding: 12px 8px; gap: 8px; }
.partner-strip .partner img { height: 52px; max-width: 100%; }
.partner-strip .partner span { font-size: 0.8rem; }
.partner-strip .partner-text strong { font-size: 0.95rem; }

/* Partners with what we do together (Impact page) */
.partner-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.partner-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px 20px 16px 16px;
}
.partner-row img { width: 96px; height: 76px; object-fit: contain; }
.partner-row .logo-text { width: 96px; height: 76px; display: grid; place-items: center; text-align: center; font: 700 0.95rem/1.15 var(--head); color: var(--leaf-deep); background: var(--mint); border-radius: var(--r-sm); }
.partner-row h3 { font-size: 1.18rem; margin-bottom: 4px; }
.partner-row p { margin: 0; color: var(--muted); font-size: 0.97rem; line-height: 1.45; }
.since { display: inline-block; font: 700 0.8rem var(--head); color: var(--forest); background: var(--lime); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }

/* ───────── Slide decks ───────── */
.deck-shelf { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.deck-cover {
  display: block; width: 100%; text-align: left; cursor: pointer; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-decoration: none;
}
.deck-cover-img { position: relative; display: block; border-radius: 16px; }
.deck-cover-img::before, .deck-cover-img::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; background: var(--white);
  box-shadow: 0 0 0 2px var(--line); z-index: -1; transition: transform 0.25s ease;
}
.deck-cover-img::before { transform: rotate(-4deg) translate(-6px, 4px); }
.deck-cover-img::after { transform: rotate(3deg) translate(6px, 2px); }
.deck-cover img { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 4px var(--white), 0 12px 24px -14px rgba(15, 42, 19, 0.6); }
.deck-cover:hover .deck-cover-img::before { transform: rotate(-7deg) translate(-12px, 6px); }
.deck-cover:hover .deck-cover-img::after { transform: rotate(6deg) translate(12px, 4px); }
.deck-cover-text { display: block; padding: 18px 2px 0; }
.deck-cover-text b { display: block; font: 700 1.35rem var(--head); }
.deck-cover-text span { display: block; color: var(--muted); font-weight: 700; }
.on-dark .deck-cover-text span { color: var(--on-forest-muted); }
.deck-cover-text .deck-cover-open { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: 700 1rem var(--head); color: var(--leaf-deep); }
.on-dark .deck-cover-open { color: var(--lime); }

/* Carousel of one workshop's slides (curriculum page) */
.deck { --deck: var(--forest); background: var(--deck); border-radius: var(--r-lg); padding: 18px 0 22px; }
.theme-mc .deck { --deck: #3a7127; }
.theme-mono .deck { --deck: #5b52c9; }
.theme-au .deck { --deck: #26304a; }
.deck-bar { display: flex; align-items: center; gap: 14px; padding: 0 22px 14px; color: #fff; }
.deck-title { font: 600 1.15rem var(--head); }
.deck-count { margin-left: auto; font-weight: 700; opacity: 0.9; font-variant-numeric: tabular-nums; }
.deck-nav { display: flex; gap: 8px; }
.deck-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
}
.deck-btn .ico { width: 22px; height: 22px; }
.deck-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.deck-btn:disabled { opacity: 0.4; cursor: default; }
.deck-full {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 0.95rem var(--head); color: var(--ink); background: var(--lime);
  border: 3px solid var(--ink); border-radius: 999px; padding: 7px 14px; box-shadow: 0 3px 0 var(--ink);
}
.deck-full:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.deck-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 22px 10px; scroll-padding-inline: 22px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent;
}
.deck-track:focus-visible { outline-offset: -3px; }
.slide { flex: 0 0 min(560px, 82%); margin: 0; scroll-snap-align: start; }
.slide-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; }
.slide-open img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 4px #fff; background: #fff; }
.slide-zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transition: opacity 0.2s;
}
.slide-open:hover .slide-zoom, .slide-open:focus-visible .slide-zoom { opacity: 1; }
.slide figcaption { color: #fff; font-weight: 700; padding: 12px 4px 0; display: flex; gap: 10px; align-items: baseline; line-height: 1.35; }
.slide figcaption b { flex: none; font: 700 0.85rem var(--head); background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 9px; }

/* Full-screen slide viewer */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 96vw); width: 100%; }
.lightbox::backdrop { background: rgba(15, 42, 19, 0.9); }
.lb-inner { position: relative; }
.lb-img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 6px #fff; background: #fff; }
.lb-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.lb-cap { flex: 1; margin: 0; text-align: center; color: #fff; font: 600 1.15rem var(--head); }
.lb-close { position: absolute; right: -10px; top: -14px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--lime); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.lb-close .ico { width: 22px; height: 22px; }

/* ───────── Tabs (curriculum workshops, quiz questions) ───────── */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.tab {
  font: 600 1.12rem var(--head); color: var(--ink); cursor: pointer;
  background: var(--white); border: 3px solid var(--line); border-radius: var(--r-md);
  padding: 12px 20px; text-align: left; line-height: 1.2; transition: transform 0.15s ease, border-color 0.15s;
}
.tab span { display: block; font: 800 0.72rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf-deep); }
.tab:hover { transform: translateY(-2px); border-color: var(--leaf); }
.tab[aria-selected="true"] { background: var(--forest); color: var(--on-forest); border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); }
.tab[aria-selected="true"] span { color: var(--lime); }
.ws-tabs .tab { display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 10px 18px 10px 10px; }
.ws-tabs .tab img { grid-row: span 2; width: 88px; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.ws-tabs .tab span { align-self: end; }

.workshop[hidden], .lesson[hidden] { display: none; }
.workshop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.ws-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.ws-intro h3 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 10px; }
.ws-intro p { color: var(--muted); font-size: 1.1rem; }
.lesson-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
.game-badge { font: 700 0.85rem var(--body); background: var(--lilac); color: var(--grape-deep); padding: 7px 14px; border-radius: 999px; }
.levels { display: flex; gap: 6px; }
.levels i { font: 700 0.85rem var(--head); font-style: normal; background: var(--butter-2); color: #6b4700; padding: 6px 11px; border-radius: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 0.85rem/1 var(--body); padding: 8px 14px; border-radius: 999px; }
.chip-sci { background: var(--sci-l); color: #12663a; }
.chip-math { background: var(--math-l); color: #135c91; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.ws-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ws-card { padding: 26px 28px; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); }
.ws-card h4 { font: 600 1.35rem var(--head); margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.ws-hands { background: var(--butter); border-color: transparent; }
.outcomes, .handson { list-style: none; display: grid; gap: 10px; }
.outcomes li { display: flex; gap: 10px; align-items: flex-start; }
.outcomes .ico { color: var(--leaf-deep); margin-top: 4px; width: 1.2em; height: 1.2em; }
.handson { margin-bottom: 18px; }
.handson li { background: #fff; border-radius: 16px; padding: 12px 16px; }
.handson b { display: block; font: 600 1.1rem var(--head); }
.handson span { color: var(--muted); font-size: 0.96rem; }

/* Curriculum map */
.legend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 22px; }
.legend-note { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.curr { padding: 10px; overflow: hidden; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); }
.curr-row { display: grid; grid-template-columns: 2.1fr 1.5fr 1.5fr repeat(3, 64px); align-items: center; gap: 8px; padding: 14px 16px; border-radius: 16px; }
.curr-row + .curr-row { margin-top: 4px; }
.curr-headrow { font: 800 0.75rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.curr-headrow .lv { color: var(--muted); font-size: 0.75rem; }
.curr-row.sci { background: linear-gradient(90deg, var(--sci-l), #f6fdf8 70%); }
.curr-row.math { background: linear-gradient(90deg, var(--math-l), #f7fbff 70%); }
.curr-row b { font: 600 1.05rem var(--head); }
.curr-row .lv { text-align: center; color: transparent; font-size: 1.3rem; }
.curr-row.sci .lv.on { color: var(--sci); }
.curr-row.math .lv.on { color: var(--math); }
.totals { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.total { padding: 12px 20px; display: flex; align-items: baseline; gap: 10px; font-weight: 700; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); }
.total b { font: 700 2rem var(--head); color: var(--leaf-deep); }

/* ───────── STEMulate Academy band ───────── */
.academy-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.academy-copy h2 { color: var(--on-forest); }
.academy-copy p { color: var(--on-forest-muted); font-size: 1.12rem; }
.academy-points { list-style: none; display: grid; gap: 10px; margin: 0 0 30px; }
.academy-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; color: var(--on-forest); }
.academy-points .ico { color: var(--lime); width: 1.3em; height: 1.3em; margin-top: 3px; }
.screens { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.screens figure { margin: 0; background: var(--white); border-radius: 18px; padding: 6px; }
.screens figure:first-child { grid-column: span 2; }
.screens img { width: 100%; border-radius: 13px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.screens figcaption { color: var(--muted); font-size: 0.86rem; font-weight: 700; padding: 8px 6px 4px; }
.card-fan { display: flex; justify-content: center; margin-top: 56px; padding: 0 0 12px; }
.card-fan img {
  width: 132px; border-radius: 12px; margin: 0 -14px; box-shadow: 0 0 0 4px #fff, 0 16px 26px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease;
}
.card-fan img:nth-child(1) { transform: rotate(-12deg) translateY(18px); }
.card-fan img:nth-child(2) { transform: rotate(-6deg) translateY(5px); }
.card-fan img:nth-child(4) { transform: rotate(6deg) translateY(5px); }
.card-fan img:nth-child(5) { transform: rotate(12deg) translateY(18px); }
.card-fan:hover img { margin: 0 6px; }
.bots-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; }
.bots-row li { text-align: center; }
.bots-row img { height: 128px; width: auto; margin: 0 auto 10px; filter: var(--die-cut); }
.bots-row b { display: block; font: 700 1.3rem var(--head); color: var(--on-forest); }
.bots-row span { font-weight: 700; color: var(--lime); }
.bots-light { margin-top: 0; }
.bots-light b { color: var(--ink); }
.bots-light span { color: var(--leaf-deep); }

/* Home: the Academy as a small "new" band near the bottom */
.academy-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.academy-teaser h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.academy-teaser p { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.new-tag { display: inline-block; font: 700 0.85rem var(--head); background: var(--grape); color: #fff; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.mini-bots { list-style: none; display: flex; gap: 18px; margin: 6px 0 26px; }
.mini-bots li { text-align: center; }
.mini-bots img { height: 64px; width: auto; margin: 0 auto 4px; filter: var(--die-cut); }
.mini-bots span { font: 600 0.9rem var(--head); }
.teaser-shot { margin: 0; background: var(--white); border-radius: 18px; padding: 6px; box-shadow: 0 16px 30px -18px rgba(60, 30, 140, 0.55); }
.teaser-shot img { border-radius: 13px; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top center; }
.page-hero-photo .shot { object-position: top center; }

/* Each workshop and its matching Academy lesson */
.at-home { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.at-home li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 12px; }
.at-home img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.at-home b { display: block; font: 600 1.12rem var(--head); }
.at-home span { display: block; font-size: 0.93rem; color: var(--muted); line-height: 1.4; }

/* ───────── Voices ───────── */
.pullquote { margin: 0 auto 48px; max-width: 900px; text-align: center; }
.pullquote p { font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--head); margin-bottom: 16px; }
.pullquote p::before { content: "“"; color: var(--leaf-deep); }
.pullquote p::after { content: "”"; color: var(--leaf-deep); }
.pullquote footer { font-weight: 800; color: var(--leaf-deep); }
.quote-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; height: 100%; padding: 24px 24px 20px; background: var(--white); border-radius: var(--r-md); border-top: 6px solid var(--leaf); display: flex; flex-direction: column; }
.quote p { margin-bottom: 14px; }
.quote footer { margin-top: auto; font: 700 0.95rem var(--head); color: var(--leaf-deep); }
.quote-volunteer { border-top-color: var(--grape); }
.quote-volunteer footer { color: var(--grape-deep); }

/* ───────── Timeline (2023 → 2025) ───────── */
.years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.year { background: var(--white); border-radius: var(--r-lg); padding: 26px 26px 22px; border: 2px solid var(--line); }
.year h3 { font-size: 2.6rem; color: var(--leaf-deep); margin-bottom: 14px; }
.year ul { list-style: none; display: grid; gap: 10px; }
.year li { position: relative; padding-left: 24px; font-weight: 700; }
.year li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); }
.year li.is-partner::before { background: var(--grape); }
.years-key { margin-top: 18px; font-size: 0.92rem; font-weight: 700; color: var(--muted); }
.years-key span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin: 0 6px 0 14px; vertical-align: -1px; background: var(--leaf); }
.years-key span:first-child::before { margin-left: 0; }
.years-key .k-partner::before { background: var(--grape); }

/* ───────── Growth bars (Impact) ───────── */
.growth { padding: 26px 28px 18px; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); }
.growth-key { display: flex; gap: 18px; margin-bottom: 18px; font-weight: 800; font-size: 0.9rem; }
.growth-key span::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.k-then::before { background: #cfd8c9; }
.k-now::before { background: var(--leaf); }
.g-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 14px; align-items: center; padding: 8px 0; }
.g-row + .g-row { border-top: 2px dashed #eef0e6; }
.g-label { font: 600 1.05rem var(--head); }
.g-bars { display: grid; gap: 6px; }
.bar { display: block; width: var(--v); min-width: 3.2em; border-radius: 10px; padding: 4px 10px; font: 700 0.95rem var(--head); text-align: right; }
.bar.then { background: #e6ebe1; color: var(--muted); }
.bar.now { background: var(--leaf); color: var(--ink); }
.g-note { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; }

/* How we measure (Impact) */
.methods { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: m; }
.methods li { counter-increment: m; background: var(--white); border-radius: var(--r-md); padding: 18px 16px 16px; border: 2px solid var(--line); }
.methods li::before { content: counter(m); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; font: 700 1rem var(--head); background: var(--lime); color: var(--forest); }
.methods b { display: block; font: 600 1.08rem var(--head); margin-bottom: 4px; }
.methods span { font-size: 0.92rem; color: var(--muted); line-height: 1.4; display: block; }

/* ───────── Ways to get involved ───────── */
.ways { list-style: none; display: grid; gap: 14px; }
.way {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 22px; align-items: center;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px 22px 16px 16px;
}
.way img { width: 92px; height: 92px; object-fit: contain; filter: var(--die-cut); }
.way h3 { margin-bottom: 4px; }
.way p { margin: 0; color: var(--muted); }

/* Home: what we do, four blocks */
.offer { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer li { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 22px 20px 20px; }
.offer img { height: 72px; width: auto; margin-bottom: 12px; filter: var(--die-cut); }
.offer h3 { font-size: 1.3rem; margin-bottom: 6px; }
.offer p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

/* Home: what changes, with two quotes */
.change-quotes { display: grid; gap: 18px; }
.change-quotes .quote { background: var(--butter); }

/* Home: four small ways in, each to its part of Get involved */
.join-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.join-cards a {
  display: grid; justify-items: start; gap: 2px; height: 100%; text-decoration: none;
  background: var(--white); border: 3px solid var(--ink); border-radius: var(--r-md); padding: 18px; box-shadow: 0 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.join-cards a:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.join-cards img { height: 60px; width: auto; margin-bottom: 8px; filter: var(--die-cut); }
.join-cards b { font: 700 1.25rem var(--head); }
.join-cards span { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.photo-tall { max-height: 560px; }
.methods-3 { grid-template-columns: repeat(3, 1fr); }
.methods a { color: var(--leaf-deep); font-weight: 700; }

/* ───────── About ───────── */
.mission { font: 600 clamp(1.35rem, 2.6vw, 1.9rem)/1.4 var(--head); max-width: 34em; margin: 0 0 18px; }
.members { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.member { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 18px 16px; display: flex; gap: 14px; align-items: center; }
.m-initial { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem var(--head); color: #fff; background: var(--bot, var(--leaf-deep)); }
.member div b { display: block; font: 600 1.15rem var(--head); line-height: 1.2; }
.member div span { display: block; font-size: 0.9rem; font-weight: 700; color: var(--muted); line-height: 1.3; }
.steps-3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s3; margin: 26px 0 30px; }
.steps-3 li { counter-increment: s3; background: rgba(243, 251, 230, 0.08); border: 2px solid rgba(243, 251, 230, 0.2); border-radius: var(--r-md); padding: 18px; }
.steps-3 li::before { content: counter(s3); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; font: 700 1rem var(--head); background: var(--lime); color: var(--forest); }
.steps-3 b { display: block; font: 600 1.15rem var(--head); color: var(--on-forest); margin-bottom: 4px; }
.steps-3 span { color: var(--on-forest-muted); font-size: 0.97rem; line-height: 1.45; display: block; }
.poster { margin: 0; }
.poster img { width: 100%; max-width: 380px; margin-left: auto; border-radius: var(--r-md); transform: rotate(2deg); box-shadow: 0 0 0 6px var(--white), 0 22px 40px -18px rgba(0, 0, 0, 0.6); }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--white); border: 2px solid var(--line); border-radius: var(--r-md); padding: 4px 22px; }
.faq summary { cursor: pointer; font: 600 1.18rem var(--head); padding: 14px 0; list-style-position: outside; }
.faq details[open] summary { color: var(--leaf-deep); }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 36px; background: var(--lilac); border-radius: var(--r-lg); }
.cta-band img { width: 108px; filter: var(--die-cut); transform: rotate(-8deg); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--muted); }

/* ───────── Footer ───────── */
.site-footer { background: var(--forest-3); color: #dcebd2; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 58px; height: auto; }
.footer-brand b { display: block; font: 700 1.35rem var(--head); color: #fff; }
.footer-slogan { display: block; font: 600 1rem var(--head); color: var(--lime); margin: 2px 0 8px; }
.footer-brand p { margin: 0; font-size: 0.95rem; color: #bcd3b0; }
.footer-col h2 { font: 700 0.85rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: #a9c29c; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 6px; }
.footer-col a { text-decoration: none; font-weight: 700; color: #e9f5e0; }
.footer-col a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: #a9c29c; }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost img { width: 150px; margin: 0 auto 18px; filter: var(--die-cut); transform: rotate(-8deg); }

/* Reveal on scroll (script.js adds .reveal-up only below the fold) */
.js .reveal-up { opacity: 0; translate: 0 22px; transition: opacity 0.6s ease, translate 0.6s ease; }
.js .reveal-up.in { opacity: 1; translate: 0 0; }

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .nav-toggle {
    display: grid; gap: 5px; width: 46px; height: 46px; padding: 12px 11px;
    border: 3px solid var(--forest-3); border-radius: 14px; background: var(--lime); cursor: pointer; box-shadow: 0 3px 0 var(--forest-3);
  }
  .nav-toggle span { display: block; height: 3px; background: var(--forest); border-radius: 2px; }
  .nav-links {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--forest-2); border-radius: var(--r-md); padding: 12px;
    box-shadow: 0 0 0 3px var(--lime), 0 24px 40px -18px rgba(0, 0, 0, 0.6);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px 14px; font-size: 1.08rem; }
  .nav-links .btn { margin: 8px 0 0; }
  .methods { grid-template-columns: repeat(3, 1fr); }
  .years { grid-template-columns: repeat(2, 1fr); }
  .rhythm { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .rhythm::before { display: none; }
  .partner-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .offer, .join-cards { grid-template-columns: repeat(2, 1fr); }
  .at-home { grid-template-columns: minmax(0, 1fr); }
  .rhythm-short { grid-template-columns: repeat(6, 1fr); }
  .rhythm-short::before { display: block; }
}

@media (max-width: 960px) {

  .intro, .split, .page-hero-grid, .academy-grid, .ws-cols { grid-template-columns: minmax(0, 1fr); }
  .academy-teaser { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rhythm-short { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .rhythm-short::before { display: none; }
  .intro { gap: 14px; }
  .album { grid-template-columns: repeat(2, 1fr); }
  .album > li .wcard { transform: none !important; }
  .numbers { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .deck-shelf, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .steps-3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: span 2; }
  .cta-band { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .poster img { margin: 0 auto; }

  /* The hero photo sits above the headline instead of behind it */
  .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .hero-photo figcaption { position: static; text-align: left; color: var(--on-forest-muted); text-shadow: none; padding: 10px 16px 0; background: var(--forest); max-width: none; }
  .hero-panel { position: relative; left: auto; width: auto; border-radius: 0; padding: 70px 16px 48px; }
  .hero-bots { left: 16px; top: -56px; }
  .hero-bots img { width: 64px; }
  .hero-bots img:nth-child(n + 2) { width: 56px; }

  .curr-headrow { display: none; }
  .curr-row { grid-template-columns: 1fr repeat(3, 44px); grid-template-areas: "t a b c" "l a b c" "s a b c"; row-gap: 2px; }
  .curr-row > :nth-child(1) { grid-area: t; }
  .curr-row > :nth-child(2) { grid-area: l; font-size: 0.9rem; color: var(--muted); }
  .curr-row > :nth-child(3) { grid-area: s; font-size: 0.9rem; font-weight: 700; }
  .curr-row > :nth-child(4) { grid-area: a; }
  .curr-row > :nth-child(5) { grid-area: b; }
  .curr-row > :nth-child(6) { grid-area: c; }
  .curr-row .lv { color: #c9d3c4; font-size: 0.8rem; font-weight: 800; }
  .curr-row .lv::before { content: attr(data-lv); display: block; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section-tight { padding: 56px 0; }
  .brand-name { font-size: 1.05rem; }
  .brand-name b { font-size: 1.15rem; }
  .brand img { width: 40px; }
  .album, .years { grid-template-columns: minmax(0, 1fr); }
  .numbers { gap: 22px 14px; }
  .number { padding-left: 12px; }
  .methods, .rhythm { grid-template-columns: minmax(0, 1fr); }
  .partner-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer, .join-cards { grid-template-columns: minmax(0, 1fr); }
  .rhythm-short { grid-template-columns: repeat(2, 1fr); }
  .rhythm-short li { padding: 0 0 0 58px; min-height: 46px; display: flex; align-items: center; }
  .methods-3 { grid-template-columns: minmax(0, 1fr); }
  .mini-bots { gap: 12px; }
  .mini-bots img { height: 52px; }
  .rhythm li { padding: 0 0 0 62px; min-height: 46px; }
  .way { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; }
  .way img { width: 64px; height: 64px; }
  .way .btn, .way .text-link { grid-column: 1 / -1; justify-self: start; }
  .bots-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .bots-row img { height: 104px; }
  .card-fan img { width: 92px; margin: 0 -18px; }
  .screens { grid-template-columns: minmax(0, 1fr); }
  .screens figure:first-child { grid-column: auto; }
  .partner-row { grid-template-columns: 72px minmax(0, 1fr); padding: 14px; }
  .partner-row img, .partner-row .logo-text { width: 72px; height: 60px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .page-hero { padding: 56px 0 64px; }
  .page-hero-photo .bot { width: 80px; left: -6px; bottom: -22px; }
  .slide { flex-basis: 88%; }
  .deck-bar { padding: 0 16px 12px; flex-wrap: wrap; }
  .deck-track { padding-inline: 16px; scroll-padding-inline: 16px; }
  .deck-title { display: none; }
  .deck-count { margin-left: 0; }
  .deck-nav { margin-left: auto; }
  .ws-card { padding: 20px 18px; }
  .ws-tabs .tab { grid-template-columns: 64px 1fr; }
  .ws-tabs .tab img { width: 64px; }
  .lb-close { right: 4px; top: 4px; }
  .cta-band { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bots img { animation: none; }
  .deck-track { scroll-behavior: auto; }
  .js .reveal-up { opacity: 1; translate: none; transition: none; }
  .wcard, .deck-cover-img::before, .deck-cover-img::after, .card-fan img { transition: none; }
}
