/* ==========================================================================
   Adedokun International Schools — site stylesheet (single file, no framework)
   ========================================================================== */

:root {
  --green: #0e5a41;
  --green-dark: #0a4431;
  --green-900: #072f22;
  --green-50: #e7f0ec;
  --sun: #ffc83d;
  --sun-dark: #e8ac12;
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --white: #ffffff;
  --ink: #0c1410;
  --muted: #56635b;
  --line: rgba(12, 20, 16, .12);
  --line-light: rgba(255, 255, 255, .16);
  --danger: #b42318;
  --ok: #067647;

  --font-ui: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 20, 16, .06), 0 2px 8px rgba(12, 20, 16, .05);
  --shadow: 0 10px 30px -12px rgba(12, 20, 16, .25);
  --shadow-lg: 0 30px 60px -20px rgba(7, 47, 34, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 84px;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
img.is-broken { display: none !important; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
.accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--green); }
.on-dark .accent, .section--green .accent, .page-hero .accent, .hero .accent, .poster .accent, .site-footer .accent { color: var(--sun); }
.cta--yellow .accent { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--green { background: var(--green-dark); color: #fff; }
.section--green a { color: var(--sun); }
.section + .section--paper-continue { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 200, 61, .25); }
.section--green .eyebrow, .on-dark .eyebrow { color: var(--sun); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section--green .lead, .on-dark .lead { color: rgba(255, 255, 255, .78); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { max-width: 760px; }
.section-head h2 { margin-bottom: .25em; }
.section-head .lead { margin: 0; }
.text-center { text-align: center; }
.text-center .section-head, .section-head--center { justify-content: center; text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

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

.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem/1.1 var(--font-ui);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); box-shadow: var(--shadow); background: var(--btn-hover, var(--green-dark)); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); --btn-hover: #ffd466; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-hover: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); --btn-hover: rgba(12, 20, 16, .04); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); --btn-hover: rgba(255, 255, 255, .1); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-hover: #1f2b25; }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

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

.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none;
  transition: transform .35s var(--ease);
}
/* Full viewport width so the whole menu fits; the pill keeps a small edge gutter. */
.site-header .container { pointer-events: auto; max-width: none; padding: 0 clamp(10px, 1.6vw, 24px); }
.nav-pill {
  display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; box-shadow: 0 8px 30px -10px rgba(7, 47, 34, .35);
  transition: box-shadow .3s, background-color .3s;
}
.is-scrolled .nav-pill { background: rgba(255, 255, 255, .97); box-shadow: 0 12px 34px -12px rgba(7, 47, 34, .45); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__tag { font-family: var(--font-serif); font-style: italic; font-size: .9rem; color: var(--green); white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px;
  font: 600 .95rem var(--font-ui); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-expanded="true"] { background: var(--green-50); color: var(--green-dark); }
.nav-link.is-active { color: var(--green); }
.nav-link.is-active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sun); margin-left: 2px; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item--portal > .nav-link { border: 1px solid var(--line); }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; min-width: 230px; padding: 8px; list-style: none; margin: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover > .dropdown, .nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper); color: var(--green-dark); }
.dropdown a[aria-current="page"] { color: var(--green); font-weight: 700; }
.dropdown .ext { width: 14px; height: 14px; opacity: .5; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .brand__tag { display: none; }
  .nav-link { padding: 10px 10px; font-size: .92rem; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn--apply { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 110px var(--gutter) 40px; overflow-y: auto;
    background: var(--green-dark); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .nav-item { border-bottom: 1px solid var(--line-light); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.35rem; color: #fff; border-radius: 0; }
  .nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-expanded="true"] { background: none; color: var(--sun); }
  .nav-item--portal > .nav-link { border: 0; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; display: none; background: transparent; box-shadow: none; border: 0; padding: 0 0 14px; min-width: 0; }
  .nav-item:hover > .dropdown { transform: none; }
  .nav-item.is-open > .dropdown { display: block; transform: none; }
  .dropdown a { color: rgba(255, 255, 255, .85); font-size: 1.05rem; padding: 10px 8px; }
  .dropdown a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .mobile-apply { display: block !important; margin: 28px auto 0; max-width: 640px; }
  .nav-open { overflow: hidden; }
}
.mobile-apply { display: none; }
@media (max-width: 520px) {
  .brand__name { font-size: .88rem; }
  .brand img { width: 40px; height: 40px; }
  .nav-pill { height: 62px; }
  .nav-actions .btn--portal { display: none; }
}

/* ---------------------------------------------------------------- hero slider */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--green-900); overflow: hidden; isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
.hero__slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes kenburns-alt { from { transform: scale(1.14) translate(1.5%, 0); } to { transform: scale(1.03) translate(0, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 47, 34, .55) 0%, rgba(7, 47, 34, 0) 28%),
    linear-gradient(0deg, rgba(7, 30, 22, .92) 0%, rgba(7, 30, 22, .55) 38%, rgba(7, 30, 22, .1) 70%),
    linear-gradient(90deg, rgba(7, 30, 22, .55) 0%, rgba(7, 30, 22, 0) 60%);
}
.hero__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(96px, 12vh, 140px); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .9rem; font-weight: 600; color: #fff; text-decoration: none;
}
.hero__pill:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.hero__pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 200, 61, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 200, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 200, 61, 0); } }
.hero__captions { position: relative; min-height: 15.5em; max-width: 880px; }
.hero__caption { position: absolute; inset: auto 0 0 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s; }
.hero__caption.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.hero__caption .eyebrow { color: var(--sun); }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; margin-bottom: .3em; text-wrap: balance; }
.hero__text { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 56ch; }
.hero__controls { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero__arrows { display: flex; gap: 8px; }
.icon-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, transform .2s, border-color .2s;
}
.icon-btn:hover { background: #fff; color: var(--ink); transform: scale(1.05); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--dark { border-color: var(--line); background: #fff; color: var(--ink); }
.icon-btn--dark:hover { background: var(--green); color: #fff; border-color: var(--green); }
.hero__dots { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero__dots button { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background-color .3s; }
.hero__dots button[aria-selected="true"] { width: 54px; background: var(--sun); }
.hero__count { font-variant-numeric: tabular-nums; font-size: .95rem; color: rgba(255, 255, 255, .75); margin-left: auto; }
.hero__count strong { color: #fff; font-size: 1.3rem; }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--sun); }
.hero__progress span.is-running { animation: progress var(--hero-interval, 6.5s) linear forwards; }
.hero.is-paused .hero__progress span { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 34px; writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-decoration: none; display: none; }
@media (min-width: 1100px) { .hero__scroll { display: block; } }
@media (max-width: 640px) {
  .hero__captions { min-height: 21em; }
  .hero__count { display: none; }
  .hero__controls { gap: 12px; }
}

/* ---------------------------------------------------------------- page hero (inner pages) */

.page-hero { position: relative; color: #fff; background: var(--green-dark); padding: 170px 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; animation: kenburns 18s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 68, 49, .96) 0%, rgba(10, 68, 49, .75) 55%, rgba(10, 68, 49, .35) 100%); }
.page-hero h1 { max-width: 18ch; text-wrap: balance; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.page-hero .eyebrow { color: var(--sun); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sun); }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------------------------------------------------------------- generic blocks */

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 4px solid var(--sun); font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; line-height: 1.3; }
.prose ul li::marker { color: var(--green); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose a { font-weight: 600; }
.prose > :last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--image-left { grid-template-columns: .95fr 1.05fr; }
  .split--image-left .split__media { order: -1; }
}
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 55%; background: var(--sun); border-radius: var(--radius-lg); z-index: -1; }
.split--image-left .split__media::before { inset: auto auto -14px -14px; }
.split__media { z-index: 0; }
.split__badge { position: absolute; left: -10px; bottom: 28px; background: var(--green); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); font-weight: 700; line-height: 1.2; }
.split__badge small { display: block; font-weight: 500; opacity: .8; }

.figure-wide { margin: 0; }
.figure-wide img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.figure-wide figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; text-align: center; }

/* cards: grid */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { margin: -28px -28px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card__num { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--green); margin-bottom: 14px; }
.card .stretched::after { content: ""; position: absolute; inset: 0; }
.section--green .card { background: rgba(255, 255, 255, .05); border-color: var(--line-light); color: #fff; }
.section--green .card p { color: rgba(255, 255, 255, .75); }

/* cards: features (check list) */
.feature-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.feature__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--green); color: var(--sun); display: grid; place-items: center; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; }

/* cards: steps (oversized numerals) */
.steps { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step__num {
  display: block; font-weight: 800; font-size: clamp(5rem, 11vw, 9rem); line-height: .85; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--green); margin-bottom: 18px; transition: color .4s, -webkit-text-stroke-color .4s;
}
.step:hover .step__num { color: var(--sun); -webkit-text-stroke-color: var(--sun); }
.section--green .step__num { -webkit-text-stroke-color: var(--sun); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.step p { color: var(--muted); }
.section--green .step p { color: rgba(255, 255, 255, .75); }
.step::after { content: ""; position: absolute; top: 40px; right: -24px; width: 48px; height: 2px; background: var(--sun); display: none; }
@media (min-width: 900px) { .step:not(:last-child)::after { display: block; } }

/* cards: chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; transition: background-color .2s, color .2s, transform .2s; }
.chips li:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.section--green .chips li { background: rgba(255, 255, 255, .06); border-color: var(--line-light); }
.section--green .chips li:hover { background: var(--sun); color: var(--ink); }

/* cards: split (two big statements) */
.statement-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.statement { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--green-dark); color: #fff; }
.statement:nth-child(2) { background: var(--sun); color: var(--ink); }
.statement h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.statement p { font-size: 1.12rem; margin: 0; opacity: .9; }

/* cards: links */
.link-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.link-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.link-card:hover { background: var(--green); color: #fff; transform: translateY(-4px); }
.link-card h3 { margin-bottom: .3em; }
.link-card p { color: var(--muted); margin: 0; transition: color .3s; }
.link-card:hover p { color: rgba(255, 255, 255, .8); }
.link-card .arrow { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: background-color .3s, transform .3s; color: var(--ink); }
.link-card:hover .arrow { background: var(--sun); transform: rotate(-45deg); }
.link-card .arrow svg { width: 18px; height: 18px; }

/* CTA band */
.cta { padding: clamp(56px, 8vw, 104px) 0; position: relative; overflow: hidden; }
.cta--yellow { background: var(--sun); color: var(--ink); }
.cta--green { background: var(--green); color: #fff; }
.cta__inner { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.4fr 1fr; } .cta__actions { justify-content: flex-end; } }
.cta h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); margin: 0 0 .25em; }
.cta p { font-size: 1.15rem; margin: 0; max-width: 54ch; opacity: .85; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta--yellow::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .22); }
.cta--green::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 200, 61, .12); }

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

.stats { background: var(--green-dark); color: #fff; padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; }
.stat { padding: 18px clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; }
.stat__value { display: block; font-weight: 800; font-size: clamp(3rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.04em; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; color: rgba(255, 255, 255, .8); max-width: 24ch; }
@media (max-width: 560px) { .stat { border-left: 0; border-top: 1px solid var(--line-light); } .stat:first-child { border-top: 0; } }

/* ---------------------------------------------------------------- programs (hover rows) */

.program-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.program-row { border-bottom: 1px solid var(--line); }
.program-row a {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center;
  padding: clamp(22px, 3vw, 34px) 8px; color: var(--ink); text-decoration: none; transition: padding .4s var(--ease), color .3s;
}
.program-row a::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; border-radius: 4px; }
.program-row { position: relative; z-index: 0; }
.program-row a:hover, .program-row a:focus-visible { color: #fff; padding-left: 24px; padding-right: 24px; }
.program-row a:hover::before, .program-row a:focus-visible::before { transform: scaleY(1); }
.program-row__num { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--green); transition: color .3s; }
.program-row a:hover .program-row__num { color: var(--sun); }
.program-row__title { font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.program-row__meta { display: block; font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; transition: color .3s; }
.program-row__summary { display: block; font-size: 1rem; color: var(--muted); max-width: 60ch; margin-top: 6px; transition: color .3s; }
.program-row a:hover .program-row__meta, .program-row a:hover .program-row__summary { color: rgba(255, 255, 255, .8); }
.program-row__img { width: 180px; height: 120px; border-radius: 14px; overflow: hidden; opacity: .9; transform: rotate(-3deg) scale(.92); transition: transform .45s var(--ease), opacity .3s; box-shadow: var(--shadow); background: var(--paper-2); }
.program-row__img img { width: 100%; height: 100%; object-fit: cover; }
.program-row a:hover .program-row__img { opacity: 1; transform: rotate(2deg) scale(1.04); }
@media (max-width: 700px) {
  .program-row a { grid-template-columns: 36px 1fr; }
  .program-row__img { display: none; }
}

/* ---------------------------------------------------------------- campus carousel */

.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px var(--gutter) 24px;
  margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; gap: 8px; }
.campus-card { scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-dark); color: #fff; min-height: 460px; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.campus-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.campus-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 30, 22, .95) 0%, rgba(7, 30, 22, .2) 60%, rgba(7, 30, 22, 0) 100%); }
.campus-card:hover img { transform: scale(1.06); }
.campus-card__body { padding: 28px; width: 100%; }
.campus-card__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.campus-card h3 { font-size: 1.8rem; margin-bottom: .2em; color: #fff; }
.campus-card p { color: rgba(255, 255, 255, .8); margin: 0 0 14px; font-size: .98rem; }
.campus-card .link-arrow { color: var(--sun); }
.campus-card:hover { color: #fff; }

.campus-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.campus-tile { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.campus-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.campus-tile__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.campus-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.campus-tile__body { padding: 28px; }
.campus-tile h3 { font-size: 1.7rem; }
.meta-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.meta-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.meta-list svg { width: 18px; height: 18px; color: var(--green); margin-top: 4px; }
.meta-list a { color: inherit; }

/* ---------------------------------------------------------------- admission poster banner */

.poster { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green); color: #fff; isolation: isolate; }
.poster__bg { position: absolute; inset: 0; z-index: -2; }
.poster__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: grayscale(.3) blur(1px); transform: scale(1.1); }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 20%, rgba(255, 200, 61, .35), transparent 45%), linear-gradient(120deg, rgba(10, 68, 49, .96), rgba(14, 90, 65, .82)); }
.poster__inner { display: grid; gap: 28px; padding: clamp(32px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .poster__inner { grid-template-columns: 1.35fr 1fr; } }
.poster__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.poster h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; margin-bottom: .3em; }
.poster__session { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--sun); font-size: 1.1em; }
.poster p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 50ch; }
.poster__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.poster__list li { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); font-weight: 600; }
.poster__list svg { width: 22px; height: 22px; color: var(--sun); flex: none; }
.poster__list--compact { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; margin: 22px 0 26px; }
.poster__list--compact li { padding: 10px 14px; border-radius: 12px; font-size: .95rem; }
.poster__photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); border: 6px solid rgba(255, 255, 255, .12); }
.poster__photo img { width: 100%; height: 100%; object-fit: cover; }
.poster__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: .85rem; }
.poster__photo figcaption svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .poster--photo .poster__inner { grid-template-columns: 1.4fr 1fr; } }
@media (max-width: 899px) { .poster__photo { aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------------------- testimonials */

.quote-rotator { position: relative; max-width: 1000px; margin: 0 auto; text-align: center; }
.quote-rotator__mark { font-family: var(--font-serif); font-size: clamp(6rem, 14vw, 11rem); line-height: .6; color: var(--sun); display: block; height: .5em; }
.quote { display: none; }
.quote.is-active { display: block; animation: quoteIn .8s var(--ease); }
@keyframes quoteIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quote blockquote { margin: 0 0 28px; font-family: var(--font-serif); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-weight: 700; display: block; }
.quote__role { color: var(--muted); font-size: .92rem; }
.quote-rotator__nav { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.quote-rotator__nav button { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font: 600 .85rem var(--font-ui); cursor: pointer; color: var(--muted); transition: all .2s; }
.quote-rotator__nav button[aria-selected="true"] { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------------------------------------------------------------- facilities (tall cards) */

.tall-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tall-card { position: relative; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--green-dark); }
.tall-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tall-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 30, 22, .92) 0%, rgba(7, 30, 22, .1) 55%); transition: background-color .4s; }
.tall-card:hover img { transform: scale(1.07); }
.tall-card__body { padding: 30px; }
.tall-card__num { font-family: var(--font-serif); font-style: italic; color: var(--sun); font-size: 1.2rem; }
.tall-card h3 { font-size: 1.8rem; margin: .2em 0 .3em; color: #fff; }
.tall-card p { margin: 0; color: rgba(255, 255, 255, .82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.tall-card:hover p, .tall-card:focus-within p { max-height: 8em; opacity: 1; }
@media (hover: none) { .tall-card p { max-height: none; opacity: 1; } }

/* ---------------------------------------------------------------- news + events */

.news-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); }
.news-card h3 { font-size: 1.3rem; margin: 0; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { color: var(--muted); margin: 0; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-dark); font-size: .78rem; font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
a.tag:hover { background: var(--green); color: #fff; }
.tag.is-active { background: var(--green); color: #fff; }
.tag--sun { background: var(--sun); color: var(--ink); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tag-filter .tag { padding: 8px 14px; font-size: .88rem; }

.article { max-width: 780px; margin: 0 auto; }
.article__img { margin: 0 0 36px; }
.article__img img { width: 100%; border-radius: var(--radius-lg); }
.article__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.article .prose { font-size: 1.1rem; max-width: none; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }

.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event__date { text-align: center; border-radius: 16px; background: var(--green); color: #fff; padding: 12px 6px; line-height: 1; }
.event__day { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; }
.event__month { display: block; margin-top: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.event h3 { margin: 0 0 6px; font-size: 1.3rem; }
.event h3 a { color: var(--ink); text-decoration: none; }
.event h3 a::after { content: ""; position: absolute; inset: 0; }
.event p { margin: 0; color: var(--muted); }
.event__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.event--past { opacity: .7; }

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

.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px;
  background: none; border: 0; text-align: left; font: 600 1.15rem/1.35 var(--font-ui); color: var(--ink); cursor: pointer;
}
.accordion__trigger:hover { color: var(--green); }
.accordion__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s; }
.accordion__icon svg { width: 16px; height: 16px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--sun); }
.accordion__panel { overflow: hidden; height: 0; transition: height .35s var(--ease); }
.accordion__panel[hidden] { display: block; }
.no-js .accordion__panel, .accordion__panel.is-open { height: auto; }
.accordion__content { padding: 0 52px 24px 4px; color: var(--muted); }

/* ---------------------------------------------------------------- fees */

.fee-campus + .fee-campus { margin-top: 48px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fee-table caption { text-align: left; padding: 18px 22px; font-weight: 700; font-size: 1.15rem; background: var(--green); color: #fff; }
.fee-table th, .fee-table td { padding: 14px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.fee-table tbody tr:hover { background: #fbfaf6; }
.fee-table .section-row th { background: var(--green-50); color: var(--green-dark); font-size: .95rem; }
.fee-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.on-request { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: .82rem; font-weight: 600; }

/* ---------------------------------------------------------------- gallery + lightbox */

.album-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.album-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-dark); color: #fff; aspect-ratio: 4 / 3.4; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.album-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.album-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 30, 22, .9), rgba(7, 30, 22, 0) 60%); }
.album-card:hover img { transform: scale(1.06); }
.album-card__body { padding: 24px; }
.album-card h3 { color: #fff; margin: 0 0 4px; font-size: 1.5rem; }
.album-card span { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.album-card:hover { color: #fff; }
.photo-grid { columns: 3 280px; column-gap: 16px; }
.photo-grid a { display: block; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; background: var(--paper-2); position: relative; }
.photo-grid img { width: 100%; transition: transform .6s var(--ease); }
.photo-grid a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(5, 12, 9, .94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; border-radius: 12px; }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 26px; left: 24px; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------------------------------------------------------------- people + achievements */

.people { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.person { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.person__photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--green), var(--green-dark)); display: grid; place-items: center; color: var(--sun); font-weight: 800; font-size: 3rem; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 22px; }
.person h3 { font-size: 1.2rem; margin-bottom: 4px; }
.person__role { color: var(--green); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }
.people-group + .people-group { margin-top: 48px; }

.trophies { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.trophy { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.trophy:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trophy__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.trophy__icon svg { width: 24px; height: 24px; }
.trophy h3 { font-size: 1.05rem; margin: 2px 0 6px; line-height: 1.3; }
.trophy__meta { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------------------------------------------------------------- jobs */

.job-list { display: grid; gap: 14px; }
.job { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.job h3 { margin: 0 0 6px; }
.job h3 a { color: var(--ink); text-decoration: none; }
.job h3 a::after { content: ""; position: absolute; inset: 0; }
.job p { margin: 0; color: var(--muted); }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.empty { padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------------------------------------------------------------- forms */

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="search"], .field input[type="file"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfaf7;
  font: 400 1rem var(--font-ui); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230c1410' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 90, 65, .15); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span { display: inline-block; padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; background: #fbfaf7; transition: all .2s; }
.radio-pill input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.alert--success { background: #e7f6ee; color: var(--ok); border: 1px solid #b7e4c7; }
.alert--error { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bc; }
.alert--info { background: var(--green-50); color: var(--green-dark); border: 1px solid #c9ddd4; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }

.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-card__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--green); color: var(--sun); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: var(--green); }
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); background: var(--paper-2); }
.campus-contacts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.campus-contact { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.campus-contact h3 { font-size: 1.15rem; }
.campus-contact p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }

.thanks { text-align: center; max-width: 680px; margin: 0 auto; }
.thanks__icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; background: var(--sun); color: var(--ink); display: grid; place-items: center; animation: pop .6s var(--ease); }
.thanks__icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------------------------------------------------------------- search, pagination, 404 */

.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form input { flex: 1; }
.search-results { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.search-result { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.search-result h3 { margin: 6px 0; font-size: 1.2rem; }
.search-result p { margin: 0; color: var(--muted); }
.search-result mark { background: rgba(255, 200, 61, .5); padding: 0 2px; }

.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 40px 0 0; justify-content: center; }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination a.is-current { background: var(--green); color: #fff; border-color: var(--green); }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; background: var(--green-dark); color: #fff; position: relative; overflow: hidden; }
.error-page__code { font-weight: 800; font-size: clamp(8rem, 26vw, 18rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--sun); margin: 0 0 24px; }
.error-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.error-page p { color: rgba(255, 255, 255, .8); max-width: 50ch; margin: 0 auto 1em; }
.error-page .btn-row { justify-content: center; }
.error-page .search-form { margin: 28px auto 0; }

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

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: clamp(64px, 8vw, 104px) 0 0; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1fr 1.2fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__tag { display: block; color: var(--sun); }
.footer-brand p { max-width: 42ch; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 0 0 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: 400 1rem var(--font-ui); }
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter input:focus { outline: none; border-color: var(--sun); }
.footer-wordmark { font-weight: 800; font-size: clamp(4rem, 17vw, 15.5rem); line-height: .8; letter-spacing: -.05em; text-align: center; color: rgba(255, 255, 255, .055); margin: clamp(40px, 6vw, 72px) 0 0; user-select: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; position: relative; z-index: 1; margin-top: -1.5em; background: var(--ink); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }

/* ---------------------------------------------------------------- WhatsApp + assistant */

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); text-decoration: none; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab--whatsapp { background: #25d366; color: #fff; }
.fab--whatsapp:hover { color: #fff; }
.fab--assistant { background: var(--green); color: var(--sun); position: relative; }
.fab--assistant .fab__badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); border: 3px solid var(--paper); }
.assistant {
  position: fixed; right: 18px; bottom: 166px; z-index: 310; width: min(380px, calc(100vw - 36px)); max-height: min(600px, calc(100vh - 200px));
  display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .4); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.assistant.is-open { opacity: 1; visibility: visible; transform: none; }
.assistant__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--green-dark); color: #fff; }
.assistant__head .avatar { width: 40px; height: 40px; font-size: .9rem; background: var(--sun); color: var(--ink); }
.assistant__head strong { display: block; }
.assistant__head small { color: rgba(255, 255, 255, .7); }
.assistant__close { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.assistant__close:hover { background: rgba(255, 255, 255, .1); }
.assistant__close svg { width: 18px; height: 18px; }
.assistant__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); min-height: 200px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.45; animation: quoteIn .3s var(--ease); }
.msg--bot { background: #fff; border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg--user { background: var(--green); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { font-weight: 600; }
.msg--typing { color: var(--muted); font-style: italic; }
.assistant__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: #fff; }
.assistant__quick button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 12px; font: 600 .82rem var(--font-ui); cursor: pointer; color: var(--green-dark); }
.assistant__quick button:hover { background: var(--green); color: #fff; border-color: var(--green); }
.assistant__form { display: flex; gap: 8px; padding: 12px 14px 14px; background: #fff; }
.assistant__form input { flex: 1; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 16px; font: 400 .95rem var(--font-ui); }
.assistant__form input:focus { outline: none; border-color: var(--green); }
.assistant__form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sun); cursor: pointer; display: grid; place-items: center; }
.assistant__form button svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .assistant { right: 12px; bottom: 150px; } .float-actions { right: 12px; bottom: 12px; } .fab { width: 54px; height: 54px; } }

/* ---------------------------------------------------------------- campus detail */

.detail-grid { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 980px) { .detail-grid { grid-template-columns: 1.4fr .9fr; align-items: start; } .detail-aside { position: sticky; top: 110px; } }
.detail-aside .contact-card { margin-bottom: 14px; }
.lead-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16 / 9; background: var(--paper-2); }
.lead-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- reveal animations */

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__slide.is-active img, .page-hero__bg img { animation: none; }
}

/* ---------------------------------------------------------------- print */

@media print {
  :root { --section: 24px; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .site-header, .float-actions, .assistant, .hero__controls, .hero__progress, .carousel__nav, .newsletter, .footer-wordmark, .cta__actions, .btn-row, .lightbox, .share, .skip-link, form { display: none !important; }
  .hero, .page-hero { min-height: 0; padding: 24px 0; background: #fff !important; color: #000; }
  .hero::after, .page-hero::after, .page-hero__bg, .hero__slides { display: none; }
  .hero__caption { position: static; opacity: 1; visibility: visible; transform: none; }
  .hero__caption:not(.is-active) { display: none; }
  .section--green, .stats, .cta, .poster, .site-footer, .statement { background: #fff !important; color: #000 !important; }
  .accent, .stat__value { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .accordion__panel { height: auto !important; }
  .card, .news-card, .event, .trophy { break-inside: avoid; box-shadow: none; }
}

/* ---------------------------------------------------------------- toast (flash outside a form) */
.toast-wrap { position: fixed; top: 96px; left: 50%; transform: translateX(-50%); z-index: 150; max-width: 560px; animation: quoteIn .4s var(--ease); }
.toast-wrap .alert { box-shadow: var(--shadow-lg); margin-bottom: 8px; }
.toast-wrap.is-hiding { opacity: 0; transition: opacity .4s; }
