/* =========================================================
   The Konrad Educational System — main stylesheet
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-deep: #07152a;
  --navy-soft: #1a3358;
  --gold: #c9a24a;
  --gold-dark: #a8852f;
  --cream: #f7f3ea;
  --paper: #ffffff;
  --ink: #1d2433;
  --muted: #5d6677;
  --line: #e4ddcc;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
p { margin: 0 0 1.2em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.section { padding: 110px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #d9dfea; }
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--gold); }

.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--navy .lead { color: #b9c3d4; }

.rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 28px;
}
.section-head--center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #d9b563; }
.btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.section--navy .link-arrow { color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #aeb8c9;
  font-size: .78rem;
  letter-spacing: .06em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 20px;
}
.topbar a:hover { color: var(--gold); }
.topbar__links { display: flex; gap: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 74, .25);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.brand img { width: 46px; height: auto; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  position: relative;
  color: #e6ebf3;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: #fff; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 0;
}
.menu-toggle__bars { position: relative; width: 24px; height: 14px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-open .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 128px);
  min-height: calc(100svh - 128px);
  max-height: 960px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,42,.25) 0%, rgba(7,21,42,.35) 45%, rgba(7,21,42,.9) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 110px;
  padding-top: 120px;
  max-width: 880px;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p { font-size: 1.2rem; color: #dbe2ee; max-width: 620px; margin-bottom: 36px; }
.hero .eyebrow { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 40px;
  writing-mode: vertical-rl;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #cfd7e4;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 60px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Inner page hero */
.page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy) center/cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,42,.35), rgba(7,21,42,.88));
}
.page-hero .container { position: relative; z-index: 2; padding-bottom: 70px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumb { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #b9c3d4; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Intro / welcome ---------- */
.intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream); }
.intro__media::before {
  content: "";
  position: absolute;
  inset: 30px -30px -30px 30px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.intro__quote {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 30px 0;
}
.signature { display: flex; flex-direction: column; margin-bottom: 30px; }
.signature strong { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.signature span { font-size: .85rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stat { padding: 50px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #c7d0de; }

/* ---------- Pillar tiles (Harrow-style image tiles) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.tile {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,42,0) 30%, rgba(7,21,42,.92) 100%);
  transition: background .5s var(--ease);
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(7,21,42,.3) 0%, rgba(7,21,42,.95) 100%); }
.tile__body { position: relative; z-index: 2; padding: 36px 30px; }
.tile__num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.tile h3 { color: #fff; margin: 8px 0 10px; font-size: 2rem; }
.tile p {
  font-size: .95rem;
  color: #d3dae6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.tile:hover p, .tile:focus-within p { max-height: 160px; opacity: 1; margin-bottom: 16px; }
.tile .link-arrow { color: #fff; }

/* ---------- Schools / divisions ---------- */
.divisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,31,58,.12); }
.card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.card__meta { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.split__media { background: var(--navy) center/cover no-repeat; min-height: 380px; }
.split__body {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split--reverse .split__media { order: 2; }
.checklist { list-style: none; padding: 0; margin: 0 0 34px; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .6em;
  width: 16px; height: 1px; background: var(--gold);
}

/* ---------- Quote band ---------- */
.quote-band {
  position: relative;
  padding: 140px 0;
  text-align: center;
  color: #fff;
  background: var(--navy) center/cover fixed no-repeat;
}
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(7,21,42,.82); }
.quote-band .container { position: relative; max-width: 900px; }
.quote-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-style: italic;
  line-height: 1.35;
}
.quote-band blockquote::before {
  content: "“";
  display: block;
  font-size: 5rem;
  line-height: .6;
  color: var(--gold);
  margin-bottom: 20px;
}
.quote-band cite { display: block; margin-top: 30px; font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ---------- News & events ---------- */
.news-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-grid .card:first-child { grid-column: 1 / -1; }
.news-grid .card:first-child .card__media { aspect-ratio: 21 / 9; }
.events { border-top: 2px solid var(--navy); }
.events h3 { margin: 24px 0; }
.event {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.event__date {
  text-align: center;
  border: 1px solid var(--gold);
  padding: 8px 0;
  line-height: 1;
  align-self: start;
}
.event__date strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); }
.event__date span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); }
.event h4 { font-size: 1.25rem; margin: 0 0 4px; }
.event p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 70px 0;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin: 0; color: var(--navy-deep); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta p { margin: 6px 0 0; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fabbf; font-size: .92rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding: 90px 0 60px;
}
.footer-brand img { width: 70px; margin-bottom: 20px; }
.footer-brand .brand__name { color: #fff; font-size: 1.6rem; display: block; margin-bottom: 16px; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: background .3s, border-color .3s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 26px 0;
  font-size: .8rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Inner-page components ---------- */
.prose { max-width: 780px; }
.prose p { color: var(--muted); }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value {
  padding: 40px 30px;
  border-top: 2px solid var(--gold);
  background: var(--paper);
}
.value__icon { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 90px; top: 0; bottom: 0; width: 1px; background: rgba(201,162,74,.4); }
.timeline__item { display: grid; grid-template-columns: 90px 1fr; gap: 40px; padding: 0 0 44px; position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: 85px; top: 10px;
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold);
}
.timeline__year { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.timeline__item h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.timeline__item p { margin: 0; color: #b9c3d4; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.person { text-align: center; }
.person__avatar {
  width: 150px; height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.6rem;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 1px var(--gold);
}
.person h4 { font-size: 1.35rem; margin-bottom: 2px; }
.person span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 40px 30px; border-left: 1px solid var(--line); counter-increment: step; }
.step:first-child { border-left: 0; }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.fee-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .98rem; }
.fee-table th, .fee-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.fee-table th {
  background: var(--navy); color: #fff;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
}
.fee-table tbody tr:hover { background: var(--cream); }
.fee-table td:first-child { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Forms */
.form-card { background: var(--paper); padding: 50px; border-top: 3px solid var(--gold); box-shadow: 0 20px 50px rgba(11,31,58,.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: #eef6ee;
  border-left: 3px solid #3c8a4a;
  color: #245a2f;
}
.form-success.is-visible { display: block; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: start; }
.contact-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.contact-item__icon {
  flex: 0 0 50px; height: 50px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  border-radius: 50%;
}
.contact-item__icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-item h4 { font-size: 1.25rem; margin: 0 0 4px; }
.contact-item p { margin: 0; color: var(--muted); }
.map { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.3); }

.campus-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.campus { padding: 34px; background: var(--paper); border: 1px solid var(--line); }
.campus h4 { font-size: 1.4rem; }
.campus p { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }

/* WhatsApp floating button */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: transform .3s var(--ease);
}
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 440px; }
  .tile p { max-height: 160px; opacity: 1; margin-bottom: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split__body { padding: 70px 50px; }
  .values, .people, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav__list {
    position: fixed;
    inset: 128px 0 0 0;
    flex-direction: column;
    gap: 0;
    padding: 30px 24px;
    background: var(--navy);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .menu-open .nav__list { transform: none; }
  .nav__list li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__list a {
    display: block;
    padding: 20px 0;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .nav__list a::after { display: none; }
  .nav .btn { display: none; }

  .intro, .news-layout, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .intro__media { max-width: 520px; }
  .divisions, .campus-list { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .quote-band { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .topbar__hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .site-header .container { min-height: 76px; }
  .nav__list { inset: 116px 0 0 0; }
  .brand img { width: 38px; }
  .brand__name { font-size: 1.15rem; }
  .brand__name small { font-size: .55rem; letter-spacing: .2em; }
  .hero { min-height: calc(100svh - 116px); }
  .hero__content { padding-bottom: 80px; }
  .hero__scroll { display: none; }
  .tiles, .divisions, .news-grid, .values, .people, .steps, .campus-list, .form-grid { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .intro__media::before { inset: 16px -12px -16px 16px; }
  .split__body { padding: 60px 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; }
  .form-card { padding: 30px 20px; }
  .timeline::before { left: 8px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .timeline__item::before { left: 3px; }
  .page-hero { min-height: 360px; }
}
