/* =====================================================================
   UNPAZ Medical Admissions: public site styles
   Mobile-first. Tokens at the top; components below.
   ===================================================================== */

/* Fonts: Montserrat (titles) and Open Sans (text), self-hosted under the SIL Open Font License */
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/open-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-display: swap; font-weight: 300 800; src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }


:root {
  --navy: #151948;
  --navy-deep: #0D1033;
  --navy-soft: #262B66;
  --ink: #1A1C3A;
  --muted: #595B75;
  --teal: #850303;
  --teal-bright: #F2A5A5;
  --teal-wash: #F8E9E9;
  --gold: #850303;
  --gold-soft: #F3D3D3;
  --maroon: #850303;
  --maroon-hover: #A30F0F;
  --maroon-deep: #5C0202;
  --paper: #F3F4F8;
  --white: #FFFFFF;
  --line: #DADAE6;
  --line-strong: #BBBDD0;
  --danger: #B42318;
  --danger-wash: #FDECEA;
  --success: #17703A;
  --success-wash: #E8F5EC;
  --warning: #8A5A00;
  --warning-wash: #FFF4DB;

  --font-serif: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sans: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
  --step-5: 2.875rem;
  --step-6: 3.5rem;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(21,25,72, .06), 0 8px 24px rgba(21,25,72, .08);
  --shadow-lift: 0 2px 4px rgba(21,25,72, .06), 0 18px 40px rgba(21,25,72, .14);
  --container: 1200px;
  --gutter: 20px;
  --sec-space: 64px;
  --header-h: 72px;
}

@media (min-width: 768px) { :root { --gutter: 32px; --sec-space: 88px; } }
@media (min-width: 1100px) { :root { --sec-space: 104px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, var(--step-6)); }
h2 { font-size: clamp(1.75rem, 3.2vw, var(--step-4)); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--teal-wash); color: var(--navy); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  font: 600 var(--step-0)/1.2 var(--font-sans);
  border: 1.5px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--teal); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--maroon-hover); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: var(--step--1); }
.btn--lg { min-height: 56px; padding: .8em 2em; font-size: var(--step-1); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 0; }
.text-link { font-weight: 600; color: var(--teal); text-decoration: underline; }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; padding: 40px 0 56px; background: var(--white); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%;
  background: var(--paper); z-index: 0; display: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; margin-bottom: .4em; max-width: 15ch; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 52ch; }
.hero__note { font-size: var(--step--1); color: var(--muted); }
.hero__actions { margin-top: 2rem; }
.hero__visual { position: relative; min-height: 380px; }
.hero__img, .hero__placeholder { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius-lg); }
.hero__placeholder {
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(242,165,165,.32), transparent 60%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--navy);
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero::before { display: block; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .hero__visual { min-height: 560px; }
  .hero__img, .hero__placeholder { position: absolute; inset: 0; min-height: 0; }
}

/* the admission pathway: the site's signature element */
.pathway {
  position: relative; list-style: none; margin: -72px 16px 0; padding: 22px 22px 8px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
}
.pathway__list { list-style: none; margin: 0; padding: 0; }
.pathway__line { position: absolute; left: 37px; top: 40px; bottom: 56px; width: 2px; background: var(--teal); transform-origin: top; }
.pathway__step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; }
.pathway__dot {
  position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  background: #fff; color: var(--teal); border: 2px solid var(--teal);
}
.pathway__step:first-of-type .pathway__dot { background: var(--teal); color: #fff; }
.pathway__text { display: flex; flex-direction: column; line-height: 1.35; padding-top: 4px; }
.pathway__text strong { color: var(--navy); font-size: .98rem; }
.pathway__text span { color: var(--muted); font-size: .86rem; }
@media (min-width: 900px) {
  .pathway { position: absolute; left: -56px; bottom: 40px; width: 320px; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .pathway__list { list-style: none; margin: 0; padding: 0; }
.pathway__line { transform: scaleY(0); animation: draw-path 1.4s .35s cubic-bezier(.65,0,.35,1) forwards; }
  .js .pathway__step { opacity: 0; transform: translateY(6px); animation: step-in .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.35s + var(--i) * .3s); }
  @keyframes draw-path { to { transform: scaleY(1); } }
  @keyframes step-in { to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- inner page hero */
.page-hero { position: relative; background: var(--navy); color: #D7D8E8; padding: 40px 0 48px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--teal-bright) 0 24%, var(--gold) 24% 30%, transparent 30%); }
.page-hero--image { background: linear-gradient(100deg, rgba(13,16,51,.95) 0%, rgba(13,16,51,.82) 55%, rgba(13,16,51,.55) 100%), var(--hero-img) center / cover no-repeat, var(--navy); }
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: .35em; }
.page-hero__intro { font-size: var(--step-1); max-width: 60ch; margin: 0; color: #D7D8E8; }
@media (min-width: 768px) { .page-hero { padding: 56px 0 72px; } }
.breadcrumbs ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step--1); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #8486A9; }
.breadcrumbs a { color: #C0C2DD; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }
.page-hero--article .article__date { color: var(--gold-soft); font-weight: 600; margin-bottom: 8px; }

/* ---------------------------------------------------------------- sections */
.sec { padding: var(--sec-space) 0; }
.sec--paper { background: var(--paper); }
.sec--navy { background: var(--navy); color: #D7D8E8; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--navy a:not(.btn) { color: var(--teal-bright); }
.sec--white + .sec--white, .sec--paper + .sec--paper { padding-top: 0; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-bottom: .3em; }
.sec-head__lead { font-size: var(--step-1); color: var(--muted); margin: 0; }
.sec--navy .sec-head__lead { color: #BCBED8; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 24px; margin-bottom: 32px; }
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-head-row__action { margin: 0 0 6px; }
.sec-intro { max-width: 70ch; margin-bottom: 32px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.class-tag, .verify-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; line-height: 1;
  padding: 6px 10px; border-radius: 999px; font-family: var(--font-sans);
}
.class-tag { background: var(--teal-wash); color: var(--teal); }
.class-tag.class-regulatory { background: #E8E9F4; color: var(--navy); }
.class-tag.class-to_confirm { background: var(--warning-wash); color: var(--warning); }
.verify-tag { background: #FFF6E5; color: #7A4F00; border: 1px dashed #B32A2A; font-weight: 600; }
.sec--navy .verify-tag { background: rgba(255,236,236,.12); color: var(--gold-soft); border-color: rgba(243,211,211,.5); }
.sec--navy .class-tag { background: rgba(255,255,255,.1); color: #fff; }

/* split: heading column + body column */
.split { display: grid; gap: 24px 64px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split__head { position: sticky; top: 140px; align-self: start; }
  .split--form .split__head { position: static; }
}
.split__head .sec-head { margin-bottom: 0; }
.split__head .btn-row { margin-top: 1.25rem; }
.split__figure { margin: 28px 0 0; }
.split__figure img { border-radius: var(--radius-lg); width: 100%; }

.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 3px solid var(--gold); font-family: var(--font-serif); font-size: var(--step-2); color: var(--navy); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: var(--step--1); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose em:only-child { color: var(--muted); }
.sec--navy .prose { color: #D7D8E8; }
.prose--doc { font-size: 1.05rem; }
.sec--legal .prose--doc { max-width: 74ch; }

/* features (icon items) */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: 1fr; }
.feature { padding: 24px 0; border-top: 1px solid var(--line); }
.feature__icon { display: inline-flex; color: var(--teal); margin-bottom: 14px; }
.feature__icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.feature h3 { font-size: 1.3rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.sec--navy .feature { border-color: rgba(255,255,255,.18); }
.sec--navy .feature p { color: #BCBED8; }
.sec--navy .feature__icon { color: var(--teal-bright); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .features--3 { grid-template-columns: repeat(3, 1fr); }
  .features--4 { grid-template-columns: repeat(4, 1fr); }
  .feature { border-top-width: 2px; }
  .feature:first-child { border-top-color: var(--teal); }
}

/* steps: a real sequence, so numbered, joined by the pathway line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; align-content: start; gap: 16px; padding-bottom: 28px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--teal); background: var(--white); border: 2px solid var(--teal);
}
.sec--paper .step__num { background: var(--paper); }
.step h3 { font-size: 1.25rem; margin: 8px 0 .3em; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 900px) {
  .steps:not(.steps--many):not(.steps--compact) { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; }
  .steps:not(.steps--many):not(.steps--compact) .step { grid-template-columns: 1fr; padding: 0; }
  .steps:not(.steps--many):not(.steps--compact) .step::before { left: 52px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .steps--many { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .steps--many .step::before { display: block; }
}

/* sole-admission claim band */
.claim { background: var(--navy-deep); color: #fff; padding: 28px 0; border-top: 3px solid var(--gold); }
.claim__inner { display: flex; gap: 18px; align-items: flex-start; }
.claim__icon { color: var(--gold); }
.claim__icon .icon { width: 36px; height: 36px; }
.claim__text { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.25; margin: 0; color: #fff; }
.claim__meta { margin: 8px 0 0; color: var(--gold-soft); font-size: var(--step--1); }

/* CTA band */
.sec--cta { padding: 64px 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cta h2 { margin-bottom: .2em; }
.cta p { margin: 0; color: #BCBED8; font-size: var(--step-1); }
.sec--white.sec--cta .cta p, .sec--paper.sec--cta .cta p { color: var(--muted); }
.cta__actions { margin: 0; }

/* empty states & notices */
.empty-state {
  display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px dashed var(--line-strong); color: var(--muted); max-width: 760px;
}
.empty-state .icon { color: var(--teal); width: 22px; height: 22px; margin-top: 2px; }
.empty-state p { margin: 0 0 .25em; }
.sec--navy .empty-state { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.25); color: #CCCDE0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); margin: 0 0 20px; border: 1px solid; }
.notice p { margin: 0; }
.notice ul { margin: 6px 0 0; padding-left: 1.1rem; }
.notice .icon { margin-top: 2px; }
.notice--success { background: var(--success-wash); border-color: #A8D5B6; color: var(--success); }
.notice--error { background: var(--danger-wash); border-color: #F2B8B1; color: var(--danger); }
.notice--error a { color: var(--danger); }
.notice--warning { background: var(--warning-wash); border-color: #E8A9A9; color: var(--warning); }
.notice--info { background: var(--teal-wash); border-color: #EBC3C3; color: var(--teal); }
.flash-wrap { padding-top: 20px; }

/* ---------------------------------------------------------------- fees */
.fee-preview { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fee-preview li { background: var(--white); padding: 24px; }
.fee-preview h3 { font-family: var(--font-sans); font-size: .95rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.fee-preview__amount { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.fee-preview__label { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 700px) { .fee-preview { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fee-preview { grid-template-columns: repeat(4, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.fees-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fees-table th, .fees-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fees-table thead th { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--paper); }
.fees-table .fees-table__group th { background: var(--white); font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--navy); padding-top: 22px; border-bottom: 2px solid var(--teal); }
.fees-table .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--navy); white-space: nowrap; }
.fees-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .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 td, .fees-table th { display: block; width: 100%; }
  .fees-table tr:not(.fees-table__group) { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 8px 0; }
  .fees-table td { border: 0; padding: 6px 16px; display: grid; grid-template-columns: 40% 1fr; gap: 12px; }
  .fees-table td::before { content: attr(data-label); font-size: .8rem; font-weight: 700; color: var(--muted); }
  .fees-table td:empty { display: none; }
  .fees-table .fees-table__group th { border: 0; padding: 18px 0 8px; }
}

.schedule { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.schedule li { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.schedule__stage { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); }
.schedule__amount { font-weight: 700; color: var(--navy); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.schedule__body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .schedule li { grid-template-columns: 260px 1fr; } }

.download-card {
  display: inline-flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--white); color: var(--navy); text-decoration: none; box-shadow: var(--shadow);
  transition: border-color .18s ease;
}
.download-card:hover { border-color: var(--teal); color: var(--navy); }
.download-card > .icon { width: 32px; height: 32px; color: var(--teal); }
.download-card span { display: flex; flex-direction: column; }
.download-card strong { font-size: 1.1rem; }
.download-card span span { color: var(--muted); font-size: var(--step--1); }

/* ---------------------------------------------------------------- news */
.news-grid { display: grid; gap: 28px; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.news-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--paper); display: grid; place-items: center; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card__noimg { color: var(--line-strong); }
.news-card__noimg .icon { width: 40px; height: 40px; }
.news-card__body { padding-top: 16px; }
.news-card time { font-size: var(--step--1); color: var(--teal); font-weight: 700; }
.news-card h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.news-card__link:hover h3 { color: var(--teal); }
.news-card__link:hover img { transform: scale(1.03); }
.news-feature { margin-bottom: 48px; }
.news-feature a { display: grid; gap: 24px; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.news-feature__body { padding: 8px 24px 28px; }
.news-feature__flag { color: var(--gold); font-weight: 700; font-size: var(--step--1); margin-bottom: 6px; }
.news-feature h3 { font-size: var(--step-3); }
.news-feature time { display: block; color: var(--muted); font-size: var(--step--1); margin-bottom: 12px; }
@media (min-width: 900px) { .news-feature a { grid-template-columns: 1.2fr 1fr; align-items: center; } .news-feature__body { padding: 32px 40px 32px 8px; } }
.article__figure { margin: 0 0 32px; }
.article__figure img { border-radius: var(--radius-lg); width: 100%; }
.article__back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- gallery & chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a, .chips button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font: 600 .9rem/1 var(--font-sans);
  text-decoration: none; cursor: pointer;
}
.chips a span, .chips button span { color: var(--muted); font-weight: 500; }
.chips a:hover, .chips button:hover { border-color: var(--navy); color: var(--navy); }
.chips [aria-current="true"], .chips [aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips [aria-current="true"] span { color: #CCCDE0; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1100px) { .gallery:not(.gallery--preview) { grid-template-columns: repeat(4, 1fr); } }
.gallery__item { margin: 0; }
.gallery__item a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s; }
.gallery__item a:hover img { transform: scale(1.04); }
.gallery__item figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; }
.gallery--preview .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--preview .gallery__item:first-child a { aspect-ratio: auto; height: 100%; min-height: 240px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,30,.94); display: grid; place-items: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #D7D8E8; text-align: center; padding-top: 12px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 18px 44px 18px 0; position: relative;
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--teal); }
.faq summary .verify-tag { font-size: .7rem; padding: 4px 8px; }
.faq__answer { padding: 0 0 20px; color: var(--ink); }
.sec--navy .faq, .sec--navy .faq-list { border-color: rgba(255,255,255,.2); }
.sec--navy .faq summary { color: #fff; }
.faq-tools { display: grid; gap: 16px; margin-bottom: 36px; }
.search-field { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 0 14px; background: #fff; max-width: 560px; }
.search-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.search-field .icon { color: var(--muted); }
.search-field input { border: 0; outline: 0; min-height: 50px; flex: 1; font: inherit; background: transparent; }
.faq-group { margin-bottom: 48px; }
.faq-group__title { font-size: var(--step-3); }
.faq-empty { padding: 20px 0; }
mark { background: #FFF1C2; color: inherit; padding: 0 2px; border-radius: 2px; }

/* ---------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.form [aria-invalid="true"] { border-color: var(--danger) !important; background-color: #FFFBFA; }
.field-error { color: var(--danger); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.field--check label, .checks label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.5; cursor: pointer; }
.field--check input[type=checkbox] { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--teal); }
.checks { display: grid; gap: 16px; }
.form-actions { margin: 24px 0 0; }
.enquiry-form { background: #fff; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
@media (min-width: 768px) { .enquiry-form { padding: 32px; } }
.sec--navy .enquiry-form { color: var(--ink); }
.contact-mini { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-mini li { display: flex; gap: 10px; align-items: center; }
.contact-mini .icon { color: var(--teal); }

/* application form */
.app-form { max-width: 920px; }
.app-progress { display: none; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: prog; }
@media (min-width: 768px) {
  .app-progress { display: flex; gap: 0; }
  .app-progress li { flex: 1; counter-increment: prog; font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line); }
  .app-progress li::before { content: counter(prog) ". "; }
  .app-progress li.is-active, .app-progress li.is-done { color: var(--navy); border-top-color: var(--teal); }
}
.app-section { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin: 0 0 24px; padding: 24px 20px 28px; min-width: 0; }
@media (min-width: 768px) { .app-section { padding: 32px 36px 36px; } }
.app-section legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: clamp(1.35rem, 4vw, var(--step-3)); line-height: 1.2; color: var(--navy); padding: 0 8px; margin-left: -8px; }
.app-section__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font: 700 .95rem/1 var(--font-sans); }
.phone-input { display: grid; grid-template-columns: 88px 1fr; gap: 8px; }
.upload-list { display: grid; gap: 14px; }
.upload { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); }
.upload--error { border-color: var(--danger); background: var(--danger-wash); }
.upload label { display: block; margin-bottom: 10px; }
.upload__hint { display: block; font-size: .88rem; color: var(--muted); font-weight: 500; }
.upload input[type=file] { width: 100%; font: inherit; font-size: .92rem; }
.upload input[type=file]::file-selector-button { font: 600 .9rem var(--font-sans); padding: 10px 16px; margin-right: 12px; border: 0; border-radius: var(--radius-sm); background: var(--navy); color: #fff; cursor: pointer; }
.upload__files { margin: 8px 0 0; font-size: .88rem; color: var(--teal); font-weight: 600; }
.upload__files:empty { display: none; }
.app-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.app-form__submit p { margin: 0; }

.receipt { text-align: center; padding: 40px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); margin-bottom: 48px; }
.receipt__icon { color: var(--success); display: inline-flex; }
.receipt__icon .icon { width: 48px; height: 48px; }
.receipt__label { margin: 20px 0 4px; font-weight: 600; color: var(--muted); }
.receipt__ref { font-family: var(--font-serif); font-size: clamp(2rem, 6vw, 2.8rem); color: var(--navy); letter-spacing: .04em; margin: 0 0 8px; }
.receipt .notice { text-align: left; margin-top: 20px; }

/* ---------------------------------------------------------------- contact & centres */
.contact-cards { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.contact-cards li { display: flex; gap: 16px; padding: 24px; background: #fff; }
.contact-cards__icon { color: var(--teal); }
.contact-cards__icon .icon { width: 26px; height: 26px; }
.contact-cards h3 { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.contact-cards p { margin: 0; font-size: 1.05rem; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.map-frame { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame--sm { aspect-ratio: 16 / 9; margin-top: 16px; }
@media (max-width: 700px) { .map-frame { aspect-ratio: 4 / 3; } }

.chips--anchors { margin-bottom: 40px; }
.centre-group { padding-top: 8px; margin-bottom: 48px; }
.centre-group h2 { font-size: var(--step-3); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.centres { display: grid; gap: 24px; }
@media (min-width: 900px) { .centres { grid-template-columns: repeat(2, 1fr); } }
.centre { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.centre__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.centre__body { padding: 24px; }
.centre h3 { margin-bottom: 2px; }
.centre__city { color: var(--teal); font-weight: 700; font-size: .92rem; }
.centre__details { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.centre__details li { display: flex; gap: 10px; align-items: flex-start; }
.centre__details .icon { color: var(--muted); margin-top: 3px; width: 18px; height: 18px; }
.centre__verified { display: flex; gap: 8px; align-items: center; color: var(--success); font-size: .88rem; font-weight: 600; }
.centre__verified .icon { width: 18px; height: 18px; }

/* compliance documents */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.doc { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.doc__icon { color: var(--teal); }
.doc__icon .icon { width: 30px; height: 30px; }
.doc__type { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.doc h3 { font-size: 1.3rem; }
.doc__meta { display: flex; gap: 8px; align-items: center; color: var(--success); font-weight: 600; font-size: .9rem; }
.doc__meta .icon { width: 18px; height: 18px; }
.doc .btn-row { margin-top: 12px; }

/* pagination */
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 40px 0 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination a:hover { border-color: var(--navy); }
.pagination [aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .gap { border: 0; }

/* error page */
.error-page { text-align: center; }
.error-code { font-family: var(--font-serif); font-size: 5rem; line-height: 1; color: var(--teal); margin-bottom: .2em; }
.error-page .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: #B3B5CF; font-size: .95rem; }
.site-footer a { color: #DEDFED; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 48px; } }
.site-footer__name { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; margin-bottom: 12px; }
.site-footer__heading { font-weight: 700; color: #fff; margin-bottom: 14px; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--teal-bright); width: 18px; height: 18px; margin-top: 3px; }
.site-footer__cta p { margin-bottom: 18px; }
.socials { list-style: none; display: flex; gap: 8px; padding: 0; margin: 20px 0 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials .icon { width: 18px; height: 18px; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; font-size: .88rem; }
.site-footer__base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer__base p { margin: 0; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
.site-footer__disclaimer { margin: 16px 0 0 !important; color: #9194B5; font-size: .82rem; max-width: 90ch; }

/* ---------------------------------------------------------------- motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .btn, .lightbox, .enquiry-form { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
  .sec { padding: 16px 0; }
}

/* =====================================================================
   ONE-PAGE LAYOUT, HERO SLIDER AND MOTION
   ===================================================================== */

/* ---------- full-screen slider */
.slider { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; overflow: hidden; background: var(--navy-deep); color: #fff; }
.slider__track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slide__media { position: absolute; inset: 0; overflow: hidden; }
.slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 9s ease-out; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(10,12,38,.92) 0%, rgba(10,12,38,.75) 38%, rgba(10,12,38,.15) 75%, rgba(10,12,38,0) 100%), linear-gradient(0deg, rgba(10,12,38,.7), rgba(10,12,38,0) 30%); }
.slide--center .slide__shade { background: radial-gradient(ellipse at center, rgba(10,12,38,.8), rgba(10,12,38,.35)); }
.slide__content { position: relative; height: 100%; display: flex; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.slide--center .slide__content { justify-content: center; text-align: center; }
.slide--center .slide__actions { justify-content: center; }
.slide__text { max-width: 700px; }
.slide__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.015em; color: #fff; margin: 0 0 .35em; text-wrap: balance; }
.slide__lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #D2D3E6; max-width: 54ch; margin: 0; }
.slide__actions { margin-top: 2rem; }
.slide .verify-tag { margin-bottom: 16px; background: rgba(255,236,236,.12); color: var(--gold-soft); border-color: rgba(243,211,211,.5); }
/* staggered entrance of the active slide's text */
.js .slide .slide__text > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .slide.is-active .slide__text > * { opacity: 1; transform: none; }
.js .slide.is-active .slide__text > :nth-child(2) { transition-delay: .25s; }
.js .slide.is-active .slide__text > :nth-child(3) { transition-delay: .45s; }
.js .slide.is-active .slide__text > :nth-child(4) { transition-delay: .65s; }
.slider__controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.slider__dots { display: flex; gap: 10px; }
.slider__dot { width: 54px; height: 24px; padding: 10px 0; background: none; border: 0; cursor: pointer; }
.slider__dot span { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.slider__dot span::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.slider__dot[aria-selected="true"] span::after { animation: dot-fill var(--slide-ms, 6000ms) linear forwards; }
.slider.is-paused .slider__dot[aria-selected="true"] span::after { animation-play-state: paused; }
@keyframes dot-fill { to { transform: scaleX(1); } }
.slider__arrows { display: flex; gap: 8px; }
.slider__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,12,38,.35); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.slider__arrow:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.slider__arrow--prev .icon { transform: scaleX(-1); }
.slider__pause { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.slider.is-paused .slider__pause { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.slider__scroll { position: absolute; left: 50%; bottom: 30px; z-index: 3; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.6); border-radius: 16px; }
.slider__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-cue 1.8s ease-in-out infinite; }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 899px) { .slider__scroll { display: none; } .slider__controls { bottom: 22px; } .slide__shade { background: linear-gradient(0deg, rgba(10,12,38,.95) 10%, rgba(10,12,38,.55) 60%, rgba(10,12,38,.35)); } .slide__content { align-items: flex-end; padding-bottom: 110px; } }

/* ---------- pathway strip under the slider */
.pathway-strip { position: relative; background: var(--navy-deep); color: #CCCDE0; padding: 36px 0 40px; overflow: hidden; }
.pathway-strip .container { position: relative; }
.pathway-strip__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; z-index: 1; }
.pathway-strip__list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.pathway-strip__list strong { color: #fff; font-size: 1.02rem; grid-column: 2; }
.pathway-strip__list li > span:not(.pathway-strip__dot) { grid-column: 2; font-size: .9rem; color: #A3A5C4; }
.pathway-strip__dot { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--navy-deep); background: var(--teal-bright); box-shadow: 0 0 0 6px rgba(242,165,165,.15); }
.pathway-strip__line { display: none; }
@media (min-width: 900px) {
  .pathway-strip__list { grid-template-columns: repeat(4, 1fr); }
  .pathway-strip__line { display: block; position: absolute; left: calc(var(--gutter) + 22px); right: calc(var(--gutter) + 22px); top: 22px; height: 2px; background: rgba(255,255,255,.12); }
  .pathway-strip__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-bright), var(--gold)); transform-origin: left; transform: scaleX(1); }
  .js .pathway-strip__line span { transform: scaleX(0); transition: transform 2.2s cubic-bezier(.65,0,.35,1) .3s; }
  .js .pathway-strip.is-visible .pathway-strip__line span { transform: scaleX(1); }
}
.js .pathway-strip__list li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(.4s + var(--i) * .35s); }
.js .pathway-strip.is-visible .pathway-strip__list li { opacity: 1; transform: none; }
.pathway-strip.is-visible .pathway-strip__dot { animation: dot-pop .6s ease calc(.4s + var(--i) * .35s) both; }
@keyframes dot-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ---------- chapters */
.chapter { position: relative; padding: calc(var(--sec-space) * .9) 0 calc(var(--sec-space) * .4); scroll-margin-top: 60px; overflow: hidden; }
.chapter--white { background: var(--white); }
.chapter--paper { background: var(--paper); }
.chapter .sec { padding: calc(var(--sec-space) * .5) 0; }
.chapter .sec--navy { margin: calc(var(--sec-space) * .3) 0; padding: calc(var(--sec-space) * .7) 0; }
.sec--plain { background: transparent; }
.ecg { position: absolute; top: 0; left: 0; width: 100%; height: 44px; overflow: visible; }
.ecg path { fill: none; stroke: var(--teal-bright); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .55; }
.js .ecg path { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s ease-out; }
.js .ecg.is-visible path { stroke-dashoffset: 0; }
.chapter-head { display: grid; gap: 28px; align-items: center; margin-bottom: 24px; }
.chapter-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; margin-bottom: .3em; max-width: 18ch; }
.chapter-head__intro { font-size: var(--step-1); color: var(--muted); max-width: 58ch; margin: 0; }
.chapter-head__art { position: relative; justify-self: center; width: min(420px, 90%); aspect-ratio: 4 / 3; }
.chapter-head__art img { position: relative; z-index: 1; width: 100%; height: 100%; animation: bob 7s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(133,3,3,.35); inset: -6% 4%; animation: spin 40s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 12%; left: 6%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.orbit--2 { inset: 10% 18%; border-color: rgba(133,3,3,.35); animation-duration: 28s; animation-direction: reverse; }
.orbit--2::after { background: var(--teal-bright); top: auto; bottom: 8%; left: auto; right: 4%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (min-width: 900px) { .chapter-head--image { grid-template-columns: 1.15fr .85fr; } .chapter-head__art { justify-self: end; } }

/* image + text */
.media-split { display: grid; gap: 32px; align-items: center; }
.media-split__figure { margin: 0; position: relative; }
.media-split__figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.media-split__figure.is-illustration img { box-shadow: none; border-radius: 0; }
.media-split__figure.is-illustration::before { content: ""; position: absolute; inset: 6% 2%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(circle at 30% 30%, rgba(242,165,165,.18), rgba(133,3,3,.10)); animation: morph 14s ease-in-out infinite; z-index: 0; }
.media-split__figure.is-illustration img { position: relative; z-index: 1; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; } 50% { border-radius: 58% 42% 45% 55% / 40% 58% 42% 60%; } }
.media-split .sec-head { margin-bottom: 20px; }
@media (min-width: 900px) {
  .media-split { grid-template-columns: 1.05fr .95fr; gap: 72px; }
  .media-split--flip .media-split__figure { order: -1; }
}
.cards-head { display: grid; gap: 20px; align-items: center; margin-bottom: 8px; }
.cards-head__img { width: min(320px, 80%); justify-self: center; }
@media (min-width: 900px) { .cards-head { grid-template-columns: 1fr 300px; } .cards-head__img { justify-self: end; } }

/* ---------- scroll reveal (only with JS and when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js .features [data-reveal]:nth-child(2), .js .steps [data-reveal]:nth-child(2), .js .news-grid [data-reveal]:nth-child(2) { transition-delay: .12s; }
  .js .features [data-reveal]:nth-child(3), .js .steps [data-reveal]:nth-child(3), .js .news-grid [data-reveal]:nth-child(3) { transition-delay: .24s; }
  .js .features [data-reveal]:nth-child(4), .js .steps [data-reveal]:nth-child(4) { transition-delay: .36s; }
  .js .features [data-reveal]:nth-child(n+5), .js .steps [data-reveal]:nth-child(n+5) { transition-delay: .48s; }
}
/* feature icons beat gently on hover, like a pulse */
.feature__icon { position: relative; width: 56px; height: 56px; border-radius: 16px; background: var(--teal-wash); display: grid; place-items: center; transition: transform .3s ease, background-color .3s ease; }
.feature__icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--teal-bright); opacity: 0; }
.feature:hover .feature__icon { background: var(--teal); color: #fff; }
.feature:hover .feature__icon::after { animation: ripple 1s ease-out; }
@keyframes ripple { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.sec--navy .feature__icon { background: rgba(255,255,255,.08); }
.chapter--paper .step__num { background: var(--paper); }
.step.is-visible .step__num { animation: dot-pop .6s ease both; }

/* steps line fills as the steps come into view */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .steps:not(.steps--many):not(.steps--compact) .step::before { transform-origin: left; transform: scaleX(0); transition: transform 1.2s ease .4s; background: var(--teal); }
  .js .steps:not(.steps--many):not(.steps--compact) .step.is-visible::before { transform: scaleX(1); }
}

/* navy bands get floating cells */
.sec--navy, .claim, .pathway-strip { position: relative; overflow: hidden; }
.sec--navy::before, .claim::before, .pathway-strip::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -80px; top: -120px; border-radius: 50%;
  border: 2px solid rgba(242,165,165,.18); box-shadow: inset 0 0 0 40px rgba(242,165,165,.04); animation: drift 16s ease-in-out infinite; pointer-events: none;
}
.sec--navy::after, .pathway-strip::after {
  content: ""; position: absolute; width: 160px; height: 160px; left: 6%; bottom: -70px; border-radius: 50%;
  border: 2px solid rgba(133,3,3,.22); animation: drift 12s ease-in-out infinite reverse; pointer-events: none;
}
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
.sec--navy > .container, .claim > .container { position: relative; z-index: 1; }

/* ---------- pop-up documents and news articles */
.doc-modal { width: min(820px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(10,12,38,.4); color: var(--ink); }
.doc-modal::backdrop { background: rgba(10,12,38,.7); backdrop-filter: blur(3px); }
.doc-modal[open] { animation: modal-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.doc-modal__inner { padding: 40px clamp(20px, 5vw, 56px) 48px; position: relative; }
.doc-modal__close { position: sticky; top: 0; float: right; margin: -20px -28px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); z-index: 2; }
.doc-modal__close:hover { border-color: var(--navy); }
.doc-modal h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-right: 40px; }
.doc-modal__intro { color: var(--muted); font-size: var(--step-1); }
.doc-modal__date { color: var(--teal); font-weight: 700; margin: 0 0 6px; }
.doc-modal__img { border-radius: var(--radius); margin: 8px 0 24px; width: 100%; }
body.has-modal { overflow: hidden; }

/* gallery filter animation */
.gallery__item { transition: opacity .35s ease, transform .35s ease; }
.gallery__item.is-hidden { display: none; }
.receipt { margin-bottom: 0; }
.receipt__next { text-align: left; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .slide__media img { transform: none !important; }
  .js [data-reveal], .js .slide .slide__text > *, .js .pathway-strip__list li { opacity: 1 !important; transform: none !important; }
  .js .ecg path { stroke-dashoffset: 0 !important; }
}
.to-top[hidden] { display: none; }
@media (min-width: 900px) {
  .pathway-strip__list li { display: flex; flex-direction: column; gap: 4px; }
  .pathway-strip__dot { margin-bottom: 10px; }
}
/* animations switched off in Website settings */
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion [data-reveal], .no-motion .slide .slide__text > *, .no-motion .pathway-strip__list li { opacity: 1 !important; transform: none !important; }
.no-motion .ecg path { stroke-dashoffset: 0 !important; }
.no-motion .slide__media img { transform: none !important; }
@media (max-width: 899px) { .slide__media img { object-position: 78% center; } }
.doc-modal .prose h2 { font-size: 1.45rem; margin-top: 1.4em; }
/* reserve image space so in-page links land exactly on their section */
.media-split__figure img, .cards-head__img { aspect-ratio: 4 / 3; object-fit: contain; height: auto; }
.media-split__figure:not(.is-illustration) img { object-fit: cover; }
.chapter:focus, .sec:focus, [data-chapter]:focus { outline: none; }
.source-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.chapter .sec--navy .source-note { color: #A3A5C4; }
.prose table { background: #fff; border-radius: var(--radius); overflow: hidden; }
.prose th { background: var(--navy); color: #fff; font-weight: 600; border-color: var(--navy); }
.prose tr:nth-child(even) td { background: var(--paper); }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; } }
.sec-outro { margin-top: 20px; }
.sec-outro .source-note { margin: 0; }
@media (min-width: 1100px) {
  .gallery:not(.gallery--preview) .gallery__item:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .gallery:not(.gallery--preview) .gallery__item:first-child a { aspect-ratio: auto; flex: 1; }
}
@media (max-width: 599px) {
  .slider__dots { gap: 6px; }
  .slider__dot { width: 26px; }
  .slider__arrows { gap: 6px; }
  .slider__arrow { width: 40px; height: 40px; }
}

/* =====================================================================
   VERSION 4: HEADER, SLIDER SPACING, COLOUR THEMES, FAQ, CENTRES,
   FULL-WIDTH FORM, TIGHTER SPACING, MOBILE APP STRUCTURE
   ===================================================================== */
:root { --sec-space: 44px; --hdr: 76px; }
@media (min-width: 768px) { :root { --sec-space: 60px; } }
@media (min-width: 1100px) { :root { --sec-space: 68px; } }

/* ---------- header: one row on wide screens */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
body.onepage .site-header { position: fixed; left: 0; right: 0; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,25,72,.10); }
.masthead { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand__mark { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 2px 8px rgba(10,12,38,.2); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
.brand__sub { font-size: .76rem; font-weight: 700; color: var(--teal); }
.site-nav { display: none; flex: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(12px, 1.5vw, 26px); }
.site-nav a { display: block; padding: 27px 0 25px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--teal); border-bottom-color: currentColor; }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
@media (min-width: 1200px) { .site-nav { display: block; } .masthead__actions { margin-left: 0; } .nav-toggle { display: none; } }
.site-header.is-transparent { background: linear-gradient(180deg, rgba(10,12,38,.78), rgba(10,12,38,0)); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.is-transparent .brand { color: #fff; }
.site-header.is-transparent .brand__sub { color: var(--teal-bright); }
.site-header.is-transparent .site-nav a { color: rgba(255,255,255,.9); }
.site-header.is-transparent .site-nav a:hover, .site-header.is-transparent .site-nav a[aria-current] { color: #fff; border-bottom-color: var(--gold); }
.site-header.is-transparent .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }

/* ---------- slider: content starts below the header, never under it */
.slider { height: 100vh; height: 100svh; min-height: 560px; max-height: 1000px; }
.slide__content { align-items: center; padding-top: calc(var(--hdr) + 28px); padding-bottom: 112px; }
.slide__text { max-width: 660px; }
.slide__title { font-size: clamp(2.2rem, min(5.4vw, 8vh), 4.4rem); line-height: 1.04; }
.slide__lead { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.slide__actions { margin-top: 1.6rem; }

/* ---------- tighter sections */
.chapter { padding: 56px 0 20px; }
.chapter .sec { padding: 22px 0; }
.chapter .sec--navy { margin: 16px 0; padding: 40px 0; }
.chapter-head { margin-bottom: 6px; gap: 16px; }
.chapter-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .2em; }
.chapter-head__intro { font-size: 1.04rem; }
.chapter-head__art { width: min(230px, 60%); }
.chapter-head__art--logo { width: 170px; aspect-ratio: 1; }
.chapter-head__art--logo img { border-radius: 50%; box-shadow: 0 10px 30px rgba(21,25,72,.18); }
.chapter-head__art--logo .orbit--1 { inset: -12%; }
.chapter-head__art--logo .orbit--2 { inset: -24%; }
@media (min-width: 900px) { .chapter-head--image { grid-template-columns: 1fr auto; } }
.sec-head { margin-bottom: 18px; }
.chapter .sec-head h2, .sec .sec-head h2 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.sec-head__lead { font-size: 1rem; }
.feature { padding: 16px 0; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
.feature__icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .2em; }
.feature p { font-size: .92rem; }
.step { padding-bottom: 18px; }
.step h3 { font-size: 1.08rem; margin-top: 10px; }
.step p { font-size: .92rem; }
.media-split { gap: 28px; }
@media (min-width: 900px) { .media-split { gap: 56px; } }
.media-split__figure:not(.is-illustration) img { aspect-ratio: 16 / 11; object-fit: cover; }
.media-split__figure.is-illustration { max-width: 380px; justify-self: center; }
.prose { font-size: .98rem; }
.fees-table th, .fees-table td { padding: 11px 14px; }
.schedule li { padding: 14px 0; }
.sec--cta { padding: 40px 0; }
.cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cards-head__img--photo { width: 240px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lift); }

/* ---------- colour themes (navy and teal chapters use white text) */
.chapter--light { background: var(--white); }
.chapter--tint { background: var(--paper); }
.chapter--navy { background: radial-gradient(90% 70% at 85% 0%, #2A2F7A 0%, rgba(42,47,122,0) 60%), var(--navy); }
.chapter--teal { background: linear-gradient(135deg, #850303 0%, #5C0505 45%, var(--navy) 100%); }
.is-dark { color: #D5D7E8; }
.is-dark h2, .is-dark h3, .is-dark .chapter-head h2 { color: #fff; }
.is-dark .chapter-head__intro, .is-dark .sec-head__lead, .is-dark .muted { color: #ADAFCE; }
.is-dark .prose { color: #D5D7E8; }
.is-dark .prose strong { color: #fff; }
.is-dark a:not(.btn) { color: var(--teal-bright); }
.is-dark .feature { border-color: rgba(255,255,255,.16); }
.is-dark .feature:first-child { border-top-color: var(--teal-bright); }
.is-dark .feature p { color: #ADAFCE; }
.is-dark .feature__icon { background: rgba(255,255,255,.08); color: var(--teal-bright); }
.is-dark .step__num { background: transparent; color: #fff; border-color: var(--teal-bright); }
.is-dark .step p { color: #ADAFCE; }
.is-dark .step::before { background: rgba(255,255,255,.22); }
.is-dark .class-tag { background: rgba(255,255,255,.1); color: #fff; }
.is-dark .class-tag.class-to_confirm { background: rgba(243,211,211,.16); color: var(--gold-soft); }
.is-dark .verify-tag { background: rgba(255,236,236,.1); color: var(--gold-soft); border-color: rgba(243,211,211,.45); }
.is-dark .prose table { color: var(--ink); }
.is-dark .prose th { background: var(--teal); border-color: var(--teal); }
.is-dark .source-note { color: #A3A5C4; }
.is-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.is-dark .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.is-dark .btn--primary { background: var(--gold); color: #fff; }
.is-dark .btn--primary:hover { background: var(--maroon-hover); color: #fff; }
.is-dark .orbit { border-color: rgba(255,255,255,.22); }
.is-dark .empty-state { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #D5D7E8; }
.is-dark .doc { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.is-dark .doc h3 { color: #fff; }
.is-dark .doc__type { color: #ADAFCE; }
.is-dark .doc__meta { color: #7FE0B0; }
.is-dark .doc__icon { color: var(--teal-bright); }
.is-dark .contact-cards { background: rgba(255,255,255,.12); border-color: transparent; }
.is-dark .contact-cards li { background: rgba(10,12,38,.35); }
.is-dark .contact-cards h3 { color: #ADAFCE; }
.is-dark .contact-cards p, .is-dark .contact-cards a { color: #fff; }
.is-dark .enquiry-form, .is-dark .app-section, .is-dark .centre { color: var(--ink); }
.is-dark .enquiry-form h3, .is-dark .centre h3 { color: var(--navy); }
.chapter.is-dark .sec--navy { background: rgba(10,12,38,.35); }

/* ---------- FAQ: topics on the left, answers on the right */
.faq-layout { display: grid; gap: 22px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 300px 1fr; gap: 44px; align-items: start; } .faq-side { position: sticky; top: calc(var(--hdr) + 20px); } }
.faq-cats { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.faq-cats button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .92rem/1.25 var(--font-sans); text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.faq-cats button span { font-weight: 700; font-size: .8rem; opacity: .65; }
.faq-cats button:hover { border-color: var(--teal); }
.faq-cats button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-help { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--paper); }
.faq-help p { margin: 0 0 10px; font-weight: 600; }
.faq-items { display: grid; gap: 10px; }
.faq-items .faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; border-bottom-width: 1px; }
.faq-items .faq summary { padding: 16px 36px 16px 0; font-size: 1rem; }
.faq-items .faq[open] { box-shadow: var(--shadow); }
.faq-items .faq__answer { padding-bottom: 16px; }
.is-dark .search-field { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.is-dark .search-field .icon { color: #ADAFCE; }
.is-dark .search-field input { color: #fff; }
.is-dark .search-field input::placeholder { color: #9396B8; }
.is-dark .faq-cats button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.is-dark .faq-cats button:hover { border-color: var(--teal-bright); }
.is-dark .faq-cats button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.is-dark .faq-help { background: rgba(255,255,255,.07); color: #fff; }
.is-dark .faq-items .faq { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.is-dark .faq-items .faq[open] { background: rgba(255,255,255,.1); box-shadow: none; }
.is-dark .faq summary { color: #fff; }
.is-dark .faq summary::after { border-color: var(--teal-bright); }
.is-dark .faq__answer { color: #D5D7E8; }
.is-dark .faq-empty { color: #D5D7E8; }
.is-dark mark { background: var(--gold); color: #fff; }

/* ---------- admission centres: city tabs + visit panel */
.centres-layout { display: grid; gap: 24px; }
@media (min-width: 1000px) { .centres-layout { grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: start; } }
.city-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 700px) { .city-tabs { grid-template-columns: repeat(4, 1fr); } }
.city-tabs button { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; cursor: pointer; font-family: var(--font-sans); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.city-tabs button .icon { color: var(--teal); width: 22px; height: 22px; }
.city-tabs button strong { display: block; color: var(--navy); font-size: .92rem; line-height: 1.2; }
.city-tabs button small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.city-tabs button[aria-selected="true"] { border-color: var(--teal); background: var(--teal-wash); box-shadow: 0 6px 18px rgba(133,3,3,.15); }
.city-panel[hidden] { display: none; }
.city-panel { display: grid; gap: 14px; }
.centre--soon { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.centre--soon h3 { margin-bottom: 4px; }
.centre--soon p { color: var(--muted); margin: 0 0 12px; }
.centre__pin { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--teal-wash); color: var(--teal); display: grid; place-items: center; animation: pin-pulse 2.4s ease-in-out infinite; }
@keyframes pin-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(133,3,3,.35); } 50% { box-shadow: 0 0 0 12px rgba(133,3,3,0); } }
.centres-visit { background: var(--navy); color: #D5D7E8; border-radius: 20px; padding: 22px; }
.centres-visit h3 { color: #fff; margin-bottom: 2px; }
.centres-visit > p { margin: 0 0 14px; color: #ADAFCE; }
.centres-visit .enquiry-form { padding: 16px; border: 0; }
.centres-visit .form-grid { grid-template-columns: 1fr; gap: 12px; }
.centres-visit .form textarea { min-height: 90px; }

/* ---------- apply: full-width form */
.app-form { max-width: none; }
.app-section { padding: 22px 20px 24px; }
@media (min-width: 768px) { .app-section { padding: 26px 30px 30px; } }
@media (min-width: 1100px) {
  .app-form .form-grid { grid-template-columns: repeat(3, 1fr); }
  .upload-list { grid-template-columns: repeat(3, 1fr); }
  .checks { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .upload-list { grid-template-columns: repeat(2, 1fr); } }
.app-section legend { font-size: clamp(1.3rem, 2vw, 1.6rem); }

/* ---------- footer brand */
.site-footer__brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.site-footer__brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.site-footer__brand .site-footer__name { margin: 0; font-size: 1.3rem; }
.site-footer__uni { margin: 0; font-size: .85rem; color: var(--teal-bright); }
.site-footer__grid { padding-top: 48px; padding-bottom: 36px; }

/* ---------- mobile app structure: bottom tab bar + menu sheet */
.tabbar { display: none; }
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(10,12,38,0); display: flex; align-items: flex-end; justify-content: center; transition: background-color .22s ease; }
.sheet[hidden] { display: none; }
.sheet.is-open { background: rgba(10,12,38,.55); }
.sheet__panel { width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.7,.2,1); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 0 auto 12px; }
@media (min-width: 900px) { .sheet { align-items: center; } .sheet__panel { border-radius: 24px; padding-bottom: 22px; } .sheet__panel::before { display: none; } }
.sheet__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sheet__head img { border-radius: 50%; }
.sheet__head strong { display: block; color: var(--navy); font-size: 1rem; }
.sheet__head span { font-size: .8rem; color: var(--muted); }
.sheet__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy); cursor: pointer; }
.sheet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px; background: var(--paper); color: var(--navy); font-weight: 700; font-size: .8rem; text-align: center; text-decoration: none; }
.sheet__grid a:active, .sheet__grid a:hover { background: var(--teal-wash); color: var(--navy); }
.sheet__icon { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(21,25,72,.08); }
.sheet__quick { display: flex; gap: 8px; margin: 14px 0 0; }
.sheet__quick .btn { flex: 1; min-height: 44px; padding: .5em; font-size: .9rem; }
.sheet__apply { width: 100%; margin-top: 12px; }
body.has-sheet { overflow: hidden; }

@media (max-width: 899px) {
  .masthead { min-height: 62px; gap: 12px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.25rem; }
  .masthead__apply, .nav-toggle { display: none; }
  body.onepage { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(21,25,72,.08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; min-height: 52px; background: none; border: 0; color: var(--muted); font: 700 .7rem/1 var(--font-sans); text-decoration: none; cursor: pointer; }
  .tabbar .icon { width: 22px; height: 22px; }
  .tabbar a[aria-current] { color: var(--teal); }
  .tabbar__apply { color: var(--navy) !important; }
  .tabbar__apply-icon { width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(133,3,3,.45), 0 0 0 4px #fff; }


  /* slider */
  .slider { height: 84svh; min-height: 540px; }
  .slide__content { align-items: flex-end; padding-top: calc(var(--hdr) + 16px); padding-bottom: 76px; }
  .slide__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .slide__lead { font-size: .98rem; }
  .slide__actions { gap: 10px; }
  .slide__actions .btn { flex: 1 1 auto; min-height: 50px; padding: .6em 1em; font-size: .98rem; }
  .slider__controls { bottom: 18px; }

  /* chapters read like app screens */
  .chapter { padding: 40px 0 10px; }
  .chapter .sec { padding: 14px 0; }
  .chapter-head h2 { font-size: 1.8rem; }
  .chapter-head__intro { font-size: .98rem; }
  .chapter-head__art { display: none; }
  .ecg { height: 30px; }
  .sec { padding: 32px 0; }
  .sec-head { margin-bottom: 12px; }
  .split { gap: 8px; }
  .media-split { gap: 16px; }
  .media-split__figure:not(.is-illustration) img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .media-split__figure.is-illustration { max-width: 240px; }
  .cards-head__img { display: none; }
  .cards-head__img--photo { display: block; width: 100%; aspect-ratio: 16 / 10; justify-self: stretch; }
  .btn-row { margin-top: 1rem; }
}

/* swipeable card rows on phones */
@media (max-width: 767px) {
  .features { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .features::-webkit-scrollbar, .gallery::-webkit-scrollbar, .news-grid::-webkit-scrollbar, .pathway-strip__list::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 70%; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 4px 14px rgba(21,25,72,.06); }
  .feature:first-child { border-top-color: var(--line); }
  .is-dark .feature { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); box-shadow: none; }
  .is-dark .feature:first-child { border-top-color: rgba(255,255,255,.12); }
  .gallery:not(.gallery--preview) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .gallery:not(.gallery--preview) .gallery__item { flex: 0 0 80%; scroll-snap-align: start; }
  .gallery__item a { border-radius: 16px; }
  .news-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; }
  .news-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .pathway-strip { padding: 20px 0; }
  .pathway-strip__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .pathway-strip__list li { flex: 0 0 62%; scroll-snap-align: start; }
  .steps .step { padding-bottom: 14px; }
  .app-section { border-radius: 18px; }
  .app-section legend { font-size: 1.25rem; }
  .fees-table tr:not(.fees-table__group) { border-radius: 16px; }
  .faq-cats { flex-direction: row; overflow-x: auto; gap: 8px; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .faq-cats::-webkit-scrollbar { display: none; }
  .faq-cats button { flex: none; border-radius: 999px; padding: 9px 14px; white-space: nowrap; }
  .faq-help { display: none; }
  .centres-visit { border-radius: 18px; padding: 18px; }
  .site-footer__grid { padding-top: 36px; gap: 26px; }
}
/* features beside a photo */
.cards-media { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .cards-media { grid-template-columns: 1fr 300px; gap: 44px; } .cards-media .features--3 { grid-template-columns: repeat(3, 1fr); } }
.cards-media__figure { margin: 0; }
.cards-media__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lift); }
@media (max-width: 999px) { .cards-media__figure img { aspect-ratio: 16 / 10; } .cards-media__figure { order: -1; } }
.cards-head__img { width: 200px; }
/* five steps in one row */
@media (min-width: 900px) { .steps:not(.steps--many):not(.steps--compact) { grid-auto-columns: minmax(0, 1fr); } }
/* compact official sources */
.doc-list { gap: 12px; }
@media (min-width: 900px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc { padding: 16px 18px; gap: 14px; }
.doc h3 { font-size: 1.05rem; margin-bottom: .3em; }
.doc p { margin-bottom: .4em; font-size: .9rem; }
.doc .btn-row { margin-top: 6px; }
.doc__icon .icon { width: 24px; height: 24px; }
/* gallery grids by photo count */
@media (min-width: 1100px) {
  .gallery:not(.gallery--preview) .gallery__item:first-child { grid-column: auto; grid-row: auto; display: block; }
  .gallery:not(.gallery--preview) .gallery__item:first-child a { aspect-ratio: 4 / 3; }
  .gallery--count-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .gallery--count-5 .gallery__item:first-child, .gallery--count-7 .gallery__item:first-child { grid-column: span 2 !important; grid-row: span 2 !important; display: flex !important; flex-direction: column; }
  .gallery--count-5 .gallery__item:first-child a, .gallery--count-7 .gallery__item:first-child a { aspect-ratio: auto !important; flex: 1; }
}
/* grid children may shrink (prevents sideways scrolling on phones) */
.cards-media > *, .faq-layout > *, .centres-layout > *, .split > *, .media-split > *, .centres-main, .city-panel { min-width: 0; }
.fees-cur { display: none; }
/* compact fee cards on phones */
@media (max-width: 760px) {
  .fees-table tr:not(.fees-table__group) { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; margin-bottom: 8px; }
  .fees-table td { display: block; padding: 0; }
  .fees-table td::before { display: none; }
  .fees-table td[data-label="Fee"] { grid-column: 1; font-weight: 700; color: var(--navy); }
  .fees-table td[data-label="Amount"] { grid-column: 2; grid-row: 1; text-align: right; font-size: 1.05rem; }
  .fees-table td[data-label="Currency"], .fees-table td[data-label="Payment stage"] { display: none; }
  .fees-table td[data-label="Due date"], .fees-table td[data-label="Notes"] { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); }
  .fees-table td:empty { display: none; }
  .fees-cur { display: inline; font-size: .8rem; color: var(--muted); font-weight: 600; }
  .fees-table .fees-table__group th { padding: 14px 0 6px; font-size: 1.05rem; }
  .schedule li { gap: 2px; padding: 12px 0; }
  .schedule__stage { font-size: 1.1rem; }
}

/* =====================================================================
   VERSION 5: SCROLL-TO-TOP BUTTON AND FULLY VISIBLE PHONE LAYOUT
   ===================================================================== */
/* scroll-to-top button (appears after one screen of scrolling) */
.to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 65;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(10,12,38,.28); border: 2px solid rgba(255,255,255,.85);
  transition: transform .25s ease, background-color .2s ease, opacity .25s ease;
  animation: to-top-in .3s ease;
}
.to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top:hover, .to-top:focus-visible { background: var(--teal); color: #fff; transform: translateY(-3px); }
.to-top[hidden] { display: none; }
@keyframes to-top-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) {
  /* sits above the bottom tab bar */
  .to-top { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}

/* phones: every card visible, no sideways scrolling rows */
@media (max-width: 767px) {
  .features, .features--2, .features--3, .features--4 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .features--2 { grid-template-columns: 1fr; }
  .feature { flex: none; padding: 14px; border-radius: 16px; min-width: 0; }
  .feature__icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 8px; }
  .feature__icon .icon { width: 20px; height: 20px; }
  .feature h3 { font-size: 1rem; line-height: 1.25; }
  .feature p { font-size: .86rem; line-height: 1.45; }

  .gallery:not(.gallery--preview) {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .gallery:not(.gallery--preview) .gallery__item { flex: none; }
  .gallery:not(.gallery--preview) .gallery__item:first-child { grid-column: 1 / -1; }
  .gallery__item figcaption { font-size: .78rem; line-height: 1.35; }

  .news-grid { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .news-grid > * { flex: none; }

  .pathway-strip { padding: 22px 0 24px; }
  .pathway-strip__list {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px;
    margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .pathway-strip__list li { flex: none; grid-template-columns: 36px 1fr; column-gap: 10px; min-width: 0; }
  .pathway-strip__dot { width: 36px; height: 36px; font-size: .9rem; }
  .pathway-strip__list strong { font-size: .92rem; }
  .pathway-strip__list li > span:not(.pathway-strip__dot) { font-size: .8rem; }

  .faq-cats { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding: 0; }
  .faq-cats button { padding: 8px 12px; font-size: .84rem; }

  .slide__actions .btn { min-width: 0; }
  .prose table { font-size: .84rem; }
}
@media (max-width: 359px) {
  .features, .features--3, .features--4 { grid-template-columns: 1fr; }
  .pathway-strip__list { grid-template-columns: 1fr; }
}
/* phones: room for the tab bar comes from the footer itself, so no white strip below it */
@media (max-width: 899px) {
  body.onepage { padding-bottom: 0; }
  body.onepage .site-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* =====================================================================
   v6 brand: navy #151948 + maroon #850303, Montserrat titles, Open Sans text
   ===================================================================== */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
h3, h4 { font-weight: 600; }
.hero__title, .slide__title { font-weight: 700; letter-spacing: -0.02em; }
.slide__title { font-size: clamp(1.9rem, min(4.4vw, 7vh), 3.7rem); line-height: 1.1; max-width: 18ch; }
.brand__name { font-weight: 800; letter-spacing: .04em; }
.site-footer__name, .claim__text, .receipt__ref, .error-code, .fee-preview__amount { font-weight: 700; }
.fees-table .fees-table__group th, .schedule__stage, .app-section legend, .prose blockquote { font-weight: 600; }
.btn { font-family: var(--font-serif); font-weight: 600; letter-spacing: .01em; }

/* primary buttons: navy; call-to-action buttons: maroon */
.btn--primary:hover { background: var(--maroon); }
.btn--gold { background: var(--maroon); color: #fff; }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--maroon-hover); color: #fff; }
.is-dark .btn--primary { background: var(--maroon); color: #fff; }
.is-dark .btn--primary:hover { background: var(--maroon-hover); color: #fff; }
.site-header.is-transparent .site-nav a:hover,
.site-header.is-transparent .site-nav a[aria-current] { border-bottom-color: var(--teal-bright); }

/* maroon chapters (stored as the "teal" theme) */
.chapter--teal { background: radial-gradient(90% 80% at 90% 0%, #A31010 0%, rgba(163,16,16,0) 60%), linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%); }
.chapter--teal.is-dark, .chapter--teal .is-dark { color: #F6E1E1; }
.chapter--teal .chapter-head__intro, .chapter--teal .sec-head__lead, .chapter--teal .muted,
.chapter--teal .feature p, .chapter--teal .step p, .chapter--teal .faq__answer, .chapter--teal .prose { color: #F1D2D2; }
.chapter--teal a:not(.btn) { color: #fff; }
.chapter--teal .btn--primary, .chapter--teal .btn--gold { background: #fff; color: var(--maroon); }
.chapter--teal .btn--primary:hover, .chapter--teal .btn--gold:hover { background: var(--gold-soft); color: var(--maroon-deep); }
.chapter--teal .faq-cats button[aria-pressed="true"], .chapter--teal mark { background: #fff; border-color: #fff; color: var(--maroon); }
.chapter--teal .prose th { background: var(--navy); border-color: var(--navy); }
.chapter--teal .ecg path { stroke: #fff; opacity: .35; }
.chapter.chapter--teal .sec--navy { background: rgba(40,0,0,.25); }

/* navy chapters: a hint of maroon glow */
.chapter--navy { background: radial-gradient(80% 70% at 88% 0%, rgba(133,3,3,.35) 0%, rgba(133,3,3,0) 60%), var(--navy); }

/* hero pathway, tab bar, misc accents */
.pathway-strip__dot { background: var(--maroon); color: #fff; box-shadow: 0 0 0 6px rgba(242,165,165,.18); }
.pathway-strip__line span { background: linear-gradient(90deg, var(--maroon), var(--teal-bright)); }
.tabbar__apply-icon { background: var(--maroon); color: #fff; box-shadow: 0 6px 18px rgba(133,3,3,.4), 0 0 0 4px #fff; }
.to-top:hover, .to-top:focus-visible { background: var(--maroon); }
.claim { border-top-color: var(--maroon); }
.claim__icon { color: var(--teal-bright); }
.site-footer { background: var(--navy-deep); border-top: 4px solid var(--maroon); }
.is-dark .prose li::marker, .is-dark li::marker { color: var(--teal-bright); }
.is-dark .contact-cards__icon, .is-dark .contact-mini .icon, .is-dark .centre__pin { color: var(--teal-bright); }
.chapter--teal .contact-cards li { background: rgba(40,0,0,.28); }
