/* The original editorial palette and type pairing are retained from the React site. */
:root {
  color-scheme: light;
  --ink: #172b49;
  --navy: #1d3558;
  --gold: #d99b32;
  --paper: #f8f6f0;
  --muted-ink: #647184;
  --line: #e2e4e6;
  --app-font-sans: "DM Sans", Arial, sans-serif;
  --app-font-serif: "Manrope", Arial, sans-serif;
  --app-font-mono: "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--app-font-sans);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

img,
svg {
  display: block;
}

::selection {
  background: #f2d59d;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid #bc8128;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 5px 20px #172b4930;
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid #e8e9e8;
  background: #fff;
}

.topline {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5.5vw, 22px);
  background: var(--navy);
  color: #e8edf4;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.topline span:first-child {
  color: #f0c875;
  font-weight: 700;
}

.nav-wrap {
  display: flex;
  min-height: 83px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(5.5vw, 22px);
}

.brand,
.footer-brand {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f4e8cf;
  color: var(--navy);
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: var(--app-font-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.25;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 4px;
  color: #738093;
  font-size: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 27px);
}

.nav-link {
  padding: 12px 0;
  color: #4e5c6d;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #be7a12;
}

.nav-link.active {
  box-shadow: inset 0 -2px var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  background: #28456f;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
}

.container,
.section,
.page-intro .container {
  width: min(1120px, 89%);
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b1771c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 23px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--app-font-serif);
}

h1 em,
h2 em {
  color: #b77d24;
  font-style: normal;
}

.hero {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 57px max(8.2vw, 30px) 64px;
  background: #f6f3eb;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 530px;
  animation: rise 0.65s both;
}

.hero h1 {
  margin: 25px 0 20px;
  color: var(--navy);
  font-size: clamp(47px, 6vw, 76px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 span {
  color: #314969;
}

.hero h1 em {
  color: #c68b2d;
}

.hero-copy > p {
  max-width: 435px;
  color: #566477;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}

.button-gold {
  background: #dda53e;
  color: #192d49;
  box-shadow: 0 7px 18px #a16a2419;
}

.button-gold:hover {
  background: #e8b14a;
}

.button-navy {
  background: var(--navy);
  color: #fff;
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 5px;
  border-bottom: 1px solid #c8a766;
  color: #344c6c;
  font-size: 12px;
  font-weight: 700;
}

.text-link svg,
.footer-contact svg {
  transition: transform 0.2s;
}

.text-link:hover svg,
.footer-contact:hover svg {
  transform: translateX(3px);
}

.hero-meta {
  display: flex;
  gap: 23px;
  margin-top: 43px;
  color: #657185;
  font-size: 10px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-meta svg {
  color: #b57a20;
}

.hero-visual {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 19px 45px #20365322;
  animation: rise 0.75s 0.12s both;
}

.hero-visual::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(0deg, #152a44a8, transparent);
  content: "";
  pointer-events: none;
}

.hero-visual img,
.split-photo img,
.photo-break > img,
.facilities-banner > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.image-caption small {
  display: block;
  margin-top: 5px;
  color: #e1e3e5;
  font-size: 9px;
  font-weight: 400;
}

.caption-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 50%;
  background: #edb546;
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  width: 82px;
  height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.stamp-line {
  width: 26px;
  height: 1px;
  margin: 5px 0;
  background: #edb546;
}

.hero-index {
  position: absolute;
  right: 5.3%;
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #687488;
  font: 10px var(--app-font-mono);
}

.index-line {
  width: 48px;
  height: 1px;
  background: #c3c5c6;
}

.quick-strip {
  display: grid;
  grid-template-columns: 120px repeat(3, 1fr);
  align-items: stretch;
  padding: 0 max(8.2vw, 30px);
  border-bottom: 1px solid #e8e5dd;
  background: #fff;
}

.strip-label {
  align-self: center;
  color: #a8792b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.quick-strip > a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 23px 20px;
  border-left: 1px solid #eceae5;
  transition: background 0.2s;
}

.quick-strip > a:hover {
  background: #fbf7ee;
}

.quick-strip > a > svg:first-child {
  width: 20px;
  color: #c18a31;
}

.quick-strip > a > svg:last-child {
  width: 15px;
  margin-left: auto;
  color: #8993a0;
}

.quick-strip b,
.quick-strip small {
  display: block;
}

.quick-strip b {
  color: var(--navy);
  font-size: 12px;
}

.quick-strip small {
  margin-top: 4px;
  color: #778293;
  font-size: 10px;
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
}

.story-section {
  display: grid;
  grid-template-columns: 0.64fr 1.16fr 1.1fr;
  align-items: start;
  gap: 45px;
}

.section-aside {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.section-number {
  color: #8d98a7;
  font: 10px var(--app-font-mono);
}

.story-copy h2,
.learning-heading h2,
.split-copy h2,
.info-callout h2,
.faculty-note h2,
.facilities-banner h2,
.facility-request h2,
.contact-main h2 {
  margin: 19px 0;
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.story-copy > p,
.split-copy > p {
  max-width: 420px;
  color: #606e7e;
  font-size: 13px;
  line-height: 1.9;
}

.story-copy .text-link {
  margin-top: 4px;
}

.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding: 13px 14px;
  border-left: 2px solid #d9a33d;
  background: #f3eee2;
  color: #6e624a;
  font-size: 10px;
  line-height: 1.6;
}

.placeholder-note svg {
  flex: none;
  color: #b27b23;
}

.story-image {
  position: relative;
  height: 285px;
  overflow: hidden;
  margin-top: 44px;
  border-radius: 5px;
  background: #e5e0d6;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 9px 12px;
  background: #1b3045dd;
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.learning-section {
  border-top: 1px solid #e4e2db;
  background: #f2f0e9;
  padding-top: 75px;
  padding-bottom: 87px;
}

.learning-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.learning-heading h2 {
  margin-bottom: 0;
}

.learning-heading > p {
  max-width: 420px;
  margin-bottom: 4px;
  color: #647184;
  font-size: 12px;
  line-height: 1.8;
}

.pathways {
  border-top: 1px solid #deddd6;
}

.pathway {
  display: grid;
  grid-template-columns: 72px 1fr 120px;
  align-items: center;
  gap: 14px;
  padding: 21px 5px;
  border-bottom: 1px solid #deddd6;
}

.pathway-no {
  color: #b78331;
  font: 12px var(--app-font-mono);
}

.pathway h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 20px;
}

.pathway p {
  margin: 0;
  color: #6d7887;
  font-size: 11px;
}

.confirm-tag {
  justify-self: end;
  padding: 7px 9px;
  border-radius: 2px;
  background: #f8e9c9;
  color: #8b641e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.learning-section > .text-link {
  margin-top: 24px;
}

.photo-break {
  position: relative;
  height: 405px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.photo-break > img {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  object-position: center 54%;
}

.photo-break-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #132842ed 0%, #132842b5 42%, #13284212 100%);
}

.photo-break-copy {
  position: relative;
  width: min(1120px, 89%);
  margin: auto;
  padding-top: 65px;
}

.photo-break-copy .eyebrow {
  color: #f0c46b;
}

.photo-break-copy h2 {
  margin: 18px 0;
  color: #fff;
  font-size: 58px;
  letter-spacing: -0.04em;
  line-height: 1.01;
}

.photo-break-copy h2 em {
  color: #edbd67;
}

.photo-break-copy p {
  margin-bottom: 18px;
  color: #e1e7ed;
  font-size: 10px;
}

.clarity-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding-top: 83px;
  padding-bottom: 83px;
}

.clarity-section h2 {
  margin: 17px 0 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.clarity-section h2 em {
  color: #b77d24;
}

.clarity-content > p {
  color: #5c6a7a;
  font-size: 13px;
  line-height: 1.85;
}

.clarity-content > p b {
  color: #8c6220;
  font: 700 10px var(--app-font-mono);
}

.clarity-links {
  display: grid;
  gap: 12px;
  margin-top: 21px;
}

.clarity-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #deddd7;
  color: #334967;
  font-size: 11px;
  font-weight: 700;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 47px max(8.2vw, 30px);
  background: #203957;
  color: #fff;
}

.cta-band .eyebrow {
  color: #eab752;
}

.cta-band h2 {
  margin: 13px 0 0;
  font-size: 37px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.cta-band h2 em {
  color: #efc46e;
}

.footer {
  padding: 37px max(5.5vw, 22px) 0;
  background: #142640;
  color: #fff;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 29px;
}

.footer-brand {
  min-width: 250px;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small {
  color: #b6c0cd;
}

.footer-top > p {
  margin: 0;
  color: #bbc5d1;
  font-size: 10px;
  line-height: 1.8;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0c46d;
  font-size: 11px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #ffffff1d;
  color: #a5b0bf;
  font-size: 9px;
}

.page-intro {
  padding: 72px 0 62px;
  border-bottom: 1px solid #e4e1da;
  background: #f3f0e8;
}

.page-intro h1 {
  margin: 20px 0 16px;
  color: var(--navy);
  font-size: clamp(43px, 6vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.page-intro p {
  max-width: 590px;
  margin: 0;
  color: #627083;
  font-size: 14px;
  line-height: 1.75;
}

.split-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.split-copy .placeholder-note {
  max-width: 410px;
}

.split-photo {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 5px;
}

.split-photo > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 14px;
  background: #172d4ae8;
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 37px max(8.2vw, 30px);
  background: #203957;
  color: #fff;
}

.values-row article {
  padding-right: 22px;
  border-right: 1px solid #ffffff2b;
}

.values-row article:last-child {
  border: 0;
}

.values-row article > span {
  color: #e5b456;
  font: 11px var(--app-font-mono);
}

.values-row h3 {
  margin: 19px 0 8px;
  font-size: 19px;
}

.values-row p {
  min-height: 38px;
  color: #c5cfdb;
  font-size: 11px;
  line-height: 1.7;
}

.values-row small {
  color: #e7bc70;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.facts-panel {
  padding-top: 70px;
  padding-bottom: 80px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-top: 1px solid #deddd7;
  border-left: 1px solid #deddd7;
}

.facts-grid > div {
  min-height: 120px;
  padding: 18px;
  border-right: 1px solid #deddd7;
  border-bottom: 1px solid #deddd7;
}

.facts-grid span,
.facts-grid b,
.facts-grid small {
  display: block;
}

.facts-grid span {
  color: #a87a31;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.facts-grid b {
  margin: 13px 0 6px;
  color: var(--navy);
  font-size: 14px;
}

.facts-grid small {
  color: #778294;
  font-size: 9px;
}

.programme-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid #e6e3dc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 26px #2439590b;
}

.programme-icon {
  display: grid;
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f4e9d2;
  color: #a97520;
}

.programme-banner small {
  color: #ad7b2a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.programme-banner h2 {
  margin: 6px 0;
  color: var(--navy);
  font-size: 23px;
}

.programme-banner p {
  margin: 0;
  color: #687687;
  font-size: 11px;
}

.verified-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 3px;
  background: #e7f1eb;
  color: #47704e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stream-section {
  padding-top: 76px;
  padding-bottom: 85px;
}

.stream-list {
  margin: 34px 0 20px;
  border-top: 1px solid #deddd7;
}

.stream-list article {
  display: grid;
  grid-template-columns: 55px 150px 1fr 225px;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #deddd7;
}

.stream-num {
  color: #ae7923;
  font: 11px var(--app-font-mono);
}

.stream-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 23px;
}

.stream-list p {
  margin: 0;
  color: #677486;
  font-size: 11px;
  line-height: 1.6;
}

.pending {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d671f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pending span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dba641;
}

.info-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 20px;
  padding: 52px 7%;
  border-radius: 5px;
  background: #eeeae0;
}

.info-callout h2 {
  margin-bottom: 0;
}

.info-callout > div:last-child {
  align-self: center;
}

.info-callout p {
  color: #627083;
  font-size: 12px;
  line-height: 1.8;
}

.admissions-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 62px;
}

.admissions-copy h2 {
  margin: 18px 0;
  color: var(--navy);
  font-size: 43px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.admissions-copy h2 em {
  color: #b77d24;
}

.admissions-copy > p {
  color: #637183;
  font-size: 12px;
  line-height: 1.8;
}

.admission-checks {
  display: grid;
  gap: 13px;
  margin: 29px 0;
}

.admission-checks > div {
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 9px;
  color: #334968;
  font-size: 11px;
  font-weight: 600;
}

.admission-checks > div > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #f3e8d1;
  color: #a87928;
}

.admission-checks small {
  color: #a37a32;
  font-size: 7px;
  letter-spacing: 0.07em;
}

.enquiry-form {
  padding: 27px;
  border: 1px solid #e6e3dc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 11px 35px #2439590c;
}

.form-heading > span {
  color: #ac792a;
  font: 10px var(--app-font-mono);
}

.form-heading h3 {
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 23px;
}

.form-heading p {
  margin-bottom: 22px;
  color: #788393;
  font-size: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 13px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: #344968;
  font-size: 10px;
  font-weight: 700;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 11px 10px;
  border: 1px solid #dce0e3;
  border-radius: 3px;
  outline: none;
  background: #fdfdfc;
  color: #273b58;
  font-size: 11px;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #bd8b37;
  box-shadow: 0 0 0 3px #dda53e24;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #a4acb5;
}

.full-field {
  grid-column: 1 / -1;
}

.form-disclaimer {
  display: flex;
  gap: 10px;
  margin: 17px 0;
  padding: 12px;
  background: #f6f0e4;
  color: #776344;
  font-size: 9px;
  line-height: 1.6;
}

.form-disclaimer svg {
  flex: none;
  color: #a87829;
}

.form-disclaimer b {
  color: #67502c;
}

.form-submit {
  min-width: 150px;
}

.form-response {
  margin: 14px 0 0;
  padding: 12px;
  border-left: 2px solid #688266;
  background: #eef1ed;
  color: #3e5c41;
  font-size: 10px;
  line-height: 1.6;
}

.faculty-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.faculty-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.faculty-icon {
  display: grid;
  width: 51px;
  height: 51px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #f1e6ce;
  color: #af7b28;
}

.faculty-note small {
  color: #ad7a29;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.faculty-note h2 {
  margin: 12px 0;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.08;
}

.faculty-note p {
  max-width: 370px;
  color: #667487;
  font-size: 11px;
  line-height: 1.8;
}

.faculty-placeholder {
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #e5e2dc;
  border-radius: 5px;
  background: #fff;
}

.faculty-placeholder > div:nth-child(2) {
  flex: 1;
}

.faculty-placeholder b {
  color: var(--navy);
  font-size: 12px;
}

.faculty-placeholder p {
  margin: 6px 0 0;
  color: #738092;
  font-size: 9px;
}

.faculty-placeholder > svg {
  color: #a87724;
}

.faculty-avatar {
  display: flex;
  width: 67px;
  height: 75px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #ece9e1;
  color: #9d927d;
  font: 8px var(--app-font-mono);
}

.faculty-intro > .placeholder-note {
  grid-column: 1 / -1;
  margin-top: 0;
}

.faculty-steps {
  border-top: 1px solid #e1dfd8;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.step-grid article {
  padding: 21px;
  border: 1px solid #e7e3dc;
  border-radius: 4px;
  background: #fff;
}

.step-grid article > span {
  color: #b17b22;
  font: 11px var(--app-font-mono);
}

.step-grid h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.step-grid p {
  margin: 0;
  color: #657184;
  font-size: 10px;
  line-height: 1.7;
}

.facilities-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 35px;
  overflow: hidden;
  padding: 44px 40px;
  border-radius: 5px;
  background: #f0ede5;
}

.facilities-banner h2 {
  font-size: 40px;
}

.facilities-banner p {
  max-width: 420px;
  color: #627082;
  font-size: 11px;
  line-height: 1.8;
}

.facilities-banner > img {
  height: 255px;
  border-radius: 4px;
}

.facilities-banner .image-tag {
  position: absolute;
  right: 52px;
  bottom: 55px;
  padding: 7px 9px;
  background: #172d4ae8;
  color: #fff;
  font-size: 7px;
  letter-spacing: 0.09em;
}

.facility-request {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  column-gap: 60px;
}

.facility-request > .eyebrow,
.facility-request > h2,
.facility-request > .placeholder-note {
  grid-column: 1;
}

.facility-request h2 {
  margin: 17px 0;
  font-size: 42px;
}

.request-list {
  grid-row: 1 / 4;
  grid-column: 2;
  align-self: center;
  border-top: 1px solid #dddcd6;
}

.request-list > div {
  display: grid;
  grid-template-columns: 38px 1fr auto 20px;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid #dddcd6;
}

.request-list > div > span {
  color: #b07b27;
  font: 10px var(--app-font-mono);
}

.request-list b {
  color: #354a67;
  font-size: 11px;
}

.request-list small {
  color: #9b7b46;
  font-size: 7px;
  letter-spacing: 0.07em;
}

.request-list svg {
  color: #9ba4ad;
}

.demo-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 45px;
  margin-bottom: 15px;
  padding: 19px 22px;
  border: 1px solid #ecd6a7;
  border-radius: 4px;
  background: #fbf0d7;
}

.demo-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 2px;
  background: #b07720;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.demo-banner > div {
  flex: 1;
}

.demo-banner b {
  color: #684e25;
  font-size: 12px;
}

.demo-banner p {
  margin: 4px 0 0;
  color: #7d6844;
  font-size: 10px;
  line-height: 1.6;
}

.demo-banner > svg {
  color: #b27a22;
}

.notice-list {
  padding-top: 55px;
}

.notice-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #dcdcd6;
}

.notice-list-head > span {
  color: #8a94a0;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.notice-row {
  display: grid;
  grid-template-columns: 90px 1fr 34px;
  align-items: start;
  column-gap: 21px;
  padding: 25px 8px;
  border-bottom: 1px solid #e1dfd9;
}

.notice-date {
  display: grid;
  justify-items: start;
  gap: 3px;
  color: #788394;
}

.notice-date span,
.notice-date small {
  font-size: 8px;
  letter-spacing: 0.09em;
}

.notice-date b {
  color: #344967;
  font-size: 14px;
}

.notice-body .demo-label.small {
  padding: 4px 6px;
  font-size: 7px;
}

.notice-body h3 {
  margin: 10px 0 7px;
  color: var(--navy);
  font-size: 19px;
}

.notice-body p {
  margin: 0;
  color: #677486;
  font-size: 10px;
  line-height: 1.65;
}

.notice-more {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f3ead7;
  color: #a06e1e;
}

.notice-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.notice-details {
  grid-column: 2 / 4;
  margin: 12px 0 0;
  padding: 12px;
  background: #f7f3e9;
  color: #735c37;
  font-size: 10px;
}

.notices-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 25px;
  padding-bottom: 60px;
  border-top: 1px solid #e2e0d9;
  color: #8d6a30;
}

.notices-foot p {
  margin: 0;
  color: #697587;
  font-size: 10px;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
}

.contact-main h2 {
  margin: 18px 0;
}

.contact-main > p {
  color: #637184;
  font-size: 12px;
  line-height: 1.8;
}

.contact-details {
  margin-top: 30px;
  border-top: 1px solid #deddd8;
}

.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 4px;
  border-bottom: 1px solid #deddd8;
}

.contact-details > div > svg:first-child,
.contact-symbol {
  display: grid;
  width: 35px;
  height: 35px;
  flex: none;
  place-items: center;
  padding: 8px;
  border-radius: 50%;
  background: #f3ead9;
  color: #a97827;
}

.contact-symbol {
  font: 700 17px var(--app-font-serif);
}

.contact-details > div > span:nth-child(2) {
  flex: 1;
}

.contact-details small,
.contact-details b,
.contact-details em {
  display: block;
}

.contact-details small {
  color: #a6792d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-details b {
  margin: 4px 0;
  color: var(--navy);
  font-size: 12px;
}

.contact-details em {
  color: #768191;
  font-size: 9px;
  font-style: normal;
}

.contact-details > div > svg:last-child {
  width: 15px;
  color: #8c98a4;
}

.contact-side {
  display: grid;
  gap: 14px;
}

.map-placeholder {
  display: flex;
  height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e2dfd6;
  background: repeating-linear-gradient(45deg, #edeae1, #edeae1 10px, #f1eee7 10px, #f1eee7 20px);
  color: #a57b37;
}

.map-placeholder span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.map-placeholder small {
  color: #7f8791;
  font-size: 9px;
}

.side-card {
  padding: 17px 19px;
  border: 1px solid #e4e1da;
  border-radius: 4px;
  background: #fff;
}

.side-card .eyebrow {
  font-size: 8px;
}

.side-card .eyebrow > span {
  width: 15px;
}

.side-card > b {
  display: block;
  margin: 13px 0 5px;
  color: #314867;
  font-size: 13px;
}

.side-card > p {
  margin: 0;
  color: #758091;
  font-size: 9px;
  line-height: 1.6;
}

.not-found {
  width: min(1120px, 89%);
  margin: auto;
  padding: 130px 0 150px;
}

.not-found h1 {
  margin: 22px 0;
  color: var(--navy);
  font-size: 65px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.not-found p {
  margin-bottom: 25px;
  color: #657184;
  font-size: 13px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 11px;
  }

  .nav-link {
    font-size: 10px;
  }

  .nav-wrap {
    padding-inline: 3vw;
  }

  .brand {
    min-width: 190px;
  }

  .brand strong {
    font-size: 10px;
  }

  .hero {
    padding-inline: 5vw;
  }

  .story-section {
    grid-template-columns: 0.5fr 1.1fr 1fr;
    gap: 28px;
  }

  .stream-list article {
    grid-template-columns: 40px 115px 1fr 180px;
  }

  .contact-layout {
    gap: 38px;
  }
}

@media (max-width: 790px) {
  .topline {
    padding-inline: 5%;
  }

  .topline span:last-child {
    display: none;
  }

  .nav-wrap {
    min-height: 72px;
    padding-inline: 5%;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 2px 18px;
    padding: 12px 5% 20px;
    background: #fff;
    box-shadow: 0 14px 20px #1c34501c;
  }

  .main-nav.is-open {
    display: grid;
  }

  .nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid #efeee9;
    font-size: 12px;
  }

  .nav-link.active {
    box-shadow: none;
    color: #b07720;
  }

  .nav-cta {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 49px 6% 55px;
  }

  .hero h1 {
    font-size: clamp(47px, 11vw, 70px);
  }

  .hero-visual {
    height: 350px;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 11px 18px;
    margin-top: 29px;
  }

  .hero-index {
    display: none;
  }

  .quick-strip {
    grid-template-columns: 1fr;
    padding: 0 6%;
  }

  .strip-label {
    padding: 18px 0 0;
  }

  .quick-strip > a {
    padding: 15px 3px;
    border-right: 0;
    border-bottom: 1px solid #eceae5;
    border-left: 0;
  }

  .section {
    width: 88%;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .section-aside {
    gap: 10px;
  }

  .section-number {
    display: none;
  }

  .story-copy h2,
  .learning-heading h2 {
    font-size: 42px;
  }

  .story-image {
    height: 280px;
    margin: 0;
  }

  .learning-heading {
    display: block;
  }

  .learning-heading > p {
    margin-top: 20px;
  }

  .pathway {
    grid-template-columns: 42px 1fr 90px;
  }

  .pathway h3 {
    font-size: 17px;
  }

  .pathway p {
    font-size: 10px;
    line-height: 1.5;
  }

  .confirm-tag {
    font-size: 7px;
  }

  .photo-break {
    height: 360px;
  }

  .photo-break-copy {
    width: 88%;
    padding-top: 54px;
  }

  .photo-break-copy h2 {
    font-size: 49px;
  }

  .clarity-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .cta-band {
    padding: 38px 6%;
  }

  .footer-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-top > p {
    order: 3;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    line-height: 1.6;
  }

  .page-intro {
    padding: 56px 0 48px;
  }

  .page-intro h1 {
    font-size: clamp(43px, 10vw, 60px);
  }

  .page-intro p {
    font-size: 12px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split-photo {
    height: 270px;
  }

  .values-row {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 29px 7%;
  }

  .values-row article {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid #ffffff2b;
  }

  .values-row article:last-child {
    padding: 0;
    border: 0;
  }

  .values-row h3 {
    margin: 9px 0 5px;
  }

  .values-row p {
    min-height: 0;
    margin-bottom: 7px;
  }

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

  .programme-banner {
    width: 88%;
    gap: 12px;
    padding: 18px;
  }

  .programme-banner h2 {
    font-size: 18px;
  }

  .verified-pill {
    padding: 7px;
    font-size: 7px;
  }

  .stream-list article {
    grid-template-columns: 35px 1fr;
    gap: 7px 12px;
  }

  .stream-list h3 {
    font-size: 20px;
  }

  .stream-list p,
  .pending {
    grid-column: 2;
  }

  .stream-list p {
    font-size: 10px;
  }

  .pending {
    margin-top: 3px;
  }

  .info-callout {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 35px 7%;
  }

  .info-callout h2 {
    font-size: 38px;
  }

  .admissions-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .admissions-copy h2 {
    font-size: 39px;
  }

  .enquiry-form {
    padding: 20px;
  }

  .faculty-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faculty-placeholder,
  .faculty-intro > .placeholder-note {
    grid-column: 1;
  }

  .faculty-note h2 {
    font-size: 35px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-grid article {
    padding: 17px;
  }

  .facilities-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 7%;
  }

  .facilities-banner h2 {
    font-size: 36px;
  }

  .facilities-banner > img {
    height: 220px;
  }

  .facilities-banner .image-tag {
    right: 10%;
    bottom: 39px;
  }

  .facility-request {
    display: block;
  }

  .facility-request h2 {
    font-size: 38px;
  }

  .request-list {
    margin-top: 28px;
  }

  .request-list > div {
    grid-template-columns: 28px 1fr 18px;
    gap: 8px;
  }

  .request-list small {
    grid-column: 2;
    grid-row: 2;
  }

  .request-list svg {
    grid-column: 3;
    grid-row: 1;
  }

  .demo-banner {
    width: 88%;
    gap: 10px;
    padding: 15px;
  }

  .demo-banner > svg {
    display: none;
  }

  .notice-list {
    padding-top: 40px;
  }

  .notice-row {
    grid-template-columns: 57px 1fr 30px;
    gap: 12px;
    padding: 20px 0;
  }

  .notice-body h3 {
    font-size: 16px;
  }

  .notice-body p {
    font-size: 9px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-placeholder {
    height: 170px;
  }

  .not-found {
    padding: 100px 0 120px;
  }

  .not-found h1 {
    font-size: 52px;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-visual {
    height: 290px;
  }

  .hero-meta {
    font-size: 9px;
  }

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

  .full-field {
    grid-column: auto;
  }

  .verified-pill {
    display: none;
  }

  .programme-icon {
    width: 44px;
    height: 44px;
  }

  .request-list b {
    font-size: 10px;
  }

  .request-list small {
    font-size: 6px;
  }

  .footer-brand {
    min-width: 0;
  }

  .footer-contact {
    margin-left: auto;
  }

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

  .cta-band h2 {
    font-size: 33px;
  }

  .facts-grid > div {
    padding: 13px;
  }

  .facts-grid b {
    font-size: 12px;
  }
}

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

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