.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.55rem 1.05rem;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover {
  background: #1c2d5c;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(8, 18, 44, 0.2);
}

.btn-gold {
  background: var(--gold-bar);
  color: var(--navy-deep);
  border-color: var(--gold-bar);
}

.btn-gold:hover {
  background: var(--gold-bright);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(200, 148, 46, 0.4);
}

.btn-line {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--line);
}

.btn-line:hover {
  background: color-mix(in srgb, var(--navy) 6%, transparent);
  color: var(--link-hover);
}

.btn-small {
  min-height: 2.35rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.95rem;
}

.text-link {
  color: var(--link);
  font-weight: 700;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}

.text-link:hover {
  color: var(--link-hover);
}

.campus-card-media img {
  transition: transform 0.55s var(--ease);
}

.campus-card:hover .campus-card-media img,
.campus-card:focus-within .campus-card-media img {
  transform: scale(1.04);
}

.campus-card-hit:focus-visible .campus-card-media img {
  transform: scale(1.02);
}

.hero {
  padding-top: 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.15fr);
  gap: 2.4rem;
  align-items: end;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-media {
  margin: 0;
}

.hero-media img,
.frame img {
  width: 100%;
  height: auto;
}

.hero-media figcaption,
.caption,
figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stage-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.stage-strip a {
  display: block;
  padding: 1rem 1rem 1rem 0;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.stage-strip a:last-child {
  border-right: 0;
  padding-right: 0;
}

.stage-strip strong {
  display: block;
  color: var(--text-strong);
}

.stage-strip span {
  color: var(--muted);
}

.stage-strip a:hover strong {
  text-decoration: underline;
}

.pathway {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.panel {
  padding: 1.45rem 1.35rem 1.3rem;
}

.panel p:last-child,
.panel h3 {
  margin-bottom: 0.65rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel-navy {
  background: var(--navy);
  color: #efeae1;
}

.panel-navy h3,
.panel-navy p {
  color: inherit;
}

.panel-navy .kicker {
  color: var(--gold-soft);
}

.panel-navy a {
  color: var(--gold-soft);
}

.panel-paper {
  background: var(--white);
  border: 1px solid var(--line);
}

.preview {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.preview figure {
  margin: 0;
}

.preview-main {
  grid-row: 1 / span 2;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-main img {
  min-height: 280px;
}

.close-band {
  padding-top: 3rem;
}

.close-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}

.close-inner p {
  max-width: 36rem;
  margin-bottom: 0;
}

.about-lead {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  align-items: start;
}

.mark {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem 0.85rem 0.45rem;
}

.mark img {
  width: 100%;
  height: auto;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.6rem 0 0;
}

.facts div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 0.9rem;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.facts dd {
  margin: 0.4rem 0 0;
  color: var(--text-strong);
  font-weight: 600;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 148, 46, 0.4);
}

.info-card h2 {
  margin: 0.15rem 0 0.55rem;
  font-size: 1.45rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.info-card-more {
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

.news-item {
  padding: 1.2rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-bar);
}

.news-item h2 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.45rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.news-item h2 a {
  color: inherit;
  text-decoration: none;
}

.news-item h2 a:hover {
  color: var(--link-hover);
}

.news-item .text-link,
.life-card .text-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.news-item .text-link:hover,
.life-card .text-link:hover {
  color: var(--text-strong);
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.life-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.life-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.life-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.life-card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.life-card-body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.life-card-body p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.stage-block {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 7.5rem;
}

.page-body > .stage-block:first-of-type,
.page-hero + .stage-block {
  border-top: 0;
  padding-top: 0.35rem;
}

.stage-section-title {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--heading);
}

.stage-groups,
.stage-subjects,
.stage-class-table-block,
.stage-photos {
  grid-column: 1 / -1;
}

.stage-class-table-block {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid var(--line);
}

.stage-class-table-wrap {
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
}

.stage-class-table-block + .stage-subjects {
  margin-top: 2rem;
  clear: both;
  position: relative;
  z-index: 1;
}

.stage-class-table td:nth-child(2) {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
}

.stage-groups {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.stage-group-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.stage-group {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1.05rem 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bar);
}

.stage-group-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--heading);
}

.stage-group-age {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-strong);
}

.stage-group-duration {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.stage-group-text {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.stage-subjects {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.stage-subjects-intro {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.stage-subject-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stage-subject-list li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.88rem;
}

.stage-subjects-note {
  margin: 0.95rem 0 0;
  font-size: 0.95rem;
  color: var(--text-strong);
  font-weight: 700;
}

.stage-subject-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.stage-subject-table-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.stage-subject-tables .stage-subject-table-wrap {
  height: 100%;
  min-height: 100%;
}

.stage-subject-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.stage-subject-tables .stage-subject-table {
  height: 100%;
}

.stage-subject-table col.stage-subject-col-no {
  width: 2.4rem;
}

.stage-subject-table col.stage-subject-col-subject {
  width: auto;
}

.stage-subject-table caption {
  caption-side: top;
  text-align: left;
  padding: 0.95rem 1rem 0.85rem;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  color: #fff;
}

.stage-subject-table-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.stage-subject-table-intro {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.stage-subject-table thead th {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 70%, var(--white));
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.stage-subject-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 600;
  vertical-align: middle;
}

.stage-subject-table tbody tr:last-child td {
  border-bottom: 0;
}

.stage-subject-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--paper) 45%, var(--white));
}

.stage-subject-table thead th:first-child,
.stage-subject-table tbody td:first-child {
  width: 2.4rem;
  padding-left: 0.55rem;
  padding-right: 0.25rem;
  text-align: center;
}

.stage-subject-no {
  width: 2.4rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.stage-subject-table tbody tr.is-spacer td {
  color: transparent;
  user-select: none;
  border-bottom: 1px solid var(--line);
}

.stage-subject-table tbody tr.is-spacer:nth-child(even) td {
  background: color-mix(in srgb, var(--paper) 45%, var(--white));
}

.stage-subject-table tbody tr.is-spacer:nth-child(odd) td {
  background: var(--white);
}

.stage-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.stage-photo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 0.9rem;
}

.stage-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0.9rem;
}

.years,
.grades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.years li,
.grades li {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-strong);
  padding: 0.28rem 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.55rem;
}

.stage-group,
.stage-subject-table-wrap,
.info-card {
  border-radius: 0.85rem;
}

.stage-subject-table caption {
  border-radius: 0.85rem 0.85rem 0 0;
}

.steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.steps .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.page-hero--campus {
  padding: 1.75rem 0 0.35rem;
}

.campus-cta {
  margin-top: 1.35rem;
  padding-top: 0;
}

.campus-cta-inner {
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding-top: 1.05rem;
}

.campus-cta-inner h2 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.campus-cta-inner p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.campus-cta-inner .btn {
  flex: 0 0 auto;
  width: auto;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .campus-cta-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 0.9rem;
  }

  .campus-cta-inner > div {
    flex: 1 1 12rem;
    min-width: 0;
  }
}

.campus-facilities-title {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.page-hero--campus .lede {
  margin: 0;
  font-size: 1.02rem;
  max-width: 34rem;
}

.section--campus {
  padding-top: 1.35rem;
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

@media (max-width: 1040px) {
  .campus-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.campus-card {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
  margin: 0;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(8, 18, 44, 0.06);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.campus-card:hover,
.campus-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
}

.campus-card-hit {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.campus-card-hit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.campus-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background: var(--navy-deep);
}

.campus-card-media img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.campus-card-caption {
  display: block;
  margin: 0;
  padding: 0.55rem 0.7rem 0.65rem;
  color: var(--text-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.lightbox {
  position: relative;
  width: min(100vw - 1rem, 72rem);
  max-width: calc(100vw - 1rem);
  height: min(100dvh - 1rem, 52rem);
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: #08122c;
  color: #f7f4ee;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(4, 10, 24, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "chrome chrome chrome"
    "prev stage next"
    "hint hint hint";
}

.lightbox-chrome {
  grid-area: chrome;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 18, 44, 0.96);
}

.lightbox-meta {
  margin: 0;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-meta-sep {
  margin-inline: 0.35rem;
  opacity: 0.45;
}

.lightbox-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f4ee;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.lightbox-btn:hover {
  background: rgba(232, 184, 74, 0.18);
  border-color: rgba(232, 184, 74, 0.55);
}

.lightbox-btn--close {
  font-size: 1.5rem;
}

.lightbox-nav {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f4ee;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.lightbox-nav svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.lightbox-nav:hover {
  background: rgba(232, 184, 74, 0.2);
  border-color: rgba(232, 184, 74, 0.45);
}

.lightbox-nav:focus-visible {
  outline: 2px solid rgba(232, 184, 74, 0.7);
  outline-offset: 2px;
}

.lightbox-nav--prev {
  grid-area: prev;
}

.lightbox-nav--next {
  grid-area: next;
}

.lightbox-stage {
  grid-area: stage;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  background: #050b18;
}

.lightbox-stage.is-dragging {
  cursor: grabbing;
}

.lightbox-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

.lightbox-hint {
  grid-area: hint;
  margin: 0;
  padding: 0.45rem 0.85rem 0.65rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(247, 244, 238, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "chrome chrome"
      "stage stage"
      "prev next";
    padding-bottom: env(safe-area-inset-bottom);
  }

  .lightbox-chrome {
    padding: 0.65rem 0.75rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    z-index: 3;
  }

  .lightbox-meta {
    font-size: 0.82rem;
  }

  .lightbox-tools {
    gap: 0.3rem;
  }

  .lightbox-btn {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
  }

  .lightbox-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .lightbox-stage img {
    max-width: calc(100% - 1rem);
    max-height: calc(100% - 1rem);
  }

  .lightbox-nav {
    position: static;
    z-index: 3;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    min-height: 3.35rem;
    height: 3.35rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(10, 18, 40, 0.96), rgba(6, 12, 28, 0.99));
    box-shadow: none;
    backdrop-filter: none;
    font-size: 0;
    gap: 0.45rem;
  }

  .lightbox-nav svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .lightbox-nav::after {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.78);
  }

  .lightbox-nav--prev {
    grid-area: prev;
    justify-self: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lightbox-nav--prev::after {
    content: "Prev";
  }

  .lightbox-nav--next {
    grid-area: next;
    justify-self: stretch;
  }

  .lightbox-nav--next::after {
    content: "Next";
  }

  .lightbox-nav:hover,
  .lightbox-nav:active {
    background: rgba(232, 184, 74, 0.16);
  }

  .lightbox-hint {
    display: none;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1rem;
}

.page-body--contact {
  padding: 1.75rem 0 0;
}

.contact-page {
  padding-bottom: 2.25rem;
}

.contact-intro {
  margin-bottom: 1.35rem;
  max-width: 34rem;
}

.contact-intro-title {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.65rem, 2.4vw, 2.05rem);
  font-weight: 600;
  color: var(--heading);
}

.contact-intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.contact-shell .contact-panel {
  order: 1;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  min-width: 0;
}

.contact-shell .contact-form {
  order: 2;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-bar);
  padding: 1.25rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  overflow-x: clip;
}

.contact-form-block {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-form-block + .contact-form-block {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
}

.contact-form-label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form .field {
  margin-bottom: 0.7rem;
  min-width: 0;
  max-width: 100%;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.contact-form .form-row .field {
  margin-bottom: 0;
}

.contact-form .form-row + .form-row {
  margin-top: 0.7rem;
}

.contact-form .form-row--message {
  flex: 1 1 auto;
  grid-template-rows: auto minmax(8rem, 1fr);
  min-height: 0;
  align-items: stretch;
}

.contact-form .field--message {
  min-height: 0;
  height: 100%;
}

.contact-form .field--message textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 8rem;
  height: 100%;
  resize: vertical;
}

.contact-form .field label {
  font-size: 0.9rem;
  margin-bottom: 0.28rem;
}

.field-optional {
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--white);
  border-color: color-mix(in srgb, var(--line) 70%, #c8bba8);
  padding: 0.62rem 0.72rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.35rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c1a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.75rem;
  text-overflow: ellipsis;
}

.year-picker {
  position: relative;
  min-width: 0;
}

.year-picker select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.year-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.72rem 2.35rem 0.72rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--line) 70%, #c8bba8);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230c1a3d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 0.75rem;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.year-picker-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.year-picker-trigger:hover {
  border-color: color-mix(in srgb, var(--navy) 28%, var(--line));
}

.year-picker-trigger:focus-visible,
.year-picker.is-open .year-picker-trigger {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(19, 42, 92, 0.12);
}

.year-picker-trigger.is-placeholder span {
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}

.year-picker-sheet[hidden] {
  display: none;
}

.year-picker-backdrop {
  display: none;
}

.year-picker-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  max-height: min(22rem, 70vh);
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(8, 18, 44, 0.16);
}

.year-picker-panel-head {
  display: none;
}

.year-picker-group {
  margin: 0;
  padding: 0.65rem 0.9rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 88%, var(--navy) 4%);
  border-top: 1px solid var(--line);
}

.year-picker-group:first-child {
  border-top: 0;
}

.year-picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.year-picker-option:hover,
.year-picker-option:focus-visible {
  background: color-mix(in srgb, var(--navy) 6%, var(--white));
  outline: none;
}

.year-picker-option.is-selected {
  background: color-mix(in srgb, var(--navy) 8%, var(--white));
  font-weight: 600;
  color: var(--navy);
}

.year-picker-option.is-selected::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-bar, #c9a227);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-bar, #c9a227) 25%, transparent);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: color-mix(in srgb, var(--navy) 28%, var(--line));
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(19, 42, 92, 0.12);
}

.contact-form textarea {
  min-height: 5.75rem;
}

.contact-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.contact-form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-form-note {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.4;
}

.contact-submit {
  flex: 0 0 auto;
  min-width: 9.5rem;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--paper);
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-panel-map {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-panel-map .map-embed.map-embed--panel {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  max-height: none;
  margin-top: 0;
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
  background: var(--navy-deep);
}

.contact-panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin: 0;
  padding: 1.05rem 1.1rem 1.1rem;
  min-height: 0;
}

.contact-panel-kicker {
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.55rem 0;
  border: 0;
  background: transparent;
}

.contact-channel + .contact-channel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.85rem;
  margin-top: 0.15rem;
}

.contact-channel--address {
  margin-top: 0.15rem;
}

.contact-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold-bright);
}

.contact-channel-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.contact-channel-body {
  min-width: 0;
  padding-top: 0.1rem;
}

.contact-channel-label {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-channels a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
  transition: color var(--dur) var(--ease);
}

.contact-channels a:hover,
.contact-panel-link:hover {
  color: var(--gold-soft);
}

.contact-channel-stack {
  display: grid;
  gap: 0.12rem;
}

.contact-channel-text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--paper) 92%, transparent);
}

.contact-channel address {
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--paper) 90%, transparent);
}

.contact-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.95rem;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}

.contact-panel-link::after {
  content: "→";
  font-size: 0.85em;
}

.map-section {
  padding-bottom: 2.5rem;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--white);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.details {
  margin: 0;
}

.details div + div {
  margin-top: 1rem;
}

.details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.details dd {
  margin: 0.2rem 0 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
  scroll-margin-top: calc(var(--header) + 1rem);
}

#enquiry {
  scroll-margin-top: calc(var(--header) + 1rem);
}

.field label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid #d5cbbd;
  border-radius: 0;
  padding: 0.68rem 0.7rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

select {
  appearance: none;
  -webkit-appearance: none;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
}

.field-error:empty {
  display: none;
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.banner {
  padding: 0.85rem 0.95rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.banner-ok {
  border-color: #b7d7c8;
  background: #f3faf6;
  color: var(--ok);
}

.banner-bad {
  border-color: #efc8c8;
  background: #fff6f6;
  color: var(--danger);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .hero-grid,
  .pathway,
  .preview,
  .about-lead,
  .facts,
  .stage-block,
  .stage-group-grid,
  .stage-subject-tables,
  .contact-grid,
  .contact-shell,
  .stage-strip,
  .form-row,
  .close-inner,
  .info-card-grid,
  .life-grid {
    grid-template-columns: 1fr;
  }

  .stage-photos {
    gap: 0.45rem;
  }

  .campus-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .campus-card-caption {
    padding: 0.45rem 0.55rem 0.55rem;
    font-size: 0.74rem;
  }

  .page-hero--campus {
    padding-top: 1.35rem;
  }

  .preview {
    grid-template-rows: auto;
  }

  .preview-main {
    grid-row: auto;
  }

  .stage-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }

  .close-inner {
    align-items: start;
  }

  .mark {
    width: 9.5rem;
  }

  .contact-page,
  .contact-shell,
  .contact-form {
    max-width: 100%;
    min-width: 0;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-shell .contact-panel,
  .contact-shell .contact-form {
    order: 0;
  }

  .contact-form {
    padding: 1.05rem 0.95rem 1.05rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 1rem;
  }

  .contact-form select {
    padding-right: 2.2rem;
  }

  .year-picker-trigger {
    min-height: 3.15rem;
    padding: 0.85rem 2.5rem 0.85rem 0.95rem;
    font-size: 1rem;
  }

  .year-picker-sheet:not([hidden]) {
    display: block;
  }

  .year-picker-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(4, 10, 24, 0.55);
    backdrop-filter: blur(3px);
  }

  .year-picker-panel {
    position: fixed;
    z-index: 90;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(78dvh, 36rem);
    border: 0;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -18px 48px rgba(8, 18, 44, 0.28);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .year-picker-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.95rem 1rem 0.75rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .year-picker-panel-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
  }

  .year-picker-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
  }

  .year-picker-panel-body {
    overflow: auto;
    max-height: calc(min(78dvh, 36rem) - 4.25rem);
    -webkit-overflow-scrolling: touch;
  }

  .year-picker-option {
    min-height: 3.1rem;
    padding: 0.95rem 1rem;
    font-size: 1.02rem;
  }

  .contact-form-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .contact-form-note {
    display: none;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-panel-map .map-embed.map-embed--panel {
    aspect-ratio: 1 / 1;
    max-height: min(100vw - 2rem, 22rem);
  }
}
