:root {
  --forest-950: #071f17;
  --forest-900: #0b2e22;
  --forest-800: #124232;
  --forest-700: #1a5a44;
  --emerald-500: #228b62;
  --gold-500: #c9962c;
  --gold-400: #e2b44f;
  --gold-100: #fbf4e2;
  --ivory: #f7f8f4;
  --sage-100: #ecf1ec;
  --white: #ffffff;
  --ink: #131c18;
  --muted: #516159;
  --border: rgba(17, 45, 34, 0.12);
  --border-light: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 8px 22px rgba(9, 34, 25, 0.06);
  --shadow-lg: 0 24px 56px rgba(7, 31, 23, 0.18);
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------------- TOP UTILITY BAR ---------------- */
.utility-bar {
  background: var(--forest-950);
  color: rgba(241, 245, 242, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(226, 180, 79, 0.22);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-block: 9px;
}

.utility-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.utility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}

.utility-badge {
  color: var(--gold-400);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------------- HEADER / NAV ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--forest-900), var(--forest-700));
  border: 1.5px solid var(--gold-400);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(11, 46, 34, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--forest-900);
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--forest-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--forest-950);
  box-shadow: 0 10px 24px rgba(201, 150, 44, 0.28);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-forest {
  background: var(--forest-900);
  color: var(--white);
}

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

/* ---------------- HERO SECTION ---------------- */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 88% 12%, rgba(226, 180, 79, 0.14), transparent),
    radial-gradient(ellipse 65% 65% at 10% 90%, rgba(34, 139, 98, 0.22), transparent),
    linear-gradient(155deg, var(--forest-950) 0%, var(--forest-900) 55%, var(--forest-800) 100%);
  color: var(--white);
  padding: 58px 0 64px;
  border-bottom: 4px solid var(--gold-500);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(226, 180, 79, 0.14);
  border: 1px solid rgba(226, 180, 79, 0.4);
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--white);
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(236, 243, 239, 0.88);
  max-width: 590px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: rgba(7, 31, 23, 0.56);
  overflow: hidden;
}

.stat-cell {
  padding: 16px 16px;
  border-right: 1px solid var(--border-light);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  color: rgba(236, 243, 239, 0.78);
  font-weight: 500;
}

/* Hero Framed Photo */
.hero-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 180, 79, 0.42);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-photo-btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  border-radius: 13px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.hero-photo-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.35s ease;
}

.hero-photo-btn:hover img {
  transform: scale(1.02);
}

.hero-photo-caption {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(7, 31, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-photo-caption strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
}

.hero-photo-caption span {
  display: block;
  font-size: 0.77rem;
  color: rgba(236, 243, 239, 0.75);
}

.caption-pill {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226, 180, 79, 0.16);
  color: var(--gold-400);
  border: 1px solid rgba(226, 180, 79, 0.35);
}

/* ---------------- SECTION COMMON ---------------- */
.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--sage-100);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--emerald-500);
  margin-bottom: 8px;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--forest-950);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------------- CAMPUS MEDIA & VIDEO SHOWCASE ---------------- */
.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: stretch;
}

.video-stage {
  background: var(--forest-950);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(17, 45, 34, 0.25);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #040d0a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-frame video {
  width: 100%;
  max-height: 490px;
  object-fit: contain;
  background: #040d0a;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(241, 245, 242, 0.86);
  font-size: 0.82rem;
  padding-inline: 4px;
}

.video-meta strong {
  color: var(--gold-400);
}

.media-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.chapter-list {
  display: grid;
  gap: 12px;
}

.chapter-btn {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.chapter-btn:hover {
  border-color: var(--emerald-500);
  transform: translateY(-1px);
}

.chapter-btn.is-active {
  border-color: var(--forest-800);
  background: #f0f6f2;
  box-shadow: 0 10px 26px rgba(18, 66, 50, 0.12);
}

.chapter-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  background: var(--forest-900);
  padding: 6px 10px;
  border-radius: 8px;
}

.chapter-btn.is-active .chapter-time {
  background: var(--gold-500);
  color: var(--forest-950);
}

.chapter-title {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--forest-950);
  margin-bottom: 2px;
}

.chapter-desc {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
}

.chapter-play {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest-700);
}

.gallery-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 16px;
  align-items: center;
}

.gallery-thumb {
  border: none;
  padding: 0;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

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

.gallery-copy h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 4px;
}

.gallery-copy p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--forest-700);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.link-btn:hover {
  color: var(--gold-500);
}

/* ---------------- FACT BENTO GRID ---------------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--forest-800);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sage-100);
  color: var(--forest-800);
  display: grid;
  place-items: center;
}

.fact-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--forest-950);
}

.fact-list {
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--muted);
}

.fact-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------------- PROGRAMS & TABS ---------------- */
.pillars-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pillar-tab {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pillar-tab:hover {
  border-color: var(--forest-700);
}

.pillar-tab.is-active {
  background: var(--forest-900);
  color: var(--white);
  border-color: var(--forest-900);
}

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

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-card.is-highlighted {
  border-color: var(--gold-500);
  box-shadow: 0 16px 34px rgba(201, 150, 44, 0.14);
  transform: translateY(-2px);
}

.pillar-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--forest-800);
  background: var(--gold-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.pillar-points {
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--ink);
}

.pillar-points li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pillar-points li::before {
  content: "•";
  color: var(--gold-500);
  font-weight: 900;
}

/* ---------------- HERITAGE TIMELINE & LOCATION ---------------- */
.heritage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--forest-700));
}

.timeline-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-400);
  border: 2px solid var(--forest-900);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-500);
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest-950);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 0.86rem;
  color: var(--muted);
}

.location-card {
  background: linear-gradient(160deg, var(--forest-950), var(--forest-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid rgba(226, 180, 79, 0.32);
  box-shadow: var(--shadow-lg);
}

.location-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.location-card > p {
  font-size: 0.92rem;
  color: rgba(236, 243, 239, 0.84);
  margin-bottom: 22px;
}

.location-rows {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.loc-row {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.loc-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.loc-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 3px;
}

.loc-val {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--forest-950);
  color: rgba(236, 243, 239, 0.76);
  padding: 28px 0;
  border-top: 1px solid rgba(226, 180, 79, 0.25);
  font-size: 0.84rem;
}

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

.footer-inner strong {
  color: var(--white);
}

/* ---------------- DIALOG / LIGHTBOX ---------------- */
dialog.modal {
  margin: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 780px;
  width: calc(100% - 32px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(7, 31, 23, 0.45);
  overflow: hidden;
}

dialog.modal::backdrop {
  background: rgba(7, 22, 16, 0.72);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--forest-900);
  color: var(--white);
}

.modal-head h3 {
  font-size: 1rem;
  font-weight: 700;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-content {
  padding: 20px 22px 24px;
}

.lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #0d1512;
  margin-bottom: 14px;
}

.modal-caption {
  font-size: 0.88rem;
  color: var(--muted);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.profile-table th,
.profile-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.profile-table th {
  width: 40%;
  color: var(--muted);
  font-weight: 600;
}

.profile-table td {
  color: var(--forest-950);
  font-weight: 700;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1040px) {
  .hero-grid,
  .media-grid,
  .heritage-grid {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links a {
    display: none;
  }
  .hero {
    padding: 38px 0 44px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
  .section {
    padding: 48px 0;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .gallery-feature {
    grid-template-columns: 1fr;
  }
  .chapter-btn {
    grid-template-columns: auto 1fr;
  }
  .chapter-play {
    display: none;
  }
}
