:root {
  --ink: #111513;
  --muted: #5e6b64;
  --line: #dfe7e2;
  --blue: #087a4c;
  --blue-dark: #0d1f18;
  --green: #087a4c;
  --gold: #d8a028;
  --surface: #f4f8f5;
  --white: #fff;
  --shadow: 0 18px 45px rgba(16, 33, 63, .12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.skip-link:focus {
  z-index: 10;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: .86rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 18px;
}

.topbar nav {
  display: flex;
  gap: 18px;
}

.topbar a {
  color: rgba(255, 255, 255, .88);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 900;
}

.social-icon span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.social-icon.facebook::before {
  content: "f";
}

.social-icon.youtube::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--white);
  content: "";
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 18px;
}

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

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

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

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 13px;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  color: var(--ink);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--blue);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 220px;
  gap: 4px;
  padding: 12px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 8px 10px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  border: 1px solid var(--blue);
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.header-search {
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.header-search input {
  width: 96px;
  height: 100%;
  border: 0;
  padding: 0 10px;
  font: inherit;
  outline: 0;
}

.header-search button {
  position: relative;
  height: 100%;
  border: 0;
  width: 42px;
  padding: 0;
  background: var(--blue-dark);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.header-search button::before {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--white);
  border-radius: 50%;
  content: "";
}

.header-search button::after {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 8px;
  height: 2px;
  background: var(--white);
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.header-search button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.button.secondary {
  background: var(--white);
  color: var(--blue-dark);
  border-color: rgba(255, 255, 255, .65);
}

.button.outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--line);
}

.hero-actions .button.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .56);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  background: #0d1f18 url("../images/campus-main-polished.webp") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 18, 14, .92) 0%, rgba(5, 18, 14, .72) 42%, rgba(5, 18, 14, .25) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 360px);
  align-items: end;
  min-height: 680px;
  gap: 60px;
  padding: 92px 0 46px;
}

.hero-copy {
  padding-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ce0be;
}

.hero h1 {
  margin: 16px 0 20px;
  max-width: 720px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  color: var(--white);
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .84);
  font-size: 1.15rem;
}

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

.cta-note {
  margin-top: 12px;
  font-weight: 700;
  color: var(--blue-dark);
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  padding: 22px;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}

.hero-panel ul {
  list-style: none;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.hero-panel li:last-child {
  border-bottom: 0;
}

.hero-panel strong {
  color: var(--blue-dark);
}

.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--surface);
}

.section.dark {
  background: var(--blue-dark);
  color: var(--white);
}

.section.dark p,
.section.dark .section-header p {
  color: rgba(255, 255, 255, .78);
}

.section-header {
  display: grid;
  max-width: 760px;
  gap: 12px;
  margin-bottom: 34px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  aspect-ratio: 4 / 3;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(16, 33, 63, .08);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(8, 122, 76, .32);
  box-shadow: 0 16px 34px rgba(8, 122, 76, .1);
}

.card-body {
  padding: 22px;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 139, 101, .1);
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.program-card:hover,
.program-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(8, 122, 76, .36);
  background: linear-gradient(180deg, #fff 0%, #f3fbf7 100%);
  box-shadow: 0 16px 34px rgba(8, 122, 76, .13);
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.program-card a {
  color: var(--blue-dark);
}

.program-card h3 a:hover,
.program-card li a:hover,
.text-link:hover {
  color: var(--blue);
}

.program-card:hover h3,
.program-card:hover h3 a {
  color: var(--green);
}

.program-card:hover li::before {
  background: var(--gold);
}

.program-card li span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
}

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

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid.compact {
  margin-top: 10px;
}

.feature-tile {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-tile:hover,
.feature-tile:focus-within {
  transform: translateY(-3px);
  border-color: rgba(8, 122, 76, .36);
  box-shadow: 0 16px 34px rgba(8, 122, 76, .11);
}

.feature-tile h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.sdg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sdg-card {
  min-height: 96px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.sdg-card strong,
.sdg-card span {
  display: block;
}

.sdg-card strong {
  color: var(--green);
  font-size: 1.8rem;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.info-strip span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.info-strip strong {
  display: block;
  color: var(--ink);
}

.section-subtitle {
  margin: 24px 0 12px;
  font-size: 1.2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.search-page-form input {
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  font: inherit;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.grading-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.grading-table th,
.grading-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.grading-table th {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.grading-table tbody tr:nth-child(odd) {
  background: #f7faf8;
}

.grading-table tbody tr:last-child td {
  border-bottom: 0;
}

.status-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 6px;
  background: #22c55e;
  color: var(--white);
  font-size: .82rem;
  font-weight: 900;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.notice-box {
  padding: 36px;
  border: 1px solid rgba(8, 122, 76, .22);
  border-radius: var(--radius);
  background: #eef8f3;
}

.notice-box h2 {
  margin-bottom: 14px;
}

.program-card h3 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 1.2rem;
}

.program-card li,
.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
  color: var(--muted);
  list-style: none;
}

.program-card li::before,
.check-list li::before {
  position: absolute;
  top: .66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.cta-band {
  padding: 48px;
  border-radius: var(--radius);
  background: #0d1f18;
  color: var(--white);
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-band p {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .78);
}

.page-hero {
  padding: 94px 0;
  color: var(--white);
  background: linear-gradient(90deg, rgba(13, 31, 24, .95), rgba(8, 122, 76, .75)), url("../images/campus-main-polished.webp") center / cover no-repeat;
}

.page-hero h1 {
  margin-top: 12px;
  max-width: 860px;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
}

.content-area {
  padding: 70px 0;
}

.editable-section {
  padding-top: 44px;
  padding-bottom: 44px;
}

.editable-content {
  max-width: 900px;
  padding: 0;
}

.content-area article {
  max-width: 850px;
}

.policy-content {
  padding-top: 0;
}

.policy-content article {
  max-width: 920px;
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: 1.55rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

.policy-content ul {
  margin: 0 0 18px 20px;
  color: var(--muted);
}

.policy-content li {
  margin: 8px 0;
}

.policy-content a {
  color: var(--green);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-box a {
  color: var(--blue);
  font-weight: 800;
}

.campus-contact-stack {
  display: grid;
  gap: 16px;
}

.campus-contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.campus-contact-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.board-card span {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  background: #071a14;
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, .72);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin: 9px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.post-card .card-body {
  min-height: 220px;
}

.single-post .content-area article {
  margin: 0 auto;
}

.single-post .content-area h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .header-search {
    width: 100%;
  }

  .header-search input {
    width: 100%;
    flex: 1;
  }

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

  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 4px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu a {
    display: block;
    padding: 8px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .card-grid.four,
  .card-grid.two,
  .card-grid,
  .feature-grid,
  .policy-card-grid,
  .post-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .topbar-inner,
  .topbar nav,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-inner {
    padding: 9px 0;
  }

  .topbar nav {
    gap: 6px;
  }

  .topbar .social-icon {
    display: none;
  }

  .brand {
    min-width: 0;
  }

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

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 78px 0 42px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .stats,
  .split,
  .program-grid,
  .info-strip,
  .sdg-grid,
  .feature-grid,
  .policy-card-grid,
  .contact-grid,
  .board-grid,
  .card-grid.two,
  .card-grid.four,
  .card-grid,
  .post-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stat:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 0;
  }

  .cta-band {
    padding: 28px;
  }

  .search-page-form {
    flex-direction: column;
  }
}
