:root {
  --paper: #F5F1EA;
  --paper-deep: #EFEAE0;
  --ink: #0E0E0E;
  --ink-soft: #2A2A2A;
  --muted: #6B6862;
  --rule: #D9D2C4;
  --accent: #B8512A;
  --accent-deep: #8F3E1F;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --container: 1120px;
  --container-narrow: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { text-rendering: optimizeLegibility; }

/* Keyboard focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Honeypot field (visually hidden, kept in tab order off-screen) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.005em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent-deep); }
.nav-cta {
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--accent-deep); color: var(--paper) !important; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* TYPE */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}
.eyebrow.center { text-align: center; }
.eyebrow.accent { color: var(--accent-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 24px; }
h3 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 16px; }

p { margin: 0 0 20px; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); }

/* HERO */
.hero { padding: 120px 0 96px; }
.hero-headline {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 12ch;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta { font-size: 14px; color: var(--muted); margin: 0; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  font-family: var(--sans);
}
.btn-primary { background: var(--ink); color: var(--paper) !important; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--ink); color: var(--paper) !important; }
.btn-block { width: 100%; justify-content: center; }

/* LOGOS */
.logos {
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.logo-row {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 56px;
  justify-content: center;
}
.logo-row li {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0.78;
}

/* STAT */
.stat { padding: 96px 0 88px; }
.stat-chart {
  margin: 0 auto;
  max-width: 860px;
  min-width: 0;
}
.stat-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
}
.stat-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-chart-source {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* Chart animation initial states */
.stat-line {
  /* JS sets stroke-dasharray + stroke-dashoffset to the path length on init */
  transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.stat-area {
  opacity: 0;
  transition: opacity 0.6s ease 1.8s;
}
.stat-start-dot {
  opacity: 0;
  transition: opacity 0.4s ease 0.05s;
}
.stat-end-dot {
  opacity: 0;
  transform: scale(0);
  transform-origin: 540px 28px;
  transform-box: fill-box;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s, opacity 0.3s ease 2.2s;
}
.stat-label {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.stat.is-animated .stat-line { stroke-dashoffset: 0; }
.stat.is-animated .stat-area { opacity: 1; }
.stat.is-animated .stat-start-dot { opacity: 1; }
.stat.is-animated .stat-end-dot { opacity: 1; transform: scale(1); }
.stat.is-animated .stat-label { opacity: 1; }

.stat-summary {
  margin: 48px auto 0;
  max-width: 760px;
  text-align: center;
}
.stat-summary-line {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease 3.6s, transform 0.7s ease 3.6s;
}
.stat.is-animated .stat-summary-line {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .stat-line { transition: none; stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .stat-area,
  .stat-start-dot,
  .stat-end-dot,
  .stat-label,
  .stat-summary-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* TEXT SECTIONS */
.role, .curriculum, .essay, .founder, .filter {
  padding: 112px 0;
  border-top: 1px solid var(--rule);
}
.role .lead, .curriculum .lead, .essay .lead, .filter .lead { margin-bottom: 24px; }
.role-link { margin-top: 32px; }
.role-link a { color: var(--accent-deep); font-weight: 500; }
.role-link a:hover { color: var(--accent-deep); }

/* CAPSTONE */
.capstone {
  margin-top: 56px;
  padding: 40px 36px;
  background: var(--paper-deep);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.capstone h3 { font-style: italic; font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; }

/* FACULTY */
.faculty { padding: 120px 0; border-top: 1px solid var(--rule); }
.faculty h2 { margin-bottom: 16px; }
.faculty .lead { max-width: 64ch; margin: 0 auto 64px; }
.faculty-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.faculty-card {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: left;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.faculty-name { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0 0 6px; }
.faculty-role { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.faculty-blurb { font-size: 15px; color: var(--ink-soft); margin: 0; }
.footnote { margin-top: 40px; font-size: 13px; color: var(--muted); }
@media (max-width: 820px) { .faculty-grid { grid-template-columns: 1fr; } }

/* FILTER */
.filter h2 { margin-bottom: 48px; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.filter-heading {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 18px;
}
.filter-grid ul { list-style: none; padding: 0; margin: 0; }
.filter-grid li {
  font-size: 16px;
  color: var(--ink-soft);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.filter-grid li:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 720px) { .filter-grid { grid-template-columns: 1fr; gap: 40px; } }

/* FOUNDER LETTER */
.founder {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.founder-body { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); }
.founder-signature {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.founder-signature span {
  display: inline-block;
  font-style: normal;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ESSAY */
.essay-cta { margin-top: 32px; }

/* APPLY */
.apply { padding: 120px 0; border-top: 1px solid var(--rule); background: var(--paper-deep); }
.apply h2 { margin-bottom: 16px; }
.apply .lead { max-width: 56ch; margin: 0 auto 48px; }
.apply-form { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #FFFCF6; }
.form-meta { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.form-status { margin: 0; text-align: center; font-size: 14.5px; min-height: 1.4em; }
.form-status.success { color: var(--accent-deep); }
.form-status.error { color: #A93B2B; }

/* FOOTER */
.footer { padding: 64px 0 56px; text-align: center; border-top: 1px solid var(--rule); }
.footer-brand { font-family: var(--serif); font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.footer-tagline { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent-deep); }
.footer-fineprint { font-size: 12.5px; color: var(--muted); margin: 0; letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ============================================================
   ARTICLE READING PAGE
   ============================================================ */

.article {
  --reading: 680px;
  padding: 0 0 96px;
}

/* Article header */
.article-header {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.article-header .container {
  max-width: var(--reading);
  padding: 0 32px;
}
.article-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 36px;
}
.article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}
.article-title em { font-style: italic; color: var(--accent); }
.article-dek {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 26px);
  line-height: 1.42;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 36ch;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.article-meta span { display: inline-flex; align-items: center; }
.article-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rule);
  display: inline-block;
}

/* Article body wrapper */
.article-body {
  padding: 72px 0 16px;
}
.article-body .container {
  max-width: var(--reading);
  padding: 0 32px;
}

/* Lead paragraph (first paragraph) */
.article-body > .container > .lead-paragraph {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 40px;
}

/* Drop cap on the second paragraph (first body paragraph after the lead) */
.article-body p.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  float: left;
  font-size: 84px;
  line-height: 0.86;
  padding: 8px 14px 0 0;
  color: var(--accent);
}

/* Body type */
.article-body p {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.article-body p strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(143, 62, 31, 0.32);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.article-body a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

/* Headings inside the article */
.article-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 88px 0 24px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 28px);
  line-height: 1.25;
  color: var(--ink);
  margin: 56px 0 18px;
}

/* Lists */
.article-body ul, .article-body ol {
  margin: 0 0 28px;
  padding-left: 22px;
}
.article-body li {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.article-body li::marker { color: var(--accent-deep); }

/* Block quotes */
.article-body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
}

/* Comparison table */
.article-table-wrap {
  margin: 36px 0 40px;
  overflow-x: auto;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.article-table thead th {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--ink);
}
.article-table tbody td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.article-table tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
.article-table td:first-child {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  width: 22%;
}
.article-table tr.row-emph td:first-child { color: var(--accent-deep); }
.article-table tr.row-emph td { font-weight: 500; color: var(--ink); }

@media (max-width: 720px) {
  .article-table { font-size: 14px; }
  .article-table td:first-child { font-size: 16px; }
}

/* End-of-article apply promo card (mirrors .capstone) */
.article-apply {
  max-width: var(--reading);
  margin: 72px auto 0;
  padding: 0 32px;
}
.article-apply-card {
  padding: 48px 40px;
  background: var(--paper-deep);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.article-apply-card .eyebrow { margin-bottom: 18px; }
.article-apply-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
}
.article-apply-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.article-apply-card .btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

/* Back link bar above the article */
.article-back {
  padding: 28px 0 0;
}
.article-back .container {
  max-width: var(--reading);
  padding: 0 32px;
}
.article-back a {
  font-family: var(--sans);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-back a:hover { color: var(--accent-deep); }

@media (max-width: 640px) {
  .article-header { padding: 64px 0 48px; }
  .article-body { padding: 48px 0 8px; }
  .article-body > .container > .lead-paragraph { font-size: 21px; }
  .article-body p { font-size: 17.5px; }
  .article-body p.dropcap::first-letter { font-size: 64px; padding: 6px 10px 0 0; }
  .article-body h2 { margin-top: 64px; }
  .article-apply-card { padding: 36px 28px; }
}

/* ============================================================
   CURRICULUM PAGE
   ============================================================ */

/* Curriculum hero */
.curric-hero { padding: 80px 0 48px; }
.curric-hero .hero-headline {
  font-size: clamp(44px, 7vw, 84px);
  max-width: 16ch;
}
.curric-hero .hero-sub { margin-bottom: 32px; }

/* Program at-a-glance strip */
.glance {
  border-top: 1px solid var(--rule);
  padding: 48px 0;
  background: var(--paper-deep);
}
.glance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  justify-content: space-between;
  align-items: baseline;
}
.glance-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
}
.glance-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.glance-value {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.glance-note { font-size: 14px; color: var(--ink-soft); }

/* Modules — vertical syllabus list */
.modules { padding: 80px 0 96px; }
.modules-intro { margin-bottom: 56px; }
.modules-intro h2 { margin-bottom: 16px; }
.modules-intro .lead { margin: 0; max-width: 56ch; }
.modules-list { list-style: none; margin: 0; padding: 0; }

/* Phased ascent — three named phases inside .modules-list */
.phase { padding: 72px 0 24px; }
.phase + .phase { border-top: 1px solid var(--rule); }
.phase-header {
  max-width: var(--container-narrow);
  margin: 0 0 8px;
}
.phase-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 14px;
}
.phase-name {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.phase-claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}
.phase-claim em { font-style: italic; }
.phase-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 0;
  letter-spacing: 0.02em;
}
.phase-modules { list-style: none; margin: 0; padding: 0; }
@media (max-width: 720px) {
  .phase { padding: 56px 0 16px; }
  .phase-name { font-size: 32px; }
  .phase-claim { font-size: 19px; }
}
.module {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.module:last-child { border-bottom: 1px solid var(--rule); }
.module-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.module-num span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 500;
}
.module-body h3 {
  font-size: clamp(26px, 2.6vw, 32px);
  margin-bottom: 12px;
}
.module-meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.module-meta span + span::before {
  content: '·';
  margin: 0 10px;
  color: var(--rule);
}
.module-body p { font-size: 16.5px; line-height: 1.65; margin-bottom: 18px; }
.module-detail {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.module-detail dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.module-detail dd { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 820px) {
  .module { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .module-num { font-size: 40px; }
  .module-detail { grid-template-columns: 1fr; gap: 18px; }
}

/* Capstone block — prominent, accent-led */
.capstone-block {
  padding: 112px 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
}
.capstone-frame {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 32px;
  margin-bottom: 40px;
}
.capstone-frame .eyebrow { margin-bottom: 12px; }
.capstone-frame h2 {
  font-style: italic;
  font-size: clamp(40px, 5.4vw, 64px);
  margin-bottom: 20px;
}
.capstone-frame .lead { font-size: 20px; margin-bottom: 0; }
.capstone-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 16px;
}
.capstone-cols h4 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 16px;
}
.capstone-cols ul { list-style: none; padding: 0; margin: 0; }
.capstone-cols li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.capstone-cols li:last-child { border-bottom: 1px solid var(--rule); }
.capstone-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 720px) {
  .capstone-cols { grid-template-columns: 1fr; gap: 32px; }
  .capstone-frame { padding-left: 20px; }
}

/* What you leave with — terse takeaways, mirrors module-list rhythm */
.payoff {
  padding: 96px 0 96px;
  border-top: 1px solid var(--rule);
}
.payoff .eyebrow { margin-bottom: 20px; }
.payoff-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 40px;
  max-width: 22ch;
}
.payoff-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.payoff-item {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.payoff-item:last-child { border-bottom: 1px solid var(--rule); }
.payoff-item h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}
.payoff-item p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
}

/* ============================================================
   CERTIFICATE
   ============================================================ */
.cert-sample-section {
  padding: 128px 0 128px;
  border-top: 1px solid var(--rule);
}

.cert-sample-card {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  min-height: 540px;
  background: #FCFAF5;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(14, 14, 14, 0.04),
    0 24px 60px -28px rgba(14, 14, 14, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  padding: 48px 44px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 20px;
  text-align: center;
  color: var(--ink);
}

/* Double inset frame to read as a printed academic diploma */
.cert-sample-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(217, 210, 196, 0.9);
  border-radius: 2px;
  pointer-events: none;
}
.cert-sample-card::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(217, 210, 196, 0.5);
  border-radius: 1px;
  pointer-events: none;
}

.cert-sample-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cert-sample-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
}
.cert-sample-mark svg { display: block; width: 100%; height: 100%; }
.cert-sample-brand {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 0;
}
.cert-sample-locale {
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.cert-sample-rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--accent-deep);
  margin-top: 8px;
}

.cert-sample-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
}
.cert-sample-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.cert-sample-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5.6vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 2px;
}
.cert-sample-credential {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 2px 0;
  max-width: 38ch;
}
.cert-sample-capstone {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.15;
  color: var(--muted);
  margin: 0;
}

.cert-sample-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 0 8px;
  margin-top: 4px;
}
.cert-sample-sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cert-sample-signature-script {
  font-family: 'Italianno', 'Instrument Serif', serif;
  font-style: normal;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 -4px;
  padding: 0 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cert-sample-sig-rule {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 1px;
  background: var(--rule);
  margin-top: 4px;
}
.cert-sample-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  margin: 8px 0 0;
}
.cert-sample-sig-role {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 0;
}

.cert-sample-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cert-sample-foot span { margin: 0; }
.cert-sample-foot-sep {
  color: var(--rule);
  display: inline-block;
  padding: 0 2px;
}

@media (max-width: 720px) {
  .cert-sample-card {
    padding: 36px 24px 24px;
    min-height: 0;
    gap: 18px;
  }
  .cert-sample-card::before { inset: 10px; }
  .cert-sample-card::after { inset: 15px; }
  .cert-sample-signatures { grid-template-columns: 1fr; gap: 28px; }
  .cert-sample-signature-script { font-size: 32px; }
  .cert-sample-foot { font-size: 9.5px; letter-spacing: 0.12em; gap: 6px; }
}

/* Print: clean certificate only */
@media print {
  body { background: #fff; }
  .nav, .footer, .apply-card {
    display: none !important;
  }
  .cert-sample-section {
    border: 0;
    padding: 0;
  }
  .cert-sample-card {
    box-shadow: none;
    border: 1px solid #000;
    margin: 0 auto;
    page-break-inside: avoid;
  }
  /* Italianno fallback for print in case the web font does not render */
  .cert-sample-signature-script {
    font-family: 'Italianno', 'Instrument Serif', 'Apple Chancery', cursive, serif;
  }
}

/* Closing apply CTA card */
.apply-card { padding: 120px 0; border-top: 1px solid var(--rule); }
.apply-card-inner {
  padding: 56px 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  text-align: center;
}
.apply-card-inner .eyebrow { color: rgba(245, 241, 234, 0.66); }
.apply-card-inner h2 { color: var(--paper); margin-bottom: 16px; }
.apply-card-inner h2 em { color: var(--accent); }
.apply-card-inner p {
  color: rgba(245, 241, 234, 0.82);
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 18px;
}
.apply-card-inner .btn-primary {
  background: var(--paper);
  color: var(--ink) !important;
}
.apply-card-inner .btn-primary:hover { background: var(--accent); color: var(--paper) !important; }
@media (max-width: 720px) { .apply-card-inner { padding: 40px 24px; } }

/* ============================================================
   EDITORIAL PAGE
   ============================================================ */

.editorial-hero { padding: 112px 0 80px; }
.editorial-hero .hero-headline {
  font-size: clamp(48px, 7vw, 88px);
  max-width: 14ch;
  margin-bottom: 28px;
}
.editorial-hero .hero-sub { margin-bottom: 0; max-width: 56ch; }

.editorial-list-section {
  padding: 32px 0 96px;
  border-top: 1px solid var(--rule);
}
.editorial-list-section .container { max-width: var(--container-narrow); }

.editorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.editorial-entry {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
}
.editorial-entry:last-child { border-bottom: 1px solid var(--rule); }

.editorial-code {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.01em;
  padding-top: 6px;
}

.editorial-body { min-width: 0; }
.editorial-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.editorial-hook {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 52ch;
}
.editorial-date {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.editorial-notify {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 200px;
}
.notify-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 240px;
  margin: 0;
}
.notify-form .notify-email {
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.notify-form .notify-email:focus {
  outline: none;
  border-color: var(--ink);
  background: #FFFCF6;
}
.notify-form .btn-notify {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.18s ease, color 0.18s ease;
}
.notify-form .btn-notify:hover { background: var(--ink); color: var(--paper); }
.notify-form .btn-notify:disabled { opacity: 0.6; cursor: progress; }
.notify-status {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
  min-height: 1.2em;
  text-align: right;
}
.notify-status.success { color: var(--accent-deep); }
.notify-status.error { color: #A93B2B; }

/* Editorial closing block */
.editorial-close {
  padding: 96px 0 120px;
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  text-align: center;
}
.editorial-close .container { max-width: var(--container-narrow); }
.editorial-close h2 {
  font-style: italic;
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 20px;
}
.editorial-close p {
  max-width: 52ch;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .editorial-entry {
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .editorial-notify {
    grid-column: 1 / -1;
    align-items: stretch;
    margin-top: 6px;
    min-width: 0;
  }
  .notify-form { max-width: none; }
  .notify-status { text-align: left; }
  .editorial-code { font-size: 24px; padding-top: 4px; }
}

/* WAITLIST */
.field-optional {
  color: var(--ink-soft);
  font-weight: 400;
  font-style: italic;
}

/* ROLE GUIDE SHARE */
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.share-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.share-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink) !important;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.share-btn:hover {
  color: var(--accent-deep) !important;
  border-color: var(--accent-deep);
}
.share-copy.is-copied {
  color: var(--accent-deep) !important;
  border-color: var(--accent-deep);
}

/* TL;DR / key takeaways callout */
.tldr {
  margin: 0 0 44px;
  padding: 28px 32px;
  background: var(--paper-deep);
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.tldr-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 16px;
}
.tldr-list {
  margin: 0;
  padding-left: 20px;
}
.tldr-list li {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.tldr-list li:last-child { margin-bottom: 0; }
.tldr-list li::marker { color: var(--accent-deep); }
.tldr-list a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(143, 62, 31, 0.32);
}
.tldr-list a:hover { border-bottom-color: var(--accent-deep); }

/* Pull-quotes (screenshot-ready) */
.pullquote {
  margin: 56px 0;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--accent);
}
.pullquote p {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 640px) {
  .tldr { padding: 24px 22px; }
  .tldr-list li { font-size: 16px; }
  .pullquote { margin: 44px 0; padding-left: 20px; }
}

/* PLACEMENT */
.logo-note {
  margin: 28px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.placement-support {
  padding: 112px 0;
  border-top: 1px solid var(--rule);
}
.placement-support .lead { margin-bottom: 56px; }

.support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.support-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.support-item:last-child { border-bottom: 1px solid var(--rule); }
.support-num {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}
.support-body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--ink);
}
.support-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}
.placement-support .footnote {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .support-item { grid-template-columns: 1fr; gap: 10px; }
  .support-num { font-size: 28px; }
}

.partners {
  padding: 112px 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
}
.partners .lead { margin-bottom: 48px; }
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.partners-heading {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.partners-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.partners-col li {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.partners-col li:last-child { border-bottom: 1px solid var(--rule); }
.partners-cta {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.partners-cta-note {
  font-size: 14px;
  color: var(--muted);
}
.partners-cta-note a { color: var(--accent-deep); }
.partners-cta-note a:hover { color: var(--accent-deep); text-decoration: underline; }
@media (max-width: 720px) {
  .partners-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   NETWORK
   The conceptual spine of placement. Three layers stacked.
   ============================================================ */
.network {
  padding: 96px 0 96px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.network .eyebrow { margin-bottom: 20px; }
.network h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 22ch;
}
.network .lead {
  margin-bottom: 48px;
  max-width: 62ch;
}
.network-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.network-item {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 28px;
  align-items: baseline;
}
.network-item:last-child { border-bottom: 1px solid var(--rule); }
.network-label {
  font-family: var(--sans, Inter, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep, #8F3E1F);
  margin: 0;
}
.network-item h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
}
.network-item p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 60ch;
  grid-column: 2;
}
.network-mech {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted, var(--ink-soft));
  max-width: 62ch;
  padding-top: 8px;
  margin: 0;
}
@media (max-width: 720px) {
  .network-item {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .network-item p { grid-column: 1; }
}

/* Payoff: highlight the network item so it reads as the strongest of the three */
.payoff-item-network h3 { color: var(--accent-deep, #8F3E1F); }
.payoff-link {
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.payoff-link a {
  color: var(--accent-deep, #8F3E1F);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.payoff-link a:hover { opacity: 0.78; }

/* INLINE CTA: editorial waitlist callouts inside the article body.
   Restrained, two-color, hairline rules. Reads as a sidebar voice, not a button bar. */
.inline-cta {
  margin: 44px 0;
  padding: 26px 28px 24px;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid var(--accent-deep);
  max-width: var(--reading, 680px);
}
.inline-cta-headline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.inline-cta-tag {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 56ch;
}
.inline-cta-link {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-deep);
  padding-bottom: 2px;
  letter-spacing: 0.005em;
  display: inline-block;
}
.inline-cta-link:hover {
  opacity: 0.78;
}
.inline-cta-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}
.inline-cta-link:hover span {
  transform: translateX(2px);
}
@media (max-width: 640px) {
  .inline-cta {
    margin: 32px 0;
    padding: 22px 20px 20px;
    border-left-width: 3px;
  }
  .inline-cta-headline {
    font-size: 18.5px;
  }
  .inline-cta-tag {
    font-size: 14px;
  }
  .inline-cta-link {
    font-size: 14.5px;
  }
}


/* TOP BANNER */
.top-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease;
}
.top-banner:hover,
.top-banner:focus-visible {
  background: var(--accent-deep);
  color: var(--paper);
}
.top-banner-text {
  text-decoration: underline;
  text-decoration-color: rgba(245, 241, 234, 0.4);
  text-underline-offset: 3px;
}
.top-banner-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
  font-size: 15px;
  line-height: 1;
}
.top-banner:hover .top-banner-arrow {
  transform: translateX(3px);
}
@media (max-width: 480px) {
  .top-banner { font-size: 12.5px; padding: 9px 14px; }
}

/* ============================================================
   MOBILE NAV
   Hamburger + dropdown panel. Active below 720px only.
   ============================================================ */
@media (max-width: 720px) {
  .nav-inner {
    padding: 14px 20px;
    gap: 12px;
  }
  .brand-name { font-size: 20px; }

  /* Hamburger button */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    border-radius: 4px;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle-bars {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
  }
  .nav-toggle-bars span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
  }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 6.25px; }
  .nav-toggle-bars span:nth-child(3) { top: 12.5px; }

  /* Open state: morph into an X */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    top: 6.25px;
    transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    top: 6.25px;
    transform: rotate(-45deg);
  }

  /* Mobile menu panel: full-width dropdown under the nav bar */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px 20px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 32px -20px rgba(14, 14, 14, 0.18);

    /* Closed state */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0s linear 0s;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 4px 4px;
    font-size: 16px;
    color: var(--ink);
    border-top: 1px solid var(--rule);
  }
  .nav-links a:first-child { border-top: 0; }

  /* Tighter primary CTA on mobile so it sits next to the hamburger cleanly */
  .nav-cta {
    padding: 9px 14px;
    font-size: 13.5px;
  }
}

/* ============================================================
   MOBILE FIXES
   Closing residual gaps in the responsive system.
   ============================================================ */
@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Section padding is heavy at desktop scale; trim for mobile */
  .hero { padding: 72px 0 56px; }
  .hero-headline { letter-spacing: -0.02em; }
  .hero-sub { font-size: 18px; margin-bottom: 28px; }
  .hero-cta { gap: 10px; margin-bottom: 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  .stat { padding: 64px 0 56px; }
  .role, .curriculum, .essay, .founder, .filter,
  .placement-support, .partners, .network, .editorial-list-section { padding: 72px 0; }
  .faculty { padding: 80px 0; }
  .payoff { padding: 72px 0; }
  .apply { padding: 80px 0; }
  .apply-card { padding: 80px 0; }
  .editorial-hero { padding: 80px 0 56px; }
  .editorial-close { padding: 72px 0 88px; }
  .capstone-block { padding: 80px 0; }
  .cert-sample-section { padding: 80px 0; }
  .curric-hero { padding: 56px 0 32px; }
  .modules { padding: 56px 0 72px; }

  /* Logo row spacing */
  .logo-row { gap: 24px 32px; }
  .logo-row li { font-size: 20px; }

  /* Capstone callout */
  .capstone { padding: 28px 22px; }

  /* Glance row stacks nicely already (flex-wrap); just tighten the value */
  .glance-item { min-width: 140px; }

  /* Footer link spacing on small screens */
  .footer-links { gap: 14px 18px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 12px 16px; gap: 8px; }
  .container { padding: 0 16px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 24px; height: 24px; }
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .nav-actions { gap: 8px; }

  .hero-headline { font-size: clamp(38px, 11vw, 56px); }
  .hero-sub { font-size: 17px; }
  .stat-summary-line { font-size: clamp(32px, 9vw, 44px); }

  /* Faculty cards: trim padding */
  .faculty-card { padding: 24px 22px; }

  /* Make form inputs comfortably tappable */
  .field input, .field textarea { padding: 14px 14px; font-size: 16px; }
  .btn { padding: 13px 22px; }
  .btn-block { padding: 14px 24px; }
}
