/* ============================================================
   THIRD PERIOD LABS — Design System
   A teacher-led education policy institute.
   Editorial. Grounded. Intellectually serious.
   ============================================================ */

/* ─── Design Tokens ─── */
:root {
  /* Primary palette — warm charcoal + terracotta + sage */
  --navy:         #2a2520;
  --navy-deep:    #1e1b18;
  --navy-90:      rgba(30, 27, 24, 0.9);
  --forest:       #c45d3e;
  --forest-dark:  #a34e34;
  --forest-muted: #d4725a;
  --teal:         #6b8f71;
  --teal-light:   #7ea385;
  --gold:         #d4a04a;
  --gold-warm:    #e0b05a;
  --gold-pale:    rgba(212, 160, 74, 0.1);

  /* Neutrals */
  --cream:        #f7f3ee;
  --cream-warm:   #f0ebe3;
  --cream-dark:   #e5dfd5;
  --white:        #ffffff;
  --text:         #302b26;
  --text-light:   #5c554d;
  --text-muted:   #8a8279;
  --border:       #ddd8d0;
  --border-light: #eae6df;

  /* Capacity accent colors */
  --literacy:         #4a6fa5;
  --literacy-bg:      rgba(74, 111, 165, 0.08);
  --executive:        #8b5e83;
  --executive-bg:     rgba(139, 94, 131, 0.08);
  --epistemic:        #c08b30;
  --epistemic-bg:     rgba(192, 139, 48, 0.08);

  /* Typography */
  --font-heading: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — minor third (1.2) */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1.0625rem;  /* 17px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.25rem;    /* 20px */
  --text-xl:   1.5rem;     /* 24px */
  --text-2xl:  1.875rem;   /* 30px */
  --text-3xl:  2.25rem;    /* 36px */
  --text-4xl:  3rem;       /* 48px */
  --text-5xl:  3.75rem;    /* 60px */

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width:       1120px;
  --max-width-prose: 720px;
  --max-width-wide:  1000px;
  --nav-height:      72px;
  --nav-height-sm:   60px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-xl:   0 24px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-glow: 0 4px 20px rgba(196, 93, 62, 0.2);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
}


/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper grain texture — subtle background on cream sections */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

::selection {
  background: rgba(196, 93, 62, 0.15);
  color: var(--navy-deep);
}


/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); line-height: 1.1; }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); font-weight: 500; }

/* Italic accent in headings */
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--forest);
}

p {
  margin-bottom: 1em;
  max-width: 68ch;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* Section label — small caps eyebrow */
.label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--forest);
  display: block;
  margin-bottom: var(--space-md);
}

/* Sub-heading text */
.sub {
  font-size: var(--text-base);
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}


/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: height var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled {
  height: var(--nav-height-sm);
  background: rgba(247, 243, 238, 0.95);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

/* Dark nav variant for pages with dark headers */
.nav--dark {
  background: rgba(30, 27, 24, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav--dark.scrolled {
  background: rgba(30, 27, 24, 0.95);
}

.nav--dark .nav__logo-text { color: white; }
.nav--dark .nav__link { color: rgba(255,255,255,0.7); }
.nav--dark .nav__link:hover { color: white; }
.nav--dark .nav__hamburger span { background: white; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--forest), var(--teal));
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--navy);
  letter-spacing: -0.2px;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link:hover { color: var(--forest); }

.nav__link--active {
  color: var(--forest);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest);
  border-radius: 1px;
}

.nav__cta {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--forest);
  color: white !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1010;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  position: absolute;
  left: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__hamburger span:nth-child(1) { top: 0; }
.nav__hamburger span:nth-child(2) { top: 9px; }
.nav__hamburger span:nth-child(3) { top: 18px; }

.nav__hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }


/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient atmosphere */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(196, 93, 62, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(107, 143, 113, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(212, 160, 74, 0.04) 0%, transparent 40%);
  animation: hero-drift 30s ease-in-out infinite;
}

@keyframes hero-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(1.5%, -0.5%); }
  66% { transform: translate(-0.5%, 1%); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: var(--text-xs);
  color: var(--gold-warm);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 0.4s forwards;
}

.hero__title em {
  color: var(--gold-warm);
  font-style: italic;
}

.hero__rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--teal));
  margin: 0 auto var(--space-lg);
  border: none;
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 0.55s forwards;
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 0.65s forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--forest), var(--teal));
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 0.8s forwards;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196, 93, 62, 0.35);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: reveal 0.8s var(--ease-out) 1.2s forwards;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─── Page Header (interior pages) ─── */
.page-header {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: white;
  padding: calc(var(--nav-height) + 48px) 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(196, 93, 62, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(107, 143, 113, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-prose);
  margin: 0 auto;
}

.page-header__label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: var(--text-xs);
  color: var(--gold-warm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}

.page-header__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-header__meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-lg);
}


/* ─── Sections ─── */
.section {
  padding: var(--space-5xl) 24px;
  position: relative;
}

.section--warm {
  background: var(--cream-warm);
}

.section--dark {
  background: var(--navy-deep);
  color: white;
}

.section--dark .label { color: var(--gold-warm); }
.section--dark h2, .section--dark h3 { color: white; }
.section--dark .sub { color: rgba(255,255,255,0.6); }

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__head {
  margin-bottom: var(--space-3xl);
}

.section__head h2 {
  margin-bottom: var(--space-md);
}


/* ─── Grid Layouts ─── */
.grid {
  display: grid;
  gap: 24px;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; max-width: 520px; }
  .grid--2 { grid-template-columns: 1fr; }
}


/* ─── Cards ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Crisis capacity cards — with color-coded top stripe */
.card--capacity {
  position: relative;
  overflow: hidden;
  padding-top: 36px;
}

.card--capacity::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card--literacy::before    { background: var(--literacy); }
.card--executive::before   { background: var(--executive); }
.card--epistemic::before   { background: var(--epistemic); }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1;
}

.card--literacy .card__icon    { background: var(--literacy-bg); color: var(--literacy); }
.card--executive .card__icon   { background: var(--executive-bg); color: var(--executive); }
.card--epistemic .card__icon   { background: var(--epistemic-bg); color: var(--epistemic); }

.card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-sm);
}

.card--literacy .card__label    { color: var(--literacy); }
.card--executive .card__label   { color: var(--executive); }
.card--epistemic .card__label   { color: var(--epistemic); }

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.card__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

/* Stat callout inside a card */
.card__stat {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.card--literacy .card__stat    { color: var(--literacy); }
.card--executive .card__stat   { color: var(--executive); }
.card--epistemic .card__stat   { color: var(--epistemic); }

/* ─── Crisis Column (card + stat callout pair) ─── */
.crisis-col {
  display: flex;
  flex-direction: column;
}

.crisis-col .card {
  flex: 1;
}

/* ─── Stat Callout (below crisis cards) ─── */
.stat-callout {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: var(--space-md);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid;
}

.stat-callout--literacy {
  background: var(--literacy-bg);
  border-left-color: var(--literacy);
}

.stat-callout--executive {
  background: var(--executive-bg);
  border-left-color: var(--executive);
}

.stat-callout--epistemic {
  background: var(--epistemic-bg);
  border-left-color: var(--epistemic);
}

.stat-callout__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
}

.stat-callout--literacy .stat-callout__number    { color: var(--literacy); }
.stat-callout--executive .stat-callout__number   { color: var(--executive); }
.stat-callout--epistemic .stat-callout__number   { color: var(--epistemic); }

.stat-callout__label {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.45;
}


/* ─── Brief Cards (featured, horizontal layout) ─── */
.brief-card {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.brief-card + .brief-card {
  margin-top: 24px;
}

.brief-card:hover {
  box-shadow: var(--shadow-lg);
}

.brief-card__number {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 400;
  background: linear-gradient(150deg, var(--forest), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}

.brief-card__body { flex: 1; }

.brief-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-md);
}

.brief-card__badge--literacy    { background: var(--literacy-bg); color: var(--literacy); }
.brief-card__badge--executive   { background: var(--executive-bg); color: var(--executive); }
.brief-card__badge--epistemic   { background: var(--epistemic-bg); color: var(--epistemic); }

.brief-card__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.brief-card__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.brief-card__desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}


/* ─── Buttons & Links ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--forest);
  color: white;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  border: 1.5px solid var(--forest);
  color: var(--forest);
  background: transparent;
}

.btn--outline:hover {
  background: var(--forest);
  color: white;
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--forest);
  padding: 8px 0;
  border-bottom: 1.5px solid var(--forest);
  border-radius: 0;
}

.btn--ghost:hover { opacity: 0.7; }

.btn--white {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: white;
  background: transparent;
}

.btn--white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}


/* ─── Blockquote / Pull Quote ─── */
.pullquote {
  text-align: center;
  padding: var(--space-5xl) 24px;
}

.pullquote--dark {
  background: var(--navy-deep);
}

.pullquote__text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: white;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
}

.pullquote__text::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--forest-muted);
  position: absolute;
  top: -0.4em;
  left: -0.5em;
  line-height: 1;
  opacity: 0.4;
}

.pullquote__source {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--text-sm);
  margin-top: var(--space-lg);
}


/* ─── Feature / CTA Box ─── */
.cta-box {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  color: white;
}

.cta-box h3 {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-box p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}


/* ─── Value Cards (numbered) ─── */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  background: linear-gradient(135deg, var(--forest), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.value-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}


/* ─── Prose / Article Content ─── */
.prose {
  max-width: var(--max-width-prose);
  margin: 0 auto;
  padding: var(--space-3xl) 24px var(--space-4xl);
}

.prose h2 {
  font-size: var(--text-2xl);
  color: var(--forest);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border-light);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.prose p {
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25em;
  max-width: none;
}

.prose strong { color: var(--navy); }

.prose blockquote {
  border-left: 3px solid var(--forest);
  padding: var(--space-md) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--cream-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-light);
}

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}

.prose li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.prose li::marker {
  color: var(--forest);
}

/* Callout boxes in prose */
.prose .callout {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--white);
}

.prose .callout--key {
  border-left: 4px solid var(--gold);
  background: var(--gold-pale);
}

.prose .callout--data {
  border-left: 4px solid var(--literacy);
  background: var(--literacy-bg);
}

.prose .callout h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prose .callout p:last-child { margin-bottom: 0; }

.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: var(--space-3xl) 0;
}

/* Data table in prose */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: 15px;
}

.prose th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
}

.prose tr:hover td {
  background: var(--cream-warm);
}


/* ─── Footer ─── */
.footer {
  background: var(--navy-deep);
  padding: var(--space-4xl) 24px var(--space-2xl);
  text-align: center;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--forest), var(--teal));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: white;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  margin-bottom: var(--space-2xl);
}

.footer__links {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration-fast);
}

.footer__links a:hover { color: white; }

.footer__rule {
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto var(--space-xl);
  border: none;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--text-xs);
}


/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}


/* ─── Utility ─── */
.container       { max-width: var(--max-width); margin: 0 auto; }
.container--wide { max-width: var(--max-width-wide); margin: 0 auto; }
.container--prose { max-width: var(--max-width-prose); margin: 0 auto; }

.text-center { text-align: center; }
.text-light  { color: var(--text-light); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: white; }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ─── Responsive ─── */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --nav-height-sm: 56px;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 1005;
  }

  .nav--dark .nav__links {
    background: var(--navy-deep);
  }

  .nav__links.open { display: flex; }

  .nav__links .nav__link {
    font-size: var(--text-lg);
    color: var(--navy);
  }

  .nav--dark .nav__links .nav__link { color: rgba(255,255,255,0.8); }

  .nav__link--active::after { display: none; }

  .nav__hamburger { display: block; }

  .hero { padding-top: calc(var(--nav-height) + 32px); }

  .section {
    padding: var(--space-3xl) 20px;
  }

  .brief-card {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  .brief-card__number { font-size: 3rem; }

  .cta-box { padding: var(--space-2xl); border-radius: var(--radius-lg); }

  .page-header {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: var(--space-2xl);
  }

  .prose {
    padding: var(--space-2xl) 20px var(--space-3xl);
  }

  .pullquote__text::before { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.8rem; }
  .footer__links { flex-direction: column; gap: 16px; }
}


/* ─── Brief / White Paper Components ─── */

/* Table of Contents */
.toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.toc__title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  margin-bottom: var(--space-sm);
}

.toc li::before {
  content: counter(toc) ".";
  color: var(--forest);
  font-weight: 600;
  margin-right: var(--space-sm);
  font-size: var(--text-sm);
}

.toc a {
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration-fast);
}

.toc a:hover { color: var(--forest); }

/* Stat Grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: var(--space-xl) 0;
}

.stat-grid__item {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--cream-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.stat-grid__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-grid__number--warn { color: var(--epistemic); }
.stat-grid__number--alert { color: #c53030; }
.stat-grid__number--good { color: var(--forest); }

.stat-grid__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}

/* Core Claim Box */
.core-claim {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-dark) 100%);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  margin: var(--space-xl) 0;
  color: white;
}

.core-claim p {
  color: rgba(255,255,255,0.92);
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.7;
}

.core-claim strong { color: white; }

/* Callout variants beyond base prose callout */
.prose .callout--warning {
  border-left-color: #c53030;
  background: rgba(197, 48, 48, 0.05);
}

.prose .callout--insight {
  border-left-color: var(--forest);
  background: rgba(196, 93, 62, 0.05);
}

.prose .callout--amber {
  border-left-color: var(--epistemic);
  background: var(--epistemic-bg);
}

/* Contradiction / Alert Box */
.alert-box {
  border: 2px solid #c53030;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  background: rgba(197, 48, 48, 0.03);
}

.alert-box h4 {
  color: #c53030;
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.alert-box p { margin-bottom: 0; }

/* Pro / green highlight box */
.highlight-box {
  border: 1px solid rgba(196, 93, 62, 0.2);
  background: rgba(196, 93, 62, 0.04);
  border-left: 4px solid var(--forest);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.highlight-box h4 {
  color: var(--forest);
  margin-bottom: var(--space-sm);
}

.highlight-box p:last-child { margin-bottom: 0; }

/* Red/warning highlight box */
.warning-box {
  border: 1px solid rgba(197, 48, 48, 0.15);
  background: rgba(197, 48, 48, 0.03);
  border-left: 4px solid #c53030;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.warning-box h4 {
  color: #c53030;
  margin-bottom: var(--space-sm);
}

.warning-box p:last-child { margin-bottom: 0; }

/* Policy Recommendations Sections */
.reco-group {
  margin: var(--space-xl) 0;
}

.reco-group__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
}

.reco-group ul {
  list-style: none;
  padding: 0;
}

.reco-group li {
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  position: relative;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.65;
}

.reco-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
  opacity: 0.5;
}

/* Sources list */
.sources {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.sources h2 {
  font-size: var(--text-lg) !important;
  border-bottom: none !important;
  margin-top: 0 !important;
}

.sources ul {
  list-style: none;
  padding: 0;
}

.sources li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  text-indent: calc(var(--space-xl) * -1);
}

/* Back to top / navigation within articles */
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  padding: var(--space-sm) 0;
  transition: opacity var(--duration-fast);
}

.back-nav:hover { opacity: 0.7; }

/* Classroom observation / teacher voice */
.teacher-voice {
  border-left: 3px solid var(--gold);
  padding: var(--space-md) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.teacher-voice__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Cross-subject grid for epistemic brief */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: var(--space-xl) 0;
}

.subject-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  background: var(--white);
}

.subject-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.subject-card__text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .subject-grid { grid-template-columns: 1fr; }
}

/* What we're for / against grid */
.stance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: var(--space-xl) 0;
}

.stance-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  background: var(--white);
}

.stance-col--for { border-top: 4px solid var(--forest); }
.stance-col--against { border-top: 4px solid #c53030; }

.stance-col h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.stance-col--for h4 { color: var(--forest); }
.stance-col--against h4 { color: #c53030; }

.stance-col ul {
  list-style: none;
  padding: 0;
}

.stance-col li {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.stance-col--for li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}

.stance-col--against li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: #c53030;
  font-weight: 700;
}

@media (max-width: 600px) {
  .stance-grid { grid-template-columns: 1fr; }
}

/* Numbered belief/value items in prose */
.belief {
  margin: var(--space-xl) 0;
  padding-left: var(--space-2xl);
  position: relative;
}

.belief__number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--forest);
  opacity: 0.4;
  line-height: 1;
}

.belief h4 {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.belief p {
  font-size: 15px;
  color: var(--text-light);
}


/* ─── Print ─── */
@media print {
  body::after { display: none; }
  .nav, .footer, .hero__cta, .hero__scroll, .btn { display: none !important; }

  body {
    background: white;
    color: black;
    font-size: 11pt;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
    background: none;
    padding: 0 0 24pt;
    color: black;
  }

  .hero__title { color: black; font-size: 24pt; }
  .hero__title em { color: black; }
  .hero__eyebrow { color: #666; }
  .hero__subtitle { color: #333; }

  .page-header {
    background: none;
    color: black;
    padding: 0 0 16pt;
    border-bottom: 2pt solid black;
    margin-bottom: 16pt;
  }

  .page-header__title { color: black; }
  .page-header__label { color: #666; }
  .page-header__subtitle { color: #333; }

  .section { padding: 16pt 0; }
  .card { border: 1px solid #ccc; box-shadow: none !important; }
  .pullquote { background: none; padding: 16pt 0; }
  .pullquote__text { color: black; }

  .prose h2 { border-bottom-color: #ccc; color: black; }
  .prose h3 { color: black; }

  a { color: inherit; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }

  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
