:root {
  --ink: #183126;
  --muted: #60766a;
  --paper: #f7f4eb;
  --paper-deep: #ece6d8;
  --green: #214b37;
  --teal: #1f7774;
  --coral: #c9654f;
  --lime: #c7d87c;
  --white: #fffdf7;
  --line: rgba(24, 49, 38, 0.16);
  --shadow: 0 24px 70px rgba(21, 43, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.inner-page .site-header {
  color: var(--ink);
  background: rgba(247, 244, 235, 0.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  padding: 3px;
  border: 1px solid rgba(255, 253, 247, 0.74);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 8px 24px rgba(18, 37, 28, 0.12);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark,
.inner-page .site-header .brand-mark {
  border-color: rgba(24, 49, 38, 0.18);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 7vw, 96px) 80px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 64% 50%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 31, 23, 0.88), rgba(12, 31, 23, 0.58) 42%, rgba(12, 31, 23, 0.18)),
    linear-gradient(0deg, rgba(12, 31, 23, 0.5), transparent 42%);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 106px);
  font-weight: 400;
  line-height: 0.95;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

p {
  line-height: 1.65;
}

section[id] {
  scroll-margin-top: 88px;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 253, 247, 0.86);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  border-color: var(--coral);
  background: var(--coral);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 253, 247, 0.08);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.page-hero {
  padding: 160px clamp(20px, 7vw, 96px) clamp(58px, 8vw, 112px);
  background: var(--paper);
}

.page-hero h1 {
  max-width: 980px;
  color: var(--ink);
}

.page-hero p:not(.section-kicker) {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.page-section {
  padding-top: clamp(58px, 7vw, 98px);
}

.intro-band,
.team,
.split-section,
.programs,
.roadmap,
.connect,
.home-links,
.students {
  padding: clamp(68px, 9vw, 132px) clamp(20px, 7vw, 96px);
}

.intro-band {
  background: var(--white);
}

.intro-grid,
.split-section,
.connect {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-copy,
.fact-panel,
.section-heading p,
.connect p {
  color: var(--muted);
  font-size: 17px;
}

.fact-panel {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.home-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-links a {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
}

.home-links span,
.student-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-links strong {
  display: block;
  max-width: 310px;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.15;
}

.team {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  background: var(--white);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
}

.team-card-body {
  padding: clamp(22px, 3vw, 32px);
}

.team-role {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 14px;
}

.team-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.students {
  background: var(--white);
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.student-card {
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
}

.student-card p {
  color: var(--muted);
}

.programs {
  background: var(--green);
  color: var(--white);
}

.section-heading {
  max-width: 870px;
  margin-bottom: 46px;
}

.section-heading p {
  max-width: 720px;
}

.programs .section-heading p,
.programs .program-card p {
  color: rgba(255, 253, 247, 0.76);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 247, 0.2);
  border: 1px solid rgba(255, 253, 247, 0.2);
}

.program-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--green);
}

.card-number {
  display: inline-block;
  margin-bottom: 86px;
  color: var(--lime);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
}

.roadmap {
  background: var(--paper-deep);
}

.section-heading.compact {
  margin-bottom: 34px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 250px;
  padding: 26px;
  background: var(--paper);
}

.timeline span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h3 {
  margin-top: 46px;
}

.timeline p {
  color: var(--muted);
}

.connect {
  background: var(--white);
}

.contact-page {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input,
select {
  min-height: 48px;
}

textarea {
  min-height: 140px;
  padding-top: 13px;
  resize: vertical;
}

.inline-link {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

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

.student-card.lead-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  object-fit: cover;
  object-position: center top;
}

.profile-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  place-items: center;
  margin-bottom: 24px;
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(31, 119, 116, 0.16), rgba(201, 101, 79, 0.1)),
    var(--paper-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8vw, 118px);
}

.schematic {
  background: var(--white);
}

.schematic-flow,
.roadmap-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.schematic-flow article,
.roadmap-line article {
  position: relative;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
}

.schematic-flow span,
.roadmap-line span {
  display: inline-grid;
  min-width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 54px;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.no-number-flow span {
  width: auto;
  padding: 0 14px;
  border-radius: 999px;
}

.roadmap-line span {
  width: auto;
  padding: 0 14px;
  border-radius: 999px;
}

.schematic-flow strong {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.15;
}

.schematic-flow p,
.roadmap-line p {
  color: var(--muted);
}

.roadmap-graphic {
  background: var(--white);
}

.contact-form .button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.identity-band {
  padding: clamp(42px, 6vw, 76px) clamp(20px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: #fbfaf6;
}

.identity-logo {
  display: block;
  width: min(520px, 100%);
  height: auto;
  margin: 0 auto;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.partner-logos img {
  width: 100%;
  height: 118px;
  padding: 16px;
  object-fit: contain;
  background: var(--white);
}

.location-section {
  background: var(--paper-deep);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: stretch;
}

.location-details {
  padding: clamp(26px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.location-details address {
  margin: 18px 0 22px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 7vw, 96px);
  color: rgba(255, 253, 247, 0.72);
  background: #12251c;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 31, 23, 0.82), rgba(12, 31, 23, 0.28)),
      linear-gradient(0deg, rgba(12, 31, 23, 0.78), transparent 64%);
  }

  .intro-grid,
  .split-section,
  .connect {
    grid-template-columns: 1fr;
  }

  .home-links,
  .program-grid,
  .team-grid,
  .student-grid,
  .profile-grid,
  .schematic-flow,
  .roadmap-line,
  .timeline,
  .partner-logos,
  .location-card {
    grid-template-columns: 1fr;
  }

  .partner-logos img {
    height: 96px;
  }

  .program-card {
    min-height: 260px;
  }

  .card-number {
    margin-bottom: 44px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
