/* My AI Steps homepage v3
   Stage 1: page shell, nav, hero, footer.
   Stage 2: "From my drawing to AI".
   Stage 3: workshop, characters and shorts, grown-ups, partner.
   Standalone: does not depend on site.css. */

/* ---------- Brand tokens ---------- */
:root {
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --line: #EFE9DD;

  --ink: #3E3E3F;
  --ink-body: #4A4A4C;
  --ink-soft: #545455;
  --ink-mute: #6E6E70;

  --green: #4E7A60;        /* buttons, links, focus ring */
  --green-hover: #426A53;
  --green-ink: #2F5A43;    /* text on pale green / white */
  --green-pale: #E5EDE7;
  --sage: #679378;

  --coral: #F08179;
  --coral-text: #D95B52;
  --coral-deep: #B8473F;
  --mustard: #F5C061;
  --mustard-pale: #FBF0DC;
  --mint: #88C9B9;
  --blush: #FDECEA;
  --paper: #FFFDF8;        /* behind the AI pictures */
  --drawing-bg: #DDE1CC;   /* behind the children's drawings while they load */
  --line-strong: #CFC7B6;  /* chip outline */
  --line-thumb: #E8E2D7;
  --wrong-bg: #FCE7E4;
  --wrong-ink: #8F342E;
  --ochre: #B27C12;            /* workshop card number 2 */
  --teal: #3E8E7A;             /* workshop card number 4 */
  --partner-eyebrow: #A83F38;  /* eyebrow on the blush band */

  --font-display: 'Baloo 2', 'Avenir Next Rounded', 'Trebuchet MS', sans-serif;
  --font-body: 'Lexend', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;

  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1180px;

  --shadow-rgb: 62, 62, 63;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

.page {
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { max-width: 100%; }

a { color: var(--green); }
a:hover { color: var(--coral-deep); }

button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 12px;
}

main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 16px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transform: translateY(-110%);
}
.skip-link:focus-visible {
  transform: none;
  color: var(--white);
  border-radius: 0 0 12px 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--green);
}
.btn:focus-visible { border-radius: 999px; }

.btn--solid { background: var(--green); color: var(--white); }
.btn--solid:hover { background: var(--green-hover); border-color: var(--green-hover); color: var(--white); }

.btn--outline { background: var(--white); color: var(--green-ink); }
.btn--outline:hover { background: var(--green-pale); color: var(--green-ink); }

.btn--lg { font-size: 16px; padding: 13px 26px; }
.btn--md { font-size: 16px; padding: 12px 24px; }

/* ---------- Nav ---------- */
.nav-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.nav__brand img { width: 150px; height: auto; display: block; }

.nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}
.nav__menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
}
.nav__menu a:hover { color: var(--green-ink); }

.nav__cta { padding: 9px 20px; }

.nav__toggle { display: none; }

@media (max-width: 720px) {
  /* Collapsed menu only when JS is running; without it the links simply wrap. */
  .js .nav {
    padding: 10px 16px;
    gap: 0 8px;
  }
  .js .nav__brand img { width: 104px; }

  .js .nav__toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
  }
  .js .nav__toggle:focus-visible { border-radius: 999px; }
  .js .nav__toggle[aria-expanded="true"] {
    background: var(--green-pale);
    border-color: var(--green-pale);
    color: var(--green-ink);
  }

  .js .nav__cta {
    order: 3;
    padding: 0 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .js .nav__menu {
    order: 4;
    flex: 1 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 10px;
    font-size: 16px;
  }
  .js .nav.is-open .nav__menu { display: flex; }
  .js .nav__menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 380px) {
  .js .nav { padding: 10px 14px; gap: 0 6px; }
  .js .nav__brand img { width: 96px; }
  .js .nav__toggle { padding: 0 11px; }
  .js .nav__cta { padding: 0 12px; font-size: 13.5px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(48px, 6vw, 88px);
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
}

.hero__text { flex: 1 1 400px; min-width: 0; }
.hero__art { flex: 1.2 1 440px; min-width: 0; }

.hero__pill {
  margin: 0 0 20px;
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero__ready { color: var(--coral-text); }

.hero__lede {
  margin: 0 0 30px;
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-body);
  max-width: 30em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__held {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 30em;
}
.hero__held svg {
  flex: none;
  margin-top: 2px;
  color: var(--green);
}

/* ---------- Hero collage ---------- */
.collage {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 1 / 0.86;
}

.collage__blob {
  position: absolute;
  left: 6%;
  top: 8%;
  width: 88%;
  height: 84%;
  background: var(--green-pale);
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
}

.collage__dot {
  position: absolute;
  right: 30%;
  top: 2%;
  width: 9%;
  aspect-ratio: 1 / 1;
  background: var(--mustard);
  border-radius: 50%;
}

.photo {
  --r: 0deg;          /* resting angle */
  --radius: 20px;
  position: absolute;
  z-index: 1;
  box-sizing: content-box; /* widths are the photo; the white border sits outside, as in the reference */
  border: 6px solid var(--white);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(var(--shadow-rgb), 0.16);
  transform: rotate(var(--r));
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}
/* Deeper shadow lives on a layer so hover only animates opacity. */
.photo::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: var(--radius);
  box-shadow: 0 24px 44px rgba(var(--shadow-rgb), 0.26);
  opacity: 0;
  pointer-events: none;
}

.photo--lead {
  --r: -3deg;
  --radius: 22px;
  left: 0;
  top: 17%;
  width: 66%;
  aspect-ratio: 5 / 4;
  box-shadow: 0 14px 34px rgba(var(--shadow-rgb), 0.16);
}
.photo--laptop {
  --r: 4deg;
  right: 1%;
  top: 0;
  width: 33%;
  aspect-ratio: 4 / 5;
}
.photo--laptop img { object-position: 60% 40%; }
.photo--group {
  --r: -2deg;
  right: 0;
  bottom: 0;
  width: 39%;
  aspect-ratio: 1 / 1.02;
}
.photo--group img { object-position: 45% 60%; }

.collage__nori {
  position: absolute;
  z-index: 3;
  left: -3%;
  bottom: -2%;
  width: 35%;
  transform-origin: 50% 100%;
}
.collage__bobo {
  position: absolute;
  z-index: 3;
  left: 47%;
  top: 1%;
  width: 19%;
}
.collage__nori img,
.collage__bobo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) {
  .photo { transition: transform 200ms ease; }
  .photo::after { transition: opacity 200ms ease; }
  .photo:hover { transform: translateY(-6px) rotate(0deg); z-index: 2; }
  .photo:hover::after { opacity: 1; }
}

/* ---------- Motion ----------
   transform and opacity only (plus one stacking flip for Nori, see below).
   Entrance is pure CSS, so it runs once per page load and never replays. */

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fly {
  0%, 100% { transform: translate(0, 0) rotate(-5deg); }
  50% { transform: translate(8px, -14px) rotate(4deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
}

/* Starts 28px above and 4deg past the resting angle; the easing overshoots. */
@keyframes settle-lead {
  from { transform: translateY(-28px) rotate(calc(var(--r) + var(--past))); }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(-28px) rotate(calc(var(--r) + var(--past))); }
}

/* Nori waits tucked behind the lead photo, slips out under its bottom edge,
   then hops up in front of it. z-index flips while she is clear of the photo. */
@keyframes nori-pop {
  0%   { opacity: 0; z-index: 0; transform: translate(14%, -80%) scale(0.7); }
  6%   { opacity: 1; }
  38%  { z-index: 0; transform: translate(0, 44%) scale(0.94, 1.06); }
  46%  { z-index: 0; transform: translate(0, 46%) scale(1.1, 0.86); }
  47%  { z-index: 3; }
  74%  { transform: translate(0, -10%) scale(0.95, 1.08); }
  89%  { transform: translate(0, 2%) scale(1.03, 0.97); }
  100% { opacity: 1; z-index: 3; transform: none; }
}

/* Bobo: horizontal travel decelerates on the outer box while the vertical drop
   accelerates on the inner one, which bends the path into a curve. */
@keyframes bobo-x {
  0%   { opacity: 0; transform: translateX(190%); }
  30%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes bobo-y {
  0%   { transform: translateY(-150%) rotate(22deg) scale(0.7); }
  78%  { transform: translateY(9%) rotate(-6deg) scale(1.03); }
  100% { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    --text-dur: 400ms;
    --text-step: 80ms;
    --photo-dur: 520ms;
    --photo-step: 140ms;
    --photo-ease: cubic-bezier(.2, .9, .3, 1.2);
    /* last photo lands at 2 * 140 + 520 */
    --nori-at: 800ms;
    --nori-dur: 450ms;
    --bobo-at: 1000ms;
    --bobo-dur: 700ms;
  }

  .hero__pill,
  .hero__title,
  .hero__lede,
  .hero__actions,
  .hero__held {
    animation: fade-up var(--text-dur) ease backwards;
  }
  .hero__title   { animation-delay: calc(var(--text-step) * 1); }
  .hero__lede    { animation-delay: calc(var(--text-step) * 2); }
  .hero__actions { animation-delay: calc(var(--text-step) * 3); }
  .hero__held    { animation-delay: calc(var(--text-step) * 4); }

  .photo { animation: settle var(--photo-dur) var(--photo-ease) backwards; }
  .photo--lead   { --past: -4deg; animation-name: settle-lead; }
  .photo--laptop { --past: 4deg;  animation-delay: calc(var(--photo-step) * 1); }
  .photo--group  { --past: -4deg; animation-delay: calc(var(--photo-step) * 2); }

  .collage__nori {
    animation: nori-pop var(--nori-dur) ease-out var(--nori-at) backwards;
  }
  .collage__nori img {
    animation: bob 4.2s ease-in-out calc(var(--nori-at) + var(--nori-dur)) infinite;
  }

  .collage__bobo {
    animation: bobo-x var(--bobo-dur) cubic-bezier(.15, .6, .3, 1) var(--bobo-at) backwards;
  }
  .collage__bobo-arc {
    animation: bobo-y var(--bobo-dur) cubic-bezier(.5, 0, .7, .6) var(--bobo-at) backwards;
  }
  .collage__bobo img {
    transform: rotate(-5deg); /* first frame of `fly`, so the loop starts without a jump */
    animation: fly 5.4s ease-in-out calc(var(--bobo-at) + var(--bobo-dur)) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo,
  .photo::after { transition: none; }
}

/* ---------- From my drawing to AI ---------- */
.drawing {
  background: var(--white);
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
/* Author display rules below would otherwise beat the hidden attribute. */
.drawing [hidden] { display: none !important; }

.drawing__inner { max-width: 1080px; margin: 0 auto; }

.drawing__head {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 44px;
}
.drawing__eyebrow,
.workshop__eyebrow,
.grownups__eyebrow,
.partner__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.drawing__title,
.workshop__title,
.grownups__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.12;
}
.drawing__lede,
.workshop__lede {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-body);
}

/* Labels on the first row, cards on the second, so the two cards always line
   up even when one label wraps. The arrow column spans both rows. */
.drawing__stage {
  display: grid;
  grid-template-columns: minmax(0, 400px) clamp(72px, 14vw, 190px) minmax(0, 400px);
  grid-template-rows: auto auto;
  justify-content: center;
  column-gap: 28px;
}
.drawing__label {
  grid-row: 1;
  align-self: end;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}
.drawing__label--mine { grid-column: 1; color: var(--green); }
.drawing__label--ai { grid-column: 3; color: var(--coral-deep); }
.drawing__track { grid-column: 1; grid-row: 2; }
.drawing__ai { grid-column: 3; grid-row: 2; }
.drawing__link {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

/* The "My drawing" card is the scroll-snap track itself. */
.drawing__track {
  display: flex;
  aspect-ratio: 789 / 900;
  border-radius: 24px;
  background: var(--drawing-bg);
  box-shadow: 0 12px 32px rgba(var(--shadow-rgb), 0.12);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.drawing__track::-webkit-scrollbar { display: none; }
.drawing__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.drawing__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawing__track:focus-visible,
.drawing__frame:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.drawing__words-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.drawing__words {
  margin: 0;
  background: var(--mustard-pale);
  border-radius: 20px;
  padding: 14px 18px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
}
.drawing__arrow { flex: none; display: block; color: var(--green); }

/* AI card: the frame clips the picture; the star burst sits outside it. */
.drawing__ai { position: relative; }
.drawing__frame {
  position: relative;
  aspect-ratio: 789 / 900;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(var(--shadow-rgb), 0.12);
}
/* Once revealed the card is pure white, so no cream edge shows around the picture. */
.drawing__ai[data-state="revealed"] .drawing__frame { background: var(--white); }
.drawing__ai-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawing__cover,
.drawing__making {
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.drawing__cover {
  display: none; /* needs JavaScript; without it the picture is simply shown */
  gap: 18px;
  background: var(--green-pale);
}
.js .drawing__cover { display: flex; }
.drawing__cover-bobo { display: block; width: 46%; height: auto; }
.drawing__cover p {
  margin: 0;
  font-size: 16px;
  color: var(--green-ink);
  max-width: 16em;
}
.drawing__reveal { font-size: 16px; white-space: nowrap; }

.drawing__making {
  display: flex;
  gap: 16px;
  background: var(--paper);
}
.drawing__making-bobo { display: block; width: 40%; height: auto; }
.drawing__making-text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--green-ink);
}
.drawing__twinkle { position: absolute; opacity: 0.6; }
.drawing__twinkle--1 { left: 12%; top: 14%; width: 38px; height: 38px; fill: var(--mustard); }
.drawing__twinkle--2 { right: 14%; top: 20%; width: 26px; height: 26px; fill: var(--coral); animation-delay: 0.3s; }
.drawing__twinkle--3 { left: 20%; bottom: 20%; width: 28px; height: 28px; fill: var(--mint); animation-delay: 0.55s; }
.drawing__twinkle--4 { right: 18%; bottom: 16%; width: 42px; height: 42px; fill: var(--mustard); animation-delay: 0.15s; }
.drawing__twinkle--5 { left: 44%; top: 8%; width: 20px; height: 20px; fill: var(--coral); animation-delay: 0.7s; }
.drawing__twinkle--6 { right: 8%; top: 48%; width: 22px; height: 22px; fill: var(--mint); animation-delay: 0.45s; }

/* Burst origin matches the centre of the develop circle. */
.drawing__burst {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.drawing__burst svg {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0;
  fill: var(--mustard);
}
.drawing__burst svg:nth-child(3n + 2) { fill: var(--coral); }
.drawing__burst svg:nth-child(3n) { fill: var(--mint); }

/* Thumbnails: a third grid row under both cards. */
.drawing__thumbs {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.drawing__thumbs p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.drawing__thumb-list { display: flex; gap: 14px; }
.drawing__thumb {
  width: 68px;
  height: 76px;
  padding: 0;
  border: 3px solid var(--line-thumb);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}
.drawing__thumb[aria-pressed="true"] { border-color: var(--green); }
.drawing__thumb:focus-visible { border-radius: 14px; }
.drawing__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Game */
.drawing__game {
  margin: 36px auto 0;
  max-width: 860px;
  background: var(--cream);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 36px);
}
.drawing__game-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.drawing__game-hint {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--ink-soft);
}
.drawing__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.drawing__chip {
  text-align: left;
  min-height: 48px;
  padding: 10px 18px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
}
.drawing__chip:focus-visible { border-radius: 16px; }
.drawing__chip span { display: block; }
.drawing__chip-mark { font-size: 13px; font-weight: 600; }
.drawing__chip-mark:empty { display: none; }
.drawing__chip.is-right {
  background: var(--green-pale);
  border-color: var(--green);
  color: var(--green-ink);
}
.drawing__chip.is-wrong {
  background: var(--wrong-bg);
  border-color: var(--coral-deep);
  color: var(--wrong-ink);
}
.drawing__status {
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-ink);
}
.drawing__lesson {
  position: relative;
  margin-top: 14px;
}
.drawing__lesson p {
  margin: 0;
  background: var(--mustard);
  color: var(--ink);
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}
.drawing__lesson-star { position: absolute; }
.drawing__lesson-star--1 { right: 18px; top: -15px; width: 26px; height: 26px; fill: var(--coral); }
.drawing__lesson-star--2 { right: -9px; top: -6px; width: 20px; height: 20px; fill: var(--mint); }
.drawing__lesson-star--3 { right: -7px; bottom: -9px; width: 16px; height: 16px; fill: var(--coral); }

/* Narrow three-column row: keep the button on one line inside a small card. */
@media (min-width: 721px) and (max-width: 860px) {
  .drawing__cover { padding: 20px 12px; }
  .drawing__reveal { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 720px) {
  .drawing__stage { grid-template-columns: minmax(0, 400px); grid-template-rows: none; }
  .drawing__label,
  .drawing__track,
  .drawing__thumbs,
  .drawing__link,
  .drawing__ai { grid-column: 1; grid-row: auto; }
  /* Thumbnails sit directly under the drawing, above the arrow. */
  .drawing__thumbs { margin-top: 16px; }
  .drawing__link { margin: 16px 0 14px; }
  /* The arrow points down; the box keeps the rotated arrow's height. */
  .drawing__arrow { transform: rotate(90deg); margin: 24px 0; }
}

/* ---------- Drawing section motion ----------
   transform and opacity only, except `develop`, which is allowed clip-path
   and filter on the one AI picture being revealed. */
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}
@keyframes twinkle-once {
  0% { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  55% { opacity: 1; transform: scale(1.3) rotate(20deg); }
}
@keyframes dots {
  0%, 20% { opacity: 0.25; }
  50% { opacity: 1; }
  80%, 100% { opacity: 0.25; }
}
@keyframes develop {
  0% { clip-path: circle(0% at 50% 58%); filter: blur(16px) saturate(0.3); transform: scale(1.08); }
  60% { filter: blur(4px) saturate(0.9); }
  100% { clip-path: circle(85% at 50% 58%); filter: none; transform: none; }
}
@keyframes burst {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); }
}
@keyframes card-pop {
  40% { transform: scale(1.02); }
}
@keyframes lesson-pop {
  0% { opacity: 0; transform: scale(0.92); }
  60% { opacity: 1; transform: scale(1.03); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Entrance timings, shared by every section that enters on scroll. */
  .drawing,
  .workshop,
  .chars,
  .grownups,
  .partner {
    --text-dur: 400ms;
    --text-step: 80ms;
    --card-dur: 520ms;
    --card-step: 140ms;
    --card-at: 240ms;
    --card-ease: cubic-bezier(.2, .9, .3, 1.2);
  }

  /* Entrance on scroll. JS adds is-waiting on load, then swaps it for is-in once. */
  .drawing.is-waiting .drawing__head,
  .drawing.is-waiting .drawing__stage,
  .drawing.is-waiting .drawing__thumbs { opacity: 0; }

  .drawing.is-in .drawing__eyebrow,
  .drawing.is-in .drawing__title,
  .drawing.is-in .drawing__lede,
  .drawing.is-in .drawing__label,
  .drawing.is-in .drawing__link,
  .drawing.is-in .drawing__thumbs {
    animation: fade-up var(--text-dur) ease backwards;
  }
  .drawing.is-in .drawing__title { animation-delay: calc(var(--text-step) * 1); }
  .drawing.is-in .drawing__lede  { animation-delay: calc(var(--text-step) * 2); }

  .drawing.is-in .drawing__track,
  .drawing.is-in .drawing__ai {
    --r: 0deg;
    animation: settle var(--card-dur) var(--card-ease) var(--card-at) backwards;
  }
  .drawing.is-in .drawing__track { --past: -3deg; }
  .drawing.is-in .drawing__ai    { --past: 3deg; animation-delay: calc(var(--card-at) + var(--card-step)); }
  .drawing.is-in .drawing__label--mine { animation-delay: var(--card-at); }
  .drawing.is-in .drawing__label--ai   { animation-delay: calc(var(--card-at) + var(--card-step)); }
  .drawing.is-in .drawing__link        { animation-delay: calc(var(--card-at) + var(--card-step) + var(--card-dur) - 200ms); }
  .drawing.is-in .drawing__thumbs      { animation-delay: calc(var(--card-at) + var(--card-step) + var(--card-dur) - 100ms); }

  .drawing__cover-bobo { animation: bob 4.2s ease-in-out infinite; }

  /* Making */
  .drawing__making-bobo { animation: fly 5.4s ease-in-out infinite; }
  .drawing__twinkle {
    animation-name: twinkle;
    animation-duration: 1.1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }
  .drawing__dots span { animation: dots 1.2s ease-in-out infinite; }
  .drawing__dots span:nth-child(2) { animation-delay: 0.2s; }
  .drawing__dots span:nth-child(3) { animation-delay: 0.4s; }

  /* Reveal */
  .drawing__ai-img.is-developing { animation: develop 1.5s cubic-bezier(.2, .7, .2, 1) both; }
  .drawing__ai.is-bursting .drawing__frame { animation: card-pop 450ms ease-out; }
  .drawing__ai.is-bursting .drawing__burst svg {
    animation: burst 900ms cubic-bezier(.15, .7, .3, 1) var(--d) both;
  }

  /* Game */
  .drawing__game.is-entering { animation: fade-up 400ms ease var(--game-delay, 0ms) backwards; }
  .drawing__lesson.is-fresh p { animation: lesson-pop 420ms var(--card-ease) backwards; }
  .drawing__lesson.is-fresh .drawing__lesson-star { animation: twinkle-once 700ms ease-out 250ms backwards; }
  .drawing__lesson.is-fresh .drawing__lesson-star--2 { animation-delay: 400ms; }
  .drawing__lesson.is-fresh .drawing__lesson-star--3 { animation-delay: 550ms; }
}

/* ---------- Inside a workshop ---------- */
.workshop { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.workshop__inner { max-width: var(--wrap); margin: 0 auto; }

.workshop__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 40px;
}
.workshop__intro { flex: 1 1 420px; min-width: 0; max-width: 40em; }
.workshop__mimi { flex: none; width: 150px; }
.workshop__mimi img { display: block; width: 100%; height: auto; }

.workshop__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (min-width: 1100px) {
  .workshop__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.workshop__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
}
.workshop__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.workshop__photo--hand { object-position: 50% 80%; }
.workshop__photo--table-close { object-position: 50% 70%; }
.workshop__photo--privacy { object-position: 30% 30%; }

.workshop__body { padding: 20px 22px 24px; }
.workshop__num {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.workshop__num--2 { background: var(--ochre); }
.workshop__num--3 { background: var(--coral-deep); }
.workshop__num--4 { background: var(--teal); }
.workshop__card-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.workshop__text { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

.workshop__dots { display: none; }

@media (max-width: 720px) {
  /* Mimi sits beside the heading instead of taking a row of her own. The intro
     wrapper drops out so its children and Mimi share one grid. */
  .workshop__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    align-items: center;
    gap: 0 14px;
    margin-bottom: 28px;
  }
  .workshop__intro { display: contents; }
  .workshop__eyebrow,
  .workshop__lede { grid-column: 1 / -1; }
  .workshop__title { grid-column: 1; grid-row: 2; }
  .workshop__mimi { grid-column: 2; grid-row: 2; width: 88px; margin-bottom: 16px; }

  /* Swipe carousel. The track runs to the screen edges so the next card peeks in. */
  .workshop__track {
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    scroll-padding: 0 var(--gutter);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .workshop__track::-webkit-scrollbar { display: none; }
  .workshop__card {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
  }

  .workshop__dots {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }
  /* 44px touch target around a 10px dot. */
  .workshop__dot {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
  }
  .workshop__dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--line-strong);
  }
  .workshop__dot[aria-pressed="true"]::before {
    background: var(--green);
    transform: scale(1.4);
  }
  .workshop__dot:focus-visible { outline-offset: -6px; border-radius: 50%; }
}

/* Scrolling tracks that run edge to edge keep their focus ring inside. */
.workshop__track:focus-visible,
.chars__track:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
  border-radius: 24px;
}

/* ---------- Meet the Characters ---------- */
.chars {
  background: var(--white);
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.chars [hidden] { display: none !important; }
.chars__inner { max-width: var(--wrap); margin: 0 auto; }

.chars__picker {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 64px;
}
.chars__intro { flex: 1 1 260px; min-width: 0; }
.chars__track { flex: 2.2 1 440px; min-width: 0; }

.chars__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.05;
  color: var(--sage);
}
.chars__lede {
  margin: 0 0 26px;
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-mute);
}

.chars__names { display: flex; flex-wrap: wrap; gap: 6px; }
.chars__pill {
  flex: 1 1 100%;
  text-align: left;
  min-height: 48px;
  padding: 10px 22px;
  border: 2.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 20px;
  font-weight: 500;
}
.chars__pill:focus-visible { border-radius: 999px; }
.chars__pill[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.chars__pill--nori { --accent: var(--sage); }
.chars__pill--mimi { --accent: var(--green); }
.chars__pill--bobo { --accent: var(--coral); }
.chars__pill--pico { --accent: var(--mustard); }

/* Without JavaScript all four cards show, two by two. */
.chars__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.chars__card { min-width: 0; }
.chars__card--nori { --card: #FAF3D6; --tone: #57806A; --fig: 58%; }
.chars__card--mimi { --card: #F7E5E5; --tone: var(--green); --fig: 40%; }
.chars__card--bobo { --card: #D9DFCB; --tone: #C94F47; --fig: 40%; }
.chars__card--pico { --card: #E2EFE8; --tone: #A8740F; --fig: 60%; }

.chars__art {
  aspect-ratio: 5 / 3.4;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 12px 32px rgba(var(--shadow-rgb), 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chars__figure { display: block; width: var(--fig); }
.chars__figure img { display: block; width: 100%; height: auto; }
.chars__name {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  color: var(--tone);
}
.chars__role {
  margin: 0 0 8px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  color: var(--tone);
}
.chars__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

@media (min-width: 721px) {
  /* With JavaScript the cards share one cell and only the chosen one shows. */
  .js .chars__track { grid-template-columns: minmax(0, 1fr); }
  .js .chars__card { grid-area: 1 / 1; }
  .js .chars__card:not(.is-active) { visibility: hidden; }
}

@media (max-width: 720px) {
  .chars__picker { gap: 22px; }
  .chars__intro,
  .chars__track { flex: 1 1 100%; }
  .chars__lede { margin-bottom: 20px; }

  /* Four pills in one row. */
  .chars__names { flex-wrap: nowrap; }
  .chars__pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
    text-align: center;
    font-size: 17px;
  }

  /* Swipe carousel, one card per screen. The track runs to the screen edges
     so the card's shadow is not cut off; the gap keeps the neighbours' shadows
     off screen. */
  .chars__track {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--gutter) + 36px);
    margin: -8px calc(-1 * var(--gutter)) 0;
    padding: 8px var(--gutter) 4px;
    scroll-padding: 0 var(--gutter);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chars__track::-webkit-scrollbar { display: none; }
  .chars__card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .chars__name { margin-top: 22px; }
}

/* ---------- Watch the shorts ---------- */
.shorts { margin-top: clamp(48px, 6vw, 72px); }
.shorts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 22px;
}
.shorts__heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
}
.shorts__all {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15.5px;
  font-weight: 600;
}

.shorts__row {
  list-style: none;
  margin: 0;
  padding: 4px 4px 14px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 4px;
  -webkit-overflow-scrolling: touch;
}
.shorts__row li {
  flex: 0 0 auto;
  width: min(250px, 68vw);
  scroll-snap-align: start;
}
.shorts__tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.shorts__tile:hover { color: var(--ink); }
.shorts__tile:focus-visible { outline-offset: 1px; border-radius: 24px; }
.shorts__poster {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--green-pale);
  box-shadow: 0 12px 28px rgba(var(--shadow-rgb), 0.12);
}
.shorts__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Centred by its margins so hover can use transform. */
.shorts__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(var(--shadow-rgb), 0.18);
}
.shorts__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
}
.shorts__text { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- For grown-ups ---------- */
.grownups { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.grownups__inner { max-width: var(--wrap); margin: 0 auto; }
.grownups__head { max-width: 40em; margin-bottom: 36px; }
.grownups__title { margin-bottom: 0; }

.grownups__cards { display: flex; flex-wrap: wrap; gap: 24px; }
.grownups__card {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 38px);
}
.grownups__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
}
.grownups__note { margin: 0; font-size: 16px; color: var(--ink-soft); }
.grownups__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16.5px;
}
.grownups__list li { display: flex; align-items: flex-start; gap: 12px; }
.grownups__list svg { flex: none; margin-top: 2px; color: var(--green); }

.grownups__bring { display: flex; flex-wrap: wrap; gap: 16px; }
.grownups__bring-box {
  flex: 1 1 150px;
  border-radius: 18px;
  padding: 16px 18px;
}
.grownups__bring-box--you { background: var(--mustard-pale); }
.grownups__bring-box--we { background: var(--green-pale); }
.grownups__bring-box p { margin: 0; font-size: 15.5px; color: var(--ink-body); }
.grownups__bring-box .grownups__bring-label {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.grownups__action { margin-top: auto; padding-top: 8px; }

/* ---------- Partner ---------- */
.partner {
  background: var(--blush);
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.partner__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 56px;
}
.partner__pico { flex: 0 1 300px; width: 300px; max-width: 70%; }
.partner__pico img { display: block; width: 100%; height: auto; }
.partner__text { flex: 1 1 420px; min-width: 0; }
.partner__eyebrow { margin-bottom: 12px; color: var(--partner-eyebrow); }
.partner__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}
.partner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.partner__actions .btn { text-align: center; }
.partner__write { margin: 0; font-size: 15.5px; color: var(--ink-body); }
.partner__write a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-ink);
  font-weight: 500;
}
.partner__write a:hover { color: var(--coral-deep); }

/* ---------- Stage 3 hover ---------- */
@media (hover: hover) {
  .chars__pill:hover { color: var(--ink); }
  .shorts__tile:hover .shorts__play { transform: scale(1.1); }
}

/* ---------- Stage 3 motion ----------
   transform and opacity only. Entrances follow the #drawing pattern: JS adds
   is-waiting on load, then swaps it for is-in the first time the section is seen. */
@keyframes fade {
  from { opacity: 0; }
}
@keyframes hop {
  35% { transform: translateY(-14px) scale(0.97, 1.04); }
  70% { transform: translateY(0) scale(1.03, 0.97); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Idle */
  .workshop__mimi img,
  .partner__pico img,
  .chars__figure img { animation: bob 4.2s ease-in-out infinite; }
  .chars__card--bobo .chars__figure img { animation: fly 5.4s ease-in-out infinite; }
  .chars__figure.is-hopping { animation: hop 450ms ease-out; }
  .workshop__dot::before,
  .shorts__play { transition: transform 200ms ease; }

  /* Waiting */
  .workshop.is-waiting .workshop__inner,
  .chars.is-waiting .chars__picker,
  .shorts.is-waiting,
  .grownups.is-waiting .grownups__inner,
  .partner.is-waiting .partner__inner { opacity: 0; }

  /* Text and small pieces fade up in turn */
  .workshop.is-in .workshop__eyebrow,
  .workshop.is-in .workshop__title,
  .workshop.is-in .workshop__lede,
  .workshop.is-in .workshop__mimi,
  .workshop.is-in .workshop__dots,
  .chars.is-in .chars__title,
  .chars.is-in .chars__lede,
  .chars.is-in .chars__names,
  .shorts.is-in .shorts__head,
  .shorts.is-in .shorts__row li,
  .grownups.is-in .grownups__eyebrow,
  .grownups.is-in .grownups__title,
  .partner.is-in .partner__pico,
  .partner.is-in .partner__eyebrow,
  .partner.is-in .partner__title,
  .partner.is-in .partner__actions {
    animation: fade-up var(--text-dur) ease backwards;
  }
  .workshop.is-in .workshop__title,
  .chars.is-in .chars__lede,
  .grownups.is-in .grownups__title,
  .partner.is-in .partner__eyebrow { animation-delay: calc(var(--text-step) * 1); }
  .workshop.is-in .workshop__lede,
  .workshop.is-in .workshop__mimi,
  .chars.is-in .chars__names,
  .partner.is-in .partner__title { animation-delay: calc(var(--text-step) * 2); }
  .partner.is-in .partner__actions { animation-delay: calc(var(--text-step) * 3); }
  .shorts.is-in .shorts__row li:nth-child(1) { animation-delay: calc(var(--text-step) * 1); }
  .shorts.is-in .shorts__row li:nth-child(2) { animation-delay: calc(var(--text-step) * 2); }
  .shorts.is-in .shorts__row li:nth-child(3) { animation-delay: calc(var(--text-step) * 3); }

  /* Cards settle */
  .grownups.is-in .grownups__card {
    --r: 0deg;
    --past: -2deg;
    animation: settle var(--card-dur) var(--card-ease) var(--card-at) backwards;
  }
  .grownups.is-in .grownups__card:nth-child(2) { --past: 2deg; animation-delay: calc(var(--card-at) + var(--card-step)); }

  @media (min-width: 721px) {
    .workshop.is-in .workshop__card,
    .chars.is-in .chars__track {
      --r: 0deg;
      --past: -3deg;
      animation: settle var(--card-dur) var(--card-ease) var(--card-at) backwards;
    }
    .workshop.is-in .workshop__card:nth-child(even) { --past: 3deg; }
    .workshop.is-in .workshop__card:nth-child(2) { animation-delay: calc(var(--card-at) + var(--card-step) * 1); }
    .workshop.is-in .workshop__card:nth-child(3) { animation-delay: calc(var(--card-at) + var(--card-step) * 2); }
    .workshop.is-in .workshop__card:nth-child(4) { animation-delay: calc(var(--card-at) + var(--card-step) * 3); }

    /* Picking a name swaps the card with a quick fade. */
    .chars__card.is-fresh { animation: fade 220ms ease; }
  }

  /* A swipe track fades up as one piece; rotating cards would be clipped by it. */
  @media (max-width: 720px) {
    .workshop.is-in .workshop__track,
    .chars.is-in .chars__track {
      animation: fade-up var(--text-dur) ease var(--card-at) backwards;
    }
    .workshop.is-in .workshop__dots { animation-delay: calc(var(--card-at) + var(--text-step)); }
  }
}

/* ---------- Footer ---------- */
.footer { padding: 48px var(--gutter) 40px; }

.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.footer__brand img { width: 130px; height: auto; display: block; }
.footer__brand p { margin: 0; font-size: 15px; font-weight: 500; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  font-size: 15px;
  font-weight: 500;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.footer__copy {
  max-width: var(--wrap);
  margin: 28px auto 0;
  font-size: 13.5px;
  color: var(--ink-mute);
}
