/* AI Engineer Career Launch — Intraneurals
   Clean responsive layout · progressive enhancement */

:root {
  --ae-ink: #0E1714;
  --ae-ink-soft: #24302B;
  --ae-muted: #5A6A63;
  --ae-faint: #63726A;
  --ae-paper: #F3F5F2;
  --ae-paper-2: #E8EBE6;
  --ae-surface: #FFFFFF;
  --ae-line: #D4DAD5;
  --ae-line-soft: #E6EAE5;
  --ae-forest: #1A4A3C;
  --ae-forest-deep: #0F2E26;
  --ae-signal: #C9782A;
  --ae-signal-hover: #A8621F;
  --ae-signal-text: #955618;
  --ae-warn-bg: #FBF4E8;
  --ae-warn-line: #D4A85A;
  --ae-max: 1080px;
  --ae-wide: 1120px;
  --ae-gutter: clamp(1.15rem, 4vw, 2rem);
  --ae-header-h: 3.75rem;
  --ae-font-display: "Syne", "Arial Narrow", sans-serif;
  --ae-font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ae-font-ui: "DM Sans", system-ui, -apple-system, sans-serif;
  --ae-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ae-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.ae-page {
  margin: 0;
  background: var(--ae-paper);
  color: var(--ae-ink-soft);
  font-family: var(--ae-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ae-forest); text-underline-offset: 0.18em; }
a:hover { color: var(--ae-signal-hover); }

.ae-skip {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ae-ink);
  color: #fff;
  font-family: var(--ae-font-ui);
}
.ae-skip:focus { left: 1rem; top: 1rem; }

/* Progress */
.ae-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 300;
  pointer-events: none;
  background: transparent;
}
.ae-progress__bar {
  height: 100%;
  width: 0;
  background: var(--ae-signal);
}

/* Header */
.ae-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(243, 245, 242, 0.94);
  border-bottom: 1px solid transparent;
}
.ae-header.is-scrolled { border-bottom-color: var(--ae-line-soft); }
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .ae-header {
    background: rgba(243, 245, 242, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
.ae-header__inner {
  max-width: var(--ae-wide);
  margin: 0 auto;
  padding: 0.7rem var(--ae-gutter);
  min-height: var(--ae-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ae-header__logo { flex: 0 0 auto; }
.ae-header__logo img { height: 34px; width: auto; }
.ae-header__meta {
  display: none;
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--ae-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-muted);
}
@media (min-width: 900px) {
  .ae-header__meta { display: block; }
}

/* Buttons */
.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  font-family: var(--ae-font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ae-ease), color 0.2s var(--ae-ease), border-color 0.2s var(--ae-ease), transform 0.2s var(--ae-ease);
}
.ae-btn:hover { text-decoration: none; }
.ae-btn--primary {
  background: var(--ae-signal-hover);
  color: #fff;
  border-color: var(--ae-signal-hover);
}
.ae-btn--primary:hover {
  background: #8C5119;
  border-color: #8C5119;
  color: #fff;
  transform: translateY(-1px);
}
.ae-btn--secondary {
  background: transparent;
  color: var(--ae-ink);
  border-color: var(--ae-ink);
}
.ae-btn--secondary:hover {
  background: var(--ae-ink);
  color: #fff;
}
.ae-btn--ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.35);
}
.ae-btn--ghost:hover {
  border-color: currentColor;
  color: inherit;
}
.ae-btn--on-dark.ae-btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.ae-btn--on-dark.ae-btn--secondary:hover {
  background: #fff;
  color: var(--ae-ink);
}
.ae-btn--on-dark.ae-btn--ghost { color: rgba(255, 255, 255, 0.85); }
.ae-btn--block { width: 100%; }
.ae-btn--sm { padding: 0.5rem 0.95rem; font-size: 0.8rem; }

/* Hero */
.ae-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #F5F7F4;
  overflow: hidden;
  isolation: isolate;
  background: var(--ae-ink);
}
.ae-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ae-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.ae-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.4) 0%, rgba(8, 18, 14, 0.62) 42%, rgba(8, 18, 14, 0.94) 78%, #0E1714 100%),
    linear-gradient(90deg, rgba(8, 18, 14, 0.5) 0%, transparent 60%);
}
.ae-hero__inner {
  width: 100%;
  max-width: var(--ae-wide);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vh, 6.5rem) var(--ae-gutter) clamp(2rem, 5vh, 3rem);
}
.ae-brand {
  font-family: var(--ae-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8.5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.ae-brand span {
  display: block;
  font-weight: 500;
  font-size: 0.28em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.55em;
}
.ae-hero__title {
  font-family: var(--ae-font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 22ch;
}
.ae-hero__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}
.ae-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}
.ae-hero__dates {
  margin: 0;
  font-family: var(--ae-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.ae-hero__dates strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Facts ribbon */
.ae-ribbon {
  background: var(--ae-ink);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ae-ribbon__inner {
  max-width: var(--ae-wide);
  margin: 0 auto;
  padding: 1.1rem var(--ae-gutter);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.1rem;
}
@media (min-width: 640px) {
  .ae-ribbon__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .ae-ribbon__inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.ae-ribbon__item strong {
  display: block;
  font-family: var(--ae-font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}
.ae-ribbon__item span {
  font-family: var(--ae-font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

/* Subnav */
.ae-subnav {
  position: sticky;
  top: var(--ae-header-h);
  z-index: 150;
  background: rgba(243, 245, 242, 0.96);
  border-bottom: 1px solid var(--ae-line-soft);
}
.ae-subnav__inner {
  max-width: var(--ae-wide);
  margin: 0 auto;
  padding: 0 var(--ae-gutter);
  display: flex;
  gap: 0.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ae-subnav__inner::-webkit-scrollbar { display: none; }
.ae-subnav a {
  flex: 0 0 auto;
  padding: 0.8rem 0.75rem;
  font-family: var(--ae-font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ae-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ae-subnav a:hover { color: var(--ae-ink); }
.ae-subnav a.is-active {
  color: var(--ae-ink);
  border-bottom-color: var(--ae-signal);
}

/* Layout */
.ae-wrap {
  max-width: var(--ae-max);
  margin: 0 auto;
  padding-left: var(--ae-gutter);
  padding-right: var(--ae-gutter);
}
.ae-section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.ae-section--alt {
  background: var(--ae-surface);
  border-top: 1px solid var(--ae-line-soft);
  border-bottom: 1px solid var(--ae-line-soft);
}
.ae-section--forest {
  background: var(--ae-forest-deep);
  color: rgba(255, 255, 255, 0.8);
}
.ae-section--forest .ae-h2,
.ae-section--forest .ae-h3 { color: #fff; }
.ae-section--forest a { color: #E8C07A; }

.ae-kicker {
  display: block;
  font-family: var(--ae-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ae-signal-text);
  margin: 0 0 0.75rem;
}
.ae-section--forest .ae-kicker { color: #E8C07A; }

.ae-h2 {
  font-family: var(--ae-font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ae-ink);
  margin: 0 0 0.9rem;
  max-width: 22ch;
}
.ae-h3 {
  font-family: var(--ae-font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ae-ink);
  margin: 0 0 0.55rem;
}
.ae-h4 {
  font-family: var(--ae-font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ae-muted);
  margin: 0 0 0.45rem;
}
.ae-lede {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.6;
  color: var(--ae-muted);
  max-width: 54ch;
  margin: 0 0 1.75rem;
}
.ae-section--forest .ae-lede { color: rgba(255, 255, 255, 0.65); }
.ae-body { max-width: 62ch; }
.ae-body > p { margin: 0 0 1rem; }
.ae-note {
  font-size: 0.95rem;
  color: var(--ae-muted);
  margin: 1.15rem 0 0;
  max-width: 60ch;
}
.ae-section--forest .ae-note { color: rgba(255, 255, 255, 0.6); }
.ae-xref { font-weight: 600; }

/* Reveal — content always visible; subtle motion only after enter */
.ae-reveal {
  opacity: 1;
  transform: none;
}
.js .ae-reveal.is-visible {
  animation: ae-rise-in 0.65s var(--ae-ease) both;
}
@keyframes ae-rise-in {
  from { opacity: 0.35; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Outcomes */
.ae-outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: outcome;
  border-top: 1px solid var(--ae-line);
}
.ae-outcomes li {
  counter-increment: outcome;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--ae-line);
}
.ae-outcomes li::before {
  content: counter(outcome, upper-alpha);
  font-family: var(--ae-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ae-signal);
  padding-top: 0.15rem;
}
.ae-outcomes h3 { margin-bottom: 0.3rem; }
.ae-outcomes p { margin: 0; color: var(--ae-muted); max-width: 48ch; }

/* Audience */
.ae-roles {
  font-family: var(--ae-font-ui);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ae-ink);
  margin: 0 0 0.65rem;
  max-width: 58ch;
}
.ae-prereq {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.ae-prereq li {
  position: relative;
  padding-left: 1.15rem;
  font-family: var(--ae-font-ui);
  font-size: 0.92rem;
}
.ae-prereq li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ae-forest);
}
.ae-fit {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}
@media (min-width: 800px) {
  .ae-fit { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.ae-fit__block {
  padding-top: 1.1rem;
  border-top: 2px solid var(--ae-ink);
}
.ae-fit__cols {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .ae-fit__cols { grid-template-columns: 1fr 1fr; }
}
.ae-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ae-muted);
  font-size: 0.92rem;
}
.ae-list li + li { margin-top: 0.35rem; }
.ae-eval-list {
  list-style: disc;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--ae-muted);
  font-size: 0.92rem;
  max-width: 36rem;
  columns: 1;
}
@media (min-width: 560px) {
  .ae-eval-list { columns: 2; }
}
.ae-eval-list li { break-inside: avoid; margin-bottom: 0.35rem; }

/* Hours */
.ae-hours {
  display: grid;
  gap: 0.8rem;
  margin: 1.35rem 0 1.75rem;
  max-width: 36rem;
}
.ae-hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 0.85rem;
  align-items: center;
  font-family: var(--ae-font-ui);
  font-size: 0.85rem;
}
.ae-hours__row strong { font-weight: 500; color: var(--ae-ink); }
.ae-hours__val {
  font-family: var(--ae-font-mono);
  font-size: 0.75rem;
  color: var(--ae-muted);
}
.ae-hours__track {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--ae-paper-2);
  overflow: hidden;
}
.ae-hours__fill {
  height: 100%;
  background: var(--ae-forest);
  transform-origin: left center;
  transform: scaleX(1);
}
.js .ae-hours:not(.is-visible) .ae-hours__fill {
  transform: scaleX(0.08);
}
.js .ae-hours.is-visible .ae-hours__fill {
  transform: scaleX(1);
  transition: transform 0.9s var(--ae-ease);
}
.ae-hours__row--total .ae-hours__fill { background: var(--ae-signal); }
.ae-hours__row--total strong { font-weight: 700; }

/* Tools */
.ae-tools {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}
@media (min-width: 800px) {
  .ae-tools { grid-template-columns: 1fr 1fr; gap: 2.25rem 2.75rem; }
}
.ae-tool-tier > p {
  font-size: 0.9rem;
  color: var(--ae-muted);
  margin: 0 0 0.9rem;
}
.ae-tags {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ae-tags li {
  font-family: var(--ae-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.5rem;
  background: var(--ae-paper);
  color: var(--ae-ink-soft);
  border: 1px solid var(--ae-line);
}

.ae-callout {
  margin: 1.75rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--ae-forest);
  background: #eef4f1;
  font-size: 0.92rem;
  max-width: 62ch;
}
.ae-callout--warn {
  border-left-color: var(--ae-warn-line);
  background: var(--ae-warn-bg);
}
.ae-callout p { margin: 0; }
.ae-callout h3 { margin-bottom: 0.4rem; }

/* Curriculum */
.ae-phase {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ae-line);
}
.ae-phase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.65rem;
}
.ae-phase__head h3 { margin: 0; max-width: none; }
.ae-phase__hours {
  font-family: var(--ae-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ae-signal-text);
}
.ae-phase > p {
  margin: 0 0 1.1rem;
  color: var(--ae-muted);
  max-width: 58ch;
}

.ae-module {
  border-bottom: 1px solid var(--ae-line-soft);
}
.ae-module:first-of-type { border-top: 1px solid var(--ae-line-soft); }
.ae-module summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  align-items: start;
  padding: 1rem 1.75rem 1rem 0;
  cursor: pointer;
  position: relative;
  font-family: var(--ae-font-ui);
  font-weight: 600;
  color: var(--ae-ink);
}
.ae-module summary::-webkit-details-marker { display: none; }
.ae-module summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.95rem;
  font-family: var(--ae-font-mono);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ae-faint);
}
.ae-module[open] summary::after { content: "–"; }
.ae-module__title { grid-column: 1; min-width: 0; }
.ae-module__hours {
  font-family: var(--ae-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-faint);
  white-space: nowrap;
  padding-top: 0.2rem;
  padding-right: 0.25rem;
}
.ae-module__build {
  grid-column: 1 / -1;
  font-family: var(--ae-font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ae-muted);
  font-style: italic;
}
.ae-module__build strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ae-ink-soft);
}
.ae-module__body {
  padding: 0 0 1.2rem;
  max-width: 62ch;
  font-size: 0.92rem;
  color: var(--ae-muted);
}
.ae-module__body p { margin: 0 0 0.7rem; }
.ae-module__meta {
  font-family: var(--ae-font-ui);
  font-size: 0.82rem !important;
  color: var(--ae-ink-soft) !important;
}
.ae-phase-total {
  margin-top: 0.9rem;
  font-family: var(--ae-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-faint);
}

/* Assessment */
.ae-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--ae-line);
}
.ae-timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.35rem;
}
.ae-timeline li:last-child { padding-bottom: 0; }
.ae-timeline li::before {
  content: "";
  position: absolute;
  left: -0.38rem;
  top: 0.35rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--ae-forest);
  border: 2px solid var(--ae-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ae-forest);
}
.ae-timeline h3 { margin-bottom: 0.3rem; }
.ae-timeline p { margin: 0; color: var(--ae-muted); max-width: 52ch; }
.ae-timeline .ae-callout {
  margin-top: 0.9rem;
  margin-left: -1.35rem;
}

.ae-standard {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}
@media (min-width: 700px) {
  .ae-standard { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
.ae-standard a {
  display: block;
  padding: 1.35rem 1.2rem;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s var(--ae-ease);
}
.ae-standard a:hover {
  border-color: var(--ae-forest);
  transform: translateY(-2px);
  color: inherit;
}
.ae-standard a h3 { margin-bottom: 0.4rem; color: var(--ae-ink); }
.ae-standard a p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ae-muted);
}
.ae-standard a::after {
  content: "Open →";
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--ae-font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ae-forest);
}

/* Domains */
.ae-domains {
  margin-top: 1.35rem;
  columns: 1;
  column-gap: 2.25rem;
}
@media (min-width: 720px) {
  .ae-domains { columns: 2; }
}
.ae-domain {
  break-inside: avoid;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--ae-line-soft);
}
.ae-domain h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.ae-domain h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ae-muted);
}
.ae-domain p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ae-muted);
}

/* Team */
.ae-team {
  display: grid;
  gap: 2rem;
  margin: 1.35rem 0 1.75rem;
}
@media (min-width: 720px) {
  .ae-team { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}
.ae-person {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.ae-person img {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 2px;
}
.ae-person h4 {
  font-family: var(--ae-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ae-ink);
  margin: 0 0 0.15rem;
}
.ae-person__role {
  font-family: var(--ae-font-ui);
  font-size: 0.78rem;
  color: var(--ae-signal-text);
  margin: 0 0 0.55rem;
}
.ae-person p:last-child {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ae-muted);
}
.ae-pull {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ae-ink);
  max-width: 34ch;
}
.ae-team-note {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--ae-line);
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 700px) {
  .ae-team-note { grid-template-columns: 1fr 1fr; }
}
.ae-team-note p {
  margin: 0.3rem 0 0;
  color: var(--ae-muted);
  font-size: 0.92rem;
}

/* Admission */
.ae-steps {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: admit;
}
@media (min-width: 800px) {
  .ae-steps { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.75rem; }
}
.ae-steps li {
  counter-increment: admit;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ae-steps li::before {
  content: counter(admit, decimal-leading-zero);
  font-family: var(--ae-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #E8C07A;
  padding-top: 0.15rem;
}
.ae-steps h3 { color: #fff; margin-bottom: 0.3rem; }
.ae-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.ae-admit-meta {
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.ae-admit-meta strong { color: #fff; }
.ae-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.ae-waitlist {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}
.ae-waitlist p {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.85);
}
.ae-waitlist__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--ae-font-ui);
  font-weight: 600;
  font-size: 0.88rem;
}
.ae-waitlist__links a { color: #E8C07A; }

/* Closing */
.ae-close {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 5.75rem);
  padding-bottom: clamp(3.5rem, 9vw, 5.75rem);
  background: var(--ae-ink);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
.ae-close .ae-h2 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 0.9rem;
}
.ae-close .ae-lede { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.65); }
.ae-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.15rem;
}
.ae-close__contact {
  font-family: var(--ae-font-ui);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.ae-close__contact strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.ae-close__contact a { color: #E8C07A; }

/* Footer */
.ae-footer {
  padding: 1.35rem var(--ae-gutter) calc(1.35rem + env(safe-area-inset-bottom, 0px));
  background: var(--ae-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--ae-font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.ae-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.ae-footer a:hover { color: #fff; }
.ae-footer p {
  margin: 0 auto;
  max-width: var(--ae-wide);
}

/* Mobile sticky CTA */
.ae-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  padding: 0.7rem var(--ae-gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(243, 245, 242, 0.96);
  border-top: 1px solid var(--ae-line-soft);
}
@media (max-width: 720px) {
  .ae-sticky-cta { display: block; }
  body.ae-page { padding-bottom: 4.75rem; }
  .ae-header .ae-btn { display: none; }
}

.ae-todo {
  display: inline;
  background: #FFF3CD;
  color: #664D03;
  padding: 0.1em 0.35em;
  font-family: var(--ae-font-mono);
  font-size: 0.85em;
}
.ae-mt-lg { margin-top: 2.5rem; }
.ae-mt-xl { margin-top: 3.25rem; }

/* Doc pages */
.ae-doc-header { padding: clamp(2.25rem, 6vw, 3.75rem) 0 1.35rem; }
.ae-eyebrow {
  display: block;
  font-family: var(--ae-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ae-signal-text);
  margin: 0 0 0.7rem;
}
.ae-h1 {
  font-family: var(--ae-font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ae-ink);
  margin: 0 0 0.9rem;
  max-width: 18ch;
}
.ae-doc-nav {
  font-family: var(--ae-font-ui);
  font-size: 0.85rem;
  color: var(--ae-muted);
}
.ae-doc-nav a { font-weight: 600; }
.ae-intro {
  max-width: 62ch;
  margin: 0 0 0.9rem;
  color: var(--ae-muted);
}
.ae-rubric-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--ae-line);
  background: var(--ae-surface);
  -webkit-overflow-scrolling: touch;
}
.ae-rubric-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--ae-font-ui);
  font-size: 0.8rem;
  line-height: 1.45;
}
.ae-rubric-table th,
.ae-rubric-table td {
  padding: 0.75rem 0.65rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ae-line-soft);
  border-right: 1px solid var(--ae-line-soft);
}
.ae-rubric-table th:last-child,
.ae-rubric-table td:last-child { border-right: 0; }
.ae-rubric-table th {
  background: var(--ae-ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ae-rubric-table td:first-child {
  font-weight: 600;
  color: var(--ae-ink);
  white-space: nowrap;
  background: var(--ae-paper);
}
.ae-template-section {
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ae-line-soft);
}
.ae-rubric-map {
  font-family: var(--ae-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-signal-text);
  margin: 0 0 0.55rem;
}
.ae-template-prompt {
  margin: 0 0 0.75rem;
  color: var(--ae-muted);
  max-width: 62ch;
}
.ae-template-blank {
  min-height: 5.5rem;
  border: 1.5px dashed var(--ae-line);
  background: var(--ae-surface);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .ae-reveal.is-visible {
    animation: none !important;
  }
  .js .ae-hours .ae-hours__fill {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}

/* ── Interactive guide (v4) ── */
.ae-frame {
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.ae-prose {
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ae-ink-soft);
}
.ae-prose p { margin: 0 0 1.1rem; }
.ae-prose p:last-child { margin-bottom: 0; }
.ae-prose--tight { margin-top: 0.5rem; color: var(--ae-muted); font-size: 1rem; }
.ae-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--ae-line);
  max-width: 36rem;
}
@media (min-width: 640px) {
  .ae-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ae-meta dt {
  font-family: var(--ae-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ae-faint);
  margin: 0 0 0.2rem;
}
.ae-meta dd {
  margin: 0;
  font-family: var(--ae-font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ae-ink);
}

.ae-explore {
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--ae-surface);
  border-top: 1px solid var(--ae-line-soft);
}
.ae-explore__head {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: 1.25rem;
}
.ae-explore__head .ae-h2 { max-width: 18ch; }

.ae-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ae-line-soft);
  position: sticky;
  top: var(--ae-header-h);
  z-index: 120;
  background: rgba(255, 255, 255, 0.94);
  padding-top: 0.65rem;
}
.ae-toc a {
  font-family: var(--ae-font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ae-muted);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--ae-line);
  border-radius: 2px;
  background: var(--ae-paper);
}
.ae-toc a:hover,
.ae-toc a.is-active {
  color: var(--ae-ink);
  border-color: var(--ae-ink);
  background: #fff;
}

.ae-fold {
  border-bottom: 1px solid var(--ae-line);
}
.ae-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--ae-font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ae-ink);
  line-height: 1.25;
}
.ae-fold > summary::-webkit-details-marker { display: none; }
.ae-fold > summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--ae-font-mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ae-faint);
}
.ae-fold[open] > summary::after { content: "–"; }
.ae-fold__body {
  padding: 0 0 1.75rem;
  animation: ae-expand 0.3s var(--ae-ease);
}

.ae-toggle {
  border: 1px solid var(--ae-line-soft);
  background: var(--ae-paper);
  margin: 0.55rem 0;
}
.ae-toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-family: var(--ae-font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ae-ink);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.ae-toggle > summary::-webkit-details-marker { display: none; }
.ae-toggle > summary::after {
  content: "+";
  font-family: var(--ae-font-mono);
  color: var(--ae-faint);
  font-weight: 400;
}
.ae-toggle[open] > summary::after { content: "–"; }
.ae-toggle__body {
  padding: 0 1rem 1rem;
  font-size: 0.95rem;
  color: var(--ae-muted);
  line-height: 1.65;
}
.ae-toggle__body p { margin: 0 0 0.75rem; }
.ae-toggle__body p:last-child { margin-bottom: 0; }

.ae-plain {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  max-width: 62ch;
}
.ae-plain li {
  position: relative;
  padding: 0.85rem 0 0.85rem 0;
  border-top: 1px solid var(--ae-line-soft);
  color: var(--ae-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}
.ae-plain li:last-child { border-bottom: 1px solid var(--ae-line-soft); }
.ae-plain li strong { color: var(--ae-ink); font-weight: 600; }
.ae-plain--numbered { counter-reset: plain; }
.ae-plain--numbered li {
  counter-increment: plain;
  padding-left: 2.25rem;
}
.ae-plain--numbered li::before {
  content: counter(plain);
  position: absolute;
  left: 0;
  top: 0.95rem;
  font-family: var(--ae-font-mono);
  font-size: 0.75rem;
  color: var(--ae-signal-text);
}

.ae-aside {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--ae-forest);
  background: #eef4f1;
  font-size: 0.92rem;
  color: var(--ae-ink-soft);
  max-width: 62ch;
}
.ae-label {
  font-family: var(--ae-font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ae-muted);
  margin: 0.85rem 0 0.4rem;
}

/* Phase as details inside curriculum */
details.ae-phase {
  margin: 1rem 0;
  border: 1px solid var(--ae-line);
  background: #fff;
}
details.ae-phase > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 1rem 1.1rem;
  font-family: var(--ae-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ae-ink);
}
details.ae-phase > summary::-webkit-details-marker { display: none; }
.ae-phase__body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--ae-line-soft);
}
.ae-phase__body > p {
  margin: 0.9rem 0 1rem;
  color: var(--ae-muted);
  max-width: 58ch;
}
details.ae-phase .ae-module {
  border-color: var(--ae-line-soft);
}
details.ae-phase .ae-module:first-of-type { border-top: 1px solid var(--ae-line-soft); }

.ae-hero {
  min-height: min(78vh, 680px);
}
.ae-close {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}
.ae-close .ae-h2 { max-width: 12ch; }
.ae-close .ae-prose { color: rgba(255, 255, 255, 0.72); margin-bottom: 1.5rem; }
.ae-close .ae-prose p { color: inherit; }

@media (max-width: 720px) {
  .ae-toc {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.75rem), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.75rem), transparent 100%);
  }
  .ae-toc::-webkit-scrollbar { display: none; }
  .ae-toc a { flex: 0 0 auto; white-space: nowrap; }
}

/* Curriculum at a glance */
.ae-syllabus {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--ae-paper);
  border: 1px solid var(--ae-line-soft);
}
.ae-syllabus__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  columns: 1;
  column-gap: 2rem;
}
@media (min-width: 640px) {
  .ae-syllabus__list { columns: 2; }
}
.ae-syllabus__list li {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px dotted var(--ae-line);
  font-family: var(--ae-font-ui);
  font-size: 0.86rem;
}
.ae-syllabus__list li span { color: var(--ae-ink-soft); }
.ae-syllabus__list li em {
  flex: 0 0 auto;
  font-style: normal;
  font-family: var(--ae-font-mono);
  font-size: 0.72rem;
  color: var(--ae-muted);
}
.ae-syllabus__note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--ae-muted);
}
