:root {
  --navy: #2f175f;
  --navy-deep: #1e0f48;
  --blue: #8d1a52;
  --accent: #d5046b;
  --accent-dark: #9b0058;
  --yellow: #ef7b0b;
  --cream: #fbf7f4;
  --paper: #ffffff;
  --ink: #26183f;
  --muted: #667085;
  --line: #e4e7ec;
  --shadow: 0 26px 70px rgba(30, 15, 72, 0.14);
  --shell: min(1200px, calc(100% - 48px));
}

.archive-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1e0f48, #8d1a52);
  text-align: center;
}

.archive-summary strong { display: block; font-size: clamp(28px, 4vw, 46px); }
.archive-summary span { display: block; opacity: .88; }
.archive-notice { margin: 0 0 38px; padding: 22px 24px; border-left: 5px solid #ef7b0b; background: #fff6e9; }
.archive-notice h2 { margin-top: 0; }
.archive-resources { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 42px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.archive-card { padding: 22px; border: 1px solid rgba(30, 15, 72, .13); border-radius: 16px; background: #fff; box-shadow: 0 12px 35px rgba(30, 15, 72, .06); }
.archive-card span, .archive-card small { color: #6e6879; }
.archive-card h3 { margin: 8px 0; font-size: 19px; }
.archive-card a { color: #1e0f48; }
.archive-section-title { margin-top: 54px; }
.article-shell { max-width: 920px; }
.article-lead { font-size: 21px; color: #8d1a52; }
.rich-copy p { white-space: pre-line; }
.legacy-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.legacy-media-grid figure { margin: 0; }
.legacy-media-grid img { width: 100%; height: auto; border-radius: 14px; }
.legacy-media-grid figcaption { padding: 8px 3px; color: #625b6b; }
.legacy-media-grid figcaption small { display: block; }
.legacy-media-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legacy-media-grid--all img { aspect-ratio: 4 / 3; object-fit: cover; }
.legacy-components { margin-top: 40px; padding: 24px; border-radius: 16px; background: #f5f2f8; }
.legacy-components code { overflow-wrap: anywhere; white-space: normal; }
.legacy-form-record { margin-top: 38px; padding: 24px; border: 1px solid rgba(30, 15, 72, .13); border-radius: 16px; }
.legacy-form-record dl div { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(30, 15, 72, .1); }
.legacy-form-record dt { font-weight: 700; color: #1e0f48; }
.legacy-form-record dd { margin: 0; }
.archive-back { margin-top: 40px; }

.application-section { background: linear-gradient(180deg, #fbf7f4, #fff); }
.application-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
.application-guidance { position: sticky; top: 110px; padding: 30px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, #1e0f48, #8d1a52); box-shadow: var(--shadow); }
.application-guidance h2 { color: #fff; }
.application-guidance a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.application-guidance li { margin-bottom: 8px; }
.application-card { padding: clamp(24px, 5vw, 48px); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.application-card > h2 { margin-top: 0; color: var(--navy-deep); font-size: clamp(28px, 4vw, 40px); }
.form-intro { margin-top: -12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--navy-deep); font-weight: 700; }
.field label::after { content: " *"; color: var(--accent); }
.field:has(textarea[name="Message"]) label::after { content: ""; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbc6d5; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(213, 4, 107, .16); border-color: var(--accent); }
.field-validation-error, .validation-summary { color: #a40031; font-size: 14px; }
.validation-summary:empty { display: none; }
.validation-summary ul { margin: 0 0 18px; padding: 14px 30px; border-radius: 10px; background: #fff0f3; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 4px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.form-submit { margin-top: 24px; border: 0; cursor: pointer; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.form-success { padding: 28px 0; text-align: center; }
.form-success > span { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 36px; }
.form-success h2 { color: var(--navy-deep); font-size: 34px; }
.page-cta { margin-top: 42px; padding: 28px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--blue)); }
.page-cta h2 { margin-top: 0; color: #fff; }
.page-cta .button { margin-top: 8px; }

@media (max-width: 900px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-layout { grid-template-columns: 1fr; }
  .application-guidance { position: static; }
}

@media (max-width: 640px) {
  .archive-summary, .archive-grid, .legacy-media-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-deep);
  background: var(--yellow);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(30, 15, 72, 0.12);
  box-shadow: 0 10px 32px rgba(30, 15, 72, 0.08);
}

.header-inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand > img {
  width: 225px;
  height: auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 48% 52% 55% 45% / 48% 42% 58% 52%;
  transform: rotate(-6deg);
}

.brand-mark b {
  font-size: 16px;
  letter-spacing: -0.08em;
  transform: rotate(6deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: 0.14em;
}

.brand-copy small {
  max-width: 230px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.primary-nav > a:not(.nav-action),
.nav-group > summary {
  position: relative;
  padding-block: 14px;
}

.primary-nav > a:not(.nav-action)::after,
.nav-group > summary::before {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-group {
  position: relative;
}

.nav-group > summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  color: var(--accent);
  content: "+";
  font-size: 16px;
  line-height: 1;
}

.nav-group[open] > summary::after {
  content: "−";
}

.nav-group[open] > summary::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -22px;
  display: grid;
  min-width: 260px;
  padding: 12px;
  color: var(--navy-deep);
  background: white;
  border: 1px solid rgba(30, 15, 72, 0.1);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.nav-dropdown::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
}

.nav-dropdown a {
  padding: 11px 13px;
  border-radius: 6px;
}

.nav-dropdown a:hover {
  color: var(--accent-dark);
  background: var(--cream);
}

.nav-action {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  align-items: center;
  gap: 12px;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(213, 4, 107, 0.24);
}

.nav-action:hover {
  background: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 9px;
  background: rgba(30, 15, 72, 0.05);
  border: 1px solid rgba(30, 15, 72, 0.2);
  border-radius: 8px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.school-hero {
  position: relative;
  display: flex;
  min-height: 830px;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy-deep);
}

.school-hero__image,
.school-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.school-hero__image {
  object-fit: cover;
  object-position: center 42%;
}

.school-hero__shade {
  background: linear-gradient(90deg, rgba(30, 15, 72, 0.94) 0%, rgba(47, 23, 95, 0.74) 45%, rgba(30, 15, 72, 0.18) 78%), linear-gradient(0deg, rgba(30, 15, 72, 0.4), transparent 44%);
}

.school-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

.hero-kicker,
.section-label {
  display: flex;
  margin: 0 0 24px;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--yellow);
}

.hero-kicker::before,
.section-label::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

.school-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(54px, 6.4vw, 94px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.school-hero__intro {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--accent {
  color: white;
  background: var(--accent);
}

.button--accent:hover {
  background: var(--accent-dark);
}

.button--outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.13);
}

.button--light {
  color: var(--navy-deep);
  background: white;
}

.school-hero__caption {
  position: absolute;
  z-index: 2;
  right: 5vw;
  bottom: 58px;
  width: min(360px, 30vw);
  padding: 25px 28px;
  background: rgba(47, 23, 95, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.school-hero__caption span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.school-hero__caption p {
  margin: 9px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.quick-links {
  position: relative;
  z-index: 5;
  background: white;
  box-shadow: 0 16px 50px rgba(30, 15, 72, 0.08);
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-link {
  display: grid;
  min-height: 154px;
  padding: 30px 34px;
  align-items: center;
  grid-template-columns: 36px 1fr 24px;
  gap: 20px;
  border-right: 1px solid var(--line);
  transition: color 180ms ease, background-color 180ms ease;
}

.quick-link:first-child {
  border-left: 1px solid var(--line);
}

.quick-link > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.quick-link strong,
.quick-link small {
  display: block;
}

.quick-link strong {
  margin-bottom: 7px;
  font-size: 19px;
}

.quick-link small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.quick-link b {
  color: var(--accent);
  font-size: 21px;
}

.quick-link:hover {
  color: white;
  background: var(--navy);
}

.quick-link:hover small,
.quick-link:hover > span,
.quick-link:hover b {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: clamp(90px, 10vw, 140px) 0;
}

.school-intro {
  background: var(--cream);
}

.split-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.85fr);
  gap: clamp(55px, 8vw, 110px);
}

.photo-frame {
  position: relative;
  padding: 0 34px 34px 0;
}

.photo-frame::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 65%;
  background: var(--yellow);
  border-radius: 10px;
  content: "";
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.photo-frame__badge {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  width: 190px;
  min-height: 112px;
  padding: 22px;
  justify-content: center;
  flex-direction: column;
  color: white;
  background: var(--accent);
  border-radius: 10px 0 0 10px;
}

.photo-frame__badge strong {
  font-size: 24px;
  letter-spacing: 0.12em;
}

.photo-frame__badge span {
  margin-top: 4px;
  font-size: 12px;
}

.section-copy h2,
.section-heading h2,
.admissions-layout h2,
.contact-banner h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 780;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-copy > p:not(.section-label) {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  margin: 34px 0 30px;
  border-top: 1px solid var(--line);
}

.feature-list > div {
  display: grid;
  padding: 17px 0;
  grid-template-columns: 46px 1fr;
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.campus-section {
  background: white;
}

.section-heading {
  display: grid;
  margin-bottom: 58px;
  align-items: end;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.48fr);
  gap: 70px;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
}

.campus-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, minmax(270px, 1fr));
  gap: 22px;
}

.campus-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border-radius: 12px;
}

.campus-card--wide {
  grid-row: 1 / 3;
}

.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.campus-card:hover img {
  transform: scale(1.035);
}

.campus-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 20px 22px;
  color: white;
  background: rgba(30, 15, 72, 0.84);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.campus-card figcaption span,
.campus-card figcaption strong {
  display: block;
}

.campus-card figcaption span {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.campus-card figcaption strong {
  margin-top: 4px;
  font-size: 20px;
}

.campus-card--color {
  display: flex;
  padding: 42px;
  justify-content: space-between;
  flex-direction: column;
  color: var(--navy-deep);
  background: var(--yellow);
}

.campus-card--color blockquote {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.campus-card--color > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admissions-section {
  color: white;
  background: var(--navy);
}

.admissions-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.65fr);
  gap: clamp(70px, 11vw, 150px);
}

.section-label--light {
  color: var(--yellow);
}

.admissions-layout > div > p:not(.section-label) {
  max-width: 600px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.admissions-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.admissions-steps li {
  display: grid;
  padding: 25px 0;
  grid-template-columns: 58px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.admissions-steps li > span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
}

.admissions-steps strong {
  font-size: 18px;
}

.admissions-steps p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.updates-section {
  background: var(--cream);
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.update-card {
  display: flex;
  min-height: 350px;
  padding: 34px;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(30, 15, 72, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.update-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.update-card > p {
  margin: 0;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 62px 0 16px;
  font-size: 27px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.update-card > span {
  color: var(--muted);
  font-size: 15px;
}

.update-card > a {
  display: flex;
  margin-top: auto;
  padding-top: 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  border-top: 1px solid var(--line);
}

.update-card > a b {
  color: var(--accent);
  font-size: 20px;
}

.contact-banner {
  padding: 72px 0;
  color: white;
  background: var(--accent);
}

.contact-banner__inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 50px;
}

.contact-banner h2 {
  font-size: clamp(38px, 4.5vw, 58px);
}

.contact-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 82px 0 28px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  padding-bottom: 62px;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(140px, 0.6fr));
  gap: 48px;
}

.brand--footer {
  width: fit-content;
  padding: 9px 12px;
  background: white;
  border-radius: 8px;
}

.brand--footer > img {
  width: 210px;
}

.footer-about > p {
  max-width: 440px;
  margin: 27px 0 0;
}

.footer-grid h2 {
  margin: 0 0 21px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.page-hero {
  position: relative;
  min-height: 520px;
  padding: 190px 0 90px;
  overflow: hidden;
  color: white;
  background: linear-gradient(90deg, rgba(30, 15, 72, 0.97), rgba(141, 26, 82, 0.74)), url("/images/mindu-hero.jpg") center 42% / cover;
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 430px;
  height: 430px;
  border: 75px solid rgba(239, 123, 11, 0.16);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(52px, 6.5vw, 86px);
}

.page-hero__inner > p:last-child {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.page-hero .hero-actions {
  position: relative;
  z-index: 3;
}

.legal-copy,
.news-listing {
  min-height: 480px;
  padding: 95px 0 130px;
  background: white;
}

.legal-copy__grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 740px);
  gap: 90px;
}

.legal-copy aside {
  display: flex;
  height: max-content;
  padding: 27px;
  flex-direction: column;
  color: var(--navy-deep);
  background: var(--yellow);
  border-radius: 8px;
}

.legal-copy aside span {
  margin-top: 6px;
  font-size: 13px;
}

.legal-copy article h2 {
  margin: 0 0 13px;
  font-size: 29px;
  letter-spacing: -0.025em;
}

.legal-copy article h2:not(:first-child) {
  margin-top: 44px;
}

.legal-copy article p {
  color: var(--muted);
  font-size: 17px;
}

.legal-copy article a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.editorial-layout {
  display: grid;
  padding-block: clamp(75px, 9vw, 130px);
  justify-content: center;
  grid-template-columns: 230px minmax(0, 740px);
  gap: clamp(50px, 8vw, 110px);
}

.editorial-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-meta::before {
  width: 58px;
  height: 3px;
  background: var(--accent);
  content: "";
}

.editorial-meta a {
  color: var(--navy);
  text-decoration: none;
}

.editorial-meta nav {
  display: grid;
  width: 100%;
  margin-top: 8px;
  gap: 2px;
  letter-spacing: 0;
  text-transform: none;
}

.editorial-meta nav a {
  padding: 9px 12px;
  border-left: 2px solid var(--line);
}

.editorial-meta nav a:hover {
  color: var(--accent-dark);
  background: white;
  border-left-color: var(--accent);
}

.prose {
  color: #344054;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.9;
}

.prose__body {
  white-space: normal;
}

.prose__body h2 {
  margin: 2.5em 0 0.65em;
  color: var(--navy-deep);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.prose__body h2:first-child {
  margin-top: 0;
}

.prose__body p {
  margin: 0 0 1.45em;
  white-space: pre-line;
}

.prose__body ul {
  display: grid;
  padding: 0;
  margin: 1.25em 0 2em;
  gap: 12px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  list-style: none;
}

.prose__body li {
  position: relative;
  padding: 15px 18px 15px 48px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.6;
}

.prose__body li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent);
  content: "◆";
  font-size: 14px;
}

.certificate-card {
  margin: 0 0 55px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 55px rgba(30, 15, 72, 0.08);
}

.certificate-card a {
  display: block;
  overflow: hidden;
  background: #f3f4f6;
  border-radius: 6px;
}

.certificate-card img {
  width: 100%;
  height: auto;
}

.certificate-card figcaption {
  padding: 15px 4px 1px;
  color: var(--muted);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.page-hero--gallery {
  background: linear-gradient(90deg, rgba(30, 15, 72, 0.96), rgba(141, 26, 82, 0.64)), url("/images/campus-hero.jpg") center 40% / cover;
}

.gallery-intro {
  display: grid;
  padding: 100px 0 55px;
  align-items: end;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
}

.gallery-intro h2 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.gallery-intro > p {
  color: var(--muted);
  font-size: 17px;
}

.gallery-grid {
  display: grid;
  padding-bottom: 120px;
  grid-auto-rows: 340px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy-deep);
  border-radius: 10px;
}

.gallery-item--hero {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 60px 28px 26px;
  justify-content: space-between;
  gap: 25px;
  color: white;
  background: linear-gradient(transparent, rgba(30, 15, 72, 0.9));
}

.gallery-item figcaption strong {
  font-size: 22px;
}

.gallery-item figcaption span {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

.gallery-cta {
  padding: 75px 0;
  color: white;
  background: linear-gradient(115deg, var(--navy-deep), var(--blue));
}

.gallery-cta__inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 50px;
}

.gallery-cta h2 {
  font-size: clamp(36px, 4vw, 56px);
}

.gallery-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  min-height: 370px;
  padding: clamp(28px, 4vw, 48px);
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.news-card__meta,
.article-heading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-heading-meta {
  color: var(--yellow);
}

.news-card h2 {
  margin: 50px 0 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.news-card > p {
  color: var(--muted);
}

.news-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

.empty-public-state {
  max-width: 760px;
  padding: 20px 0 70px;
}

.empty-public-state h2 {
  margin: 16px 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.empty-public-state > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.error-reference {
  font-size: 0.82rem !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 94px;
    right: 24px;
    left: 24px;
    display: none;
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    color: white;
    background: var(--navy);
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 8px;
  }

  .nav-group > summary {
    padding: 11px 8px;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 8px 12px;
    padding: 4px 8px 8px;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.13);
    box-shadow: none;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-action {
    margin-top: 8px;
    justify-content: center;
  }

  .school-hero__caption {
    display: none;
  }

  .quick-links__grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .quick-link,
  .quick-link:first-child {
    min-height: 128px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .split-grid,
  .section-heading,
  .admissions-layout,
  .contact-banner__inner {
    grid-template-columns: 1fr;
  }

  .split-grid,
  .admissions-layout {
    gap: 64px;
  }

  .section-heading,
  .contact-banner__inner {
    gap: 35px;
  }

  .campus-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(430px, 1fr) minmax(270px, 0.65fr);
  }

  .campus-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .gallery-intro,
  .gallery-cta__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 30px, 1200px);
  }

  .header-inner {
    min-height: 80px;
  }

  .brand > img {
    width: 182px;
  }

  .primary-nav {
    top: 80px;
    right: 15px;
    left: 15px;
  }

  .school-hero {
    min-height: 760px;
  }

  .school-hero__image {
    object-position: 62% center;
  }

  .school-hero__shade {
    background: linear-gradient(90deg, rgba(30, 15, 72, 0.93), rgba(30, 15, 72, 0.58)), linear-gradient(0deg, rgba(30, 15, 72, 0.5), transparent);
  }

  .school-hero__content {
    padding-top: 92px;
  }

  .school-hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-actions,
  .contact-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quick-link {
    padding: 25px 21px;
    grid-template-columns: 28px 1fr 20px;
    gap: 13px;
  }

  .section {
    padding: 82px 0;
  }

  .photo-frame {
    padding: 0 18px 18px 0;
  }

  .photo-frame__badge {
    right: 0;
    bottom: 38px;
    width: 155px;
    min-height: 92px;
    padding: 16px;
  }

  .photo-frame__badge strong {
    font-size: 19px;
  }

  .campus-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .campus-card,
  .campus-card--wide {
    min-height: 310px;
    grid-column: auto;
  }

  .campus-card--color {
    min-height: 280px;
    padding: 32px;
  }

  .footer-grid,
  .legal-copy__grid,
  .news-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .gallery-intro {
    padding: 72px 0 42px;
  }

  .gallery-grid {
    padding-bottom: 85px;
    grid-auto-rows: 320px;
  }

  .gallery-item--hero {
    grid-column: auto;
    grid-row: span 1;
  }

  .gallery-item figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .gallery-item figcaption span {
    text-align: left;
  }

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

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .page-hero {
    min-height: 470px;
    padding: 155px 0 70px;
  }

  .legal-copy,
  .news-listing {
    padding: 70px 0 95px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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