:root {
  --ink: #10211a;
  --muted: #65736d;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #e1e7e2;
  --forest: #0d5f3d;
  --forest-strong: #073b27;
  --leaf: #28a064;
  --gold: #d9a441;
  --clay: #ba5f3b;
  --sky: #dceef6;
  --shadow: 0 18px 45px rgba(16, 33, 26, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.top-strip {
  background: var(--forest-strong);
  color: #fff;
  font-size: .86rem;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.top-strip a {
  color: #fff;
  opacity: .92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, .92);
  border-bottom: 1px solid rgba(225, 231, 226, .8);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

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

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(13, 95, 61, .2);
}

.brand strong {
  display: block;
  font-size: 1.04rem;
  letter-spacing: .02em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #263a32;
  font-size: .94rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a.active {
  background: #e8f3ed;
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 95, 61, .18);
}

.btn-primary:hover {
  background: var(--forest-strong);
}

.btn-light {
  background: #fff;
  color: var(--forest-strong);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn-outline-dark {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0a2418;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 24, 15, .92) 0%, rgba(4, 24, 15, .68) 42%, rgba(4, 24, 15, .22) 100%),
    url("../../img/hero-campus.jpg");
  background-size: cover;
  background-position: center;
}

.hero .container {
  position: relative;
  padding: 92px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  width: min(760px, 100%);
  margin: 14px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  width: min(670px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(920px, 100%);
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.hero-stat {
  padding: 18px;
  background: rgba(255, 255, 255, .08);
}

.hero-stat strong {
  display: block;
  font-size: 1.45rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
}

.notice-band {
  background: var(--gold);
  color: #241a07;
}

.notice-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}

.notice-band strong {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #f2f6f0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-title {
  margin: 8px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.section-copy {
  width: min(520px, 100%);
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 33, 26, .07);
}

.feature-card {
  padding: 28px;
}

.feature-card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #e8f3ed;
  color: var(--forest);
}

.feature-card h3,
.news-card h3,
.program-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-card p,
.news-card p,
.program-card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.media-stack {
  position: relative;
  min-height: 520px;
}

.media-stack img {
  width: 78%;
  height: 410px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 270px;
  border: 8px solid var(--paper);
}

.rich-list {
  display: grid;
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.rich-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.rich-list i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8f3ed;
  color: var(--forest);
}

.program-card {
  overflow: hidden;
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-card > div {
  padding: 24px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px;
}

.timeline-item time {
  color: var(--forest);
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 230px;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery img:first-child {
  grid-row: span 2;
}

.page-hero {
  position: relative;
  color: #fff;
  background: #0a2418;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 24, 15, .9), rgba(4, 24, 15, .45)),
    var(--hero-image, url("../../img/hero-campus.jpg"));
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  position: relative;
  padding: 96px 0 88px;
}

.form-panel {
  padding: 34px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: #2d4038;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(13, 95, 61, .1);
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 8px;
}

.alert-success {
  background: #e8f6ed;
  color: #115b35;
  border: 1px solid #b9dfc5;
}

.alert-danger {
  background: #fff0ed;
  color: #84331f;
  border: 1px solid #f1c5ba;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 22px;
}

.site-footer {
  background: #071b13;
  color: rgba(255, 255, 255, .76);
}

.site-footer .container {
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr .85fr;
  gap: 34px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, .76);
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 78px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav .btn {
    color: #fff;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding-top: 76px;
  }

  .hero-stats,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: block;
  }

  .media-stack {
    min-height: 440px;
  }

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

  .gallery img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .top-strip .container,
  .notice-band .container,
  .footer-bottom {
    display: block;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-stats,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    padding: 15px;
  }

  .section {
    padding: 62px 0;
  }

  .media-stack {
    min-height: auto;
  }

  .media-stack img,
  .media-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 14px;
    border: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery img:first-child {
    grid-column: auto;
  }

  .form-panel {
    padding: 22px;
  }
}
