/* ============================================================
   Sage Mentorship — shared styles
   Palette: navy / gold / cream, serif display headings
   ============================================================ */

:root {
  --navy-900: #0a2a47;
  --navy-800: #0e3055;
  --navy: #12395f;
  --navy-soft: #2b567f;
  --gold: #f2a900;
  --gold-deep: #d99400;
  --gold-soft: #f7c654;
  --gold-chip: #fbe6b8;
  --cream: #faf1dc;
  --cream-light: #fdf8ec;
  --paper: #fffdf8;
  --ink: #33445c;
  --ink-soft: #5a6b82;
  --line: #ead9b8;
  --radius-lg: 20px;
  --radius-md: 14px;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 10px 30px rgba(14, 48, 85, 0.10);
  --shadow-deep: 0 18px 45px rgba(10, 42, 71, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: inherit; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- typography ---------- */

h1, h2, h3, .serif {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 600;
}

.rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 18px 0 22px;
}

.rule.center { margin-left: auto; margin-right: auto; }

.lead {
  color: var(--ink-soft);
  max-width: 640px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 48, 85, 0.25);
}
.btn-navy:hover { background: var(--navy-800); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: rgba(18, 57, 95, 0.06); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn-gold:hover { background: var(--gold-soft); }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(234, 217, 184, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  position: relative;
}

.brand-word::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -10px;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(-35deg);
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-left: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--gold-deep); }

.nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 6%;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
}

/* ---------- hero (gold, home) ---------- */

.hero-gold {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='340'%20viewBox='0%200%20340%20340'%3E%3Cpath%20d='M52%2028c2.3%2011.5%208.2%2017.4%2019.7%2019.7C60.2%2050%2054.3%2055.9%2052%2067.4%2049.7%2055.9%2043.8%2050%2032.3%2047.7%2043.8%2045.4%2049.7%2039.5%2052%2028Z'%20fill='rgba(255,255,255,0.15)'/%3E%3Ccircle%20cx='244'%20cy='70'%20r='13'%20fill='none'%20stroke='rgba(255,255,255,0.17)'%20stroke-width='2.5'/%3E%3Cpath%20d='M166%20146v26M153%20159h26'%20stroke='rgba(255,255,255,0.15)'%20stroke-width='2.5'%20stroke-linecap='round'/%3E%3Ccircle%20cx='86'%20cy='238'%20r='4.5'%20fill='rgba(255,255,255,0.17)'/%3E%3Cpath%20d='M266%20218c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(122,82,0,0.10)'/%3E%3Ccircle%20cx='150'%20cy='294'%20r='8'%20fill='none'%20stroke='rgba(122,82,0,0.09)'%20stroke-width='2.5'/%3E%3Ccircle%20cx='306'%20cy='166'%20r='4'%20fill='rgba(255,255,255,0.13)'/%3E%3Cpath%20d='M18%20150c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(255,255,255,0.10)'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  position: relative;
  overflow: hidden;
  padding-bottom: 70px;
}

.hero-gold::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  width: 340px;
  height: 340px;
  left: -120px;
  bottom: -140px;
}

/* hero copy */

.hero-copy {
  text-align: center;
  padding-top: 44px;
  position: relative;
  z-index: 1;
}

.hero-copy h1.hero-title {
  font-family: var(--serif);
  font-size: clamp(54px, 8.6vw, 100px);
  line-height: 1.02;
  color: var(--navy-900);
  font-weight: 700;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}

.hero-copy .hero-sub {
  font-family: var(--serif);
  font-size: clamp(27px, 3.8vw, 42px);
  line-height: 1.16;
  color: var(--navy);
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto 16px;
}

.hero-copy .hero-note {
  font-size: clamp(17px, 2.3vw, 23px);
  line-height: 1.5;
  color: rgba(18, 57, 95, 0.85);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 34px;
}

.hero-cta { margin-bottom: 32px; }

.btn-lg {
  font-size: 17px;
  padding: 18px 38px;
  box-shadow: 0 10px 26px rgba(14, 48, 85, 0.32);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(10, 42, 71, 0.8);
}

.hero-stats strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin-right: 4px;
}

.hero-stats .sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(10, 42, 71, 0.35);
}

@media (max-width: 560px) {
  .hero-stats { flex-direction: column; gap: 8px; }
  .hero-stats .sep { display: none; }
}

/* photo marquee — tilted polaroid reel with faded edges */

.photo-marquee {
  overflow: hidden;
  padding: 46px 0 26px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.photo-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.photo-card {
  width: 400px;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(102, 68, 0, 0.28);
  flex-shrink: 0;
  margin: 0;
  transition: transform 0.25s ease;
}

.photo-card.tilt-l { transform: rotate(-1.7deg); }
.photo-card.tilt-r { transform: rotate(1.4deg) translateY(10px); }

.marquee-track .photo-card:hover { transform: rotate(0deg) scale(1.02); }

@media (max-width: 620px) {
  .photo-card { width: 280px; }
  .photo-card .photo-ph { height: 190px; }
}

.photo-card .photo-ph {
  position: relative;
  width: 100%;
  height: 265px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 80% 110%, rgba(247, 198, 84, 0.22), transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-soft));
  color: var(--gold-soft);
}

.photo-card .photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* blank slot awaiting an upcoming photo */
.photo-card.photo-empty .photo-ph::after {
  content: "Photo coming soon";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- generic page hero (split) ---------- */

.page-hero {
  padding: 84px 0 76px;
  background-color: var(--cream-light);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='340'%20viewBox='0%200%20340%20340'%3E%3Cpath%20d='M52%2028c2.3%2011.5%208.2%2017.4%2019.7%2019.7C60.2%2050%2054.3%2055.9%2052%2067.4%2049.7%2055.9%2043.8%2050%2032.3%2047.7%2043.8%2045.4%2049.7%2039.5%2052%2028Z'%20fill='rgba(217,148,0,0.10)'/%3E%3Ccircle%20cx='244'%20cy='70'%20r='13'%20fill='none'%20stroke='rgba(217,148,0,0.10)'%20stroke-width='2.5'/%3E%3Cpath%20d='M166%20146v26M153%20159h26'%20stroke='rgba(217,148,0,0.09)'%20stroke-width='2.5'%20stroke-linecap='round'/%3E%3Ccircle%20cx='86'%20cy='238'%20r='4.5'%20fill='rgba(217,148,0,0.11)'/%3E%3Cpath%20d='M266%20218c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(18,57,95,0.06)'/%3E%3Ccircle%20cx='150'%20cy='294'%20r='8'%20fill='none'%20stroke='rgba(18,57,95,0.05)'%20stroke-width='2.5'/%3E%3Ccircle%20cx='306'%20cy='166'%20r='4'%20fill='rgba(217,148,0,0.09)'/%3E%3Cpath%20d='M18%20150c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(217,148,0,0.08)'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  border-bottom: 1px solid rgba(234, 217, 184, 0.5);
}

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

.page-hero h1 {
  font-size: clamp(42px, 5.8vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
}

.page-hero .split > div:first-child p { font-size: 16.5px; }

.page-hero p { color: var(--ink-soft); margin-bottom: 16px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 14px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-meta .dot { color: var(--gold-deep); margin-right: 5px; }

.media-card {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-soft);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 100%, rgba(247, 198, 84, 0.28), transparent 55%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: auto, 26px 26px;
}

.media-card .ph-icon { font-size: 34px; position: relative; z-index: 1; }

.media-card .ph-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .page-hero .split { grid-template-columns: 1fr; }
}

/* ---------- sections ---------- */

.section { padding: 72px 0; }
.section.cream { background: var(--cream-light); }
.section.cream-deep { background: var(--cream); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); }

/* ---------- cards ---------- */

.card {
  background: #fff;
  border: 1px solid rgba(234, 217, 184, 0.7);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
}

.card h3 {
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.card .card-rule {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 10px 0 16px;
}

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

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

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-chip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

/* check list */

.check-list { list-style: none; margin: 12px 0; }

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.soft-note {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--ink);
  margin-top: 18px;
}

/* commitment items */

.commit-item { display: flex; gap: 14px; margin-bottom: 20px; }

.commit-item .ci-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.commit-item h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 2px;
}

.commit-item p { font-size: 13.5px; color: var(--ink-soft); }

/* linked box (handbook) */

.link-box {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  margin-top: 18px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.link-box:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.link-box h4 {
  font-size: 15px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-box p { font-size: 13px; color: var(--ink-soft); margin-top: 3px; }

.link-box .arrow { color: var(--gold-deep); }

/* ---------- stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  text-align: center;
}

.stats-grid.five { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 960px) {
  .stats-grid, .stats-grid.five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .stats-grid, .stats-grid.five { grid-template-columns: 1fr; }
}

.stat .icon-chip { margin: 0 auto 14px; }

.stat .stat-number {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
}

.stat .stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 4px 0 8px;
}

.stat .stat-heading {
  font-family: var(--serif);
  font-size: 19px;
  margin: 2px 0 10px;
}

.stat .stat-text { font-size: 13px; color: var(--ink-soft); }

.stat .stat-source,
.edit-item .stat-source {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 148, 0, 0.4);
}

.stat .stat-source:hover,
.edit-item .stat-source:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- video feature (home) ---------- */

.video-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 860px) { .video-feature { grid-template-columns: 1fr; } }

.video-thumb {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  position: relative;
}

.video-thumb .vt-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-900);
}

.video-thumb .vt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumb .vt-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 71, 0) 55%, rgba(10, 42, 71, 0.35) 100%);
}

.video-thumb .play-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.video-thumb:hover .play-ring {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

/* ---------- timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  margin-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

.tl-step { text-align: center; position: relative; }

.tl-step .tl-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

.tl-step .tl-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.tl-step h4 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }

.tl-step p { font-size: 13px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-deep);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 15px;
}

/* ---------- schools ---------- */

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

@media (max-width: 860px) { .school-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .school-grid { grid-template-columns: 1fr; } }

.school-card {
  background: #fff;
  border: 1px solid rgba(234, 217, 184, 0.7);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.school-card:hover { transform: translateY(-3px); border-color: var(--gold); }

.school-card .school-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-soft));
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.school-card h4 { font-size: 15px; color: var(--navy); }

.school-card .school-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 600;
}

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.member { text-align: center; }

.member .avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-soft));
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.04em;
}

.member h4 { font-size: 16px; color: var(--navy); }

.member .role { font-size: 12.5px; color: var(--ink-soft); }

.member a {
  font-size: 12px;
  color: var(--gold-deep);
  text-decoration: none;
  overflow-wrap: anywhere;
  display: inline-block;
  max-width: 100%;
}

.member a:hover { text-decoration: underline; }

/* ---------- events ---------- */

.event-card h3 { font-size: 19px; }

.event-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.faq-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: border-color 0.15s;
}

.faq-chip:hover { border-color: var(--gold); }

.faq-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.faq-aside h3 { font-size: 19px; margin-bottom: 8px; }

.faq-aside p { font-size: 14px; color: var(--ink-soft); }

.faq-aside a { color: var(--navy); font-weight: 600; }

.faq-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- action tiles (support us) ---------- */

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

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

.tile {
  border-radius: var(--radius-lg);
  padding: 84px 28px 34px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-deep);
  position: relative;
  transition: transform 0.15s ease;
}

.tile:hover { transform: translateY(-4px); }

.tile .tile-icon { position: absolute; top: 26px; left: 28px; font-size: 26px; }

.tile h3 { color: #fff; font-size: 22px; }

.tile p { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }

.tile-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy)); }

.tile-gold { background: linear-gradient(160deg, var(--gold-deep), var(--gold)); }

.tile-gold h3 { color: var(--navy-900); }

.tile-gold p { color: rgba(20, 40, 60, 0.8); }

.tile-plum { background: linear-gradient(160deg, var(--navy-900), #4c4a86); }

/* banner (gold page header) */

.gold-banner {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='340'%20height='340'%20viewBox='0%200%20340%20340'%3E%3Cpath%20d='M52%2028c2.3%2011.5%208.2%2017.4%2019.7%2019.7C60.2%2050%2054.3%2055.9%2052%2067.4%2049.7%2055.9%2043.8%2050%2032.3%2047.7%2043.8%2045.4%2049.7%2039.5%2052%2028Z'%20fill='rgba(255,255,255,0.15)'/%3E%3Ccircle%20cx='244'%20cy='70'%20r='13'%20fill='none'%20stroke='rgba(255,255,255,0.17)'%20stroke-width='2.5'/%3E%3Cpath%20d='M166%20146v26M153%20159h26'%20stroke='rgba(255,255,255,0.15)'%20stroke-width='2.5'%20stroke-linecap='round'/%3E%3Ccircle%20cx='86'%20cy='238'%20r='4.5'%20fill='rgba(255,255,255,0.17)'/%3E%3Cpath%20d='M266%20218c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(122,82,0,0.10)'/%3E%3Ccircle%20cx='150'%20cy='294'%20r='8'%20fill='none'%20stroke='rgba(122,82,0,0.09)'%20stroke-width='2.5'/%3E%3Ccircle%20cx='306'%20cy='166'%20r='4'%20fill='rgba(255,255,255,0.13)'/%3E%3Cpath%20d='M18%20150c1.6%208%205.6%2012%2013.6%2013.6-8%201.6-12%205.6-13.6%2013.6-1.6-8-5.6-12-13.6-13.6%208-1.6%2012-5.6%2013.6-13.6Z'%20fill='rgba(255,255,255,0.10)'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  padding: 84px 0;
}

.gold-banner h1 {
  font-size: clamp(34px, 5vw, 50px);
  color: var(--navy-900);
  margin-bottom: 12px;
}

.gold-banner p {
  color: rgba(24, 40, 60, 0.82);
  max-width: 540px;
}

/* ---------- impact strip (about) ---------- */

.impact-layout {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 900px) { .impact-layout { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 90px;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.footer-brand .gold { color: var(--gold-soft); }

.footer-grid p { font-size: 13.5px; margin-top: 12px; max-width: 300px; }

.footer-grid h4 {
  font-family: var(--serif);
  color: var(--gold-soft);
  font-size: 16px;
  margin-bottom: 16px;
}

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

.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-grid a:hover { color: var(--gold-soft); }

.footer-grid .plain { font-size: 13.5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* class-name box (decal) */

.class-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px dashed var(--gold-deep);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--navy);
  margin: 6px 0 20px;
}

.class-box strong { font-weight: 700; }

/* ============================================================
   Icon system — inline SVG line icons (injected by main.js)
   replaces emoji throughout the site
   ============================================================ */

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
  flex-shrink: 0;
}

.ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* contextual sizing + color (icons use currentColor) */

.icon-chip { color: var(--navy); }
.icon-chip .ico { width: 22px; height: 22px; }

.tl-icon .ico { width: 22px; height: 22px; }

.school-logo .ico { width: 26px; height: 26px; }

.media-card .ico { width: 32px; height: 32px; position: relative; z-index: 1; }

.photo-ph .ico { width: 34px; height: 34px; }

.commit-item .ci-icon { color: var(--navy); }
.commit-item .ci-icon .ico { width: 18px; height: 18px; }

.tile .tile-icon { color: #fff; }
.tile-gold .tile-icon { color: var(--navy-900); }
.tile .tile-icon .ico { width: 26px; height: 26px; }

.hero-meta .dot { color: var(--gold-deep); display: inline-flex; }
.hero-meta .dot .ico { width: 16px; height: 16px; margin-right: 2px; }

.play-ring .ico { width: 24px; height: 24px; margin-left: 3px; }

.class-box .ico { width: 18px; height: 18px; color: var(--gold-deep); }

/* card h3 with an inline chip */
.card h3 .icon-chip { margin-bottom: 0; }

/* ============================================================
   Real-photo variants (added once photos arrived)
   ============================================================ */

/* page-hero media card holding a real photo — gold offset frame */
.media-card.photo {
  min-height: 0;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  box-shadow:
    0 18px 45px rgba(10, 42, 71, 0.20),
    18px 18px 0 var(--gold-soft);
}

.media-card.photo::after { display: none; }

.media-card.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* partner schools: grid on the left, photo on the right */
.school-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.school-layout .school-card {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.school-layout .school-logo {
  width: 50px;
  height: 50px;
  font-size: 18px;
  margin-bottom: 10px;
}

.school-layout .school-card h4 { font-size: 13.5px; }

.school-layout .school-card .school-link { font-size: 11px; }

.school-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

@media (max-width: 900px) {
  .school-layout { grid-template-columns: 1fr; }
  .school-photo { max-height: 420px; }
}

/* event cards with a photo header */
.event-card .event-photo {
  margin: -30px -28px 22px;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.event-card .event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-card:hover .event-photo img { transform: scale(1.03); }

/* ============================================================
   v2 redesign layer — editorial sections, bands, motion
   ============================================================ */

/* --- scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- full-bleed navy band --- */
.band-navy {
  background-color: var(--navy-800);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  color: rgba(255, 255, 255, 0.85);
}

.band-navy .section-title,
.band-navy h2, .band-navy h3 { color: #fff; }

.band-navy .lead { color: rgba(255, 255, 255, 0.78); }

.band-navy .eyebrow { color: var(--gold-soft); }

/* --- editorial ruled columns (no cards) --- */
.edit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 960px) { .edit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .edit-grid { grid-template-columns: 1fr; } }

.edit-item {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}

.edit-item .edit-num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.edit-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 8px 0 10px;
}

.edit-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.edit-item .stat-source { margin-top: 12px; }

/* --- numbered story rows (About: who/why/how) --- */
.story-rows { border-top: 1px solid var(--line); }

.story-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 800px) {
  .story-row { grid-template-columns: 1fr; gap: 12px; padding: 34px 0; }
}

.story-row .story-head { display: flex; align-items: baseline; gap: 18px; }

.story-row .story-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.story-row h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
}

.story-row p {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* --- big-type stat row (navy band) --- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 960px) { .stat-band { grid-template-columns: repeat(2, 1fr); gap: 34px 8px; } }
@media (max-width: 560px) { .stat-band { grid-template-columns: 1fr; } }

.stat-band > div { padding: 0 14px; }

.stat-band > div + div { border-left: 1px solid rgba(255, 255, 255, 0.14); }

@media (max-width: 960px) { .stat-band > div + div { border-left: none; } }

.stat-band .sb-num {
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 62px);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}

.stat-band .sb-label {
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  margin: 10px 0 8px;
}

.stat-band .sb-text {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
  max-width: 210px;
  margin: 0 auto;
}

/* --- full-bleed photo quote band --- */
.quote-band {
  position: relative;
  background: url("../images/banner-5.jpg") center 35% / cover no-repeat;
  padding: 110px 0;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 71, 0.72), rgba(10, 42, 71, 0.55));
}

.quote-band blockquote {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.quote-band blockquote::before {
  content: "“";
  display: block;
  font-size: 70px;
  line-height: 0.6;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-style: normal;
}

.quote-band .quote-mark {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 26px auto 0;
  position: relative;
}

/* --- full-bleed CTA band (replaces rounded navy box) --- */
.cta-band-full {
  background-color: var(--navy-800);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  padding: 76px 0;
  text-align: center;
  color: #fff;
}

.cta-band-full h2 {
  color: #fff;
  font-size: clamp(28px, 3.8vw, 40px);
  margin-bottom: 14px;
}

.cta-band-full p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 auto 30px;
  font-size: 15.5px;
}

/* --- video feature refinements on navy --- */
.band-navy .video-thumb { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }


/* attribution under the mission quote */
.quote-band .quote-attrib {
  position: relative;
  text-align: center;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.quote-band .quote-attrib strong {
  color: var(--gold-soft);
  font-weight: 700;
}


/* hidden roster members until "Meet the Full Team" expands */
.team-grid .member.extra { display: none; }

/* keep faces in frame for tall/cropped event photos */
.event-photo img.pos-top { object-position: center top; }


/* image logo in the header */
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

.brand:hover .brand-logo { transform: scale(1.04); }

/* small call-to-action note inside a tile */
.tile .tile-note {
  display: block;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 12px;
}


/* school monogram (stand-in until real logos exist) */
.school-logo .school-mono {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--gold-soft);
  line-height: 1;
}
