:root {
  --green: #0f4a3a;
  --green-deep: #0a2f26;
  --green-mist: #dceae3;
  --surface: #f8faf7;
  --surface-strong: #ffffff;
  --ink: #172126;
  --muted: #5d6a6b;
  --line: #cfdbd5;
  --red: #c83d3a;
  --blue: #1f5da8;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 14px 36px;
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(248, 250, 247, 0.95);
  color: var(--green-deep);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  max-width: 420px;
  margin-top: 3px;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.76;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.mobile-nav-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-settle 1200ms ease forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 29, 24, 0.86), rgba(7, 29, 24, 0.48) 46%, rgba(7, 29, 24, 0.14)),
    linear-gradient(0deg, rgba(7, 29, 24, 0.42), transparent 42%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 48px));
  padding: 178px 0 96px;
  margin-left: 7vw;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffdbd9;
}

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

h1 {
  margin-bottom: 20px;
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-name {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero-actions,
.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--green-deep);
}

.button.ghost {
  color: #ffffff;
}

.button.ghost.dark {
  color: var(--green-deep);
}

.section {
  padding: 112px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 52px;
  line-height: 1.03;
}

.lead-block p,
.research-copy p,
.campus-copy p,
.apply-inner p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

dt {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.programs {
  background: var(--surface-strong);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.program-list {
  border-top: 1px solid var(--line);
}

.program-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.85fr) minmax(260px, 1.15fr);
  gap: 36px;
  align-items: baseline;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, transform 180ms ease;
}

.program-row:hover {
  color: var(--green);
  transform: translateX(8px);
}

.program-row span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.program-row h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.program-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.research {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.media-panel {
  position: absolute;
  inset: 0;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 32, 27, 0.86), rgba(8, 32, 27, 0.32));
  content: "";
}

.research-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 96px;
}

.research-copy h2 {
  max-width: 790px;
}

.research-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.research-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.research-lines li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campus-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: center;
}

.campus-image {
  min-height: 520px;
  overflow: hidden;
  border-radius: 6px;
}

.campus-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 600ms ease;
}

.campus-image:hover img {
  transform: scale(1.04);
}

.apply {
  background: var(--green);
  color: #ffffff;
}

.apply-inner {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.apply .eyebrow {
  color: #f4cfcc;
}

.apply-inner p {
  color: rgba(255, 255, 255, 0.84);
}

.apply-actions {
  justify-content: center;
  margin-top: 32px;
}

.domain {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 36px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer strong,
.site-footer span {
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .site-header {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .brand small {
    max-width: 280px;
  }

  .mobile-nav-link {
    z-index: 25;
    display: inline-flex;
    margin-left: 12px;
    background: rgba(255, 255, 255, 0.12);
  }

  .site-header.is-scrolled .mobile-nav-link,
  .site-header.is-open .mobile-nav-link {
    background: rgba(15, 74, 58, 0.08);
    border-color: var(--green-deep);
    color: var(--green-deep);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    display: none;
    min-width: 220px;
    padding: 16px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--green-deep);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 10px;
  }

  .hero-copy {
    margin-left: 24px;
    padding-top: 150px;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 40px;
  }

  .two-column,
  .campus-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .program-row {
    grid-template-columns: 54px 1fr;
    gap: 20px;
  }

  .program-row p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-copy {
    width: min(330px, calc(100% - 44px));
    margin-left: 18px;
    padding-top: 130px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 40px;
    letter-spacing: 0.02em;
  }

  .hero-name {
    font-size: 17px;
  }

  .hero-text,
  .lead-block p,
  .research-copy p,
  .campus-copy p,
  .apply-inner p {
    font-size: 16px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding: 76px 0;
  }

  .section-inner {
    width: calc(100% - 36px);
  }

  .button {
    width: 100%;
  }

  .program-row {
    grid-template-columns: 1fr;
  }

  .program-row p {
    grid-column: 1;
  }

  .research {
    min-height: 680px;
  }

  .campus-image,
  .campus-image img {
    min-height: 360px;
  }

  .site-footer {
    display: block;
    padding: 24px 18px;
  }

  .site-footer > span {
    margin-top: 12px;
  }
}
