/*
 * HashHackCode website
 * Loads after the Hash framework (css/1-hash*.css, all @layer), so every
 * rule here wins without !important.
 *
 * The five signature devices (Hash Design System):
 *   1. The band strip  Green → Yellow → Orange → Blue → Purple
 *   2. The mono hashtag eyebrow
 *   3. The ink pill button that turns yellow on hover
 *   4. White walls, tinted rounded cards
 *   5. Drawn marks (course glyphs, stages, bands) instead of decoration
 *
 * Colour code — a band is a meaning, not a decoration:
 *   Logic Series green · Academy yellow · Educators orange ·
 *   Schools blue · Creative Series purple.
 *   A tone goes on everything that belongs to that part, and nowhere else.
 *   The full rainbow is used only where the subject is a progression.
 */

/* ============================================================
   TOKENS
============================================================ */
:root {
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-primary: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --ink: #241b2e;
  --ink-2: #4a4056;
  --muted: #756d81;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f8f5fc;
  --soft-2: #f1ebf8;
  --line: #ece6f3;
  --line-strong: #dacfe6;

  --brand: #9f44bc;
  --brand-ink: #7c3798;
  --brand-100: #f3e8f9;
  --brand-200: #e3c9ef;

  --green: #65bd82;
  --yellow: #ffdc4c;
  --orange: #ff9d32;
  --blue: #73d6f1;
  --purple: #9f44bc;
  --tint-green: #eaf7ef;
  --tint-yellow: #fff7d6;
  --tint-orange: #fff0df;
  --tint-blue: #e6f6fb;
  --tint-purple: #f4ebf8;
  --ink-green: #2a7145;
  --ink-yellow: #7a6000;
  --ink-orange: #99500a;
  --ink-blue: #136b84;
  --ink-purple: #7c3798;
  --rainbow: linear-gradient(90deg, var(--green), var(--yellow), var(--orange), var(--blue), var(--purple));

  --tone: var(--brand);
  --tone-tint: var(--tint-purple);
  --tone-ink: var(--brand-ink);

  --rad-xs: 1rem;
  --rad-sm: 1.6rem;
  --rad-md: 2.4rem;
  --rad-lg: 3.2rem;
  --rad-pill: 999px;
  --shadow-1: 0 0.2rem 1rem rgba(36, 27, 46, 0.05);
  --shadow-2: 0 1.2rem 3.2rem rgba(36, 27, 46, 0.09);
  --shadow-3: 0 2.4rem 6.4rem rgba(36, 27, 46, 0.16);

  --fs-1: 1.2rem;
  --fs-2: 1.35rem;
  --fs-3: 1.5rem;
  --fs-4: 1.7rem;
  --fs-5: 2rem;
  --fs-6: clamp(2.2rem, 1vw + 1.8rem, 2.8rem);
  --fs-7: clamp(3rem, 2.4vw + 1.9rem, 4.8rem);
  --fs-8: clamp(4rem, 5vw + 1.8rem, 8.4rem);

  --stick: 9rem;
  --wrap: 122rem;
  --sec-y: clamp(6.4rem, 8vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.tone-logic, .tone-green, .tone-bootcamps { --tone: var(--green); --tone-tint: var(--tint-green); --tone-ink: var(--ink-green); }
.tone-academy, .tone-yellow { --tone: var(--yellow); --tone-tint: var(--tint-yellow); --tone-ink: var(--ink-yellow); }
.tone-educators, .tone-orange { --tone: var(--orange); --tone-tint: var(--tint-orange); --tone-ink: var(--ink-orange); }
.tone-schools, .tone-blue { --tone: var(--blue); --tone-tint: var(--tint-blue); --tone-ink: var(--ink-blue); }
.tone-creative, .tone-purple, .tone-learn { --tone: var(--purple); --tone-tint: var(--tint-purple); --tone-ink: var(--ink-purple); }

/* ============================================================
   BASE
============================================================ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--stick) + 1.6rem); }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-4);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-8); line-height: 1; }
h2 { font-size: var(--fs-7); line-height: 1.06; }
h3 { font-size: var(--fs-6); line-height: 1.18; letter-spacing: -0.015em; }
h4 { font-family: var(--font-primary); font-weight: 800; font-size: var(--fs-5); line-height: 1.3; color: var(--ink); margin: 0; }
p { margin: 0 0 1.6rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-ink); text-decoration: none; }
strong, b { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 0.6rem; }
.ico { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1.6rem; top: -10rem; z-index: 1000; background: var(--ink); color: #fff; padding: 1rem 1.8rem; border-radius: var(--rad-pill); font-weight: 700; }
.skip:focus { top: 1.6rem; }

/* ============================================================
   LAYOUT
============================================================ */
.sec { padding: 0 4% var(--sec-y); }
.sec-soft { background: var(--soft); padding-top: var(--sec-y); margin-bottom: var(--sec-y); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.sec-head { text-align: center; max-width: 82rem; margin: 0 auto clamp(3.6rem, 4.4vw, 6rem); }
.sec-head h2 { margin-bottom: 1.8rem; }
.sec-head .sub { font-family: var(--font-primary); font-weight: 800; font-size: var(--fs-5); line-height: 1.35; letter-spacing: -0.01em; color: var(--tone-ink); margin: -0.6rem auto 1.8rem; } /* auto keeps the subtitle centred under its heading */
.sec-head p { max-width: 72rem; margin-inline: auto; }
.sec-head.left { text-align: left; margin-inline: 0; }
.sec-head.left p { margin-inline: 0; }
.lead { font-size: var(--fs-5); line-height: 1.6; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3.2rem, 6vw, 8.8rem); align-items: center; }
.split.top { align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split.wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.prose h2 { margin-bottom: 1.6rem; }
.prose .sub { font-weight: 800; font-size: var(--fs-5); line-height: 1.35; color: var(--tone-ink); margin: 0 0 2.4rem; }
.prose p { max-width: 64ch; }

/* ============================================================
   SIGNATURE DEVICES
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--tone-ink);
  margin: 0 0 1.6rem;
}
.eyebrow::before { content: '#'; font-weight: 700; opacity: 0.55; }

.bands { display: inline-flex; gap: 0.5rem; height: 0.8rem; vertical-align: middle; }
.bands i { width: 3.2rem; border-radius: var(--rad-pill); background: var(--green); transform-origin: left; }
.bands i:nth-child(2) { background: var(--yellow); }
.bands i:nth-child(3) { background: var(--orange); }
.bands i:nth-child(4) { background: var(--blue); }
.bands i:nth-child(5) { background: var(--purple); }
.hash-ready [data-reveal] .bands i, .hash-ready .bands[data-reveal] i { transform: scaleX(0); }
.hash-ready .is-in .bands i, .hash-ready .bands.is-in i { transform: scaleX(1); transition: transform 0.6s var(--ease); }
.hash-ready .is-in .bands i:nth-child(2), .hash-ready .bands.is-in i:nth-child(2) { transition-delay: 0.08s; }
.hash-ready .is-in .bands i:nth-child(3), .hash-ready .bands.is-in i:nth-child(3) { transition-delay: 0.16s; }
.hash-ready .is-in .bands i:nth-child(4), .hash-ready .bands.is-in i:nth-child(4) { transition-delay: 0.24s; }
.hash-ready .is-in .bands i:nth-child(5), .hash-ready .bands.is-in i:nth-child(5) { transition-delay: 0.32s; }

/* band highlight behind one word — draws in when its heading reveals */
.hl { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.hl::before {
  content: '';
  position: absolute;
  inset: auto -0.14em;
  top: 60%;
  height: 0.6em;
  border-radius: 0.22em;
  background: var(--rainbow);
  z-index: -1;
  transform: translateY(-50%) scaleX(1);
  transform-origin: left;
}
.hl.solid::before { background: var(--yellow); }
.hash-ready [data-reveal] .hl::before { transform: translateY(-50%) scaleX(0); }
.hash-ready .is-in .hl::before { transform: translateY(-50%) scaleX(1); transition: transform 0.8s var(--ease) 0.35s; }

/* ============================================================
   BUTTONS & LINKS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-4);
  line-height: 1.1;
  padding: 1.7rem 3rem;
  border-radius: var(--rad-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn .ico { width: 1.8rem; height: 1.8rem; transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(0.3rem); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 0.8rem 2rem rgba(36, 27, 46, 0.16); }
.btn-ink:hover { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fff; transform: translateY(-2px); }
.btn-dark-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-dark-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-quiet { background: none; color: var(--ink); padding-inline: 1.6rem; }
.btn-quiet:hover { background: var(--soft-2); }
.btn-sm { padding: 1.15rem 2.2rem; font-size: var(--fs-3); }
.btn-lg { padding: 2rem 3.8rem; font-size: var(--fs-5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  align-self: flex-start;
}
.link-arrow .ico { width: 1.7rem; height: 1.7rem; transition: transform 0.25s var(--ease); }
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  right: 2.5rem;
  bottom: -0.3rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
a:hover > .link-arrow::after, .link-arrow:hover::after { transform: scaleX(1); }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(0.3rem); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 700 1.05rem/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 0.9rem;
  border-radius: 0.7rem;
  white-space: nowrap;
}
.status.live { background: #fff; color: var(--ink-green); }
.status.live::before { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0.3rem rgba(101, 189, 130, 0.25); }
.status.soon { color: var(--muted); border: 1.5px dashed var(--line-strong); background: #fff; }

.verify {
  display: inline-block;
  font: 600 1.15rem/1.5 var(--font-mono);
  background: var(--tint-yellow);
  color: var(--ink-yellow);
  padding: 0.4rem 1rem;
  border-radius: 0.8rem;
}

/* ============================================================
   HEADER · MEGA MENU · MOBILE MENU
============================================================ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 0.4rem;
  background: var(--rainbow);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  z-index: 700;
  pointer-events: none;
}
.site-head { position: fixed; inset: 0 0 auto; z-index: 600; padding: 1rem 1.2rem 0; pointer-events: none; }
.site-head .bar {
  pointer-events: auto;
  position: relative;
  max-width: 136rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem 0.9rem 0.9rem 2rem;
  border-radius: var(--rad-pill);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-head.is-stuck .bar, .site-head.menu-open .bar, .site-head.mega-open .bar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-2);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 3.2rem; width: auto; mix-blend-mode: multiply; }
nav.main { display: flex; align-items: center; gap: 0.2rem; margin-inline: auto; }
.nav-item > a, .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 700 var(--fs-3)/1 var(--font-primary);
  color: var(--ink);
  padding: 1.15rem 1.4rem;
  border-radius: var(--rad-pill);
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-item > a:hover, .nav-btn:hover, .nav-item.is-open > .nav-btn, .nav-item > a[aria-current], .nav-btn.is-current { background: var(--soft-2); color: var(--brand-ink); }
.nav-btn .ico { width: 1.5rem; height: 1.5rem; transition: transform 0.25s ease; }
.nav-item.is-open .nav-btn .ico { transform: rotate(180deg); }
.head-cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* the mega panel is placed from the header bar, so it always centres */
.has-mega { position: static; }
.mega {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  width: min(116rem, calc(100vw - 3.2rem));
  transform: translate(-50%, -0.8rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-3);
  padding: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.74fr);
  gap: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.32s var(--ease), visibility 0.22s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -1.6rem; height: 1.6rem; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-series { background: var(--tone-tint); border-radius: var(--rad-md); padding: 0.8rem; display: flex; flex-direction: column; }
.mega-head { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1.2rem; padding: 1.4rem 1.4rem 1.6rem; border-radius: var(--rad-sm); color: var(--ink); }
.mega-head .tag { font: 600 var(--fs-1)/1.4 var(--font-mono); color: var(--tone-ink); }
.mega-head .tag::before { content: '# '; opacity: 0.6; }
.mega-head .name { font: 800 2.2rem/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.mega-head .note { font-size: var(--fs-3); color: var(--ink-2); line-height: 1.4; }
.mega-head .go { grid-column: 2; grid-row: 1 / span 3; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease); }
.mega-head:hover .go { background: var(--ink); color: #fff; transform: translateX(0.3rem); }
.mega-list { list-style: none; background: #fff; border-radius: var(--rad-sm); padding: 0.6rem; display: grid; gap: 0.1rem; flex: 1; }
.mega-course { display: flex; align-items: center; gap: 1.2rem; padding: 0.8rem 1rem; border-radius: 1.2rem; color: var(--ink-2); transition: background 0.2s ease; }
.mega-course:hover { background: var(--soft); }
.glyph {
  width: 4rem;
  height: 4rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  background: var(--tone-tint);
  color: var(--tone-ink);
  font: 700 1.25rem/1 var(--font-mono);
  flex-shrink: 0;
  letter-spacing: -0.04em;
}
.mega-course.is-soon .glyph { background: #fff; border: 1.5px dashed var(--line-strong); color: var(--muted); }
.mega-course .txt { min-width: 0; }
.mega-course .name { display: flex; align-items: center; flex-wrap: wrap; gap: 0.2rem 0.8rem; font-weight: 700; font-size: var(--fs-3); color: var(--ink); line-height: 1.35; }
.mega-course .note { display: block; font-size: var(--fs-1); color: var(--muted); line-height: 1.45; }
.mega-course .status { padding: 0.35rem 0.6rem; font-size: 0.95rem; }
.mega-promo {
  position: relative;
  overflow: clip;
  border-radius: var(--rad-md);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  padding: 2.6rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  isolation: isolate;
}
.mega-promo::after { content: ''; position: absolute; inset: auto -30% -40% auto; width: 32rem; height: 32rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(159, 68, 188, 0.55), transparent); z-index: -1; }
.mega-promo .name { font: 800 2.6rem/1.1 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.mega-promo p { font-size: var(--fs-3); line-height: 1.6; margin: 0; }
.mega-promo .btn { margin-top: auto; align-self: flex-start; }
.mega-paths { list-style: none; display: grid; gap: 0.4rem; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 1.4rem; }
.mega-paths a { color: #fff; font-weight: 700; font-size: var(--fs-2); display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; }
.mega-paths a:hover { color: var(--yellow); }
.mega-paths .ico { width: 1.5rem; height: 1.5rem; }

.nav-toggle { display: none; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: var(--ink); color: #fff; border: 0; cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 2.2rem; height: 2.2rem; }
.nav-toggle .i-close { display: none; }
.menu-open .nav-toggle .i-open { display: none; }
.menu-open .nav-toggle .i-close { display: block; }

.mnav {
  position: fixed;
  inset: 0;
  z-index: 590;
  background: #fff;
  padding: calc(var(--stick) + 1.6rem) 5% 4rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.2rem);
  transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s;
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; }
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-big {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font: 800 2.6rem/1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 1.6rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.mnav-big .ico { width: 2.4rem; height: 2.4rem; transition: transform 0.3s var(--ease); }
.mnav-group.is-open .mnav-big .ico { transform: rotate(180deg); }
.mnav-big small { display: block; font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--muted); letter-spacing: 0; margin-top: 0.4rem; }
.mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.mnav-group.is-open .mnav-sub { grid-template-rows: 1fr; }
.mnav-sub > div { overflow: hidden; min-height: 0; }
.mnav-series { background: var(--tone-tint); border-radius: var(--rad-sm); padding: 1.6rem; margin-bottom: 1.2rem; }
.mnav-series > a { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: var(--fs-4); color: var(--ink); margin-bottom: 0.6rem; }
.mnav-series ul { list-style: none; display: grid; }
.mnav-series li a { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; padding: 0.6rem 0; color: var(--ink-2); font-weight: 600; font-size: var(--fs-3); }
.mnav-cta { display: grid; gap: 1rem; margin-top: 2.8rem; }

/* ============================================================
   IMAGE PLACEHOLDER
============================================================ */
.ph {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: var(--ar, 4 / 3);
  border-radius: var(--rad-lg);
  background: var(--tone-tint);
  overflow: clip;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 1.6rem;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--tone) 38%, transparent) 1px, transparent 0);
  background-size: 2.2rem 2.2rem;
  opacity: 0.55;
}
.ph-single::after {
  content: '';
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: -18%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--tone) 32%, #fff);
}
.ph-fig { position: absolute; z-index: -1; left: 50%; bottom: 0; width: 76%; transform: translateX(-50%); fill: color-mix(in srgb, var(--tone) 55%, var(--ink) 8%); opacity: 0.5; }
.ph-group .ph-fig { width: 92%; }
.ph-fig .t { fill: #fff; stroke: color-mix(in srgb, var(--tone) 70%, var(--ink)); stroke-width: 3; opacity: 1; }
.ph-id { position: absolute; top: 1.4rem; left: 1.4rem; font: 700 1.1rem/1 var(--font-mono); background: #fff; color: var(--ink); border-radius: var(--rad-pill); padding: 0.6rem 1rem; }
.ph-meta { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); border-radius: 1.4rem; padding: 1rem 1.3rem; font-size: var(--fs-1); line-height: 1.45; color: var(--ink-2); max-width: 100%; }
.ph-meta b { display: block; font-size: var(--fs-2); line-height: 1.3; }
.ph-meta code { font-family: var(--font-mono); font-size: 1.1rem; color: var(--tone-ink); }
.ph-mini .ph-meta { display: none; }
.ph-mini .ph-id { font-size: 1rem; }

/* ============================================================
   HOME HERO
============================================================ */
.hero {
  position: relative;
  min-height: min(96vh, 92rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: calc(var(--stick) + clamp(4rem, 6vw, 7rem)) 4% clamp(5rem, 7vw, 8rem);
  overflow: clip;
  isolation: isolate;
}
.halo { position: absolute; inset: auto 0 -34%; height: 86%; background: radial-gradient(52% 58% at 50% 100%, var(--tone-tint), transparent 72%); z-index: -1; pointer-events: none; }
.hero .halo { background: radial-gradient(52% 58% at 50% 100%, var(--brand-100), transparent 72%); }
.hero-copy { position: relative; z-index: 2; max-width: 94rem; margin-inline: auto; }
.hero .eyebrow { justify-content: center; }
.hero h1 { margin: 0 auto 2.6rem; }
.hero .lead { max-width: 64rem; margin: 0 auto 3.6rem; }
.hero .btn-row { justify-content: center; }
.hero .bands { margin-top: 4.8rem; }

.hero-tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tile { position: absolute; width: var(--w); pointer-events: auto; }
.tile-in { position: relative; transform: rotate(var(--rot)); animation: tileFloat 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.tile .ph { border-radius: 2.6rem; border: 0.6rem solid #fff; box-shadow: var(--shadow-2); }
.tile-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: var(--rad-pill);
  padding: 0.85rem 1.5rem 0.85rem 1.1rem;
  font: 700 var(--fs-2)/1 var(--font-primary);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}
.tile-chip i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--tone); }
.tile-1 { --w: 21rem; --rot: -6deg; left: 4%; top: calc(var(--stick) + 5rem); }
.tile-2 { --w: 18rem; --rot: 5deg; --fd: -2.5s; right: 5%; top: calc(var(--stick) + 2.4rem); }
.tile-3 { --w: 17rem; --rot: 4deg; --fd: -4.5s; left: 8%; bottom: 6rem; }
.tile-4 { --w: 23rem; --rot: -4deg; --fd: -1.2s; right: 3.5%; bottom: 4.8rem; }
.tile-1 .tile-chip { right: -3.2rem; bottom: 3.2rem; }
.tile-2 .tile-chip { left: -3.6rem; bottom: 2.4rem; }
.tile-3 .tile-chip { right: -4.2rem; top: 2.4rem; }
.tile-4 .tile-chip { left: -2.8rem; top: -1.6rem; }
@keyframes tileFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.1rem; } }

.verbs { border-block: 1px solid var(--line); padding-block: 2.2rem; margin-bottom: var(--sec-y); --marquee-gap: 0rem; --marquee-dur: 46s; }
.verb { display: inline-flex; align-items: center; gap: 1.2rem; padding-inline: 2.8rem; font: 800 clamp(2.6rem, 3.2vw, 4.4rem)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.verb::before { content: '#'; font-family: var(--font-mono); font-weight: 700; color: var(--tone); }
.verb:nth-child(6n + 1) { --tone: var(--green); }
.verb:nth-child(6n + 2) { --tone: var(--yellow); }
.verb:nth-child(6n + 3) { --tone: var(--orange); }
.verb:nth-child(6n + 4) { --tone: var(--blue); }
.verb:nth-child(6n + 5) { --tone: var(--purple); }
.verb:nth-child(6n) { --tone: var(--brand-ink); }

/* ============================================================
   INNER PAGE HERO
============================================================ */
.page-hero { position: relative; text-align: center; padding: calc(var(--stick) + clamp(4.8rem, 7vw, 8.8rem)) 4% 0; margin-bottom: var(--sec-y); overflow: clip; isolation: isolate; }
.page-hero .halo { inset: -10% 0 auto; height: 90%; background: radial-gradient(50% 60% at 50% 0%, var(--tone-tint), transparent 74%); }
.page-hero-copy { max-width: 90rem; margin-inline: auto; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(3.8rem, 4.6vw + 1.6rem, 7.6rem); margin-bottom: 2.4rem; }
.page-hero .lead { max-width: 74rem; margin: 0 auto 3.6rem; }
.page-hero .btn-row { justify-content: center; }
.page-hero-media { position: relative; max-width: var(--wrap); margin: clamp(4.8rem, 6vw, 7.2rem) auto 0; }
.page-hero-media .ph { border-radius: var(--rad-lg) var(--rad-lg) var(--rad-lg) var(--rad-lg); }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--rad-pill);
  padding: 1.1rem 1.8rem 1.1rem 1.2rem;
  font: 700 var(--fs-3)/1.2 var(--font-primary);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
  z-index: 3;
}
.float-chip .glyph { width: 3.4rem; height: 3.4rem; border-radius: 50%; font-size: 1.1rem; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 3.2rem; }
.jump a { font: 600 var(--fs-2)/1 var(--font-mono); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--rad-pill); padding: 1rem 1.6rem; }
.jump a::before { content: '# '; color: var(--tone-ink); }
.jump a:hover { border-color: var(--ink); }

/* ============================================================
   STATEMENT (CTA CARD)
============================================================ */
.statement {
  position: relative;
  border-radius: var(--rad-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(5.6rem, 8vw, 9.6rem) clamp(2.4rem, 6vw, 8rem);
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
.statement::before { content: ''; position: absolute; inset: 0 0 auto; height: 0.8rem; background: var(--rainbow); }
.statement::after { content: ''; position: absolute; left: 50%; top: -40%; width: 90rem; height: 60rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(159, 68, 188, 0.4), transparent); z-index: -1; }
.statement .mark { position: absolute; right: -2rem; bottom: -14rem; font: 800 44rem/1 var(--font-display); color: rgba(255, 255, 255, 0.04); z-index: -1; pointer-events: none; user-select: none; }
.statement h2 { font-size: clamp(2.8rem, 2.8vw + 1.6rem, 5.4rem); line-height: 1.12; color: #fff; max-width: 26ch; margin: 0 auto 3.6rem; }
.statement h2 .second { color: var(--yellow); display: block; }
.statement.brand { background: var(--brand); }
.statement.brand::after { background: radial-gradient(closest-side, rgba(255, 220, 76, 0.22), transparent); }
.statement.brand h2 .first { color: rgba(255, 255, 255, 0.78); display: block; }
.statement.brand h2 .second { color: #fff; }

/* ============================================================
   SKILLS LADDER (six abilities, a progression)
============================================================ */
.ladder { list-style: none; position: relative; display: grid; gap: 1.2rem; }
.ladder::before { content: ''; position: absolute; left: 2.5rem; top: 2.6rem; bottom: 2.6rem; width: 0.4rem; border-radius: 9px; background: linear-gradient(180deg, var(--green), var(--yellow), var(--orange), var(--blue), var(--purple)); }
.ladder li { position: relative; display: flex; align-items: center; gap: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-pill); padding: 0.9rem 2.4rem 0.9rem 0.9rem; font-weight: 700; font-size: var(--fs-4); color: var(--ink); box-shadow: var(--shadow-1); }
.ladder li:nth-child(even) { margin-left: 3.2rem; }
.ladder .n { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--ink); font: 700 1.2rem/1 var(--font-mono); flex-shrink: 0; position: relative; }
.ladder li:nth-child(1) { --c: var(--green); }
.ladder li:nth-child(2) { --c: var(--yellow); }
.ladder li:nth-child(3) { --c: var(--orange); }
.ladder li:nth-child(4) { --c: var(--blue); }
.ladder li:nth-child(5) { --c: var(--purple); }
.ladder li:nth-child(5) .n, .ladder li:nth-child(6) .n { color: #fff; }
.ladder li:nth-child(6) { --c: var(--ink); }

/* ============================================================
   MEDIA WITH CHIPS
============================================================ */
.media { position: relative; }
.media .float-chip:nth-of-type(1) { top: 10%; left: -2.4rem; }
.media .float-chip:nth-of-type(2) { top: 44%; right: -2.4rem; }
.media .float-chip:nth-of-type(3) { bottom: 10%; left: 6%; }

/* ============================================================
   PROMPT + BARRIERS
============================================================ */
.prompt { position: relative; max-width: 64rem; margin: 0 auto 0; }
.prompt-bar { display: flex; align-items: center; gap: 1.4rem; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--rad-pill); padding: 1.2rem 1.2rem 1.2rem 2.2rem; box-shadow: var(--shadow-2); }
.prompt-bar .ico { color: var(--brand); }
.prompt-bar .ghost { flex: 1; display: flex; align-items: center; gap: 0.6rem; }
.prompt-bar .ghost i { height: 1rem; border-radius: 9px; background: var(--soft-2); }
.prompt-bar .caret { width: 0.2rem; height: 2.4rem; background: var(--ink); animation: caret 1.1s steps(1) infinite; }
.prompt-bar .send { width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
@keyframes caret { 50% { opacity: 0; } }
.prompt-lines { height: 5.6rem; margin: 0 auto; width: calc(100% - 2 * (100% / 6)); position: relative; }
.prompt-lines::before { content: ''; position: absolute; left: 50%; top: 0; height: 2.8rem; border-left: 2px dashed var(--line-strong); }
.prompt-lines::after { content: ''; position: absolute; left: 0; right: 0; top: 2.8rem; height: 2.8rem; border: 2px dashed var(--line-strong); border-bottom: 0; border-radius: 1.6rem 1.6rem 0 0; }
.prompt-wrap { max-width: var(--wrap); margin: 0 auto; }

/* ============================================================
   CARD DECKS
============================================================ */
.deck { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 2rem; list-style: none; }
.deck-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.deck-5 > * { grid-column: span 2; }
.deck-5 > *:nth-child(n + 4) { grid-column: span 3; }
.deck-7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.deck-7 > * { grid-column: span 3; }
.deck-7 > *:nth-child(n + 5) { grid-column: span 4; }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 2.8rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-0.3rem); box-shadow: var(--shadow-2); border-color: transparent; }
.card h3, .card h4 { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; color: var(--ink); }
.card p { font-size: var(--fs-3); margin: 0; }
.card .num { position: absolute; top: 2.4rem; right: 2.4rem; font: 600 var(--fs-2)/1 var(--font-mono); color: var(--muted); }
.plate { width: 5rem; height: 5rem; border-radius: 1.5rem; display: grid; place-items: center; background: var(--tone-tint); color: var(--tone-ink); margin-bottom: 0.8rem; flex-shrink: 0; }
.plate .ico { width: 2.4rem; height: 2.4rem; }
.card.tinted { background: var(--tone-tint); border-color: transparent; }
.card.tinted .plate { background: #fff; }
.card .link-arrow { margin-top: auto; padding-top: 1.2rem; }
.card-link { color: inherit; }

/* barriers */
.barrier { padding-top: 3.2rem; }
.barrier .kicker { font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   SERIES CARD — sticky brief + course cards (home)
============================================================ */
.series {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  overflow: clip; /* clip, not hidden: hidden would stop the sticky brief */
}
.series + .series { margin-top: 2.4rem; }
.series-brief { background: var(--tone-tint); padding: clamp(3.2rem, 4vw, 5.2rem); }
.series-brief-in { position: sticky; top: calc(var(--stick) + 3.2rem); }
.series-brief h3 { font-size: clamp(3.4rem, 2.4vw + 1.8rem, 5.2rem); line-height: 1; margin-bottom: 1rem; }
.series-brief h4 { font-size: var(--fs-5); color: var(--tone-ink); margin-bottom: 2.4rem; }
.series-brief p { font-size: var(--fs-4); }
.series-facts { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2.8rem 0 3.2rem; }
.series-facts span { background: #fff; border-radius: var(--rad-pill); padding: 0.8rem 1.4rem; font: 600 var(--fs-2)/1 var(--font-mono); color: var(--ink); }
.series-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; padding: 1.4rem; align-content: start; }

.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  padding: 2.4rem;
  border-radius: var(--rad-md);
  background: var(--tone-tint);
  border: 1.5px solid transparent;
  color: var(--ink-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
a.ccard:hover { transform: translateY(-0.4rem); box-shadow: var(--shadow-2); }
.ccard-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 700 1.1rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--tone-ink); }
.ccard-mark {
  width: 7.6rem;
  height: 7.6rem;
  display: grid;
  place-items: center;
  margin: 2.8rem 0 2.8rem 0.4rem;
  border: 2.5px solid var(--ink);
  border-radius: 1.4rem;
  background: #fff;
  color: var(--ink);
  font: 700 2rem/1 var(--font-mono);
  letter-spacing: -0.05em;
  transform: rotate(-6deg);
  box-shadow: 0.5rem 0.5rem 0 var(--tone);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.ccard:hover .ccard-mark { transform: rotate(0deg) scale(1.04); box-shadow: 0.2rem 0.2rem 0 var(--tone); }
.ccard h4 { font: 800 2.4rem/1.15 var(--font-display); letter-spacing: -0.02em; margin: auto 0 1rem; }
.ccard p { font-size: var(--fs-3); margin: 0 0 2.2rem; }
.ccard .link-arrow { margin-top: 0; font-size: var(--fs-3); }
.ccard.is-soon { background: #fff; border: 1.5px dashed var(--line-strong); }
.ccard.is-soon .ccard-meta { color: var(--muted); }
.ccard.is-soon .ccard-mark { border-style: dashed; border-color: #a79db4; color: var(--muted); box-shadow: none; }
.ccard-more { background: var(--ink); color: rgba(255, 255, 255, 0.72); justify-content: space-between; overflow: clip; isolation: isolate; }
.ccard-more::after { content: ''; position: absolute; right: -30%; bottom: -30%; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 60%, transparent), transparent); z-index: -1; }
.ccard-more .big { font: 800 clamp(2.6rem, 1.6vw + 1.4rem, 3.4rem)/1.08 var(--font-display); letter-spacing: -0.02em; color: #fff; margin: 2.4rem 0; }
.ccard-more .link-arrow { color: var(--yellow); }
.ccard-more .bands i { width: 2.4rem; }

/* ============================================================
   ADAPTS — tinted panel + stepped principles
============================================================ */
.panel { border-radius: var(--rad-lg); background: var(--tone-tint); padding: clamp(3.2rem, 4.4vw, 5.6rem); }
.panel h2 { margin-bottom: 2rem; }
.principles { list-style: none; display: grid; gap: 1.4rem; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-md); padding: 2.4rem; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.principle:hover { box-shadow: var(--shadow-2); transform: translateX(0.4rem); }
.principle h3 { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.principle p { font-size: var(--fs-3); }
.principle .tagline { display: block; font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); margin-bottom: 1rem; }
.principles.stepped .principle:nth-child(2) { margin-left: 2.8rem; }
.principles.stepped .principle:nth-child(3) { margin-left: 5.6rem; }
.principles.stepped .principle:nth-child(4) { margin-left: 8.4rem; }

/* ============================================================
   AUDIENCE DOORS
============================================================ */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.doors.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; } /* draft-5: Schools and Educators under Ways to Learn */
.door { display: flex; flex-direction: column; border-radius: var(--rad-lg); background: var(--tone-tint); overflow: clip; transition: transform 0.35s var(--ease), box-shadow 0.35s ease; }
.door:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-2); }
.door .ph { border-radius: 0; }
.door-body { padding: 2.8rem 2.8rem 3.2rem; display: flex; flex-direction: column; flex: 1; }
.door-for { font: 600 var(--fs-3)/1.3 var(--font-mono); color: var(--tone-ink); letter-spacing: 0; margin: 0 0 1.2rem; }
.door-for::before { content: '# '; opacity: 0.6; }
.door h3 { font-size: clamp(2.4rem, 1vw + 1.9rem, 3rem); margin-bottom: 1.4rem; }
.door p { font-size: var(--fs-3); margin-bottom: 2.8rem; }
.door .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   PRESS
============================================================ */
.press-head { text-align: center; margin-bottom: 3.2rem; }
.press-head h2 { font: 600 var(--fs-3)/1 var(--font-mono); color: var(--muted); letter-spacing: 0; }
.press-head h2::before { content: '# '; }
.press { --marquee-gap: 6.4rem; --marquee-dur: 50s; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.press .marquee-track { align-items: center; }
.press img { height: 3.6rem; width: auto; max-width: none; filter: grayscale(1); opacity: 0.6; transition: filter 0.25s ease, opacity 0.25s ease; }
.press img:hover { filter: none; opacity: 1; }

/* ============================================================
   CLOSER (dark band with three doors)
============================================================ */
.closer {
  position: relative;
  border-radius: var(--rad-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  padding: clamp(5.6rem, 8vw, 9.6rem) clamp(2.4rem, 5vw, 7.2rem) clamp(3.2rem, 4vw, 4.8rem);
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
.closer::before { content: ''; position: absolute; left: 50%; bottom: -50%; width: 110rem; height: 70rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(159, 68, 188, 0.42), transparent); z-index: -1; }
.closer h2 { color: #fff; margin: 3.2rem auto 2.4rem; max-width: 20ch; }
.closer > p { max-width: 70rem; margin: 0 auto 4.8rem; font-size: var(--fs-5); line-height: 1.6; }
.closer .btn-row { justify-content: center; margin-bottom: 4.8rem; }
.closer-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; text-align: left; }
.closer-door { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 2.4rem 2.4rem 2.2rem; border-radius: var(--rad-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; overflow: clip; transition: background 0.3s ease, transform 0.3s var(--ease); }
.closer-door::before { content: ''; position: absolute; inset: 0 0 auto; height: 0.5rem; background: var(--tone); }
.closer-door .for { font: 600 var(--fs-2)/1 var(--font-mono); color: rgba(255, 255, 255, 0.6); }
.closer-door b { font: 800 var(--fs-5)/1.25 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.closer-door .ico { position: absolute; right: 2.2rem; bottom: 2.2rem; width: 2.2rem; height: 2.2rem; transition: transform 0.3s var(--ease); }
.closer-door:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-0.3rem); }
.closer-door:hover .ico { transform: translateX(0.3rem); }

/* ============================================================
   PROCESS STEPS (progression → rainbow)
============================================================ */
.steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 2.4rem; }
.steps::before { content: ''; position: absolute; top: 2.6rem; left: 2.6rem; right: 2.6rem; height: 0.4rem; border-radius: 9px; background: var(--rainbow); }
.step { position: relative; }
.step-dot { position: relative; width: 5.6rem; height: 5.6rem; border-radius: 50%; background: #fff; border: 0.4rem solid var(--c); display: grid; place-items: center; font: 700 var(--fs-3)/1 var(--font-mono); color: var(--ink); margin-bottom: 2.2rem; }
.step:nth-child(1) { --c: var(--green); }
.step:nth-child(2) { --c: var(--yellow); }
.step:nth-child(3) { --c: var(--orange); }
.step:nth-child(4) { --c: var(--blue); }
.step:nth-child(5) { --c: var(--purple); }
.steps[style*="--n:4"] .step:nth-child(4) { --c: var(--purple); }
.steps[style*="--n:4"] .step:nth-child(3) { --c: var(--blue); }
.steps[style*="--n:4"] .step:nth-child(2) { --c: var(--orange); }
.step h3 { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; margin-bottom: 0.8rem; }
.step p { font-size: var(--fs-3); }

/* ============================================================
   LEARNER STAGES
============================================================ */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; align-items: end; }
.stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--rad-md); padding: 2.8rem 2.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.stage::before { content: ''; display: block; height: var(--h); border-radius: 1.4rem; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 36%, #fff), color-mix(in srgb, var(--c) 12%, #fff)); margin-bottom: 1.2rem; }
.stage:nth-child(1) { --c: var(--green); --h: 4rem; }
.stage:nth-child(2) { --c: var(--orange); --h: 8rem; }
.stage:nth-child(3) { --c: var(--purple); --h: 12rem; }
.stage .k { font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stage h3 { font-size: var(--fs-6); }
.stage p { font-size: var(--fs-3); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.chips li { font-size: var(--fs-2); font-weight: 600; color: var(--ink); background: var(--soft); border-radius: var(--rad-pill); padding: 0.6rem 1.2rem; }
.meter { display: flex; gap: 0.4rem; align-items: center; font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); }
.meter i { width: 2.2rem; height: 0.7rem; border-radius: 9px; background: var(--soft-2); }
.meter i.on { background: var(--c); }

/* ============================================================
   PLP PLAN MOCK
============================================================ */
.plan-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-lg); padding: 2.8rem; box-shadow: var(--shadow-2); }
.plan-mock-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 600 var(--fs-2)/1 var(--font-mono); color: var(--muted); margin-bottom: 2rem; }
.plan-bar { display: flex; gap: 0.5rem; height: 1.6rem; margin-bottom: 2.4rem; }
.plan-bar i { border-radius: 9px; }
.plan-bar i:nth-child(1) { flex: 6; background: var(--brand); }
.plan-bar i:nth-child(2) { flex: 2.5; background: var(--yellow); }
.plan-bar i:nth-child(3) { flex: 1.5; background: var(--green); }
.plan-rows { list-style: none; display: grid; gap: 1rem; }
.plan-rows li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 1.4rem; align-items: start; padding: 1.6rem; border-radius: var(--rad-sm); background: var(--soft); }
.plan-rows li::before { content: ''; width: 1.4rem; height: 1.4rem; border-radius: 50%; margin-top: 0.5rem; background: var(--c); }
.plan-rows li:nth-child(1) { --c: var(--brand); }
.plan-rows li:nth-child(2) { --c: var(--yellow); }
.plan-rows li:nth-child(3) { --c: var(--green); }
.plan-rows b { display: block; font-size: var(--fs-4); }
.plan-rows p { font-size: var(--fs-3); margin: 0.2rem 0 0; }

/* ============================================================
   APP WINDOWS
============================================================ */
.app { background: var(--tone-tint); border-radius: var(--rad-lg); padding: 1.4rem 1.4rem 2.8rem; display: flex; flex-direction: column; gap: 2rem; }
.app-window { background: #fff; border-radius: var(--rad-md); box-shadow: var(--shadow-1); overflow: clip; }
.app-window .dots { display: flex; gap: 0.6rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.app-window .dots i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--soft-2); }
.app-window .screen { height: 14rem; display: grid; place-items: center; font: 700 4rem/1 var(--font-mono); color: var(--tone-ink); background: linear-gradient(180deg, #fff, var(--soft)); }
.app h3 { font: 800 var(--fs-5)/1.3 var(--font-primary); padding-inline: 1.4rem; margin-bottom: -1rem; }
.app p { font-size: var(--fs-3); padding-inline: 1.4rem; margin: 0; }

/* ============================================================
   POD
============================================================ */
.pod { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 2.8rem 0 3.2rem; }
.pod span { width: 6.4rem; height: 6.4rem; border-radius: 50%; display: grid; place-items: center; font: 700 var(--fs-2)/1 var(--font-mono); }
.pod .lead-learner { background: var(--yellow); color: var(--ink); }
.pod .plus { border: 2px dashed var(--ink-yellow); color: var(--ink-yellow); background: #fff; }
.pod .ico { width: 2.4rem; height: 2.4rem; }

/* ============================================================
   PLANS
============================================================ */
.paths2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.path-card { position: relative; border-radius: var(--rad-lg); background: var(--tone-tint); padding: 3.6rem 3.2rem 3.2rem; }
.path-card .n { font: 800 6.4rem/0.9 var(--font-display); color: var(--tone); display: block; margin-bottom: 1.6rem; }
.path-card h3 { margin-bottom: 1.4rem; }
.path-card p { font-size: var(--fs-4); }
.table-wrap { overflow-x: auto; border-radius: var(--rad-lg); border: 1px solid var(--line); background: #fff; }
.table-wrap > table { margin: 0; } /* the framework gives every table margin-top: 1rem, which showed as a white strip above the header row */
.plans { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-3); min-width: 88rem; }
.plans th, .plans td { padding: 1.8rem 2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.plans thead th { background: var(--soft); font: 800 var(--fs-4)/1.25 var(--font-display); color: var(--ink); vertical-align: bottom; }
.plans thead th span { display: block; font: 600 var(--fs-1)/1.4 var(--font-mono); color: var(--muted); margin-top: 0.4rem; }
.plans thead th em { display: inline-block; font: 700 1.05rem/1 var(--font-mono); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; background: var(--yellow); color: var(--ink); padding: 0.5rem 0.8rem; border-radius: 0.6rem; margin-bottom: 1rem; }
.plans tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.plans .best { background: var(--tint-yellow); }
.plans thead .best { background: color-mix(in srgb, var(--yellow) 40%, #fff); }
.plans tfoot td { border-bottom: 0; padding: 2.4rem 2rem; background: var(--soft); }
.plans td.yes { color: var(--ink-green); font-weight: 700; }
.plan-cards { display: none; list-style: none; gap: 1.6rem; }
.plan-card { border-radius: var(--rad-md); background: #fff; border: 1px solid var(--line); padding: 2.4rem; }
.plan-card.best { background: var(--tint-yellow); border-color: transparent; }
.plan-card h3 { font-size: var(--fs-6); }
.plan-card h3 span { display: block; font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--muted); letter-spacing: 0; margin-top: 0.4rem; }
.plan-card dl { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem 1.6rem; margin: 2rem 0; font-size: var(--fs-3); }
.plan-card dt { color: var(--ink-2); }
.plan-card dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.plan-card .suits { font-size: var(--fs-3); border-top: 1px solid var(--line-strong); padding-top: 1.6rem; margin: 0; }
.addons { display: flex; gap: 1.6rem; align-items: flex-start; margin-top: 2.4rem; background: var(--soft); border-radius: var(--rad-md); padding: 2.2rem 2.4rem; font-size: var(--fs-3); }
.addons .plate { margin: 0; background: #fff; }

/* ============================================================
   CREDENTIAL CARD (educators)
============================================================ */
.credential { position: relative; background: #fff; border-radius: var(--rad-lg); border: 1px solid var(--line); box-shadow: var(--shadow-3); padding: 4.4rem 3.6rem 3.6rem; overflow: clip; transform: rotate(1.2deg); }
.credential::before { content: ''; position: absolute; inset: 0 0 auto; height: 0.8rem; background: var(--rainbow); }
.credential .seal { position: absolute; right: 3rem; top: 3rem; width: 8rem; height: 8rem; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 3.6rem/1 var(--font-display); box-shadow: 0 0 0 0.6rem var(--brand-100); }
.credential .k { font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--muted); }
.credential h3 { font-size: clamp(2.4rem, 1.4vw + 1.6rem, 3.2rem); max-width: 14ch; margin: 1rem 0 3.2rem; }
.credential dl { display: grid; gap: 0; margin: 0; }
.credential dl > div { display: flex; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; border-top: 1px dashed var(--line-strong); }
.credential dt { color: var(--ink-2); font-size: var(--fs-3); }
.credential dd { margin: 0; font-weight: 800; color: var(--ink); font-size: var(--fs-4); text-align: right; }

/* ============================================================
   FRAMEWORK (curriculum hierarchy)
============================================================ */
.path-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.8rem; margin: 0 auto 4rem; }
.path-line span { font: 700 var(--fs-3)/1 var(--font-mono); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--rad-pill); padding: 1rem 1.8rem; }
.path-line .ico { width: 1.6rem; height: 1.6rem; color: var(--tone-ink); }
/* funnel: each row is narrower by --step a side, and its padding grows by the same amount,
   so every heading and description sits in one centred column of the same width; every row is as tall as the tallest */
.framework { --step: 2rem; --pad: 3.2rem; --last: 5; display: grid; grid-auto-rows: 1fr; gap: 1rem; margin: 0; max-width: 100rem; margin-inline: auto; }
.framework:has(> .fw-row:nth-child(7)) { --last: 6; }
.fw-row { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2.4rem; align-items: center; align-content: center; margin-inline: calc(var(--i) * var(--step)); padding: 1.6rem calc(var(--pad) + (var(--last) - var(--i)) * var(--step)); background: color-mix(in srgb, var(--tone) calc(8% + var(--i) * 4%), #fff); border-radius: var(--rad-sm); }
.fw-row dt { font: 800 var(--fs-4)/1.2 var(--font-display); color: var(--ink); display: flex; align-items: center; gap: 1.2rem; }
.fw-row dt i { font: 700 1.1rem/1 var(--font-mono); font-style: normal; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--tone-ink); flex-shrink: 0; }
.fw-row dd { margin: 0; font-size: var(--fs-3); color: var(--ink-2); text-wrap: pretty; }

/* three layers / three stages */
.layer-vis { height: 9rem; border-radius: var(--rad-sm); background: var(--soft); display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 1.2rem; padding: 1.6rem; }
.layer-vis i { display: block; border-radius: 0.6rem; }
.lv-worksheet i { width: 5.6rem; height: 5.6rem; background: #fff; border: 2px solid var(--tone); position: relative; }
.lv-worksheet b { display: flex; gap: 0.4rem; }
.lv-worksheet b s { width: 0.9rem; height: 3.2rem; border-radius: 9px; background: var(--tone); text-decoration: none; }
.lv-worksheet b s:nth-child(1) { height: 1.4rem; align-self: flex-end; opacity: 0.45; }
.lv-worksheet b s:nth-child(2) { height: 2.3rem; align-self: flex-end; opacity: 0.7; }
.lv-sheets i { width: 3.6rem; height: 4.6rem; background: #fff; border: 2px solid var(--tone); }
.lv-sheets i:nth-child(2) { transform: translateY(-0.6rem); }
.lv-sheets i:nth-child(4) { transform: translateY(-0.6rem); }
.lv-bands i { width: 4.4rem; height: 1.2rem; border-radius: 9px; }
.lv-bands i:nth-child(1) { background: var(--green); height: 1.6rem; }
.lv-bands i:nth-child(2) { background: var(--yellow); height: 2.8rem; }
.lv-bands i:nth-child(3) { background: var(--orange); height: 4rem; }
.lv-bands i:nth-child(4) { background: var(--blue); height: 5.2rem; }
.lv-bands i:nth-child(5) { background: var(--purple); height: 6.4rem; }
.lv-bands { align-items: flex-end; }

/* rising blocks in series heroes */
.rise { display: flex; align-items: flex-end; justify-content: center; gap: clamp(0.8rem, 1.4vw, 1.6rem); max-width: 96rem; margin-inline: auto; }
.rise-block { flex: 1; min-width: 0; border-radius: var(--rad-md) var(--rad-md) 0.8rem 0.8rem; background: var(--c); height: var(--h); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; justify-content: flex-start; text-align: left; color: var(--ink); position: relative; transform-origin: bottom; }
.rise-block b { font: 800 clamp(1.5rem, 1vw + 1rem, 2.2rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.rise-block span { font: 600 var(--fs-1)/1.4 var(--font-mono); opacity: 0.8; margin-top: 0.4rem; }
.hash-ready .rise[data-reveal] .rise-block { transform: scaleY(0.2); opacity: 0; }
.hash-ready .rise.is-in .rise-block { transform: none; opacity: 1; transition: transform 0.9s var(--ease), opacity 0.5s ease; }
.hash-ready .rise.is-in .rise-block:nth-child(2) { transition-delay: 0.08s; }
.hash-ready .rise.is-in .rise-block:nth-child(3) { transition-delay: 0.16s; }
.hash-ready .rise.is-in .rise-block:nth-child(4) { transition-delay: 0.24s; }
.hash-ready .rise.is-in .rise-block:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   DATA TABLE (AI-ready capability)
============================================================ */
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-3); }
.dtable th, .dtable td { padding: 2rem 2.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.dtable thead th { font: 600 var(--fs-2)/1.3 var(--font-mono); color: var(--muted); background: var(--soft); text-transform: uppercase; letter-spacing: 0.05em; }
.dtable tbody th { font: 800 var(--fs-4)/1.3 var(--font-display); color: var(--ink); white-space: nowrap; }
.dtable tbody th .glyph { display: inline-grid; width: 3.4rem; height: 3.4rem; font-size: 1.05rem; vertical-align: middle; margin-right: 1.2rem; }
.dtable tbody tr:last-child > * { border-bottom: 0; }
.dtable td:last-child { color: var(--ink); font-weight: 600; }
.dtable tbody tr { transition: background 0.2s ease; }
.dtable tbody tr:hover { background: var(--soft); }

/* course detail cards (series pages) */
.courses-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.courses-deck .ccard { min-height: 0; }
.courses-deck .ccard h3 { font: 800 2.8rem/1.1 var(--font-display); letter-spacing: -0.02em; margin: 0 0 1.2rem; }
.courses-deck .ccard p { font-size: var(--fs-4); }
.courses-deck .ccard .btn { align-self: flex-start; margin-top: auto; }
.courses-deck .ccard-top { display: flex; gap: 2.4rem; align-items: flex-start; margin-bottom: 2rem; }
.courses-deck .ccard-mark { margin: 0.4rem 0 0; width: 6.8rem; height: 6.8rem; font-size: 1.8rem; flex-shrink: 0; }
.courses-deck .ccard-meta { margin-bottom: 1.4rem; justify-content: flex-start; }

/* ============================================================
   FAQ
============================================================ */
.faq { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(3.2rem, 6vw, 8rem); align-items: start; }
.faq-head h2 { margin-bottom: 2.4rem; }
.faq-head .btn-row { margin-top: 3.2rem; }
.faq-list { background: var(--soft); border-radius: var(--rad-lg); padding: 1rem clamp(2rem, 3vw, 3.6rem); }
.faq-list .accordion-item { border-bottom: 1px solid var(--line-strong); }
.faq-list .accordion-item:last-child { border-bottom: 0; }
.faq-q { margin: 0; font: inherit; letter-spacing: 0; }
.faq-list .accordion-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2.2rem 0;
  background: none;
  border: 0;
  text-align: left;
  font: 700 var(--fs-4)/1.4 var(--font-primary);
  color: var(--ink);
  cursor: pointer;
}
.faq-list .accordion-head::after {
  content: '+';
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font: 500 2.2rem/1 var(--font-primary);
  color: var(--ink);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}
.faq-list .accordion-head:hover::after { background: var(--brand-100); }
.faq-list .accordion-item.is-open .accordion-head::after { transform: rotate(45deg); background: var(--yellow); }
.faq-list .accordion-body-inner p { font-size: var(--fs-3); max-width: 68ch; }
.faq-list .accordion-body-inner > :last-child { margin-bottom: 2.4rem; }

/* ============================================================
   FORMS · CONTACT
============================================================ */
.form-card { background: var(--soft); border-radius: var(--rad-lg); padding: clamp(2.8rem, 4vw, 4.8rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.fld { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label, .fld .lbl { font-weight: 700; font-size: var(--fs-2); color: var(--ink); }
.req { color: var(--brand-ink); }
.input { width: 100%; box-sizing: border-box; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 1.4rem; padding: 1.5rem 1.8rem; font: inherit; font-size: var(--fs-3); color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 0.4rem var(--brand-100); }
textarea.input { min-height: 15rem; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 2.2rem) 50%, calc(100% - 1.6rem) 50%; background-size: 0.6rem 0.6rem; background-repeat: no-repeat; padding-right: 4.4rem; }
.check-row { display: flex; gap: 1.2rem; align-items: flex-start; font-size: var(--fs-3); color: var(--ink-2); }
.check-row input { accent-color: var(--brand); width: 2rem; height: 2rem; margin: 0.3rem 0 0; flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between; }
.form-done { display: none; background: var(--tint-green); color: var(--ink); border-radius: var(--rad-md); padding: 2.4rem; font-weight: 600; }
.form-card.is-sent .form-done { display: block; }
.form-card.is-sent form { display: none; }

.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.detail { background: var(--soft); border-radius: var(--rad-md); padding: 2.6rem; }
.detail .k { font: 600 var(--fs-2)/1 var(--font-mono); color: var(--muted); display: block; margin-bottom: 1.2rem; }
.detail a, .detail span { display: block; font: 600 var(--fs-5)/1.5 var(--font-primary); color: var(--ink); }
.detail a:hover { color: var(--brand-ink); }
.socials { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.socials a { display: inline-flex; align-items: center; gap: 1rem; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--rad-pill); padding: 1.3rem 2.2rem; font-weight: 700; color: var(--ink); }
.socials a:hover { border-color: var(--ink); }

/* roles placeholder */
.empty { border: 2px dashed var(--line-strong); border-radius: var(--rad-lg); padding: clamp(3.2rem, 5vw, 5.6rem); text-align: center; }
.empty h3 { margin-bottom: 1.2rem; }

/* ============================================================
   TRY BAND (compact CTA)
============================================================ */
.try { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(2.4rem, 4vw, 5.6rem); align-items: center; border-radius: var(--rad-lg); background: var(--tint-yellow); padding: clamp(3.2rem, 4.4vw, 5.6rem); position: relative; overflow: clip; isolation: isolate; }
.try::after { content: '#'; position: absolute; right: 22%; top: 50%; transform: translateY(-50%); font: 800 36rem/1 var(--font-display); color: rgba(255, 220, 76, 0.35); z-index: -1; }
.try-mark { width: 10rem; height: 10rem; border-radius: 2.8rem; background: var(--yellow); display: grid; place-items: center; font: 800 5.6rem/1 var(--font-display); color: var(--ink); transform: rotate(-8deg); box-shadow: 0.6rem 0.6rem 0 var(--ink); }
.try h2 { font-size: clamp(2.8rem, 2vw + 1.8rem, 4.2rem); margin-bottom: 1rem; }
.try p { margin: 0; max-width: 64ch; }

/* ============================================================
   FOOTER
============================================================ */
.site-foot { position: relative; background: var(--soft); border-radius: var(--rad-lg) var(--rad-lg) 0 0; padding: clamp(5.6rem, 7vw, 8rem) 4% 0; overflow: clip; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 4rem; }
.foot-brand img { height: 3.4rem; width: auto; mix-blend-mode: multiply; margin-bottom: 2rem; }
.foot-brand p { font-size: var(--fs-3); color: var(--ink-2); max-width: 36ch; margin-bottom: 2.4rem; }
.foot-h { font: 600 var(--fs-2)/1 var(--font-mono); color: var(--muted); letter-spacing: 0; margin: 0.6rem 0 2rem; }
.foot-h::before { content: '# '; opacity: 0.6; }
.foot-links { list-style: none; display: grid; gap: 1.1rem; }
.foot-links a { color: var(--ink-2); font-weight: 600; font-size: var(--fs-3); }
.foot-links a:hover { color: var(--brand-ink); }
/* series brief tagline + the dark "framework" cell */
.series-tag { font: 800 var(--fs-5)/1.3 var(--font-primary); color: var(--tone-ink); margin: 0 0 2.4rem; }
.more-k { font: 600 var(--fs-2)/1.4 var(--font-mono); color: rgba(255, 255, 255, 0.62); margin-top: 2.4rem; }
.mini-path { list-style: none; display: grid; gap: 0.55rem; margin: 1.4rem 0 2.4rem; }
.mini-path li { display: flex; align-items: center; gap: 1rem; font: 700 var(--fs-3)/1.2 var(--font-mono); color: #fff; }
.mini-path li::before { content: ''; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--tone); flex-shrink: 0; }
.mini-path li:nth-child(2) { margin-left: 1rem; }
.mini-path li:nth-child(3) { margin-left: 2rem; }
.mini-path li:nth-child(4) { margin-left: 3rem; }
.mini-path li:nth-child(5) { margin-left: 4rem; }
.mini-path li:nth-child(6) { margin-left: 5rem; }
.mini-path li:nth-child(7) { margin-left: 6rem; }

/* adaptation dials: three things move, the objective stays */
@property --v { syntax: '<number>'; inherits: true; initial-value: 0.5; }
.dials { display: grid; gap: 1.8rem; margin-top: 3.2rem; background: #fff; border-radius: var(--rad-md); padding: 2.6rem 2.8rem; box-shadow: var(--shadow-1); }
.dial { display: grid; grid-template-columns: 16rem minmax(0, 1fr) 2rem; align-items: center; column-gap: 1.6rem; font: 600 var(--fs-2)/1.3 var(--font-mono); color: var(--ink); }
.dial i { position: relative; height: 0.6rem; border-radius: 9px; background: var(--soft-2); grid-column: 2 / span 2; }
.dial i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 9px; background: var(--brand-200); }
.dial i::after { content: ''; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 2rem; height: 2rem; border-radius: 50%; background: #fff; border: 0.4rem solid var(--brand); transform: translate(-50%, -50%); box-shadow: var(--shadow-1); }
.dial:nth-child(1) i { --a: 0.22; --b: 0.64; animation: dial 5.5s ease-in-out infinite alternate; }
.dial:nth-child(2) i { --a: 0.8; --b: 0.36; animation: dial 6.5s ease-in-out infinite alternate; }
.dial:nth-child(3) i { --a: 0.42; --b: 0.74; animation: dial 7.5s ease-in-out infinite alternate; }
@keyframes dial { from { --v: var(--a); } to { --v: var(--b); } }
.dial.fixed i { grid-column: 2; }
.dial.fixed i::before { width: 100%; background: var(--brand); }
.dial.fixed i::after { display: none; }
.dial.fixed .ico { color: var(--brand); width: 1.8rem; height: 1.8rem; }
@media (max-width: 640px) {
  .dial { grid-template-columns: minmax(0, 1fr) 2rem; row-gap: 1rem; }
  .dial span { grid-column: 1 / -1; }
  .dial i { grid-column: 1 / -1; }
  .dial.fixed i { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .dial i { animation: none; } }

.site-foot .wrap { container-type: inline-size; } /* draft-5: the footer word is sized from the footer's own width */
.foot-word { margin: 5.6rem 0 -0.12em; text-align: center; font: 800 clamp(3.6rem, 10.2vw, 14.8rem)/0.9 var(--font-display); font-size: 12.2cqi; letter-spacing: -0.055em; color: #fff; white-space: nowrap; user-select: none; text-shadow: 0 1px 0 var(--line); }
.foot-word span { color: var(--brand-100); }
.foot-fine { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; border-top: 1px solid var(--line-strong); padding: 2.4rem 0 3rem; font-size: var(--fs-2); color: var(--muted); background: var(--soft); }

.toast { position: fixed; left: 50%; bottom: 2.4rem; transform: translate(-50%, 2rem); background: var(--ink); color: #fff; padding: 1.4rem 2.4rem; border-radius: var(--rad-pill); font-size: var(--fs-3); font-weight: 600; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s; z-index: 900; max-width: calc(100vw - 3.2rem); text-align: center; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================
   PAGE COMPONENTS — academy, schools, educators
============================================================ */
.page-hero-media .float-chip:nth-of-type(1) { left: 4%; top: -2.2rem; }
.page-hero-media .float-chip:nth-of-type(2) { right: 4%; bottom: 3.2rem; }
.learner-card { padding: 0; gap: 0; overflow: clip; }
.learner-card .ph { border-radius: 0; }
.lc-body { padding: 2.6rem 2.6rem 3rem; }
.lc-body h3 { font: 800 var(--fs-6)/1.15 var(--font-display); letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.inline-chips { margin-top: 2.4rem; }
.inline-chips li { background: var(--tone-tint); }
.stage .stage-label { font: 700 1.1rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 1rem; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.duo-card { display: flex; flex-direction: column; gap: 1.6rem; border-radius: var(--rad-lg); background: var(--tone-tint); padding: clamp(3.2rem, 4vw, 4.8rem); }
.duo-card h3 { font-size: clamp(2.6rem, 1.4vw + 1.8rem, 3.6rem); }
.duo-card p { margin-bottom: 1.2rem; }
.duo-card ul { list-style: none; display: grid; gap: 0.8rem; margin-bottom: 1.2rem; }
.duo-card li { display: flex; gap: 1.2rem; align-items: baseline; font-size: var(--fs-3); }
.duo-card li { align-items: center; }
.duo-card li .glyph { background: #fff; width: 4.2rem; height: 4.2rem; font-size: 1.1rem; }
.card .h-card { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; color: var(--ink); }
.duo-card .btn { margin-top: auto; align-self: flex-start; }
.glyph-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.2rem; }
.glyph-row .glyph { background: #fff; width: 5.2rem; height: 5.2rem; border-radius: 1.4rem; font-size: 1.3rem; }
.plan-cards-cta { display: flex; }
.plan-cards-cta .btn { width: 100%; }
.pull { font: 800 clamp(2.2rem, 1.2vw + 1.7rem, 3rem)/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--ink); border-left: 0.6rem solid var(--tone); padding-left: 2.4rem; margin-top: 2.8rem; }
.statement p { max-width: 64rem; margin: -1.2rem auto 3.6rem; font-size: var(--fs-5); line-height: 1.6; }
.statement.tone-schools::after { background: radial-gradient(closest-side, rgba(115, 214, 241, 0.3), transparent); }
.statement.tone-educators::after { background: radial-gradient(closest-side, rgba(255, 157, 50, 0.28), transparent); }
.principles .principle.tinted { background: var(--tone-tint); border-color: transparent; }
.stack { display: grid; gap: 3.2rem; align-content: start; }

/* who keeps what (educators) */
.own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.8rem; }
.own > div { border-radius: var(--rad-md); padding: 2.2rem 2.4rem; background: var(--soft); }
.own > .hhc { background: var(--tone-tint); }
.own .k { display: block; font: 700 1.1rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.2rem; }
.own ul { list-style: none; display: grid; gap: 0.7rem; }
.own li { display: flex; gap: 0.9rem; align-items: center; font-weight: 700; color: var(--ink); font-size: var(--fs-3); line-height: 1.35; }
.own li .ico { width: 1.7rem; height: 1.7rem; color: var(--tone-ink); }

/* skill grid (series pages) */
.skills { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.skill { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-md); padding: 2.4rem 2.2rem; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.skill:hover { transform: translateY(-0.3rem); box-shadow: var(--shadow-2); }
.skill .n { display: block; font: 700 var(--fs-1)/1 var(--font-mono); color: var(--tone-ink); margin-bottom: 1.6rem; }
.skill h3 { font: 800 var(--fs-4)/1.3 var(--font-primary); letter-spacing: 0; margin-bottom: 0.6rem; }
.skill p { font-size: var(--fs-3); margin: 0; }
.skills-7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.skills-7 > * { grid-column: span 3; }
.skills-7 > *:nth-child(n + 5) { grid-column: span 4; }

/* series hero: rising bands / stages */
.rise-wrap { max-width: var(--wrap); margin: clamp(4.8rem, 6vw, 7.2rem) auto 0; background: var(--tone-tint); border-radius: var(--rad-lg); padding: 4.8rem 4.8rem 0; overflow: clip; }
.rise { height: 30rem; }
.rise-block.on-dark { color: #fff; }
.rise-note { font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--tone-ink); text-align: left; margin: 0 0 2.4rem; }
.courses-deck > .ccard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.stage-vis i { width: 5.2rem; border-radius: 0.8rem; background: var(--tone); }
.stage-vis i:nth-child(1) { height: 2.4rem; opacity: 0.35; }
.stage-vis i:nth-child(2) { height: 4.2rem; opacity: 0.65; }
.stage-vis i:nth-child(3) { height: 6rem; }
.stage-vis { align-items: flex-end; }
.stage-vis.at-1 i:nth-child(n + 2), .stage-vis.at-2 i:nth-child(3) { background: #fff; border: 2px dashed var(--line-strong); opacity: 1; }

.steps-cta { margin-top: 4.8rem; }
/* the yellow try band means "Try for Free"; other compact CTAs use the neutral variant */
.try.try-alt { background: var(--soft-2); }
.try.try-alt::after { color: rgba(159, 68, 188, 0.07); }
.try.try-alt .try-mark { background: #fff; }
.try.try-alt p + p { margin-top: 1.2rem; }
.route { overflow: clip; padding-top: 3.4rem; }
.route::before { content: ''; position: absolute; inset: 0 0 auto; height: 0.6rem; background: var(--tone); }
.page-hero.compact { margin-bottom: clamp(4rem, 5vw, 6.4rem); }
.form-note { font-size: var(--fs-2); color: var(--muted); margin: 0; }

/* about: tool-first vs learner-first */
.contrast { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.6rem; align-items: stretch; }
.c-side { border-radius: var(--rad-md); padding: 2.6rem 2.4rem; }
.c-side .k { display: block; font: 600 var(--fs-2)/1.3 var(--font-mono); margin-bottom: 1.6rem; }
.c-tool { background: var(--soft); color: var(--muted); }
.c-tool ul { list-style: none; display: grid; gap: 1rem; }
.c-tool li { font-weight: 600; font-size: var(--fs-3); text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 2px; }
.c-learner { background: var(--tint-purple); }
.c-learner .k { color: var(--brand-ink); }
.c-learner .chips li { background: #fff; }
.c-arrow { align-self: center; width: 4.8rem; height: 4.8rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }

/* about: journey timeline (a progression → rainbow line) */
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9.6rem; max-width: 108rem; margin-inline: auto; padding-bottom: 9rem; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 0.4rem; transform: translateX(-50%); border-radius: 9px; background: linear-gradient(180deg, var(--green), var(--yellow), var(--orange), var(--blue), var(--purple)); }
.tl-item { position: relative; padding-bottom: 2.4rem; }
.tl-item:nth-child(even) { margin-top: 9rem; margin-bottom: -9rem; }
.tl-item::before { content: ''; position: absolute; top: 2.8rem; right: -5.9rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff; border: 0.5rem solid var(--c, var(--brand)); box-sizing: border-box; z-index: 1; }
.tl-item:nth-child(even)::before { right: auto; left: -5.9rem; }
.tl-item:nth-child(-n + 2) { --c: var(--green); }
.tl-item:nth-child(n + 3):nth-child(-n + 4) { --c: var(--yellow); }
.tl-item:nth-child(n + 5):nth-child(-n + 6) { --c: var(--orange); }
.tl-item:nth-child(n + 7):nth-child(-n + 8) { --c: var(--blue); }
.tl-item:nth-child(n + 9) { --c: var(--purple); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-md); padding: 2.4rem 2.6rem; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.tl-card:hover { transform: translateY(-0.3rem); box-shadow: var(--shadow-2); }
.tl-year { display: inline-flex; align-items: center; gap: 0.8rem; font: 700 var(--fs-2)/1 var(--font-mono); color: var(--ink); background: color-mix(in srgb, var(--c) 28%, #fff); padding: 0.7rem 1.2rem; border-radius: var(--rad-pill); margin-bottom: 1.4rem; }
.tl-card h3 { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; margin-bottom: 0.8rem; }
.tl-card p { font-size: var(--fs-3); margin: 0; }
.tl-item.now .tl-card { background: var(--ink); border-color: transparent; color: rgba(255, 255, 255, 0.78); }
.tl-item.now .tl-card h3 { color: #fff; }
.tl-item.now .tl-year { background: var(--yellow); }

/* about: beliefs */
.belief { padding: 3.6rem 3.2rem; }
.belief .bn { font: 800 6.4rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--brand); margin-bottom: 1.6rem; letter-spacing: -0.04em; }
.card.belief h3 { font: 800 clamp(2.2rem, 1vw + 1.7rem, 2.8rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.card.belief p { font-size: var(--fs-4); }
.press-intro { max-width: 64rem; margin: -1.6rem auto 3.2rem; text-align: center; }
.press-foot { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; align-items: center; margin-top: 3.2rem; padding-inline: 4%; }

@media (max-width: 1000px) {
  .contrast { grid-template-columns: minmax(0, 1fr); }
  .c-arrow { justify-self: center; transform: rotate(90deg); }
  .timeline { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 4.4rem; }
  .timeline::before { left: 1.1rem; transform: none; }
  .tl-item:nth-child(even) { margin: 0; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: -4.4rem; right: auto; }
}

/* refinements after the first render */
.ph-fig { max-width: 60rem; }
.tile-3 .tile-chip { top: auto; bottom: 2.6rem; }
.media .float-chip:nth-of-type(3) { bottom: 26%; left: -2.4rem; }
.mega-promo .name { font-size: 2.3rem; text-wrap: balance; }
.press img { height: 4.4rem; }
.foot-word { color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); text-shadow: none; }
.foot-word span { -webkit-text-stroke-color: var(--brand-200); }
@media (max-width: 1279px) {
  .hero-tiles { width: 100%; box-sizing: border-box; }
  .media .float-chip:nth-of-type(3) { left: 1.2rem; }
}
@media (max-width: 1000px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .page-hero-media .float-chip { display: none; }
  .skills, .skills-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-7 > *, .skills-7 > *:nth-child(n + 5) { grid-column: span 1; }
  .skills-7 > *:last-child { grid-column: 1 / -1; }
  .rise-wrap { padding: 3.2rem 2.4rem 0; }
}
@media (max-width: 640px) {
  .skills, .skills-7 { grid-template-columns: minmax(0, 1fr); }
  .own { grid-template-columns: minmax(0, 1fr); }
  .rise { height: 20rem; }
  .rise-wrap { padding: 2.4rem 1.2rem 0; }
  .path-line span { padding: 0.8rem 1.2rem; font-size: var(--fs-2); }
  .site-head { padding: 0.8rem 0.8rem 0; }
  .site-head .bar { padding: 0.7rem 0.7rem 0.7rem 1.4rem; gap: 0.8rem; }
  .logo img { height: 2.5rem; }
  .head-cta .btn-ink { padding: 1rem 1.5rem; font-size: var(--fs-2); }
  .nav-toggle { width: 4.2rem; height: 4.2rem; }
  .pull { padding-left: 1.6rem; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1279px) {
  .hero { min-height: 0; }
  .hero-tiles { position: relative; inset: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 2rem; max-width: 92rem; margin: 5.6rem auto 0; padding-inline: 1rem; }
  .tile { position: relative; inset: auto; width: auto; }
  .tile-chip { display: none; }
  .media .float-chip:nth-of-type(1) { left: 1.2rem; }
  .media .float-chip:nth-of-type(2) { right: 1.2rem; }
}
@media (max-width: 1140px) {
  nav.main, .head-cta .btn-quiet { display: none; }
  .nav-toggle { display: grid; }
  .site-head .bar { justify-content: space-between; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-1); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .deck-7 > *, .deck-7 > *:nth-child(n + 5) { grid-column: span 4; }
}
@media (max-width: 1000px) {
  .split, .split.wide-left, .split.wide-right, .faq { grid-template-columns: minmax(0, 1fr); }
  .series { grid-template-columns: minmax(0, 1fr); }
  .series-brief-in { position: static; }
  .deck { --cols: 2 !important; }
  .deck-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-5 > *, .deck-5 > *:nth-child(n + 4) { grid-column: span 1; }
  .deck-5 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .deck-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-7 > *, .deck-7 > *:nth-child(n + 5) { grid-column: span 1; }
  .deck-7 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .doors, .closer-doors { grid-template-columns: minmax(0, 1fr); }
  .door { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .door .ph { height: 100%; aspect-ratio: auto; min-height: 28rem; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before { top: 0.6rem; bottom: 0.6rem; left: 2.6rem; right: auto; width: 0.4rem; height: auto; background: linear-gradient(180deg, var(--green), var(--yellow), var(--orange), var(--blue), var(--purple)); }
  .step { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); column-gap: 2.4rem; padding-bottom: 3.2rem; }
  .step-dot { grid-row: span 2; margin: 0; }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stage::before { display: none; }
  .principles.stepped .principle { margin-left: 0 !important; }
  .paths2, .courses-deck { grid-template-columns: minmax(0, 1fr); }
  .details { grid-template-columns: minmax(0, 1fr); }
  .try { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .try-mark { width: 7.2rem; height: 7.2rem; font-size: 4rem; }
  .framework { --step: 0.6rem; --pad: 2rem; }
  .fw-row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .table-plans { display: none; }
  .plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credential { transform: none; }
}
@media (max-width: 640px) {
  :root { --sec-y: 6rem; }
  .sec { padding-inline: 1.8rem; }
  .hero, .page-hero { padding-inline: 1.8rem; }
  .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
  .deck { --cols: 1 !important; }
  .deck-5, .deck-7 { grid-template-columns: minmax(0, 1fr); }
  .series-courses { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .ccard { min-height: 0; }
  .ccard h4 { margin-top: 0; }
  .door { display: flex; }
  .door .ph { aspect-ratio: 4 / 3; min-height: 0; }
  .plan-cards { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .ladder li:nth-child(even) { margin-left: 1.6rem; }
  .ladder li { font-size: var(--fs-3); }
  .media .float-chip { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable th, .dtable td { display: block; width: 100%; box-sizing: border-box; }
  .dtable tr { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
  .dtable th, .dtable td { border: 0; padding: 0.4rem 2rem; white-space: normal; }
  .dtable td::before { content: attr(data-th); display: block; font: 600 1.1rem/1.6 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.8rem; }
  .courses-deck .ccard-top { flex-direction: column; gap: 1.6rem; }
  .prompt-lines { display: none; }
  .prompt { margin-bottom: 3.2rem; }
  .rise-block span { display: none; }
  .rise-block { padding: 1.2rem 0.8rem; }
  .statement .mark, .try::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tile-in, .prompt-bar .caret { animation: none; }
  .marquee-track { animation-duration: 0s !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ============================================================
   DRAFT-4 · DELIVERED PHOTOGRAPHY
   Every delivered image is a cut-out (transparent background), so it sits on the slot's
   tint and dot grid, anchored to the bottom edge. Slots still waiting for an image keep
   their placeholder.
============================================================ */
.ph.photo { padding: 0; }
.ph.photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom; }
.ph.photo.ph-single::after { width: 72%; bottom: -20%; }
.ph.photo.ph-group::after { content: ''; position: absolute; z-index: -2; left: 8%; right: 8%; bottom: -30%; height: 60%; border-radius: 50%; background: color-mix(in srgb, var(--tone) 22%, #fff); }
.tile .ph.photo { background: var(--tone-tint); }

/* ============================================================
   DRAFT-4 · COURSE ICONS (HashHackCode Intro Deck) · GRID MENU · PATHWAYS
============================================================ */
.itile { width: 4.4rem; height: 4.4rem; border-radius: 1.3rem; display: grid; place-items: center; background: var(--tone-tint); color: var(--tone-ink); flex-shrink: 0; }
.itile .ico { width: 2.2rem; height: 2.2rem; stroke-width: 1.8; }
.itile.big { width: 6.4rem; height: 6.4rem; border-radius: 1.8rem; background: #fff; margin-bottom: 2.4rem; }
.itile.big .ico { width: 3.2rem; height: 3.2rem; }
.itile.sm { width: 3rem; height: 3rem; border-radius: 0.9rem; }
.itile.sm .ico { width: 1.6rem; height: 1.6rem; }
.glyph .ico { width: 2rem; height: 2rem; stroke-width: 1.8; }
.ccard-mark .ico { width: 3.4rem; height: 3.4rem; stroke-width: 1.7; color: var(--tone-ink); }
.ccard.is-soon .ccard-mark .ico { color: var(--muted); }
.courses-deck .ccard-mark .ico { width: 3rem; height: 3rem; }
.float-chip .glyph .ico, .dtable tbody th .glyph .ico { width: 1.7rem; height: 1.7rem; }
.plate .ico { stroke-width: 1.8; }
.courses-deck .ccard .btn-row { margin-top: auto; gap: 2rem; }

/* the Programs menu as a grid: a header row per series, one tile per course */
.mega { grid-template-columns: minmax(0, 1fr) minmax(0, 0.34fr); }
.mega-grid { display: grid; gap: 1.2rem; }
.mega-block { background: var(--tone-tint); border-radius: var(--rad-md); padding: 1rem; }
.mega-block .mega-head { display: flex; align-items: center; gap: 1.4rem; padding: 0.6rem 0.8rem 1.2rem; }
.mega-block .mega-head .txt { flex: 1; display: grid; }
/* the whole series card opens its series page: the head link stretches over the card, the course tiles sit above it */
.mega-block { position: relative; }
.mega-block .mega-head::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.mega-block .mega-tiles { position: relative; z-index: 1; pointer-events: none; }
.mega-block .mega-tile { pointer-events: auto; }
.mega-block .mega-head .itile { background: #fff; width: 4.8rem; height: 4.8rem; }
.mega-block .mega-head .itile .ico { width: 2.6rem; height: 2.6rem; }
.mega-tiles { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.8rem; }
.mega-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; height: 100%; box-sizing: border-box; padding: 1.4rem 1.3rem 1.3rem; background: #fff; border-radius: 1.6rem; color: var(--ink); transition: transform 0.2s var(--ease), box-shadow 0.2s ease; }
.mega-tile:hover { transform: translateY(-0.2rem); box-shadow: var(--shadow-2); text-decoration: none; }
.mega-tile .name { font-weight: 700; font-size: var(--fs-2); line-height: 1.3; color: var(--ink); }
.mega-tile .status { margin-top: auto; padding: 0.35rem 0.6rem; font-size: 0.95rem; }
.mega-tile.is-soon .itile { opacity: 0.75; }
.mnav-series li a { gap: 1rem; }

/* two learning pathways: the + between the series cards (Intro Deck slide 4) */
.series-plus { position: relative; z-index: 2; width: 6.4rem; height: 6.4rem; margin: -2rem auto; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 0.8rem #fff, var(--shadow-2); }
.series-plus .ico { width: 2.8rem; height: 2.8rem; stroke-width: 2.4; }
.series-plus + .series { margin-top: 0; }

/* session formats (academy) */
.sessions-deck { margin-top: 4.8rem; }
.facts { display: grid; margin: 1.2rem 0 0; border-top: 1px dashed var(--line-strong); }
.facts > div { display: flex; justify-content: space-between; gap: 1.6rem; padding: 1rem 0; border-bottom: 1px dashed var(--line-strong); font-size: var(--fs-2); }
.facts dt { color: var(--muted); font-family: var(--font-mono); font-weight: 600; }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* ============================================================
   DRAFT-4 · SERIES PAGES — the AI-ready table in the Academy plan-table style
   (header in display type, highlighted AI column, footer CTA; cards on phones)
============================================================ */
.ai-table { min-width: 0; }
.ai-table th, .ai-table td { vertical-align: middle; }
.ai-table thead th { vertical-align: bottom; }
.ai-table thead th:first-child { width: 27%; }
.ai-table thead th:nth-child(2) { width: 33%; }
.ai-table tbody th { width: auto; }
.ai-table .best { background: var(--tone-tint); }
.ai-table thead .best { background: color-mix(in srgb, var(--tone) 26%, #fff); }
.ai-table thead em { background: #fff; color: var(--tone-ink); }
.ai-course { display: flex; align-items: center; gap: 1.4rem; }
.ai-course b { display: block; font: 800 var(--fs-4)/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.6rem; }
.ai-table td.best { font-weight: 600; font-size: var(--fs-3); color: var(--ink); }
.ai-table .chips li { background: var(--soft); }
.ai-cards { display: none; list-style: none; gap: 1.6rem; }
.ai-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad-md); padding: 2.4rem; }
.ai-card-head { display: flex; align-items: center; gap: 1.4rem; }
.ai-card h3 { font: 800 var(--fs-5)/1.25 var(--font-display); letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.ai-card .k { font: 700 1.05rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin: 2rem 0 1rem; }
.ai-card .chips li { background: var(--soft); }
.ai-line { background: var(--tone-tint); border-radius: var(--rad-sm); padding: 1.4rem 1.6rem; font-weight: 600; font-size: var(--fs-3); color: var(--ink); margin: 0; }
@media (max-width: 1000px) {
  .table-ai { display: none; }
  .ai-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .ai-cards { grid-template-columns: minmax(0, 1fr); } }

/* founder name tag on the About portrait */
.media .name-tag { position: absolute; left: 2.4rem; bottom: 2.4rem; z-index: 3; display: grid; gap: 0.2rem; background: #fff; border-radius: 1.6rem; padding: 1.2rem 1.8rem; box-shadow: var(--shadow-2); }
.media .name-tag b { font: 800 var(--fs-4)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.media .name-tag span { font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--brand-ink); }

/* press page */
.press-card { color: var(--ink-2); gap: 1.4rem; }
.press-card h3 { font: 800 var(--fs-5)/1.3 var(--font-primary); letter-spacing: -0.01em; color: var(--ink); }
.press-logo { height: 5.6rem; display: flex; align-items: center; padding: 0 1.6rem; border-radius: 1.4rem; background: var(--soft); align-self: stretch; }
.press-logo img { max-height: 3.4rem; max-width: 16rem; width: auto; }
.press-logo.text { font: 800 var(--fs-3)/1.2 var(--font-display); color: var(--ink); }
.press-meta { font: 600 var(--fs-2)/1.4 var(--font-mono); color: var(--muted); }
.press-card .verify { align-self: flex-start; }
.press-card .link-arrow { margin-top: auto; padding-top: 0.8rem; }
.press-card .link-arrow .ico { width: 1.5rem; height: 1.5rem; }
.also-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.also-list li { display: flex; align-items: center; gap: 2rem; background: #fff; border-radius: var(--rad-md); padding: 1.6rem 2.4rem 1.6rem 1.6rem; }
.also-list .press-logo { width: 14rem; flex-shrink: 0; justify-content: center; padding: 0 1rem; }
.also-list .press-logo img { max-width: 11rem; }
.also-list b { display: block; font-size: var(--fs-4); line-height: 1.35; margin-top: 0.4rem; }
@media (max-width: 1000px) { .also-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .also-list li { flex-direction: column; align-items: flex-start; } .also-list .press-logo { width: 100%; } }

/* the dark explore cell: the series tagline and its five courses, instead of the framework list */
.ccard-more .big { margin: auto 0 2rem; max-width: 12ch; }
.more-icons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.ccard-more .itile.sm { width: 3.4rem; height: 3.4rem; }

/* ---------------------------------------------------------------- draft-5 · Learn and Bootcamps */
.doors-head { margin-bottom: 3.2rem; }
@media (max-width: 1000px) { .doors.cols-2 { grid-template-columns: minmax(0, 1fr); } }
/* Upcoming Bootcamps: cards come from the Bootcamp list in the build */
.camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 32rem), 1fr)); gap: 2rem; }
.camp { display: flex; flex-direction: column; gap: 1.2rem; }
.camp .chips { margin: 0; }
.camp .facts { margin: 0.4rem 0 0.8rem; }
.camp .btn { align-self: flex-start; margin-top: auto; }
.camps-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.2rem; border-radius: var(--rad-lg); background: var(--tone-tint); }
.camps-empty p { margin: 0; max-width: 60ch; font-size: var(--fs-5); }
.ways-note { margin: 2.8rem auto 0; text-align: center; color: var(--muted); font-size: var(--fs-3); }
.ways-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
/* Learn: course list inside the series cards, add-ons heading */
.duo-list { list-style: none; display: grid; gap: 1.2rem; margin: 0.4rem 0 2.4rem; }
.duo-list li { display: flex; gap: 1.2rem; align-items: flex-start; }
.duo-list li > span:last-child { display: flex; flex-direction: column; gap: 0.2rem; font-size: var(--fs-2); line-height: 1.5; color: var(--muted); }
.duo-list b { color: var(--ink); font-size: var(--fs-3); display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.addons-head { margin-top: 6.4rem; }
.addons-head .h-sub { font: 800 var(--fs-6)/1.2 var(--font-primary); letter-spacing: -0.01em; margin: 0 0 1rem; }
.prose .media { margin-top: 2.4rem; }
/* Upcoming Bootcamps: filters and card header */
.camp-filters { display: flex; flex-wrap: wrap; gap: 1.2rem 3.2rem; justify-content: center; margin: 0 0 3.2rem; }
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.fgroup .k { font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); margin-right: 0.4rem; }
.fchip { font: 600 var(--fs-2)/1 var(--font-secondary, inherit); padding: 1rem 1.6rem; border-radius: 99rem; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fchip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.camp[hidden] { display: none; }
.camp-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.camp-format { font: 600 var(--fs-1)/1 var(--font-mono); padding: 0.6rem 1rem; border-radius: 99rem; background: var(--tone-tint); color: var(--tone-ink); }
.camp-age { font: 600 var(--fs-2)/1 var(--font-mono); color: var(--muted); }
.camps-none { text-align: center; margin: 2rem 0 0; color: var(--muted); }
.camps-none .link-arrow { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); }
.table-plans tfoot .btn-row { justify-content: center; }
/* Academy · Connected Learning Ecosystem: a small, readable mock of each app (decorative) */
.app-window .dots { align-items: center; }
.app-window .app-name { margin-left: auto; font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); }
.app-window .screen.s-learn, .app-window .screen.s-code, .app-window .screen.s-plan { display: flex; flex-direction: column; justify-content: center; gap: 1rem; place-items: initial; height: 17rem; padding: 1.6rem 1.8rem; font: 500 var(--fs-2)/1.4 var(--font-secondary, inherit); color: var(--ink); }
.s-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.s-row b { font-weight: 700; }
.s-tag { font: 600 var(--fs-1)/1 var(--font-mono); padding: 0.4rem 0.8rem; border-radius: 99rem; background: var(--tint-green); color: var(--ink-green); }
.s-bar { height: 0.8rem; border-radius: 99rem; background: var(--soft-2); overflow: hidden; }
.s-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--blue)); }
.s-list { list-style: none; display: grid; gap: 0.6rem; margin: 0.2rem 0 0; }
.s-list li { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); }
.s-list li::before { content: ''; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.s-list li.done { color: var(--ink); }
.s-list li.done::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.s-list li.now { color: var(--ink); font-weight: 700; }
.s-list li.now::before { border-color: var(--purple); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px var(--purple); }
.app-window .screen.s-code { background: #231c33; color: #e9e4f2; font-family: var(--font-mono); font-size: var(--fs-1); justify-content: space-between; }
.s-lines { list-style: none; counter-reset: ln; display: grid; gap: 0.5rem; margin: 0; }
.s-lines li { counter-increment: ln; white-space: nowrap; }
.s-lines li::before { content: counter(ln); display: inline-block; width: 2rem; color: #7d7391; }
.s-lines li.in { padding-left: 1.6rem; }
.s-lines .kw { color: #c78ee0; } .s-lines .nm { color: #ffdc4c; } .s-lines .st { color: #65bd82; } .s-lines .cm { color: #8f86a3; }
.s-out { display: flex; align-items: center; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.s-out .run { margin-right: auto; padding: 0.4rem 0.9rem; border-radius: 99rem; background: var(--green); color: #12301c; font-weight: 700; }
.s-out i { width: 1.6rem; height: 1.6rem; border-radius: 0.4rem; }
.s-out i:nth-of-type(1) { background: var(--green); } .s-out i:nth-of-type(2) { background: var(--yellow); } .s-out i:nth-of-type(3) { background: var(--orange); } .s-out i:nth-of-type(4) { background: var(--blue); } .s-out i:nth-of-type(5) { background: var(--purple); }
.s-week { display: flex; gap: 0.5rem; }
.s-week span { flex: 1; text-align: center; padding: 0.5rem 0; border-radius: 0.6rem; background: var(--soft); font: 600 var(--fs-1)/1 var(--font-mono); color: var(--muted); }
.s-week span.on { background: var(--ink); color: #fff; }
.s-item { display: flex; align-items: center; gap: 1rem; }
.s-item i { width: 0.6rem; align-self: stretch; border-radius: 99rem; flex: none; }
.s-item .c-green { background: var(--green); } .s-item .c-yellow { background: var(--yellow); } .s-item .c-purple { background: var(--purple); }
.s-item span { display: flex; justify-content: space-between; flex: 1; gap: 1rem; color: var(--muted); font-size: var(--fs-1); }
.s-item b { color: var(--ink); font-size: var(--fs-2); }
