@import url("shared.css"); /* .wrap, .eyebrow, .intro, .frame placeholder, .masonry, .quoteband */

/* ======================================================================
   HOME PAGE — sections unique to index.html.
   Everything reusable (section headers, image placeholders, gallery,
   quote band) already lives in shared.css and is used as-is below.
   ====================================================================== */

/* ================= STATS / FACTS BAND ================= */
.stats-band {
  background: var(--main);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 22px
  );
}
.stats-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  opacity: 0.85;
}

/* ================= WELCOME / INTRO SPLIT ================= */
.welcome-split {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 100px auto;
  gap: 70px;
  padding: 0 40px;
}
.welcome-text { flex: 1; }
.welcome-text h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  color: var(--main);
  line-height: 1.25;
  margin-bottom: 20px;
}
.welcome-text p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: #4a4a4a;
  margin-bottom: 16px;
}
.welcome-text .btn-yellow { margin-top: 8px; }
.welcome-media {
  flex: 1;
  min-height: 440px;
  border-radius: 2px;
}

.btn-yellow {
  display: inline-block;
  background-color: var(--gold);
  color: #222;
  padding: 15px 36px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: 0.3s;
}
.btn-yellow:hover { background-color: var(--main); color: var(--text-light); }

/* ================= WHY CHOOSE — ICON GRID ================= */
.why-band { background: var(--grey-bg); padding: 100px 0; }
.why-grid {
  max-width: 1120px;
  margin: 50px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-card {
  background: #fff;
  padding: 40px 24px;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.06);
}
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--main);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.why-card h3 {
  font-family: var(--serif);
  color: var(--main);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.why-card p { font-size: 13.5px; line-height: 1.6; color: #5a5a5a; }

/* ================= EXPLORE — QUICK LINK CARDS ================= */
.explore-band { padding: 100px 0; background: #fff; }
.explore-grid {
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.explore-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.explore-card .frame { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.explore-card h3 {
  font-family: var(--serif);
  color: var(--main);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.explore-card p { font-size: 13px; line-height: 1.55; color: #5a5a5a; margin-bottom: 12px; }
.explore-card .explore-link {
  margin-top: auto;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.explore-card:hover h3 { color: var(--gold); }

/* ================= VALUES BAND ================= */
.values-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}
.values-band .values-desc {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 245, 220, 0.85);
}
.values-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8vw;
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--gold);
}

/* ================= LATEST NEWS PREVIEW ================= */
.news-preview { padding: 100px 0; background: var(--grey-bg); }
.news-grid {
  max-width: 1180px;
  margin: 50px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: 2px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,33,71,0.06); }
.news-card .frame { aspect-ratio: 4 / 3; }
.news-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.news-card h3 {
  font-family: var(--serif);
  color: var(--main);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
}
.news-card p { font-size: 13.5px; line-height: 1.6; color: #5a5a5a; margin-bottom: 20px; }
.read-more-btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  background: var(--main);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  padding: 11px 24px;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.read-more-btn:hover { background: var(--main-lighter); }

/* ================= GALLERY TEASER ================= */
.gallery-teaser { padding: 100px 0; text-align: center; }
.gallery-teaser .masonry { margin-top: 50px; text-align: left; }
/* shared.css's .frame has no height of its own (every other page that
   uses it sets one) — without this the placeholder boxes collapse flat,
   since the empty <img> inside has nothing to size against. Varying the
   ratio slightly also gives the masonry grid some visual rhythm instead
   of six identical flat tiles. */
.gallery-teaser .frame { aspect-ratio: 4 / 3; }
.gallery-teaser .frame:nth-child(2),
.gallery-teaser .frame:nth-child(5) { aspect-ratio: 3 / 4; }

/* ================= HEADMASTER'S VISION ================= */
.leadership-band { background: var(--cream); padding: 100px 0; }
.leadership-split {
  display: flex;
  align-items: center;
  gap: 70px;
}
.leadership-media {  
  flex: 0 0 280px;
  min-height: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
}
.leadership-text { flex: 1.2; }
.leadership-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  color: var(--main);
  line-height: 1.25;
  margin-bottom: 24px;
}
.leadership-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.75;
  color: #3a3a3a;
  border-left: 3px solid var(--gold);
  padding-left: 26px;
  margin-bottom: 28px;
}
.leadership-signature .leadership-name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--main);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.leadership-signature .leadership-role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ================= MOTTO BANNER ================= */
.motto-banner {
  background-color: var(--gold);
  color: #1e1e1e;
  text-align: center;
  padding: 75px 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 1px;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding: 48px 24px; }
  .welcome-split { flex-direction: column; margin: 70px auto; padding: 0 24px; gap: 32px; }
  .welcome-media { width: 100%; min-height: 300px; }
  .why-grid { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .explore-grid { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .values-row { gap: 4vw 8vw; }
  .news-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .leadership-split { flex-direction: column; gap: 32px; }
  .leadership-media { width: 100%; min-height: 320px; aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .explore-grid { grid-template-columns: 1fr; }
}