:root {
  --blue: #1b4b8f;
  --blue-dark: #123c73;
  --blue-deep: #0a1b33;
  --yellow: #fec629;
  --lavender: #c4b4e0;
  --lime: #d2e87c;
  --orange: #ee5422;
  --white: #ffffff;
  --text-dark: #0a1b33;
  --cream: #fff9f1;
  --paper: #fffdf9;
  --ink-soft: #6c5a62;
  --line: rgba(10, 27, 51, 0.12);
  --shadow-soft: 0 22px 60px rgba(10, 27, 51, 0.12);
  --shadow-photo: 0 28px 70px rgba(10, 27, 51, 0.18);
  --container: 1220px;

  /* promoted from one-off literals (audit §12) */
  --yellow-soft: #ffe477;
  --yellow-hover: #ffe066;
  --lavender-deep: #6c5794;
  --lavender-shadow: #3f315d;
  --amber-deep: #a87306;
  --amber-shadow: #654400;
  --olive-deep: #668126;
  --olive-shadow: #34480c;
  --coral-soft: #ffb49b;
  --coral-deep: #a83c1d;
  --coral-shadow: #6d210d;
  --paper-warm: #fffdf8;
  --cream-warm: #fff8ec;
  --ice: #f2f6fb;
  --blue-mid: #132e57;
  --blue-night: #071224;

  /* one button system (audit §8) */
  --btn-pad: 13px 22px;
  --btn-radius: 12px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text-dark);
  background: var(--paper);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  display: block;
  width: 100%;
  /* the width/height attributes are there for CLS only - without this the
     presentational height wins and defeats every CSS aspect-ratio */
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.08;
}
.lucide {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  stroke-width: 1.9;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.section {
  position: relative;
  padding: 84px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 9999;
  padding: 10px 18px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* ---------- HEADER ---------- */
.utility-bar {
  background: var(--blue-deep);
  color: var(--white);
  font-size: 14px;
}
.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-inner p {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.8);
}
.utility-links a,
.utility-links > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.utility-links .lucide {
  color: var(--yellow);
}
.utility-links a {
  transition: color 0.18s ease;
}
.utility-links a:hover {
  color: var(--yellow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 220;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(27, 75, 143, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 34px rgba(10, 27, 51, 0.1);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 300px;
}
.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 13px;
  border-radius: 50%;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-copy strong {
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.brand-copy small {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
  font-weight: 700;
  font-size: 15px;
}
.main-nav a {
  position: relative;
  padding: 31px 0;
  white-space: nowrap;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--orange);
  transition: right 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}
.nav-cta {
  padding: var(--btn-pad) !important;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: var(--btn-radius);
  box-shadow: 4px 4px 0 var(--blue);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--blue);
}
.menu-toggle {
  display: none;
  position: relative;
  z-index: 210;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: var(--blue);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle {
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.menu-toggle:hover {
  background: var(--blue-dark);
  transform: scale(1.06);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
/* Animated X when open */
body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop — dims page when nav is open */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(10, 27, 51, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
body.nav-open .nav-backdrop {
  display: block;
}

/* ---------- SHARED TYPE ---------- */
.eyebrow {
  --eyebrow-start: var(--blue-deep);
  --eyebrow-middle: var(--blue);
  --eyebrow-end: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--blue);
  background-image: linear-gradient(
    90deg,
    var(--eyebrow-start) 0%,
    var(--eyebrow-middle) 52%,
    var(--eyebrow-end) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--eyebrow-start),
    var(--eyebrow-middle),
    var(--eyebrow-end)
  );
}
.eyebrow.light {
  --eyebrow-start: var(--yellow);
  --eyebrow-middle: var(--yellow-soft);
  --eyebrow-end: var(--lime);
  color: var(--yellow);
}
.section-heading h2,
.welcome-copy h2,
.why-intro h2,
.academics-copy h2,
.life-copy h2,
.gallery-heading h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.section-heading h2 span,
.welcome-copy h2 span,
.why-intro h2 span,
.life-copy h2 span,
.gallery-heading h2 span {
  color: var(--blue);
}
.section-heading > p:last-child,
.welcome-copy > p,
.why-intro > p,
.life-copy > p,
.gallery-heading > p {
  color: var(--ink-soft);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 2px solid var(--yellow);
}
.text-link .lucide {
  transition: transform 0.2s ease;
}
.text-link:hover .lucide {
  transform: translate(3px, -3px);
}

/* ---------- HERO ---------- */
.hero.direct-banner {
  position: relative;
  padding: 0;
  background: var(--white);
  overflow: hidden;
}
.hero.direct-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.12);
}
.banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--blue-deep);
}
.hero-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 30px;
  background: var(--cream);
  clip-path: polygon(
    0 68%,
    16% 45%,
    35% 64%,
    56% 34%,
    75% 60%,
    100% 38%,
    100% 100%,
    0 100%
  );
}

/* ---------- ABOUT ---------- */
.welcome {
  background: var(--cream);
  overflow: hidden;
}
.welcome-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 82px;
}
.welcome-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.welcome-orbit-one {
  width: 360px;
  height: 360px;
  left: -190px;
  top: 110px;
  border: 62px solid rgba(196, 180, 224, 0.22);
}
.welcome-orbit-two {
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: 50px;
  background: rgba(210, 232, 124, 0.26);
}
.welcome-visual {
  position: relative;
  min-height: 520px;
}
.photo-shape {
  position: absolute;
  overflow: hidden;
}
.photo-shape img {
  height: 100%;
  object-fit: cover;
}
.photo-shape-main {
  inset: 18px 72px 54px 0;
  border-radius: 48% 52% 26% 74% / 48% 35% 65% 52%;
  box-shadow: var(--shadow-photo);
  border: 8px solid var(--white);
}
.photo-shape-crop {
  width: 180px;
  height: 180px;
  right: 6px;
  bottom: 8px;
  border-radius: 50%;
  border: 8px solid var(--yellow);
  box-shadow: 0 18px 36px rgba(10, 27, 51, 0.16);
}
.photo-shape-crop img {
  transform: scale(1.9);
  object-position: 43% 52%;
}
.experience-badge {
  position: absolute;
  left: -12px;
  top: -10px;
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
  border: 7px solid var(--cream);
  box-shadow: 0 12px 24px rgba(10, 27, 51, 0.14);
  transform: rotate(-7deg);
}
.experience-badge span,
.experience-badge small {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.experience-badge strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 27px;
  line-height: 1.05;
}
.visual-dots {
  position: absolute;
  width: 108px;
  height: 108px;
  right: 22px;
  top: 24px;
  background-image: radial-gradient(var(--blue) 1.7px, transparent 1.7px);
  background-size: 14px 14px;
  opacity: 0.28;
}
.visual-arrow {
  position: absolute;
  right: -8px;
  top: 140px;
  width: 110px;
  color: var(--orange);
}
.welcome-copy {
  max-width: 620px;
}
.value-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.value-item {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-item > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--lavender);
  background: linear-gradient(145deg, var(--lavender-deep), var(--lavender-shadow));
  border-radius: 50%;
  box-shadow:
    0 8px 18px rgba(10, 27, 51, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.value-item:nth-child(2) > span {
  color: var(--yellow);
  background: linear-gradient(145deg, var(--amber-deep), var(--amber-shadow));
}
.value-item:nth-child(3) > span {
  color: var(--lime);
  background: linear-gradient(145deg, var(--olive-deep), var(--olive-shadow));
}
.value-item:nth-child(4) > span {
  color: var(--coral-soft);
  background: linear-gradient(145deg, var(--coral-deep), var(--coral-shadow));
}
.value-item > span .lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
}
.value-item strong {
  font-size: 16px;
  line-height: 1.25;
}

/* ---------- WHY ---------- */
.why-section {
  background: var(--white);
  overflow: hidden;
}
.why-wash {
  position: absolute;
  inset: 0 0 auto 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(196, 180, 224, 0.1),
    rgba(254, 198, 41, 0.07)
  );
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.why-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 84px;
  align-items: start;
}
.why-intro {
  position: sticky;
  top: 145px;
}
.why-intro > p:last-of-type {
  max-width: 510px;
}
.why-photo {
  position: relative;
  margin: 42px 0 0;
  width: min(430px, 100%);
}
.why-photo::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 26px;
  background: var(--lavender);
  border-radius: 34px 8px 34px 8px;
}
.why-photo img {
  position: relative;
  height: 300px;
  object-fit: cover;
  border-radius: 34px 8px 34px 8px;
  box-shadow: var(--shadow-soft);
}
.why-photo figcaption {
  position: absolute;
  left: 20px;
  bottom: -14px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}
.why-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.reason {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-content: start;
  padding: 28px 28px 30px 18px;
  border-bottom: 1px solid var(--line);
}
.reason:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.reason:nth-child(even) {
  padding-left: 34px;
  transform: translateY(38px);
}
.reason-no {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(27, 75, 143, 0.11);
  font-family: "Sora", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}
.reason-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 50%;
}
.reason-b .reason-icon,
.reason-e .reason-icon {
  background: var(--lavender);
}
.reason-c .reason-icon {
  background: var(--lime);
}
.reason-d .reason-icon {
  color: var(--white);
  background: var(--orange);
}
.reason-f .reason-icon {
  color: var(--white);
  background: var(--blue);
}
.reason h3 {
  position: relative;
  z-index: 1;
  margin: 5px 0 8px;
  font-size: 20px;
}
.reason p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- EDUCATION SYSTEM ---------- */
.education-system {
  position: relative;
  padding: 76px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 85%,
      rgba(210, 232, 124, 0.16),
      transparent 21%
    ),
    var(--white);
}
.education-system-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 76px;
}
.education-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.education-shape-one {
  width: 230px;
  height: 230px;
  right: -110px;
  top: -100px;
  border: 44px solid rgba(196, 180, 224, 0.19);
}
.education-shape-two {
  width: 110px;
  height: 110px;
  right: 8%;
  bottom: -55px;
  background: rgba(238, 84, 34, 0.1);
}
.education-single-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}
.education-main-photo {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(10, 27, 51, 0.12);
  border: 6px solid var(--white);
  background: var(--cream);
}
.education-main-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.education-main-photo:hover img {
  transform: scale(1.03);
}
.education-dots {
  position: absolute;
  z-index: 1;
  left: -24px;
  top: -24px;
  width: 120px;
  height: 120px;
  opacity: 0.62;
  background-image: radial-gradient(var(--orange) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}
.education-seal {
  position: absolute;
  z-index: 4;
  left: -20px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 11px 15px 11px 11px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 40px 12px 12px 40px;
  box-shadow: 6px 7px 0 var(--orange);
}
.education-seal > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}
.education-seal strong,
.education-seal small {
  display: block;
}
.education-seal strong {
  font-size: 16px;
  line-height: 1.1;
}
.education-seal small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.education-content {
  max-width: 650px;
}
.education-content h2 {
  max-width: 620px;
  margin: 0 0 18px;
  font-family: "Sora", sans-serif;
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.education-content h2 span {
  color: var(--blue);
}
.education-intro {
  max-width: 610px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}
.education-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.education-benefits article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 13px;
  align-items: start;
}
.education-benefits article > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
}
.education-benefits article:nth-child(2) > span {
  background: var(--lavender);
}
.education-benefits article > span .lucide {
  width: 21px;
  height: 21px;
}
.education-benefits h3 {
  margin: 1px 0 5px;
  font-size: 17px;
}
.education-benefits p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.58;
  text-align: left;
}
.education-content blockquote {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 13px;
  margin: 0;
  padding: 18px 20px;
  color: var(--blue-deep);
  background: rgba(210, 232, 124, 0.24);
  border-left: 4px solid var(--lime);
  border-radius: 5px 15px 15px 5px;
}
.education-content blockquote .lucide {
  width: 28px;
  height: 28px;
  color: var(--blue);
}
.education-content blockquote p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.education-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
.education-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: 12px 4px 12px 4px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--yellow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.education-primary-link:hover {
  transform: translateY(-3px);
  box-shadow: 6px 7px 0 var(--yellow);
}
.education-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
}
.education-phone > .lucide {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
}
.education-phone small,
.education-phone strong {
  display: block;
}
.education-phone small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.education-phone strong {
  margin-top: 1px;
  font-size: 16px;
}

/* ---------- ACADEMICS ---------- */
.academics {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  overflow: hidden;
}
.academic-ring {
  position: absolute;
  width: 470px;
  height: 470px;
  right: -235px;
  top: -215px;
  border: 70px solid rgba(196, 180, 224, 0.13);
  border-radius: 50%;
}
.academic-dots {
  position: absolute;
  width: 150px;
  height: 150px;
  left: 4%;
  bottom: 50px;
  background-image: radial-gradient(
    rgba(254, 198, 41, 0.55) 1.7px,
    transparent 1.7px
  );
  background-size: 16px 16px;
  opacity: 0.36;
}
.academics .container {
  position: relative;
  z-index: 1;
}
.academics-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.academics-copy h2 {
  color: var(--white);
}
.academics-copy h2 span {
  color: var(--lime);
}
.academics-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
}
.assessment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 30px;
}
.assessment-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.assessment-list .lucide {
  width: 22px;
  height: 22px;
  padding: 4px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
}
.academics-visual {
  position: relative;
  min-height: 420px;
}
.academic-photo-main {
  position: absolute;
  inset: 18px 20px 48px 82px;
  overflow: hidden;
  border-radius: 46% 54% 16% 84% / 34% 24% 76% 66%;
  border: 7px solid var(--white);
  box-shadow: 0 24px 54px rgba(10, 27, 51, 0.24);
}
.academic-photo-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 68%, rgba(27, 75, 143, 0.18));
}
.academic-photo-main img {
  height: 100%;
  object-fit: cover;
}
.academic-photo-mini {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 180px;
  height: 135px;
  overflow: hidden;
  border: 6px solid var(--yellow);
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(10, 27, 51, 0.22);
}
.academic-photo-mini img {
  height: 100%;
  object-fit: cover;
}
.board-card {
  position: absolute;
  right: 0;
  top: 38px;
  width: 165px;
  padding: 14px 15px;
  color: var(--blue-deep);
  background: var(--lime);
  border-radius: 16px 16px 3px 16px;
  box-shadow: 6px 6px 0 var(--orange);
  transform: rotate(2deg);
}
.board-card span,
.board-card strong {
  display: block;
}
.board-card span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.board-card strong {
  margin-top: 4px;
  font-family: "Sora", sans-serif;
  font-size: 18px;
}
.academic-spark {
  position: absolute;
  right: 42px;
  bottom: 12px;
  color: var(--yellow);
  font-size: 44px;
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.path-step {
  position: relative;
  min-height: 172px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  column-gap: 14px;
  padding: 20px;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-top: 5px solid var(--step-accent);
  border-radius: 15px;
  box-shadow: 0 14px 30px rgba(10, 27, 51, 0.12);
}
.path-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 12px;
  color: var(--blue-deep);
  background: var(--step-accent);
  box-shadow: 0 8px 18px rgba(10, 27, 51, 0.1);
}
.path-no {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  padding: 4px 8px;
  color: var(--blue-deep);
  background: var(--step-accent);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
}
.path-step small {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.path-step h3 {
  grid-column: 2 / 4;
  grid-row: 2;
  margin: 10px 0 4px;
  font-size: 20px;
  line-height: 1.16;
}
.path-step p {
  grid-column: 2 / 4;
  grid-row: 3;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.step-yellow {
  --step-accent: var(--yellow);
}
.step-lavender {
  --step-accent: var(--lavender);
}
.step-lime {
  --step-accent: var(--lime);
}
.step-orange {
  --step-accent: var(--orange);
}
.step-orange .path-icon {
  color: var(--white);
}

/* ---------- FACILITIES ---------- */
.facilities {
  padding: 80px 0;
  background:
    radial-gradient(
      circle at 91% 9%,
      rgba(196, 180, 224, 0.2),
      transparent 24%
    ),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--cream-warm) 100%);
}

/* --- Section header --- */
.facility-header {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 28px;
}
.facility-header-left h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.facility-header-left h2 span {
  color: var(--blue);
}
.facility-header-desc {
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid var(--yellow);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

/* --- Bento grid --- */
.facility-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 310px 222px;
  gap: 10px;
  margin-bottom: 14px;
}

/* Tile placement */
.tile-lab {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}
.tile-library {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
}
.tile-playground {
  grid-column: 8 / 11;
  grid-row: 2 / 3;
}
.tile-stage {
  grid-column: 11 / 13;
  grid-row: 2 / 3;
}

/* --- Individual tile --- */
.facility-tile {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: default;
}

/* Full-bleed image */
.facility-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Per-image object-position — preserve important subjects */
.tile-lab img {
  object-position: center 30%;
}
.tile-library img {
  object-position: center 40%;
}
.tile-playground img {
  object-position: center 50%;
}
.tile-stage img {
  object-position: center 35%;
}

/* Dark gradient for text readability */
.facility-tile::after {
  content: "";
  opacity: 0.82;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 38%,
    rgba(10, 27, 51, 0.45) 68%,
    rgba(10, 27, 51, 0.86) 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Text overlay — sits directly on image */
.facility-tile-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: var(--white);
}
.ftile-cat {
  display: block;
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ftile-title {
  margin: 0 0 0;
  padding-right: 36px;
  font-family: "Sora", sans-serif;
  font-size: clamp(17px, 1.6vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Diagonal arrow */
.ftile-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover — image scales only, no tile lift */
.facility-tile:hover img {
  transform: scale(1.03);
}
.facility-tile:hover::after {
  opacity: 1;
}
.facility-tile:hover .ftile-arrow {
  transform: translate(2px, -2px);
}

/* --- Campus essentials strip --- */
.facility-support {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 0;
  padding: 22px 24px;
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--blue-deep) 0%,
    var(--blue-dark) 100%
  );
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(10, 27, 51, 0.16);
}
.facility-support-heading span {
  display: block;
  color: var(--yellow);
  font-family: "Sora", sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.facility-support-heading p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}
.facility-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.facility-index > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}
.facility-index > div:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(254, 198, 41, 0.35);
}
.facility-index .lucide {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 5px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 4px;
}

/* ---------- STUDENT LIFE ---------- */
.life-section {
  background: var(--ice);
  overflow: hidden;
}
.life-blob {
  position: absolute;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -210px;
  background: rgba(210, 232, 124, 0.42);
  border-radius: 50%;
}
.life-stars {
  position: absolute;
  top: 46px;
  right: 6%;
  color: var(--orange);
  font-size: 28px;
  letter-spacing: 0.4em;
}
.life-editorial {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 96px;
}
.life-visual {
  position: relative;
  min-height: 570px;
}
.life-photo-main {
  position: absolute;
  inset: 0 80px 55px 0;
  overflow: hidden;
  border-radius: 52% 48% 14% 86% / 38% 24% 76% 62%;
  box-shadow: var(--shadow-photo);
  border: 7px solid var(--white);
}
.life-photo-main img {
  height: 100%;
  object-fit: cover;
}
.life-photo-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 225px;
  height: 190px;
  overflow: hidden;
  border-radius: 50% 50% 12px 50%;
  border: 7px solid var(--yellow);
  box-shadow: 0 18px 40px rgba(10, 27, 51, 0.16);
}
.life-photo-small img {
  height: 100%;
  object-fit: cover;
}
.life-note {
  position: absolute;
  top: 22px;
  right: -22px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transform: rotate(3deg);
}
.life-copy h2 span {
  color: var(--blue);
}
.activity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid rgba(27, 75, 143, 0.14);
}
.activity-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27, 75, 143, 0.14);
  font-size: 15px;
  font-weight: 700;
}
.activity-list span:nth-child(odd) {
  margin-right: 22px;
}
.activity-list .lucide {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 50%;
}
.activity-list span:nth-child(3n + 2) .lucide {
  background: var(--lime);
}
.activity-list span:nth-child(3n) .lucide {
  background: var(--lavender);
}
.program-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.program-cards article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(27, 75, 143, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(10, 27, 51, 0.06);
}
.program-cards article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 12px;
}
.program-cards strong,
.program-cards small {
  display: block;
}
.program-cards small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ---------- GALLERY ---------- */
.gallery-section {
  background: var(--white);
}
.gallery-editorial {
  width: min(1180px, calc(100% - 48px));
}
.gallery-heading {
  position: relative;
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}
.gallery-heading .eyebrow {
  display: inline-flex;
}
.gallery-heading h2 {
  max-width: 820px;
  margin: 0 auto 14px;
}
.gallery-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr 1fr 1fr 0.92fr;
  grid-template-rows: 292px 196px;
  align-items: end;
  gap: 16px;
  min-height: 500px;
}
.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream);
  box-shadow: 0 15px 34px rgba(10, 27, 51, 0.12);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.42s ease,
    filter 0.42s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 46% 0 0;
  background: linear-gradient(transparent, rgba(10, 27, 51, 0.78));
}
.gallery-item:hover img {
  transform: scale(1.045);
}
.gallery-item span {
  position: absolute;
  z-index: 2;
  left: 15px;
  right: 15px;
  bottom: 14px;
  color: var(--white);
  text-align: left;
}
.gallery-item small,
.gallery-item strong {
  display: block;
}
.gallery-item small {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.gallery-item strong {
  margin-top: 3px;
  font-family: "Sora", sans-serif;
  font-size: 17px;
}
.gallery-item span .lucide {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 29px;
  height: 29px;
  padding: 7px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
}
.gallery-classroom {
  grid-column: 1;
  grid-row: 1;
}
.gallery-achievement {
  grid-column: 1;
  grid-row: 2;
}
.gallery-practical {
  grid-column: 2;
  grid-row: 1 / 3;
  height: 446px;
}
.gallery-center {
  grid-column: 3;
  grid-row: 1 / 3;
  height: 412px;
  align-self: center;
}
.gallery-sports {
  grid-column: 4;
  grid-row: 1 / 3;
  height: 466px;
}
.gallery-library {
  grid-column: 5;
  grid-row: 1;
}
.gallery-stage {
  grid-column: 5;
  grid-row: 2;
}
.gallery-edge span {
  left: 14px;
  right: 14px;
  bottom: 13px;
}
.gallery-edge small {
  font-size: 11px;
}
.gallery-edge strong {
  padding-right: 30px;
  font-size: 15px;
}
.gallery-edge span .lucide {
  width: 26px;
  height: 26px;
  padding: 6px;
}
.gallery-achievement::after,
.gallery-stage::after {
  inset: 38% 0 0;
}

/* ---------- LEARNING COMMUNITY ---------- */
.community-section {
  position: relative;
  padding: 74px 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(196, 180, 224, 0.13),
      transparent 26%
    ),
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 58%, var(--blue-night) 100%);
}
.community-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 72px;
}
.community-orbit {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.community-orbit-one {
  width: 330px;
  height: 330px;
  right: -150px;
  bottom: -180px;
  border: 52px solid rgba(196, 180, 224, 0.08);
}
.community-orbit-two {
  width: 120px;
  height: 120px;
  left: -56px;
  top: -50px;
  background: rgba(238, 84, 34, 0.12);
}
.community-visual {
  position: relative;
  order: 2;
  width: 100%;
  justify-self: end;
  min-height: 470px;
  display: grid;
  place-items: center;
}
.community-photo {
  position: relative;
  z-index: 2;
  width: min(420px, 88%);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: var(--blue-dark);
  border: 7px solid rgba(255, 255, 255, 0.94);
  border-radius: 46% 54% 42% 58% / 52% 42% 58% 48%;
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.38);
  transform: rotate(-2deg);
}
.community-photo::after {
  content: "";
  position: absolute;
  inset: 58% 0 0;
  background: linear-gradient(transparent, rgba(10, 27, 51, 0.32));
}
.community-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  transform: rotate(2deg) scale(1.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.community-visual:hover .community-photo img {
  transform: rotate(2deg) scale(1.1);
}
.community-dots {
  position: absolute;
  z-index: 1;
  left: -4px;
  top: 48px;
  width: 108px;
  height: 108px;
  opacity: 0.72;
  background-image: radial-gradient(var(--yellow) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}
.community-call {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 26px;
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 11px;
  min-width: 210px;
  padding: 12px 17px 12px 12px;
  color: var(--blue-deep);
  background: var(--yellow);
  border: 4px solid var(--blue-deep);
  border-radius: 18px 6px 18px 6px;
  box-shadow: 8px 8px 0 var(--orange);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.community-call:hover {
  transform: translateY(-4px);
  box-shadow: 10px 12px 0 var(--orange);
}
.community-call > span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}
.community-call small {
  align-self: end;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.community-call strong {
  font-size: 17px;
  line-height: 1.1;
}
.community-copy {
  order: 1;
  justify-self: start;
  max-width: 650px;
}
.community-copy .eyebrow {
  color: var(--yellow);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.community-copy .eyebrow::before {
  background: var(--yellow);
}
.community-copy h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.community-copy h2 span {
  color: var(--lime);
}
.community-lead {
  max-width: 590px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.72;
}
.community-points {
  display: grid;
  gap: 10px;
}
.community-point {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px 5px 15px 5px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}
.community-point:hover {
  transform: translateX(7px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(254, 198, 41, 0.48);
}
.community-point-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 13px 4px 13px 4px;
}
.community-point:nth-child(2) .community-point-icon {
  background: var(--lavender);
}
.community-point:nth-child(3) .community-point-icon {
  background: var(--lime);
}
.community-point-icon .lucide {
  width: 23px;
  height: 23px;
}
.community-point h3 {
  margin: 0 0 3px;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 18px;
}
.community-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}
.community-arrow {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 50%;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--yellow);
  font-weight: 700;
}
.community-link .lucide {
  width: 18px;
  transition: transform 0.2s ease;
}
.community-link:hover .lucide {
  transform: translateX(5px);
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 62px 0 0;
  color: var(--white);
  background: var(--blue-deep);
}
.site-footer p {
  text-align: left;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 20px;
}
.footer-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 13px;
}
.footer-brand img {
  flex: none;
  width: 78px;
  height: 78px;
  padding: 3px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}
.footer-brand h2 {
  margin: 0;
  /* below this the name would shred into 4-5 lines beside the logo, so let
     it wrap under instead */
  min-width: 200px;
  flex: 1 1 200px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-brand p + p {
  margin-top: 10px;
}
.footer-grid h3 {
  margin-bottom: 19px;
  color: var(--yellow);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.footer-grid p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
}
.footer-grid > div:not(.footer-brand) a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}
.footer-grid a {
  transition: color 0.18s ease;
}
/* the address block doubles as the map link (audit §9) */
.footer-grid > div:not(.footer-brand) a.footer-address {
  margin: 0 0 14px;
  line-height: 1.65;
}
.footer-address i {
  width: 15px;
  height: 15px;
  margin-left: 7px;
  vertical-align: -2px;
  color: var(--yellow);
}
.designed-by a {
  display: inline-flex;
  border-radius: 8px;
}

/* was an inline <style> in index.html (audit §12) */
body.home p {
  text-align: justify;
}
body.home .footer-grid p,
body.home .footer-bottom p,
body.home .utility-inner p,
body.home .eyebrow {
  text-align: left;
}
.footer-grid a:hover {
  color: var(--yellow) !important;
}
.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
}
.designed-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.designed-by img {
  width: auto;
  height: 44px;
  padding: 6px 10px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

/* ---------- FLOATING / LIGHTBOX ---------- */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 10px 17px;
  color: var(--blue-deep);
  background: var(--lime);
  border: 3px solid var(--white);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.25);
}
.floating-call {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.floating-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(10, 27, 51, 0.28);
}
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 79;
  width: 42px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--white);
  border-radius: 10px;
  cursor: pointer;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(10, 27, 51, 0.94);
}
.lightbox.open {
  display: flex;
}
.lightbox-close {
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.lightbox-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}
.lightbox figure {
  max-width: 1000px;
  margin: 0;
}
.lightbox img {
  max-height: 78vh;
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 12px;
  color: var(--white);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(30px) scale(0.985);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}
.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.motion-item {
  opacity: 0;
  filter: blur(3px);
}
.reveal.is-visible .motion-item {
  animation: content-rise 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(
    var(--reveal-delay, 0ms) + 100ms + var(--item-delay, 0ms)
  );
}

@keyframes content-rise {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.value-item,
.reason,
.path-step,
.activity-list span,
.program-cards article,
.gallery-item {
  transition:
    translate 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.value-item > span,
.reason-icon,
.path-icon,
.activity-list .lucide,
.program-cards article > span,
.gallery-item span .lucide {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-shape img,
.why-photo img,
.academic-photo-main img,
.life-photo-main img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .value-item:hover,
  .reason:hover,
  .path-step:hover,
  .program-cards article:hover,
  .gallery-item:hover {
    translate: 0 -5px;
  }
  .value-item:hover {
    background: rgba(196, 180, 224, 0.1);
  }
  .value-item:hover > span,
  .reason:hover .reason-icon,
  .program-cards article:hover > span {
    transform: rotate(-5deg) scale(1.08);
  }
  .path-step:hover .path-icon {
    transform: translateY(-2px) scale(1.04);
  }
  .reason:hover {
    background: rgba(255, 255, 255, 0.72);
  }
  .path-step:hover {
    border-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 40px rgba(10, 27, 51, 0.17);
  }
  .activity-list span:hover .lucide,
  .gallery-item:hover span .lucide {
    transform: rotate(8deg) scale(1.08);
  }
  .activity-list span:hover {
    translate: 4px 0;
    color: var(--blue);
  }
  .program-cards article:hover {
    border-color: rgba(27, 75, 143, 0.24);
    box-shadow: 0 18px 36px rgba(10, 27, 51, 0.1);
  }
  .gallery-item:hover {
    box-shadow: 0 22px 48px rgba(10, 27, 51, 0.17);
  }
  .photo-shape:hover img,
  .why-photo:hover img,
  .academic-photo-main:hover img,
  .life-photo-main:hover img {
    transform: scale(1.035);
  }
}

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

@media (max-width: 1200px) {
  .utility-links span {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  /* The live drawer implementation is the @media(max-width:1200px) block further
     down this file; it uses display:none + a keyframe. Nothing here re-declares it. */
  .main-nav a {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
      background 0.18s ease,
      padding-left 0.18s ease;
  }
  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    padding-left: 30px;
  }
  .main-nav a::after {
    display: none;
  }
  .nav-cta {
    margin: 20px 24px 28px;
    padding: 14px 18px !important;
    text-align: center;
    background: var(--yellow);
    color: var(--blue-deep) !important;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
    border-bottom: 0 !important;
  }
  .nav-cta:hover {
    background: var(--yellow-hover);
    padding-left: 18px !important;
  }
  .welcome-grid {
    gap: 56px;
  }
  .why-layout {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 50px;
  }
  .education-system-grid {
    grid-template-columns: minmax(370px, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
  }
  .education-collage {
    min-height: 460px;
  }
  .education-photo-tall {
    width: 210px;
    height: 335px;
  }
  .education-photo-round {
    left: 230px;
    right: auto;
    width: 175px;
  }
  .education-photo-soft {
    left: 230px;
    right: auto;
    top: 195px;
    width: 220px;
    height: 190px;
  }
  .academics-feature {
    gap: 52px;
  }
  /* Facility bento — slightly reduced rows at 1100px */
  .facility-bento {
    grid-template-rows: 280px 200px;
  }
  .facility-support {
    grid-template-columns: 200px 1fr;
  }
  .board-card {
    right: 0;
  }
  .life-editorial {
    gap: 54px;
  }
  .community-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 48px;
  }
  .community-visual {
    min-height: 420px;
  }
  .community-photo {
    width: min(370px, 88%);
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 40px;
  }
  /* squeezed into a third of the width the brand copy runs far taller than
     the link columns, so give it the full row and let the links sit under it */
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 640px;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }
  .container {
    width: min(100% - 28px, var(--container));
  }
  .section {
    padding: 64px 0;
  }
  .academics {
    padding: 58px 0;
  }
  .utility-inner {
    justify-content: center;
  }
  .utility-links {
    display: none;
  }
  .nav-wrap {
    min-height: 74px;
  }
  .brand {
    min-width: 0;
  }
  .brand img {
    width: 62px;
    height: 62px;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .brand-copy small {
    font-size: 10px;
  }
  /* nav top is handled by full-height panel, no override needed */

  .welcome-grid,
  .why-layout,
  .education-system-grid,
  .academics-feature,
  .life-editorial,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .welcome-visual,
  .life-visual {
    min-height: 440px;
  }
  .academics-visual {
    min-height: 360px;
  }
  .welcome-copy {
    max-width: none;
  }
  .visual-arrow {
    display: none;
  }
  .why-wash {
    left: 0;
    clip-path: polygon(0 26%, 100% 18%, 100% 100%, 0 100%);
  }
  .why-intro {
    position: static;
  }
  .why-photo {
    width: 100%;
    max-width: 520px;
  }
  .why-reasons {
    margin-top: 6px;
  }
  .education-system {
    padding: 64px 0;
  }
  .education-collage {
    min-height: 460px;
  }
  .education-content {
    max-width: none;
  }
  .reason:nth-child(even) {
    transform: none;
  }
  .academics-copy {
    order: 1;
  }
  .academics-visual {
    order: 2;
  }
  .learning-path {
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
  }
  /* Facility — 2-column tablet bento */
  .facility-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .facility-header-desc {
    max-width: 520px;
  }
  .facility-bento {
    /* Lab: full width top; Library right of lab; Playground + Stage bottom */
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: 280px 200px;
    gap: 8px;
  }
  .tile-lab {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
  }
  .tile-library {
    grid-column: 6 / 11;
    grid-row: 1 / 2;
  }
  .tile-playground {
    grid-column: 6 / 9;
    grid-row: 2 / 3;
  }
  .tile-stage {
    grid-column: 9 / 11;
    grid-row: 2 / 3;
  }
  .facility-support {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .life-copy {
    order: 1;
  }
  .life-visual {
    order: 2;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    align-items: stretch;
    min-height: 0;
  }
  .gallery-item {
    grid-row: auto;
    grid-column: auto;
    height: 260px;
    align-self: auto;
  }
  .gallery-edge strong {
    font-size: 16px;
  }
  .community-section {
    padding: 62px 0;
  }
  .community-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .community-visual {
    width: min(100%, 560px);
    justify-self: center;
    min-height: 430px;
    margin-inline: auto;
  }
  .community-photo {
    width: min(390px, 82%);
  }
  .community-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 52px 0;
  }
  .academics {
    padding: 48px 0;
  }
  /* Show the school's full name on small screens, sized to fit beside the
     emblem without crowding the menu button. */
  .brand-copy small {
    font-size: 9.5px;
    letter-spacing: 0.03em;
    line-height: 1.25;
    white-space: normal;
  }
  .brand-copy strong {
    font-size: 13px;
  }
  .brand img {
    width: 54px;
    height: 54px;
    margin-right: 10px;
  }
  .nav-wrap {
    gap: 12px;
  }
  .section-heading h2,
  .welcome-copy h2,
  .why-intro h2,
  .education-content h2,
  .academics-copy h2,
  .life-copy h2,
  .gallery-heading h2 {
    font-size: 34px;
  }
  .hero-edge {
    height: 18px;
  }
  .welcome-visual {
    min-height: 370px;
  }
  .photo-shape-main {
    inset: 10px 28px 50px 0;
    border-width: 6px;
  }
  .photo-shape-crop {
    width: 135px;
    height: 135px;
    border-width: 6px;
  }
  .experience-badge {
    width: 100px;
    left: -4px;
  }
  .experience-badge strong {
    font-size: 23px;
  }
  .visual-dots {
    right: 5px;
    top: 8px;
  }
  .value-matrix {
    grid-template-columns: 1fr;
  }
  .why-reasons {
    grid-template-columns: 1fr;
  }
  .reason:nth-child(odd) {
    border-right: 0;
  }
  .reason:nth-child(even) {
    padding-left: 18px;
  }
  .reason {
    min-height: auto;
    padding: 23px 18px;
  }
  .reason p {
    grid-column: 1 / -1;
    padding-left: 60px;
  }
  .education-system {
    padding: 52px 0;
  }
  .education-system-grid {
    gap: 28px;
  }
  .education-collage {
    width: min(100%, 360px);
    min-height: 360px;
  }
  .education-photo {
    border-width: 4px;
  }
  .education-photo-tall {
    left: 0;
    top: 36px;
    width: 155px;
    height: 260px;
    border-radius: 80px 10px 10px 80px;
  }
  .education-photo-round {
    left: 175px;
    right: auto;
    width: 130px;
  }
  .education-photo-soft {
    left: 175px;
    right: auto;
    top: 165px;
    bottom: auto;
    width: 175px;
    height: 150px;
    border-radius: 10px 82px 82px 82px;
  }
  .education-dots {
    left: 120px;
    top: 16px;
    width: 68px;
    height: 68px;
  }
  .education-seal {
    left: 4px;
    bottom: 2px;
    grid-template-columns: 38px 1fr;
    gap: 9px;
    min-width: 164px;
    padding: 9px 11px 9px 9px;
  }
  .education-seal > span {
    width: 38px;
    height: 38px;
  }
  .education-seal strong {
    font-size: 14px;
  }
  .education-seal small {
    font-size: 10px;
  }
  .education-intro {
    font-size: 15px;
  }
  .education-benefits {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .education-content blockquote {
    grid-template-columns: 28px 1fr;
    padding: 16px;
  }
  .education-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .academics-visual {
    min-height: 310px;
  }
  .academic-photo-main {
    inset: 8px 0 38px 34px;
    border-width: 5px;
  }
  .academic-photo-mini {
    width: 125px;
    height: 95px;
    border-width: 5px;
  }
  .board-card {
    right: 0;
    top: 30px;
    width: 140px;
    padding: 12px;
  }
  .board-card strong {
    font-size: 15px;
  }
  .assessment-list {
    grid-template-columns: 1fr;
  }
  .learning-path {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 38px;
  }
  .path-step {
    min-height: auto;
    padding: 18px;
  }
  /* Facility — single-column mobile */
  .facility-header {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .facility-bento {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  .facility-tile {
    position: relative;
    border-radius: 6px;
  }
  /* 16:9 ratio for all tiles on mobile */
  .tile-lab,
  .tile-library,
  .tile-playground,
  .tile-stage {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    height: auto;
  }
  /* Smaller text on narrow screens */
  .ftile-title {
    font-size: 18px;
  }
  .ftile-cat {
    font-size: 11px;
  }
  .facility-support {
    padding: 18px;
    border-radius: 6px;
  }
  .facility-index {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .facility-index > div {
    font-size: 10.5px;
    padding: 7px 9px;
  }
  .life-visual {
    min-height: 390px;
  }
  .life-photo-main {
    inset: 0 28px 50px 0;
    border-width: 5px;
  }
  .life-photo-small {
    width: 145px;
    height: 125px;
    border-width: 5px;
  }
  .life-note {
    right: 0;
    top: 14px;
    font-size: 11px;
  }
  .activity-list {
    grid-template-columns: 1fr;
  }
  .activity-list span:nth-child(odd) {
    margin-right: 0;
  }
  .program-cards {
    grid-template-columns: 1fr;
  }
  .gallery-editorial {
    width: min(100% - 28px, 1180px);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item {
    grid-column: auto;
    grid-row: auto;
    height: 250px;
    align-self: auto;
  }
  .community-section {
    padding: 52px 0;
  }
  .community-layout {
    gap: 30px;
  }
  .community-visual {
    min-height: 350px;
  }
  .community-photo {
    width: min(300px, 84%);
    border-width: 5px;
  }
  .community-dots {
    width: 82px;
    height: 82px;
    top: 22px;
  }
  .community-call {
    left: 2px;
    bottom: 2px;
    min-width: 190px;
    padding: 10px 13px 10px 10px;
  }
  .community-call > span {
    width: 42px;
    height: 42px;
  }
  .community-copy h2 {
    font-size: 34px;
  }
  .community-lead {
    font-size: 15px;
  }
  .community-point {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }
  .community-point-icon {
    width: 44px;
    height: 44px;
  }
  .community-arrow {
    display: none;
  }
  .community-point h3 {
    font-size: 15px;
  }
  .community-point p {
    font-size: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
  .floating-call {
    width: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-call b {
    display: none;
  }
}

/* ---------- DROPDOWN NAVIGATION ---------- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 31px 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--orange);
  transition: right 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown-toggle.active::after {
  right: 18px;
}
.nav-chevron {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 60;
  min-width: 262px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(10, 27, 51, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s;
}
.main-nav .nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: normal;
  transition:
    color 0.16s ease,
    background 0.16s ease;
}
.main-nav .nav-dropdown-menu a::after {
  display: none;
}
.main-nav .nav-dropdown-menu a:hover {
  color: var(--blue);
  background: rgba(27, 75, 143, 0.07);
}
.main-nav .nav-dropdown-menu a.active {
  color: var(--blue-deep);
  background: rgba(254, 198, 41, 0.24);
}

/* Tighter desktop nav so eight items plus the CTA fit the bar */
@media (min-width: 1201px) {
  .main-nav {
    gap: clamp(12px, 1.5vw, 21px);
    font-size: 14.5px;
  }
  .brand {
    min-width: 0;
  }
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }
  .utility-links span {
    display: none;
  }
  /* The drawer is a child of .site-header. A backdrop-filter on an ancestor
     makes that ancestor the containing block for position: fixed descendants,
     which trapped the drawer inside the 75px-tall header. The header is
     already 97% opaque, so dropping the blur here costs nothing visually. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 86vw);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 0 0;
    color: var(--white);
    background: var(--blue-deep);
    box-shadow: -24px 0 60px rgba(10, 27, 51, 0.36);
    overflow-y: auto;
    /* Closed: taken out of flow entirely, so it adds nothing to the page's
       scrollable width. Parking it off-screen with a transform instead would
       widen the document, and clipping that away also clips the drawer when
       it opens, because it is position: fixed. */
    display: none;
    transform: none;
  }
  .main-nav.open {
    display: flex;
    animation: nav-slide-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes nav-slide-in {
    from {
      transform: translateX(105%);
    }
    to {
      transform: translateX(0);
    }
  }
  .nav-dropdown {
    position: static;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 16px 24px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-dropdown-toggle::after {
    display: none;
  }
  .nav-dropdown-toggle[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
  }
  .nav-dropdown:hover .nav-chevron {
    transform: none;
  }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.22);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }
  .main-nav .nav-dropdown-menu a {
    padding: 13px 24px 13px 38px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
  }
  .main-nav .nav-dropdown-menu a:hover,
  .main-nav .nav-dropdown-menu a.active {
    color: var(--yellow);
    background: rgba(255, 255, 255, 0.06);
  }
}

/* ---------- RESULTS POPUP (home page, shown once per visitor) ---------- */
.result-popup {
  position: fixed;
  inset: 0;
  z-index: 900; /* under .lightbox (1000) so a sheet can open full size above it */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 27, 51, 0.82);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.result-popup.open {
  display: flex;
  animation: result-fade 0.25s ease;
}
@keyframes result-fade {
  from {
    opacity: 0;
  }
}
.result-popup-panel {
  position: relative;
  width: min(1060px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 34px 30px;
  background: var(--paper);
  border-radius: 24px;
  border-bottom: 7px solid var(--yellow);
  box-shadow: 0 40px 90px rgba(10, 27, 51, 0.4);
  animation: result-rise 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes result-rise {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
}
.result-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.result-popup-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}
.result-popup-close .lucide {
  width: 20px;
  height: 20px;
}
.result-popup-head {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: center;
}
.result-popup-head .eyebrow {
  justify-content: center;
}
.result-popup-head h2 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.result-popup-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
}
.result-popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.result-sheet {
  --accent: var(--blue);
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 16px;
  cursor: zoom-in;
  box-shadow: 0 12px 30px rgba(10, 27, 51, 0.12);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}
.result-sheet:nth-child(2) {
  --accent: var(--orange);
}
.result-sheet:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(10, 27, 51, 0.2);
}
.result-sheet img {
  width: 100%;
  height: auto;
}
.result-sheet span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.result-sheet span .lucide {
  width: 17px;
  height: 17px;
}

/* Poster variant - a designed invitation already carries its own headings and
   layout, so the panel steps out of the way and only sizes the image to fit. */
.result-popup.is-poster {
  padding: 30px 24px;
}
.result-popup.is-poster .result-popup-panel {
  width: auto;
  max-width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0;
  background: none;
  border-bottom: 0;
  box-shadow: none;
}
.popup-poster {
  display: block;
  /* auto on both axes so the max-* pair fits any poster shape on any screen -
     no cropping, no scrolling, no dependence on the file's exact dimensions */
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 60px);
  max-height: calc(100dvh - 60px);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(10, 27, 51, 0.4);
}
/* sits on the corner rather than over the artwork */
.result-popup.is-poster .result-popup-close {
  top: -10px;
  right: -10px;
  border: 3px solid var(--white);
  box-shadow: 0 8px 20px rgba(10, 27, 51, 0.45);
}

@media (max-width: 720px) {
  .result-popup {
    padding: 14px;
  }
  .result-popup-panel {
    padding: 26px 18px 22px;
    max-height: calc(100vh - 28px);
  }
  .result-popup-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .result-popup.is-poster {
    /* keeps clearance for the overhanging close button */
    padding: 26px 18px;
  }
  .popup-poster {
    max-height: calc(100vh - 52px);
    max-height: calc(100dvh - 52px);
  }
}

/* ---------- KEYBOARD FOCUS (audit §8) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.lightbox-close:focus-visible,
.result-popup-close:focus-visible,
.back-to-top:focus-visible {
  outline-offset: 4px;
}
