/* Corvale College Dubai: concept build by Marketlube (27 Oct 2026). */
:root {
  --white: #FFFFFF;
  --stone: #F3F2EE;
  --ink: #1C1D1F;
  --ink-2: #2A2B2E;
  --muted: #5F5E5A;
  --cobalt: #1E3FD8;
  --cobalt-dk: #1631B0;
  --rule: #DAD8D2;
  --rule-dk: #3A3B3E;
  --on-dark: #F3F2EE;
  --on-dark-muted: #B4B2AB;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --arabic: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif;

  --fs-body: clamp(0.9375rem, 0.88rem + 0.25vw, 1.125rem);
  --fs-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --fs-lead: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 5vw, 6.2rem);
  --fs-h2: clamp(1.9rem, 1.25rem + 2.7vw, 3.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --head-h: 72px;
  --sec-pad: clamp(52px, 9vw, 136px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--cobalt); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 16px; top: calc(var(--mlc-h) + 8px); z-index: 300;
  padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 0;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; line-height: 1.1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-cobalt { background: var(--cobalt); color: #fff; }
.btn-cobalt:hover { background: var(--cobalt-dk); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-inv { border-color: rgba(243, 242, 238, 0.7); color: var(--on-dark); background: transparent; }
.btn-line-inv:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-cobalt:focus-visible { outline-color: var(--ink); }

/* Header */
.site-head {
  position: sticky; top: var(--mlc-h); z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-line { white-space: nowrap; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-sub { font-weight: 500; font-size: 0.875rem; color: var(--muted); }
.brand-ar { font-family: var(--arabic); font-weight: 500; font-size: 0.75rem; color: var(--muted); text-align: left; display: none; margin-top: 2px; }
.nav { display: none; margin-inline: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.nav a, .link-open {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; padding: 6px 0;
}
.nav a::after, .link-open::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .link-open:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.head-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.link-open { display: none; }
.head-cta .btn-sm { display: none; }
.menu-btn {
  min-height: 42px; padding: 0 16px; border: 1.5px solid var(--ink); background: var(--white);
  font-weight: 600; font-size: 0.9375rem;
}
.menu-btn:hover { background: var(--ink); color: #fff; }
@media (min-width: 560px) { .head-cta .btn-sm { display: inline-flex; } }
@media (min-width: 1000px) { .brand-ar { display: block; } }
@media (min-width: 1200px) {
  .nav { display: block; }
  .nav + .head-cta { margin-left: 0; }
  .link-open { display: inline; }
  .menu-btn { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: calc(var(--mlc-h) + var(--head-h)) 0 0 0; z-index: 99;
  background: var(--white); overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding-block: 24px 32px; gap: 32px; }
.menu-list li { border-bottom: 1px solid var(--rule); }
.menu-list a {
  display: block; padding: 14px 0; color: var(--ink); text-decoration: none;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
}
.menu-list a:hover { color: var(--cobalt); }
.menu-foot { display: grid; gap: 16px; }
.menu-foot p { color: var(--muted); font-size: var(--fs-small); }
.menu-close { justify-self: start; background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* Labels and section heads */
.label, .eyebrow {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.4;
}
.label { display: flex; align-items: baseline; gap: 12px; }
.label-n { color: var(--cobalt); font-weight: 600; font-variant-numeric: tabular-nums; }
.label-inv, .label-inv .label-n { color: #fff; }
.sec { padding-block: var(--sec-pad); }
.sec-stone { background: var(--stone); }
.sec-head {
  display: grid; gap: 18px; border-top: 1px solid var(--rule); padding-top: 22px; margin-bottom: clamp(36px, 5vw, 72px);
}
.sec-stone .sec-head { border-top-color: #CFCDC6; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .sec-head .label { grid-column: 1 / 4; padding-top: 0.55em; }
  .sec-head h2 { grid-column: 4 / 12; }
}

/* Hero */
.hero { padding-block: clamp(28px, 4.5vw, 64px) clamp(48px, 6vw, 88px); }
.eyebrow { margin-bottom: clamp(16px, 2vw, 24px); }
.hero-h { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.03em; font-weight: 600; }
.hero-h .h1-a, .hero-h .h1-b { text-wrap: balance; }
.hero-h .h1-a { display: block; }
.hero-h .h1-b {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em;
  color: var(--muted); margin-top: 0.08em; font-size: 0.86em;
}
.hero-grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 56px); }
.lede { font-size: var(--fs-lead); line-height: 1.5; max-width: 34ch; }
.hero-copy .btn-row { margin-top: 28px; }
.hero-intake { display: none; }
@media (min-width: 960px) {
  .hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
  .hero-intake { display: grid; gap: 6px; border-top: 3px solid var(--cobalt); padding-top: 16px; max-width: 30ch; }
  .hi-k { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .hi-v { font-size: clamp(1.5rem, 1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .hi-s { font-size: var(--fs-small); color: var(--muted); }
}
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: var(--fs-small); color: var(--muted); }
.tick { width: 10px; height: 10px; background: var(--cobalt); flex: none; }
.hero-media { margin-inline: calc(var(--gutter) * -1); overflow: hidden; background: var(--stone); }
@media (max-width: 959px) { .hero-media { order: -1; } .hero-grid { gap: 24px; } }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 50%; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: stretch; }
  .hero-copy { grid-column: 1 / 6; padding-bottom: 4px; }
  .hero-media { grid-column: 6 / 13; margin-inline: 0 calc(var(--gutter) * -1); }
  .hero-media img { aspect-ratio: 16 / 9.4; }
}
@media (min-width: 1460px) { .hero-media { margin-right: calc((100vw - var(--max)) / -2 - var(--gutter)); } }

.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--ink); position: relative;
}
.facts li { position: relative; padding: 18px 16px 6px 0; display: grid; gap: 6px; align-content: start; }
.facts li:nth-child(even) { padding-left: 16px; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule); transform-origin: top;
}
.facts li:nth-child(odd)::before { display: none; }
.fact-n { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.fact-n small { font-size: 0.42em; font-weight: 600; letter-spacing: 0.02em; vertical-align: 0.9em; margin-right: 2px; }
.fact-t { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; max-width: 22ch; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li, .facts li:nth-child(even) { padding: 22px 20px 6px; }
  .facts li:first-child { padding-left: 0; }
  .facts li:nth-child(odd)::before { display: block; }
  .facts li:first-child::before { display: none; }
}
@media (max-width: 759px) { .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); } }

/* Programme finder */
.finder-bar { display: none; gap: 20px; }
.js .finder-bar { display: grid; }
.tabs { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule); }
.tab {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--rule); text-align: left;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--muted);
  position: relative; transition: color 0.2s ease;
}
.tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab-count {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; min-width: 28px; height: 28px; padding: 0 8px;
  display: inline-grid; place-items: center; border: 1px solid var(--rule); color: var(--muted); font-variant-numeric: tabular-nums;
}
.tab[aria-selected="true"] .tab-count { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.tab-count.is-zero { opacity: 0.6; }
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.seg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0; }
.seg-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 12px; }
.seg-btn {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--rule); background: var(--white); margin-left: -1px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink); transition: background-color 0.2s ease, color 0.2s ease;
}
.seg-label + .seg-btn, .seg > .seg-btn:first-child { margin-left: 0; }
.seg-btn:hover { background: var(--stone); }
.seg-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; position: relative; z-index: 1; }
.seg-btn:focus-visible { z-index: 2; position: relative; }
@media (min-width: 900px) {
  .tabs { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .tab { padding: 18px 20px 18px 0; }
  .tab + .tab { padding-left: 20px; border-left: 1px solid var(--rule); }
  .filters { justify-content: space-between; }
}
.finder-status { margin: 20px 0 28px; font-size: var(--fs-small); color: var(--muted); }
.js .finder-status { display: block; }
.finder-status { display: none; }

.panels { display: grid; gap: 72px; }
.panel { display: grid; gap: 28px; }
.panel:focus-visible { outline-offset: 8px; }
.panel[hidden] { display: none; }
.panel-fig { overflow: hidden; background: var(--stone); }
.panel-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.panel-fig img.pos-computing { object-position: 50% 62%; }
.panel-h { font-size: var(--fs-h3); margin-bottom: 10px; }
.js .panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel-intro { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.3; max-width: 30ch; margin-bottom: 24px; }
.progs { border-top: 1px solid var(--ink); }
.prog {
  display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule);
  transition: background-color 0.25s ease, padding 0.3s var(--ease);
}
.prog[hidden] { display: none; }
.prog-name h4 { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.375rem); letter-spacing: -0.015em; line-height: 1.2; }
.prog-name p { font-size: var(--fs-small); color: var(--muted); margin-top: 4px; }
.prog-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.prog-meta dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prog-meta dd { font-size: 0.9375rem; font-weight: 500; line-height: 1.35; }
@media (hover: hover) {
  .prog:hover { background: var(--stone); padding-inline: 14px; }
}
.prog-empty { padding: 24px 0; color: var(--muted); border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .prog-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .panel { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .panel-fig { grid-column: 1 / 6; }
  .panel-fig img { aspect-ratio: 1 / 1; }
  .panel-body { grid-column: 6 / 13; }
}
.footnote { margin-top: 36px; font-size: var(--fs-small); color: var(--muted); }

/* Intakes */
.intake-grid { display: grid; gap: 40px; }
.seg-lg .seg-btn { min-height: 52px; padding: 0 22px; font-size: 1rem; font-weight: 600; border-color: #CFCDC6; }
.seg-lg .seg-btn:not([aria-pressed="true"]) { background: transparent; }
.seg-lg .seg-btn:not([aria-pressed="true"]):hover { background: var(--white); }
.seg-lg .seg-btn[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); }
.countdown { margin-top: 32px; background: var(--ink); color: var(--on-dark); padding: clamp(20px, 3vw, 32px); }
.cd-label { font-size: var(--fs-small); color: var(--on-dark-muted); }
.cd-cells { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.cd-cell { display: grid; gap: 4px; padding-right: 12px; }
.cd-cell + .cd-cell { border-left: 1px solid var(--rule-dk); padding-left: clamp(12px, 2vw, 24px); }
.cd-n { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-u { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.cd-sr { margin-top: 18px; font-size: var(--fs-small); color: var(--on-dark); border-top: 1px solid var(--rule-dk); padding-top: 14px; }
.intake-note { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); max-width: 44ch; }
.dates { border-top: 1px solid var(--ink); counter-reset: d; }
.dates[hidden] { display: none; }
.dates li {
  display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid #CFCDC6; position: relative;
}
.d-when { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.d-what { color: var(--muted); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
@media (min-width: 640px) {
  .dates li { grid-template-columns: 1fr auto; align-items: baseline; gap: 20px; }
  .d-what { text-align: right; }
}
@media (min-width: 960px) {
  .intake-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .intake-side { grid-column: 1 / 6; }
  .intake-dates { grid-column: 7 / 13; }
}

/* Admissions */
.req-grid { display: grid; gap: 40px; }
.req-h { font-size: var(--fs-h3); padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.req-list li { padding: 16px 0 16px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.req-list li::before { content: ""; position: absolute; left: 0; top: calc(16px + 0.62em); width: 12px; height: 2px; background: var(--cobalt); }
.callout { background: var(--stone); padding: clamp(22px, 3vw, 36px); border-left: 4px solid var(--cobalt); }
.callout p { font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 900px) {
  .req-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .req-col:nth-child(1) { grid-column: 1 / 7; }
  .req-col:nth-child(2) { grid-column: 7 / 13; }
  .callout { grid-column: 1 / 13; }
}
@media (min-width: 1200px) {
  .req-col:nth-child(1) { grid-column: 1 / 5; }
  .req-col:nth-child(2) { grid-column: 5 / 9; }
  .callout { grid-column: 9 / 13; align-self: start; margin-top: 44px; }
}
.steps-wrap { margin-top: clamp(56px, 7vw, 96px); }
.steps-h { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.steps { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 24px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-content: start; }
.step-n { grid-row: span 2; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.5rem); font-weight: 600; line-height: 0.9; color: var(--cobalt); letter-spacing: -0.04em; min-width: 1.1ch; font-variant-numeric: tabular-nums; }
.step h4 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.25; }
.step p { color: var(--muted); font-size: var(--fs-small); margin-top: 6px; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 28px 24px 28px 0; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  .step { grid-template-columns: 1fr; border-bottom: 0; padding: 28px 24px 8px; border-left: 1px solid var(--rule); }
  .step:first-child { border-left: 0; padding-left: 0; }
  .step:nth-child(even) { padding-left: 24px; }
  .step-n { grid-row: auto; margin-bottom: 28px; }
}

/* Fees */
.fees-grid { display: grid; gap: 32px; }
.fees-table-wrap { overflow-x: auto; background: var(--white); }
.fees-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.fees-table thead th {
  background: var(--ink); color: #fff; text-align: left; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 16px;
}
.fees-table tbody th, .fees-table td { padding: 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.fees-table tbody th { font-weight: 600; letter-spacing: -0.01em; }
.fees-table tbody tr { transition: background-color 0.2s ease; }
.fees-table tbody tr:hover { background: #FAF9F6; }
.fees-table tbody tr.is-picked { background: var(--stone); box-shadow: inset 3px 0 0 var(--cobalt); }
.fees-table .pg-row th, .fees-table .pg-row td { border-top: 2px solid var(--ink); }
@media (max-width: 639px) {
  .fees-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fees-table, .fees-table tbody, .fees-table tr, .fees-table th, .fees-table td { display: block; width: 100%; }
  .fees-table tbody tr { padding: 16px; border-bottom: 1px solid var(--rule); }
  .fees-table tbody th, .fees-table td { padding: 0; border: 0; }
  .fees-table .pg-row { border-top: 2px solid var(--ink); }
  .fees-table .pg-row th, .fees-table .pg-row td { border-top: 0; }
  .fees-table tbody th { font-size: 1.0625rem; margin-bottom: 6px; }
  .fees-table td { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
  .fees-table td::before { content: attr(data-k); color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
  .fees-table td { text-align: right; }
}
.estimator { background: var(--white); padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; align-content: start; border-top: 4px solid var(--cobalt); }
.est-h { font-size: var(--fs-h3); }
.field { display: grid; gap: 8px; }
.field-l { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #BDBAB2; border-radius: 0; background: var(--white);
  font-size: 1rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1D1F' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 0; border-color: var(--cobalt); }
.radios { border: 0; padding: 0; margin: 0; display: grid; gap: 0; min-width: 0; }
.radios legend { margin-bottom: 4px; }
.radio, .check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 0.9375rem; line-height: 1.35; }
.radio input, .check input { width: 20px; height: 20px; margin: 0; accent-color: var(--cobalt); flex: none; }
.est-out { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.est-cell { padding: 18px; display: grid; gap: 6px; align-content: space-between; }
.estimator .check { margin-top: -8px; }
.est-cell + .est-cell { border-left: 1px solid var(--rule-dk); }
.est-k { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.est-v { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.est-note { font-size: var(--fs-small); color: var(--muted); }
.small-print { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); max-width: 88ch; line-height: 1.6; }
@media (min-width: 1000px) {
  .fees-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .fees-table-wrap { grid-column: 1 / 8; }
  .estimator { grid-column: 8 / 13; position: sticky; top: calc(var(--mlc-h) + var(--head-h) + 24px); }
}

/* Accreditation */
.accr-grid { display: grid; gap: 28px; }
.accr-body { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; }
.slots { display: grid; gap: 16px; }
.slot {
  border: 1.5px dashed #A9A69E; padding: clamp(20px, 3vw, 36px); display: grid; align-content: space-between; gap: 14px;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(218, 216, 210, 0.35) 14px 15px);
}
.slot-k { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.slot p { color: var(--muted); max-width: 32ch; }
.accr-note { font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 760px) { .slots { grid-template-columns: 1fr 1fr; } .slot { min-height: 180px; gap: 32px; } }
@media (min-width: 1000px) {
  .accr-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .accr-body { grid-column: 4 / 9; }
  .slots { grid-column: 4 / 13; }
  .accr-note { grid-column: 4 / 13; }
}

/* International */
.intl-grid { display: grid; gap: 40px; }
.intl-intro { font-size: var(--fs-lead); line-height: 1.5; max-width: 46ch; margin-bottom: 32px; }
.stepper { position: relative; border-top: 1px solid var(--ink); --prog: 0.2; }
.stepper::before {
  content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 1px; background: #CFCDC6;
}
.stepper::after {
  content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 3px; background: var(--cobalt);
  transform: scaleY(var(--prog)); transform-origin: top; transition: transform 0.6s var(--ease);
}
.vs { border-bottom: 1px solid #CFCDC6; position: relative; }
.vs-h { font-size: inherit; letter-spacing: normal; }
.vs-btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 16px;
  padding: 18px 0; background: none; border: 0; text-align: left;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
}
.vs-n {
  width: 44px; height: 44px; display: grid; place-items: center; background: var(--stone); border: 1px solid #BDBAB2;
  font-size: 0.9375rem; font-variant-numeric: tabular-nums; position: relative; z-index: 1; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.vs-btn[aria-expanded="true"] .vs-n, .vs.is-done .vs-n { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.vs-btn:hover .vs-t { color: var(--cobalt); }
.vs-ic { width: 14px; height: 14px; position: relative; justify-self: end; }
.vs-ic::before, .vs-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.vs-ic::after { transform: rotate(90deg); }
.vs-btn[aria-expanded="true"] .vs-ic::after { transform: rotate(0deg); }
.vs-body { padding: 0 0 22px 60px; color: var(--muted); max-width: 60ch; }
.vs-body[hidden] { display: none; }
.intl-side { display: grid; gap: 16px; align-content: start; }
.side-card { background: var(--white); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.side-card p { line-height: 1.55; }
.side-dark { background: var(--ink); color: var(--on-dark); }
.side-k { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--on-dark-muted); }
@media (min-width: 1000px) {
  .intl-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .intl-main { grid-column: 1 / 8; }
  .intl-side { grid-column: 9 / 13; padding-top: 8px; position: sticky; top: calc(var(--mlc-h) + var(--head-h) + 24px); align-self: start; }
}

/* Campus life */
.campus-fig { overflow: hidden; background: var(--stone); margin-bottom: clamp(36px, 5vw, 64px); }
.campus-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 640px) { .campus-fig img { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) { .campus-fig img { aspect-ratio: 21 / 9; object-position: 50% 66%; } }
.life { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.life-item { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.life-item h3 { margin-bottom: 8px; }
.life-item p { color: var(--muted); }
@media (min-width: 700px) {
  .life { grid-template-columns: 1fr 1fr; }
  .life-item { padding: 26px 24px 26px 0; }
  .life-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (min-width: 1100px) {
  .life { grid-template-columns: repeat(4, 1fr); }
  .life-item, .life-item:nth-child(even) { padding: 26px 24px 8px; border-left: 1px solid var(--rule); border-bottom: 0; }
  .life-item:first-child { border-left: 0; padding-left: 0; }
}
.getting { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-weight: 500; }
.getting-k { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--cobalt); padding: 4px 10px; font-weight: 600; }

/* Careers */
.careers-grid { display: grid; gap: 32px; }
.careers-fig { overflow: hidden; background: var(--white); }
.careers-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.career-list { border-top: 1px solid var(--ink); counter-reset: c; }
.career-list li { padding: 18px 0 18px 44px; border-bottom: 1px solid #CFCDC6; position: relative; counter-increment: c; }
.career-list li::before {
  content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 20px;
  font-size: 0.8125rem; font-weight: 600; color: var(--cobalt); font-variant-numeric: tabular-nums;
}
.career-list h3 { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem); letter-spacing: -0.015em; }
.career-list p { color: var(--muted); margin-top: 4px; }
@media (min-width: 960px) {
  .careers-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .careers-fig { grid-column: 1 / 7; position: sticky; top: calc(var(--mlc-h) + var(--head-h) + 24px); }
  .careers-body { grid-column: 8 / 13; }
}

/* Dean */
.dean { padding-block: clamp(56px, 10vw, 160px); }
.dean-fig { max-width: 1100px; border-top: 3px solid var(--cobalt); padding-top: clamp(28px, 4vw, 48px); }
.dean-q p {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 1.1rem + 3vw, 3.9rem);
  line-height: 1.14; letter-spacing: -0.015em; text-wrap: balance;
}
.dean-by { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); font-weight: 500; }
@media (min-width: 1000px) { .dean-fig { margin-left: calc((100% - 0px) / 12 * 3); } }

/* Open days */
.openday { background: var(--cobalt); color: #fff; padding-block: var(--sec-pad); }
.openday :focus-visible { outline-color: #fff; }
.od-grid { display: grid; gap: 40px; }
.od-copy h2 { margin-top: 20px; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; }
.od-body { margin-top: 24px; font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; }
.od-helper { margin-top: 24px; font-size: var(--fs-small); border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 14px; max-width: 38ch; }
.od-form { background: var(--white); color: var(--ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: 20px; }
.od-form :focus-visible { outline-color: var(--cobalt); }
.od-form-h { font-size: var(--fs-h3); }
.od-dates { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.od-dates legend { margin-bottom: 10px; }
.od-date {
  position: relative; display: grid; gap: 2px; padding: 16px 16px 16px 48px; border: 1px solid var(--rule); cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.od-date input { position: absolute; left: 16px; top: 19px; width: 20px; height: 20px; margin: 0; accent-color: var(--cobalt); }
.od-date:hover { border-color: var(--ink); }
.od-date:has(input:checked) { border-color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.od-date:has(input:focus-visible) { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.od-day { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.od-big { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.od-time { font-size: var(--fs-small); color: var(--muted); }
.od-fields { display: grid; gap: 16px; }
@media (max-width: 639px) {
  .od-date { grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; padding: 12px 14px 12px 46px; }
  .od-date input { top: 50%; margin-top: -10px; left: 14px; }
  .od-time { grid-column: 1 / -1; }
  .fees-table tbody tr { padding: 12px 14px; }
  .sec-head { margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr; padding: 18px 14px 18px 0; }
  .step:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
  .step-n { grid-row: auto; margin-bottom: 10px; font-size: 2.4rem; }
}
@media (min-width: 640px) {
  .od-dates { grid-template-columns: repeat(3, 1fr); }
  .od-dates legend { grid-column: 1 / -1; }
  .od-date { padding: 44px 14px 14px; }
  .od-date input { left: 14px; top: 14px; }
  .od-fields { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .od-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .od-copy { grid-column: 1 / 6; }
  .od-form { grid-column: 6 / 13; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .faq { margin-left: calc(100% / 12 * 3 + 6px); } }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.35rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 14px; height: 14px; flex: none; transition: transform 0.3s var(--ease);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--cobalt); }
.qa-a { overflow: hidden; }
.qa-a p { padding-bottom: 24px; color: var(--muted); max-width: 62ch; }

/* CTA band and footer */
.cta { background: var(--ink); color: var(--on-dark); padding-block: clamp(64px, 8vw, 120px); }
.cta-grid { display: grid; gap: 28px; }
.cta-h { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); line-height: 1.04; max-width: 18ch; color: #fff; }
.cta-side p { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-bottom: 24px; max-width: 34ch; }
.cta :focus-visible, .foot :focus-visible { outline-color: #fff; }
@media (min-width: 1000px) {
  .cta-grid { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
  .cta-h { grid-column: 1 / 8; }
  .cta-side { grid-column: 8 / 13; }
}
.foot { background: var(--ink); color: var(--on-dark); padding-bottom: 32px; }
.foot .wrap > * { border-top: 1px solid var(--rule-dk); }
.foot-top { display: grid; gap: 36px; padding-block: 48px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-brand .brand-mark { width: 44px; height: 44px; }
.foot-word { font-size: 1.125rem; font-weight: 500; color: var(--on-dark-muted); }
.foot-word .brand-name { color: #fff; }
.foot-ar { font-family: var(--arabic); font-weight: 500; font-size: 1rem; color: var(--on-dark); text-align: left; }
.foot-tag { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--on-dark); }
.foot-h { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding-block: 7px; }
.foot-col a { color: var(--on-dark); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; color: #fff; }
.foot-contact li { color: var(--on-dark); font-size: 0.9375rem; }
.foot-contact li:not(:has(a)) { padding-block: 7px; }
.foot-map { max-width: 360px; }
.foot-map svg { width: 100%; height: auto; border: 1px solid var(--rule-dk); }
.foot-honest { padding-block: 22px; }
.foot-honest p { font-size: var(--fs-small); color: var(--on-dark); max-width: 80ch; }
.foot-honest a { color: #fff; font-weight: 600; text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: var(--fs-small); color: var(--on-dark-muted); }
.to-top { color: var(--on-dark); }
.foot-top { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.foot-brand, .foot-col:not(nav), .foot-map { grid-column: 1 / -1; }
@media (min-width: 700px) { .foot-brand, .foot-col:not(nav), .foot-map { grid-column: auto; } }
@media (min-width: 1100px) {
  .foot-top { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.2fr 1.4fr; gap: 32px; }
}

/* Mobile apply bar */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff;
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.apply-bar.is-on { transform: none; visibility: visible; transition: transform 0.35s var(--ease), visibility 0s; }
.apply-bar-t { font-weight: 600; font-size: 0.9375rem; }
@media (min-width: 760px) { .apply-bar { display: none; } }


/* Mobile density: keep the long page compact on phones */
@media (max-width: 639px) {
  .cta .btn-row { display: grid; }
  .cta .btn-row .btn { width: 100%; }
  .hero-copy .btn-row .btn { padding: 0 16px; font-size: 0.9375rem; flex: 1 1 auto; min-height: 50px; }
  .req-list li { padding-block: 12px; }
  .req-list li::before { top: calc(12px + 0.62em); }
  .career-list li { padding-block: 14px; }
  .career-list li::before { top: 16px; }
  .life-item { padding: 18px 0; }
  .qa summary { padding: 16px 0; }
  .vs-btn { padding: 14px 0; }
  .dates li { padding: 14px 0; }
  .prog { padding: 16px 0; gap: 10px; }
  .prog-meta { gap: 8px 16px; }
}

/* Motion: hidden starting states only when the head script allowed motion */
.motion .split { opacity: 0; }
.motion .split.is-split { opacity: 1; }
.motion .reveal { opacity: 0; transform: translateY(28px); }
.motion .img-reveal { clip-path: inset(0% 0% 100% 0%); }
.motion .hero-media { clip-path: inset(0% 0% 0% 100%); }
.motion .eyebrow, .motion .hero-intake, .motion .hero-main > * { opacity: 0; transform: translateY(18px); }
.motion .facts li::before { transform: scaleY(0); transition: transform 1.1s var(--ease); }
.motion .facts.is-in li::before { transform: scaleY(1); }
.motion .facts.is-in li:nth-child(2)::before { transition-delay: 0.1s; }
.motion .facts.is-in li:nth-child(3)::before { transition-delay: 0.2s; }
.motion .facts.is-in li:nth-child(4)::before { transition-delay: 0.3s; }
.motion .facts li > * { opacity: 0; transform: translateY(14px); }
.motion .dean-q p { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
