/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Tokens ── */
:root {
  --black: #000;
  --white: #fff;
  --gray-dim: #555;
  --gray-muted: #333;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body-width: 65ch;
  --page-pad: clamp(16px, 4vw, 48px);
}

/* ── Base ── */
html { background: var(--black); color: var(--white); font-family: var(--mono); font-size: 15px; line-height: 1.65; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ── Nav ── */
.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-end;
  padding: 16px var(--page-pad);
  border-bottom: 1px solid var(--gray-muted);
}
.nav-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-dim);
  transition: color 0.1s;
}
.nav-link:hover { color: var(--white); }
.nav-home { display: flex; align-items: center; }
.nav-home svg { width: 15px; height: 15px; }

/* ── Footer ── */
.site-footer {
  padding: 24px var(--page-pad);
  border-top: 1px solid var(--gray-muted);
  font-size: 11px;
  color: var(--gray-dim);
  font-family: var(--mono);
}

/* ── Hero ── */
.hero-wrap {
  width: 100%;
  border-bottom: 1px solid var(--gray-muted);
}
.hero-svg {
  width: 100%;
  height: auto;
  display: block;
}
/* The logo column owns the divider rule, so the hero doesn't add a
   second one (avoids a doubled border on mobile). */
.page-hero__logo .hero-wrap { border-bottom: none; }

/* Visually-hidden but available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.inline-link { color: var(--white); text-decoration: underline; }

/* ── Page Hero — split panel, mobile first (M2 editorial) ── */
.page-hero {
  display: block;
}
.page-hero__logo {
  width: 100%;
  border-bottom: 1px solid var(--gray-muted);
}
.page-hero__content {
  padding: 24px var(--page-pad) 32px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--sans);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 24px;
}
.hero-tagline:last-child { margin-bottom: 0; }

/* Mobile M2: SVG goes full-width, content sits below with editorial top rule */
@media (max-width: 767px) {
  .page-hero__content {
    border-top: 2px solid var(--white);
    padding-top: 20px;
  }
}

/* Desktop L3: split panel */
@media (min-width: 768px) {
  .page-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }
  .page-hero__logo {
    border-bottom: none;
    border-right: 1px solid var(--gray-muted);
  }
  .page-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px var(--page-pad) 32px 40px;
    border-bottom: 1px solid var(--gray-muted);
  }
}

/* ── Home Pitch ── */
.home-pitch {
  padding: 48px var(--page-pad);
  border-bottom: 1px solid var(--gray-muted);
}
.home-pitch__body {
  max-width: var(--body-width);
}
.home-pitch__body p {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: #ccc;
  margin-bottom: 1.25em;
}

/* ── Faculty ── */
.home-faculty {
  padding: 48px var(--page-pad);
}
.section-heading {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-muted);
}
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.faculty-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-muted);
  margin-bottom: 16px;
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-photo-placeholder { width: 100%; height: 100%; background: #1a1a1a; }
.faculty-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.faculty-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-dim);
  margin-bottom: 10px;
}
.faculty-bio {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: #aaa;
}

/* ── Email Form ── */
.email-form__label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-dim);
  margin-bottom: 10px;
}
.email-form__row {
  display: flex;
  gap: 0;
  border: 1px solid var(--gray-muted);
}
.email-form__input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 12px;
  outline: none;
}
.email-form__input::placeholder { color: var(--gray-dim); }
.email-form__btn {
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.1s;
}
.email-form__btn:hover { opacity: 0.85; }

/* ── About / Prose ── */
.about-body {
  padding: 48px var(--page-pad);
}
.prose {
  max-width: var(--body-width);
}
.prose h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin: 2.5em 0 1em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-muted);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: #ccc;
  margin-bottom: 1.25em;
}

/* ── Apply ── */
.apply-body {
  padding: 64px var(--page-pad);
}
.apply-inner {
  max-width: 520px;
}
.apply-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 12px;
}
.apply-heading {
  font-family: var(--sans);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1;
}
.apply-desc {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 28px;
}

/* ── Alumni Public ── */
.alumni-public {
  padding: 48px var(--page-pad);
  border-bottom: 1px solid var(--gray-muted);
}
.alumni-list {
  list-style: none;
}
.alumni-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-muted);
  font-family: var(--mono);
  font-size: 13px;
}
.alumni-name { color: var(--white); }
.alumni-year { color: var(--gray-dim); font-size: 11px; }
.alumni-affil { color: #aaa; font-size: 12px; }

/* ── Alumni Signal Gate ── */
.alumni-signal {
  padding: 48px var(--page-pad);
}
.signal-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 16px;
}
.signal-form { max-width: 320px; }
.signal-error {
  font-family: var(--mono);
  font-size: 11px;
  color: #e63c2f;
  margin-top: 8px;
}
.signal-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: opacity 0.1s;
}
.signal-btn:hover { opacity: 0.85; }
