/* ==========================================================================
   The Vedic Education & Charitable Trust
   Design system - inspired by the bold, generous, image-forward style of
   charity: water, adapted with a warm Vedic saffron + deep indigo palette.
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Brand palette */
  --ink:        #15213B;   /* deep indigo navy - primary text */
  --ink-soft:   #2A3550;
  --muted:      #5B6478;   /* secondary text */
  --gold:       #F4A825;   /* warm saffron gold - primary accent / CTA */
  --gold-deep:  #E0870A;
  --gold-soft:  #FBE3AE;
  --teal:       #0E8A7E;   /* growth / education accent */
  --teal-deep:  #0A6F65;
  --rose:       #E4572E;   /* warmth / urgency accent */

  /* Surfaces */
  --cream:      #FBF7EF;   /* warm paper background */
  --sand:       #F3ECDE;
  --white:      #FFFFFF;
  --ink-wash:   #101A31;   /* dark sections */

  /* Utility */
  --line:       #E7DFCF;
  --line-soft:  #EFE9DC;
  --shadow-sm:  0 2px 8px rgba(21, 33, 59, .06);
  --shadow-md:  0 14px 40px rgba(21, 33, 59, .10);
  --shadow-lg:  0 30px 70px rgba(21, 33, 59, .18);

  /* Type */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius:    22px;
  --radius-sm: 14px;
  --radius-lg: 34px;
  --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ----------  Reset / base  ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ----------  Layout helpers  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink-wash); color: #E8EDF6; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--gold); }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--ink .lead { color: #B9C4D8; }

.center { text-align: center; }
.center .eyebrow::before { display: none; }
.center .eyebrow { justify-content: center; }
.measure { max-width: 640px; }
.center .measure,
.center.measure { margin-inline: auto; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 1.05em 1.75em;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold   { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(224,135,10,.28); }
.btn--gold:hover { background: var(--gold-deep); box-shadow: 0 16px 32px rgba(224,135,10,.36); }

.btn--ink    { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0c1122; }

.btn--ghost  { background: transparent; color: var(--ink); border-color: rgba(21,33,59,.22); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light  { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 1.2em 2.1em; font-size: 1.08rem; }
.btn--sm { padding: .8em 1.3em; font-size: .92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
  color: var(--teal-deep);
  border-bottom: 2px solid transparent;
  transition: gap .2s var(--ease), border-color .2s;
}
.textlink svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.textlink:hover { border-color: var(--teal); }
.textlink:hover svg { transform: translateX(3px); }
.section--ink .textlink { color: var(--gold); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
/* Burger (left)  ·  logo (centre)  ·  Donate (right) */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 78px;
}
.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}
.brand__mark {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--gold) 0%, var(--gold-deep) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(224,135,10,.30);
}
.brand__mark svg { width: 25px; height: 25px; }
.brand__name { font-size: 1.02rem; }
.site-header .brand__name {
  font-size: clamp(.6rem, 2.15vw, 1.1rem);
  white-space: nowrap;
}

/* Dimmed, blurred backdrop behind the menu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 14, 27, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
body.nav-open .menu-backdrop { opacity: 1; visibility: visible; }

/* The menu panel - a dramatic gradient sheet that drops from the header */
.menu-panel {
  position: fixed;
  inset: 78px 0 auto 0;
  z-index: 90;
  padding: clamp(24px, 4vw, 46px) clamp(20px, 5vw, 48px) clamp(26px, 4vw, 44px);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(244,168,37,.22), transparent 52%),
    radial-gradient(120% 150% at 0% 120%, rgba(14,138,126,.30), transparent 55%),
    linear-gradient(165deg, #1B2A4A 0%, #101A31 78%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 44px 90px rgba(9,14,27,.55);
  transform: translateY(-112%);
  transition: transform .55s var(--ease);
  max-height: calc(100vh - 78px);
  overflow-y: auto;
}
body.nav-open .menu-panel { transform: none; }

.nav__links {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--container);
}
.nav__links li {
  border-top: 1px solid rgba(255,255,255,.09);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: 0ms;
}
.nav__links li:last-child { border-bottom: 1px solid rgba(255,255,255,.09); }
body.nav-open .nav__links li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i) * 55ms + 120ms);
}

.menu-link {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 26px);
  padding: clamp(13px, 2.1vw, 20px) 4px;
  color: #DCE4F1;
  transition: color .25s var(--ease), padding-left .35s var(--ease);
}
.menu-index {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold);
  opacity: .75;
  min-width: 30px;
}
.menu-text {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.menu-arrow {
  display: inline-flex;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.menu-arrow svg { width: 26px; height: 26px; }
.menu-link:hover,
.menu-link:focus-visible { color: #fff; padding-left: 16px; outline: none; }
.menu-link:hover .menu-arrow,
.menu-link:focus-visible .menu-arrow { opacity: 1; transform: none; }
.menu-link.is-active .menu-text { color: var(--gold); }
.menu-link.is-active .menu-index { opacity: 1; }

/* Menu footer - CTA + contact + social */
.menu-foot {
  max-width: var(--container);
  margin: clamp(20px, 3vw, 32px) auto 0;
  padding-top: clamp(20px, 3vw, 30px);
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 26px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
body.nav-open .menu-foot {
  opacity: 1;
  transform: none;
  transition-delay: .42s;
}
.menu-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.menu-meta > a {
  display: inline-flex; align-items: center; gap: 9px;
  color: #B9C4D8; font-weight: 600; font-size: .96rem;
  transition: color .2s;
}
.menu-meta > a svg { width: 18px; height: 18px; color: var(--gold); }
.menu-meta > a:hover { color: #fff; }
.menu-social { display: flex; gap: 9px; }
.menu-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.menu-social a:hover { background: var(--gold); transform: translateY(-2px); }
.menu-social a:hover svg { color: var(--ink); }
.menu-social svg { width: 18px; height: 18px; color: #fff; }
@media (max-width: 560px) {
  .menu-foot { flex-direction: column; align-items: stretch; }
  .menu-foot .btn { width: 100%; }
  .menu-meta { justify-content: space-between; }
}

.nav__cta { justify-self: end; display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  justify-self: start;
  width: 46px; height: 46px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(244,168,37,.35) 0%, rgba(244,168,37,0) 45%),
    radial-gradient(120% 130% at 0% 100%, rgba(14,138,126,.40) 0%, rgba(14,138,126,0) 50%),
    linear-gradient(160deg, #1B2A4A 0%, #101A31 60%, #0B1226 100%),
    #101A31;
}
.hero::after { /* subtle grain / texture */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.hero h1 { color: #fff; }
.hero__title-accent { color: var(--gold); font-style: italic; }
.hero__lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: #C7D2E6;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

/* hero visual (gradient art card - swap with a photo any time) */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(90% 70% at 70% 10%, rgba(255,255,255,.20), transparent 60%),
    linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 42%, var(--rose) 100%);
}
.hero__visual .photo-slot { position: absolute; inset: 0; }
.hero__badge {
  position: absolute;
  left: 22px; bottom: 22px; right: 22px;
  background: rgba(16,26,49,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1; }
.hero__badge span { font-size: .86rem; color: #C7D2E6; }
.hero__badge .dot { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.hero__badge .dot svg { width: 24px; height: 24px; color: var(--gold); }

/* Marquee strip under hero */
.trust-strip {
  background: var(--ink-wash);
  color: #9FB0CC;
  border-top: 1px solid rgba(255,255,255,.07);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  padding-block: 20px;
  font-weight: 600;
  font-size: .92rem;
}
.trust-strip b { color: #fff; }
.trust-strip .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ==========================================================================
   Photo slots (swap gradients for real images)
   ========================================================================== */
.photo-slot {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-slot--a { background-image: linear-gradient(150deg, #F4A825, #E0870A 55%, #E4572E); }
.photo-slot--b { background-image: linear-gradient(150deg, #0E8A7E, #0A6F65 60%, #15213B); }
.photo-slot--c { background-image: linear-gradient(150deg, #1B2A4A, #15213B 55%, #0A6F65); }
.photo-slot--d { background-image: linear-gradient(150deg, #F4A825, #E4572E); }

/* Real photography - drop replacement files in assets/img/ (keep same names)
   to swap the pictures without touching any HTML. */
.img-joy       { background-image: url("../img/joy.jpg"); }
.img-children  { background-image: url("../img/children.jpg"); }
.img-learning  { background-image: url("../img/learning.jpg"); }
.img-classroom { background-image: url("../img/classroom.jpg"); }
.img-teaching  { background-image: url("../img/teaching.jpg"); }
.img-books     { background-image: url("../img/books.jpg"); }
.img-books-open{ background-image: url("../img/books-open.jpg"); }
.img-memorial  { background-image: url("../img/memorial.jpg"); }
/* real photos from the schools' own sites */
.img-kims      { background-image: url("../img/kims.jpg"); }
.img-kudos     { background-image: url("../img/kudos.jpg"); }
/* slightly lift focal point for wide group/landscape shots in tall frames */
.img-joy, .img-children, .img-learning, .img-classroom { background-position: center 30%; }
.photo-slot::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Feature / value grid
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: var(--gold-soft);
  color: var(--gold-deep);
}
.card__icon svg { width: 28px; height: 28px; }
.card__icon.is-teal { background: #D3ECE8; color: var(--teal-deep); }
.card__icon.is-rose { background: #FADBD1; color: var(--rose); }
.card__icon.is-ink  { background: #E1E7F2; color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: 1rem; }

/* ==========================================================================
   Split / story section
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
  min-height: 300px;
}
.split__media .tag {
  position: absolute;
  left: 20px; top: 20px;
  background: rgba(16,26,49,.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .04em;
  padding: .5em 1em;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
}
.split ul.ticks { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; }
.split ul.ticks li {
  position: relative;
  padding-left: 36px;
  margin-bottom: .8em;
  color: var(--ink-soft);
  font-weight: 500;
}
.split ul.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ==========================================================================
   Impact / stats band
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; padding: 10px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -.02em;
}
.stat__label { margin-top: .6rem; font-weight: 600; color: #C7D2E6; font-size: .98rem; }
.section--sand .stat__num { color: var(--gold-deep); }
.section--sand .stat__label { color: var(--muted); }

/* ==========================================================================
   Schools mini-cards
   ========================================================================== */
.school-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.school-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.school-card__media { aspect-ratio: 16/10; position: relative; }
.school-card__media .chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-weight: 700; font-size: .78rem; letter-spacing: .04em;
  padding: .45em .9em; border-radius: 100px;
}
.school-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.school-card__body h3 { margin: 0; }
.school-card__body p { color: var(--muted); font-size: 1rem; margin: 0; }
.school-card__meta { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--teal-deep); font-weight: 700; font-size: .95rem; }

/* ==========================================================================
   Awards
   ========================================================================== */
.award-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.award-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.award-card.is-teal::before { background: linear-gradient(90deg, var(--teal), var(--teal-deep)); }
.award-card.is-rose::before { background: linear-gradient(90deg, var(--rose), var(--gold-deep)); }
.award-card__trophy {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-soft); color: var(--gold-deep);
}
.award-card.is-teal .award-card__trophy { background: #D3ECE8; color: var(--teal-deep); }
.award-card.is-rose .award-card__trophy { background: #FADBD1; color: var(--rose); }
.award-card__trophy svg { width: 28px; height: 28px; }
.award-card h3 { margin-bottom: .5em; }
.award-card .elig-title {
  font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); margin: 4px 0 10px;
}
.award-card ul { list-style: none; margin: 0; padding: 0; }
.award-card ul li {
  position: relative; padding-left: 26px; margin-bottom: .65em;
  font-size: .98rem; color: var(--ink-soft);
}
.award-card ul li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
}
.award-card.is-teal ul li::before { background: var(--teal); }
.award-card.is-rose ul li::before { background: var(--rose); }

/* Numbered / info lists */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li {
  position: relative;
  counter-increment: s;
  padding: 22px 24px 22px 74px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(s);
  position: absolute; left: 22px; top: 20px;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600;
  display: grid; place-items: center;
}
.steps li h4 { margin: 0 0 .25em; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }
.steps li p { margin: 0; color: var(--muted); font-size: .98rem; }

.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doclist li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}
.doclist li svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 2px; }

.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.criteria li {
  position: relative; padding-left: 30px; color: var(--ink-soft); font-weight: 500;
}
.criteria li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0870A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Deadline / notice banner */
.notice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
  background: linear-gradient(135deg, #15213B, #0A6F65);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 32px;
  box-shadow: var(--shadow-md);
}
.notice__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.notice__icon svg { width: 26px; height: 26px; color: var(--gold); }
.notice strong { color: #fff; }
.notice p { margin: 0; color: #C7D2E6; }
.notice .btn { margin-left: auto; }

.countdown { display: flex; gap: 12px; }
.countdown .unit {
  background: rgba(255,255,255,.12);
  border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 62px;
}
.countdown .unit b { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: #fff; }
.countdown .unit span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #B9C4D8; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px);
  color: #fff;
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(244,168,37,.4), transparent 55%),
    linear-gradient(150deg, #1B2A4A, #101A31 70%);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #C7D2E6; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .85em 1em;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,168,37,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 16px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; color: var(--teal-deep); }
.form-status.is-err { display: block; color: var(--rose); }

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 4px 24px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400;
  font-size: 1.8rem; color: var(--gold-deep); line-height: 1; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(155deg, #1B2A4A 0%, #101A31 65%);
  padding-block: clamp(72px, 10vw, 132px) clamp(56px, 7vw, 92px);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 90% 0%, rgba(244,168,37,.30), transparent 55%),
    radial-gradient(60% 90% at 0% 100%, rgba(14,138,126,.35), transparent 55%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #C7D2E6; margin-top: .3em; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: var(--gold); }
.breadcrumb { font-size: .88rem; color: #94A3C0; margin-bottom: 1.2rem; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .55; margin: 0 .5em; }

/* ==========================================================================
   Prose (long-form content)
   ========================================================================== */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose ul li { margin-bottom: .5em; }
.pull {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  border-left: 4px solid var(--gold);
  padding-left: clamp(20px, 3vw, 34px);
  margin: 2rem 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-wash);
  color: #97A6C2;
  padding-block: clamp(56px, 7vw, 84px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__name small { color: var(--gold); }
.footer-brand p { color: #8695B2; max-width: 34ch; font-size: .97rem; }
.footer-col h4 {
  font-family: var(--font-body); color: #fff; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #97A6C2; font-size: .97rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: .88rem; color: #6C7B98;
}
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .school-card:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; order: -1; }
}
@media (max-width: 920px) {
  body { font-size: 17px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .criteria { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .notice .btn { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .site-header .brand__mark { display: none; }
  .nav__cta .btn { padding: .72em 1.05em; font-size: .92rem; }
}
