/* =====================================================================
   Vivekanandha Educational Institutions — Design System
   Palette: teal + indigo (from the crest) on cool paper
   Newsreader (display) · Inter (UI/body)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Teal + indigo palette — from the institution crest.
     Var names kept (--maroon = brand indigo, --gold = teal accent). */
  --ink:        #1f2338;
  --ink-soft:   #474d66;
  --ink-mute:   #767c94;
  --paper:      #f5f8f8;
  --paper-2:    #e9f1f1;
  --paper-3:    #d9e8e8;
  --card:       #ffffff;

  --maroon:      #3a2d86;
  --maroon-deep: #241a5e;
  --maroon-2:    #3a2d8614;

  --gold:       #4c8b7c;
  --gold-soft:  #7caa9c;
  --gold-line:  #aed0c6;

  --line:       rgba(31, 35, 56, .13);
  --line-2:     rgba(31, 35, 56, .07);
  --line-gold:  rgba(112, 160, 147, .36);

  --shadow-sm:  0 1px 2px rgba(30,30,60,.06), 0 3px 10px rgba(30,30,60,.05);
  --shadow-md:  0 4px 14px rgba(30,30,70,.08), 0 18px 44px rgba(30,30,70,.10);
  --shadow-lg:  0 10px 30px rgba(30,30,70,.12), 0 40px 90px rgba(30,30,70,.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
::selection { background: var(--maroon); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.14; }
em, .it { font-style: italic; }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .62em;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--gold-soft); }

.lead {
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 400;
}
.muted { color: var(--ink-mute); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--maroon-deep); color: #eef5f5; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #f4faf9; }

.center { text-align: center; }
.section__head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section__head.center { margin-inline: auto; }
.section__head h2 { margin-top: .28em; }
.section__head p { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.5em;
  font-family: var(--sans);
  font-size: .86rem; font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--maroon); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--maroon-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #3c7264; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--maroon); color: var(--maroon); }
.btn--on-dark { border-color: rgba(255,255,255,.32); color: #f4faf9; }
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .9rem;
  color: var(--maroon);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: .85em; border-color: var(--maroon); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(245, 248, 248, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  padding-block: 12px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.is-hero-light:not(.is-solid) .brand__mark img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.34rem; letter-spacing: -.01em; color: var(--ink); }
.brand__sub {
  font-size: .58rem; font-weight: 600; letter-spacing: .27em;
  text-transform: uppercase; color: var(--maroon);
  margin-top: 4px;
}
.is-hero-light:not(.is-solid) .brand__name { color: #fff; }
.is-hero-light:not(.is-solid) .brand__sub { color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 13px;
  font-size: .82rem; font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.is-hero-light:not(.is-solid) .nav a { color: rgba(255,255,255,.82); }
.is-hero-light:not(.is-solid) .nav a:hover { color: #fff; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.is-hero-light:not(.is-solid) .header__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }

.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--maroon-deep);
  color: #eef5f5;
  display: flex; flex-direction: column;
  padding: 96px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.9rem; line-height: 1;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #eef5f5;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a span { font-family: var(--sans); font-size: .8rem; color: var(--gold-soft); }
.mobile-menu__foot { margin-top: auto; padding-top: 30px; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(48px, 7vw, 88px);
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22,17,60,.72) 0%, rgba(22,17,60,.42) 36%, rgba(22,17,60,.12) 62%, rgba(22,17,60,0) 84%),
    linear-gradient(180deg, rgba(20,16,54,.20) 0%, rgba(20,16,54,0) 32%, rgba(16,12,44,.50) 100%);
}
.hero__inner { position: relative; width: 100%; max-width: var(--wrap); margin-inline: auto; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 20px rgba(14,11,38,.45), 0 1px 3px rgba(14,11,38,.35); }
.hero h1 em { color: #eaf3ec; }
.hero .eyebrow--light { text-shadow: 0 1px 8px rgba(14,11,38,.5); }
.hero__sub {
  max-width: 52ch; margin-top: 1.4em;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,.92); line-height: 1.6;
  text-shadow: 0 1px 12px rgba(14,11,38,.5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 62px);
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--serif); font-weight: 380; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1; color: #fff; }
.hero__stats span { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-top: 9px; }

.line-mask { display: block; overflow: hidden; padding-bottom: .04em; }
.line-mask .line { display: block; transform: translateY(112%); animation: lineUp 1s var(--ease) forwards; }
.hero h1 .line-mask:nth-of-type(1) .line { animation-delay: .12s; }
.hero h1 .line-mask:nth-of-type(2) .line { animation-delay: .26s; }
@keyframes lineUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .line-mask .line { transform: none; animation: none; } }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl;
}
.hero__scroll .mouse {
  writing-mode: horizontal-tb;
  width: 20px; height: 32px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px;
  background: var(--gold-soft); border-radius: 2px; transform: translateX(-50%);
  animation: scrolldot 1.7s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0; transform:translate(-50%,-2px)} 40%{opacity:1} 80%,100%{opacity:0; transform:translate(-50%,10px)} }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--maroon); color: var(--paper); padding: 15px 0; border-block: 1px solid var(--maroon-deep); }
.marquee__track { display: flex; gap: 3.2rem; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-size: 1.25rem; display: inline-flex; align-items: center; gap: 3.2rem; color: rgba(255,255,255,.9); }
.marquee__track span::after { content: "✦"; color: var(--gold-soft); font-style: normal; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body { max-width: 540px; }
.split__body h2 { margin: .3em 0 .6em; }

.media { position: relative; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-3-4 { aspect-ratio: 3/4; }
.ratio-16-11 { aspect-ratio: 16/11; }
.ratio-1-1 { aspect-ratio: 1/1; }
.media--frame { box-shadow: var(--shadow-md); }
.media--frame::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.35);
  pointer-events: none; border-radius: 2px;
}

.badge-float {
  position: absolute; left: -22px; bottom: -22px;
  background: var(--card); color: var(--ink);
  padding: 20px 26px; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--gold);
}
.badge-float b { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--maroon); display: block; }
.badge-float span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat {
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 34px);
  text-align: center;
}
.stat b { font-family: var(--serif); font-weight: 380; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--maroon); display: block; }
.stat span { display: block; margin-top: 11px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Streams grid ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.card__icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon-2); color: var(--maroon);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.28rem; margin-bottom: .35em; }
.card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.card__meta { margin-top: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* stream list (compact) */
.streams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 5vw, 64px); }
.stream-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.stream-row .no { font-family: var(--serif); font-size: 1rem; color: var(--gold); width: 30px; flex: none; }
.stream-row .nm { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); flex: 1; }
.stream-row .ct { font-size: .8rem; color: var(--ink-mute); font-weight: 600; letter-spacing: .04em; }

/* ---------- Mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 20px 16px; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(16,14,44,.74));
}

/* ---------- Quote / message ---------- */
.quote-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.quote-block .portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: var(--shadow-md);
}
.quote-block .portrait img { width: 100%; height: 100%; object-fit: cover; }
.bigquote {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.34;
  color: var(--ink); letter-spacing: -.01em;
}
.bigquote em { color: var(--maroon); }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .5; color: var(--gold-line); display: block; height: 40px; }
.sig { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.sig__line { width: 34px; height: 1px; background: var(--gold); }
.sig b { font-family: var(--serif); font-size: 1.25rem; font-weight: 420; display: block; }
.sig span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); }

/* ---------- Monogram medallion (leadership) ---------- */
.medallion {
  width: 100%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a3ba6, var(--maroon-deep));
  display: grid; place-items: center;
  color: var(--gold-soft);
  font-family: var(--serif);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.05), var(--shadow-sm);
  position: relative;
}
.medallion::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  border: 1px solid rgba(129,186,189,.4);
}
.medallion span { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .02em; }

.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.leader {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.leader:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.leader .medallion { width: 96px; margin: 0 auto 20px; }
.leader h3 { font-size: 1.24rem; }
.leader .role { color: var(--maroon); font-weight: 600; font-size: .82rem; letter-spacing: .05em; margin-top: 5px; }
.leader .quals { font-size: .78rem; color: var(--ink-mute); margin-top: 4px; }
.leader p { font-size: .92rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Chairman feature */
.chairman { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.chairman__medal { position: relative; }
.chairman__medal .medallion { max-width: 340px; margin-inline: auto; }
.chairman__medal .ttl {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--gold); color: #fff; padding: 8px 20px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.awards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.awards li { list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border: 1px solid var(--line-gold); border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--ink-soft); background: var(--card);
}
.chip svg { width: 14px; height: 14px; color: var(--gold); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 6px; }
.tl-item {
  display: grid; grid-template-columns: 130px 1fr; gap: clamp(20px, 4vw, 54px);
  padding: 34px 0; border-top: 1px solid var(--line); position: relative;
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--maroon); line-height: 1; }
.tl-body h3 { font-size: 1.4rem; margin-bottom: .35em; }
.tl-body p { margin: 0; color: var(--ink-soft); }
.tl-tag { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 10px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: var(--card); padding: 34px 30px; }
.value .no { font-family: var(--serif); font-size: .9rem; color: var(--gold); letter-spacing: .1em; }
.value h3 { font-size: 1.3rem; margin: 14px 0 .4em; }
.value p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; padding: clamp(150px, 20vh, 230px) var(--gutter) clamp(58px, 8vw, 96px);
  color: #fff; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,20,72,.64), rgba(26,20,72,.52) 40%, rgba(20,15,58,.86)); }
.page-hero__inner { max-width: var(--wrap); margin-inline: auto; }
.page-hero h1 { color: #fff; max-width: 16ch; margin-top: .2em; }
.page-hero p { max-width: 56ch; margin-top: 1.1em; color: rgba(255,255,255,.85); font-size: clamp(1.02rem,1.4vw,1.2rem); }
.crumbs { font-size: .78rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--gold-soft); }

/* ---------- Prose ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); }
.prose h3 { margin: 1.6em 0 .5em; color: var(--ink); }
.pull {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px; margin: 30px 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink);
}

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--maroon-deep); color: #eef5f5;
  border-radius: 0;
  text-align: center;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% -10%, rgba(76,139,124,.24), transparent 70%);
}
.cta__inner { position: relative; max-width: 760px; margin-inline: auto; }
.cta h2 { color: #f4faf9; }
.cta p { color: rgba(220,234,234,.8); margin: 1em auto 0; max-width: 52ch; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.2em; }

/* ---------- Footer ---------- */
.footer { background: #17123a; color: rgba(220,234,234,.72); padding: clamp(56px,7vw,88px) 0 34px; }
.footer a { transition: color .25s var(--ease); }
.footer a:hover { color: var(--gold-soft); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #f4faf9; }
.footer .brand__sub { color: var(--gold-soft); }
.footer__blurb { margin-top: 20px; max-width: 34ch; font-size: .92rem; line-height: 1.6; }
.footer h4 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: .92rem; }
.footer__contact p { font-size: .92rem; margin: 0 0 10px; line-height: 1.55; }
.footer__contact b { color: #eef5f5; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; }
.socials a:hover { border-color: var(--gold-soft); background: rgba(76,139,124,.14); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .8rem; color: rgba(220,234,234,.5); }

/* ---------- Reveal animation (keyframe-based; visible by default, JS gates the hide) ---------- */
[data-reveal] { opacity: 1; }
.js-reveal [data-reveal] { opacity: 0; }
.js-reveal [data-reveal].is-in { animation: revealIn .85s var(--ease) both; }
[data-reveal-d="1"].is-in { animation-delay: .09s; }
[data-reveal-d="2"].is-in { animation-delay: .18s; }
[data-reveal-d="3"].is-in { animation-delay: .27s; }
[data-reveal-d="4"].is-in { animation-delay: .36s; }
@keyframes revealIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .line-mask .line { animation: none !important; transform: none !important; }
  [data-reveal] { opacity: 1 !important; }
  [data-reveal].is-in { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta .btn--ghost:not(.nav-toggle) { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-cards, .grid-cards--4, .leaders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .quote-block, .chairman { grid-template-columns: 1fr; }
  .chairman__medal .medallion { max-width: 240px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .streams { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .header__cta .btn--primary { display: none; }
  .site-header { padding-inline: 20px; }
  .brand__name { font-size: 1.14rem; }
  .brand__mark { width: 36px; height: 36px; font-size: 1.08rem; }
  .brand__sub { font-size: .54rem; letter-spacing: .2em; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid-cards, .grid-cards--4, .leaders, .mosaic { grid-template-columns: 1fr; }
  .mosaic .wide, .mosaic .tall { grid-column: auto; grid-row: auto; }
  .hero__stats { gap: 22px 34px; }
  .footer__top { grid-template-columns: 1fr; }
  .badge-float { left: 12px; bottom: 12px; padding: 14px 18px; }
}

/* ============================================================
   Real-imagery components (added for VEI real photos)
   ============================================================ */

/* Portrait avatars (management/directors) */
.avatar {
  border-radius: 50%; overflow: hidden;
  background: var(--paper-2);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--gold-line), var(--shadow-sm);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.leader .avatar { width: 122px; height: 122px; margin: 0 auto 20px; }

/* Accreditation strip */
.accred { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 0; margin: 0; }
.accred li { list-style: none; }
.accred .pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.accred .pill b { color: var(--maroon); font-weight: 700; }
.accred .pill svg { width: 16px; height: 16px; color: var(--gold); }

/* Achievements gallery */
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ach {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.ach:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-gold); }
.ach figure { margin: 0; aspect-ratio: 3/2; overflow: hidden; background: var(--paper-2); }
.ach figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ach:hover figure img { transform: scale(1.05); }
.ach__body { padding: 20px 22px 24px; }
.ach__body .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ach__body h3 { font-size: 1.16rem; margin: .45em 0 .3em; }
.ach__body p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* Chairman real portrait (management page) — landscape desk photo */
.chairman__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.chairman__photo img { width: 100%; display: block; aspect-ratio: 73/40; object-fit: cover; }
.chairman__photo .ttl {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--gold); color: #fff; padding: 8px 20px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* Home Chairman's message — landscape feature */
.chairman-msg { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.chairman-msg__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.chairman-msg__photo img { width: 100%; display: block; aspect-ratio: 73/40; object-fit: cover; }
.chairman-msg__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 46px 24px 18px;
  background: linear-gradient(transparent, rgba(20, 16, 52, .88));
  color: #fff;
}
.chairman-msg__photo figcaption b { font-family: var(--serif); font-size: 1.32rem; font-weight: 420; display: block; }
.chairman-msg__photo figcaption span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); }
.chairman-msg__body .quote-mark { margin-bottom: -6px; }
.chairman-msg__body .btn { margin-top: 26px; }
@media (max-width: 860px) { .chairman-msg { grid-template-columns: 1fr; } }

/* Director card with real photo */
.dir { display: flex; gap: 22px; align-items: center; }
.dir .avatar { width: 92px; height: 92px; flex: none; }
.dir h3 { font-size: 1.24rem; }
.dir .role { color: var(--maroon); font-weight: 600; font-size: .82rem; margin: 5px 0 8px; }
.dir p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Footer real logo */
.footer__logo { max-width: 210px; margin-bottom: 18px; opacity: .96; }

/* Home chairman-quote portrait: cap upscaling of the small headshot */
.quote-block .portrait { max-width: 300px; align-self: center; border: 4px solid #fff; outline: 1px solid var(--line); }

@media (max-width: 860px) {
  .ach-grid { grid-template-columns: 1fr; }
  .dir { gap: 16px; }
}
@media (max-width: 560px) {
  .chairman__photo .ttl { font-size: .64rem; padding: 7px 14px; }
}
