:root {
  --ink: #1d2939;
  --muted: #667085;
  --line: #d0d5dd;
  --brand: #0b6b57;
  --brand-dark: #074d3f;
  --accent: #f2b84b;
  --paper: #ffffff;
  --soft: #f7f9f6;
  --blue-soft: #eef6fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0.92rem;
}

.topbar .wrap,
.nav .wrap,
.section,
.footer .wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

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

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.menu a {
  border-radius: 6px;
  color: #344054;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.menu a:hover,
.menu a.active {
  background: var(--blue-soft);
  color: var(--brand-dark);
}

.menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-dark);
  cursor: pointer;
  display: none;
  font-weight: 800;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
}

.menu-toggle::before {
  content: "☰";
  font-size: 1.2rem;
  line-height: 1;
}

.hero {
  min-height: 360px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28)), url("assets/campus-front.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero .section {
  padding: 42px 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  max-width: 1040px;
}

.hero h1 {
  white-space: nowrap;
}

h2 {
  color: var(--brand-dark);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

h3 {
  color: var(--brand-dark);
  font-size: 1.2rem;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: 1.15rem;
  max-width: 720px;
}

.hero .lead {
  color: #f3f6f4;
}

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

.button {
  align-items: center;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  color: #261900;
  display: inline-flex;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: 46px 0;
}

.section.soft {
  background: var(--soft);
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1120px) / 2));
  padding-right: max(16px, calc((100% - 1120px) / 2));
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat {
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 18px;
}

.stat strong {
  color: var(--brand-dark);
  display: block;
  font-size: 1.7rem;
}

.split {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.founder-split {
  align-items: start;
}

.founder-split .founder-image {
  align-self: start;
  background: var(--soft);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: top center;
  width: 100%;
}

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

.page-title {
  background: var(--brand);
  color: #fff;
  padding: 52px 0;
}

.page-title h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.compact-title {
  padding: 34px 0;
}

.compact-title h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  max-width: 1120px;
  white-space: nowrap;
}

.page-title p {
  max-width: 760px;
  color: #e7f3ef;
}

.staff-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.head-master-profile {
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  display: grid;
  gap: 24px;
  grid-template-columns: 144px 1fr;
  margin-bottom: 28px;
  padding: 22px;
}

.head-master-profile img {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.head-master-profile h2 {
  margin-bottom: 8px;
}

table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--blue-soft);
  color: var(--brand-dark);
}

tr:last-child td {
  border-bottom: 0;
}

.facility-list {
  display: grid;
  gap: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.results-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.results-grid figure {
  margin: 0;
}

.results-grid img {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: auto;
  width: 100%;
}

.results-grid figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.gallery figure {
  margin: 0;
  min-height: 230px;
}

.gallery figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.contact-box {
  background: var(--blue-soft);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  padding: 24px;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 420px;
  margin-top: 18px;
  overflow: hidden;
  width: 100%;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.footer {
  background: #101828;
  color: #d0d5dd;
  padding: 30px 0;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer strong {
  color: #fff;
}

@media (max-width: 820px) {
  .topbar .wrap,
  .footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav .wrap {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex: 1 1 min(260px, calc(100% - 72px));
  }

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

  .menu {
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--line);
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding-top: 8px;
    width: 100%;
  }

  .nav.menu-open .menu {
    display: flex;
  }

  .menu a {
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 4px;
    white-space: normal;
  }

  .hero {
    min-height: 340px;
  }

  .hero h1 {
    white-space: normal;
  }

  .grid.two,
  .grid.three,
  .split,
  .head-master-profile,
  .stat-row,
  .results-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .head-master-profile img {
    max-width: 176px;
  }

  .section {
    padding: 36px 0;
  }

  .compact-title h1 {
    white-space: normal;
  }
}
