:root {
  --font-latin: "Gilroy", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-arabic: "Almarai", "Gilroy", "Plus Jakarta Sans", system-ui, sans-serif;
  --ink: #2c2c2c;
  --black: #111;
  --navy: #172642;
  --navy-2: #24395f;
  --red: #d93444;
  --red-dark: #b8202f;
  --gold: #c89e45;
  --mist: #f3f6f7;
  --mist-2: #e9eff1;
  --line: #dce7eb;
  --white: #fff;
  --muted: #6b757c;
  --footer: #151718;
  --footer-text: #c4d1d6;
  --footer-head: #dce7eb;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgb(23 38 66 / 10%);
  --shadow-lift: 0 18px 44px rgb(23 38 66 / 16%);
  --shell: 1280px;
  --gutter: 16px;
  --section: clamp(44px, 7vw, 80px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--chrome-h, calc(var(--header-h) + 56px)) + 16px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-block-start: var(--chrome-full-h, calc(var(--header-h) + 56px));
  color: var(--ink);
  background: var(--white);
  font: 400 15px/1.6 var(--font-latin);
  letter-spacing: .17px;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { font-family: var(--font-arabic); letter-spacing: 0; }
body.menu-open, body.mega-open, body.filter-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
p, li, h1, h2, h3, a, span { overflow-wrap: break-word; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 8px; inset-inline-start: -999px; z-index: 3000; padding: 10px 16px; background: var(--white); }
.skip-link:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: .17px; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.7vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1rem, .95rem + .25vw, 1.1rem); font-weight: 700; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
.eyebrow { margin-block-end: 10px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.note { margin-block-start: 24px; color: var(--muted); font-size: .85rem; }

/* Buttons and links */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.button svg { width: 18px; height: 18px; }
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.button:active { transform: scale(.98); }
.button.dark { border-color: var(--black); background: var(--black); color: var(--white); }
.button.outline { color: var(--ink); }
.button.light { border-color: var(--white); background: var(--white); color: var(--black); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 28px; }
.button-row .button { flex: 1 1 200px; }
.center-button { margin-block-start: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.arrow-icon { display: inline-grid; width: 18px; height: 18px; transition: transform .25s var(--ease); }
[dir="rtl"] .arrow-icon svg, [dir="rtl"] .slider-arrow svg, [dir="rtl"] .rail-controls svg { transform: scaleX(-1); }
.text-button { min-height: 44px; border: 0; background: transparent; text-decoration: underline; }

/* Fixed chrome: height changes do not move document scroll, so hide/shrink cannot bounce. */
.site-chrome { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1002; background: var(--white); }

/* Promo */
.promo {
  position: relative;
  z-index: 1002;
  overflow: hidden;
  max-height: 80px;
  background: var(--navy);
  color: var(--white);
  transition: max-height .28s var(--ease), opacity .28s var(--ease);
}
.promo-inner { min-height: 40px; display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline-end: 36px; }
.promo p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .74rem; line-height: 1.4; }
.promo p a { color: var(--gold); font-weight: 800; text-underline-offset: 3px; }
.promo button { position: absolute; inset-inline-end: 6px; inset-block-start: 50%; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--white); transform: translateY(-50%); }
.promo button svg { width: 18px; height: 18px; }
.site-chrome.is-scrolled .promo { max-height: 0; opacity: 0; pointer-events: none; }
.site-chrome.is-scrolled .promo-inner { min-height: 0; padding-block: 0; }

/* Header */
.site-header { position: relative; z-index: 1000; background: var(--white); border-block-end: 1px solid #edf0f2; transition: box-shadow .25s var(--ease); }
.site-chrome.is-scrolled .site-header { box-shadow: 0 6px 22px rgb(0 0 0 / 7%); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 12px; transition: min-height .25s var(--ease); }
.site-chrome.is-scrolled .header-row { min-height: 56px; }
.brand { flex: 0 0 auto; margin-inline-end: auto; }
.brand img { width: 120px; height: 36px; object-fit: contain; object-position: inline-start; transition: width .25s var(--ease), height .25s var(--ease); }
.site-chrome.is-scrolled .brand img { width: 108px; height: 32px; }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-button, .menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.icon-button svg, .menu-button svg { width: 24px; height: 24px; stroke-width: 1.4; }
.menu-button .menu-open, .menu-button .menu-close { display: grid; place-items: center; }
.menu-button .menu-close { display: none; }
.menu-button[aria-expanded="true"] .menu-open { display: none; }
.menu-button[aria-expanded="true"] .menu-close { display: grid; }
.basket-link, .header-text-link { display: none; }
.language-link { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 6px; text-decoration: none; font-size: .78rem; font-weight: 600; }
.header-text-link, .desktop-nav a, .categories-button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[dir="rtl"] .header-text-link, [dir="rtl"] .desktop-nav a, [dir="rtl"] .categories-button { letter-spacing: 0; font-size: .85rem; }

.search-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: stretch;
  background: var(--white);
}
.search-overlay[hidden] { display: none; }
.search-overlay-form {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-inline: clamp(12px, 4vw, 40px);
}
.search-overlay-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 56px;
  border: 0;
  background: transparent;
  appearance: none;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.65rem);
  font-weight: 500;
  color: var(--ink);
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-overlay-form input::placeholder { color: #9aa3ab; }
.search-overlay-form input:focus { outline: none; }
.search-overlay-submit,
.search-overlay-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.search-overlay-submit svg,
.search-overlay-close svg { width: 26px; height: 26px; stroke-width: 1.4; }
.search-hits {
  position: fixed;
  inset-inline: 0;
  inset-block-start: var(--chrome-h, 104px);
  inset-block-end: 0;
  z-index: 1001;
  overflow: auto;
  overscroll-behavior: contain;
  padding-block: 20px 32px;
  background: var(--mist);
  box-shadow: 0 18px 40px rgb(23 38 66 / 12%);
}
.search-hits[hidden] { display: none; }
.search-hits-count,
.search-result-count {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}
.search-hits-more { margin: 8px 0 0; text-align: center; }
.search-hits-more a { font-weight: 800; }
.search-pin-source { display: none; }
body.search-open:not(.search-page) { overflow: hidden; }
.large-search { max-width: 800px; display: flex; margin-block-start: 22px; }
.large-search input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-start-start-radius: 12px;
  border-end-start-radius: 12px;
  border-inline-end: 0;
  background: var(--mist);
  font-size: 16px;
}
.large-search button {
  width: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-start-end-radius: 12px;
  border-end-end-radius: 12px;
  background: var(--black);
  color: var(--white);
}
.large-search button svg { width: 22px; height: 22px; }

/* Floating menu panel */
.menu-panel {
  position: fixed;
  inset-block-start: calc(var(--menu-top, 104px) + 8px);
  inset-inline: 10px;
  z-index: 1001;
  max-height: calc(100dvh - var(--menu-top, 104px) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 24px 60px rgb(23 38 66 / 18%);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  animation: panel-in .28s var(--ease);
}
.menu-panel[hidden] { display: none; }
.menu-backdrop { display: none; }
.menu-backdrop[hidden] { display: none !important; }
.menu-panel-close { display: none; }
.menu-links { display: grid; }
.menu-primary-links { display: none; }
.menu-extra-links { display: grid; }
.menu-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 20px;
  border-block-end: 3px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s, padding .25s var(--ease);
}
[dir="rtl"] .menu-links a { letter-spacing: 0; font-size: .95rem; }
.menu-links a[aria-current="page"] { color: var(--red); }
.menu-extras { display: none; padding-block-start: 10px; }
.menu-extras details { border-block-end: 1px solid var(--line); }
.menu-extras summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  list-style: none;
  cursor: pointer;
}
.menu-extras summary { padding-inline: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s var(--ease); }
details[open] > summary svg { transform: rotate(180deg); }
.menu-extras details div { display: grid; gap: 2px; padding: 0 20px 14px; }
.menu-extras details a { display: flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; font-size: .88rem; }
.menu-language { display: flex; align-items: center; min-height: 52px; padding-inline: 20px; color: var(--red); text-decoration: none; font-weight: 700; }

/* Mega menu (desktop) */
.mega-menu { display: none; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-block-end: 24px; }
.section-heading h2 { margin: 0; }
.heading-label { display: inline-flex; align-items: center; gap: 10px; }
.heading-label svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--red); }
.section-heading.compact h2, .mega-lower h2 { font-size: .95rem; }
.section-heading a, .solution-grid article a { display: inline-flex; align-items: center; gap: 8px; }
.mega-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.partner-grid, .cert-rail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partner-card, .logo-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #e6ebed;
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: .72rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-mark { color: var(--navy); font-size: 1.2rem; font-weight: 800; letter-spacing: -.04em; }
.partner-logo {
  width: auto;
  max-width: 132px;
  height: 56px;
  object-fit: contain;
}
.partner-logo.is-pecb {
  height: calc(56px * 0.8);
  max-width: calc(132px * 0.8);
}
.mega-lower { padding-block-start: 25px; border-block-start: 1px solid #d5dfe3; }
.mode-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mode-row a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: border-color .2s, box-shadow .2s, color .2s; }
.mode-row b { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: rgb(217 52 68 / 9%); color: var(--red); }
.mode-row b svg { width: 20px; height: 20px; }
.mega-locations { margin-block-start: 26px; }
.mega-locations .link-cloud a { gap: 6px; min-height: 36px; padding-inline: 12px; }
.mega-locations .link-cloud svg { width: 14px; height: 14px; color: var(--red); }
.mega-locations .link-cloud a:hover svg { color: currentColor; }
.mode-row a:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .8rem; transition: background .2s, color .2s, border-color .2s; }
.link-cloud.large { margin-block-start: 22px; }

/* Category and location tiles */
.category-tile, .hero-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.category-tile picture, .hero-card picture,
.category-tile img, .hero-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.category-tile img, .hero-card img {
  max-height: none;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease), opacity .3s;
}
.category-tile::after, .hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgb(7 15 28 / 72%)); }
.hero-card::after { background: linear-gradient(180deg, rgb(7 15 28 / 12%) 28%, rgb(7 15 28 / 78%)); }
.category-tile { aspect-ratio: 1; }
.category-tile img { opacity: .75; }
.category-tile-copy {
  position: absolute;
  inset-inline: 14px;
  inset-block-end: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
}
.category-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
  backdrop-filter: blur(8px);
}
.category-icon svg { width: 18px; height: 18px; }
.category-tile.compact { aspect-ratio: auto; min-height: 120px; border-radius: var(--radius-sm); }
.category-tile.compact .category-tile-copy { inset-inline: 10px; inset-block-end: 10px; gap: 6px; font-size: .7rem; }
.category-tile.compact .category-icon { width: 28px; height: 28px; }
.category-tile.compact .category-icon svg { width: 14px; height: 14px; }
.location-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 188px;
  padding: 18px 12px 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #f4f6f8;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.location-tile img {
  width: 148px;
  height: 148px;
  pointer-events: none;
  object-fit: contain;
  background: transparent;
}
.location-tile span {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
[dir="rtl"] .location-tile span { letter-spacing: 0; }

/* Home hero */
.home-hero {
  overflow: hidden;
  padding-block: 28px var(--section);
  background-color: #f7f8fa;
  background-image:
    radial-gradient(circle at 6% 10%, rgb(217 52 68 / 7%), transparent 26%),
    radial-gradient(circle at 94% 78%, rgb(200 158 69 / 10%), transparent 24%),
    url("/assets/img/hero-texture.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 28px 28px;
}
.home-hero h1 { max-width: 1050px; min-height: 2.3em; margin: 0 auto 28px; font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem); font-weight: 800; }
.typing { color: var(--red); border-inline-end: 3px solid var(--red); padding-inline-end: 4px; animation: caret 1s step-end infinite; }
.hero-rail-wrap { position: relative; width: 100%; }
.hero-rail, .rail {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-rail::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
.hero-rail {
  width: 100%;
  padding-inline: clamp(16px, 2.6vw, 36px);
  scroll-padding-inline: clamp(16px, 2.6vw, 36px);
  grid-auto-columns: 78%;
  gap: 16px;
}
.hero-rail.is-enhanced {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
}
.hero-track {
  display: grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 16px;
  grid-auto-columns: 78%;
  will-change: transform;
}
.hero-card {
  aspect-ratio: 1;
  scroll-snap-align: start;
  border-radius: 16px;
  color: var(--white);
  box-shadow: 0 10px 28px rgb(23 38 66 / 12%);
}
.hero-card picture, .hero-card img { opacity: 1; }
.hero-card-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 20px 22px;
  background: linear-gradient(180deg, transparent 36%, rgb(7 15 28 / 28%) 62%, rgb(7 15 28 / 74%) 100%);
  text-shadow: 0 1px 12px rgb(7 15 28 / 45%);
}
.hero-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: auto;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-card-kicker svg { width: 16px; height: 16px; flex: 0 0 auto; }
.hero-card-title { font-size: clamp(1.2rem, .95rem + .85vw, 1.85rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.hero-card-sub { font-size: .84rem; line-height: 1.4; color: rgb(255 255 255 / 88%); }
.hero-card-link { display: flex; align-items: center; gap: 8px; padding-block-start: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slider-arrow {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(50% - 40px);
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background .2s, color .2s, transform .2s;
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow.prev svg { rotate: 180deg; }
.slider-arrow.prev { inset-inline-start: clamp(8px, 1.4vw, 18px); }
.slider-arrow.next { inset-inline-end: clamp(8px, 1.4vw, 18px); }
.slider-dots { display: flex; justify-content: center; gap: 4px; padding-block-start: 18px; }
.slider-dots button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; }
.slider-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #c9d4d8; transition: width .3s var(--ease), background .3s; }
.slider-dots button[aria-current="true"]::before { width: 22px; background: var(--red); }

/* Partner logo carousel */
.cert-strip h2 { max-width: 920px; margin: 0 auto 22px; text-align: center; font-size: clamp(.78rem, .7rem + .35vw, .95rem); letter-spacing: .1em; text-transform: uppercase; }
.cert-strip .heading-label { justify-content: center; flex-wrap: wrap; }
[dir="rtl"] .cert-strip h2 { letter-spacing: 0; }
.logo-rail-wrap { position: relative; width: 100%; }
.logo-rail-wrap .slider-arrow { inset-block-start: 50%; transform: translateY(-50%); }
.logo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: clamp(16px, 2.6vw, 36px);
  padding-block: 8px 24px;
  margin-block: -8px -24px;
}
.logo-rail::-webkit-scrollbar { display: none; }
.logo-rail.is-enhanced {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
}
.logo-rail .hero-track {
  display: grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 12px;
  grid-auto-columns: 72%;
  will-change: transform;
}
.logo-card {
  scroll-snap-align: start;
  min-height: 118px;
}
.logo-card img {
  width: auto;
  max-width: 148px;
  height: 58px;
  object-fit: contain;
}
.logo-card span {
  color: var(--muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
[dir="rtl"] .logo-card span { letter-spacing: 0; }
.logo-group { margin-block-start: 28px; }
.logo-group:first-child { margin-block-start: 0; }
.logo-group h3 { position: relative; margin: 0 0 14px; padding-block-end: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.logo-group h3::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--red); }
[dir="rtl"] .logo-group h3 { letter-spacing: 0; }

/* Course rails and cards */
.discovery { display: grid; gap: var(--section); }
.course-rail { position: relative; overflow: visible; }
.rail {
  grid-auto-columns: 78%;
  gap: 16px;
  margin: -8px -4px -6px;
  padding: 16px 12px 28px;
}
.rail > * { scroll-snap-align: start; }
.rail-controls { display: none; gap: 8px; }
.rail-controls button, .view-buttons button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.rail-controls button svg { width: 18px; height: 18px; }
.rail-controls [data-rail-prev] svg { rotate: 180deg; }
.rail-all { display: flex; width: fit-content; margin: 18px auto 0; }
.course-grid, .location-grid, .function-grid, .news-grid, .mentor-grid, .benefit-grid, .feature-grid, .audience-grid, .mode-grid, .solution-grid, .content-grid, .gallery-grid, .process-grid { display: grid; gap: 16px; }
.course-grid, .news-grid, .mentor-grid { padding: 12px 8px 28px; margin: -8px -4px -12px; }
.location-grid, .function-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
}
.course-image { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--navy); }
.course-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 100% 50%; transition: transform .6s var(--ease); }
.card-logo { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; display: grid; place-items: center; min-height: 34px; padding: 4px 8px; border-radius: 8px; background: rgb(255 255 255 / 96%); color: var(--black); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.course-image .card-logo img { width: auto; max-width: 84px; height: 30px; object-fit: contain; transition: none; }
.card-topic { display: flex; align-items: center; gap: 6px; }
.card-topic svg { width: 15px; height: 15px; flex: 0 0 auto; }
.course-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.course-card h3 { margin-block-end: 8px; }
.course-card h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .3s var(--ease); }
[dir="rtl"] .course-card h3 a { background-position: 100% 100%; }
.course-card p { color: var(--muted); font-size: .82rem; }
.course-card .eyebrow { margin-block-end: 6px; font-size: .64rem; }
.course-card .upcoming { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-block-start: 12px; border-block-start: 1px solid var(--line); color: var(--ink); font-size: .76rem; }
.upcoming svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.course-grid.list-view { grid-template-columns: 1fr; }
.empty-state { padding: 30px; border-radius: var(--radius); background: var(--mist); text-align: center; }

/* Catalogue shelf */
.catalogue-shelf {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgb(217 52 68 / 22%), transparent 34%),
    radial-gradient(circle at 92% 100%, rgb(200 158 69 / 20%), transparent 32%),
    linear-gradient(160deg, var(--navy) 0%, #0e1a30 100%);
  color: var(--white);
}
.catalogue-shelf h2, .catalogue-shelf .text-link { color: var(--white); }
.catalogue-shelf .eyebrow { color: var(--gold); }
.catalogue-shelf .heading-label svg { color: var(--gold); }
.shelf-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: 16px;
  overflow-x: auto;
  margin-inline: calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shelf-grid::-webkit-scrollbar { display: none; }
.shelf-book {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
  color: var(--white);
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.shelf-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.414;
  border-radius: 4px 10px 10px 4px;
  background: #0b1526;
  box-shadow: -6px 0 0 -2px rgb(255 255 255 / 18%), 0 18px 36px rgb(0 0 0 / 38%);
  transform: perspective(900px) rotateY(-8deg);
  transform-origin: left center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
[dir="rtl"] .shelf-cover { border-radius: 10px 4px 4px 10px; box-shadow: 6px 0 0 -2px rgb(255 255 255 / 18%), 0 18px 36px rgb(0 0 0 / 38%); transform: perspective(900px) rotateY(8deg); transform-origin: right center; }
.shelf-cover img { width: 100%; height: 100%; object-fit: cover; }
.shelf-title { min-height: 2.6em; font-size: .9rem; font-weight: 800; line-height: 1.3; text-align: center; }
.shelf-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-block-start: auto; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.shelf-cta svg { width: 15px; height: 15px; }
[dir="rtl"] .shelf-cta { letter-spacing: 0; }

/* Portfolio resources */
.resource-grid { display: grid; gap: 16px; }
.resource-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.resource-tile h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
[dir="rtl"] .resource-tile h3 { letter-spacing: 0; }
.resource-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1526; }
.resource-media img, .resource-media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.resource-tile.is-contain .resource-media { background: var(--white); }
.resource-tile.is-contain .resource-media img { object-fit: contain; padding: 12px; }
.resource-tile.is-video .resource-media video { background: #000; }
.resource-tile.is-video h3 { background: var(--red); }

/* Testimonials */
.testimonial { background: var(--mist); text-align: center; }
.testimonial-quote { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 12px; color: var(--red); }
.testimonial-quote svg { width: 32px; height: 32px; }
.testimonial-slider { display: grid; }
.testimonial-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.testimonial-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial blockquote { max-width: 900px; margin: 10px auto 18px; font-size: clamp(1.2rem, .9rem + 1.6vw, 2.3rem); font-weight: 700; line-height: 1.4; }
.testimonial figcaption { color: var(--muted); }

/* Image heroes */
.hero-media { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(52px, 9vw, 110px); background: #0b1526; color: rgb(255 255 255 / 88%); }
.hero-media > .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: hero-settle 12s var(--ease) forwards; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(110% 90% at 100% 0%, rgb(217 52 68 / 24%), transparent 55%),
    linear-gradient(90deg, rgb(7 13 26 / 95%) 0%, rgb(11 21 40 / 86%) 40%, rgb(14 27 50 / 58%) 72%, rgb(14 27 50 / 42%) 100%),
    linear-gradient(0deg, rgb(7 13 26 / 80%) 0%, transparent 50%);
}
[dir="rtl"] .hero-media::before {
  background:
    radial-gradient(110% 90% at 0% 0%, rgb(217 52 68 / 24%), transparent 55%),
    linear-gradient(270deg, rgb(7 13 26 / 95%) 0%, rgb(11 21 40 / 86%) 40%, rgb(14 27 50 / 58%) 72%, rgb(14 27 50 / 42%) 100%),
    linear-gradient(0deg, rgb(7 13 26 / 80%) 0%, transparent 50%);
}
.hero-media::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold) 45%, transparent 85%); }
[dir="rtl"] .hero-media::after { background: linear-gradient(270deg, var(--red), var(--gold) 45%, transparent 85%); }
.hero-media > .breadcrumbs { position: absolute; inset-block-start: clamp(14px, 2.5vw, 26px); inset-inline: 0; z-index: 1; align-items: center; padding: 0; color: rgb(255 255 255 / 62%); font-size: .78rem; }
.hero-media > .breadcrumbs a { color: rgb(255 255 255 / 88%); transition: color .2s; }
.hero-media > .breadcrumbs a:hover { color: var(--gold); }
.hero-media > .breadcrumbs > span:last-child { color: var(--gold); font-weight: 600; }
.hero-media:has(> .breadcrumbs) { padding-block-start: clamp(72px, 10vw, 120px); }
.hero-media h1, .hero-media .advisor-card h2 { color: var(--white); text-shadow: 0 2px 28px rgb(0 0 0 / 40%); }
.hero-media h1 { margin-block-end: 18px; }
.hero-media p { color: rgb(255 255 255 / 88%); }
.hero-media p:not(.eyebrow) { font-size: clamp(1rem, .95rem + .35vw, 1.18rem); line-height: 1.65; text-shadow: 0 1px 14px rgb(0 0 0 / 35%); }
.hero-media .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-shadow: none; }
.hero-media .eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hero-media .button.dark { border-color: var(--red); background: var(--red); }
.hero-media .button.dark::before { background: var(--red-dark); }
.hero-media .button.outline { border-color: rgb(255 255 255 / 55%); background: rgb(255 255 255 / 8%); color: var(--white); backdrop-filter: blur(6px); }
@keyframes hero-settle { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media > .hero-bg { animation: none; transform: none; } }

/* Catalogue */
.catalogue-banner { min-height: 380px; display: grid; align-items: center; }
.catalogue-banner h1 { max-width: 750px; margin: 0; }
.catalogue-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.catalogue-tools-end { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.catalogue-tools-end .search-result-count { margin: 0; }
.filter-button { flex: 1 1 auto; }
.view-buttons { display: none; gap: 7px; }
.view-buttons button[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: var(--white); }
.filter-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgb(10 18 30 / 45%); }
.filter-backdrop[hidden] { display: none; }
.filter-panel {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 1101;
  max-height: 85dvh;
  display: flex;
  flex-direction: column;
  border-radius: 20px 20px 0 0;
  background: var(--white);
  box-shadow: 0 -20px 50px rgb(0 0 0 / 15%);
  animation: sheet-in .3s var(--ease);
}
.filter-panel[hidden] { display: none; }
.filter-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-block-end: 1px solid var(--line); }
.filter-sheet-head h2 { margin: 0; font-size: 1.1rem; }
.filter-sheet-head button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); }
.filter-sheet-head button svg { width: 18px; height: 18px; }
.filter-fields { display: grid; gap: 16px; overflow-y: auto; padding-block: 20px; }
.filter-fields label { font-size: .78rem; font-weight: 700; }
.filter-fields select, .programme-filters input, .programme-filters select { width: 100%; min-height: 50px; margin-block-start: 6px; padding-inline: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 16px; }
.filter-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--line); }
.catalogue .course-rail:nth-child(even) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--gutter), calc((100% - var(--shell)) / 2));
  background: var(--mist);
}
.programme-section { background: var(--mist); }

/* Category page */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 9px; padding-block: 14px; color: var(--muted); font-size: .75rem; }
.breadcrumbs a { text-decoration: none; }
.course-hero { padding-block: clamp(32px, 6vw, 70px); background: var(--mist); }
.category-hero-grid, .course-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero { min-height: 380px; display: grid; align-items: center; }
.page-hero h1, .page-hero p:not(.eyebrow) { max-width: 760px; }
.page-hero .button-row { max-width: 560px; }
.category-hero ul { display: grid; gap: 8px; padding-inline-start: 20px; }
.category-hero li::marker { color: var(--gold); }
.advisor-card { padding: 26px; border: 1px solid rgb(255 255 255 / 16%); border-block-start: 4px solid var(--gold); border-radius: var(--radius); background: rgb(12 22 40 / 55%); box-shadow: 0 24px 60px rgb(0 0 0 / 35%); backdrop-filter: blur(14px); }
.advisor-card h2 { font-size: 1.35rem; }
.advisor-card a { color: var(--gold); font-weight: 800; }
.proof-strip { background: var(--navy); color: var(--white); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; }
.proof-grid div { display: flex; align-items: center; gap: 12px; min-height: 80px; padding-inline: 14px; border-block-end: 1px solid rgb(255 255 255 / 12%); }
.proof-grid b { color: var(--gold); font-size: 1.3rem; }
.home-modes {
  background-color: var(--mist);
  background-image:
    radial-gradient(circle at 8% 0%, rgb(217 52 68 / 7%), transparent 28%),
    radial-gradient(circle at 96% 100%, rgb(200 158 69 / 10%), transparent 26%),
    url("/assets/img/hero-texture.svg");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 28px 28px;
}
.home-modes .mode-grid a { display: block; text-decoration: none; color: inherit; }
.mode-grid h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.mode-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.feature-grid article, .benefit-grid article, .mode-grid article, .mode-grid a, .audience-grid article, .solution-grid article, .content-grid article, .mentor-card, .process-grid li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.benefit-grid span, .audience-grid span, .solution-grid > article > span, .process-grid b, .article-number { color: var(--red); font-weight: 800; }
.programme-filters { display: grid; gap: 12px; margin-block-end: 22px; }
.sector-grid article { display: flex; align-items: center; gap: 14px; }
.sector-grid h3 { margin: 0; }
.muted { background: var(--mist); }
.mode-grid b { display: grid; width: 40px; height: 40px; place-items: center; color: var(--red); }
.mode-grid b svg { width: 32px; height: 32px; }
.corporate-panel { display: grid; gap: 30px; padding: clamp(24px, 5vw, 55px); border-radius: 24px; background: var(--navy); color: var(--white); }
.corporate-panel h2 { color: var(--white); }
.corporate-panel ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; }
.corporate-panel li { padding: 16px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 12px; }
.corporate-panel li b { display: block; color: var(--gold); font-size: 1.2rem; }
.corporate-panel .button { border-color: var(--white); background: var(--white); color: var(--black); }
.process-grid { padding: 0; margin: 0; list-style: none; }
.process-grid b { display: block; margin-block-end: 10px; font-size: 1.4rem; }

/* Accordions */
.faq details, .outline-accordion details { border-block-end: 1px solid var(--line); }
.faq summary, .outline-accordion summary { position: relative; min-height: 56px; display: flex; align-items: center; padding-block: 14px; padding-inline-end: 36px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::after, .outline-accordion summary::after { content: "+"; position: absolute; inset-inline-end: 4px; color: var(--red); font-size: 1.4rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after, .outline-accordion details[open] summary::after { transform: rotate(45deg); }
.faq details p, .outline-accordion details p { max-width: 800px; color: var(--muted); }

/* Course page */
.button.accent { border-color: var(--red); background: var(--red); color: var(--white); }
.button.accent::before { background: var(--red-dark); }
.course-hero-grid { align-items: start; }
.course-hero-main { min-width: 0; }
.course-topic { display: inline-flex; align-items: center; gap: 8px; }
.course-topic svg { width: 18px; height: 18px; flex: 0 0 auto; }
.course-subtitle { max-width: 720px; color: var(--muted); font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); }
.course-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px 22px; }
.course-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .74rem; font-weight: 700; }
.course-badge svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--red); }
.course-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.course-media > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 100% 50%; }
.course-media-logo { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; display: grid; place-items: center; padding: 6px 10px; border-radius: var(--radius-sm); background: rgb(255 255 255 / 96%); box-shadow: var(--shadow); }
.course-media-logo .partner-logo { max-width: 110px; height: 44px; }
.course-media-icon { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: var(--shadow); }
.course-media-icon svg { width: 28px; height: 28px; }
.course-booking { align-content: start; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.course-booking h2 { margin: 0; font-size: 1.05rem; }
.mode-cards, .date-grid { display: grid; gap: 10px; }
.mode-cards { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.date-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-booking label > span { min-height: 74px; padding: 12px 14px; border-radius: var(--radius-sm); }
.course-booking .date-grid b { font-size: .84rem; }
.more-dates summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); cursor: pointer; font-size: .8rem; font-weight: 800; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.more-dates[open] summary { margin-block-end: 10px; }
.course-split {
  --edge: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  display: grid;
  grid-template-areas: "overview" "takeaways" "aside" "outline";
  background: var(--mist);
}
.course-block { padding-inline: var(--edge); padding-block-start: clamp(36px, 5vw, 56px); }
.course-overview { grid-area: overview; padding-block-start: var(--section); }
.course-takeaways { grid-area: takeaways; padding-block-end: var(--section); }
.course-details { grid-area: outline; padding-block-end: var(--section); }
.course-trainer p { display: block; max-width: 760px; padding: 18px 20px; border-inline-start: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--white); }
.course-extra p + p { margin-block-start: 12px; }
.course-extra .audience-list { margin-block-start: 12px; }
.course-aside { grid-area: aside; display: grid; align-content: start; gap: 18px; padding-block: var(--section); padding-inline: var(--edge); background: var(--white); }
.course-block h2, .course-aside h2 { margin-block-end: 18px; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); }
.course-block > p, .show-more p { max-width: 760px; }
.show-more summary { display: inline-flex; min-height: 44px; align-items: center; color: var(--red); cursor: pointer; font-weight: 800; list-style: none; }
.show-more[open] summary { display: none; }
.takeaway-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.takeaway-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--white); font-weight: 600; }
.takeaway-list b { color: var(--red); font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1; }
.outline-timeline { position: relative; display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; }
.outline-timeline::before { content: ""; position: absolute; inset-block: 10px; inset-inline-start: 9px; border-inline-start: 2px dashed var(--red); }
.outline-timeline > li { position: relative; padding-inline-start: 36px; }
.outline-timeline > li::before { content: ""; position: absolute; inset-block-start: 4px; inset-inline-start: 2px; width: 16px; height: 16px; border: 3px solid var(--red); border-radius: 50%; background: var(--mist); }
.outline-marker { display: block; margin-block-end: 6px; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.outline-timeline details { border-radius: var(--radius-sm); background: var(--white); }
.outline-timeline summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.outline-timeline summary svg { color: var(--red); transition: transform .25s var(--ease); }
.outline-timeline details[open] > summary svg { transform: rotate(45deg); }
.outline-timeline ul { display: grid; gap: 4px; padding: 0 16px 14px; margin: 0; list-style: none; }
.outline-timeline ul li { display: flex; align-items: flex-start; gap: 10px; padding-block: 8px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.outline-timeline ul svg { width: 14px; height: 14px; flex: 0 0 auto; margin-block-start: 5px; color: var(--red); }
.adviser-card, .accred-block, .downloads-block, .audience-block { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.adviser-card { display: grid; gap: 10px; border-block-start: 5px solid var(--red); }
.adviser-card h2, .accred-block h2, .downloads-block h2, .audience-block h2 { margin-block-end: 4px; font-size: 1.15rem; }
.adviser-card p, .accred-block p { margin: 0; color: var(--muted); font-size: .86rem; }
.adviser-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red)); color: var(--white); }
.adviser-avatar svg { width: 26px; height: 26px; }
.adviser-link { min-height: 44px; display: flex; align-items: center; gap: 10px; border-block-end: 1px solid var(--line); text-decoration: none; font-size: .86rem; font-weight: 600; }
.adviser-link svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--red); }
.adviser-card .button { margin-block-start: 6px; }
.accred-block { display: grid; gap: 12px; }
.accred-logo { display: flex; align-items: center; min-height: 72px; }
.accred-block .accred-logo { justify-content: center; border-radius: var(--radius-sm); background: var(--mist); }
.accred-certificate { display: flex; align-items: flex-start; gap: 10px; }
.accred-certificate svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.course-downloads { display: grid; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.course-downloads a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .2s, background-color .2s; }
.course-downloads a:hover, .course-downloads a:focus-visible { border-color: var(--red); background: var(--mist); }
.course-downloads a > svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--red); }
.course-downloads a > svg:last-child { width: 16px; height: 16px; margin-inline-start: auto; color: var(--muted); }
.course-downloads span { display: grid; gap: 2px; min-width: 0; }
.course-downloads b { font-size: .86rem; line-height: 1.3; }
.course-downloads small { color: var(--muted); font-size: .76rem; }
.audience-list { display: grid; gap: 2px; padding: 0; margin: 0; list-style: none; }
.audience-list li { display: flex; align-items: flex-start; gap: 10px; padding-block: 7px; font-size: .9rem; }
.audience-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.review-carousel blockquote { font-size: clamp(1.05rem, .9rem + .9vw, 1.6rem); }
.course-venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.venue-card { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-sm); color: var(--white); text-decoration: none; }
.venue-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.venue-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 38 66 / 85%), rgb(23 38 66 / 0%) 65%); }
.venue-card span { position: absolute; inset-inline: 12px; inset-block-end: 10px; z-index: 1; display: flex; align-items: center; gap: 6px; }
.venue-card svg { width: 16px; height: 16px; flex: 0 0 auto; }
.course-page .to-top { inset-block-end: 88px; }
.sticky-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--red); }
.sticky-icon svg { width: 18px; height: 18px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-block-start: 22px; color: var(--muted); }
.share-row button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.share-row button svg { width: 18px; height: 18px; }
.session-form { display: grid; gap: 16px; }
.session-form label { cursor: pointer; }
.session-form input { position: absolute; opacity: 0; }
.session-form label > span { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s, background .2s; }
.session-form input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.session-form input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.session-form b, .session-form small { display: inline-flex; align-items: center; gap: 8px; }
.session-form b { font-size: .95rem; }
.session-form b svg, .session-form small svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.session-form small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.session-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.session-actions .button { min-height: 48px; }
.check-list { padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; }
.check-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.sticky-enquire {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-block-start: 1px solid var(--line);
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 -8px 24px rgb(0 0 0 / 8%);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.sticky-enquire.is-visible { transform: none; }
.sticky-enquire span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; font-weight: 700; }
.sticky-enquire .button { flex: 0 0 auto; min-height: 44px; }
.course-page .footer { padding-block-end: 90px; }

/* Location, editorial, misc */
.location-hero { min-height: 340px; display: grid; align-items: end; }
.location-hero h1 { max-width: 800px; }
.two-column { display: grid; gap: 24px; align-items: center; }
.editorial-hero { min-height: 360px; display: grid; align-items: center; }
.editorial-hero h1 { max-width: 900px; }
.editorial-hero p:not(.eyebrow) { max-width: 760px; }
.compact-hero { padding-block: 40px; }
.content-grid article { border-block-start: 4px solid var(--red); background: var(--mist); }
.gallery-grid article { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.gallery-grid img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.gallery-grid h2, .gallery-grid p { margin-inline: 18px; }
.gallery-grid h2 { margin-block-start: 18px; font-size: 1.15rem; }
.dark-section { background: var(--navy); color: var(--white); text-align: center; }
.dark-section h2 { color: var(--white); }
.dark-section p { max-width: 700px; margin-inline: auto; }
.solution-grid a { color: var(--red); font-weight: 800; }
.not-found { min-height: 55vh; display: grid; place-content: center; text-align: center; }
.not-found > span { color: var(--red); font-size: clamp(4rem, 12vw, 6rem); font-weight: 800; }

/* Mentors, news, downloads */
.mentor-card { text-align: center; }
.mentor-avatar { width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--red)); color: var(--white); font-size: 1.4rem; font-weight: 800; }
.mentor-card p { color: var(--muted); font-size: .85rem; }
.news-card { overflow: visible; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.news-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card > div { padding: 18px; }
.news-card time, .article time { color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin-block: 8px; }
.news-card h3 a { text-decoration: none; }
.news-card p { color: var(--muted); font-size: .85rem; }
.article { max-width: 820px; padding-block: 20px var(--section); }
.article h1 { margin-block: 10px 22px; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem); }
.article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-block-end: 26px; border-radius: var(--radius); }
.article p { font-size: 1.02rem; }
.download-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.download-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.download-list li .button { grid-column: 1 / -1; }
.download-list h3, .download-list p { margin: 0; }
.download-list p { color: var(--muted); font-size: .8rem; }
.download-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--mist); color: var(--red); }
.download-icon svg { width: 24px; height: 24px; }

/* Solutions */
.mega-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega-service-grid a { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #e6ebed; border-radius: var(--radius-sm); background: var(--white); text-decoration: none; font-size: .8rem; font-weight: 700; transition: border-color .2s, color .2s; }
.mega-service-grid .category-icon, .service-line-copy .category-icon { display: grid; place-items: center; color: var(--red); }
.mega-service-grid svg { width: 22px; height: 22px; }
.service-line-grid, .service-item-grid { display: grid; gap: 14px; }
.service-line-card { display: flex; flex-direction: column; gap: 12px; padding-block-end: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.service-line-card > p, .service-line-card > .text-link { margin: 0; padding-inline: 18px; }
.service-line-card > p { color: var(--muted); font-size: .86rem; }
.service-line-card > .text-link { margin-block-start: auto; }
.service-line-tile { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: var(--white); text-decoration: none; }
.service-line-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-line-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 38 66 / 88%), rgb(23 38 66 / 0%) 70%); }
.service-line-copy { position: absolute; inset-inline: 16px; inset-block-end: 14px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.service-line-copy .category-icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; background: var(--white); }
.service-line-copy svg { width: 24px; height: 24px; }
.service-line-copy b { display: block; font-size: 1.05rem; line-height: 1.25; }
.service-line-copy small { color: rgb(255 255 255 / 80%); font-size: .75rem; }
.service-group-title { margin-block: 28px 14px; font-size: 1.05rem; }
.service-group-title:first-child { margin-block-start: 0; }
.service-item-card { position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 1px 2px rgb(23 38 66 / 10%); transition: transform .25s var(--ease), box-shadow .25s; }
.service-item-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; transform: scale(1.14); transition: transform .7s var(--ease); }
.service-item-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 22 40 / 45%) 0%, rgb(12 22 40 / 0%) 26%, rgb(12 22 40 / 35%) 45%, rgb(12 22 40 / 82%) 68%, rgb(12 22 40 / 96%) 100%); transition: background .3s; }
.service-item-badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding-block: 5px; padding-inline: 8px 10px; border-radius: 999px; background: rgb(255 255 255 / 94%); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 14px rgb(0 0 0 / 18%); }
.service-item-badge > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-item-badge svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--red); }
.service-item-overlay { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; }
.service-item-kind { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid rgb(200 158 69 / 55%); border-radius: 999px; background: rgb(12 22 40 / 70%); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-item-kind svg { width: 14px; height: 14px; }
.service-item-overlay b { font-size: 1.08rem; line-height: 1.3; text-shadow: 0 1px 12px rgb(0 0 0 / 35%); }
.service-item-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 6px; padding-block-start: 10px; border-block-start: 1px solid rgb(255 255 255 / 22%); color: rgb(255 255 255 / 85%); font-size: .78rem; font-weight: 700; }
.service-item-cta .arrow-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 16%); color: var(--white); transition: background .25s, color .25s, transform .25s; }
.service-item-cta .arrow-icon svg { width: 16px; height: 16px; }
.service-item-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[dir="rtl"] .service-item-card .arrow-icon, [dir="rtl"] .service-line-card .arrow-icon { rotate: 180deg; }
.related-course { display: grid; gap: 24px; align-items: center; }
.related-course p:not(.eyebrow) { color: var(--muted); }

/* About pages */
.about-nav { border-block-end: 1px solid var(--line); background: var(--white); }
.about-nav ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 14px var(--gutter); list-style: none; }
.about-nav a { height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 0 0 0 transparent; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.about-nav img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; opacity: .82; transition: opacity .25s var(--ease), transform .4s var(--ease); }
.about-nav span { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 3px; font-size: .58rem; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: break-word; hyphens: auto; }
.about-nav span svg { flex: none; width: 13px; height: 13px; color: var(--gold); }
.about-nav a[aria-current="page"] { background: var(--red); box-shadow: 0 0 0 2px var(--red); }
.about-nav a[aria-current="page"] img { opacity: 1; }
.about-nav a[aria-current="page"] span svg { color: var(--white); }
.about-prose { max-width: 860px; }
.about-prose p { font-size: 1.02rem; }
.about-prose p:first-child { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 600; }
.about-list { display: grid; gap: 4px 28px; padding: 0; margin: 0; list-style: none; }
.about-list li { display: flex; align-items: flex-start; gap: 10px; padding-block: 9px; border-block-end: 1px solid var(--line); }
.about-list svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 3px; color: var(--red); }
.pillar-grid, .testimonial-grid { display: grid; gap: 16px; }
.pillar-grid article { padding: 26px; border: 1px solid var(--line); border-block-start: 4px solid var(--red); border-radius: var(--radius); background: var(--white); }
.pillar-grid h3 { margin-block: 14px 8px; font-size: 1.2rem; }
.pillar-grid p { margin: 0; color: var(--muted); }
.pillar-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--red); }
.pillar-icon svg { width: 26px; height: 26px; }
.vision-quote { display: grid; gap: 16px; justify-items: center; max-width: 900px; margin: 0 auto; text-align: center; }
.vision-quote > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); }
.vision-quote svg { width: 30px; height: 30px; }
.vision-quote p { margin: 0; font-size: clamp(1.25rem, 1rem + 1.4vw, 2.1rem); font-weight: 800; line-height: 1.35; }
.testimonial-grid figure { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.testimonial-grid .testimonial-quote { margin: 0 0 10px; }
.testimonial-grid blockquote { margin: 0 0 14px; font-weight: 600; }
.testimonial-grid figcaption { color: var(--muted); font-size: .85rem; }
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.logo-wall li { min-height: 120px; display: grid; justify-items: center; align-content: center; gap: 8px; padding: 14px; border: 1px solid #e6ebed; border-radius: var(--radius-sm); background: var(--white); text-align: center; }
.logo-wall img { width: auto; max-width: 100%; height: 64px; object-fit: contain; }
.logo-wall span { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.logo-wall.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.logo-wall.compact li { min-height: 84px; padding: 10px; }
.logo-wall.compact img { height: 48px; }
.content-grid .accred-logo { min-height: 64px; margin-block-end: 12px; }
.menu-links details { border-block-end: 3px solid var(--line); }
.menu-links details summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 20px; cursor: pointer; font-size: .82rem; font-weight: 500; letter-spacing: .14em; list-style: none; text-transform: uppercase; }
[dir="rtl"] .menu-links details summary { letter-spacing: 0; font-size: .95rem; }
.menu-links details > div { display: grid; padding: 0 20px 12px; }
.menu-links details a { min-height: 42px; padding-inline: 12px; border-block-end: 0; color: var(--muted); font-size: .86rem; letter-spacing: 0; text-transform: none; }
.menu-links details a[aria-current="page"] { color: var(--red); }

/* Contact page */
.contact-hero { min-height: 560px; display: grid; align-items: center; }
.contact-hero::before { background: linear-gradient(90deg, rgb(8 18 34 / 96%) 0%, rgb(14 30 53 / 88%) 54%, rgb(14 30 53 / 45%) 100%); }
[dir="rtl"] .contact-hero::before { background: linear-gradient(270deg, rgb(8 18 34 / 96%) 0%, rgb(14 30 53 / 88%) 54%, rgb(14 30 53 / 45%) 100%); }
.contact-hero-grid { display: grid; gap: 28px; align-items: center; }
.contact-hero-copy h1 { max-width: 720px; margin-block-end: 16px; }
.contact-hero-copy > p:not(.eyebrow) { max-width: 680px; }
.contact-quick-actions { display: grid; gap: 10px; margin-block-start: 28px; }
.contact-quick-actions a { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; background: rgb(255 255 255 / 9%); color: var(--white); text-decoration: none; backdrop-filter: blur(10px); transition: transform .2s, border-color .2s, background .2s; }
.contact-quick-actions a > svg { width: 38px; height: 38px; flex: 0 0 auto; padding: 9px; border-radius: 11px; background: rgb(200 158 69 / 18%); color: var(--gold); }
.contact-quick-actions a span { min-width: 0; display: grid; }
.contact-quick-actions small { color: rgb(255 255 255 / 62%); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-quick-actions b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
.contact-hero-note { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 34px); border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius); background: linear-gradient(145deg, rgb(255 255 255 / 15%), rgb(255 255 255 / 6%)); box-shadow: 0 24px 60px rgb(0 0 0 / 28%); backdrop-filter: blur(18px); }
.contact-hero-note::after { content: ""; position: absolute; inset-inline-end: -50px; inset-block-end: -70px; width: 180px; height: 180px; border: 1px solid rgb(200 158 69 / 22%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(200 158 69 / 5%), 0 0 0 48px rgb(200 158 69 / 3%); }
.contact-hero-note-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-block-end: 20px; border-radius: 16px; background: var(--red); color: var(--white); box-shadow: 0 14px 28px rgb(217 52 68 / 32%); }
.contact-hero-note-icon svg { width: 26px; height: 26px; }
.contact-hero-note h2 { position: relative; z-index: 1; margin-block-end: 20px; color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.contact-hero-note ul { position: relative; z-index: 1; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-hero-note li { display: flex; align-items: flex-start; gap: 10px; color: rgb(255 255 255 / 84%); font-size: .86rem; }
.contact-hero-note li svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--gold); }
.contact-offices { display: grid; gap: 30px; }
.contact-section-heading { display: grid; gap: 12px; align-items: end; }
.contact-section-heading h2 { max-width: 680px; margin: 0; }
.contact-section-heading > p { max-width: 580px; margin: 0; color: var(--muted); }
.contact-office-grid { display: grid; gap: 14px; }
.contact-office-card { position: relative; isolation: isolate; overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgb(23 38 66 / 6%); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.contact-office-card::after { content: ""; position: absolute; inset-inline-end: -36px; inset-block-start: -42px; z-index: -1; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgb(217 52 68 / 10%), transparent 68%); }
.contact-office-heading { display: flex; align-items: center; gap: 13px; }
.contact-office-heading > span { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--navy); color: var(--gold); }
.contact-office-heading svg { width: 22px; height: 22px; }
.contact-office-heading p { margin: 0 0 2px; color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-office-heading h3 { margin: 0; font-size: 1.18rem; }
.contact-office-address { min-height: 52px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.contact-office-actions { display: grid; gap: 7px; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.contact-office-actions a { display: flex; align-items: center; gap: 9px; min-height: 32px; color: var(--navy); text-decoration: none; font-size: .8rem; font-weight: 700; }
.contact-office-actions svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--red); }
.contact-next { background: var(--mist); }
.contact-step-grid { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.contact-step-grid li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border: 1px solid #e2e8eb; border-radius: var(--radius); background: var(--white); }
.contact-step-grid li > span { color: var(--red); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.contact-step-grid h3 { margin-block-end: 7px; font-size: 1.05rem; }
.contact-step-grid p { margin: 0; color: var(--muted); font-size: .84rem; }

/* Callback form */
.callback { padding-block: clamp(28px, 4.5vw, 52px); background: var(--mist); }
.callback-inner { display: grid; overflow: hidden; border: 1px solid #e3e8ec; border-radius: 18px; background: var(--white); box-shadow: 0 18px 44px rgb(16 28 51 / 8%); }
.callback-intro { position: relative; isolation: isolate; overflow: hidden; padding: clamp(22px, 3vw, 32px); background: radial-gradient(120% 80% at 100% 0%, rgb(217 52 68 / 22%), transparent 55%), linear-gradient(160deg, #13213c, #0b1426); color: rgb(255 255 255 / 76%); }
.callback-intro::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.callback-intro .eyebrow { margin-block-end: 8px; color: var(--gold); }
.callback-intro h2 { margin: 0 0 8px; color: var(--white); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.callback-intro > p:not(.eyebrow) { margin: 0; font-size: .9rem; line-height: 1.6; }
.callback-contacts { display: grid; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; }
.callback-contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; color: var(--white); font-size: .86rem; font-weight: 600; text-decoration: none; transition: color .2s; }
.callback-contacts svg { width: 30px; height: 30px; flex: 0 0 auto; padding: 7px; border-radius: 50%; background: rgb(255 255 255 / 9%); color: var(--gold); }
.enquiry-form { display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); }
.enquiry-form label span { display: block; margin-block-end: 4px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
  background: #f7f9fa;
  font-size: 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgb(23 38 66 / 8%); outline: none; }
.enquiry-form textarea { min-height: 72px; resize: vertical; }
.form-action { display: grid; gap: 10px; }
.form-action .button { width: 100%; }
.form-status { margin: 0; font-size: .82rem; }
.honeypot { position: absolute; inset-inline-start: -9999px; }

/* Footer */
.footer { position: relative; isolation: isolate; overflow: hidden; padding-block: 0 24px; background: radial-gradient(90% 60% at 100% 0%, rgb(217 52 68 / 12%), transparent 60%), linear-gradient(180deg, #101c33 0%, #0b1426 100%); color: rgb(255 255 255 / 70%); font-size: .86rem; }
.footer::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold) 50%, var(--red)); }
.footer a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.footer h2, .footer h3, .footer h4 { color: var(--white); }
.footer-cta { display: grid; gap: 24px; padding-block: clamp(36px, 6vw, 60px); border-block-end: 1px solid rgb(255 255 255 / 10%); }
.footer-cta .eyebrow { color: var(--gold); }
.footer-cta h2 { max-width: 640px; margin-block-end: 12px; font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.3rem); }
.footer-cta p:not(.eyebrow) { max-width: 620px; margin: 0; font-size: clamp(.92rem, .88rem + .2vw, 1.02rem); line-height: 1.65; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.footer-cta-actions .button { flex: 1 1 210px; }
.footer .button.footer-ghost { border-color: rgb(255 255 255 / 35%); background: rgb(255 255 255 / 6%); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; padding-block: clamp(36px, 5vw, 56px); }
.footer-brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 18px; }
.footer-logo { display: inline-grid; place-items: center; padding: 10px 16px; border-radius: 14px; background: var(--white); box-shadow: 0 12px 30px rgb(0 0 0 / 25%); }
.footer-logo img { width: 150px; height: 42px; object-fit: contain; }
.footer-brand > p { max-width: 380px; margin: 0; line-height: 1.7; }
.footer-contact { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; color: var(--white); font-weight: 600; }
.footer-contact svg { width: 34px; height: 34px; flex: 0 0 auto; padding: 8px; border-radius: 50%; background: rgb(255 255 255 / 8%); color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; }
.socials img { width: 40px; height: 40px; }
.socials svg { display: none; }
.footer-column h3 { position: relative; margin-block-end: 16px; padding-block-end: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-column h3::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--red); }
[dir="rtl"] .footer-column h3 { letter-spacing: 0; }
.footer-column div { display: grid; gap: 2px; }
.footer-column a { display: flex; align-items: center; min-height: 36px; line-height: 1.35; }
.footer-offices { padding-block: clamp(28px, 4vw, 40px); border-block-start: 1px solid rgb(255 255 255 / 10%); }
.footer-offices > h3 { margin-block-end: 16px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
[dir="rtl"] .footer-offices > h3 { letter-spacing: 0; }
.office-grid { display: grid; gap: 12px; }
.office-card { display: grid; align-content: start; gap: 8px; padding: 18px; border: 1px solid rgb(255 255 255 / 10%); border-radius: var(--radius-sm); background: rgb(255 255 255 / 4%); }
.office-card h4 { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: .95rem; }
.office-card h4 svg { width: 18px; height: 18px; flex: 0 0 auto; margin-block-start: 2px; color: var(--red); }
.office-card h4 small { display: block; margin-block-start: 2px; color: rgb(255 255 255 / 55%); font-size: .74rem; font-weight: 500; }
.office-card p { margin: 0; padding-inline-start: 28px; font-size: .8rem; line-height: 1.6; }
.office-card > a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding-inline-start: 28px; color: var(--white); font-weight: 600; }
.office-card > a svg { width: 15px; height: 15px; color: var(--gold); }
.footer-bottom { display: grid; gap: 12px; padding-block-start: 22px; border-block-start: 1px solid rgb(255 255 255 / 10%); color: rgb(255 255 255 / 50%); font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-legal a { color: rgb(255 255 255 / 72%); }
.footer-note { font-size: .72rem; line-height: 1.6; }
.footer-credit { direction: ltr; font-size: .74rem; }
.footer-credit a { color: rgb(255 255 255 / 85%); font-weight: 600; }

.to-top {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 16px;
  z-index: 1100;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), background .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hover effects only for devices with a real pointer */
@media (hover: hover) {
  .button:hover { color: var(--white); border-color: var(--red); }
  .button:hover::before { transform: scaleX(1); }
  .button.light:hover, .corporate-panel .button:hover { color: var(--white); }
  .text-link:hover { color: var(--red); }
  .text-link:hover .arrow-icon, .hero-card:hover .arrow-icon { transform: translateX(5px); }
  [dir="rtl"] .text-link:hover .arrow-icon, [dir="rtl"] .hero-card:hover .arrow-icon { transform: translateX(-5px); }
  .desktop-nav a::after, .header-text-link::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
  .desktop-nav a:hover::after, .header-text-link:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .desktop-nav a:hover, .categories-button:hover, .header-text-link:hover, .language-link:hover { color: var(--red); }
  .icon-button:hover, .menu-button:hover, .search-overlay-submit:hover, .search-overlay-close:hover { background: var(--mist); color: var(--red); }
  .to-top:hover { background: var(--red); }
  .menu-links a:hover { padding-inline-start: 28px; color: var(--red); }
  .menu-extras details a:hover, .menu-extras summary:hover { color: var(--red); }
  .course-card:hover, .news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .course-card:hover .course-image img, .news-card:hover .news-image img, .category-tile:hover img, .hero-card:hover img { transform: scale(1.06); }
  .location-tile:hover, .location-tile:focus-visible {
    transform: translateY(-4px);
    background: #f4f6f8;
    box-shadow: var(--shadow);
  }
  .course-card:hover h3 a { background-size: 100% 1px; }
  .partner-card:hover, .logo-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: var(--shadow); }
  .shelf-book:hover { transform: translateY(-6px); border-color: rgb(200 158 69 / 55%); background: rgb(255 255 255 / 10%); }
  .shelf-book:hover .shelf-cover { transform: perspective(900px) rotateY(0deg) scale(1.02); box-shadow: -6px 0 0 -2px rgb(200 158 69 / 60%), 0 24px 44px rgb(0 0 0 / 45%); }
  a.resource-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
  a.resource-tile:hover .resource-media img { transform: scale(1.05); }
  .resource-tile.is-contain:hover .resource-media img { transform: scale(1.03); }
  .feature-grid article:hover, .benefit-grid article:hover, .mode-grid article:hover, .mode-grid a:hover, .audience-grid article:hover, .solution-grid article:hover, .mentor-card:hover, .process-grid li:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
  .download-list li:hover { border-color: transparent; box-shadow: var(--shadow); }
  .link-cloud a:hover { border-color: var(--black); background: var(--black); color: var(--white); }
  .slider-arrow:hover, .rail-controls button:hover { border-color: var(--black); background: var(--black); color: var(--white); }
  .course-card:hover .course-image .card-logo img { transform: none; }
  .service-line-card:hover, .pillar-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .service-line-card:hover .service-line-tile img, .venue-card:hover img { transform: scale(1.06); }
  .mega-service-grid a:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
  .service-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .service-item-card:hover > img { transform: scale(1.22); }
  .service-item-card:hover .service-item-cta .arrow-icon { background: var(--red); transform: translateX(3px); }
  [dir="rtl"] .service-item-card:hover .service-item-cta .arrow-icon { transform: translateX(-3px); }
  .about-nav a:not([aria-current]):hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .about-nav a:hover img { opacity: 1; transform: scale(1.04); }
  .adviser-link:hover, .menu-links details a:hover, .menu-links details summary:hover { color: var(--red); }
  .footer a:hover { color: var(--white); }
  .callback-contacts a:hover { color: var(--gold); }
  .footer-column a:hover, .footer-legal a:hover, .footer-contact a:hover, .office-card > a:hover { color: var(--gold); }
  .footer-column a:hover { transform: translateX(4px); }
  [dir="rtl"] .footer-column a:hover { transform: translateX(-4px); }
  .footer .button.footer-ghost:hover { border-color: var(--white); background: var(--white); color: var(--black); }
  .footer .button.footer-ghost:hover::before { transform: none; }
  .office-card:hover { border-color: rgb(200 158 69 / 45%); background: rgb(255 255 255 / 7%); }
  .socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgb(0 0 0 / 28%); }
}

/* 480px and up */
@media (min-width: 480px) {
  :root { --gutter: 20px; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 32px) / 2.15); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 24px) / 2.35); }
  .rail { grid-auto-columns: calc((100% - 16px) / 2); }
  .location-grid { grid-template-columns: repeat(3, 1fr); }
  .button-row .button { flex: 0 0 auto; }
  .filter-button { flex: 0 0 auto; }
  .form-action { display: flex; align-items: center; }
  .form-action .button { width: auto; }
  .download-list li { grid-template-columns: auto 1fr auto; }
  .download-list li .button { grid-column: auto; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 768px and up */
@media (min-width: 768px) {
  :root { --gutter: 28px; --header-h: 76px; }
  .brand img { width: 150px; height: 44px; }
  .site-chrome.is-scrolled .header-row { min-height: 58px; }
  .site-chrome.is-scrolled .brand img { width: 128px; height: 38px; }
  .promo p { -webkit-line-clamp: 1; }
  .promo-inner { justify-content: center; }
  .basket-link { display: grid; }
  .rail-controls { display: flex; }
  .slider-arrow { display: grid; }
  .slider-arrow.prev { inset-inline-start: 12px; }
  .slider-arrow.next { inset-inline-end: 12px; }
  .menu-panel { inset-inline: auto var(--menu-right, 24px); width: 360px; }
  [dir="rtl"] .menu-panel { inset-inline: var(--menu-right, 24px) auto; }
  .function-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid, .cert-rail { grid-template-columns: repeat(3, 1fr); }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 48px) / 3.2); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 36px) / 3.4); }
  .course-grid, .news-grid, .mentor-grid, .feature-grid, .audience-grid, .solution-grid, .content-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid, .process-grid, .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf-grid { grid-auto-columns: calc((100% - 48px) / 3.3); }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .proof-grid div { border-block-end: 0; border-inline-end: 1px solid rgb(255 255 255 / 15%); }
  .category-hero ul { grid-template-columns: 1fr 1fr; }
  .programme-filters { grid-template-columns: 2fr 1fr; }
  .programme-filters.single { grid-template-columns: minmax(0, 560px); }
  .view-buttons { display: flex; }
  .search-hits { inset-block-end: auto; max-height: min(70vh, 680px); }
  .course-grid.list-view .course-card { display: grid; grid-template-columns: 260px 1fr; }
  .course-grid.list-view .course-image { aspect-ratio: auto; min-height: 200px; border-radius: var(--radius) 0 0 var(--radius); }
  [dir="rtl"] .course-grid.list-view .course-image { border-radius: 0 var(--radius) var(--radius) 0; }
  .mega-menu {
    position: fixed;
    inset: var(--menu-top, 88px) 0 0;
    z-index: 998;
    display: block;
    overflow-y: auto;
    padding-block: 24px 40px;
    background: #f1f4f6;
    animation: panel-in .28s var(--ease);
  }
  .mega-menu[hidden] { display: none; }
  .filter-backdrop { display: none !important; }
  .filter-panel { position: static; max-height: none; border-radius: 0; box-shadow: none; border-block-end: 1px solid var(--line); animation: none; }
  .filter-sheet-head, .filter-sheet-actions { display: none; }
  .filter-fields { grid-template-columns: repeat(3, 1fr); overflow: visible; }
  body.filter-open { overflow: auto; }
  .service-line-grid, .service-item-grid, .testimonial-grid, .about-list { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall, .logo-wall.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-nav ul { gap: 10px; padding-block: 18px; }
  .about-nav img { aspect-ratio: 3 / 2; }
  .about-nav span { gap: 4px; padding: 8px 6px; font-size: .74rem; }
  .logo-wall.compact li { min-height: 110px; }
  .logo-wall.compact img { height: 60px; }
  .related-course { grid-template-columns: 1fr minmax(260px, 340px); }
  .contact-quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enquiry-form { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .form-wide { grid-column: 1 / -1; }
  .two-column { grid-template-columns: 1fr auto; }
  .location-hero { min-height: 460px; }
  .corporate-panel { grid-template-columns: 1fr 1fr; }
  .footer-cta { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; gap: 12px 30px; }
  .footer-credit { grid-area: 2 / 2; justify-self: end; }
  .footer-note { grid-area: 2 / 1; }
}

/* Mobile: separate search/contact actions and a slide-in navigation drawer */
@media (max-width: 767px) {
  .basket-link { display: grid; }
  .menu-panel {
    inset: 0 auto 0 0;
    width: min(86vw, 380px);
    max-height: 100dvh;
    z-index: 1001;
    border: 0;
    border-radius: 0;
    padding: 12px 20px 24px;
    box-shadow: 0 24px 60px rgb(23 38 66 / 22%);
    animation: drawer-in .3s cubic-bezier(.2, .7, .2, 1);
  }
  [dir="rtl"] .menu-panel { inset: 0 0 0 auto; animation-name: drawer-in-rtl; }
  .menu-backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    border: 0;
    background: rgb(13 22 35 / 48%);
    backdrop-filter: blur(3px);
    animation: backdrop-in .22s ease-out;
  }
  .menu-panel[hidden] { display: none; }
  body.menu-open { overflow: hidden; }
  .menu-panel-close {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin-block-end: 8px;
    padding: 0 12px;
    border: 0;
    border-block-end: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    text-align: start;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
  }
  .menu-panel-close svg { width: 20px; height: 20px; }
  .menu-links { display: grid; gap: 2px; padding-block: 8px; }
  .menu-primary-links { display: grid; }
  .menu-extra-links { display: none; }
  .menu-links a { min-height: 52px; padding-inline: 20px; border-block-end: 0; font-size: 1rem; }
  .menu-links a[aria-current="page"] { color: var(--red); }
  .menu-extras { display: block; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
  .menu-extras details { border-block-end: 0; }
  .menu-extras details div { padding: 8px 0; }
  .menu-extras details a { min-height: 44px; font-size: .92rem; }
  .menu-language { min-height: 52px; padding-inline: 20px; }
  .menu-links details { border-block-end: 0; }
  .menu-links details > div { padding-block: 12px 0; }
  .menu-links details summary { min-height: 52px; padding-inline: 20px; font-size: .9rem; }
  .menu-links details > div a { min-height: 44px; padding-inline: 20px; font-size: .9rem; }
}
@media (max-width: 420px) {
  .header-row { gap: 4px; }
  .brand img { width: 104px; height: 32px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button, .header-actions .menu-button { width: 38px; height: 40px; }
  .language-link { min-width: 36px; padding-inline: 2px; font-size: .72rem; }
}
@keyframes drawer-in { from { transform: translateX(-100%); } }
@keyframes drawer-in-rtl { from { transform: translateX(100%); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

/* Tablet: four header items with the categories mega dropdown */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-row { gap: clamp(6px, 1vw, 12px); }
  .brand img { width: clamp(112px, 15vw, 142px); height: 42px; }
  .desktop-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 18px); margin-inline-end: 0; white-space: nowrap; }
  .desktop-nav a, .categories-button { font-size: clamp(.62rem, .8vw, .74rem); letter-spacing: .04em; }
  .categories-button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  .categories-button svg { width: 18px; height: 18px; }
  .categories-button[aria-expanded="true"] { color: var(--red); }
  .categories-button[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
  .header-actions { flex: 0 0 auto; gap: clamp(0px, .4vw, 4px); }
  .header-actions .icon-button,
  .header-actions .menu-button { width: 40px; height: 40px; }
  .header-text-link { display: none; }
  .basket-link { display: grid; place-items: center; }
  .menu-button { display: grid; }
  .mega-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .mega-grid > section:nth-child(n + 3) { padding-block-start: 22px; border-block-start: 1px solid #d5dfe3; }
  .mega-category-grid { grid-template-columns: repeat(4, 1fr); }
  .mega-service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 1024px and up */
@media (min-width: 1024px) {
  :root { --header-h: 95px; }
  .header-row { gap: 20px; }
  .brand { margin-inline-end: 0; }
  .header-row { min-height: var(--header-h); }
  .site-chrome.is-scrolled .header-row { min-height: 68px; }
  .site-chrome.is-scrolled .brand img { width: 132px; height: 40px; }
  .to-top { inset-block-end: 28px; inset-inline-end: 28px; }
  .desktop-nav { display: flex; align-items: center; gap: 22px; margin-inline-end: auto; }
  .categories-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .categories-button svg { width: 18px; height: 18px; }
  .categories-button[aria-expanded="true"] { color: var(--red); }
  .categories-button[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
  .header-actions { gap: 8px; }
  .header-text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .menu-button { display: grid; }
  .mega-menu { position: fixed; inset: var(--menu-top, 135px) 0 0; z-index: 998; display: block; overflow-y: auto; padding-block: 30px 70px; background: #f1f4f6; animation: panel-in .28s var(--ease); }
  .mega-menu[hidden] { display: none; }
  .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 70px; }
  .mega-grid > section:nth-child(2) { padding-inline-start: 50px; border-inline-start: 1px solid #d5dfe3; }
  .home-hero h1 { min-height: 2.3em; text-align: center; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 64px) / 4.22); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 60px) / 5.35); }
  .slider-arrow.prev { inset-inline-start: 16px; }
  .slider-arrow.next { inset-inline-end: 16px; }
  .rail { grid-auto-columns: calc((100% - 32px) / 3); }
  .location-tile { min-height: 220px; }
  .location-tile img { width: 160px; height: 160px; }
  .discovery { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .discovery { grid-template-columns: 1.6fr 1fr; align-items: stretch; gap: 40px; }
  .discovery > div { display: flex; flex-direction: column; }
  /* Clears the rail's bottom padding, slider dots and "View all" button so the grid ends level with the cards. */
  .discovery > div:last-child { padding-block-end: calc(22px + 46px + 18px + 48px); }
  .discovery .rail { --rail-step: 3; grid-template-rows: repeat(2, 1fr); grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; }
  .discovery .course-image { aspect-ratio: 2 / 1; }
  .discovery .card-logo { inset-block-start: 8px; inset-inline-start: 8px; min-height: 28px; padding: 3px 6px; }
  .discovery .course-image .card-logo img { max-width: 64px; height: 22px; }
  .discovery .course-card-body { padding: 10px 12px; }
  .discovery .course-card .eyebrow { margin-block-end: 4px; font-size: .58rem; }
  .discovery .card-topic svg { width: 13px; height: 13px; }
  .discovery .course-card h3 { margin-block-end: 6px; font-size: .9rem; line-height: 1.25; }
  .discovery .course-card p:not(.eyebrow, .upcoming) { display: -webkit-box; overflow: hidden; margin-block-end: 8px; font-size: .74rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .discovery .course-card .upcoming { padding-block-start: 8px; font-size: .7rem; white-space: nowrap; }
  .discovery .course-card .upcoming span { overflow: hidden; text-overflow: ellipsis; }
  .discovery .upcoming svg { width: 14px; height: 14px; }
  .discovery .section-heading { min-height: 44px; align-items: center; flex-wrap: nowrap; }
  .discovery .section-heading h2 { font-size: clamp(1.45rem, .6rem + 1.4vw, 2.1rem); white-space: nowrap; }
  .discovery .location-grid { flex: 1; grid-auto-rows: 1fr; gap: 8px; margin-block-start: 8px; }
  .discovery .location-tile { min-height: 0; padding: 12px 10px 14px; gap: 6px; }
  .discovery .location-tile img { width: 100%; height: auto; aspect-ratio: 1; }
  .discovery .location-tile span { font-size: .875rem; font-weight: 500; letter-spacing: .04em; }
  .function-grid { grid-template-columns: repeat(5, 1fr); }
  .partner-grid, .cert-rail { grid-template-columns: repeat(6, 1fr); }
  .course-grid, .mentor-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .feature-grid, .audience-grid, .solution-grid, .content-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid, .process-grid, .mode-grid { grid-template-columns: repeat(4, 1fr); }
  .mode-grid.three-up { grid-template-columns: repeat(3, 1fr); }
  .shelf-grid { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 20px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .catalogue-banner, .page-hero, .editorial-hero { min-height: 480px; }
  .category-hero-grid { grid-template-columns: 1fr 340px; gap: 70px; }
  .course-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .course-booking { position: sticky; inset-block-start: calc(var(--chrome-h, calc(var(--header-h) + 56px)) + 20px); }
  .course-split {
    --split-shell: min(var(--shell), 100% - 2 * var(--gutter));
    grid-template-columns: minmax(0, 1fr) calc(var(--split-shell) * .625 - 14px) calc(var(--split-shell) * .375 + 14px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: ". overview aside ." ". takeaways aside ." ". outline aside .";
  }
  .course-split::before { content: ""; grid-column: 3 / 5; grid-row: 1 / -1; background: var(--white); }
  .course-block { padding-inline: 0 56px; }
  .course-takeaways { padding-block-end: 0; }
  .course-aside { position: relative; padding-inline: 32px 0; background: none; }
  .service-line-grid { grid-template-columns: repeat(3, 1fr); }
  .service-item-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall, .logo-wall.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .about-nav ul { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; padding: 22px max(var(--gutter), 24px); }
  .about-nav img { aspect-ratio: 4 / 3; }
  .about-nav span { padding-inline: 4px; font-size: .66rem; }
  .mega-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .mega-grid > section { min-width: 0; }
  .mega-menu .partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-menu .partner-logo { max-width: 100%; }
  .mega-grid > section:nth-child(n + 3) { padding-block-start: 25px; border-block-start: 1px solid #d5dfe3; }
  .mega-grid > section:nth-child(4) { padding-inline-start: 50px; border-inline-start: 1px solid #d5dfe3; }
  .contact-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(42px, 6vw, 84px); }
  .contact-section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); }
  .contact-office-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .callback-inner { grid-template-columns: minmax(280px, 340px) 1fr; }
  .callback-intro { display: grid; align-content: center; }
  .enquiry-form { grid-template-columns: repeat(3, 1fr); align-content: center; }
  .footer { padding-block-end: 28px; }
  .footer-main { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
  .footer-brand { grid-column: auto; align-content: start; }
  .footer-column a { min-height: 32px; }
  .office-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 1280px and up */
@media (min-width: 1280px) {
  .header-row { gap: 40px; }
  .desktop-nav { gap: 34px; }
  .header-actions { gap: 12px; }
  .hero-rail, .hero-track { grid-auto-columns: calc((100% - 64px) / 4.28); }
  .logo-rail, .logo-rail .hero-track { grid-auto-columns: calc((100% - 72px) / 6.35); }
  .rail { grid-auto-columns: calc((100% - 48px) / 4); }
  .course-grid { grid-template-columns: repeat(4, 1fr); }
  .mentor-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1440px) {
  .about-nav span { font-size: .74rem; }
}

/* Phone landscape: keep panels usable on short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .menu-panel { max-height: calc(100dvh - var(--menu-top, 64px) - 12px); }
  .filter-panel { max-height: 95dvh; }
  .hero-card { aspect-ratio: 4 / 3; }
}

@keyframes caret { 50% { border-color: transparent; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes sheet-in { from { transform: translateY(100%); } }

.has-flipbook { overflow: hidden; }
.flipbook-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: radial-gradient(circle at 50% 40%, #22355a, #0c1528 70%); color: var(--white); }
.flipbook-dialog::backdrop { background: rgb(8 14 28 / 70%); backdrop-filter: blur(4px); }
.flipbook-dialog[open] { animation: fb-dialog-in .28s ease-out; }
.flipbook-dialog [hidden] { display: none !important; }
.fb-shell { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.fb-bar { display: flex; align-items: center; gap: 16px; padding: 10px clamp(14px, 3vw, 28px); border-block-end: 1px solid rgb(255 255 255 / 10%); }
.fb-bar h2 { flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--white); font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.fb-count { margin: 0; color: rgb(255 255 255 / 72%); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-tools { display: flex; gap: 6px; }
.fb-tool, .fb-nav { display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; background: rgb(255 255 255 / 6%); color: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.fb-tool { width: 40px; height: 40px; }
.fb-nav { width: 52px; height: 52px; }
.fb-tool:hover, .fb-nav:hover:not(:disabled), .fb-tool[aria-pressed="true"], .fb-tool[aria-expanded="true"] { border-color: var(--red); background: var(--red); }
.fb-tool:focus-visible, .fb-nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.fb-nav:disabled { opacity: .25; cursor: default; }
.fb-tool svg { width: 18px; height: 18px; }
.fb-nav svg { width: 24px; height: 24px; }
.fb-stage { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(6px, 2vw, 24px); padding: clamp(10px, 2.5vw, 28px); }
.fb-viewport { height: 100%; min-height: 0; display: grid; place-items: center; container-type: size; touch-action: pan-y; }
.fb-book { --fb-pages: 1; position: relative; display: grid; grid-template-columns: repeat(var(--fb-pages), 1fr); width: min(100cqw, calc(100cqh * var(--fb-ratio, .7) * var(--fb-pages))); aspect-ratio: calc(var(--fb-ratio, .7) * var(--fb-pages)); perspective: 2600px; user-select: none; }
.fb-book.is-spread { --fb-pages: 2; filter: drop-shadow(0 26px 40px rgb(0 0 0 / 45%)); }
.fb-page, .fb-face { position: relative; overflow: hidden; background: var(--white); cursor: pointer; }
.fb-page img, .fb-face img { width: 100%; height: 100%; display: block; object-fit: contain; pointer-events: none; }
.fb-single { box-shadow: 0 26px 50px rgb(0 0 0 / 45%); }
.fb-left { border-radius: 6px 0 0 6px; }
.fb-right { border-radius: 0 6px 6px 0; }
.fb-left::after, .fb-right::after, .fb-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.fb-left::after { background: linear-gradient(to left, rgb(0 0 0 / 22%), transparent 9%); }
.fb-right::after { background: linear-gradient(to right, rgb(0 0 0 / 22%), transparent 9%); }
.fb-page.is-blank { background: transparent; cursor: default; }
.fb-page.is-blank::after { display: none; }
.fb-leaf { position: absolute; inset-block: 0; width: 50%; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.45, .05, .3, 1); z-index: 2; }
.fb-leaf.is-next { left: 50%; transform-origin: left center; }
.fb-leaf.is-prev { left: 0; transform-origin: right center; }
.fb-leaf.is-next.is-turning { transform: rotateY(-180deg); }
.fb-leaf.is-prev.is-turning { transform: rotateY(180deg); }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; }
.fb-back { transform: rotateY(180deg); }
.fb-face::after { background: linear-gradient(to right, rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)); transition: background .65s; }
.fb-leaf.is-turning .fb-front::after { background: linear-gradient(to right, rgb(0 0 0 / 30%), rgb(0 0 0 / 5%)); }
.fb-book.is-leaving-next { animation: fb-out-next .32s ease-in forwards; }
.fb-book.is-leaving-prev { animation: fb-out-prev .32s ease-in forwards; }
.fb-book.is-entering-next { animation: fb-in-next .32s ease-out; }
.fb-book.is-entering-prev { animation: fb-in-prev .32s ease-out; }
.is-zoomed .fb-viewport { display: block; overflow: auto; touch-action: auto; }
.is-zoomed .fb-book { width: calc(100cqw * 1.8); margin-inline: auto; cursor: grab; }
.is-zoomed .fb-page { cursor: grab; }
.fb-foot { padding: 0 clamp(14px, 3vw, 28px) 14px; }
.fb-range { width: 100%; accent-color: var(--red); }
.fb-thumbs { position: absolute; inset: 61px 0 0; z-index: 3; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); align-content: start; gap: 16px; padding: clamp(16px, 3vw, 32px); overflow: auto; background: rgb(12 21 40 / 97%); }
.fb-thumbs button { display: grid; gap: 6px; padding: 4px; border: 2px solid transparent; border-radius: var(--radius-sm); background: none; color: rgb(255 255 255 / 75%); cursor: pointer; font-size: .74rem; }
.fb-thumbs button:hover, .fb-thumbs button[aria-current] { border-color: var(--red); color: var(--white); }
.fb-thumbs img { width: 100%; height: auto; border-radius: 4px; background: var(--white); }
.fb-embed { position: relative; z-index: 1; grid-area: 2 / 1; width: 100%; height: 100%; border: 0; background: transparent; }
.is-embed .fb-shell::before { content: ""; grid-area: 2 / 1; place-self: center; width: 44px; height: 44px; border: 3px solid rgb(255 255 255 / 20%); border-block-start-color: var(--red); border-radius: 50%; animation: fb-spin .9s linear infinite; }
.is-embed .fb-stage, .is-embed .fb-foot, .is-embed [data-fb="thumbs"], .is-embed [data-fb="zoom"] { display: none; }
@media (max-width: 640px) {
  .fb-bar { flex-wrap: wrap; gap: 6px 12px; }
  .fb-bar h2 { flex-basis: calc(100% - 60px); order: 1; }
  .fb-count { order: 3; flex: 1; }
  .fb-tools { order: 2; }
  .fb-tools .fb-tool:not([data-fb="close"]) { order: 1; }
  .fb-stage { grid-template-columns: minmax(0, 1fr); }
  .fb-nav { position: absolute; inset-block-end: 54px; z-index: 2; width: 44px; height: 44px; background: rgb(12 21 40 / 70%); }
  .fb-prev { inset-inline-start: 14px; }
  .fb-next { inset-inline-end: 14px; }
  .fb-thumbs { inset-block-start: 96px; }
}
@keyframes fb-spin { to { transform: rotate(360deg); } }
@keyframes fb-dialog-in { from { opacity: 0; transform: scale(.98); } }
@keyframes fb-out-next { to { opacity: 0; transform: translateX(-8%); } }
@keyframes fb-out-prev { to { opacity: 0; transform: translateX(8%); } }
@keyframes fb-in-next { from { opacity: 0; transform: translateX(8%); } }
@keyframes fb-in-prev { from { opacity: 0; transform: translateX(-8%); } }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 32px 24px; align-items: stretch; }
.portfolio-book { display: flex; flex-direction: column; height: 100%; gap: 14px; }
.portfolio-cover { position: relative; display: block; aspect-ratio: 520 / 735; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: 0 20px 40px -24px rgb(23 38 66 / 55%); }
.portfolio-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.portfolio-cover.is-landscape img { object-fit: contain; padding: 14px; }
.portfolio-open { position: absolute; inset: auto 12px 12px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; background: rgb(255 255 255 / 95%); color: var(--navy); font-size: .82rem; font-weight: 800; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.portfolio-open svg { width: 18px; height: 18px; color: var(--red); }
.portfolio-cover:hover img, .portfolio-cover:focus-visible img { transform: scale(1.04); }
.portfolio-cover:hover .portfolio-open, .portfolio-cover:focus-visible .portfolio-open { opacity: 1; transform: none; }
@media (hover: none) { .portfolio-open { opacity: 1; transform: none; } }
.portfolio-copy { display: flex; flex: 1; flex-direction: column; }
.portfolio-copy h3 { margin: 0 0 6px; font-size: 1.02rem; line-height: 1.3; }
.portfolio-copy p { margin: 0; color: var(--muted); font-size: .86rem; }
.portfolio-copy .portfolio-meta { display: flex; align-items: center; gap: 6px; margin-block-start: auto; padding-block-start: 10px; font-size: .78rem; }
.portfolio-meta svg { width: 15px; height: 15px; color: var(--red); }
.portfolio-copy .text-link { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 10px; }
.portfolio-copy .text-link svg { width: 16px; height: 16px; }
.portfolio-video { display: grid; align-items: center; gap: 28px; }
.portfolio-video video { width: 100%; height: auto; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.portfolio-video p { color: var(--muted); }
.brochure-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); align-items: start; gap: 20px; }
.brochure-group { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.brochure-group h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.05rem; }
.brochure-group h3 svg { width: 20px; height: 20px; color: var(--red); }
.brochure-group ul { display: grid; padding: 0; margin: 0; list-style: none; }
.brochure-group li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--line); }
.brochure-course { font-size: .88rem; font-weight: 600; text-decoration: none; }
.brochure-course:hover { color: var(--red); }
.brochure-file { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: .74rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.brochure-file:hover { background: var(--red); color: var(--white); }
.brochure-file svg { width: 14px; height: 14px; }
@media (min-width: 900px) { .portfolio-video { grid-template-columns: .8fr 1.2fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-grid button { display: block; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--mist); cursor: zoom-in; }
.photo-grid img { width: 100%; height: 190px; display: block; object-fit: cover; transition: transform .35s ease; }
.photo-grid button:hover img, .photo-grid button:focus-visible img { transform: scale(1.05); }
.photo-dialog { width: min(1100px, calc(100vw - 32px)); max-width: none; height: min(88dvh, 860px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: #0c1528; color: var(--white); overflow: hidden; }
.photo-dialog::backdrop { background: rgb(8 14 28 / 72%); }
.photo-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.photo-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.photo-bar p { flex: 1; margin: 0; font-size: .85rem; font-variant-numeric: tabular-nums; }
.photo-stage { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 10px 14px; }
.photo-stage img { width: 100%; height: 100%; max-height: calc(88dvh - 90px); object-fit: contain; }
.photo-dialog .fb-nav { background: rgb(255 255 255 / 8%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .typing { border: 0; }
}
