/* Academy (sohub skin) - the visual classroom. Page layout only:
   slab visuals (.sim-slab/.sim-cap/.sim-hint/.sim-note/.sim-seq), pills and
   tags come from base.css. Zero borders, zero shadows. */

/* ---------- Page header ---------- */

.academy-head { padding-top: calc(var(--nav-height) + clamp(2rem, 6vh, 4rem)); }

.section-lede {
  margin-top: 1.75rem;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

/* Sub-exhibit sections (fluid, poisson) sit closer than full sections */
.academy-sub.section { padding-block: clamp(3rem, 8vh, 5rem); }

/* Small eyebrow above sub-exhibit slabs */
.sub-eyebrow {
  display: block;
  font-size: clamp(0.95rem, 1.2vw, 1.125rem);
  margin-bottom: 1.5rem;
}

/* Compact section head (eyebrow only) above grids */
.section-head-sm { margin-bottom: clamp(2rem, 5vh, 3.5rem); }

/* ---------- Module grid: what you'll learn ---------- */

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .module-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.module {
  background: var(--soft);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.module .module-no { font-weight: 600; letter-spacing: 0.04em; }
.module h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: var(--track-3);
  line-height: 1.15;
}
.module p {
  font-size: var(--text-small);
  line-height: 1.6;
  color: #3a4147;
  max-width: 40ch;
}

/* ---------- Science you can see: two-column bio block ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .bio-grid { grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 4vw, 4rem); }
  /* Genome reads its canvas clientWidth/Height at boot, so the canvas must
     genuinely fill the 4:3 slab instead of keeping the 1180/420 strip ratio. */
  .bio-grid .sim-slab { aspect-ratio: 4 / 3; display: grid; }
  .bio-grid .sim-slab canvas { aspect-ratio: auto; width: 100%; height: 100%; }
}

.bio-copy {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
  align-content: center;
}
.bio-h {
  font-size: clamp(1.75rem, 3.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: var(--track-5);
  line-height: 1;
  text-wrap: balance;
}
.bio-copy p {
  max-width: 46ch;
  line-height: 1.6;
  color: #3a4147;
}
@media (max-width: 560px) {
  .bio-copy .tag { white-space: normal; text-align: left; }
}

/* ---------- AI in the classroom ---------- */

.class-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .class-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .class-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.class-card {
  background: var(--soft);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}
.class-card h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  letter-spacing: var(--track-3);
  line-height: 1.2;
}
.class-card p {
  font-size: var(--text-small);
  line-height: 1.6;
  color: #3a4147;
  max-width: 40ch;
}

/* ---------- Syllabus band: dark ink mega panel ---------- */

.syllabus-panel {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-mega);
  padding: clamp(2.5rem, 7vw, 6rem);
  display: grid;
  gap: clamp(1.25rem, 2.5vh, 2rem);
  justify-items: start;
}
.syllabus-h {
  font-size: var(--text-statement);
  font-weight: 600;
  letter-spacing: var(--track-7);
  line-height: 1;
  color: var(--on-dark);
  max-width: 18ch;
  text-wrap: balance;
}
.syllabus-panel p {
  max-width: 60ch;
  line-height: 1.6;
  color: #d3d8db;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.syllabus-panel .pill { margin-top: 0.75rem; }
@media (max-width: 560px) {
  .syllabus-panel .pill .pill-label { white-space: normal; line-height: 1.25; text-align: left; }
}

/* ---------- Training CTA row ---------- */

.academy-cta-section.section { padding-top: 0; }
.academy-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
