/* ====================================================================
   DH NORTHWEST · DESIGN SYSTEM
   Built April 2026 · co-founded 2014 by Dr. Dawn Gilley & Dr. Rob Voss
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,600&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- Tokens ---- */
:root {
  --ink: #1a1612;
  --paper: #fcf8eb;
  --paper-deep: #f2e9d2;
  --card: #fefbf2;
  --rule: #d8cdb0;
  --forest: #1f3d2e;
  --forest-deep: #14291f;
  --moss: #3d6149;
  --brass: #b8893a;
  --brass-light: #d4a654;
  --rust: #8c4428;
  --muted: #5a524a;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; padding: 0; cursor: pointer; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }
em { font-style: italic; }

/* ---- Type families ---- */
.fd { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; }
.fm { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---- Layout ---- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ---- Texture ---- */
.paper-texture {
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(184,137,58,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(31,61,46,0.04) 0%, transparent 50%);
}
.noise { position: relative; }
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Fade-up entry ---- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================================
   NAV
   ==================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(252, 248, 235, 0.88);
  border-bottom: 1px solid var(--paper-deep);
}
.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 4rem;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 2.5rem; } }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-mark {
  width: 2rem;
  height: 2rem;
  background: var(--forest);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 0.875rem;
}
.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.nav-logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links { display: none; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; align-items: center; } }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active {
  color: var(--forest);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--forest);
  color: var(--paper);
  border-radius: 2px;
}

/* ====================================================================
   HERO
   ==================================================================== */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  position: relative;
  padding: 5rem 0 5rem;
}
@media (min-width: 1024px) { .hero-inner { padding: 7rem 0 7rem; } }

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4rem;
}
.meta-row .meta-right { display: none; }
@media (min-width: 768px) { .meta-row .meta-right { display: block; } }
.meta-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
  margin-right: 0.75rem;
  vertical-align: middle;
}

.h1-hero {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-size: clamp(3.5rem, 11vw, 9.5rem);
}
.h1-hero .it {
  font-style: italic;
  font-weight: 300;
  color: var(--forest);
}

.hero-lede-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .hero-lede-grid { margin-top: 5rem; grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .hero-lede-grid > div { grid-column: 7 / 12; }
}
.hero-lede {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}
@media (min-width: 1024px) { .hero-lede { font-size: 1.5rem; } }

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-forest {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--forest);
  color: var(--paper);
  border-radius: 2px;
}
.btn-forest svg { transition: transform 0.3s ease; }
.btn-forest:hover svg { transform: translateX(4px); }

.btn-brass {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--brass);
  color: var(--forest-deep);
  border-radius: 2px;
}
.btn-brass svg { transition: transform 0.3s ease; }
.btn-brass:hover svg { transform: translate(4px, -4px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
}

.link-underlined {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}
.link-brass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brass-light);
  text-decoration: underline;
  text-decoration-color: var(--brass-light);
  text-underline-offset: 4px;
}

.vertical-tag {
  display: none;
  position: absolute;
  right: 2.5rem;
  top: 33%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (min-width: 1280px) { .vertical-tag { display: block; } }

/* ---- Stats strip ---- */
.stats-strip {
  border-top: 1px solid var(--paper-deep);
  border-bottom: 1px solid var(--paper-deep);
  background: var(--paper);
}
.stats-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
  .stats-grid { padding: 0 2.5rem; grid-template-columns: repeat(4, 1fr); }
}
.stat {
  padding: 2rem 1rem;
}
@media (min-width: 1024px) { .stat { padding: 2.5rem 2rem; } }
.stat + .stat { border-left: 1px solid var(--paper-deep); }
@media (max-width: 1023px) {
  .stats-grid > .stat:nth-child(3) { border-top: 1px solid var(--paper-deep); }
  .stats-grid > .stat:nth-child(4) { border-top: 1px solid var(--paper-deep); }
  .stats-grid > .stat:nth-child(3) { border-left: none; }
}
.stat-k {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  color: var(--forest);
  font-size: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 1024px) { .stat-k { font-size: 1.875rem; } }
.stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ====================================================================
   SECTIONS — generic
   ==================================================================== */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rust);
  margin-bottom: 1.5rem;
}
.section-label.muted { color: var(--muted); }
.section-label.brass { color: var(--brass-light); }
.section-label-line {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.h2.size-xl { font-size: clamp(2.5rem, 6vw, 5rem); }
.h2.size-lg { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.h2.size-feature { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.92; }
.h2 .it { font-style: italic; }
.h2 .it-forest { font-style: italic; color: var(--forest); }
.h2 .it-brass { font-style: italic; color: var(--brass-light); }

/* ====================================================================
   §01 — WHAT WE DO
   ==================================================================== */
.what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .what-grid { grid-template-columns: 3fr 9fr; gap: 2.5rem; }
}
.what-body {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin: 0;
}
.what-sub {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 48rem;
}
@media (min-width: 1024px) { .what-sub { font-size: 1.125rem; } }

/* ====================================================================
   §02 — DISCIPLINES
   ==================================================================== */
.disciplines-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.disciplines-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.disciplines-intro {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 3rem;
}
@media (min-width: 1024px) { .disciplines-intro { font-size: 1.125rem; } }

.disc-list { border-top: 1px solid var(--rule); }
.disc-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
@media (min-width: 1024px) {
  .disc-row {
    grid-template-columns: 3rem 1fr 2fr 1.5rem;
    padding: 1.75rem 1rem;
    gap: 1rem;
  }
}
.disc-row:hover { background-color: rgba(31, 61, 46, 0.04); }
.disc-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--rust);
}
.disc-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
}
@media (min-width: 1024px) { .disc-name { font-size: 1.5rem; } }
.disc-desc {
  display: none;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 1024px) { .disc-desc { display: block; } }
.disc-arrow {
  color: var(--muted);
  transition: transform 0.3s ease;
}
.disc-row:hover .disc-arrow { transform: translateX(4px); }

/* ====================================================================
   §03 — HUB / NORTHWEST STORIES 2.0
   ==================================================================== */
.hub-section {
  background: var(--forest-deep);
  color: var(--paper);
}
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .hub-grid > .hub-left { grid-column: span 6; }
  .hub-grid > .hub-right { grid-column: span 6; }
}

.hub-h {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 0 0 2rem;
}
.hub-h .it-brass { font-style: italic; color: var(--brass-light); }

.hub-lede {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}
@media (min-width: 1024px) { .hub-lede { font-size: 1.25rem; } }

.hub-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
  opacity: 0.8;
  margin: 0 0 2.5rem;
}

.feature-card {
  position: relative;
  background: #12241b;
  border: 1px solid var(--moss);
  border-radius: 3px;
  padding: 1.75rem;
}
@media (min-width: 1024px) { .feature-card { padding: 2.25rem; } }
.feature-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass-light);
}
.feature-head .v { opacity: 0.6; }
.feature-head-l { display: flex; align-items: center; gap: 0.5rem; }

.feature-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(184, 137, 58, 0.18);
}
.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feature-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--brass);
  padding-top: 2px;
}
.feature-t {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--paper);
}
.feature-d {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.7;
  margin-top: 0.25rem;
}

.feature-url {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 137, 58, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brass-light);
  opacity: 0.75;
}

.feature-caption {
  margin-top: 1.25rem;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brass-light);
  opacity: 0.6;
}

/* ---- "Other projects" strip ---- */
.others {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(212, 166, 84, 0.2);
}
.others-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.others-h {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--paper);
  margin: 0.75rem 0 0;
}
@media (min-width: 1024px) { .others-h { font-size: 1.875rem; } }

.others-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .others-grid { grid-template-columns: repeat(3, 1fr); }
}
.other-card {
  display: block;
  padding: 1.5rem;
  background: rgba(246, 239, 224, 0.04);
  border: 1px solid rgba(212, 166, 84, 0.2);
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.other-card:hover { background: rgba(246, 239, 224, 0.08); }
.other-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass-light);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}
.other-t {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.other-d {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.65;
  margin-bottom: 1rem;
}
.other-card svg {
  color: var(--brass-light);
  transition: transform 0.3s ease;
}
.other-card:hover svg { transform: translate(2px, -2px); }

/* ====================================================================
   §04 — RESEARCH SPOTLIGHT
   ==================================================================== */
.research-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 1024px) {
  .research-head { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; }
  .research-head > div:first-child { grid-column: span 6; }
  .research-head > div:last-child { grid-column: 8 / 13; padding-top: 0.5rem; }
}
.research-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
@media (min-width: 1024px) { .research-intro { font-size: 1.125rem; } }

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

.spot {
  position: relative;
  display: block;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
  transition: transform 0.4s ease;
}
@media (min-width: 1024px) { .spot { padding: 2rem; } }
.spot:hover { transform: translateY(-4px); }
.spot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.spot-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rust);
}
.spot-t {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
@media (min-width: 1024px) { .spot-t { font-size: 1.5rem; } }
.spot-m {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.spot-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.spot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--paper-deep);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ====================================================================
   ALUMNI / PARTNERSHIPS
   ==================================================================== */
.dark-section {
  background: var(--ink);
  color: var(--paper);
}
.dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .dual-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.dual-card {
  padding: 2rem;
  border: 1px solid rgba(246, 239, 224, 0.12);
  border-radius: 3px;
}
@media (min-width: 1024px) { .dual-card { padding: 2.5rem; } }
.dual-h {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
@media (min-width: 1024px) { .dual-h { font-size: 2.25rem; } }
.dual-h .it-brass { font-style: italic; color: var(--brass-light); }
.dual-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--paper);
  opacity: 0.75;
  margin: 0 0 1.5rem;
}

/* ====================================================================
   VISIT / CTA
   ==================================================================== */
.cta-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
}
@media (min-width: 1024px) {
  .cta-card { grid-template-columns: repeat(12, 1fr); gap: 2rem; padding: 3rem; }
  .cta-card > div:first-child { grid-column: span 7; }
  .cta-card > div:last-child { grid-column: span 5; justify-self: end; display: flex; flex-wrap: wrap; gap: 1rem; }
}
.cta-h {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 0;
}
.cta-h .it-forest { font-style: italic; color: var(--forest); }
.cta-body {
  margin: 1.5rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
}
@media (min-width: 1024px) { .cta-body { font-size: 1.125rem; } }

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer {
  background: var(--forest-deep);
  color: var(--paper);
  padding: 4rem 0;
}
@media (min-width: 1024px) { .footer { padding: 5rem 0; } }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .footer-grid > .f-brand { grid-column: span 5; }
  .footer-grid > .f-col { grid-column: span 2; }
  .footer-grid > .f-contact { grid-column: span 3; }
}
.f-brand { grid-column: span 2; }
.f-contact { grid-column: span 2; }
.f-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.f-logo-mark {
  width: 2.25rem; height: 2.25rem;
  background: var(--brass);
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
}
.f-logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
}
.f-brand-body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--paper);
  opacity: 0.7;
  max-width: 28rem;
  margin: 0;
}
.f-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass-light);
  margin-bottom: 1rem;
}
.f-list, .f-contact-list {
  font-size: 0.875rem;
  color: var(--paper);
  opacity: 0.75;
}
.f-list li, .f-contact-list div { padding: 2px 0; }

.f-base {
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 239, 224, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--paper);
  opacity: 0.5;
}

/* ====================================================================
   ABOUT PAGE — origin sections
   ==================================================================== */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .origin-grid { grid-template-columns: 3fr 9fr; gap: 3rem; }
}
.origin-prose {
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
}
@media (min-width: 1024px) { .origin-prose { font-size: 1.125rem; } }
.origin-prose p { margin: 0 0 1.5rem; }
.origin-prose p:last-child { margin-bottom: 0; }
.origin-prose .muted { color: var(--muted); }
.origin-prose .drop {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3rem;
  float: left;
  line-height: 0.85;
  margin: 4px 8px -6px 0;
  color: var(--forest);
}

.founders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
}
@media (min-width: 1024px) { .founder { padding: 1.75rem; } }
.founder-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rust);
  margin-bottom: 0.75rem;
}
.founder-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
}
.founder-detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}
.founder-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---- Student section (paper-deep) ---- */
.students-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.student-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .student-stats { grid-template-columns: repeat(4, 1fr); } }
.student-stat {
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 3px;
}
.student-stat-k {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--forest);
  line-height: 1.1;
}
.student-stat-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ---- Support section ---- */
.support-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--paper-deep);
  border-radius: 3px;
}
@media (min-width: 768px) { .support-card { grid-template-columns: repeat(3, 1fr); } }
.support-l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.support-t {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
}

/* ---- Continuity (dark) ---- */
.continuity {
  background: var(--forest-deep);
  color: var(--paper);
}
.continuity .origin-prose .muted { color: var(--paper); opacity: 0.85; }
.continuity .origin-prose p { color: var(--paper); opacity: 0.85; }

/* ====================================================================
   UTILITIES
   ==================================================================== */
.year-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ====================================================================
   RESPONSIVE — mobile nav simplification
   ==================================================================== */
@media (max-width: 1023px) {
  .nav-cta span { display: none; }
}
