/* ==========================================================================
   Perseverance College — website stylesheet
   Palette drawn from the college crest: deep navy, crimson and gold.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
}

/* ---------- design tokens ---------- */
:root {
  --navy-950: #061426;
  --navy-900: #0a1c33;
  --navy-800: #102947;
  --navy-700: #17365c;
  --navy-600: #24507f;

  --red-700: #8c1923;
  --red-600: #a71f2b;
  --red-500: #bb2431;

  --gold-600: #a9853f;
  --gold-700: #8a6a2a;
  --gold-500: #c3a15b;
  --gold-400: #d8bc7f;
  --gold-200: #efe3c8;

  --cream-50: #fcfaf5;
  --cream-100: #f6f1e7;
  --cream-200: #ede4d5;
  --cream-300: #ded1ba;

  --ink-900: #182230;
  --ink-700: #3a4657;
  --ink-600: #4e5a6a;
  --ink-500: #68727f;

  --line: rgba(24, 34, 48, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1220px;
  --gutter: clamp(20px, 4.5vw, 56px);

  --shadow-sm: 0 2px 10px rgba(9, 24, 42, 0.06);
  --shadow-md: 0 24px 55px -32px rgba(9, 24, 42, 0.38);
  --shadow-lg: 0 45px 100px -50px rgba(9, 24, 42, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

img,
svg { display: block; }

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
}

ul, ol { margin: 0; }

::selection {
  background: var(--gold-400);
  color: var(--navy-950);
}

:focus-visible {
  outline: 2px solid var(--red-600);
  outline-offset: 3px;
}

.hero :focus-visible,
.section--achievements :focus-visible,
.philosophy :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-400);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--navy-950);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus { transform: none; }

/* ---------- layout utilities ---------- */
.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  scroll-margin-top: 96px;
}

.section-title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-wrap: balance;
}

.section-title em {
  font-style: italic;
  color: var(--gold-600);
}

.lead {
  max-width: 64ch;
  margin: 0 0 1.15rem;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.75;
  color: var(--ink-700);
}

.section-head { max-width: 760px; }

.section-head--center {
  max-width: 790px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.6rem);
  text-align: center;
}

.section-head--center .lead { margin-inline: auto; }

.section-head--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.6rem);
}

.section-head__text {
  max-width: 46ch;
  margin: 0 0 0.4rem auto;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ink-600);
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.1rem;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow--center { justify-content: center; }

.eyebrow--gold { color: var(--gold-600); }

.eyebrow--light { color: var(--gold-400); }

.eyebrow__sep {
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon { transform: translateX(3px); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 18px 38px -22px rgba(195, 161, 91, 0.95);
}

.btn--gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--cream-50);
}

.btn--navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-500);
  color: var(--navy-900);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  color: var(--red-600);
  gap: 0.85rem;
}

.text-link .icon { width: 15px; height: 15px; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  position: relative;
  z-index: 10;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.topbar__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0.85;
  flex: none;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.71rem;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s var(--ease);
}

.topbar__contact a:hover { color: var(--gold-400); }

.topbar__contact .icon { width: 13px; height: 13px; }

.topbar__wa {
  margin-left: 0.3rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  color: var(--gold-400) !important;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__wa:hover {
  border-color: var(--gold-400);
  background: rgba(216, 188, 127, 0.08);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 36px -26px rgba(9, 24, 42, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  height: 86px;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .header__inner { height: 72px; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand__mark {
  width: auto;
  height: 58px;
  filter: drop-shadow(0 6px 12px rgba(9, 24, 42, 0.16));
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .brand__mark { height: 48px; }

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--navy-900);
  white-space: nowrap;
}

.brand__tag {
  margin-top: 0.4rem;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.75vw, 1.75rem);
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-700);
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--navy-900); }

.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header__cta {
  padding: 0.85rem 1.2rem;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold-500);
  color: var(--red-600);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.nav-toggle__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 6px; }
.nav-toggle__bars i:nth-child(3) { top: 12px; }

.nav-toggle.is-open .nav-toggle__bars i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }

.nav-toggle.is-open .nav-toggle__bars i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 2;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-600), var(--gold-500));
  transition: width 0.12s linear;
}

/* ==========================================================================
   Mobile navigation
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 7.5rem var(--gutter) 2rem;
  background: var(--cream-50);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav__list {
  padding: 0;
  list-style: none;
}

.mobile-nav__list li { border-bottom: 1px solid var(--line); }

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  font-weight: 600;
  color: var(--navy-900);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.mobile-nav__list a::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gold-600);
  opacity: 0.7;
}

.mobile-nav__list a:hover {
  color: var(--red-600);
  padding-left: 0.35rem;
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 0.5rem;
}

.mobile-nav__foot .btn { align-self: flex-start; }

.mobile-nav__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.mobile-nav__phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
}

.mobile-nav__phones .icon {
  width: 16px;
  height: 16px;
  color: var(--red-600);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100vh - 124px), 840px);
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero.jpg") center 38% / cover no-repeat;
  transform: scale(1.02);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 20, 38, 0.95) 0%, rgba(6, 20, 38, 0.87) 34%, rgba(6, 20, 38, 0.5) 70%, rgba(6, 20, 38, 0.36) 100%),
    linear-gradient(0deg, rgba(6, 20, 38, 0.94) 0%, rgba(6, 20, 38, 0.12) 46%, rgba(6, 20, 38, 0.3) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4rem, 7vw, 6rem) clamp(7rem, 10vw, 9rem);
}

.hero__content { max-width: 800px; }

.hero__eyebrow {
  margin-bottom: 1.7rem;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: var(--gold-400);
}

.hero__eyebrow::before { opacity: 0.85; }

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.55rem);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.hero__title span { display: block; }

.hero__title em {
  display: block;
  font-style: italic;
  color: var(--gold-400);
}

.hero__tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.25rem;
  margin: 1.8rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--cream-100);
}

.hero__tagline span {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.hero__tagline span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red-500);
}

.hero__motto {
  max-width: 48ch;
  margin: 1.9rem 0 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-style: italic;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

/* hero entrance */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero__eyebrow { animation: heroIn 0.9s 0.05s var(--ease) both; }
.hero__title { animation: heroIn 0.95s 0.16s var(--ease) both; }
.hero__tagline { animation: heroIn 0.9s 0.3s var(--ease) both; }
.hero__motto { animation: heroIn 0.9s 0.42s var(--ease) both; }
.hero__actions { animation: heroIn 0.9s 0.54s var(--ease) both; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-block {
  position: relative;
  z-index: 5;
  margin-top: -64px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 3px solid var(--gold-500);
  border-radius: 8px;
  box-shadow: 0 34px 70px -44px rgba(9, 24, 42, 0.65);
  overflow: hidden;
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.7rem clamp(1rem, 2.2vw, 2rem);
  border-right: 1px solid var(--line);
}

.trust__item:last-child { border-right: 0; }

.trust__item strong {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 600;
  line-height: 1;
  color: var(--navy-900);
}

.trust__item span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ==========================================================================
   About
   ========================================================================== */
.section--about { background: var(--cream-50); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}

.about__media { position: relative; }

.frame {
  position: relative;
  margin: 0;
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 260px 260px 6px 6px;
  box-shadow: var(--shadow-md);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(195, 161, 91, 0.55);
  border-radius: 260px 260px 6px 6px;
  pointer-events: none;
}

.frame__badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 282px;
  padding: 1rem 1.2rem;
  background: var(--navy-900);
  border-left: 3px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.frame__badge-year {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-400);
}

.frame__badge-text {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.about__body > p { max-width: 62ch; color: var(--ink-600); }

.about__body .lead { color: var(--ink-700); }

.about__body strong { font-weight: 600; color: var(--navy-900); }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.2rem;
  margin: 1.9rem 0 2.1rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-700);
}

.checklist .icon {
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
  color: var(--red-600);
}

/* ==========================================================================
   Director
   ========================================================================== */
.section--director {
  background: var(--cream-100);
  overflow: hidden;
}

.director__watermark {
  position: absolute;
  top: 50%;
  right: -7%;
  width: min(42vw, 540px);
  opacity: 0.05;
  filter: grayscale(1);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.director__head {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.director__quote {
  max-width: 21ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-wrap: balance;
}

.director__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.director__aside {
  position: sticky;
  top: 110px;
}

.director__card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: #fff;
}

.director__card-mark {
  position: absolute;
  top: -1rem;
  right: 0.5rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(216, 188, 127, 0.14);
  pointer-events: none;
}

.director__latin {
  position: relative;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--gold-400);
}

.director__translation {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: #fff;
}

.director__card-note {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}

.director__aside-note {
  margin: 1rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold-500);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-600);
}

.director__letter {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: #fff;
  border-top: 3px solid var(--red-600);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.director__letter p {
  max-width: 64ch;
  margin-bottom: 1.15rem;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--ink-600);
}

.director__letter .director__greeting {
  margin-bottom: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.55;
  color: var(--navy-900);
}

.director__letter em {
  font-family: var(--font-display);
  font-size: 1.08em;
  font-style: italic;
  color: var(--navy-800);
}

.director__letter .director__signoff {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.director__signoff strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
}

.director__signoff span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ==========================================================================
   Vision & mission
   ========================================================================== */
.section--vision { background: #fff; }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.vm-card {
  position: relative;
  padding: clamp(2rem, 3.6vw, 3rem);
  border-radius: 10px;
  overflow: hidden;
}

.vm-card--navy {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
}

.vm-card--light {
  background: var(--cream-50);
  border: 1px solid var(--line);
}

.vm-card__num {
  position: absolute;
  top: 0.8rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.vm-card--light .vm-card__num { color: rgba(10, 28, 51, 0.05); }

.vm-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1.6rem;
  color: var(--gold-500);
}

.vm-card--light .vm-card__icon { color: var(--red-600); }

.vm-card__label {
  margin: 0 0 0.7rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.vm-card--light .vm-card__label { color: var(--red-600); }

.vm-card h3 {
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.28;
  color: #fff;
}

.vm-card--light h3 { color: var(--navy-900); }

.vm-card p {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}

.vm-card--light p { color: var(--ink-600); }

.vm-card p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Core values
   ========================================================================== */
.section--values {
  background: var(--cream-50);
  border-block: 1px solid rgba(24, 34, 48, 0.06);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.5vw, 1.35rem);
}

.value-card {
  position: relative;
  padding: 1.9rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.value-card:hover {
  border-color: rgba(195, 161, 91, 0.5);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.value-card:hover::before { transform: scaleX(1); }

.value-card__index {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--gold-700);
}

.value-card__icon {
  width: 27px;
  height: 27px;
  margin-bottom: 1.3rem;
  color: var(--red-600);
}

.value-card h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy-900);
}

.value-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-600);
}

/* ==========================================================================
   Achievements
   ========================================================================== */
.section--achievements {
  background: var(--navy-900);
  overflow: hidden;
  color: #fff;
}

.section--achievements::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 161, 91, 0.16), transparent 68%);
  pointer-events: none;
}

.section--achievements::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 31, 43, 0.16), transparent 70%);
  pointer-events: none;
}

.achievements__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.section--achievements .section-title { color: #fff; }

.section--achievements .section-title em { color: var(--gold-400); }

.section--achievements .lead { color: rgba(255, 255, 255, 0.68); }

.achievements__intro {
  position: sticky;
  top: 110px;
}

.achievements__quote {
  margin-top: 2.4rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold-500);
}

.achievements__quote p {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--gold-200);
}

.achievements__quote span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.achievement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.achievements__list .achievement:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.achievement__num {
  padding-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold-400);
}

.achievement h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  color: #fff;
}

.achievement p {
  max-width: 62ch;
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Student development
   ========================================================================== */
.section--student { background: #fff; }

.student__head {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.student__head .lead { margin-bottom: 0.3rem; }

.student__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.student__gallery {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy-900);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(6, 20, 38, 0.8) 0%, rgba(6, 20, 38, 0) 48%);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img { transform: scale(1.045); }

.gallery-item__caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-item__caption .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-400);
  transition: transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-item__caption .icon { transform: translateX(3px); }

.growth-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.growth-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}

.growth-list li:hover { padding-left: 0.35rem; }

.growth-list__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(195, 161, 91, 0.55);
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--red-600);
}

.growth-list__icon .icon {
  width: 17px;
  height: 17px;
}

.growth-list h3 {
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--navy-900);
}

.growth-list p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-600);
}

/* ==========================================================================
   Philosophy
   ========================================================================== */
.philosophy {
  position: relative;
  padding-block: clamp(5rem, 9vw, 9rem);
  overflow: hidden;
  background: var(--navy-950);
  color: #fff;
  scroll-margin-top: 96px;
}

.philosophy__bg {
  position: absolute;
  inset: 0;
  background: url("../img/campus-1.jpg") center / cover no-repeat;
  filter: saturate(0.6);
  opacity: 0.3;
}

.philosophy__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 38, 0.95), rgba(6, 20, 38, 0.84) 48%, rgba(6, 20, 38, 0.97));
}

.philosophy__inner {
  position: relative;
  z-index: 1;
}

.section-head--light .section-title { color: #fff; }

.section-head--light .section-title em { color: var(--gold-400); }

.section-head--light .lead { color: rgba(255, 255, 255, 0.66); }

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.philosophy__card {
  position: relative;
  padding: clamp(2rem, 3.2vw, 2.8rem);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.philosophy__mark {
  position: absolute;
  top: 0.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(216, 188, 127, 0.2);
  pointer-events: none;
}

.philosophy__card h3 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  color: #fff;
}

.philosophy__card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.64);
}

.philosophy__latin {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-style: italic;
  line-height: 1.15;
  color: var(--gold-400);
}

.philosophy__card .philosophy__latin {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--gold-400);
}

.philosophy__card .philosophy__translation {
  margin: 0.6rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: #fff;
}

.philosophy__closing {
  max-width: 64ch;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.section--contact { background: var(--cream-100); }

#enquiry { scroll-margin-top: 110px; }

.contact__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--navy-800);
}

.contact-card__icon .icon { width: 19px; height: 19px; }

.contact-card h3 {
  margin-bottom: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}

.contact-card p {
  margin: 0 0 0.7rem;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--ink-600);
}

.contact-card p:last-child { margin-bottom: 0; }

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-600);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.contact-card__link .icon { width: 13px; height: 13px; }

.contact-card__link:hover {
  gap: 0.65rem;
  color: var(--navy-900);
}

.contact-card--accent {
  background: var(--navy-900);
  border-color: transparent;
  color: #fff;
}

.contact-card--accent h3 { color: #fff; }

.contact-card--accent p { color: rgba(255, 255, 255, 0.65); }

.contact-card--accent .contact-card__icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-400);
}

.contact-card--accent .contact-card__link { color: var(--gold-400); }

.contact-card--accent .contact-card__link:hover { color: #fff; }

.phone-list {
  display: grid;
  gap: 0.45rem;
}

.phone-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line);
}

.phone-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.phone-list__row > a:first-child {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.phone-list__row > a:first-child:hover { color: var(--red-600); }

.phone-list__wa {
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(138, 106, 42, 0.55);
  border-radius: 3px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.phone-list__wa:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.enquiry {
  padding: clamp(1.8rem, 3.4vw, 2.7rem);
  background: #fff;
  border-top: 3px solid var(--red-600);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.enquiry__title {
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy-900);
}

.enquiry__intro {
  margin-bottom: 1.6rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-600);
}

.field { margin-bottom: 1.05rem; }

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.field label span {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-500);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(24, 34, 48, 0.16);
  border-radius: 4px;
  background: var(--cream-50);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-900);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(78, 90, 106, 0.5); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(195, 161, 91, 0.16);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red-500);
  background: #fff7f7;
}

.field.has-error label { color: var(--red-600); }

.enquiry__submit {
  width: 100%;
  margin-top: 0.4rem;
}

.enquiry__note {
  margin: 0.9rem 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-500);
}

.enquiry__note a {
  color: var(--red-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.enquiry__status {
  min-height: 1.2em;
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--red-600);
}

.enquiry__status.is-success { color: #1c6b45; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-600), var(--gold-500) 45%, var(--navy-600));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.brand--footer .brand__seal {
  display: grid;
  place-items: center;
  flex: none;
  width: 62px;
  height: 62px;
  padding: 7px;
  background: var(--cream-50);
  border-radius: 50%;
}

.brand__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand--footer .brand__name {
  font-size: 1.05rem;
  color: #fff;
}

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

.footer__brand > p {
  max-width: 34ch;
  margin: 1.3rem 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.footer__latin {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  font-style: italic;
  color: var(--gold-400) !important;
}

.footer__latin span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.footer__col h4 {
  margin: 0 0 1.2rem;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.footer__col ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.footer__col a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover { color: var(--gold-400); }

.footer__contact address {
  margin: 0 0 1rem;
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.footer__contact > a {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
}

.footer__wa {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(216, 188, 127, 0.35);
  border-radius: 3px;
  font-size: 0.6rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400) !important;
}

.footer__wa .icon { width: 13px; height: 13px; }

.footer__wa:hover {
  background: rgba(216, 188, 127, 0.08);
  border-color: var(--gold-400);
}

.footer__contact .footer__channel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-400);
  transition: color 0.2s var(--ease);
}

.footer__channel .icon { width: 14px; height: 14px; }

.footer__channel:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer__bottom p { margin: 0; }

.footer__meta { letter-spacing: 0.04em; }

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease);
}

.footer__top .icon { width: 13px; height: 13px; }

.footer__top:hover { color: var(--gold-400); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cream-50);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease),
              visibility 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.to-top .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  background: rgba(4, 12, 24, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(94vw, 1100px);
  margin: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85);
}

.lightbox__figure figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.lightbox__btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
}

.lightbox__btn .icon { width: 18px; height: 18px; }

.lightbox__close {
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
}

.lightbox__prev {
  top: 50%;
  left: clamp(12px, 3vw, 36px);
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: clamp(12px, 3vw, 36px);
  transform: translateY(-50%);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
  }

  .about__media {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .director__grid { grid-template-columns: 1fr; }

  .director__aside { position: static; }

  .director__card { max-width: 560px; }

  .vm-grid { grid-template-columns: 1fr; }

  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .section-head__text { margin-left: 0; }

  .achievements__grid { grid-template-columns: 1fr; }

  .achievements__intro { position: static; }

  .student__head { grid-template-columns: 1fr; }

  .student__layout { grid-template-columns: 1fr; }

  .student__gallery {
    grid-template-columns: 1fr 1fr;
    order: 2;
  }

  .growth-list { order: 1; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .footer__brand { grid-column: 1 / -1; }

  .footer__brand > p { max-width: 48ch; }
}

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

@media (max-width: 820px) {
  .topbar__meta { display: none; }

  .topbar__inner { justify-content: center; }

  .trust__item { padding: 1.5rem 1.4rem; }
}

@media (max-width: 760px) {
  .section { padding-block: clamp(3.6rem, 8vw, 5.2rem); }

  .hero { min-height: clamp(560px, calc(100svh - 110px), 760px); }

  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(6, 20, 38, 0.82) 0%, rgba(6, 20, 38, 0.58) 42%, rgba(6, 20, 38, 0.9) 100%),
      linear-gradient(90deg, rgba(6, 20, 38, 0.92) 0%, rgba(6, 20, 38, 0.68) 100%);
  }

  .hero__inner { padding-block: 3.5rem 6rem; }

  .hero__title { font-size: clamp(2.55rem, 10vw, 3.6rem); }

  .hero__tagline { gap: 0.45rem 1rem; font-size: 0.61rem; }

  .hero__tagline span { gap: 1rem; }

  .hero__motto { font-size: 1rem; }

  .trust-block { margin-top: -44px; }

  .trust { grid-template-columns: 1fr 1fr; }

  .trust__item {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trust__item:nth-child(2n) { border-right: 0; }

  .trust__item:nth-last-child(-n + 2) { border-bottom: 0; }

  .trust__item strong { font-size: 1.75rem; }

  .trust__item span { font-size: 0.55rem; }

  .frame::after { inset: 12px -10px -10px 12px; }

  .frame__badge {
    left: 12px;
    bottom: 12px;
    max-width: 240px;
    padding: 0.85rem 1rem;
  }

  .frame__badge-year { font-size: 1.5rem; }

  .frame__badge-text { font-size: 0.52rem; }

  .philosophy__grid { grid-template-columns: 1fr; }

  .philosophy__closing { font-size: 0.98rem; }

  .footer__bottom { justify-content: flex-start; }

  .footer__top { margin-left: auto; }
}

@media (max-width: 640px) {
  .header__cta { display: none; }

  .header__inner { height: 76px; }

  .site-header.is-scrolled .header__inner { height: 66px; }

  .brand__mark { height: 50px; }

  .site-header.is-scrolled .brand__mark { height: 43px; }

  .brand__name { font-size: 1rem; }

  .brand__tag { font-size: 0.43rem; letter-spacing: 0.18em; }

  .topbar { font-size: 0.66rem; }

  .topbar__contact { gap: 0.55rem; font-size: 0.66rem; }

  .topbar__wa { padding: 0.18rem 0.45rem; font-size: 0.56rem; }

  .mobile-nav { padding-top: 6.3rem; }

  .hero__actions { flex-direction: column; align-items: stretch; }

  .hero__actions .btn { width: 100%; }

  .checklist { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }

  .student__gallery { grid-template-columns: 1fr; }

  .contact-card { padding: 1.3rem 1.25rem; }

  .contact-card__icon { width: 38px; height: 38px; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__brand { grid-column: auto; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .footer__top { margin-left: 0; }

  .lightbox__prev { left: 8px; }

  .lightbox__next { right: 8px; }

  .lightbox__btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .topbar__contact a:nth-of-type(2),
  .topbar__contact .topbar__dot { display: none; }

  .brand { gap: 0.6rem; }

  .brand__tag { display: none; }

  .brand__name { font-size: 0.96rem; }

  .brand__mark { height: 46px; }

  .hero__eyebrow { font-size: 0.57rem; gap: 0.6rem; }

  .director__quote { font-size: 1.9rem; }

  .trust__item { padding: 1.25rem 1.05rem; }

  .trust__item strong { font-size: 1.5rem; }

  .vm-card { padding: 1.8rem 1.5rem; }

  .value-card { padding: 1.6rem 1.4rem; }

  .growth-list li { gap: 0.8rem; }

  .growth-list__icon { width: 34px; height: 34px; }

  .philosophy__card { padding: 1.6rem 1.35rem; }

  .enquiry { padding: 1.5rem 1.25rem; }

  .footer__brand > p { font-size: 0.82rem; }
}

/* ==========================================================================
   Reduced motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__tagline,
  .hero__motto,
  .hero__actions { animation: none; }
}

@media print {
  .topbar,
  .site-header,
  .mobile-nav,
  .hero__actions,
  .to-top,
  .lightbox,
  .enquiry { display: none !important; }

  body { background: #fff; color: #000; }

  .hero { min-height: 0; padding: 2rem 0; background: #fff; color: #000; }

  .hero__media { display: none; }

  .hero__title,
  .hero__title em { color: #000; }

  .section { padding-block: 2rem; }

  .section--achievements,
  .philosophy,
  .site-footer { background: #fff !important; color: #000 !important; }

  .section--achievements .section-title,
  .achievement h3,
  .philosophy__card h3,
  .footer__col h4 { color: #000 !important; }

  .achievement p,
  .philosophy__card p,
  .footer__col a,
  .footer__contact address { color: #333 !important; }
}



