/* Apply to Abroad — styles for every page
   Desktop layout from 1081px, tablet 768–1080px (desktop sections in one column + mobile header),
   mobile below 768px. Values come from the artboards in handoff/design/website/ (desktop and -Mobile). */

/* ---------- Tokens ---------- */
:root {
  --orange: #F58634;
  --orange-text: #B04E0B;
  --orange-large: #D2640E;
  --ink: #242122;
  --text-2: #4B494C;
  --muted: #6B686B;
  --quiet: #646163;
  --ground: #F1F2F2;
  --band: #D2D3D5;
  --white: #FFFFFF;
  --dots: #D5D6D8;
  --line: #DEDFE0;
  --line-2: #E2E3E4;
  --line-3: #C9CACC;
  --field: #B9B7B8;
  --board: #1A1819;
  --board-top: #121011;
  --flap: #2E2B2D;
  --flap-line: #141213;
  --dark-line: #3A3739;
  --dark-line-2: #343133;
  --on-dark-muted: #9A9799;
  --on-dark-muted-2: #A9A6A8;
  --on-dark-text: #C9C7C8;
  --on-dark-text-2: #E2E0E1;
  --map-ground: #E9EAEB;
  --menu-line: #EDEEEE;

  --font-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --shadow-lift: 0 2px 4px rgba(36, 33, 34, .06), 0 24px 38px -22px rgba(36, 33, 34, .55);
  --header-h: 75px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; accent-color: var(--orange); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ground);
}
img, svg { display: block; }
a { color: var(--ink); }
a:hover { color: var(--orange-text); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
address { font-style: normal; }
::placeholder { color: var(--muted); opacity: 1; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.only-m { display: none; }

/* Brand selection and highlight colours (no browser blue). */
* { -webkit-tap-highlight-color: transparent; }
input, select, textarea, progress { accent-color: var(--orange); }
::selection { background: var(--orange); color: var(--ink); }
::target-text { background: var(--orange); color: var(--ink); }
.sel-orange::selection, .sel-orange *::selection { background: var(--ink); color: var(--orange); -webkit-text-fill-color: var(--orange); }
.sel-on-orange::selection, .sel-on-orange *::selection { background: var(--ink); color: var(--white); -webkit-text-fill-color: var(--white); }
.fx-label::selection, .fx-label *::selection { background: var(--orange); color: var(--ink); -webkit-text-fill-color: var(--ink); }
.fx-primary .fx-label::selection, .fx-primary .fx-label *::selection { background: var(--ink); color: var(--white); -webkit-text-fill-color: var(--white); }
.fx-orange .fx-label::selection, .fx-orange .fx-label *::selection,
.fx-copy .fx-label::selection, .fx-copy .fx-label *::selection { background: var(--ink); color: var(--orange); -webkit-text-fill-color: var(--orange); }

/* Focus */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(245, 134, 52, .6); outline-offset: 1px; }
:focus:not(:focus-visible) { outline: none; }
.telwrap:focus-within { outline: 3px solid rgba(245, 134, 52, .6); outline-offset: 1px; }
.telwrap input:focus-visible { outline: none; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset; box-shadow: 0 0 0 1000px var(--white) inset; -webkit-text-fill-color: var(--ink);
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

section[id] { scroll-margin-top: var(--header-h); }
#main { scroll-margin-top: var(--header-h); }

.container { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 3vw, 32px); padding-right: clamp(20px, 3vw, 32px); }

/* ---------- Button fill sweep ----------
   The fill and a matching split on the label move together, so every letter is always
   light-on-charcoal or dark-on-orange. */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0; text-decoration: none; cursor: pointer; }
.fx { position: relative; overflow: hidden; isolation: isolate; }
.fx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--fx-fill) 50%, transparent 50%);
  background-size: 200% 100%; background-position: 100% 0; background-repeat: no-repeat;
  transition: background-position .35s ease-in-out;
}
.fx-label {
  flex: 1 1 auto; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: inherit;
  color: var(--fx-off); transition: color .35s ease-in-out;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fx-label {
    background-image: linear-gradient(90deg, var(--fx-on) 50%, var(--fx-off) 50%);
    background-size: 200% 100%; background-position: 100% 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transition: background-position .35s ease-in-out, color .35s ease-in-out;
  }
}
.fx-primary { --fx-fill: var(--ink); --fx-on: var(--white); --fx-off: var(--ink); }
.fx-outline { --fx-fill: var(--orange); --fx-on: var(--ink); --fx-off: var(--ink); }
.fx-orange { --fx-fill: var(--orange); --fx-on: var(--ink); --fx-off: var(--orange); }
.fx-copy { --fx-fill: var(--orange); --fx-on: var(--ink); --fx-off: var(--orange-text); }
@media (hover: hover) {
  .fx:hover::before, .fx:hover .fx-label { background-position: 0 0; }
  .fx:hover .fx-label { color: var(--fx-on); }
}
.fx:focus-visible::before, .fx:focus-visible .fx-label, .fx:active::before, .fx:active .fx-label { background-position: 0 0; }
.fx:focus-visible .fx-label, .fx:active .fx-label { color: var(--fx-on); }
.fx:active::before, .fx:active .fx-label { transition-duration: .2s; }
.fx[data-pressed]::before, .fx[data-pressed] .fx-label { background-position: 0 0; transition-duration: .2s; }
.fx[data-pressed] .fx-label { color: var(--fx-on); }

/* ---------- Map card lift ---------- */
.maplift { transition: transform .25s ease-in-out, box-shadow .25s ease-in-out; box-shadow: 0 1px 2px rgba(36, 33, 34, .06), 0 12px 26px -20px rgba(36, 33, 34, .45); }
@media (hover: hover) { .maplift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }
.maplift:focus-visible, .maplift[data-pressed] { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ---------- Card feel ----------
   Service tiles, education loan cards, vision and mission cards. Uses the separate translate/scale
   properties so it never fights the scroll-in animation (which owns transform).
   The loan cards are one combined card from 768px up and two separate cards below. */
.cardlift { transition: translate .25s ease-in-out, scale .25s ease-in-out, box-shadow .25s ease-in-out; }
.cardicon { transition: background-color .25s ease-in-out, border-color .25s ease-in-out, color .25s ease-in-out; }
@media (hover: hover) {
  .cardlift:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
  .cardlift:hover .cardicon { background: var(--orange) !important; border-color: var(--orange) !important; color: var(--ink) !important; }
}
.cardlift:focus-within { translate: 0 -4px; box-shadow: var(--shadow-lift); }
.cardlift:focus-within .cardicon, .cardlift[data-pressed] .cardicon { background: var(--orange) !important; border-color: var(--orange) !important; color: var(--ink) !important; }
.cardlift[data-pressed] { scale: .98; transition-duration: .2s; }

@media (min-width: 768px) {
  .loan-cards { transition: translate .25s ease-in-out, scale .25s ease-in-out, box-shadow .25s ease-in-out; }
  .loan-cards:focus-within { translate: 0 -4px; box-shadow: var(--shadow-lift); }
  .loan-cards[data-pressed] { scale: .98; transition-duration: .2s; }
}
@media (min-width: 768px) and (hover: hover) {
  .loan-cards:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
}
@media (max-width: 767.98px) {
  .loan-card { transition: translate .25s ease-in-out, scale .25s ease-in-out, box-shadow .25s ease-in-out; }
  .loan-card:focus-within { translate: 0 -4px; box-shadow: var(--shadow-lift); }
  .loan-card[data-pressed] { scale: .98; transition-duration: .2s; }
}
@media (max-width: 767.98px) and (hover: hover) {
  .loan-card:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
}

/* ---------- Shared pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 6px;
  background: var(--ink); color: var(--ground);
  font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.eyebrow-orange { background: var(--orange); color: var(--ink); font-weight: 700; }
.eyebrow-orange svg { color: currentColor; }

.h1 {
  margin: 22px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(42px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.02em; color: var(--ink);
}
.h1 span { display: block; }
.h1 .h1-accent { color: var(--orange-large); }
.h2 {
  margin: 14px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.015em;
}
.intro { margin: 14px 0 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.intro-gap { margin-top: 16px; }
.intro-58 { max-width: 58ch; }
.intro-40 { max-width: 40ch; }
.intro-60 { max-width: 60ch; }
.intro-36 { max-width: 36ch; }

.section { padding: 96px 0; }
.section-white { background: var(--white); }
.section-grey { background: var(--ground); }
.section-dark { background: var(--ink); color: var(--ground); }

.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--field);
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }

.flap {
  display: inline-block; padding: 7px 12px 6px; border-radius: 6px; background-color: var(--flap);
  background-image: linear-gradient(180deg, transparent calc(50% - 1px), var(--flap-line) calc(50% - 1px), var(--flap-line) calc(50% + 1px), transparent calc(50% + 1px));
  font-family: var(--font-label); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: .08em;
  text-transform: uppercase; color: var(--white);
}
.flap-sm { padding: 6px 10px 5px; font-size: 15px; }

/* Perforated tear line with two half-circle notches */
.tear { position: relative; }
.notch {
  position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ground); border: 1px solid var(--line-3); z-index: 1;
}
.notch-l { left: -14px; }
.notch-r { right: -14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 44px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 17px; }
.navlink { position: relative; text-decoration: none; }
.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left center; transition: transform .3s ease-in-out;
}
.navlink:hover::after, .navlink:focus-visible::after { transform: scaleX(1); }
.header-cta { min-height: 46px; border-radius: 10px; background: var(--orange); font-weight: 700; font-size: 16px; white-space: nowrap; flex-shrink: 0; }
.header-cta .fx-label { padding: 0 20px; }
.header-actions { display: none; align-items: center; gap: 8px; }
.header-cta-m { min-height: 44px; border-radius: 10px; background: var(--orange); font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-cta-m .fx-label { padding: 0 14px; }
.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 10px;
  border: 1.5px solid var(--band); background: var(--white); color: var(--ink); cursor: pointer; flex-shrink: 0;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.m-menu { border-top: 1px solid var(--line); }
.m-menu-inner { display: flex; flex-direction: column; padding: 4px 20px 20px; }
.m-menu-inner > a {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px;
  font-weight: 600; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--menu-line);
}
.m-menu-inner > a svg { color: var(--orange-text); }
.m-menu-call { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; font-size: 16px; }
.m-menu-call-label { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.m-menu-call a { display: flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--ground);
  background-image: radial-gradient(var(--dots) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 96px;
}
.hero-text { min-width: 0; }
.hero-intro { margin: 22px 0 0; font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 32ch; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-hero { gap: 10px; min-height: 54px; border-radius: 12px; background: var(--orange); font-weight: 700; font-size: 18px; }
.btn-hero .fx-label { padding: 0 26px; }
.btn-hero-outline { border: 1.5px solid var(--ink); background: transparent; font-weight: 600; }
.btn-hero-outline .fx-label { padding: 0 24px; }
.checklist { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--orange); flex-shrink: 0; }
.check svg { width: 14px; height: 14px; }

.hero-pass { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.chips-dest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flyto-label { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.flyto-label-d { margin-right: 4px; }
.flyto-label-m { display: none; }

/* Boarding pass */
[data-tilt] { transform-origin: 50% 60%; }
.pass {
  position: relative; background: var(--ground); border: 1px solid var(--line-3); border-radius: 20px; overflow: hidden;
  box-shadow: 0 34px 60px -32px rgba(36, 33, 34, .5), 0 2px 8px rgba(36, 33, 34, .08);
}
.pass-band { background: var(--band); padding: 16px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pass-logo { height: 32px; width: auto; }
.pass-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: .04em; color: var(--ink); }
.pass-body { display: flex; gap: 22px; padding: 26px 28px 26px 22px; }
.pass-barcode-side { display: flex; gap: 6px; flex-shrink: 0; }
.pass-barcode-side .bars {
  width: 40px;
  background-image: repeating-linear-gradient(180deg, #242122 0px, #242122 3px, transparent 3px, transparent 5px, #242122 5px, #242122 6px, transparent 6px, transparent 9px, #242122 9px, #242122 13px, transparent 13px, transparent 15px, #242122 15px, #242122 16px, transparent 16px, transparent 20px);
}
.pass-barcode-side span { writing-mode: vertical-rl; font-family: var(--font-label); font-weight: 700; font-size: 15px; letter-spacing: .34em; color: var(--ink); }
.pass-barcode-bottom { display: none; }
.pass-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pass-route { display: flex; align-items: center; gap: 8px; }
.pass-from { flex: 0 0 auto; }
.pass-to { flex: 0 1 auto; min-width: 0; }
.pass-dir { font-size: 18px; color: var(--text-2); }
.pass-code-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 2px; }
.pass-code { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .95; letter-spacing: -.03em; color: var(--ink); }
.pass-rest { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.pass-arc { flex: 1 1 auto; align-self: flex-end; min-width: 96px; padding: 0 16px 12px; }
.route { position: relative; height: 46px; }
.route > svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.route > svg path { fill: none; stroke: var(--on-dark-muted); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .1 7; }
.plane { position: absolute; left: 50%; top: 33%; display: block; width: 28px; height: 28px; transform: translate(-50%, -50%); }
.plane svg { width: 100%; height: 100%; transform: rotate(90deg); }
.pass-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.pass-fields > div { min-width: 0; }
.pass-label { font-family: var(--font-label); font-weight: 500; font-size: 17px; color: var(--text-2); }
.pass-value { font-family: var(--font-label); font-weight: 700; font-size: 22px; line-height: 1.15; }
.pass-passenger { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass-sub { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.pass-cta {
  display: flex; gap: 10px; min-height: 62px; width: 100%; background: var(--orange); font-weight: 700; font-size: 18px;
  border-top: 2px dashed rgba(36, 33, 34, .35); text-align: center;
}
.pass-cta .fx-label { padding: 14px 28px; }
.pass-cta svg { flex-shrink: 0; }
.pass-note { font-size: 14px; color: var(--text-2); }

/* ---------- Destinations / departures board ---------- */
.dest-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.section-dark .h2 { color: var(--white); }
.dest-intro { max-width: 44ch; font-size: 17px; line-height: 1.55; color: var(--on-dark-text); }
.board { margin-top: 44px; border-radius: 18px; background: var(--board); border: 1px solid var(--dark-line); overflow: hidden; }
.board-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px; background: var(--board-top); border-bottom: 1px solid var(--dark-line);
}
.board-title { display: flex; align-items: center; gap: 12px; }
.board-title svg { width: 24px; height: 24px; transform: rotate(45deg); }
.board-title > span { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: 22px; letter-spacing: .14em; color: var(--orange); }
.board-from { font-family: var(--font-label); font-weight: 600; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted-2); }
.board-scroll { overflow-x: auto; }
.board-table { min-width: 980px; }
.board-head, .board-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr) 140px; gap: 24px;
}
.board-head {
  padding: 14px 24px; font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-dark-muted);
}
.board-head-end { text-align: right; }
[data-flap] { transform-origin: 50% 0; }
.board-row { align-items: center; padding: 18px 24px; border-top: 1px solid var(--dark-line-2); }
.bcell { min-width: 0; }
.bcell-label { display: none; }
.board-name-sub { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--on-dark-muted-2); }
.board-intakes { font-family: var(--font-label); font-weight: 600; font-size: 20px; letter-spacing: .06em; color: var(--orange); }
.board-english { font-family: var(--font-label); font-weight: 600; font-size: 20px; letter-spacing: .04em; color: var(--white); }
.board-muted { color: var(--on-dark-muted); }
.board-sub { margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--on-dark-muted-2); }
.board-why { font-size: 16px; line-height: 1.45; color: var(--on-dark-text-2); }
.bcell-enquire { display: flex; justify-content: flex-end; }
.btn-enquire {
  gap: 6px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--orange);
  font-weight: 600; font-size: 16px; white-space: nowrap;
}
.btn-enquire .fx-label { padding: 0 16px; }
.btn-enquire svg { width: 16px; height: 16px; }

/* ---------- Services ---------- */
.tiles { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 22px; min-height: 152px; padding: 22px 20px; border-radius: 16px; background: var(--ground); }
.tile-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--white); color: var(--orange-text); border: 1px solid var(--line-2); }
.tile-icon svg { width: 26px; height: 26px; }
.tile h3 { font-weight: 600; font-size: 18px; line-height: 1.25; }
.tile p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }
/* A tile with a link (phase 16c): the title is the link and covers the tile; a link in its text stays above it */
.tile-linked { position: relative; }
.tile-link { color: inherit; text-decoration: none; }
.tile-link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.tile-link:hover { color: inherit; }
.tile-link:focus-visible { outline: none; }
.tile-link:focus-visible::after { outline: 3px solid var(--orange); outline-offset: 2px; }
.tile-linked p a { position: relative; z-index: 1; }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(168px, 100%), 1fr)); gap: 32px 18px; }
.steps li { min-width: 0; }
.step-marker { display: flex; align-items: center; gap: 10px; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--ground);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.step-num-first { background: var(--orange); color: var(--ink); }
.step-line { flex: 1; border-top: 2px dashed var(--field); }
.step-plane { width: 26px; height: 26px; transform: rotate(90deg); flex-shrink: 0; }
.step-body h3 { margin: 20px 0 0; font-weight: 700; font-size: 19px; line-height: 1.25; }
.step-body p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }

/* ---------- Education loan ---------- */
.loan-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "text cards" "cta cards"; column-gap: 48px; align-items: start;
}
.loan-text { grid-area: text; min-width: 0; }
.loan-cta { grid-area: cta; min-width: 0; }
.loan-cards { grid-area: cards; min-width: 0; }
.btn-loan { margin-top: 28px; gap: 10px; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 17px; }
.btn-loan .fx-label { padding: 0 22px; }
.loan-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--ground);
}
.loan-card { padding: 0 0 8px; }
.loan-card-features { background: var(--white); border-left: 1px solid var(--line); }
.loan-card-head { display: flex; align-items: stretch; background: var(--ink); color: var(--white); }
.loan-card-icon { display: grid; place-items: center; width: 48px; background: var(--orange); color: var(--ink); }
.loan-card-icon svg { width: 20px; height: 20px; }
.loan-card-head h3 { padding: 13px 16px; font-weight: 700; font-size: 17px; }
.loan-list { list-style: none; margin: 0; padding: 8px 24px 0; display: flex; flex-direction: column; }
.loan-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loan-list li:last-child { border-bottom: 0; }
.loan-list svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: var(--orange-text); }
.loan-item-title { font-weight: 700; font-size: 17px; }
.loan-item-text { font-size: 15px; color: var(--text-2); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". xp" "text xp" "cards xp" ". xp"; column-gap: 56px;
}
.about-text { grid-area: text; min-width: 0; }
.about-cards { grid-area: cards; min-width: 0; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.xp { grid-area: xp; align-self: center; min-width: 0; }
.vm-card { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-2); }
.vm-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); flex-shrink: 0; }
.vm-icon svg { width: 22px; height: 22px; }
.vm-card h3 { font-weight: 700; font-size: 18px; line-height: 1.25; }
.vm-card p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }

.xp {
  position: relative; background: var(--white); border: 1px solid var(--line-3); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(36, 33, 34, .5), 0 2px 8px rgba(36, 33, 34, .08);
}
.xp-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; background: var(--band); }
.xp-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 18px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.xp-from { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.xp-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 22px; }
.xp-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.xp-label { font-family: var(--font-label); font-weight: 500; font-size: 17px; color: var(--text-2); }
.xp-years { display: flex; align-items: baseline; gap: 6px; }
.xp-num { font-family: var(--font-display); font-weight: 900; font-size: 76px; line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.xp-unit { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.xp-value { font-family: var(--font-label); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--ink); }
.xp-dests { border-top: 1.5px dashed var(--line-3); padding-top: 18px; }
.xp-tiles { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.xp-strip {
  padding: 16px 28px; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.4;
  text-align: center; border-top: 2px dashed rgba(36, 33, 34, .35);
}

/* Phase 23b: the Announcement, Home's orange band in big type, wherever it sits (outside the white and grey alternation) */
.announce { background: var(--orange); color: var(--ink); }
.announce-inner {
  padding-top: 52px; padding-bottom: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 48px;
}
.announce-text { min-width: 0; flex: 1 1 560px; }
.announce-line {
  margin: 0; max-width: 26ch; font-family: var(--font-display); font-weight: 800; font-stretch: 104%;
  font-size: clamp(34px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.announce-small { margin: 14px 0 0; max-width: 60ch; font-weight: 500; font-size: 19px; line-height: 1.5; color: var(--ink); }
/* The outline look with the primary button's fill: charcoal from the left, the words turning white (fx-primary) */
.btn-announce {
  flex-shrink: 0; gap: 10px; min-height: 54px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent;
  font-weight: 700; font-size: 18px;
}
.btn-announce .fx-label { padding: 0 24px; }

/* ---------- Contact ---------- */
.section-contact { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
  grid-template-areas: "head form" "info form"; column-gap: 56px; align-items: start;
}
.contact-head { grid-area: head; min-width: 0; }
.contact-info { grid-area: info; min-width: 0; }
.ticket { grid-area: form; min-width: 0; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list > li { display: flex; gap: 14px; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ground); color: var(--orange-text); flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.contact-phones { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 18px; }
.contact-phones a { text-decoration: none; }
.contact-prefix { font-weight: 500; color: var(--text-2); }
/* Phase 19c: the second call number's quiet link under the Call line (its digits only in its tel:, never shown) */
.contact-phones a.contact-other { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; min-height: 28px; font-weight: 500; font-size: 15px; color: var(--quiet); }
.contact-phones a.contact-other:hover { color: var(--orange-text); }
.contact-strong { font-weight: 600; font-size: 18px; text-decoration: none; }
.contact-text { font-size: 17px; line-height: 1.5; }
/* Phase 20c: offices and contacts (HANDOFF.md, "Offices and contacts"): the office buttons (the form's chips), the chosen
   office's Call and email lines under its address */
.contact-office { min-width: 0; }
.office-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
/* Phase 23c, part 2 (HANDOFF.md, "Four or more offices"): four or more buttons two a row on desktop (1081 px up) and phones (below
   768 px), one row at tablet width; a long name cut short with an ellipsis on one line (the whole name still the button's text) */
.office-switch > button { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1081px), (max-width: 767px) {
  .office-switch:has(> button:nth-child(4)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1080px) {
  .office-switch:has(> button:nth-child(4)) { flex-wrap: nowrap; }
}
/* Phase 23c, part 2 ("An office outside India names its city's time"): moves to the next line as a whole when it doesn't fit */
.office-zone { display: inline-block; max-width: 100%; color: var(--text-2); }
.office-lines { margin-top: 6px; }

.map-wrap { margin-top: 28px; }
.map-card {
  position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--band);
  background: var(--map-ground); color: var(--ink); text-decoration: none;
}
.map-card:hover { color: var(--ink); }
.map-svg { width: 100%; height: auto; }
.map-tag {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px;
  border-radius: 6px; background: var(--ink); color: var(--white); font-family: var(--font-label); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 4px 10px -6px rgba(36, 33, 34, .6);
}
.map-tag svg { transform: rotate(45deg); }
.map-tag-gate { color: var(--orange); }
.map-road {
  position: absolute; left: 4%; top: 57.7%; transform: translateY(-50%); font-family: var(--font-label); font-weight: 700;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
  padding: 1px 5px; border-radius: 3px; background: var(--white);
}
.map-area {
  position: absolute; left: 4%; top: 72%; transform: translateY(-50%); font-family: var(--font-label); font-weight: 600;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #5E5B5E; white-space: nowrap;
}
.map-callout {
  position: absolute; right: calc(24% + 20px); top: 33.8%; transform: translateY(-50%); display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--band); background: var(--white); color: var(--ink);
  font-weight: 600; font-size: 12px; line-height: 1.2; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(36, 33, 34, .55);
}
.map-callout-tip {
  position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; background: var(--white);
  border-top: 1px solid var(--band); border-right: 1px solid var(--band); transform: translateY(-50%) rotate(45deg);
}
.map-landmark {
  position: absolute; left: 75%; top: 81%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center;
  line-height: 1.2; white-space: nowrap;
}
.map-landmark-name { font-weight: 700; font-size: 12px; color: var(--ink); }
.map-landmark-note { font-family: var(--font-label); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5E5B5E; }
.btn-directions {
  margin-top: 14px; gap: 8px; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--white);
  font-weight: 600; font-size: 16px;
}
.btn-directions .fx-label { padding: 0 18px; }

/* Enquiry form (check-in ticket) */
.ticket {
  margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-3); background: var(--ground);
  box-shadow: 0 30px 60px -36px rgba(36, 33, 34, .45);
}
.ticket-band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; background: var(--band); }
.ticket-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: .04em; }
.ticket-sub { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.ticket-body { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .chip-field legend { font-weight: 600; font-size: 16px; }
.opt { font-weight: 400; color: var(--text-2); }
.req { color: var(--orange-text); }
.input {
  height: 52px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--field); background: var(--white);
  color: var(--ink); font-size: 17px; width: 100%;
}
select.input { padding: 0 12px; }
textarea.input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.telwrap { display: flex; align-items: stretch; height: 52px; border-radius: 10px; border: 1.5px solid var(--field); background: var(--white); overflow: hidden; }
.telwrap[data-invalid] { border-color: var(--orange-text); }
.tel-prefix { display: flex; align-items: center; padding: 0 10px 0 14px; border-right: 1px solid var(--line); background: var(--ground); color: var(--ink); font-size: 17px; font-weight: 600; }
.telwrap input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 14px 0 12px; border: 0; background: transparent; color: var(--ink); font-size: 17px; }
.field-error { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--orange-text); }
.field-error svg { flex-shrink: 0; }
.chip-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.chip-field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ticket-send { position: relative; padding: 26px 28px 28px; background: var(--white); border-top: 2px dashed var(--line-3); display: flex; flex-direction: column; gap: 14px; }
.ticket-send .notch { top: -15px; background: var(--white); z-index: auto; }
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 62px; padding: 0;
  border-radius: 12px; border: 0; background: var(--orange); font-weight: 700; font-size: 20px;
}
.btn-wa .fx-label { padding: 0 24px; }
.btn-wa-off { padding: 0 24px; background: var(--line-2); color: var(--muted); cursor: not-allowed; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-mail {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0;
  border-radius: 10px; border: 1.5px solid var(--ink); background: var(--white); font-weight: 600; font-size: 16px;
}
.btn-mail .fx-label { padding: 0 18px; }
.btn-mail-off { padding: 0 18px; border-color: var(--band); background: var(--ground); color: var(--muted); cursor: not-allowed; }
.copy-row { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 2px 2px 2px 14px; border-radius: 10px; background: var(--ground); }
.copy-text { font-weight: 600; font-size: 16px; user-select: all; -webkit-user-select: all; }
.btn-copy { gap: 6px; min-height: 44px; border-radius: 8px; border: 0; background: transparent; font-weight: 700; font-size: 15px; }
.btn-copy .fx-label { padding: 0 12px; }
.privacy-note { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.send-hint { font-size: 15px; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ground); }
.site-footer .container { padding-top: 72px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.footer-logo { height: 52px; width: auto; }
.footer-tagline { margin: 18px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.footer-tagline span { color: var(--orange); }
.footer-desc { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--on-dark-muted-2); }
.footer-h { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted-2); }
.footer-address { margin: 12px 0 0; font-size: 16px; line-height: 1.6; }
.footer-subh { margin-top: 16px; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted-2); }
.footer-hours { margin: 4px 0 0; font-size: 16px; line-height: 1.6; }
.footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.site-footer a, .site-footer a:hover { color: var(--ground); text-decoration: none; }
.site-footer a.footer-orange, .site-footer a.footer-orange:hover { color: var(--orange); }
.footer-prefix { color: var(--on-dark-muted-2); }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-muted-2);
}

/* ---------- Floating WhatsApp (desktop and tablet) ---------- */
.wafloat {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 14px 30px -12px rgba(36, 33, 34, .55), 0 2px 6px rgba(36, 33, 34, .15);
  transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility 0s;
}
.wafloat[data-float-hidden] { opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility 0s linear .2s; }

/* ---------- Mobile Call / WhatsApp bar ---------- */
.mbar { display: none; }

/* ---------- Scroll motion ----------
   Hidden start states apply only once main.js sets data-motion="on" on <html>. */
[data-motion="on"] [data-tilt], [data-motion="on"] [data-plane] { will-change: transform; }
[data-motion="on"] [data-flap]:not([data-in]) { opacity: 0; transform: perspective(900px) rotateX(-82deg); }
[data-motion="on"] [data-flap][data-in] { animation: ataFlap .62s cubic-bezier(.2, .8, .3, 1) both; }
[data-motion="on"] [data-rise]:not([data-in]) { opacity: 0; transform: perspective(1000px) translate3d(0, 40px, -50px) rotateX(14deg); }
[data-motion="on"] [data-rise][data-in] { animation: ataRise .7s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes ataFlap { 0% { opacity: 0; transform: perspective(900px) rotateX(-88deg); } 40% { opacity: 1; } 62% { transform: perspective(900px) rotateX(11deg); } 82% { transform: perspective(900px) rotateX(-4deg); } 100% { opacity: 1; transform: none; } }
@keyframes ataFlapS { 0% { opacity: 0; transform: perspective(700px) rotateX(-80deg); } 45% { opacity: 1; } 70% { transform: perspective(700px) rotateX(7deg); } 100% { opacity: 1; transform: none; } }
@keyframes ataRise { 0% { opacity: 0; transform: perspective(1000px) translate3d(0, 40px, -50px) rotateX(14deg); } 100% { opacity: 1; transform: none; } }
@keyframes ataRiseS { 0% { opacity: 0; transform: perspective(800px) translate3d(0, 22px, 0) rotateX(8deg); } 100% { opacity: 1; transform: none; } }

/* =====================================================================
   Tablet and below (up to 1080px): mobile header, splits become one column
   ===================================================================== */
@media (max-width: 1080px) {
  :root { --header-h: 65px; }
  .header-bar { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .header-logo img { height: 34px; }
  .nav-desktop, .header-cta { display: none; }
  .header-actions { display: flex; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }

  .loan-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "text" "cta" "cards"; }
  .loan-cards { margin-top: 48px; }

  .about-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "text" "cards" "xp"; }
  .xp { margin-top: 56px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "info" "form"; }
  .ticket { margin-top: 56px; }

  /* Phase 21b: tablets and phones, the questions in one column (closed as the page loads: main.js) */
  .qa-cards { grid-template-columns: minmax(0, 1fr); }

}

/* =====================================================================
   Mobile (below 768px): the mobile design, capped at 480px and centred
   ===================================================================== */
@media (max-width: 767.98px) {
  .only-d { display: none; }
  .only-m { display: inline; }

  /* Departures board: each destination becomes a stacked block, with its View link last. */
  .board-head { display: none; }
  .board-row {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name enquire" "intakes intakes" "english english" "why why" "view view";
    gap: 8px 12px; align-items: start; padding: 18px 16px 20px;
  }
  .bcell-name { grid-area: name; }
  .bcell-enquire { grid-area: enquire; }
  .bcell-intakes { grid-area: intakes; margin-top: 6px; }
  .bcell-english { grid-area: english; }
  .bcell-why { grid-area: why; }
  .bcell-intakes, .bcell-english, .bcell-why { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .bcell-label { display: block; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
  .bcell-view-m { grid-area: view; display: block; margin-top: -2px; }
  .bcell-view-m .pagelink { margin-bottom: -12px; }
  .board-table { min-width: 0; }

  .container { max-width: 480px; padding-left: 20px; padding-right: 20px; }
  .header-bar { padding-left: 20px; padding-right: 16px; }

  .eyebrow { gap: 7px; padding: 5px 10px 5px 8px; font-size: 13px; letter-spacing: .1em; }
  .eyebrow svg { width: 14px; height: 14px; }
  .h1 { margin-top: 18px; font-stretch: 102%; font-size: 40px; line-height: 1.04; }
  .h2 { margin-top: 12px; font-stretch: 102%; font-size: 32px; line-height: 1.08; }
  .intro, .intro-gap { margin-top: 12px; font-size: 16px; max-width: none; }

  .section { padding: 60px 0; }

  .m-menu-inner { max-width: 480px; margin: 0 auto; }

  /* Hero */
  .hero { background-size: 20px 20px; }
  .hero-grid { display: block; padding-top: 32px; padding-bottom: 52px; }
  .hero-intro { margin-top: 16px; font-size: 18px; max-width: none; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 24px; }
  .btn-hero { display: flex; }
  .btn-hero .fx-label { padding: 0 20px; }
  .btn-hero-outline { min-height: 52px; font-size: 17px; }
  .btn-hero-outline .fx-label { padding: 0 20px; }
  .checklist { margin-top: 26px; line-height: 1.4; }
  .checklist li { align-items: flex-start; }
  .check { width: 22px; height: 22px; margin-top: 1px; }
  .check svg { width: 13px; height: 13px; }

  .hero-pass { display: block; margin-top: 36px; }
  .flyto-label { font-size: 14px; }
  .flyto-label-m { display: block; }
  .flyto-label-d { display: none; }
  .chips-dest {
    flex-wrap: nowrap; overflow-x: auto; margin: 10px -20px 0; padding: 2px 20px 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .chips-dest::-webkit-scrollbar { display: none; }
  .chips-dest .chip { flex: 0 0 auto; white-space: nowrap; }

  .pass { margin-top: 14px; border-radius: 18px; box-shadow: 0 26px 44px -26px rgba(36, 33, 34, .5), 0 2px 6px rgba(36, 33, 34, .08); }
  .pass-band { padding: 12px 18px; gap: 12px; }
  .pass-logo { height: 24px; }
  .pass-title { font-size: 15px; }
  .pass-body { display: block; padding: 20px 20px 18px; }
  .pass-barcode-side { display: none; }
  .pass-main { gap: 20px; }
  .pass-route { display: grid; grid-template-columns: auto minmax(12px, 1fr) auto; grid-template-areas: "from . to" "arc arc arc"; column-gap: 6px; row-gap: 20px; align-items: center; }
  .pass-from { grid-area: from; }
  .pass-to { grid-area: to; }
  .pass-arc { grid-area: arc; min-width: 0; padding: 0; margin: -6px 0 -2px; }
  .route { height: 34px; }
  .route > svg path { stroke-width: 2; stroke-dasharray: .1 6; }
  .plane { width: 22px; height: 22px; }
  .pass-dir { font-size: 16px; }
  .pass-code-row { column-gap: 1px; }
  .pass-code { font-size: 42px; }
  .pass-rest { font-size: 15px; }
  .pass-fields { gap: 16px 18px; }
  .pass-label { font-size: 16px; }
  .pass-value { font-size: 20px; }
  .pass-passenger { font-size: 18px; }
  .pass-sub { margin-top: 3px; font-size: 13px; }
  .pass-barcode-bottom { display: flex; flex-direction: column; gap: 4px; }
  .pass-barcode-bottom .bars {
    height: 34px;
    background-image: repeating-linear-gradient(90deg, #242122 0px, #242122 3px, transparent 3px, transparent 5px, #242122 5px, #242122 6px, transparent 6px, transparent 9px, #242122 9px, #242122 13px, transparent 13px, transparent 15px, #242122 15px, #242122 16px, transparent 16px, transparent 20px);
  }
  .pass-barcode-bottom span { font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .42em; color: var(--ink); text-align: center; }
  .pass .notch, .xp .notch { top: -13px; width: 26px; height: 26px; }
  .pass .notch-l, .xp .notch-l { left: -13px; }
  .pass .notch-r, .xp .notch-r { right: -13px; }
  .pass-cta { gap: 8px; min-height: 58px; font-size: 17px; line-height: 1.3; }
  .pass-cta .fx-label { padding: 12px 20px; }
  .pass-cta svg { width: 18px; height: 18px; }
  .pass-note { margin-top: 12px; line-height: 1.45; }

  /* Destinations */
  .dest-head { display: block; }
  .dest-intro { margin-top: 12px; max-width: none; font-size: 16px; }
  .board { margin-top: 28px; border-radius: 16px; }
  .board-top { flex-wrap: nowrap; gap: 10px; padding: 14px 16px; }
  .board-title { gap: 8px; }
  .board-title svg { width: 20px; height: 20px; }
  .board-title > span { font-size: 18px; letter-spacing: .12em; }
  .board-from { font-size: 14px; letter-spacing: .1em; }
  .board-row { padding: 18px 16px 20px; }
  .flap { padding: 6px 10px 5px; font-size: 20px; }
  .board-name-sub { margin-top: 6px; font-size: 13px; }
  .board-intakes { font-size: 18px; letter-spacing: .05em; }
  .board-english { font-size: 18px; }
  .board-sub { font-size: 13px; }
  .board-why { font-size: 15px; }
  .btn-enquire { gap: 4px; font-size: 15px; flex-shrink: 0; }
  .btn-enquire .fx-label { padding: 0 14px; }
  .btn-enquire svg { width: 14px; height: 14px; stroke-width: 2.4; }

  /* Services */
  .tiles { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { gap: 16px; min-height: 132px; padding: 16px; border-radius: 14px; }
  .tile-icon { width: 44px; height: 44px; border-radius: 11px; }
  .tile-icon svg { width: 22px; height: 22px; }
  .tile h3 { font-size: 16px; }
  .tile p { margin-top: 5px; font-size: 14px; line-height: 1.4; }

  /* How it works: vertical timeline */
  .steps { display: block; margin-top: 30px; }
  .steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; }
  .step-marker { flex-direction: column; gap: 0; }
  .step-num { width: 42px; height: 42px; font-size: 15px; }
  .step-line { flex: 1; min-height: 16px; border-top: 0; border-left: 2px dashed var(--field); margin: 6px 0; }
  .step-last .step-line { display: none; }
  .step-plane { width: 24px; height: 24px; margin-top: 8px; transform: rotate(180deg); }
  .step-body { padding: 8px 0 26px; }
  .step-last .step-body { padding-bottom: 0; }
  .step-body h3 { margin-top: 0; font-size: 18px; }
  .step-body p { margin-top: 6px; }

  /* Education loan: text, the two cards, then the button */
  .loan-grid { grid-template-areas: "text" "cards" "cta"; }
  .loan-cards { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; border: 0; border-radius: 0; overflow: visible; background: none; }
  .loan-card { padding: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--ground); }
  .loan-card-features { background: var(--white); border-left: 1px solid var(--line); }
  .loan-card-icon { width: 44px; }
  .loan-card-icon svg { width: 18px; height: 18px; }
  .loan-card-head h3 { padding: 12px 14px; font-size: 16px; }
  .loan-list { padding: 4px 18px 6px; }
  .loan-list li { gap: 12px; padding: 13px 0; }
  .loan-list svg { width: 22px; height: 22px; }
  .loan-item-title { font-size: 16px; }
  .btn-loan { display: flex; margin-top: 22px; }
  .btn-loan .fx-label { padding: 0 20px; }

  /* About: text, the experience pass, then vision and mission */
  .about-grid { grid-template-areas: "text" "xp" "cards"; }
  .xp { margin-top: 26px; border-radius: 18px; box-shadow: 0 24px 44px -30px rgba(36, 33, 34, .5), 0 2px 6px rgba(36, 33, 34, .08); }
  .about-cards { margin-top: 20px; gap: 12px; }
  .vm-card { padding: 18px; border-radius: 14px; }
  .vm-icon { width: 42px; height: 42px; }
  .vm-icon svg { width: 20px; height: 20px; }
  .vm-card h3 { font-size: 17px; }
  .vm-card p { margin-top: 5px; }
  .xp-band { gap: 12px; padding: 12px 18px; }
  .xp-title { font-size: 15px; white-space: normal; }
  .xp-from { font-size: 13px; white-space: normal; }
  .xp-body { padding: 20px; gap: 18px; }
  .xp-top { gap: 10px 16px; }
  .xp-label { font-size: 16px; }
  .xp-years { gap: 5px; }
  .xp-num { font-size: 58px; }
  .xp-unit { font-size: 16px; }
  .xp-value { font-size: 20px; }
  .xp-dests { padding-top: 16px; }
  .xp-tiles { gap: 7px; }
  .flap-sm { padding: 5px 9px 4px; font-size: 14px; }
  .xp-strip { padding: 14px 22px; font-size: 15px; }

  /* Phase 23b: the Announcement on phones, the line, then the button full width */
  .announce-inner { display: block; padding-top: 44px; padding-bottom: 44px; }
  .announce-line { max-width: none; font-stretch: 102%; font-size: 34px; line-height: 1.06; }
  .announce-small { margin-top: 12px; max-width: none; font-size: 17px; }
  .btn-announce { display: flex; margin-top: 24px; }
  .btn-announce .fx-label { padding: 0 20px; }

  /* Contact: heading, the form first, then the details and map */
  .contact-grid { grid-template-areas: "head" "form" "info"; }
  .ticket { margin-top: 26px; border-radius: 18px; box-shadow: 0 24px 44px -30px rgba(36, 33, 34, .45); }
  .contact-email { display: none !important; }
  .contact-list { margin-top: 32px; gap: 18px; }
  .contact-label { font-size: 14px; }
  .contact-phones { gap: 0; font-size: 17px; }
  .contact-phones a { display: flex; align-items: center; gap: 5px; min-height: 40px; }
  .contact-phones a.contact-other { display: flex; gap: 6px; min-height: 40px; }
  .contact-text { font-size: 16px; }
  /* Phase 20c: the office buttons as the form's chips on phones; a contact's number and the lines under an office at least 40 px tall */
  .office-switch .chip { padding: 0 15px; font-size: 15px; }
  .office-lines { margin-top: 4px; }
  .contact-tel { display: flex; align-items: center; min-height: 40px; font-size: 17px; }
  .map-wrap { margin-top: 22px; }
  .map-card { border-radius: 16px; }
  .map-tag { top: 10px; left: 10px; padding: 5px 9px 5px 7px; }
  .btn-directions { display: flex; margin-top: 12px; min-height: 50px; border-radius: 12px; font-size: 17px; }

  .ticket-band { gap: 12px; padding: 12px 18px; }
  .ticket-title { font-size: 16px; }
  .ticket-sub { font-size: 13px; }
  .ticket-body { padding: 20px 18px 22px; gap: 18px; }
  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .field { gap: 7px; }
  .chip-field legend { margin-bottom: 9px; }
  .chip-field .chip { padding: 0 15px; font-size: 15px; }
  .ticket-send { padding: 22px 18px; gap: 12px; }
  .ticket-send .notch { top: -14px; width: 26px; height: 26px; }
  .ticket-send .notch-l { left: -13px; }
  .ticket-send .notch-r { right: -13px; }
  .btn-wa { gap: 10px; min-height: 60px; font-size: 19px; }
  .btn-wa svg { width: 22px; height: 22px; }
  .btn-wa .fx-label { padding: 0 20px; }
  .btn-wa-off { padding: 0 20px; }
  .send-row { gap: 10px; }
  .btn-mail { flex: 1 1 auto; }
  .btn-mail .fx-label { padding: 0 16px; }
  .btn-mail-off { padding: 0 16px; }
  .copy-row { flex: 1 1 auto; display: flex; justify-content: space-between; }
  .privacy-note { font-size: 13px; }
  .send-hint { font-size: 14px; line-height: 1.45; }

  /* Footer */
  .site-footer .container { padding-top: 52px; padding-bottom: 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-brand { margin-bottom: 4px; }
  .footer-logo { height: 46px; }
  .footer-tagline { margin-top: 16px; font-size: 18px; }
  .footer-desc { margin-top: 8px; }
  .footer-h { font-size: 14px; }
  .footer-address { margin-top: 8px; }
  .footer-subh { margin-top: 14px; }
  .footer-links { margin-top: 6px; gap: 0; }
  .footer-links a { display: flex; align-items: center; gap: 5px; min-height: 40px; }
  /* Phase 20c: another office's or a contact's line wraps after its name, the number kept whole */
  .footer-links a.footer-branch { flex-wrap: wrap; gap: 0 5px; }
  .footer-bottom { margin-top: 36px; padding-top: 18px; flex-direction: column; gap: 4px; font-size: 13px; }

  /* Floating button is replaced by the bottom bar on mobile */
  .wafloat { display: none; }
  .mbar {
    position: fixed; left: 50%; bottom: 0; z-index: 40; width: 100%; max-width: 480px; display: flex; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--white);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(36, 33, 34, .4);
    transform: translate(-50%, 0); transition: transform .25s ease-in-out, visibility 0s;
  }
  .mbar[data-float-hidden] { transform: translate(-50%, 115%); visibility: hidden; transition: transform .25s ease-in-out, visibility 0s linear .25s; }
  .mbar-btn { flex: 1 1 0; display: flex; gap: 8px; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--white); font-weight: 700; font-size: 16px; }
  .mbar-btn .fx-label { padding: 0 12px; }
  .mbar-wa { border: 0; background: var(--orange); }

  /* Lighter, shorter motion on mobile */
  [data-motion="on"] [data-flap]:not([data-in]) { transform: perspective(700px) rotateX(-75deg); }
  [data-motion="on"] [data-flap][data-in] { animation: ataFlapS .42s cubic-bezier(.2, .8, .3, 1) both; }
  [data-motion="on"] [data-rise]:not([data-in]) { transform: perspective(800px) translate3d(0, 22px, 0) rotateX(8deg); }
  [data-motion="on"] [data-rise][data-in] { animation: ataRiseS .48s cubic-bezier(.2, .75, .25, 1) both; }
}

/* =====================================================================
   Added for the 12-page site (31 Oct 2026 design)
   ===================================================================== */

/* Text link to a country page ("View Canada page"): the underline grows from the left, as on the header nav. */
.pagelink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.pagelink .pl-text { position: relative; }
.pagelink .pl-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left center; transition: transform .3s ease-in-out; }
.pagelink svg { flex-shrink: 0; transition: transform .3s ease-in-out; }
@media (hover: hover) { .pagelink:hover .pl-text::after { transform: scaleX(1); } .pagelink:hover svg { transform: translateX(3px); } }
.pagelink:focus-visible .pl-text::after { transform: scaleX(1); }
a.pagelink-dark, a.pagelink-dark:hover { color: var(--orange); }
.flyto { display: flex; flex-direction: column; gap: 4px; }
.flyto-view .pagelink { color: var(--orange-text); font-size: 16px; }
.bcell-view-d { margin: 4px 0 -12px; }
.bcell-view-d .pagelink, .bcell-view-m .pagelink { font-size: 15px; }
.bcell-view-m { display: none; }

/* Inner pages: current section in the nav, breadcrumb links, text links in long copy. */
.navlink-current::after { transform: scaleX(1); }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--text-2); }
.crumb li { display: flex; align-items: center; gap: 10px; }
.crumb a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--field); text-underline-offset: 3px; }
.crumb a:hover { color: var(--orange-text); }
.crumb-sep { color: var(--on-dark-muted); }
.crumb-current { font-weight: 600; color: var(--ink); }
.textlink { color: var(--orange-text); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--ink); }

/* Footer bottom row with the legal links */
.footer-bottom { align-items: center; gap: 12px 24px; }
.footer-bottom-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer .legal-links a, .site-footer .legal-links a:hover { color: var(--on-dark-text-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Country pages ---------- */
.crumb-wrap { padding-top: 26px; }
.hero-grid-inner { padding-top: 40px; }
.h1-country { font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.h1-country .h1-accent { display: inline; }
.hero-intro-country { max-width: 34ch; }
.pass-stub {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px;
  padding: 18px 28px; background: var(--band); border-top: 2px dashed rgba(36, 33, 34, .35);
}
.pass-stub .notch { top: -15px; }
.pass-stub-label { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pass-stub-value { font-family: var(--font-label); font-weight: 700; font-size: 20px; line-height: 1.2; }
.pass-stub-end { text-align: right; }
.pass-stub-gate { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.02em; }

/* At a glance band */
.glance { background: var(--ink); color: var(--ground); }
.glance > .container { padding-top: 48px; padding-bottom: 48px; }
.glance-board { border-radius: 18px; background: var(--board); border: 1px solid var(--dark-line); overflow: hidden; }
.glance-top { padding: 14px 24px; }
.glance-top .board-title svg { width: 22px; height: 22px; }
.glance-top .board-title > span { font-size: 20px; }
.glance-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.glance-item { padding: 24px; border-right: 1px solid var(--dark-line-2); }
.glance-item:last-child { border-right: 0; }
.glance-item dt { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.glance-item dd { margin: 10px 0 0; }
.glance-tile {
  display: inline-block; padding: 6px 12px 5px; border-radius: 6px; background-color: var(--flap);
  background-image: linear-gradient(180deg, transparent calc(50% - 1px), var(--flap-line) calc(50% - 1px), var(--flap-line) calc(50% + 1px), transparent calc(50% + 1px));
  font-family: var(--font-label); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: .06em; color: var(--white);
}
.glance-intakes { letter-spacing: .08em; color: var(--orange); white-space: nowrap; }
.glance-intakes-long { font-size: 20px; }
.glance-english.board-muted { color: var(--on-dark-muted); }
.glance-sub { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--on-dark-muted-2); }
.glance-item dd.glance-why { margin-top: 12px; font-size: 19px; line-height: 1.4; color: var(--on-dark-text-2); }

/* Why cards */
.why-cards { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); gap: 16px; }
.why-card { display: flex; flex-direction: column; gap: 22px; min-height: 176px; padding: 24px 22px; border-radius: 16px; background: var(--white); }
.section-white .why-card { background: var(--ground); }
.why-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--ground); color: var(--orange-text); border: 1px solid var(--line-2); }
.section-white .why-icon { background: var(--white); }
.why-icon svg { width: 26px; height: 26px; }
.why-card p { font-weight: 600; font-size: 19px; line-height: 1.35; }

/* Europe: why block */
.eu-why { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.eu-why-card { min-width: 0; display: flex; flex-direction: column; padding: 34px; border-radius: 20px; background: var(--ground); border: 1px solid var(--line-2); }
.section-grey .eu-why-card { background: var(--white); }
.eu-why-intro { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.eu-flags { list-style: none; margin: auto 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.eu-flags li { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.eu-flag { display: block; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(36, 33, 34, .14); }
.eu-flag-name { font-weight: 700; font-size: 16px; line-height: 1.2; }
.eu-why-dark { min-width: 0; padding: 34px; border-radius: 20px; background: var(--ink); color: var(--ground); }
.eu-about { font-size: 19px; line-height: 1.6; color: var(--on-dark-text-2); text-wrap: pretty; }
.eu-about strong { color: var(--orange); }
.eu-services { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.eu-services li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--flap); }
.eu-service-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--orange); color: var(--ink); flex-shrink: 0; }
.eu-service-text { font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--white); }

/* Requirements cards */
.req-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; align-items: start; }
.req-card { min-width: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.req-head { display: flex; align-items: stretch; background: var(--ink); color: var(--white); }
.req-head-icon { display: grid; place-items: center; width: 52px; background: var(--orange); color: var(--ink); }
.req-head-icon svg { width: 22px; height: 22px; }
.req-head h3 { padding: 14px 18px; font-weight: 700; font-size: 18px; }
.req-sub { font-weight: 500; color: var(--on-dark-text); }
.req-list { list-style: none; margin: 0; padding: 8px 26px 12px; display: flex; flex-direction: column; }
.req-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.req-list li:last-child { border-bottom: 0; }
.req-row-icon { color: var(--orange-text); flex-shrink: 0; margin-top: 2px; }
.req-row-icon svg { width: 22px; height: 22px; }
.req-label { font-weight: 700; font-size: 17px; }
.req-value { font-size: 16px; color: var(--text-2); }

/* Programmes: institutions + study levels (Canada) */
.prog-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; align-items: stretch; }
.inst-card { min-width: 0; padding: 28px; border-radius: 18px; background: var(--white); }
.mini-h { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.mini-h-dark { color: var(--on-dark-muted-2); }
.inst-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.inst-list li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--ground); border: 1px solid var(--line-2); }
.inst-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--white); color: var(--orange-text); flex-shrink: 0; }
.inst-icon svg { width: 22px; height: 22px; }
.inst-name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.inst-note { font-size: 14px; color: var(--text-2); }
.levels-card { min-width: 0; padding: 28px; border-radius: 18px; background: var(--ink); color: var(--ground); display: flex; flex-direction: column; }
.levels-routes { margin: auto 0; padding-top: 22px; }
.route-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; }
.route-steps + .route-steps { margin-top: 16px; }
.route-step { flex: 1 1 0; min-width: 0; text-align: center; padding: 12px 8px; border-radius: 10px; background: var(--flap); font-family: var(--font-label); font-weight: 700; font-size: 19px; letter-spacing: .04em; line-height: 1.15; }
.route-step-end { background: var(--orange); color: var(--ink); }
.route-arrow { flex-shrink: 0; color: var(--orange); }
.route-arrow svg { display: block; transform: rotate(90deg); }

/* Programmes: course groups (UK) */
.course-groups { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; align-items: start; }
.course-group { min-width: 0; padding: 24px; border-radius: 18px; background: var(--white); }
.course-group-head { display: flex; align-items: center; gap: 12px; }
.course-group-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--orange); flex-shrink: 0; }
.course-group-icon svg { width: 22px; height: 22px; }
.course-group h3 { font-weight: 700; font-size: 20px; line-height: 1.25; }
.course-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.course-chips li { padding: 7px 12px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.3; }

/* Programmes: tiles (Germany) and checklist (Europe) */
.prog-tiles { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 250px), 100%), 1fr)); gap: 16px; }
.prog-tile { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 20px 22px; border-radius: 18px; background: var(--white); }
.prog-tile-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--orange); border: 1px solid var(--ink); flex-shrink: 0; }
.prog-tile-icon svg { width: 24px; height: 24px; }
.prog-tile h3 { font-weight: 700; font-size: 19px; line-height: 1.3; }
.prog-checks { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 14px; }
.prog-check { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--white); font-weight: 600; font-size: 18px; line-height: 1.35; }
.prog-check-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--orange); border: 1px solid var(--ink); flex-shrink: 0; }
.prog-check-icon svg { width: 18px; height: 18px; }

/* Documents checklist (Germany) */
.doc-card { margin-top: 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-3); background: var(--white); }
.doc-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 28px; background: var(--band); }
.doc-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: .04em; }
.doc-sub { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.doc-list { list-style: none; margin: 0; padding: 14px 28px 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); column-gap: 40px; }
.doc-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; line-height: 1.45; }
.doc-list .check { margin-top: 1px; }

/* Process steps */
.psteps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 190px), 100%), 1fr)); gap: 36px 18px; }
.psteps li { min-width: 0; }
.pstep-marker { display: flex; align-items: center; gap: 10px; }
.pstep-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 16px; flex-shrink: 0; background: var(--orange); color: var(--ink); }
.pstep-num-last { background: var(--ink); color: var(--orange); }
.pstep-line { flex: 1; border-top: 2px dashed var(--field); }
.pstep-plane { width: 22px; height: 22px; transform: rotate(45deg); }
.pstep-body h3 { margin: 18px 0 0; font-weight: 700; font-size: 18px; line-height: 1.3; }
.pstep-phase { margin: 16px 0 0; font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.pstep-body .pstep-phase + h3 { margin-top: 4px; }
.pstep-note { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* Help box ("Why Apply to Abroad for …") */
.help-box { margin-top: 64px; border-radius: 20px; background: var(--ink); color: var(--ground); padding: 36px 36px 30px; }
.help-title { font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: 28px; line-height: 1.15; color: var(--white); }
.help-title span { color: var(--orange); }
.help-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 320px), 100%), 1fr)); gap: 14px 32px; }
.help-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--dark-line); }
.help-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: var(--ink); flex-shrink: 0; }
.help-text { font-size: 17px; line-height: 1.45; color: var(--on-dark-text-2); }
.help-strong { color: var(--white); }
.help-box-plain { padding: 22px 36px 18px; }
.help-box-plain .help-list { margin: 0; gap: 10px 32px; }
.help-box-plain .help-list li { align-items: center; padding: 8px 0; border-top: 0; }

/* Explore other destinations */
.dest-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 14px; }
.dest-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; }
.dest-card:hover { color: var(--ink); }
.dest-card-code { font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: .95; letter-spacing: -.03em; }
.dest-card-name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.dest-card-intakes { margin-top: auto; font-family: var(--font-label); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--orange-text); }
.dest-card-go.only-d { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }

/* ---------- The Germany page's Ways to Germany part (phase 16c) ---------- */
/* Route cards: the Entry requirements cards with their own icon; a route strip (stops joined by arrows, the last a
   departures-board tile), a line, rows (a row without a value is a point), a note and a checklist */
.way-cards, .point-cards { list-style: none; padding: 0; }
.way-card .req-head h3 { line-height: 1.3; }
.way-card .req-head-icon, .point-cards .req-head-icon { flex-shrink: 0; }
.way-route { padding: 16px 26px 18px; background: var(--ground); border-bottom: 1px solid var(--line-2); }
.way-route-label { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.way-stops { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.way-stops li { display: inline-flex; align-items: center; gap: 6px; }
.way-arrow { display: inline-flex; color: var(--orange-text); }
.way-stop {
  display: inline-block; padding: 5px 10px 4px; border-radius: 6px; background: var(--white); border: 1px solid var(--line-3); color: var(--ink);
  font-family: var(--font-label); font-weight: 700; font-size: 16px; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase;
}
.way-stop-end {
  background-color: var(--flap); border-color: var(--flap); color: var(--orange);
  background-image: linear-gradient(180deg, transparent calc(50% - 1px), var(--flap-line) calc(50% - 1px), var(--flap-line) calc(50% + 1px), transparent calc(50% + 1px));
}
/* A point (a row without a value): its icon sits on the text's line, as drawn, so the row is as tall as the design's */
.way-rows .req-row-icon svg { display: inline-block; vertical-align: baseline; }
.way-intro { padding: 20px 26px 4px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.way-note { margin: 0 26px; padding: 16px 0 22px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 1.5; color: var(--text-2); }
.way-check { margin: 4px 26px 26px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-3); background: var(--white); }
.way-check-band { padding: 12px 20px; background: var(--band); }
.way-check-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.way-check-list { list-style: none; margin: 0; padding: 4px 20px 8px; }
.way-check-list li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; line-height: 1.45; }
.way-check-list li:last-child { border-bottom: 0; }
.way-check-list .check { margin-top: 1px; }

/* Tables in the Documents checklist's box (the Ausbildung sectors, the costs), with demand tags */
.table-title { margin: 64px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: 28px; line-height: 1.15; }
.table-card { margin-top: 28px; max-width: 760px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-3); background: var(--white); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead tr { background: var(--band); }
.data-table thead th { padding: 14px 28px; text-align: left; font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.data-table-tags thead th:last-child { width: 200px; }
.data-table-costs thead th:last-child { width: 46%; }
.data-table tbody th { padding: 14px 28px; text-align: left; vertical-align: middle; font-weight: 600; font-size: 17px; line-height: 1.35; }
.data-table tbody td { padding: 14px 28px; vertical-align: middle; }
.data-table tbody tr + tr > * { border-top: 1px solid var(--line-2); }
.demand-tag {
  display: inline-block; padding: 4px 10px 3px; border-radius: 6px; white-space: nowrap;
  font-family: var(--font-label); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
}
.demand-very-high { background: var(--orange); color: var(--ink); }
.demand-high { background: var(--ink); color: var(--white); }
.demand-moderate { background: var(--line-2); color: var(--ink); }
.cost { font-family: var(--font-label); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: .04em; }
.table-note { margin: 16px 0 0; max-width: 760px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.h2-note { font-weight: 600; font-stretch: 100%; color: var(--text-2); }

/* Which route suits you?: the departures board of profiles and routes, in a charcoal section */
.intro-on-dark { color: var(--on-dark-text); }
.route-head, .route-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; }
.route-head { padding: 14px 24px; font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.route-row { align-items: center; padding: 18px 24px; border-top: 1px solid var(--dark-line-2); }
.route-profile { min-width: 0; }
.route-cell-label { display: none; }
.route-way { font-family: var(--font-label); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: .04em; color: var(--orange); }
.route-note { margin: 22px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.55; color: var(--on-dark-text); }

/* How we help: the programmes' tiles, on light grey in a white section */
.section-white .prog-tile { background: var(--ground); }

/* ---------- The Healthcare careers page (phase 16c) ---------- */
.h1-health { font-size: clamp(40px, 3.6vw, 52px); line-height: 1.04; }
.h1-health .h1-accent { display: inline; }
.hero-intro-health { max-width: 40ch; }

/* The licence card: the boarding pass, with the destinations it lists in place of the route */
.licence-main { gap: 22px; }
.licence-count { display: flex; align-items: flex-end; gap: 14px; }
.licence-num { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: .95; letter-spacing: -.03em; color: var(--ink); }
.licence-count-label { padding-bottom: 6px; font-size: 18px; color: var(--text-2); }
.licence-dests { list-style: none; margin: -6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.licence-dests li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.licence-pin { display: inline-flex; color: var(--orange-text); flex-shrink: 0; }
.licence-value { font-family: var(--font-label); font-weight: 700; font-size: 22px; line-height: 1.15; }
.licence-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 18px; border-top: 1px solid var(--line-3); }
.licence-fields > div { min-width: 0; }

/* At a glance: four items; a tile of words is a little smaller than a short one */
.glance-health .glance-list { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.glance-text { max-width: 100%; font-size: 22px; letter-spacing: .04em; }

/* Who it's for: the Why cards with a title and a line */
.why-card-titled h3 { font-weight: 700; font-size: 19px; line-height: 1.35; }
.why-card-titled p { margin-top: 6px; font-weight: 400; font-size: 17px; line-height: 1.45; color: var(--text-2); }

/* A section's note under its cards or list */
.section-note { margin: 28px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.section-note-near { margin-top: 18px; }

/* Destinations: the Entry requirements cards with a name and an authority, then points */
.point-cards { align-items: stretch; }
.req-head-text { padding: 14px 18px; }
.req-head .req-head-text h3 { padding: 0; font-size: 19px; line-height: 1.3; }
.req-head-sub { margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--on-dark-text); }
.point-list { list-style: none; margin: 0; padding: 6px 26px 10px; display: flex; flex-direction: column; }
.point-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; line-height: 1.5; }
.point-list li:last-child { border-bottom: 0; }
.point-icon { display: inline-flex; color: var(--orange-text); flex-shrink: 0; margin-top: 2px; }
.point-list strong { font-weight: 700; }
/* Phase 21b: a footnote right under a card's last point and under an At a glance item (the Dubai salary's, as drawn) */
.point-note { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.glance-foot { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--on-dark-muted-2); }

/* Phase 21b: questions and answers (Healthcare's DHA and HAAD exams), in the Entry requirements cards' style: each question opens
   and closes its answer, and every answer is in the HTML; two columns, open cards in a row as tall as each other. The section
   joins the white section after it (Important): a short bottom padding, so the usual gap shows between them */
.section-join { padding-bottom: 24px; }
/* Phase 21b: the intro's lines balanced, as drawn (text-wrap: pretty) */
.qa-intro { text-wrap: pretty; }
.qa-cards { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.qa-item { min-width: 0; }
.qa { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.qa[open] { height: 100%; }
.qa-head { display: flex; align-items: stretch; background: var(--ink); color: var(--white); list-style: none; cursor: pointer; }
.qa-head::-webkit-details-marker { display: none; }
.qa-head:focus-visible { outline-offset: -3px; }
.qa-icon { display: grid; place-items: center; width: 52px; flex-shrink: 0; background: var(--orange); color: var(--ink); }
.qa-head h3 { flex: 1 1 auto; min-width: 0; padding: 16px 18px; font-weight: 700; font-size: 19px; line-height: 1.3; }
.qa-chev { display: grid; place-items: center; width: 52px; flex-shrink: 0; color: var(--orange); }
.qa-chev svg { transform: rotate(90deg); transition: transform .25s ease-in-out; }
.qa[open] .qa-chev svg { transform: rotate(-90deg); }
.qa-text { padding: 18px 26px 20px; font-size: 16px; line-height: 1.5; }

/* Important: the Process help box as a note box, in a section of its own */
.section-tight { padding: 72px 0; }
.note-box { margin-top: 0; padding: 36px 36px 34px; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.note-box .help-icon { grid-row: span 2; }
.note-box-text { grid-column: 2; margin: 12px 0 0; max-width: 78ch; font-size: 17px; line-height: 1.55; color: var(--on-dark-text-2); }

/* Study abroad destinations: all seven cards, four to a row */
.dest-cards-wide { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* ---------- Privacy Policy and Terms of Use ---------- */
.legal-top { padding-top: 26px; padding-bottom: 64px; }
.legal-title { margin-top: 40px; }
.h1-legal { margin-top: 18px; }
.legal-updated { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--text-2); }
mark { background: #FDE6D3; color: var(--ink); padding: 1px 6px; border-radius: 4px; }
.legal-body { background: var(--white); }
.legal-grid { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; }
.in-short { flex: 1 1 300px; max-width: 380px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-3); background: var(--ground); }
.in-short-band { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--ink); color: var(--white); }
.in-short-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 17px; letter-spacing: .04em; }
.in-short-icon { color: var(--orange); }
.in-short-icon svg { display: inline; }
.in-short-list { list-style: none; margin: 0; padding: 10px 22px 8px; }
.in-short-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.in-short-list li:last-child { border-bottom: 0; }
.check-sm { width: 22px; height: 22px; margin-top: 2px; }
.in-short-foot { padding: 16px 22px 20px; border-top: 2px dashed var(--line-3); background: var(--white); }
.in-short-q { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.in-short-mail { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 17px; }
.legal-article { flex: 999 1 560px; min-width: 0; max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.legal-article h2 { margin: 44px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: 26px; line-height: 1.2; }
.legal-article h2:first-child { margin-top: 0; }
.legal-article p { margin: 12px 0 0; }
.legal-bullets { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.legal-bullets li { display: flex; gap: 12px; }
.legal-dot { width: 8px; height: 8px; margin-top: 11px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* ---------- 404 ---------- */
.nf-grid { padding-top: 96px; padding-bottom: 112px; }
.hero-404 .h1 span { display: inline; }
.nf-pass-wrap { min-width: 0; }
.nf-pass { transform: rotate(-1.5deg); }
.nf-body { position: relative; padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 26px; }
.nf-arc { flex: 1 1 auto; align-self: flex-end; min-width: 96px; padding: 0 16px 14px; display: flex; align-items: center; gap: 10px; }
.nf-dots { flex: 1; border-top: 2.5px dotted var(--on-dark-muted); }
.nf-dots-light { border-top-color: var(--line-3); }
.nf-plane { display: block; transform: rotate(135deg); }
.pass-code.nf-unknown { color: var(--muted); }
.nf-stamp-wrap { margin-top: 6px; }
.nf-stamp { display: inline-block; padding: 2px 10px; border: 3px solid var(--orange-text); border-radius: 6px; transform: rotate(-6deg); font-family: var(--font-display); font-weight: 900; font-stretch: 112%; font-size: 20px; letter-spacing: .08em; color: var(--orange-text); }
.nf-stub { position: relative; padding: 18px 30px 20px; background: var(--band); border-top: 2px dashed rgba(36, 33, 34, .35); }
.nf-stub .notch { top: -15px; }
.nf-bars { height: 34px; background-image: repeating-linear-gradient(90deg, #242122 0px, #242122 3px, transparent 3px, transparent 5px, #242122 5px, #242122 6px, transparent 6px, transparent 9px, #242122 9px, #242122 13px, transparent 13px, transparent 15px, #242122 15px, #242122 16px, transparent 16px, transparent 20px); }

/* ---------- Coming soon ---------- */
.cs { min-height: 100vh; display: flex; flex-direction: column; background-color: var(--ground); background-image: radial-gradient(var(--dots) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.cs-inner { flex: 1 0 auto; width: 100%; max-width: 980px; margin: 0 auto; padding: 56px clamp(20px, 3vw, 32px) 40px; display: flex; flex-direction: column; align-items: center; }
.cs-logo { height: 60px; width: auto; }
.cs-card { margin-top: 40px; width: 100%; background: var(--white); border: 1px solid var(--line-3); border-radius: 22px; overflow: hidden; box-shadow: 0 34px 60px -32px rgba(36, 33, 34, .5), 0 2px 8px rgba(36, 33, 34, .08); }
.cs-band { background: var(--band); padding: 14px 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.cs-band-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: .04em; }
.cs-band-title svg { transform: rotate(45deg); }
.cs-band-site { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.cs-body { padding: 48px 48px 44px; text-align: center; }
.cs-h1 { font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: clamp(40px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.cs-h1 .h1-accent { color: var(--orange-large); }
.cs-intro { margin: 20px auto 0; max-width: 40ch; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.cs-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cs-btn { gap: 10px; min-height: 56px; border-radius: 12px; font-weight: 700; font-size: 18px; }
.cs-btn .fx-label { padding: 0 24px; }
.cs-call { border: 1.5px solid var(--ink); background: var(--white); }
.cs-wa { background: var(--orange); }
.cs-info { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 40px; padding: 26px 48px 30px; background: var(--ground); border-top: 2px dashed var(--line-3); }
.cs-info .notch { top: -16px; width: 30px; height: 30px; }
.cs-info .notch-l { left: -15px; }
.cs-info .notch-r { right: -15px; }
.cs-info-item { display: flex; gap: 14px; }
.cs-info-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--orange-text); flex-shrink: 0; }
.cs-info-text { margin: 4px 0 0; font-size: 17px; line-height: 1.55; }
.cs-foot { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 32px) 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 24px; font-size: 14px; color: var(--text-2); }
.cs-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.cs-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .hero-grid-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
  .bcell-view-d { display: none; }
  .flyto { display: block; }
  .bcell-view-m { display: block; }
  .footer-bottom { align-items: flex-start; gap: 4px; }

  .footer-bottom { padding-top: 10px; }
  .footer-bottom-start { display: contents; }
  .legal-links { order: -1; gap: 0 24px; font-size: 15px; }
  .legal-links a { display: inline-flex; align-items: center; min-height: 44px; }

  .crumb ol { gap: 0 8px; font-size: 14px; }
  .crumb li { gap: 8px; }
  .crumb a { display: inline-flex; align-items: center; min-height: 44px; }

  /* Country, Privacy, Terms and 404 heroes: a 22px dot grid on mobile too (the homepage hero uses 20px) */
  .hero.hero-inner, .hero.hero-legal, .hero.hero-404 { background-size: 22px 22px; }

  /* Country hero */
  .crumb-wrap { padding-top: 10px; }
  .hero-grid.hero-grid-inner { padding-top: 14px; padding-bottom: 56px; }
  .h1-country { margin-top: 16px; font-size: 46px; line-height: 1; }
  .hero-intro-country { max-width: none; }
  .btn-hero-country { font-size: 17px; }
  .btn-hero-country .fx-label { padding: 0 18px; }
  .hero-pass.hero-pass-country { margin-top: 32px; }
  .hero-pass-country .pass { margin-top: 0; }
  .pass-stub { flex-wrap: nowrap; gap: 12px; padding: 14px 18px; }
  .pass-stub .notch { top: -14px; width: 26px; height: 26px; }
  .pass-stub .notch-l { left: -13px; }
  .pass-stub .notch-r { right: -13px; }
  .pass-stub-start { min-width: 0; }
  .pass-stub-end { flex-shrink: 0; }
  .pass-stub-label { font-size: 13px; }
  .pass-stub-value { font-size: 17px; }
  .pass-stub-gate { font-size: 26px; }

  .glance > .container { padding-top: 32px; padding-bottom: 32px; }
  .glance-board { border-radius: 16px; }
  .glance-top { padding: 12px 16px; }
  .glance-top .board-title svg { width: 18px; height: 18px; }
  .glance-top .board-title > span { font-size: 15px; letter-spacing: .12em; }
  .glance-list { display: block; }
  .glance-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 16px; border-right: 0; border-top: 1px solid var(--dark-line-2); }
  .glance-item:first-child { border-top: 0; }
  .glance-item dt { font-size: 13px; letter-spacing: .14em; }
  .glance-item dd { margin: 0; }
  .glance-tile { display: inline; padding: 0; background: none; border-radius: 0; font-size: 20px; line-height: inherit; letter-spacing: .04em; }
  .glance-intakes { letter-spacing: .06em; }
  .glance-sub { margin-top: 2px; font-size: 14px; line-height: 1.4; }
  .glance-item:first-child .glance-sub { line-height: 1.5; }
  .glance-item dd.glance-why { margin: 0; font-size: 16px; line-height: 1.45; }

  .why-cards { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .why-card { gap: 14px; min-height: 0; padding: 16px; border-radius: 14px; }
  .why-icon { width: 44px; height: 44px; border-radius: 11px; }
  .why-icon svg { width: 22px; height: 22px; }
  .why-card p { font-size: 16px; }

  .eu-why { display: block; margin-top: 26px; }
  .eu-why-card { padding: 22px 18px; border-radius: 18px; }
  .eu-why-intro { margin: 0; font-size: 17px; }
  .eu-flags { margin-top: 20px; padding-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; }
  .eu-flags li { gap: 8px; }
  .eu-flag { width: 40px; height: 40px; }
  .eu-flag-name { font-size: 14px; }
  .eu-why-dark { margin-top: 14px; padding: 22px 18px; border-radius: 18px; }
  .eu-about { font-size: 17px; }
  .eu-services { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
  .eu-services li { gap: 12px; padding: 12px; border-radius: 12px; }
  .eu-service-icon { width: 40px; height: 40px; border-radius: 10px; }
  .eu-service-icon svg { width: 20px; height: 20px; }
  .eu-service-text { font-size: 16px; }

  .req-cards { display: block; margin-top: 26px; }
  .req-card { border-radius: 16px; }
  .req-card + .req-card { margin-top: 14px; }
  .req-head-icon { width: 44px; }
  .req-head-icon svg { width: 18px; height: 18px; }
  .req-head h3 { padding: 12px 14px; font-size: 16px; }
  .req-list { padding: 4px 18px 6px; }
  .req-list li { gap: 12px; padding: 13px 0; border-bottom-color: var(--line); }
  .req-row-icon svg { width: 20px; height: 20px; }
  .req-label { font-size: 16px; }
  .req-value { font-size: 15px; }

  .prog-grid { display: block; margin-top: 0; }
  .inst-card { padding: 0; background: none; border-radius: 0; }
  .mini-h { margin-top: 26px; font-size: 14px; }
  .levels-card .mini-h { margin-top: 0; }
  .inst-list { margin-top: 12px; gap: 10px; }
  .inst-list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; background: var(--white); border: 0; }
  .inst-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ground); }
  .inst-icon svg { width: 20px; height: 20px; }
  .inst-name { font-size: 16px; }
  .inst-note { font-size: 13px; }
  .levels-card { margin-top: 16px; padding: 20px 16px; border-radius: 16px; display: block; }
  .levels-routes { margin: 0; padding-top: 16px; }
  .route-steps { gap: 6px; }
  .route-steps + .route-steps { margin-top: 10px; }
  .route-step { padding: 10px 3px; border-radius: 8px; font-size: 14px; letter-spacing: 0; }
  .route-arrow svg { width: 16px; height: 16px; }

  .course-groups { display: block; margin-top: 26px; }
  .course-group { padding: 18px 16px; border-radius: 16px; }
  .course-group + .course-group { margin-top: 12px; }
  .course-group-icon { width: 40px; height: 40px; border-radius: 10px; }
  .course-group-icon svg { width: 20px; height: 20px; }
  .course-group h3 { font-size: 18px; }
  .course-chips { margin-top: 14px; gap: 6px; }
  .course-chips li { padding: 6px 11px; font-size: 14px; }

  .prog-tiles { margin-top: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prog-tile { flex-direction: column; align-items: flex-start; gap: 12px; min-height: 0; padding: 16px; border-radius: 16px; }
  .prog-tile-icon { width: 42px; height: 42px; border-radius: 10px; }
  .prog-tile-icon svg { width: 21px; height: 21px; }
  .prog-tile h3 { font-size: 16px; }
  .prog-checks { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
  .prog-check { gap: 12px; padding: 14px 16px; font-size: 16px; }
  .prog-check-icon { width: 34px; height: 34px; }
  .prog-check-icon svg { width: 16px; height: 16px; }

  .doc-card { margin-top: 24px; border-radius: 18px; }
  .doc-band { flex-wrap: nowrap; gap: 10px; padding: 12px 18px; }
  .doc-title { font-size: 16px; }
  .doc-sub { font-size: 13px; }
  .doc-list { display: block; padding: 4px 18px 8px; }
  .doc-list li { padding: 12px 0; font-size: 16px; }
  .doc-list li:last-child { border-bottom: 0; }
  .doc-list .check { width: 22px; height: 22px; }
  .doc-list .check svg { width: 13px; height: 13px; }

  .psteps { display: block; margin-top: 28px; }
  .psteps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; }
  .pstep-marker { flex-direction: column; gap: 0; }
  .pstep-num { width: 42px; height: 42px; font-size: 15px; }
  .pstep-line { min-height: 14px; border-top: 0; border-left: 2px dashed var(--field); margin: 6px 0; }
  .pstep-plane { display: none; }
  .pstep-body { padding: 9px 0 22px; }
  .pstep-last .pstep-body { padding-bottom: 0; }
  .pstep-body h3 { margin-top: 0; font-size: 17px; }
  .pstep-phase { margin: 0 0 2px; font-size: 14px; }
  .pstep-body .pstep-phase + h3 { margin-top: 0; }
  .pstep-note { margin-top: 4px; }

  .help-box { margin-top: 36px; border-radius: 18px; padding: 24px 18px 12px; }
  .help-title { font-stretch: 102%; font-size: 23px; }
  .help-list { margin-top: 16px; display: block; }
  .help-list li { gap: 12px; padding: 13px 0; }
  .help-icon { width: 36px; height: 36px; border-radius: 9px; }
  .help-icon svg { width: 18px; height: 18px; }
  .help-text { font-size: 16px; }
  .help-box-plain { padding: 8px 18px; }
  .help-box-plain .help-list li { align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--dark-line); }
  .help-box-plain .help-list li:first-child { border-top: 0; }

  .dest-cards { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dest-card { gap: 8px; padding: 16px; border-radius: 14px; }
  .dest-card-code { font-size: 30px; }
  .dest-card-name { font-size: 15px; }
  .dest-card-intakes { font-size: 14px; letter-spacing: .04em; }
  .dest-card-go.only-d { display: none; }

  /* Ways to Germany (phase 16c) */
  .way-card .req-head h3 { line-height: 1.3; }
  .way-route { padding: 14px 18px 16px; }
  .way-route-label { font-size: 13px; }
  .way-stop { padding: 4px 8px 3px; font-size: 15px; }
  .way-arrow svg { width: 14px; height: 14px; }
  .way-intro { padding: 16px 18px 2px; font-size: 16px; }
  .way-rows li { border-bottom-color: var(--line-2); }
  .way-note { margin: 0 18px; padding: 14px 0 18px; font-size: 15px; }
  .way-check { margin: 4px 18px 18px; border-radius: 14px; }
  .way-check-band { padding: 10px 16px; }
  .way-check-title { font-size: 14px; }
  .way-check-list { padding: 2px 16px 6px; }
  .way-check-list li { padding: 10px 0; font-size: 15px; }
  .psteps-plane-m .pstep-plane { display: block; width: 24px; height: 24px; margin-top: 8px; transform: rotate(180deg); }
  .psteps-plane-m .pstep-note { margin-top: 6px; font-size: 16px; line-height: 1.5; }
  .psteps-big-m { margin-top: 30px; }
  .psteps-big-m .pstep-line { min-height: 16px; }
  .psteps-big-m .pstep-body { padding-top: 8px; }
  .psteps-big-m .pstep-body h3 { font-size: 18px; line-height: 1.25; }
  .table-title { margin-top: 40px; font-stretch: 102%; font-size: 24px; }
  .table-card { margin-top: 20px; max-width: none; border-radius: 18px; }
  .data-table thead th { padding: 12px 16px; font-size: 13px; }
  .data-table-tags thead th:last-child { width: 132px; }
  .data-table-costs thead th:last-child { width: 48%; }
  .data-table tbody th { padding: 12px 16px; font-size: 16px; }
  .data-table tbody td { padding: 12px 16px; }
  .demand-tag { font-size: 14px; }
  .cost { font-size: 18px; }
  .table-note { margin-top: 12px; max-width: none; font-size: 14px; line-height: 1.45; }
  .route-head { display: none; }
  .route-row { display: block; padding: 18px 16px 20px; }
  .route-profile .flap { padding: 6px 10px 5px; font-size: 20px; }
  .route-cell { margin-top: 12px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 12px; align-items: baseline; }
  .route-cell-label { display: block; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
  .route-way { font-size: 18px; }
  .route-note { margin-top: 18px; max-width: none; font-size: 15px; }

  /* The Healthcare careers page (phase 16c) */
  .h1-health { margin-top: 16px; font-size: 36px; line-height: 1.04; }
  .hero-intro-health { max-width: none; }
  .licence-main { gap: 18px; }
  .licence-count { gap: 10px; }
  .licence-num { font-size: 42px; }
  .licence-count-label { padding-bottom: 3px; font-size: 16px; }
  .licence-dests { margin-top: -4px; gap: 8px 14px; }
  .licence-dests li { gap: 6px; }
  .licence-pin svg { width: 16px; height: 16px; }
  .licence-value { font-size: 18px; }
  .licence-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 14px; }
  .licence-label { line-height: 1.2; }
  .licence-field-value { margin-top: 2px; }
  .glance-health .glance-item { grid-template-columns: 104px minmax(0, 1fr); }
  .glance-health .glance-intakes, .glance-text { letter-spacing: .04em; font-size: 20px; }
  .glance-health .glance-item:first-child .glance-sub { line-height: 1.4; }
  .why-card-titled h3 { font-size: 16px; line-height: 1.3; }
  .why-card-titled p { margin-top: 4px; font-size: 14px; line-height: 1.4; }
  .section-note { margin-top: 18px; max-width: none; font-size: 15px; line-height: 1.5; }
  .section-note-near { margin-top: 14px; }
  .doc-band-wrap { flex-wrap: wrap; gap: 4px 10px; }
  .doc-band-wrap .doc-title { white-space: nowrap; }
  .req-head-text { padding: 11px 14px; }
  .req-head .req-head-text h3 { padding: 0; font-size: 17px; }
  .req-head-sub { font-size: 14px; }
  .point-list { padding: 2px 18px 6px; }
  .point-list li { gap: 12px; padding: 12px 0; font-size: 15px; }
  .point-icon svg { width: 18px; height: 18px; }
  /* Phase 21b: the questions and answers, and the At a glance footnote, as drawn on Healthcare-Mobile */
  .section-join { padding-bottom: 16px; }
  .qa-cards { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
  .qa { border-radius: 16px; }
  .qa-icon { width: 44px; }
  .qa-icon svg { width: 18px; height: 18px; }
  .qa-head h3 { padding: 13px 14px; font-size: 17px; }
  .qa-chev { width: 44px; }
  .qa-chev svg { width: 20px; height: 20px; }
  .qa-text { padding: 14px 18px 16px; font-size: 15px; }
  .glance-foot { margin-top: 6px; font-size: 14px; line-height: 1.4; }
  .section-tight { padding: 44px 0; }
  .note-box { margin-top: 0; padding: 22px 18px; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .note-box .help-icon { grid-row: auto; }
  .note-box-text { grid-column: 1 / -1; margin-top: 14px; max-width: none; font-size: 16px; line-height: 1.5; }
  .dest-cards-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Legal */
  .legal-top { padding-top: 10px; padding-bottom: 40px; }
  .legal-title { margin-top: 18px; }
  .h1-legal { margin-top: 14px; }
  .legal-updated { margin-top: 12px; font-size: 16px; }
  .legal-grid { display: block; padding-top: 32px; padding-bottom: 60px; }
  .in-short { max-width: none; border-radius: 18px; }
  .in-short-band { padding: 12px 18px; }
  .in-short-title { font-size: 16px; }
  .in-short-icon svg { width: 18px; height: 18px; }
  .in-short-list { padding: 6px 18px 4px; }
  .in-short-list li { padding: 11px 0; font-size: 15px; }
  .check-sm { margin-top: 1px; }
  .in-short-foot { padding: 12px 18px 14px; }
  .in-short-q { font-size: 13px; }
  .in-short-mail { font-size: 16px; }
  .legal-article { margin-top: 32px; max-width: none; font-size: 16px; }
  .legal-article h2 { margin-top: 34px; font-size: 22px; }
  .legal-dot { margin-top: 10px; }

  /* 404 */
  .hero-404 .btn-hero { font-size: 17px; }
  .hero-404 .h1 { margin-top: 16px; }
  .hero-404 .hero-intro { text-wrap: wrap; }
  .nf-bars { height: 28px; }
  .cs-band { flex-wrap: wrap; justify-content: space-between; }
  .cs-band-title, .cs-band-site { white-space: nowrap; }
  .hero-grid.nf-grid { padding-top: 44px; padding-bottom: 64px; }
  .nf-pass-wrap { margin-top: 36px; }
  .nf-pass { transform: none; border-radius: 18px; box-shadow: 0 26px 46px -28px rgba(36, 33, 34, .5), 0 2px 8px rgba(36, 33, 34, .08); }
  .nf-pass .pass-title { font-size: 16px; }
  .nf-body { padding: 20px 20px 22px; gap: 20px; }
  .pass-route.nf-route { display: flex; gap: 6px; }
  .nf-arc { min-width: 40px; padding: 0 6px 10px; gap: 6px; }
  .nf-dots { border-top-width: 2px; }
  .nf-plane { width: 20px; height: 20px; }
  .nf-fields { gap: 14px 16px; }
  .nf-fields .pass-label { font-size: 15px; }
  .nf-fields .pass-value { font-size: 19px; }
  .nf-stamp { border-width: 2.5px; font-size: 16px; }
  .nf-stub { padding: 14px 20px 16px; }
  .nf-stub .notch { top: -14px; width: 26px; height: 26px; }
  .nf-stub .notch-l { left: -13px; }
  .nf-stub .notch-r { right: -13px; }

  /* Coming soon */
  .cs-inner { max-width: 480px; padding: 36px 20px 24px; }
  .cs-logo { height: 44px; }
  .cs-card { margin-top: 28px; border-radius: 18px; box-shadow: 0 26px 46px -28px rgba(36, 33, 34, .5), 0 2px 8px rgba(36, 33, 34, .08); }
  /* The band wraps on phones narrower than the 390px design, so nothing is cut off. The 4px minimum between the two
     labels keeps them on one line at 390px, where they are spread apart as designed (space-between). */
  .cs-band { padding: 12px 18px; gap: 8px 4px; }
  .cs-band-title { gap: 8px; font-size: 16px; }
  .cs-band-title svg { width: 18px; height: 18px; }
  .cs-band-site { font-size: 13px; }
  .cs-body { padding: 28px 20px 26px; }
  .cs-h1 { font-stretch: 102%; font-size: 34px; line-height: 1.06; }
  .cs-intro { margin-top: 16px; max-width: none; font-size: 17px; }
  .cs-ctas { flex-direction: column; gap: 10px; margin-top: 24px; }
  .cs-wa { order: -1; }
  .cs-btn { display: flex; min-height: 54px; font-size: 17px; }
  .cs-call { min-height: 52px; }
  .cs-btn .fx-label { padding: 0 16px; }
  .cs-info { display: flex; flex-direction: column; gap: 18px; padding: 22px 20px; }
  .cs-info .notch { top: -14px; width: 26px; height: 26px; }
  .cs-info .notch-l { left: -13px; }
  .cs-info .notch-r { right: -13px; }
  .cs-info-item { gap: 12px; }
  .cs-info-icon { width: 40px; height: 40px; border-radius: 10px; }
  .cs-info-icon svg { width: 20px; height: 20px; }
  .cs-info .contact-label { font-size: 13px; }
  .cs-info-text { margin-top: 3px; font-size: 15px; }
  .cs-foot { max-width: 480px; padding: 0 20px 24px; flex-direction: column; gap: 0; font-size: 13px; text-align: center; }
  .cs-legal { order: -1; justify-content: center; gap: 0 24px; font-size: 15px; }
}

/* ---------- Mobile menu while open: the page stays still and the menu scrolls if it is taller than the screen ---------- */
html[data-menu-open] { overflow: hidden; scrollbar-gutter: stable; }
.m-menu { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Print: sections that haven't scrolled into view yet print as they look at rest ---------- */
@media print {
  [data-flap], [data-rise], [data-tilt] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navlink::after, .maplift, .wafloat, .mbar, .wafloat[data-float-hidden], .mbar[data-float-hidden] { transition: none !important; }
  .fx::before, .fx-label { transition: none !important; }
  .pagelink .pl-text::after, .pagelink svg { transition: none !important; }
  .cardlift, .cardicon, .loan-cards, .loan-card { transition: none !important; }
  .qa-chev svg { transition: none !important; }
  .cardlift:hover, .cardlift:focus-within, .cardlift[data-pressed],
  .loan-cards:hover, .loan-cards:focus-within, .loan-cards[data-pressed],
  .loan-card:hover, .loan-card:focus-within, .loan-card[data-pressed] { translate: none !important; scale: none !important; box-shadow: none !important; }
  [data-flap], [data-rise], [data-tilt] { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Very narrow phones (below the 360px design floor): keep the header on one line. */
@media (max-width: 359.98px) {
  .header-logo img { height: 28px; }
  .header-actions { gap: 6px; }
  .header-cta-m .fx-label { padding: 0 10px; }
}
