/* ============================================================
   NEXT BUILDERS LAB™ — workshop collage system
   cream / ultramarine / sunshine / coral / mint / ink
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #FFF6E9;
  --paper: #FFFDF6;
  --ultra: #2B3CFF;
  --ultra-deep: #1F2CCB;
  --sun: #FFC93C;
  --coral: #FF6B4A;
  --mint: #3ECF8E;
  --ink: #141414;
  --ink-soft: rgba(20, 20, 20, 0.72);

  --display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --body: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.2rem + 7vw, 6.5rem);
  --fs-h2: clamp(2.1rem, 1.2rem + 4vw, 4.1rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-tiny: 0.78rem;

  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --radius-card: 22px;
  --radius-btn: 14px;
  --border: 3px solid var(--ink);
  --shadow-card: 7px 8px 0 rgba(20, 20, 20, 0.9);
  --shadow-btn: 4px 4px 0 var(--ink);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px dashed var(--ultra);
  outline-offset: 3px;
  border-radius: 4px;
}

@supports (scrollbar-color: red blue) {
  html { scrollbar-color: var(--ultra) var(--cream); }
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 750;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 860px; }

/* skip link */
.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 0; }

/* ---------------------------------------------------------- */
/* Header                                                      */
/* ---------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.site-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}
.logo svg { display: block; }
.logo:hover .logo-blocks { transform: rotate(-5deg) scale(1.06); }
.logo-blocks { transition: transform 0.3s var(--spring); }
.logo .tm { font-size: 0.55em; vertical-align: super; font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: clamp(0.3rem, 1.4vw, 1rem); }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: background 0.18s var(--ease-out), transform 0.25s var(--spring);
}
.site-nav a:not(.btn):hover { background: var(--sun); transform: rotate(-2deg); }
@media (max-width: 860px) {
  .site-nav a.nav-hide { display: none; }
}
.site-nav .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .logo { font-size: 0.92rem; gap: 0.45rem; }
  .logo svg { width: 27px; height: 27px; }
  .site-nav { gap: 0.1rem; }
  .site-nav a:not(.btn) { font-size: 0.86rem; padding: 0.4rem 0.42rem; }
  .site-nav .btn--small { padding: 0.5rem 0.75rem; font-size: 0.82rem; box-shadow: 3px 3px 0 var(--ink); }
  .site-nav .btn-l { display: none; }
}
@media (max-width: 400px) {
  .site-nav a.nav-tight { display: none; }
}

/* ---------------------------------------------------------- */
/* Buttons                                                     */
/* ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  background: var(--sun);
  border: var(--border);
  border-radius: var(--radius-btn);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.22s var(--spring), box-shadow 0.22s var(--spring), background 0.18s;
  will-change: transform;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px) scale(0.97); box-shadow: 1px 1px 0 var(--ink); }
.btn--ultra { background: var(--ultra); color: #fff; }
.btn--coral { background: var(--coral); }
.btn--mint { background: var(--mint); }
.btn--ghost { background: var(--paper); }
.btn--small { padding: 0.55rem 1.05rem; font-size: 0.9rem; }

/* ---------------------------------------------------------- */
/* Hero playground                                             */
/* ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(calc(100svh - 150px), 880px);
  display: flex;
  align-items: flex-start;
  border-bottom: var(--border);
  overflow: clip;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}
#playCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.hero__inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  padding-top: clamp(3rem, 7vh, 5.5rem);
}
.hero__inner a, .hero__inner button, .hero__inner .sticker-hint { pointer-events: auto; }
.hero h1 {
  font-size: var(--fs-hero);
  max-width: 12ch;
  margin-bottom: 0.45em;
}
.hero h1 .lite { font-weight: 380; }
.hero h1 .loud {
  font-weight: 800;
  color: var(--ultra);
  font-size: 1.08em;
  letter-spacing: -0.03em;
}
.hero h1 .under {
  position: relative;
  white-space: nowrap;
}
.hero h1 .under .squig {
  position: absolute;
  left: -2%; right: -2%;
  bottom: -0.14em;
  width: 104%;
  height: 0.24em;
  overflow: visible;
}
.hero__sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__eyebrow {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  font-size: var(--fs-tiny);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  rotate: -2deg;
  margin-bottom: 1.4rem;
  box-shadow: 3px 3px 0 rgba(20, 20, 20, 0.25);
}

/* rotating circular badge */
.hero__badge {
  position: absolute;
  top: clamp(4.2rem, 9vh, 6.5rem);
  right: clamp(1rem, 6vw, 5rem);
  width: clamp(110px, 14vw, 168px);
  z-index: 3;
  pointer-events: none;
}
.hero__badge .spin { animation: spin 26s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* grab-hint sticker */
.sticker-hint {
  position: absolute;
  z-index: 3;
  bottom: clamp(6rem, 16vh, 9rem);
  right: clamp(1.2rem, 7vw, 6rem);
  background: var(--paper);
  border: var(--border);
  border-radius: 14px;
  rotate: 3deg;
  padding: 0.55rem 0.9rem 0.55rem 0.8rem;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  user-select: none;
}
.sticker-hint svg { flex: none; }
@media (max-width: 700px) {
  .hero__badge { display: none; }
  .sticker-hint { bottom: 1.05rem; left: 1.1rem; right: auto; rotate: -2deg; font-size: 0.82rem; }
}

/* tidy-up reset button */
.tidy-btn {
  position: absolute;
  z-index: 3;
  bottom: 1.1rem;
  right: 1.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(20, 20, 20, 0.8);
  cursor: pointer;
  font-family: var(--body);
  transition: transform 0.22s var(--spring), box-shadow 0.22s var(--spring);
}
.tidy-btn:hover { transform: translate(-1px, -2px) rotate(-2deg); box-shadow: 5px 5px 0 rgba(20, 20, 20, 0.8); }
.tidy-btn:active { transform: translate(1px, 2px); box-shadow: 1px 1px 0 rgba(20, 20, 20, 0.8); }

/* ---------------------------------------------------------- */
/* Marquee ribbons                                             */
/* ---------------------------------------------------------- */
.ribbon {
  position: relative;
  z-index: 5;
  background: var(--ultra);
  color: var(--cream);
  border-block: var(--border);
  rotate: -1.1deg;
  scale: 1.02 1;
  margin-block: -1px;
  overflow: clip;
  user-select: none;
}
.ribbon--sun { background: var(--sun); color: var(--ink); rotate: 1.1deg; }
.ribbon--mint { background: var(--mint); color: var(--ink); }
.ribbon__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 26s linear infinite;
}
.ribbon:hover .ribbon__track,
.ribbon:focus-within .ribbon__track { animation-play-state: paused; }
.ribbon__chunk {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.85rem 0.8rem 0.85rem 1.6rem;
  font-family: var(--display);
  font-weight: 760;
  font-size: clamp(1.05rem, 0.9rem + 1vw, 1.5rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: none;
}
.ribbon__chunk .star { font-size: 0.8em; translate: 0 -0.05em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- */
/* Sections / headings                                         */
/* ---------------------------------------------------------- */
.section { padding-block: var(--space-section); position: relative; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ultra { background: var(--ultra); color: var(--cream); }
.section--coral { background: var(--coral); color: var(--ink); }
.section--bordered { border-bottom: var(--border); }

.kicker {
  display: inline-block;
  font-weight: 800;
  font-size: var(--fs-tiny);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  rotate: -1.5deg;
  margin-bottom: 1.2rem;
}
.kicker--fill-sun { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.kicker--fill-coral { background: var(--coral); color: var(--ink); border-color: var(--ink); }
.kicker--fill-mint { background: var(--mint); color: var(--ink); border-color: var(--ink); }
.kicker--fill-ultra { background: var(--ultra); color: #fff; border-color: var(--ink); }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: clamp(1.02rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-soft); max-width: 54ch; }
.section--ink .section-head p,
.section--ultra .section-head p { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.section-head .accent-word { color: var(--coral); font-weight: 800; }
.section--ink .accent-word { color: var(--sun); }
.section--ultra .accent-word { color: var(--sun); }

/* ---------------------------------------------------------- */
/* Badge wobble (pointer: fine)                                 */
/* ---------------------------------------------------------- */
@keyframes wobble {
  0% { rotate: 0deg; } 25% { rotate: 3.5deg; scale: 1.06; }
  50% { rotate: -3deg; } 75% { rotate: 2deg; scale: 1.03; } 100% { rotate: 0deg; }
}
@media (hover: hover) and (pointer: fine) {
  .kicker:hover, .track__who:hover, .make-card__tag:hover,
  .cal-row__pill:hover, .track:hover .track__who,
  .make-card:hover .make-card__tag, .price-card:hover .price-card__band,
  .hero__eyebrow:hover { animation: wobble 0.55s var(--spring); }
}

/* ---------------------------------------------------------- */
/* Hero wall doodles                                            */
/* ---------------------------------------------------------- */
.hero__doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.doodle--star { top: 16%; left: 56%; width: clamp(40px, 5vw, 64px); rotate: -12deg; }
.doodle--spiral { top: 44%; right: clamp(2rem, 9vw, 9rem); width: clamp(48px, 6vw, 76px); rotate: 8deg; }
.doodle--plus { top: 8%; left: clamp(1rem, 3vw, 3rem); width: clamp(36px, 4.5vw, 58px); }
.doodle--bolt { bottom: 30%; left: 46%; width: clamp(30px, 4vw, 50px); rotate: 14deg; }
@media (max-width: 700px) { .doodle--spiral, .doodle--bolt { display: none; } .doodle--star { left: 72%; } }

/* ---------------------------------------------------------- */
/* Method connector arrows                                      */
/* ---------------------------------------------------------- */
.step__arrow {
  position: absolute;
  top: 38%;
  right: -2.4rem;
  width: 3.2rem;
  z-index: 2;
  pointer-events: none;
  color: var(--sun);
}
@media (max-width: 880px) { .step__arrow { display: none; } }

/* ---------------------------------------------------------- */
/* Tape + collage bits                                         */
/* ---------------------------------------------------------- */
.tape {
  position: absolute;
  width: 96px;
  height: 28px;
  background: rgba(255, 226, 148, 0.75);
  border-left: 2px dashed rgba(20, 20, 20, 0.16);
  border-right: 2px dashed rgba(20, 20, 20, 0.16);
  clip-path: polygon(2% 0, 98% 5%, 100% 94%, 1% 100%, 0 55%);
  box-shadow: 0 2px 5px rgba(20, 20, 20, 0.12);
  pointer-events: none;
  z-index: 2;
}
.tape--tl { top: -13px; left: 8%; rotate: -35deg; }
.tape--tr { top: -13px; right: 8%; rotate: 35deg; }
.tape--tc { top: -14px; left: 50%; translate: -50% 0; rotate: -3deg; }
.tape--blue { background: rgba(122, 136, 255, 0.5); }
.tape--mint { background: rgba(120, 226, 178, 0.6); }

/* ---------------------------------------------------------- */
/* Track cards ("Who builds here")                             */
/* ---------------------------------------------------------- */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
@media (max-width: 800px) { .tracks-grid { grid-template-columns: 1fr; } }

.track {
  position: relative;
  border: var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-card);
  rotate: var(--rot, 0deg);
  transition: rotate 0.35s var(--spring), translate 0.35s var(--spring), box-shadow 0.35s var(--spring);
}
@media (hover: hover) {
  .track:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 10px 13px 0 rgba(20, 20, 20, 0.9); }
}
.track--sun { background: var(--sun); --rot: -1.3deg; }
.track--ultra { background: var(--ultra); color: var(--cream); --rot: 1.1deg; }
.track--coral { background: var(--coral); --rot: 1.2deg; }
.track--mint { background: var(--mint); --rot: -1deg; }

.track__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.track__icon {
  width: 68px; height: 68px; flex: none;
  background: var(--paper);
  border: var(--border);
  border-radius: 18px;
  display: grid; place-items: center;
  rotate: -4deg;
  transition: rotate 0.35s var(--spring), scale 0.35s var(--spring);
}
@media (hover: hover) { .track:hover .track__icon { rotate: 6deg; scale: 1.08; } }
.track__who {
  font-size: var(--fs-tiny);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.track h3 { font-size: var(--fs-h3); margin-bottom: 0.45em; }
.track p { font-weight: 500; margin-bottom: 1.1rem; }
.track--ultra p { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.track__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem;
  font-size: var(--fs-small);
  font-weight: 700;
  padding-top: 0.9rem;
  border-top: 2px dashed rgba(20, 20, 20, 0.35);
  margin: 0;
  list-style: none;
  padding-left: 0;
}
.track--ultra .track__meta { border-top-color: rgba(255, 246, 233, 0.4); }
.track__meta li { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ---------------------------------------------------------- */
/* Project cards ("What you'll make") — polaroid stickersheets */
/* ---------------------------------------------------------- */
.make-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.3rem, 2.6vw, 2rem);
}
@media (max-width: 1020px) { .make-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .make-grid { grid-template-columns: 1fr; } }

.make-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: 18px;
  padding: 0.9rem 0.9rem 1.3rem;
  rotate: var(--rot, 0deg);
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.55);
  transition: rotate 0.35s var(--spring), translate 0.35s var(--spring), box-shadow 0.35s var(--spring);
}
@media (hover: hover) {
  .make-card:hover { rotate: 0deg; translate: 0 -7px; box-shadow: 9px 12px 0 rgba(0, 0, 0, 0.6); }
}
.make-card:nth-child(1) { --rot: -1.6deg; }
.make-card:nth-child(2) { --rot: 1.2deg; }
.make-card:nth-child(3) { --rot: -1deg; }
.make-card:nth-child(4) { --rot: 1.6deg; }
.make-card__art {
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.95rem;
  background: var(--cream);
}
.make-card__art svg { display: block; width: 100%; height: auto; }
.make-card h3 { font-size: 1.28rem; margin-bottom: 0.35em; }
.make-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.make-card__tag {
  position: absolute;
  top: -12px; right: 14px;
  background: var(--sun);
  border: 2px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  rotate: 4deg;
}
.make-card:nth-child(2) .make-card__tag { background: var(--coral); }
.make-card:nth-child(3) .make-card__tag { background: var(--mint); }
.make-card:nth-child(4) .make-card__tag { background: var(--sun); }

/* ---------------------------------------------------------- */
/* Method — learn by shipping                                  */
/* ---------------------------------------------------------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  counter-reset: step;
}
@media (max-width: 880px) { .method-grid { grid-template-columns: 1fr; max-width: 560px; } }

.step {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: 3.4rem;
  box-shadow: var(--shadow-card);
  rotate: var(--rot, 0deg);
  transition: rotate 0.35s var(--spring), translate 0.35s var(--spring);
}
.step:nth-child(1) { --rot: -1.2deg; }
.step:nth-child(2) { --rot: 0.8deg; translate: 0 1.4rem; }
.step:nth-child(3) { --rot: -0.7deg; }
@media (hover: hover) { .step:hover { rotate: 0deg; } }
@media (max-width: 880px) { .step:nth-child(2) { translate: 0 0; } }
.step__num {
  position: absolute;
  top: -1.6rem; left: 1.4rem;
  width: 4rem; height: 4rem;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  border: var(--border);
  border-radius: 16px;
  rotate: -6deg;
  box-shadow: 3px 3px 0 var(--ink);
}
.step:nth-child(1) .step__num { background: var(--sun); }
.step:nth-child(2) .step__num { background: var(--coral); }
.step:nth-child(3) .step__num { background: var(--mint); }
.step h3 { font-size: var(--fs-h3); }
.step p { color: var(--ink-soft); margin: 0; }

/* ---------------------------------------------------------- */
/* Lab scene                                                   */
/* ---------------------------------------------------------- */
.lab-scene {
  position: relative;
  border: var(--border);
  border-radius: calc(var(--radius-card) + 6px);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  rotate: -0.6deg;
}
.lab-scene svg { display: block; width: 100%; height: auto; }
.lab-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding: 0; list-style: none;
}
@media (max-width: 760px) { .lab-facts { grid-template-columns: 1fr; } }
.lab-facts li {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.85);
  rotate: var(--rot, 0deg);
}
.lab-facts li:nth-child(1) { --rot: -0.8deg; }
.lab-facts li:nth-child(2) { --rot: 0.7deg; }
.lab-facts li:nth-child(3) { --rot: -0.5deg; }
.lab-facts strong { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 800; margin-bottom: 0.15rem; }

/* ---------------------------------------------------------- */
/* Calendar                                                    */
/* ---------------------------------------------------------- */
.cal-list { display: grid; gap: 1.1rem; }
.cal-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) 2.2fr 1.4fr auto;
  gap: 1rem 1.6rem;
  align-items: center;
  background: var(--paper);
  border: var(--border);
  border-radius: 18px;
  padding: 1.1rem clamp(1.1rem, 2.5vw, 1.8rem);
  box-shadow: 5px 5px 0 rgba(20, 20, 20, 0.85);
  rotate: var(--rot, 0deg);
  transition: rotate 0.3s var(--spring), translate 0.3s var(--spring), box-shadow 0.3s var(--spring);
}
.cal-row:nth-child(odd) { --rot: -0.45deg; }
.cal-row:nth-child(even) { --rot: 0.45deg; }
@media (hover: hover) {
  .cal-row:hover { rotate: 0deg; translate: 0 -3px; box-shadow: 7px 9px 0 rgba(20, 20, 20, 0.9); }
}
@media (max-width: 900px) {
  .cal-row { grid-template-columns: 1fr 1fr; }
  .cal-row .cal-row__cta { justify-self: start; }
}
@media (max-width: 560px) { .cal-row { grid-template-columns: 1fr; } }
.cal-row__date {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.2;
}
.cal-row__date small { display: block; font-family: var(--body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.2rem; }
.cal-row__what strong { font-size: 1.05rem; display: block; margin-bottom: 0.15rem; }
.cal-row__what span { font-size: 0.92rem; color: var(--ink-soft); }
.cal-row__pill {
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.pill--kids { background: var(--sun); }
.pill--pro { background: var(--ultra); color: #fff; }
.pill--founders { background: var(--coral); }
.pill--teams { background: var(--mint); }
.cal-note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------------------------------------------------------- */
/* Tuition                                                     */
/* ---------------------------------------------------------- */
.tuition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
  align-items: stretch;
}
@media (max-width: 1020px) { .tuition-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tuition-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  rotate: var(--rot, 0deg);
  transition: rotate 0.3s var(--spring), translate 0.3s var(--spring);
}
.price-card:nth-child(1) { --rot: -0.9deg; }
.price-card:nth-child(2) { --rot: 0.7deg; }
.price-card:nth-child(3) { --rot: -0.6deg; }
.price-card:nth-child(4) { --rot: 0.9deg; }
@media (hover: hover) { .price-card:hover { rotate: 0deg; translate: 0 -5px; } }
.price-card__band {
  padding: 0.85rem 1.3rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: var(--border);
}
.price-card:nth-child(1) .price-card__band { background: var(--sun); }
.price-card:nth-child(2) .price-card__band { background: var(--ultra); color: #fff; }
.price-card:nth-child(3) .price-card__band { background: var(--coral); }
.price-card:nth-child(4) .price-card__band { background: var(--mint); }
.price-card__body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.price-card__amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card__amount small { font-size: 0.42em; font-weight: 700; letter-spacing: 0; }
.price-card__per { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin: 0.35rem 0 1rem; }
.price-card ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.5rem; font-size: 0.92rem; font-weight: 500; }
.price-card ul li { display: flex; gap: 0.5rem; align-items: baseline; }
.price-card ul li::before { content: "✶"; color: var(--coral); font-size: 0.8em; flex: none; }
.price-card .btn { margin-top: auto; justify-content: center; }

.scholarship {
  margin-top: clamp(2rem, 5vw, 3rem);
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 7px 8px 0 rgba(43, 60, 255, 0.75);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  rotate: 0.5deg;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
}
@media (max-width: 640px) { .scholarship { grid-template-columns: 1fr; } }
.scholarship h3 { color: var(--sun); font-size: 1.5rem; margin-bottom: 0.4rem; }
.scholarship p { margin: 0; color: color-mix(in srgb, var(--cream) 88%, transparent); max-width: 58ch; }

/* ---------------------------------------------------------- */
/* FAQ                                                          */
/* ---------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem clamp(1.2rem, 3vw, 2rem); align-items: start; }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }
.faq {
  background: var(--paper);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.85);
  rotate: var(--rot, 0deg);
}
.faq:nth-child(odd) { --rot: -0.5deg; }
.faq:nth-child(even) { --rot: 0.5deg; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-weight: 800;
  font-size: 1.02rem;
  font-family: var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ultra);
  transition: rotate 0.3s var(--spring);
  flex: none;
}
.faq[open] summary::after { rotate: 45deg; }
.faq div { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); font-size: 0.96rem; }
.faq div p { margin: 0; }

/* ---------------------------------------------------------- */
/* Join form                                                    */
/* ---------------------------------------------------------- */
.join-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .join-layout { grid-template-columns: 1fr; } }
.join-blurb h2 { font-size: var(--fs-h2); }
.join-blurb p { font-weight: 500; max-width: 44ch; }
.join-blurb .doodle-arrow { margin-top: 1rem; }

.join-form {
  background: var(--paper);
  border: var(--border);
  border-radius: calc(var(--radius-card) + 4px);
  box-shadow: 8px 9px 0 rgba(20, 20, 20, 0.9);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  rotate: 0.8deg;
  position: relative;
  color: var(--ink);
}
.join-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .join-form .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.field label .opt { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: box-shadow 0.18s var(--ease-out), translate 0.18s var(--ease-out);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px dashed var(--ultra);
  outline-offset: 2px;
  box-shadow: 3px 3px 0 var(--sun);
  translate: -1px -1px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-check { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1.3rem; font-weight: 600; font-size: 0.95rem; }
.field-check input {
  width: 1.35rem; height: 1.35rem;
  margin-top: 0.15rem;
  accent-color: var(--ultra);
  flex: none;
}
.join-form .btn { width: 100%; justify-content: center; font-size: 1.1rem; padding-block: 1rem; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); text-align: center; margin: 0.9rem 0 0; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success {
  background: var(--mint);
  border: var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.85);
}
.form-success[hidden] { display: none; }

/* ---------------------------------------------------------- */
/* Footer                                                       */
/* ---------------------------------------------------------- */
.site-foot {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: var(--border);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.9rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-foot a { color: color-mix(in srgb, var(--cream) 85%, transparent); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-foot a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { color: color-mix(in srgb, var(--cream) 70%, transparent); font-size: 0.94rem; max-width: 34ch; }
.foot-brand .logo { color: var(--cream); margin-bottom: 0.9rem; }
.foot-legal {
  border-top: 1px solid rgba(255, 246, 233, 0.18);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
}
.foot-legal a { font-size: inherit; color: color-mix(in srgb, var(--cream) 78%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--sun); }

/* ---------------------------------------------------------- */
/* Crayon trail canvas                                          */
/* ---------------------------------------------------------- */
#crayon {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------------- */
/* Reveal on scroll                                             */
/* ---------------------------------------------------------- */
.rv.in {
  animation: rvIn 0.75s var(--spring) both;
  animation-delay: var(--d, 0s);
}
@keyframes rvIn {
  from { opacity: 0; translate: 0 30px; }
  to { opacity: 1; translate: 0 0; }
}
.no-io .rv.in, .rm .rv.in { animation: none; }

/* ---------------------------------------------------------- */
/* Guide & process pages                                        */
/* ---------------------------------------------------------- */
.page-hero {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: var(--border);
  position: relative;
  overflow: clip;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 5.4vw, 5.2rem); max-width: 16ch; }
.page-hero .lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); font-weight: 500; color: var(--ink-soft); max-width: 56ch; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); font-weight: 480; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--coral); content: "✶  "; font-size: 0.85em; }
.prose hr { border: none; border-top: 3px dashed rgba(20, 20, 20, 0.2); margin: 3rem 0; }

.callout {
  background: var(--paper);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 5px 6px 0 rgba(20, 20, 20, 0.85);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  rotate: -0.5deg;
  position: relative;
}
.callout--sun { background: var(--sun); }
.callout--mint { background: var(--mint); rotate: 0.5deg; }
.callout--coral { background: var(--coral); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout .callout-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

pre.code {
  background: var(--ink);
  color: #EDEBFF;
  border: var(--border);
  border-radius: 16px;
  box-shadow: 5px 6px 0 rgba(43, 60, 255, 0.7);
  padding: 1.3rem 1.5rem;
  overflow-x: auto;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 1.8rem 0;
}
pre.code code { font-family: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace; }
pre.code .c { color: #8fa3b8; }
pre.code .k { color: #FFC93C; }
pre.code .f { color: #7DE8B4; }

.pass-log { display: grid; gap: 1.2rem; margin: 2rem 0; }
.pass-log article {
  background: var(--paper);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.85);
  padding: 1.3rem 1.5rem;
  rotate: var(--rot, 0deg);
}
.pass-log article:nth-child(1) { --rot: -0.6deg; }
.pass-log article:nth-child(2) { --rot: 0.6deg; }
.pass-log article:nth-child(3) { --rot: -0.4deg; }
.pass-log h3 { margin: 0 0 0.6rem; font-size: 1.1rem; }
.pass-log h3 span {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  margin-right: 0.6rem;
  rotate: -5deg;
  font-size: 0.95rem;
}
.pass-log article:nth-child(1) h3 span { background: var(--sun); }
.pass-log article:nth-child(2) h3 span { background: var(--coral); }
.pass-log article:nth-child(3) h3 span { background: var(--mint); }
.pass-log ul { margin: 0; padding-left: 1.1rem; }
.pass-log li { color: var(--ink-soft); margin-bottom: 0.4rem; font-size: 0.96rem; }
.pass-log li::marker { color: var(--coral); content: "✶  "; font-size: 0.85em; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(20, 20, 20, 0.8);
  transition: transform 0.22s var(--spring), box-shadow 0.22s var(--spring);
}
.breadcrumb:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 rgba(20, 20, 20, 0.8); }

.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2rem 0; }
@media (max-width: 760px) { .decision-grid { grid-template-columns: 1fr; } }
.decision {
  background: var(--paper);
  border: var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.85);
  rotate: var(--rot, 0deg);
}
.decision:nth-child(odd) { --rot: -0.5deg; }
.decision:nth-child(even) { --rot: 0.5deg; }
.decision h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.decision p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.decision .verdict {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.7rem;
}
.verdict--kept { background: var(--mint); }
.verdict--cut { background: var(--coral); }

/* ---------------------------------------------------------- */
/* Reduced motion                                               */
/* ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .ribbon__track { animation: none !important; transform: none !important; }
  .hero__badge .spin { animation: none !important; }
  .rv { opacity: 1 !important; translate: 0 0 !important; }
}

@media print {
  .site-head, .site-foot, #crayon, .tidy-btn, .sticker-hint { display: none; }
}
