/* The Kurio Labs — shared site layer (homepage + workshop page).
   Built from the Kurio design system: Outfit for everything, Caveat only for
   sticker notes, flat cards (22px), one coloured ground per section, pill
   buttons in yellow. components.css still owns the top bar, menu and footer. */

:root {
  --navy: #071B32; --navy-2: #0E2744; --navy-3: #2A4868;
  --teal: #0A9BB5; --teal-ink: #07788C; --yellow: #FFB81C; --yellow-2: #F2A900; --coral: #FF6745; --coral-2: #E0553A; --coral-ink: #C43A1B;
  --paper: #FFFFFF; --mist: #F3F6F9; --line: #DDE4EB; --soft: #93A5B8; --muted: #5A6B7D;
  --font: "Outfit", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --r: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: 1rem;
  --dock-h: 0px;
}
@media (min-width: 720px) { :root { --gutter: 1.5rem; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--paper); color: var(--navy); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; padding-bottom: var(--dock-h); }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a, summary, label { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 44rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
section[id], [id].anchor { scroll-margin-top: calc(var(--topbar-h) + .5rem); }

/* ---------- Type ---------- */
.kicker { font-size: .82rem; font-weight: 700; color: var(--teal-ink); }
.h-display { font-weight: 800; font-size: clamp(2.6rem, 10.5vw, 5.5rem); line-height: .96; letter-spacing: -.04em; text-wrap: balance; }
.h-section { font-weight: 800; font-size: clamp(2rem, 7.4vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; max-width: 17ch; }
.h-card { font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 3.6vw, 1.2rem); line-height: 1.5; color: var(--muted); max-width: 36rem; }
.lede strong { color: var(--navy); font-weight: 600; }
.on-dark { color: #fff; }
.on-dark .lede, .on-dark .muted { color: var(--soft); }
.on-dark .kicker { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; padding: 0 1.6rem;
  font: 700 1.05rem var(--font); border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; color: var(--navy);
  background: var(--yellow); transition: background-color .15s ease, transform .15s var(--ease); white-space: nowrap; }
.btn:hover { background: #FFC23D; }
.btn:active { transform: scale(.98); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-white { background: #fff; }
.btn-white:hover { background: var(--mist); }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: rgba(7,27,50,.05); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #22c35e; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--yellow);
  background: none; border: 0; font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; padding: 0; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Pills / chips ---------- */
.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: var(--mist); white-space: nowrap; }
.chip-yellow { background: var(--yellow); }
.chip-white { background: #fff; }
.chip-navy { background: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }

/* ---------- Sticker notes (the scrappy layer) ---------- */
.sticker { position: absolute; z-index: 2; font-family: var(--hand); font-weight: 700; font-size: clamp(1.15rem, 4.2vw, 1.75rem); line-height: 1.05;
  padding: .3em .6em .4em; border-radius: 12px; background: #fff; color: var(--navy); white-space: nowrap;
  box-shadow: 0 3px 0 rgba(7,27,50,.18); transform: rotate(var(--rot, -4deg)); }
.sticker::before { content: ""; position: absolute; top: -.45em; left: 50%; width: 2.6em; height: .8em; margin-left: -1.3em;
  background: rgba(221,228,235,.75); transform: rotate(calc(var(--rot, -4deg) * -1.5)); border-radius: 2px; }
.sticker.no-tape::before { display: none; }
.sticker-yellow { background: var(--yellow); }
.sticker-yellow::before { background: rgba(255,255,255,.55); }
.sticker-navy { background: var(--navy); color: #fff; }
.sticker-navy::before { background: rgba(255,255,255,.3); }
.sticker-teal { background: #fff; box-shadow: 0 3px 0 rgba(7,27,50,.18), inset 0 0 0 2px var(--teal); }
.hand { font-family: var(--hand); font-weight: 700; }

/* ---------- Illustration stage ---------- */
.art { position: relative; width: 100%; }
.art svg { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- Date block ---------- */
.datebox { width: 4.25rem; flex: none; border-radius: 14px; background: var(--navy); color: #fff; text-align: center; padding: .45rem 0 .5rem; line-height: 1; }
.datebox .dow, .datebox .mon { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.datebox .dow { color: var(--yellow); }
.datebox .day { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: .2rem 0 .15rem; }
.on-dark .datebox, .datebox.light { background: #fff; color: var(--navy); }
.on-dark .datebox .dow, .datebox.light .dow { color: var(--coral-ink); }

/* ---------- Mentor portrait ---------- */
.portrait { position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy-2); color: #fff; margin: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7,27,50,.92) 0%, rgba(7,27,50,.5) 30%, rgba(7,27,50,0) 58%); }
.portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.2rem; display: grid; gap: .1rem; }
.portrait .label { font-size: .85rem; font-weight: 700; color: var(--yellow); }
.portrait strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.portrait .bio { font-size: .92rem; color: rgba(255,255,255,.82); }

/* Mentor with no photo yet: initials under the three spark rays */
.portrait.mono { background: var(--navy-2); }
.portrait.mono::after { background: linear-gradient(to top, rgba(7,27,50,.95) 0%, rgba(7,27,50,.4) 34%, rgba(7,27,50,0) 60%); }
.mono-art { position: absolute; inset: 0 0 26% 0; display: grid; place-items: center; align-content: center; gap: .4rem; }
.mono-rays { display: flex; gap: .55em; align-items: flex-end; font-size: clamp(1rem, 3vw, 1.4rem); }
.mono-rays i { display: block; width: .55em; height: 1.6em; border-radius: 1em; }
.mono-rays i:nth-child(1) { background: var(--teal); transform: rotate(-38deg) translate(.15em, .25em); }
.mono-rays i:nth-child(2) { background: var(--yellow); height: 1.9em; }
.mono-rays i:nth-child(3) { background: var(--coral); transform: rotate(38deg) translate(-.15em, .25em); }
.mono-ini { font-weight: 800; font-size: clamp(4rem, 14vw, 7.5rem); line-height: .9; letter-spacing: -.05em; color: #fff; }
.mono-ring { width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 1.1rem solid #fff; }

/* ---------- Mobile dock ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: .7rem;
  transform: translateY(110%); transition: transform .3s var(--ease); }
.dock.show { transform: none; }
.dock-face { width: 2.6rem; height: 2.6rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; background: var(--mist); }
.dock-info { flex: 1; min-width: 0; line-height: 1.2; }
.dock-info strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-info span { font-size: .82rem; color: var(--teal-ink); font-weight: 600; }
.dock .btn { min-height: 2.9rem; padding: 0 1.1rem; font-size: .98rem; }
@media (min-width: 720px) { .dock { display: none; } }
@media (max-width: 719px) { .whatsapp-fab { display: none; } }

/* ---------- Booking sheet ---------- */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 94vh; max-height: 94dvh; border: 0;
  border-radius: 22px 22px 0 0; padding: 0; color: var(--navy); background: #fff; overflow: hidden; display: none; flex-direction: column; }
.sheet[open] { display: flex; animation: sheetUp .32s var(--ease); }
.sheet::backdrop { background: rgba(7,27,50,.55); animation: fadeIn .25s ease; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 720px) {
  .sheet { inset: 0; margin: auto; max-width: 30rem; max-height: min(90vh, 52rem); border-radius: 22px; }
  .sheet[open] { animation: popIn .26s var(--ease); }
  @keyframes popIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
.sheet-head { flex: none; padding: 1rem 1rem .25rem 1.25rem; display: flex; align-items: center; gap: .75rem; position: relative; touch-action: none; }
.sheet-head::before { content: ""; position: absolute; left: 50%; top: .45rem; width: 2.5rem; height: 4px; margin-left: -1.25rem; border-radius: 2px; background: var(--line); }
@media (min-width: 720px) { .sheet-head::before { display: none; } .sheet-head { padding-top: 1.1rem; } }
.sheet-x { flex: none; margin-left: auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--mist); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.sheet-x:hover { background: var(--line); }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.sheet-who { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.sheet-who img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--mist); flex: none; }
.sheet-who p { display: grid; line-height: 1.25; min-width: 0; }
.sheet-who b { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-who span { font-size: .88rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet h2 { font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: -.03em; margin-top: .75rem; }
.sheet .sub { margin-top: .4rem; color: var(--muted); font-size: .98rem; }
.sib-link { justify-self: start; margin-top: .35rem; background: none; border: 0; padding: .35rem 0; font: 600 .92rem var(--font); color: var(--teal-ink); cursor: pointer; }
.sib-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sheet form { margin-top: 1.1rem; display: grid; gap: 1rem; }
.grp { display: grid; gap: 1rem; }
.grp[hidden] { display: none; }
.sheet h2 + .sub { margin-top: .3rem; }

/* Step bar: two thin segments + "Step 1 of 2" */
.steps { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.steps[hidden] { display: none; }
.steps-bar { flex: 1; display: flex; gap: .3rem; }
.steps-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--teal); }
.steps-bar i:last-child { background: var(--line); transition: background .3s; }
.steps-bar i.on { background: var(--teal); }
.steps-n { font-size: .8rem; font-weight: 600; color: var(--muted); }
.sheet-actions { display: flex; gap: .5rem; }
.sheet-actions .btn-line { flex: none; padding-inline: 1.3rem; }
.sheet-actions [hidden] { display: none; }
#grp-2:not([hidden]), #grp-1:not([hidden]) { animation: stepIn .28s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #grp-1, #grp-2 { animation: none !important; } }
.field { display: grid; gap: .4rem; border: 0; }
.field-label, .field legend { font-weight: 600; font-size: .92rem; }
.field small { color: var(--muted); font-weight: 400; }
.input { font: 400 1.0625rem var(--font); color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 14px;
  min-height: 3.25rem; padding: 0 1rem; width: 100%; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
.input:focus { outline: none; border-color: var(--teal); }
.input[aria-invalid="true"] { border-color: var(--coral); }
.phone { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.phone:focus-within { border-color: var(--teal); }
.phone.bad { border-color: var(--coral); }
.phone span { display: grid; place-items: center; padding: 0 .85rem; background: var(--mist); font-weight: 600; }
.phone .input { border: 0; border-radius: 0; }
.ages { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; margin-top: .2rem; }
.ages label { position: relative; }
.ages input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ages span { display: grid; place-items: center; min-height: 3rem; border-radius: 12px; background: var(--mist); font-weight: 700; font-size: 1.05rem;
  border: 2px solid transparent; transition: background .12s, color .12s; }
.ages input:checked + span { background: var(--navy); color: #fff; }
.ages input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ages.bad span { border-color: rgba(255,103,69,.6); }
.err { color: var(--coral-ink); font-size: .9rem; font-weight: 500; }
.err:empty { display: none; }
.fine { font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.4; margin-top: -.25rem; }
.fine a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sheet .btn[disabled] { opacity: .7; cursor: progress; }
#step-done { position: relative; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.sheet > .sheet-head, .sheet > .sheet-body { position: relative; }
.done-head { display: flex; gap: .9rem; align-items: center; margin-top: .5rem; }
.done-head h2 { margin-top: 0; }
.done-head .sub { margin-top: .2rem; }
.done-mark { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--teal); display: grid; place-items: center; animation: markPop .5s var(--ease) both; }
@keyframes markPop { 0% { transform: scale(.3); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.done-mark svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .45s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ticket { position: relative; margin-top: 1.25rem; display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 18px; background: var(--mist);
  animation: rise .5s .15s var(--ease) both; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket > div:not(.datebox) { display: grid; gap: .05rem; min-width: 0; }
.ticket b { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.ticket > div:not(.datebox) span { font-size: .9rem; color: var(--muted); }
.seats-pill { margin-left: auto; font-style: normal; font-weight: 800; background: var(--yellow); border-radius: 999px; padding: .2rem .6rem; }
.next { list-style: none; margin-top: 1.25rem; display: grid; }
.next li { position: relative; display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; padding-bottom: 1rem; opacity: 0; animation: rise .45s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .18s); }
.next li:last-child { padding-bottom: 0; }
.next i { position: relative; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: .05rem; }
.next li:not(:last-child) i::after { content: ""; position: absolute; left: 50%; top: 1.4rem; width: 2px; height: calc(100% + .85rem); margin-left: -1px; background: var(--line); }
.next li.now i { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.next b { display: block; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.next span { font-size: .88rem; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.done-actions { margin-top: 1.4rem; display: grid; gap: .75rem; }
.cal { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .92rem; color: var(--muted); }
.cal span { margin-right: .25rem; }
.pill { font: 600 .92rem var(--font); color: var(--navy); background: var(--mist); border: 0; border-radius: 999px; padding: .5rem .95rem; cursor: pointer; text-decoration: none; transition: background .15s; }
.pill:hover { background: var(--line); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; min-height: 3.5rem; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--mist)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071B32' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 2.5rem 1.25rem 0; color: var(--muted); }
.faq-list .a a { color: var(--navy); }

/* ---------- Header over a hero ---------- */
.topbar.over { background: transparent; border-bottom-color: transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease; }
.topbar.over.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- Glow (the hero wash) ---------- */
.glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow .g1 { width: 44vw; height: 44vw; max-width: 520px; max-height: 520px; background: rgba(10,155,181,.22); top: -12%; left: -10%; }
.glow .g2 { width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; background: rgba(255,103,69,.14); top: 30%; left: 18%; }
.glow .g3 { width: 40vw; height: 40vw; max-width: 480px; max-height: 480px; background: rgba(255,184,28,.22); top: 0; right: -10%; }
@media (max-width: 719px) { .glow i { filter: blur(44px); } .glow .g1, .glow .g3 { width: 72vw; height: 72vw; } }

/* ---------- Reveal on scroll (siblings stagger, see pageChrome) ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--stagger, 0s); }
.js-ready .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Illustration motion ----------
   Scenes get .play when they scroll into view (art.js). Entrances run once;
   a few small loops keep the hero and key scenes alive without fidgeting. */
.art svg g { transform-box: view-box; }
@keyframes kRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kPop { 0% { opacity: 0; transform: scale(.5); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes kDrop { from { opacity: 0; transform: translateY(-36px); } to { opacity: 1; transform: none; } }
@keyframes kFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kBreathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes kArmL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
@keyframes kArmR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(9deg); } }
@keyframes kRay { 0%, 62%, 100% { transform: scale(1); opacity: 1; } 76% { transform: scale(1.25); opacity: .85; } }
@keyframes kDot { 0%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-5px); } }
@keyframes kJump { 0%, 55%, 100% { transform: translateY(0); } 70% { transform: translateY(-16px); } 85% { transform: translateY(0); } }
@keyframes kShadow { 0%, 55%, 100% { transform: scale(1); opacity: 1; } 70% { transform: scale(.75); opacity: .6; } 85% { transform: scale(1); } }
@keyframes kLean { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-7px); } }
@keyframes kWobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes kBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes kStick { from { opacity: 0; transform: rotate(var(--rot, -4deg)) translateY(8px) scale(.7); } to { opacity: 1; transform: rotate(var(--rot, -4deg)); } }
@keyframes kFloat { from { transform: rotate(var(--rot, -4deg)) translateY(0); } to { transform: rotate(var(--rot, -4deg)) translateY(-5px); } }

/* Stickers pop on, then drift */
.art-js .art:not(.play) .sticker { opacity: 0; }
.art.play .sticker { animation: kStick .5s var(--ease) both, kFloat 3.8s ease-in-out infinite alternate;
  animation-delay: calc(.45s + var(--si, 0) * .16s), calc(.95s + var(--si, 0) * .16s); }

/* Hero: the kid rises in, the spark flickers like the logo, arms sway */
[data-art="hero"] .k-fig { animation: kRise .7s .1s var(--ease) both; }
[data-art="hero"].play svg { animation: kBreathe 4.2s 1s ease-in-out infinite; }
[data-art="hero"] .k-ray { animation: kPop .45s var(--ease) both; animation-delay: calc(.45s + var(--i) * .12s); }
[data-art="hero"].play .k-ray { animation: kPop .45s var(--ease) both, kRay 3.2s ease-in-out infinite; animation-delay: calc(.45s + var(--i) * .12s), calc(1.4s + var(--i) * .14s); }
[data-art="hero"].play .k-arm-l { animation: kArmL 4.2s 1s ease-in-out infinite; }
[data-art="hero"].play .k-arm-r { animation: kArmR 4.2s 1s ease-in-out infinite; }

/* Investing: coins drop onto the stacks, then the arrow */
.art-js [data-art="invest"]:not(.play) .k-coin, .art-js [data-art="invest"]:not(.play) .k-arrow { opacity: 0; }
[data-art="invest"].play .k-coin { animation: kDrop .42s var(--ease) both; animation-delay: calc(.15s + var(--i) * .07s); }
[data-art="invest"].play .k-arrow { animation: kFade .6s 1.35s both; }
[data-art="invest"].play .k-arm-r { animation: kArmR 3s 1.6s ease-in-out infinite; }

/* Entrepreneurship: the customer leans in with the coin */
[data-art="business"].play .k-buyer { animation: kLean 2.8s ease-in-out infinite; }
[data-art="business"].play .k-cash { animation: kBreathe 1.4s ease-in-out infinite; }

/* AI: bubbles arrive one by one, the kid keeps thinking */
.art-js [data-art="ai"]:not(.play) .k-bubble { opacity: 0; }
[data-art="ai"].play .k-bubble { animation: kRise .45s var(--ease) both; animation-delay: calc(.2s + var(--i) * .5s); }
[data-art="ai"].play .k-dot { animation: kDot 1.5s ease-in-out infinite; animation-delay: calc(var(--i) * .22s); }
[data-art="ai"].play .k-typing { animation: kBlink 1.2s ease-in-out infinite; }

/* I do / We do / You do */
[data-art="ido"].play .k-arm-r { animation: kArmR 2.6s ease-in-out infinite; }
[data-art="wedo"].play .k-fig { animation: kBreathe 3s ease-in-out infinite; }
[data-art="youdo"].play .k-jump { animation: kJump 2.4s .3s ease-in-out infinite; }
[data-art="youdo"].play .k-shadow { animation: kShadow 2.4s .3s ease-in-out infinite; transform-origin: 160px 237px; }
[data-art="youdo"].play .k-halo { animation: kRay 2.4s .3s ease-in-out infinite; }

/* Workshop page scenes */
[data-art="pencil"].play .k-pencil { animation: kWobble 3.4s ease-in-out infinite; transform-origin: 270px 160px; }
[data-art="call"].play .k-arm-r, [data-art="no"].play .k-arm-r { animation: kArmR 2.6s ease-in-out infinite; }

/* ---------- Page intro ---------- */
.hero-copy > * { animation: kRise .7s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .14s; }
.hero-copy > :nth-child(3) { animation-delay: .26s; } .hero-copy > :nth-child(4) { animation-delay: .38s; }
.intro > * { animation: kRise .6s var(--ease) both; }
.intro > :nth-child(2) { animation-delay: .08s; } .intro > :nth-child(3) { animation-delay: .16s; } .intro > :nth-child(4) { animation-delay: .24s; }
.book { animation: kRise .7s .2s var(--ease) both; }

/* Mentor photos ease into frame */
.js-ready .feat .portrait img, .js-ready .mcard .portrait img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.js-ready .feat.in-view .portrait img, .js-ready .rail.in-view .mcard .portrait img { transform: none; }
.js-ready .rail.in-view .mcard:hover .portrait img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .done-mark svg { stroke-dashoffset: 0; }
  .next li { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* Header button keeps its compact size from components.css */
.topbar .topbar-cta { min-height: 2.6rem; padding: 0 1.1rem; font-size: .92rem; }
