/* Higher-ed enrollment atmosphere brief — local stylesheet */
:root {
  --ink: #1a1d23;
  --ink-muted: #4a5160;
  --ink-soft: #6b7280;
  --paper: #faf9f7;
  --paper-card: #ffffff;
  --line: #e5e2db;
  --accent: #1e4d6b;
  --accent-hover: #163a52;
  --accent-soft: #e8f0f5;
  --callout: #f4f1ea;
  --callout-border: #c9bfa8;
  --success: #1a5c3a;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(26, 29, 35, 0.06), 0 8px 24px rgba(26, 29, 35, 0.04);
  --max: 720px;
  --wide: 880px;
  --font: "Source Serif 4", "Georgia", "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

/* —— Header / nav —— */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper-card);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--ink-soft);
  font-weight: 400;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav .btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-weight: 500;
}

.nav .btn-nav:hover {
  background: var(--accent-hover);
}

/* —— Layout —— */
main {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font);
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 1.75rem;
}

.bottom-line {
  background: var(--callout);
  border-left: 4px solid var(--callout-border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.35rem;
  margin: 0;
}

.bottom-line strong.label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
  font-family: var(--sans);
}

.bottom-line p {
  margin: 0;
  font-family: var(--font);
  font-size: 1.12rem;
  line-height: 1.55;
}

/* —— Sections —— */
section.report {
  max-width: var(--max);
  margin: 0 auto 3rem;
}

section.report h2 {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.015em;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.atmosphere {
  font-style: italic;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.verdict {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  max-width: var(--max);
  margin: 0 auto 3rem;
}

.verdict h2 {
  font-size: 1rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin: 0 0 0.65rem;
}

.verdict p {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1rem;
}

/* —— Tables —— */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: none;
}

td:first-child {
  font-weight: 500;
  min-width: 9rem;
}

/* —— Charts —— */
.figure {
  margin: 1.5rem 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.figure img {
  width: 100%;
  border-radius: 4px;
}

.figure figcaption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  line-height: 1.4;
}

.figure-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .figure-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— Subscribe / CTA —— */
.subscribe-band {
  background: var(--accent);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  max-width: var(--wide);
  margin: 0 auto 3rem;
  box-shadow: var(--shadow);
}

.subscribe-band h2 {
  font-family: var(--font);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.subscribe-band .lede {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 36rem;
  font-size: 0.98rem;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 28rem;
}

.subscribe-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.subscribe-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: none;
  border-radius: 6px;
  font: inherit;
  font-size: 0.95rem;
}

.subscribe-form button {
  flex: 0 0 auto;
  padding: 0.7rem 1.15rem;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.subscribe-form button:hover {
  background: var(--accent-soft);
}

.subscribe-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  opacity: 0.85;
  max-width: 36rem;
}

.subscribe-note a {
  color: #fff;
}

/* —— Sources / footer —— */
.sources {
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.sources h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.sources ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.sources li {
  margin-bottom: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.site-footer a {
  color: var(--ink-muted);
}

/* —— Subscribe page extras —— */
.page-intro {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.page-intro h1 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.form-comment {
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-family: ui-monospace, monospace;
  margin-top: 0.75rem;
  word-break: break-all;
}

.mailto-fallback {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.mailto-fallback a {
  color: #fff;
  font-weight: 500;
}

.substack-embed {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0.75rem;
}
.substack-embed iframe {
  border-radius: 8px;
}

.project-tag{max-width:960px;margin:0 auto;padding:.6rem 1.25rem 0;text-align:right;font-size:.8rem;}
.project-tag a{color:inherit;opacity:.6;text-decoration:none;border-bottom:1px solid transparent;transition:opacity .15s,border-color .15s;}
.project-tag a:hover{opacity:1;border-bottom-color:currentColor;}
