:root {
  --navy: #0f2940;
  --gold: #b89b5b;
  --warm-gray: #5f6771;
  --paper: #f7f5f1;
  --ink: #1b1e21;
  --radius: 8px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.25rem;
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}
.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
}
.logo img {
  width: 64px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  clip-path: inset(0% 0% 5% 5%);
} /* small image clip */
.main-nav a {
  margin-left: 1rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.main-nav a:hover {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  background: #fff;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary:hover {
  background: #143656;
}

/* Hero (Innovation 1: split-hero with diagonal rule) */
.hero {
  position: relative;
  isolation: isolate;
}
.hero__bg {
  background: url("background.jpg") center/cover no-repeat fixed;
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero--split::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0 55%,
    rgba(255, 255, 255, 0.75) 55% 60%,
    rgba(255, 255, 255, 0) 60% 100%
  );
  z-index: -1;
}
.hero__content {
  padding: 5rem 1rem 3rem;
}
.hero .actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Highlights */
.highlights {
  padding: 3rem 0;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
/* Innovation 4: offset-border cards */
.card--offset {
  position: relative;
}
.card--offset::before {
  content: "";
  position: absolute;
  inset: 8px 8px calc(8px - 2px) calc(8px - 2px);
  border: 1px solid var(--gold);
  border-radius: 6px;
  pointer-events: none;
}

/* Gallery (<=3 images, with clip-path on small images) */
.gallery {
  padding: 2rem 0;
}
.gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__list img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  clip-path: inset(0% 0% 5% 5%);
} /* small image clip */

/* Notice */
.notice {
  padding: 1rem 0 3rem;
}

/* Footer */
.site-footer {
  background: #0f1e2d;
  color: #d9dee5;
  margin-top: 2rem;
  padding: 2rem 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}
.site-footer a {
  color: #e9cf96;
}
/* Center copyright */
.copyright {
  text-align: center;
}

/* Innovation 2 and 3 are prepared for other pages */
/* Innovation 2: sticky side index (for About/Programs) */
.sticky-index {
  position: sticky;
  top: 5rem;
  align-self: start;
}
/* Innovation 3: CSS-counter timeline (for History) */
.timeline {
  counter-reset: step;
}
.timeline li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin: 0.75rem 0;
}
.timeline li::before {
  counter-increment: step;
  content: counters(step, ".");
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.2rem;
  width: 2px;
  height: calc(100% - 1.2rem);
  background: linear-gradient(var(--gold), transparent);
}

/* Innovation 5: drop cap utility */
.dropcap:first-letter {
  float: left;
  font-family: "Lora", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
  margin: 0.15rem 0.5rem 0 0;
  color: var(--navy);
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .gallery__list {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
