/* ============================================================
   about.css — About page specific styles
   ------------------------------------------------------------
     • Hero: 3 portrait images (4:5) — Founder, Principal, Campus
     • Mission / Vision / Values: 3-card icon-only section
     • Statistics: 4-stat block
============================================================ */

/* ============================================================
   1. ABOUT HERO — 3 portrait images
============================================================ */

.about-hero {
  padding: clamp(20px, 3vw, 40px) 0 clamp(60px, 7vw, 100px);
}

.ah-intro {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.ah-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
.ah-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.ah-intro h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--secondary);
  margin-bottom: clamp(18px, 2vw, 24px);
}
.ah-intro p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: #4a6885;
  margin: 0;
}

/* ---------- 3-portrait grid ---------- */
.ah-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

/* When only one portrait is shown — wider feature image, centered */
.ah-portraits.solo {
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}
.ah-portraits.solo .ah-portrait {
  aspect-ratio: 16 / 9;     /* wide cinematic crop for solo campus */
}

.ah-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: clamp(16px, 2vw, 22px);
  overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(0, 50, 98, 0.4);
  transition: transform 0.5s var(--ease-out);
}
.ah-portrait:hover { transform: translateY(-6px); }

.ah-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.ah-portrait:hover img { transform: scale(1.04); }

/* Gradient overlay for caption legibility */
.ah-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 30, 60, 0.85));
  pointer-events: none;
}

/* Caption block */
.ah-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(18px, 2vw, 26px);
  color: var(--primary);
  z-index: 2;
}
.ah-caption .role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 216, 0, 0.18);
  border: 1px solid rgba(255, 216, 0, 0.3);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ah-caption .name {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--primary);
  margin: 0;
}
.ah-caption .detail {
  font-size: 12.5px;
  color: rgba(240, 248, 255, 0.78);
  margin: 4px 0 0;
  font-weight: 500;
}

/* ============================================================
   2. MISSION / VISION / VALUES
============================================================ */

.mvv-section { padding: clamp(40px, 5vw, 80px) 0; }

.mvv-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.mvv-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  width: fit-content;
  margin-bottom: 18px;
}
.mvv-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.mvv-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--secondary);
}
.mvv-head .mvv-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #4a6885;
}

.mvv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.mvv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
}
.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(0, 50, 98, 0.3);
  border-color: var(--secondary-soft);
}

/* The middle card gets the featured dark treatment */
.mvv-card.featured {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.mvv-card.featured h3 { color: var(--primary); }
.mvv-card.featured p { color: rgba(240, 248, 255, 0.82); }
.mvv-card.featured .mvv-icon {
  background: rgba(255, 216, 0, 0.12);
  border-color: rgba(255, 216, 0, 0.25);
  color: var(--accent);
}
.mvv-card.featured .mvv-quote {
  border-top-color: rgba(240, 248, 255, 0.18);
  color: var(--accent);
}

.mvv-icon {
  width: 56px; height: 56px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: clamp(20px, 2vw, 28px);
  color: var(--secondary);
}
.mvv-icon svg { width: 26px; height: 26px; }

.mvv-card h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--secondary);
}
.mvv-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a6885;
  margin-bottom: clamp(18px, 2vw, 26px);
  flex-grow: 1;
}

.mvv-quote {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-style: normal;
  border-top: 1px solid var(--line);
  padding-top: clamp(16px, 1.6vw, 22px);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mvv-quote::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--accent-gradient);
}

/* ============================================================
   3. STATS — 4 large stat cards
============================================================ */

.about-stats {
  padding: clamp(40px, 5vw, 80px) 0;
  background: var(--secondary);
  color: var(--primary);
}

.as-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.as-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 216, 0, 0.12);
  border: 1px solid rgba(255, 216, 0, 0.25);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.as-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.about-stats h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--primary);
  margin-bottom: clamp(14px, 1.5vw, 18px);
}
.about-stats h2 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.as-head p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(240, 248, 255, 0.75);
  margin: 0;
}

/* 4-stat grid */
.as-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.as-stat {
  text-align: center;
  padding: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px);
  background: rgba(240, 248, 255, 0.04);
  border: 1px solid rgba(240, 248, 255, 0.08);
  border-radius: 18px;
  transition: all 0.3s var(--ease-out);
}
.as-stat:hover {
  border-color: var(--accent);
  background: rgba(255, 216, 0, 0.05);
  transform: translateY(-4px);
}

.as-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.as-num sup {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--accent);
  vertical-align: super;
  margin-left: 2px;
}
.as-stat:hover .as-num { color: var(--accent); }

.as-lbl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(240, 248, 255, 0.75);
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   4. RESPONSIVE
============================================================ */

@media (max-width: 980px) {
  .ah-portraits { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 24px; }
  .ah-portrait { aspect-ratio: 5 / 4; }  /* shorter on mobile */
  /* Solo: keep wider feature look on tablet, normalize on phone */
  .ah-portraits.solo { max-width: 720px; }
  .ah-portraits.solo .ah-portrait { aspect-ratio: 4 / 3; }
  .mvv-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .mvv-cards { grid-template-columns: 1fr; }
  .as-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .as-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   5. VALUES DETAIL — 5 small value cards
============================================================ */

.values-section {
  padding: clamp(50px, 6vw, 80px) 0;
}

.values-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}
.values-head .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
}
.values-head .pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.values-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 28px);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}
.value-card:hover {
  border-color: var(--secondary-soft);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -25px rgba(0, 50, 98, 0.25);
}
.value-card .v-num {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.value-card h4 {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #4a6885;
  margin: 0;
}

/* ============================================================
   6. PRINCIPAL'S MESSAGE
============================================================ */

.principal-section {
  padding: clamp(40px, 5vw, 72px) 0;
}

/* Vice Principal section sits right after Principal — reduce top padding */
.vp-section {
  padding-top: 0;
}

.principal-card {
  background: var(--secondary);
  color: var(--primary);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(40px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.principal-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-family: var(--serif);
  font-size: 220px;
  color: var(--accent);
  opacity: 0.1;
  line-height: 1;
  font-weight: 400;
}
.principal-card .pc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 216, 0, 0.12);
  border: 1px solid rgba(255, 216, 0, 0.25);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.principal-card .pc-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.principal-card h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--primary);
  position: relative;
  z-index: 1;
  margin-bottom: clamp(20px, 2vw, 28px);
}
.principal-card h2 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.principal-card .pc-message {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(240, 248, 255, 0.86);
  margin: 0 0 clamp(24px, 2.5vw, 32px);
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.principal-card .pc-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid rgba(240, 248, 255, 0.15);
  position: relative;
  z-index: 1;
}
.principal-card .pc-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}
.principal-card .pc-title {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 248, 255, 0.65);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 880px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .principal-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
}