/* =========================================================
   TRISTAR — Blue + White editorial system
   Brand colors front-and-center, paper-clean surfaces
   Built on the Movemint visual identity v3.0
   ========================================================= */

/* Single-family Inter — matches Tristar Academy. Bold + clean + professional. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors — front and center */
  --tristar-blue:  #0066FF;
  --tristar-blue-deep: #0052cc;
  --navy-depth:    #000066;
  --navy-deeper:   #00004d;
  --vivid-yellow:  #fcee21;
  --classic-black: #000000;
  --pure-white:    #FFFFFF;

  /* Surface palette — white forward, soft blue tint for alt */
  --paper:        #ffffff;            /* clean white — main bg */
  --paper-2:      #f4f7ff;            /* light blue tint for alt sections */
  --paper-3:      #eaf0ff;            /* slightly deeper blue tint */
  --ink:          #0a1024;            /* near-black with blue undertone */
  --ink-soft:     #2a3046;
  --muted:        #5a6280;            /* cool gray for secondary copy */
  --muted-2:      #8a92a8;
  --rule:         rgba(0, 32, 102, 0.12);
  --rule-strong:  rgba(0, 32, 102, 0.28);

  --accent:        var(--tristar-blue);
  --accent-deep:   var(--navy-depth);
  --accent-yellow: var(--vivid-yellow);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --container: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
/* Root font-size reduced 93.75% (15px) to scale ALL rem values site-wide ~6% smaller.
   Combined with body 1rem, this pulls body copy down from 17px → 15px (~12% smaller). */
html { scroll-behavior: smooth; font-size: 93.75%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a.link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.link:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* Global horizontal-overflow guard — prevents hero/page-header content bleeding past viewport on narrow mobile. */
html, body { overflow-x: hidden; max-width: 100vw; }
body { word-wrap: break-word; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .hero__inner { display: block; }
  .hero__meta { margin-top: 32px; }
  h1, h2 { hyphens: auto; }
}

/* Display typography — Inter sans-serif headlines (bold + clean, matches Tristar Academy). */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1em; max-width: 64ch; }

.serif { font-family: 'Inter', system-ui, sans-serif; }   /* kept for compat — now all Inter */
.sans  { font-family: 'Inter', system-ui, sans-serif; }

/* Photo slots — branded gradient + centered star until real photography is shot. */
.photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001a66 0%, #0066FF 45%, #4d94ff 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo--landscape { aspect-ratio: 16 / 9; min-height: 320px; }
.photo--portrait  { aspect-ratio: 3 / 4;  min-height: 420px; }
.photo::after {
  /* Subtle paper-grain pattern overlay using radial dots. */
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 1;
}
.photo__star {
  position: relative;
  z-index: 2;
  width: clamp(56px, 8vw, 96px);
  height: clamp(56px, 8vw, 96px);
  background-color: var(--vivid-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.25));
}
/* Hide the legacy caption notes — internal-only photography brief. */
.photo__caption { display: none !important; }

/* Themed scene illustrations — SVG art replaces the plain gradient on themed slots. */
.photo--industrial,
.photo--refinery,
.photo--training,
.photo--hse,
.photo--cairo,
.photo--engineering,
.photo--case-greenfield,
.photo--case-nationalisation,
.photo--case-graduate,
.photo--case-hse { background: #001a66 center / cover no-repeat; }
/* Hero scenes — real photographs (Unsplash, free licence). Replaces the prior SVG illustrations 2026-06-08. */
.photo--industrial  { background-image: url('../assets/photos/hero-industrial.jpg'); }
.photo--refinery    { background-image: url('../assets/photos/hero-refinery.jpg'); }
.photo--training    { background-image: url('../assets/photos/hero-training.jpg'); }
.photo--hse         { background-image: url('../assets/photos/case-hse.jpg'); }
.photo--cairo       { background-image: url('../assets/photos/hero-cairo.jpg'); }
.photo--engineering { background-image: url('../assets/photos/hero-engineering.jpg'); }
/* Real photographs for Work-page case studies (Unsplash, free licence) */
.photo--case-greenfield     { background-image: url('../assets/photos/case-greenfield.jpg'); }
.photo--case-nationalisation { background-image: url('../assets/photos/case-nationalisation.jpg'); }
.photo--case-graduate       { background-image: url('../assets/photos/case-graduate.jpg'); }
.photo--case-hse            { background-image: url('../assets/photos/case-hse.jpg'); }
/* When a themed scene is present, hide the generic centered star + dot overlay. */
.photo--industrial::after, .photo--refinery::after, .photo--training::after,
.photo--hse::after, .photo--cairo::after, .photo--engineering::after,
.photo--case-greenfield::after, .photo--case-nationalisation::after,
.photo--case-graduate::after, .photo--case-hse::after { display: none; }
.photo--industrial .photo__star, .photo--refinery .photo__star, .photo--training .photo__star,
.photo--hse .photo__star, .photo--cairo .photo__star, .photo--engineering .photo__star,
.photo--case-greenfield .photo__star, .photo--case-nationalisation .photo__star,
.photo--case-graduate .photo__star, .photo--case-hse .photo__star { display: none; }
.italic { font-style: italic; }
.italic-blue { font-style: italic; color: var(--accent); }

/* Eyebrow — brand-blue marker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* Layout */
.container         { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section           { padding: clamp(72px, 9vw, 130px) 0; }
.section--tight    { padding: clamp(48px, 6vw, 80px) 0; }

/* Surface variations */
.section--paper    { background: var(--paper); }
.section--paper-2  { background: var(--paper-2); }
.section--paper-3  { background: var(--paper-3); }
.section--navy     { background: var(--navy-depth); color: var(--paper); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--paper); }
.section--navy h1 em, .section--navy h2 em, .section--navy h3 em { color: var(--vivid-yellow); }
.section--navy .eyebrow { color: var(--vivid-yellow); }
.section--navy .eyebrow::before { background: var(--vivid-yellow); }
.section--navy .muted { color: rgba(255, 255, 255, 0.7); }
.section--navy .client-row .client { color: rgba(255, 255, 255, 0.6); }
.section--navy .client-row .client:hover { color: var(--vivid-yellow); opacity: 1; }
.section--navy .pullquote { color: var(--paper); }
.section--navy .pullquote em { color: var(--vivid-yellow); }
.section--navy .pullquote cite { color: var(--vivid-yellow); }
.section--blue     { background: var(--accent); color: var(--paper); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--paper); }
.section--blue h1 em, .section--blue h2 em { color: var(--vivid-yellow); }
.section--blue .eyebrow { color: var(--vivid-yellow); }
.section--blue .eyebrow::before { background: var(--vivid-yellow); }

.divider { height: 1px; background: var(--rule); width: 100%; }

/* Grid */
.grid    { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--editorial { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
@media (max-width: 880px) { .grid--editorial { grid-template-columns: 1fr; gap: 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn--primary { background: var(--accent); color: var(--paper); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--navy { background: var(--navy-depth); color: var(--paper); }
.btn--navy:hover { background: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: var(--vivid-yellow); color: var(--vivid-yellow); }
.btn--yellow { background: var(--vivid-yellow); color: var(--navy-depth); }
.btn--yellow:hover { background: var(--paper); }
.btn--text { background: transparent; padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--ink); color: var(--ink); }
.btn--text:hover { border-bottom-color: var(--accent); color: var(--accent); }
.btn .arrow { display: inline-block; transition: transform 0.2s ease; font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }

/* Accessibility — skip-to-content link + global focus ring */
.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--vivid-yellow); outline-offset: 2px; }
:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 2px;
    border-radius: 2px;
    /* Navy backing ring lifts the yellow above 3:1 non-text contrast on any background (WCAG 2.4.7 + 1.4.11). */
    box-shadow: 0 0 0 5px var(--navy-depth);
}
/* Respect reduced-motion preferences globally. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
/* Reset focus-visible for elements that have their own focus styling */
.btn:focus-visible,
.filter-btn:focus-visible,
.whatsapp-fab:focus-visible {
    outline-offset: 3px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  /* Use longhand for vertical padding so we don't zero out the container's
     horizontal gutter — that's what caused the logo to sit flush-left
     instead of aligning with the hero content (CPO fix 2026-06-08). */
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 64px; width: auto; }
@media (max-width: 980px) {
  .brand img { height: 48px; }
}
@media (max-width: 600px) {
  .brand img { height: 40px; }
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--accent);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }
@media (max-width: 980px) {
  .nav, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--rule);
    align-items: stretch;
    gap: 16px;
  }
}

/* Hero — white background with blue accents */
.hero {
  position: relative;
  background: var(--paper);
  /* Top padding lifted closer to the header (was clamp(72,11vw,160) — too low). */
  padding: clamp(32px, 4vw, 64px) 0 clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

/* 25-years badge — sits in the footer next to the logo as a verifier mark. */
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.site-footer__brand img:first-child { max-height: 44px; width: auto; }
.footer-badge {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}
@media (max-width: 600px) {
  .footer-badge { width: 72px; height: 72px; }
  .site-footer__brand img:first-child { max-height: 36px; }
}
/* subtle blue corner accent — brand presence without being a wall */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { color: var(--ink); margin-bottom: 28px; }
.hero p.lede {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  max-width: 540px;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.55;
}
.hero p.lede strong { color: var(--accent); font-weight: 600; }
.hero__meta {
  display: grid; gap: 0;
  border-top: 2px solid var(--accent);
}
.hero__meta-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}
.hero__meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero__meta-value { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.hero__meta-value strong { font-weight: 700; }

/* Page header (about/courses/contact) — smaller hero */
.page-header {
  background: var(--paper);
  /* Top padding lifted closer to the header (was clamp(64,9vw,130) — too low). */
  padding: clamp(28px, 3vw, 48px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: visible;  /* allow heritage badge to escape if rotated/lifted */
}
.page-header::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.07) 0, transparent 65%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header__lede {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--muted);
  max-width: 720px;
  margin-top: 20px;
}

/* Star motif */
.star-mark {
  display: inline-block;
  width: 1em; height: 1em;
  background: var(--accent-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  vertical-align: middle;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }
.card__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Stats — large editorial numerals */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding-top: 20px; border-top: 2px solid var(--vivid-yellow); }
.section--paper .stat { border-top-color: var(--accent); }
.stat__num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.03em;
}
.section--paper .stat__num { color: var(--accent); }
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}
.section--paper .stat__label { color: var(--muted); }

/* Client list */
.client-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 64px);
}
.client-row .client {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.client-row .client:hover { opacity: 1; color: var(--accent); }

/* Anonymised stats bar — replaces the named-client trust bar on Home */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
}
.stats-row .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 0;
}
.stats-row .stat__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--vivid-yellow);
  line-height: 1;
}
.stats-row .stat__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  opacity: 0.85;
}
@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* Industries roster — horizontal chip strip at top of industries page */
.industries-roster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.industries-roster__chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  background: var(--paper);
  transition: all 0.15s ease;
  text-decoration: none;
}
.industries-roster__chip:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
/* Mobile: horizontal scroll-snap so chips stay on one line instead of wrapping to 3 rows */
@media (max-width: 720px) {
  .industries-roster {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 12px;
    margin: 0 -16px;
    scrollbar-width: thin;
  }
  .industries-roster__chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .industries-roster::-webkit-scrollbar { height: 4px; }
  .industries-roster::-webkit-scrollbar-track { background: var(--paper-2); }
  .industries-roster::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
}

/* Discipline index — polished editorial cards (replaces the 'All' programmes scroll) */
.discipline-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.discipline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
  min-height: 220px;
}
.discipline-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 60%, rgba(0, 102, 255, 0.04) 100%);
  pointer-events: none;
  transition: opacity 0.2s ease;
  opacity: 0;
}
.discipline-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 102, 255, 0.10);
}
.discipline-card:hover::after { opacity: 1; }

.discipline-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--paper-3);
  margin: 0;
  padding: 0;
}
.discipline-card:hover .discipline-card__num { color: var(--accent); opacity: 0.45; }

.discipline-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.018em;
  margin: 0 0 14px 0;
  padding-right: 60px;
  line-height: 1.22;
  color: var(--ink);
}
.discipline-card__count {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 102, 255, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin: 0 0 18px 0;
  align-self: flex-start;
}
.discipline-card__blurb {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px 0;
  flex: 1;
}
.discipline-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  transition: gap 0.2s ease;
}
.discipline-card:hover .discipline-card__arrow { gap: 12px; }

@media (max-width: 980px) {
  .discipline-index { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .discipline-card { padding: 24px 22px 22px; min-height: auto; }
  .discipline-card__title { font-size: 1.18rem; padding-right: 50px; }
}
@media (max-width: 600px) {
  .discipline-index { grid-template-columns: 1fr; }
}

/* Where We Work — editorial copy left, MENA map right, legend strip below.
   Designed by CPO 2026-06-08 (replaces the broken right-shifted .map-card layout). */
.region-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 32px;
}
.region-grid__copy h2 { margin-bottom: 18px; }
.region-grid__map { display: flex; justify-content: center; align-items: center; }
.region-grid__map-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 640px;
  filter: drop-shadow(0 8px 24px rgba(0, 32, 102, 0.10));
}
@media (max-width: 980px) {
  .region-grid { grid-template-columns: 1fr; gap: 32px; }
  .region-grid__map-img { max-width: 560px; margin: 0 auto; }
}

/* Country chip strip below the map */
.region-legend {
  padding: 22px 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.region-legend__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 14px 0;
}
.region-legend__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}
.region-legend__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .region-legend { padding: 18px 16px; }
}

/* Tag */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--filled { background: var(--accent); color: var(--paper); }
.tag--yellow { background: var(--vivid-yellow); color: var(--navy-depth); border-color: var(--vivid-yellow); }
.tag--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }

/* Section title */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { display: inline-flex; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Track / pricing card */
.track {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.track:hover { border-color: var(--accent); transform: translateY(-3px); }
.track--featured {
  background: var(--navy-depth);
  color: var(--paper);
  border-color: var(--navy-depth);
}
.track--featured h3 { color: var(--paper); }
.track__tag {
  position: absolute; top: -14px; left: 36px;
  background: var(--vivid-yellow); color: var(--navy-depth);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; letter-spacing: 0.12em;
  font-size: 0.72rem; padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.track h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; font-size: 1.7rem; margin: 14px 0 6px; letter-spacing: -0.02em; }
.track p.subtitle { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.track--featured p.subtitle { color: rgba(255, 255, 255, 0.7); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price__amt {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.track--featured .price__amt { color: var(--vivid-yellow); }
.price__cur { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.track--featured .price__cur { color: rgba(255, 255, 255, 0.6); }
.price__sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.track--featured .price__sub { color: rgba(255, 255, 255, 0.65); }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
.feature-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.track--featured .feature-list li { border-bottom-color: rgba(255,255,255,0.12); color: rgba(255, 255, 255, 0.85); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
}
.track--featured .feature-list li::before { background: var(--vivid-yellow); }

/* Timeline */
.timeline { position: relative; }
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.timeline__item:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 720px) { .timeline__item { grid-template-columns: 1fr; gap: 8px; } }
.timeline__year {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.timeline__title { font-size: 1.25rem; margin: 0 0 8px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.timeline__item p { color: var(--muted); margin: 0; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  text-align: left;
  background: var(--paper);
  transition: background 0.2s ease;
}
.pillar:hover { background: var(--paper-2); }
.pillar:last-child { border-right: 0; }
@media (max-width: 880px) {
  .pillar:nth-child(even) { border-right: 0; }
  .pillar:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
.pillar__star {
  width: 28px; height: 28px;
  background: var(--vivid-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  margin-bottom: 14px;
}
.pillar__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar h4 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; font-family: 'Inter', system-ui, sans-serif; color: var(--ink); }
.pillar p { color: var(--muted); margin: 0; font-size: 0.9rem; }

/* Pull quote */
.pullquote {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 920px;
  margin: 0;
}
.pullquote em { font-style: italic; color: var(--accent); }
.pullquote cite {
  display: block;
  margin-top: 28px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Form */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  background: transparent;
}
details summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  letter-spacing: -0.015em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
details[open] summary::after { content: '–'; }
details > p { margin-top: 14px; color: var(--muted); font-size: 0.97rem; max-width: 70ch; }

/* Office card */
.office {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-top: 3px solid var(--accent);
}
.office h3 {
  margin-bottom: 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.office__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  align-items: baseline;
}
.office__row:first-of-type { border-top: 0; padding-top: 0; }
.office__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
}

/* Course category card */
.cat {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: var(--ink);
}
.cat:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.4;
}
.cat h3 { font-size: 1.15rem; margin: 0 0 4px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.cat p { font-size: 0.9rem; margin: 0; color: var(--muted); }
.cat--feature {
  background: var(--navy-depth);
  color: var(--paper);
  border-color: var(--navy-depth);
}
.cat--feature h3 { color: var(--paper); }
.cat--feature p { color: rgba(255,255,255,0.75); }
.cat--feature .cat__num { color: var(--vivid-yellow); opacity: 0.7; }
.cat--feature .badge-cips {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vivid-yellow); color: var(--navy-depth);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; letter-spacing: 0.12em;
  font-size: 0.7rem; padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Two-column editorial */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 880px) { .cols-2 { grid-template-columns: 1fr; gap: 32px; } }

/* Footer — navy depth, brand-forward */
.site-footer {
  background: var(--navy-depth);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0, transparent 65%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--vivid-yellow);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; font-size: 0.93rem; color: rgba(255,255,255,0.75); }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--vivid-yellow); }
.site-footer__about img { height: 32px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__about p { color: rgba(255,255,255,0.7); font-size: 0.93rem; max-width: 38ch; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* CTA banner — brand blue */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-banner h2 { color: var(--paper); margin: 0 0 12px; }
.cta-banner h2 em { color: var(--vivid-yellow); }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; max-width: 56ch; }
.cta-banner::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: var(--vivid-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  opacity: 0.14;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
@media (max-width: 720px) { .cta-banner { grid-template-columns: 1fr; gap: 24px; } }

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare thead th {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 2px solid var(--accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare thead th.featured { color: var(--accent); }
.compare tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.compare tbody td.check { color: var(--accent); font-weight: 700; }
.compare tbody td.dash { color: var(--muted-2); }
.compare tbody td.featured { background: var(--paper-2); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.muted       { color: var(--muted); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-48 { margin-top: 48px; }

.accent-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 24px;
}

/* =====================================================
   PHOTO SLOTS — legacy block removed 2026-06-07.
   New .photo rules live near top of file (after .sans).
   ===================================================== */

/* =====================================================
   CASE STUDIES (Work)
   ===================================================== */
/* Case study layout — text-only after 2026-06-08 photo removal.
   Single-column card, centered, max-width for readability. */
.case {
  display: block;
  max-width: 880px;
  margin: 0 auto 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  position: relative;
}
.case--reverse {}  /* alternating layout no longer applies — single column */
@media (max-width: 720px) { .case { padding: 28px 22px; } }
.case__meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.case__meta span { display: inline-flex; }
.case__meta span + span::before { content: '·'; color: var(--rule-strong); margin-right: 16px; }
.case__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 18px; }
.case__body p { color: var(--muted); margin-bottom: 14px; }
.case__body strong { color: var(--ink); font-weight: 600; }
.case__results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 24px 0;
}
.case__result {
  padding: 16px;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}
.case__result-num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case__result-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Featured work strip on homepage */
/* Featured Work strip on Home — text-only cards, polished editorial treatment (CPO 2026-06-08).
   4 cards in a 2x2 grid (was 3-col wrap), bigger number badges, decorative top accent. */
.work-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .work-strip { grid-template-columns: 1fr; } }
.work-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  text-decoration: none;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  gap: 6px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0.35);
  transition: transform 0.3s ease;
}
.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
.work-card:hover::before { transform: scaleX(1); }
.work-card__client {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0;
  align-self: center;
}
.work-card__num {
  grid-column: 2;
  grid-row: 1;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--paper-3);
  line-height: 1;
  letter-spacing: -0.03em;
  align-self: center;
}
.work-card__title {
  grid-column: 1 / -1;
  grid-row: 2;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.018em;
  line-height: 1.32;
  margin: 10px 0 0;
  color: var(--ink);
}
.work-card__title em {
  color: var(--accent);
  font-style: italic;
}

/* =====================================================
   INDUSTRY SECTOR cards
   ===================================================== */
.sector {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
  transition: border-color 0.2s ease;
}
.sector:hover { border-color: var(--accent); }
.sector + .sector { margin-top: 24px; }
/* Alternate sector backgrounds for visual rhythm (CPO Wave 2 M5, 2026-06-08) */
.sector:nth-of-type(even) { background: var(--paper-2); }
.sector:nth-of-type(even) .sector__icon { filter: drop-shadow(0 2px 6px rgba(0, 102, 255, 0.08)); }
@media (max-width: 880px) { .sector { grid-template-columns: 1fr; gap: 24px; } }
.sector__head h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.sector__head .num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}
.sector__head .tag { margin-top: 0 !important; margin-bottom: 14px; }
.sector__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  padding: 8px;
  background: rgba(0, 102, 255, 0.06);
  border-radius: 12px;
}

/* Narrow-width polish (320–480px) — prevents tight text from clipping. */
@media (max-width: 480px) {
  .container { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 7vw, 2rem); }
  .page-header__lede, .lede { font-size: 0.98rem; }
  .heritage-badge { width: 76px; top: 10px; right: 10px; }
  .hero, .page-header { padding-top: 22px; }
  .eyebrow { font-size: 0.7rem; }
}
@media (max-width: 360px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .heritage-badge { width: 68px; }
}
.sector__head p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.sector__progs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .sector__progs { grid-template-columns: 1fr; } }
.sector__prog {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft);
}
.sector__prog:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
.sector__prog:nth-child(even) { padding-left: 16px; }
@media (max-width: 600px) { .sector__prog { padding: 14px 0 !important; border-right: 0 !important; } }
.sector__prog::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  flex-shrink: 0;
}
.sector__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  text-decoration: none;
}
.sector__cta:hover { color: var(--navy-depth); border-bottom-color: var(--navy-depth); }

/* =====================================================
   CASE QUOTE SLOT — on Work case studies (PLAN_WAVE1.md W1S4.4)
   ===================================================== */
.case__quote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--paper-2);
    border-left: 3px solid var(--vivid-yellow);
    border-radius: var(--radius-md);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.45;
    color: var(--ink);
}
.case__quote-author {
    display: block;
    margin-top: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

/* =====================================================
   FILTER BAR — used on Programmes + Work pages
   Replaces the older anchor-link filter (PLAN_WAVE1.md W1S4.2)
   ===================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.filter-bar__label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
    margin-right: 12px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--rule-strong);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active {
    background: var(--accent);
    color: var(--paper);
    border-color: var(--accent);
}
.filter-btn:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 2px;
}

/* =====================================================
   BESPOKE — process steps (Discovery → Design → Deliver)
   Per PLAN_WAVE1.md W1S3.4
   ===================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}
@media (max-width: 720px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 36px;
    border-top: 3px solid var(--accent);
    counter-increment: step;
    position: relative;
}
.process-step::before { display: none; }  /* replaced by explicit .process-step__num + icon */
.process-step__num {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--paper-3);
    letter-spacing: -0.02em;
    line-height: 1;
}
.process-step__icon {
    display: block;
    margin-bottom: 18px;
}
.process-step h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}
.process-step p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   CIPS LEVELS GRID — 5 levels presented as cards
   Per PLAN_WAVE1.md W1S3.2 (CIPS rebuild)
   ===================================================== */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.level-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 26px;
    border-top: 3px solid var(--accent);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.level-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.level-card__num {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}
.level-card__title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.level-card__qual {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
    line-height: 1.4;
}
.level-card__audience {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* =====================================================
   CIPS DELIVERY MODES — 3 modes presented as cards
   ===================================================== */
.delivery-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.mode-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 32px;
    border-left: 3px solid var(--vivid-yellow);
    display: flex;
    flex-direction: column;
}
.mode-card__icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
            mask: url('../assets/star.svg') no-repeat center / contain;
    margin-bottom: 18px;
}
.mode-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}
.mode-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.mode-card__cta {
    margin-top: auto;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    text-decoration: none;
    align-self: flex-start;
}
.mode-card__cta:hover { color: var(--navy-depth); border-bottom-color: var(--navy-depth); }

/* =====================================================
   WHATSAPP FLOATING ACTION BUTTON — site-wide
   CEO's primary action channel (PLAN_WAVE1.md W1S2.5)
   ===================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-pill);
    background: #25D366;
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.whatsapp-fab:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 3px;
}
.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.whatsapp-fab__label {
    position: absolute;
    right: 70px;
    background: var(--ink);
    color: var(--paper);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-fab:hover .whatsapp-fab__label,
.whatsapp-fab:focus-visible .whatsapp-fab__label {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 600px) {
    .whatsapp-fab__label { display: none; }
    .whatsapp-fab { bottom: 16px; right: 16px; }
}

/* Contact page hero — quick contact CTAs sit under the lede so visitors don't have to scroll for an action */
.contact-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.contact-quick .btn { font-size: 0.95rem; }
@media (max-width: 600px) {
    .contact-quick { flex-direction: column; gap: 10px; }
    .contact-quick .btn { width: 100%; justify-content: center; }
}

/* Scroll-to-top floating button (sits above WhatsApp FAB).
   Appears after the user scrolls down 400px (JS-toggled .is-visible class). */
.scroll-top-fab {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}
.scroll-top-fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top-fab:hover { background: var(--accent); transform: translateY(-2px); }
.scroll-top-fab:focus-visible { outline: 3px solid var(--vivid-yellow); outline-offset: 3px; }
.scroll-top-fab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .scroll-top-fab { bottom: 80px; right: 16px; width: 44px; height: 44px; } }
