/* ==========================================================================
   AIAI+E design system

   Civic-portal layout: a boxed header over a full-screen photo hero, white
   icon boxes riding over the hero's bottom edge, Quicksand headlines with a
   two-dash divider under them, pill buttons, and full-bleed photo panels.
   Two colours, both sampled from the logo: the deep royal blue of the
   lettering leads (buttons, links, icons, the blue bands), and the gold of
   the Africa outline marks the details — the short dash of every divider,
   category tags, and anything that has to read on the dark navy.

   Loaded with fonts.css (Quicksand, Nunito) and icons.css (the Font
   Awesome subset). Outline pictograms are inline SVGs — see
   components/line-icon.blade.php.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Brand, sampled from images/logo.png */
  --primary: #0B1D9E;          /* the deep blue of the lettering */
  --primary-ink: #081477;      /* hover / pressed */
  --accent: #E8962F;           /* the gold of the Africa outline */
  --accent-ink: #C97A16;

  /* Surfaces. The logo's shadowed indigo takes the near-black role, so the
     dark panels read as the same family as the lettering. */
  --ink: #090B40;
  --ink-2: #15185A;
  --ink-deep: #050626;
  --paper: #F5F5FA;
  --white: #FFFFFF;

  /* Text */
  --heading: #0D1040;
  --text: #5E6176;
  --muted: #8B8EA3;
  --on-ink: #FFFFFF;
  --on-ink-2: #B9BCD6;

  --line: #E6E7F0;
  --line-ink: rgba(255, 255, 255, 0.14);

  --shadow: 0 10px 40px -8px rgba(9, 11, 64, 0.12);
  --shadow-lg: 0 24px 56px -14px rgba(9, 11, 64, 0.22);

  /* Metrics */
  --container: 1170px;
  --container-wide: 1320px;
  --container-xl: 1380px;
  --gutter: 20px;
  --pad-y: clamp(70px, 9vw, 120px);
  --head-h: 76px;

  --font-head: 'Quicksand', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Mrs Saint Delafield', cursive;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 1199px) { :root { --head-h: 64px; } }

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.875;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.4;
  color: var(--heading);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
iframe { border: 0; display: block; }
figure { margin: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.band--ink :focus-visible, .on-dark :focus-visible { outline-color: #fff; }

::selection { background: var(--primary); color: #fff; }

.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;
}
.sr-only:focus {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 10px 18px; background: var(--white); color: var(--heading);
}

[hidden] { display: none !important; }

.licon { width: 1em; height: 1em; flex: none; }

/* ---- Layout primitives -------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--xl { max-width: calc(var(--container-xl) + var(--gutter) * 2); }

/* flow-root keeps a child's margin inside its band — the boxes that ride
   up over a hero rely on their negative margin not collapsing through. */
.band { position: relative; display: flow-root; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--on-ink-2); }
.band--ink h1, .band--ink h2, .band--ink h3, .band--ink h4 { color: #fff; }

.section { padding-block: var(--pad-y); }
.section--flush-t { padding-top: 0; }
.section--flush-b { padding-bottom: 0; }

/* ---- Type -------------------------------------------------------------- */
.title-xl { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.3; }
.title-lg { font-size: clamp(28px, 3vw, 36px); line-height: 1.55; }
.title-md { font-size: clamp(22px, 2vw, 26px); line-height: 1.45; }
.title-sm { font-size: 20px; line-height: 1.5; }

/* A headline may carry an inline <span> for an accented word. */
.title-xl span, .title-lg span { color: var(--primary); }

.lede { font-size: 18px; line-height: 1.8; }
.muted { color: var(--muted); }
.measure { max-width: 62ch; }
.text-center { text-align: center; }

/* The two-dash rule under every section title: a long dash and a short one.
   One element, drawn with a gradient, so it can be centred or recoloured
   without extra markup. */
.divider {
  --divider-color: var(--accent);
  --divider-dot: var(--primary);
  display: block;
  width: 58px; height: 3px;
  margin: 22px 0 28px;
  background: linear-gradient(to right,
    var(--divider-color) 0 40px, transparent 40px 48px, var(--divider-dot) 48px 58px);
}
.divider--center {
  width: 84px;
  margin-inline: auto;
  background: linear-gradient(to right,
    var(--divider-dot) 0 12px, transparent 12px 20px,
    var(--divider-color) 20px 64px, transparent 64px 72px,
    var(--divider-dot) 72px 84px);
}
.divider--white { --divider-color: #fff; --divider-dot: var(--accent); }

/* Section head: title, divider, optional text, optional action on the right. */
.sec-head { margin-bottom: clamp(40px, 5vw, 60px); }
.sec-head .divider { margin-bottom: 0; }
.sec-head__text { margin-top: 28px; font-size: 18px; line-height: 1.8; max-width: 62ch; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__text { margin-inline: auto; max-width: 68ch; }
.sec-head--row {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 20px 40px;
}
.sec-head--white .sec-head__title { color: #fff; }
.sec-head--white .sec-head__text { color: var(--on-ink-2); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px;
  padding: 14px 36px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 800; line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .licon { font-size: 18px; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--ink); }
.band--ink .btn--primary:hover, .on-dark .btn--primary:hover { background: #fff; color: var(--heading); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--primary); }

.btn--white { background: #fff; color: var(--heading); }
.btn--white:hover { background: var(--ink); color: #fff; }

/* Translucent pill for use over a photograph. */
.btn--glass {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn--glass:hover { background: #fff; color: var(--heading); }

.btn--outline { border-color: currentColor; color: var(--heading); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band--ink .btn--outline, .on-dark .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.band--ink .btn--outline:hover, .on-dark .btn--outline:hover { background: #fff; border-color: #fff; color: var(--heading); }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-ink); color: #fff; }

.btn--wa { background: #1faf54; color: #fff; }
.btn--wa:hover { background: #18913f; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 100%; } }

/* "READ MORE →" — uppercase, brand blue, a long thin arrow. */
.more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 800; line-height: 1.4;
  text-transform: uppercase;
  color: var(--primary);
}
.more .licon { font-size: 17px; transition: transform 0.3s var(--ease); }
.more:hover { color: var(--heading); }
.more:hover .licon { transform: translateX(4px); }
.band--ink .more, .on-dark .more { color: var(--accent); }
.band--ink .more:hover, .on-dark .more:hover { color: #fff; }

/* Round outlined arrow used on photo panels. */
.round-arrow {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 22px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.round-arrow--dark { border-color: var(--heading); color: var(--heading); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 90;
}
.site-header__inner {
  display: flex;
  align-items: stretch;
  max-width: 1520px;
  height: var(--head-h);
  margin-inline: auto;
}
@media (min-width: 1200px) and (max-width: 1560px) {
  .site-header__inner { margin-inline: 20px; }
}
/* The menu needs the room, so the partner button only joins it once it
   fits — later in French, whose labels run longer. The link is under
   About either way. */
@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header__cta, .site-header__sep { display: none !important; }
}
@media (min-width: 1200px) and (max-width: 1559px) {
  html[lang="fr"] .site-header__cta, html[lang="fr"] .site-header__sep { display: none !important; }
}

.site-header__brand {
  flex: none;
  width: 190px;
  display: grid; place-items: center;
  padding-inline: 24px;
  background: var(--ink);
  transition: background-color 0.3s var(--ease);
}
.site-header__brand img { height: 36px; width: auto; filter: brightness(0) invert(1); }

.site-header__bar {
  flex: 1;
  min-width: 0;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 24px;
  padding-inline: 30px;
  background: var(--white);
}
.site-header__nav { display: none; margin-right: auto; margin-left: auto; }
.site-header__sep { display: none; width: 1px; align-self: stretch; margin-block: 20px; background: var(--line); }
.site-header__cta { min-height: 44px; padding-inline: 24px; white-space: nowrap; }

/* Once the page leaves the hero the header becomes a full-width white bar,
   and the logo returns to its own colours on the white. */
.site-header.is-stuck {
  position: fixed;
  background: var(--white);
  box-shadow: 0 6px 30px -6px rgba(9, 11, 64, 0.14);
  animation: header-in 0.45s var(--ease);
}
.site-header.is-stuck .site-header__inner { max-width: none; height: 70px; margin-inline: 0; }
.site-header.is-stuck .site-header__brand { background: var(--white); }
.site-header.is-stuck .site-header__brand img { filter: none; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* ---- Primary nav ---- */
.nav > ul { display: flex; align-items: center; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 10px;
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  white-space: nowrap;
  color: var(--heading);
}
.nav > ul > li > a .licon { font-size: 14px; color: var(--muted); transition: transform 0.25s var(--ease), color 0.2s; }
.nav > ul > li:hover > a,
.nav > ul > li:hover > a .licon { color: var(--primary); }
/* The current page carries the brand gold. */
.nav > ul > li.is-active > a,
.nav > ul > li.is-active > a .licon { color: var(--accent); }
.nav > ul > li:hover > a .licon { transform: rotate(180deg); }

.nav .submenu {
  position: absolute;
  top: calc(100% + 22px); left: 0;
  min-width: 240px;
  padding: 18px 0;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 16px 40px -10px rgba(9, 11, 64, 0.2);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
/* Bridges the gap between the item and its dropdown so the hover holds. */
.nav .submenu::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 25px; }
.nav li:hover > .submenu,
.nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a {
  display: block;
  padding: 8px 28px;
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  color: var(--heading);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.nav .submenu a:hover { color: var(--primary); padding-left: 34px; }
.nav .submenu a.is-active { color: var(--accent); padding-left: 34px; }

/* ---- Language switch ---- */
.lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  color: var(--muted);
}
.lang a { padding: 4px 2px; }
.lang a:hover, .lang a.is-active { color: var(--primary); }
.lang span { opacity: 0.5; }

.burger {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 0;
  background: var(--paper);
  color: var(--heading);
  font-size: 17px;
}
.burger:hover { background: var(--primary); color: #fff; }

@media (min-width: 1200px) {
  .site-header__nav, .site-header__sep { display: block; }
  .burger { display: none; }
}
@media (max-width: 1199px) {
  .site-header__brand { width: auto; padding-inline: 22px; }
  .site-header__brand img { height: 32px; }
  .site-header__bar { padding-inline: 20px; gap: 18px; }
}
@media (max-width: 640px) {
  .site-header__cta, .site-header__bar .lang { display: none; }
  .site-header__brand img { height: 32px; }
}

/* ---- Mobile drawer ---- */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(400px, 88vw);
  z-index: 110;
  background: var(--ink);
  color: var(--on-ink-2);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-ink);
}
.drawer__top img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.drawer__close {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 0; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 17px;
}
.drawer__close:hover { background: var(--primary); }
.drawer__body { padding: 10px 26px 36px; }

.drawer nav > ul > li { border-bottom: 1px solid var(--line-ink); }
.drawer nav a {
  display: block; padding: 14px 0;
  font-family: var(--font-head); font-size: 17px; font-weight: 700; color: #fff;
}
.drawer nav li.is-active > a,
.drawer nav li.is-active > .row > a,
.drawer .submenu a.is-active,
.drawer nav a:hover { color: var(--accent); }
.drawer .has-sub > .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.drawer .has-sub > .row button {
  width: 40px; height: 40px; display: grid; place-items: center;
  font-size: 12px; color: #fff; opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.drawer .has-sub.is-open > .row button { transform: rotate(180deg); }
.drawer .submenu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.drawer .has-sub.is-open .submenu { grid-template-rows: 1fr; }
.drawer .submenu > div { overflow: hidden; }
.drawer .submenu a {
  padding: 9px 0 9px 16px;
  font-size: 15px; font-weight: 600;
  color: var(--on-ink-2);
  border-left: 2px solid var(--line-ink);
}
.drawer__meta { margin-top: 30px; display: grid; gap: 22px; justify-items: start; }
.drawer__meta .lang { color: var(--on-ink-2); }
.drawer .lang a.is-active, .drawer .lang a:hover, .drawer .contact-list i { color: var(--accent); }

.scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 6, 38, 0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.scrim.is-open { opacity: 1; visibility: visible; }
body.is-locked { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex; align-items: center;
  /* svh keeps the copy clear of a mobile browser's toolbar */
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--head-h) + 60px) 0 150px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }

/* Three event photos crossfading behind the headline. Each holds for a
   third of the cycle and the fades overlap, so a photo always shows. */
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-slide 21s infinite;
  will-change: opacity, transform;
}
.hero__slide:nth-child(2) { animation-delay: 7s; }
.hero__slide:nth-child(3) { animation-delay: 14s; }
@keyframes hero-slide {
  0%   { opacity: 0; transform: scale(1.06); }
  5%   { opacity: 1; }
  33%  { opacity: 1; }
  38%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 38, 0.62) 0%, rgba(5, 6, 38, 0.38) 60%, rgba(5, 6, 38, 0.3) 100%),
    linear-gradient(to top, rgba(5, 6, 38, 0.35), transparent 40%);
}
.hero > .container { position: relative; z-index: 2; }

.hero__inner { position: relative; }
.hero__kicker {
  font-family: var(--font-head);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 500;
  margin-bottom: clamp(10px, 1.4vw, 18px);
}
.hero__title {
  max-width: 13.5em;
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero__kicker, .hero__title { text-shadow: 0 2px 30px rgba(5, 6, 38, 0.35); }
.hero .btn-row { margin-top: clamp(32px, 4vw, 56px); }
/* The translation strings carry a <br>; letting the line flow reads better
   in both languages now the copy column is narrower. */
.hero__title br { display: none; }



/* ==========================================================================
   Feature columns — title, divider, copy. (The oversized ghost numeral this
   block used to draw behind each title was dropped: it collided with the
   titles and clipped at the container edge.)
   ========================================================================== */
.numbered {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 60px 30px;
}
.numbered__item { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.numbered__title { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.4; transition: color 0.3s var(--ease); }
.numbered__item:hover .numbered__title { color: var(--primary); }
.band--ink .numbered__item:hover .numbered__title { color: var(--accent); }
.numbered__item .divider { margin: 22px 0 26px; }
.numbered__text { margin-bottom: 0; }
.numbered__item .more { margin-top: 28px; }
.numbered__foot { margin-top: auto; padding-top: 28px; }
.numbered__foot .more { margin-top: 0; }
@media (max-width: 991px) { .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .numbered { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Photo panels — full-height pictures whose copy opens on hover
   ========================================================================== */
.panels {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.panel {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: clamp(460px, 42vw, 610px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.panel__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5, 6, 38, 0.82) 0%, rgba(5, 6, 38, 0.25) 55%, rgba(5, 6, 38, 0.12) 100%);
  transition: background-color 0.5s var(--ease);
}
.panel:hover::before, .panel:focus-within::before { background-color: rgba(5, 6, 38, 0.5); }
.panel:hover .panel__img { transform: scale(1.06); }
.panel__body { padding: clamp(30px, 3.6vw, 50px); width: 100%; }
.panel__body .divider { margin: 0 0 18px; }
.panel__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.3; color: #fff; }
/* The description is folded away until the panel is pointed at. */
.panel__text {
  display: grid; grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s var(--ease);
}
.panel__text > p { overflow: hidden; margin: 0; padding-top: 16px; font-size: 16px; line-height: 1.85; color: rgba(255, 255, 255, 0.88); }
.panel:hover .panel__text, .panel:focus-within .panel__text { grid-template-rows: 1fr; opacity: 1; }
.panel .round-arrow { margin-top: 30px; }
.panel:hover .round-arrow { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (hover: none), (max-width: 767px) {
  .panel__text { grid-template-rows: 1fr; opacity: 1; }
}
@media (max-width: 991px) { .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .panels { grid-template-columns: minmax(0, 1fr); } .panel { min-height: 420px; } }

/* ==========================================================================
   Duo — copy beside two offset photographs and a signature flourish
   ========================================================================== */
.duo { display: grid; gap: 50px; align-items: center; }
@media (min-width: 992px) { .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; } }
.duo__text .btn { margin-top: 36px; }
.duo__media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
  gap: clamp(20px, 4.6vw, 55px);
  align-items: start;
  padding-bottom: 50px;
}
.duo__media figure { position: relative; overflow: hidden; background: var(--paper); }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__media figure:nth-child(1) { aspect-ratio: 370 / 485; }
.duo__media figure:nth-child(2) { aspect-ratio: 300 / 390; margin-top: 50px; }
.duo__sign {
  position: absolute;
  right: -10px; bottom: 0;
  font-family: var(--font-script);
  font-size: clamp(62px, 7vw, 104px);
  line-height: 1;
  color: var(--accent);
  transform: rotate(-6deg);
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   Quote band — a blue panel set in from the page edges
   ========================================================================== */
.qband {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 120px) 0 clamp(60px, 7vw, 100px);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 30px 60px -24px rgba(9, 11, 64, 0.45);
}
.qband .container { position: relative; }
.qband .sec-head { margin-bottom: 50px; }
/* Home "What we do": a blue panel inside the wide container, carrying an
   autoplaying rail of centred practice cards. */
.wband { padding: clamp(50px, 6vw, 80px) clamp(20px, 4vw, 60px) clamp(40px, 4vw, 60px); }
.wband__rail { --gap: 30px; padding: 0; margin: 0; }
.wcard {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 14px;
  text-align: center;
  color: #fff;
}
.wcard__icon { font-size: 86px; color: #fff; transition: transform 0.4s var(--ease); }
.wcard__title {
  margin-top: 30px;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.3;
  color: #fff;
}
.wcard__rule { width: 60px; height: 1px; margin: 26px 0; background: rgba(255, 255, 255, 0.8); transition: width 0.4s var(--ease); }
.wcard__text { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.wcard:hover .wcard__icon { transform: translateY(-6px); }
.wcard:hover .wcard__rule { width: 100px; background: var(--accent); }
.wband .dots { margin-top: 40px; }

.quote__head { display: flex; align-items: center; gap: 28px; margin-bottom: 28px; }
.quote__avatar {
  width: 120px; height: 120px; flex: none;
  display: grid; place-items: center;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 50px;
  color: #fff;
}
.quote__name { font-size: clamp(22px, 2vw, 26px); line-height: 1.3; color: #fff; }
.quote__role { margin-top: 6px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.85); }
.quote__text { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.95; color: #fff; }
@media (max-width: 575px) {
  .quote__avatar { width: 84px; height: 84px; font-size: 36px; }
  .quote__head { gap: 18px; }
}

/* Pager dots. The current one is ringed. */
.dots { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 50px; }
.dots button {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 0;
  display: grid; place-items: center;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.dots button::after { content: ''; width: 5px; height: 5px; border-radius: 0; background: currentColor; }
.dots button[aria-current="true"] { border-color: currentColor; }
.qband .dots { color: #fff; }

/* ==========================================================================
   Rail — horizontal scroll-snap carousel
   ========================================================================== */
.rail-wrap { position: relative; }
.rail {
  --per: 3;
  --gap: 40px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* room for card shadows, which overflow-x would otherwise clip */
  padding: 10px 0 40px;
  margin: -10px 0 -40px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--quotes { --gap: 70px; padding: 0; margin: 0; }
@media (max-width: 991px) { .rail { --per: 2; --gap: 30px; } }
@media (max-width: 640px) { .rail { --per: 1; --gap: 20px; } }

/* Long-arrow pair */
.arrows { display: flex; align-items: center; gap: 22px; }
.arrows button { font-size: 36px; color: var(--heading); transition: color 0.2s var(--ease), opacity 0.2s; }
.arrows button:hover { color: var(--primary); }
.arrows button[disabled] { opacity: 0.3; cursor: default; }
.arrows button[disabled]:hover { color: var(--heading); }

/* ---- Filter tabs ---- */
.filters {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px clamp(22px, 2.6vw, 40px);
}
.filters button {
  font-size: 16px; font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.filters button:hover, .filters button[aria-pressed="true"] { color: var(--primary); }
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.view-all {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px;
  font-size: 16px; font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
}
.view-all .licon { font-size: 24px; }
.view-all:hover { color: var(--heading); }

/* ==========================================================================
   Event cards — square photo cards, or plain white when there is no photo
   ========================================================================== */
.ecards { display: grid; gap: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .ecards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }
@media (max-width: 640px) { .ecards { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.ecard {
  position: relative;
  aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 60px 45px 60px 55px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 40px -18px rgba(9, 11, 64, 0.3);
  isolation: isolate;
}
/* The square is a minimum: a long title grows the card instead of being
   cut off, so the photo is clipped by its own wrapper, not the card. */
.ecard > * { flex-shrink: 0; }
.ecard__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ecard__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.ecard::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 6, 38, 0.5);
  transition: background-color 0.4s var(--ease);
}
.ecard:hover .ecard__img { transform: scale(1.07); }
.ecard:hover::before { background: rgba(5, 6, 38, 0.62); }
/* The tag holds the top; the auto margin pushes the rest to the bottom. */
.ecard__tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 3px 16px;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px; font-weight: 800; line-height: 1.6;
}
.ecard__date { font-size: 17px; font-weight: 600; text-transform: uppercase; line-height: 1.5; }
.ecard__date { margin-top: 24px; }
.ecard__title {
  margin-top: 6px;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.38; color: #fff;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.ecard__loc { margin-top: 18px; font-size: 16px; font-weight: 800; line-height: 1.5; }
.ecard .more { margin-top: 26px; }

.ecard--plain { background: var(--white); color: var(--heading); justify-content: center; }
.ecard--plain::before { display: none; }
.ecard--plain .ecard__date { color: var(--muted); }
.ecard--plain .ecard__title { color: var(--primary); }
.ecard--plain .ecard__loc { font-weight: 700; }
.ecard--plain .ecard__tag { margin-bottom: 6px; }
@media (max-width: 1199px) { .ecard { padding: 40px 34px 44px; } }

/* Photo card that turns into the plain white card on hover */
.ecard--flip { transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.ecard--flip .ecard__media { transition: opacity 0.4s var(--ease); }
.ecard--flip .ecard__title { transition: color 0.4s var(--ease); }
.ecard--flip .more {
  max-height: 0; margin-top: 0; overflow: hidden; opacity: 0;
  color: var(--primary);
  transition: max-height 0.4s var(--ease), margin-top 0.4s var(--ease), opacity 0.4s var(--ease);
}
.ecard--flip:hover, .ecard--flip:focus-visible { background: var(--white); color: var(--heading); }
.ecard--flip:hover::before, .ecard--flip:focus-visible::before { background: transparent; }
.ecard--flip:hover .ecard__media, .ecard--flip:focus-visible .ecard__media { opacity: 0; }
.ecard--flip:hover .ecard__date, .ecard--flip:focus-visible .ecard__date { color: var(--muted); }
.ecard--flip:hover .ecard__title, .ecard--flip:focus-visible .ecard__title { color: var(--heading); }
.ecard--flip:hover .ecard__loc, .ecard--flip:focus-visible .ecard__loc { color: var(--text); }
.ecard--flip:hover .more, .ecard--flip:focus-visible .more { max-height: 40px; margin-top: 26px; opacity: 1; }

/* ==========================================================================
   Video / call-out banner
   ========================================================================== */
.vbanner {
  position: relative;
  display: grid; place-items: center;
  min-height: clamp(480px, 46vw, 620px);
  padding: 100px 0;
  background: var(--ink-deep);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.vbanner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vbanner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(5, 6, 38, 0.74); }
.vbanner__title { max-width: 16em; margin-inline: auto; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.25; color: #fff; }
.vbanner__text { max-width: 60ch; margin: 22px auto 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
.vbanner .btn-row { justify-content: center; margin-top: 46px; }

.play {
  position: relative;
  width: 84px; height: 84px;
  margin: 50px auto 0;
  display: grid; place-items: center;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 26px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.play .licon { fill: currentColor; margin-left: 4px; }
.play::before, .play::after {
  content: ''; position: absolute; inset: 0; border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}
.play::after { animation-delay: 1.2s; }
.play:hover { transform: scale(1.06); background: #fff; color: var(--ink); }
@keyframes pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }

/* Facts row used by the summit banner */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 50px; margin-top: 34px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.facts dd { margin: 0; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chips li {
  padding: 6px 18px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-size: 14px; font-weight: 700;
  color: #fff;
}

/* ---- Video modal ---- */
.vmodal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(14px, 4vw, 60px);
  background: rgba(3, 4, 24, 0.94);
}
.vmodal__frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; }
.vmodal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.vmodal__close, .lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 30px); right: clamp(12px, 3vw, 30px);
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 0; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 18px;
  transition: background-color 0.2s var(--ease);
}
.vmodal__close:hover, .lightbox__close:hover { background: var(--primary); }

/* ==========================================================================
   Quote feature — copy, a portrait, and a blue quote box overlapping it
   ========================================================================== */
.qfeat { display: grid; gap: 50px; align-items: center; }
@media (min-width: 992px) { .qfeat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; } }
.qfeat__text .more, .qfeat__text .btn { margin-top: 34px; }
.qfeat__media { position: relative; padding-right: clamp(0px, 16vw, 230px); }
.qfeat__media figure { aspect-ratio: 430 / 485; overflow: hidden; background: var(--paper); }
.qfeat__media img { width: 100%; height: 100%; object-fit: cover; }
.qbox {
  position: absolute; right: 0; top: 17%;
  width: min(330px, 62%);
  padding: clamp(30px, 3.6vw, 50px) clamp(26px, 3.4vw, 46px);
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.qbox__mark { font-family: var(--font-head); font-size: 64px; font-weight: 700; line-height: 0.6; height: 30px; }
.qbox__text { margin-top: 14px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 28px); font-weight: 700; line-height: 1.45; color: #fff; }
.qbox__name { margin-top: 26px; font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.qbox__role { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; }
@media (max-width: 575px) {
  .qfeat__media { padding-right: 0; padding-bottom: 150px; }
  .qbox { top: auto; bottom: 0; width: 86%; }
}

/* ==========================================================================
   Directory — intro column beside a two-up list of icon entries
   ========================================================================== */
.directory { display: grid; gap: 50px; }
@media (min-width: 992px) { .directory { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 50px; } }
.directory__intro .btn { margin-top: 40px; }
.directory__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 55px 50px;
}
@media (max-width: 640px) { .directory__list { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.dentry { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 26px; align-items: start; }
.dentry > .licon, .dentry > .fa-solid { font-size: 56px; color: var(--primary); }
.dentry > .fa-solid { font-size: 40px; text-align: center; padding-top: 6px; }
.dentry__title { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; transition: color 0.2s var(--ease); }
a.dentry:hover .dentry__title { color: var(--primary); }
.dentry__text { margin-top: 14px; }
.band--ink .dentry__title { color: #fff; }
.band--ink .dentry > .licon { color: var(--accent); }

/* ==========================================================================
   Stagger — two offset tall photographs beside copy and an arrow list
   ========================================================================== */
.stagger { display: grid; gap: 50px; align-items: center; }
@media (min-width: 992px) { .stagger { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }
.stagger__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.6vw, 45px); align-items: start; }
.stagger__media figure { overflow: hidden; background: var(--paper); }
.stagger__media img { width: 100%; height: 100%; object-fit: cover; }
.stagger__media figure:first-child { aspect-ratio: 336 / 520; }
.stagger__media figure:last-child { aspect-ratio: 336 / 560; margin-top: 70px; }

.arrow-list { display: grid; gap: 20px; margin-top: 36px; }
.arrow-list li { display: flex; align-items: flex-start; gap: 20px; font-family: var(--font-head); font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; line-height: 1.45; color: var(--heading); }
.arrow-list .licon { font-size: 24px; color: var(--accent); margin-top: 3px; }
.band--ink .arrow-list li { color: #fff; }

/* ==========================================================================
   Explore panels — a row of photographs; the one in focus turns into a card
   ========================================================================== */
/* Paper behind the heading and the top of the row, white behind the rest. */
.xpanels-wrap { position: relative; isolation: isolate; padding: var(--pad-y) 20px 0; background: var(--paper); }
.band--paper + .xpanels-wrap { padding-top: 0; }
.xpanels { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 27px); }
.xpanels::before { content: ""; position: absolute; z-index: -3; left: -20px; right: -20px; bottom: 0; height: 64%; background: var(--white); }
.xpanel {
  position: relative;
  min-height: clamp(460px, 38vw, 610px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.5s var(--ease);
}
.xpanel__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 1s var(--ease);
}
.xpanel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(5, 6, 38, 0.18); transition: background-color 0.5s; }
.xpanel__corner {
  position: absolute; top: 0; right: 0;
  width: 130px; height: 120px;
  display: grid; place-items: center;
  padding: 0 0 22px 22px;
  border-bottom-left-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: 46px;
  transform: translate(100%, -100%);
  transition: transform 0.5s var(--ease);
}
.xpanel__body { padding: clamp(28px, 3.4vw, 54px); padding-right: 30px; }
.xpanel__title { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; }
.xpanel__text { margin-top: 18px; line-height: 2.1; }
.xpanel__title, .xpanel__text { display: none; }
.xpanel .round-arrow { align-self: flex-end; margin: 0 clamp(26px, 3vw, 54px) clamp(26px, 3vw, 54px) 0; }
.xpanel:hover .xpanel__img { transform: scale(1.05); }

.xpanel.is-active { background: var(--white); box-shadow: var(--shadow-lg); }
.xpanel.is-active::before { background: transparent; }
.xpanel.is-active .xpanel__img { opacity: 0; }
.xpanel.is-active .xpanel__corner { transform: none; }
.xpanel.is-active .xpanel__title, .xpanel.is-active .xpanel__text { display: block; animation: fade-up 0.5s var(--ease) both; }
.xpanel.is-active .round-arrow { align-self: flex-start; margin: 0 0 clamp(28px, 3.4vw, 54px) clamp(28px, 3.4vw, 54px); border-color: var(--heading); color: var(--heading); }
.xpanel.is-active .xpanel__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; }
.xpanel.is-active .round-arrow:hover { background: var(--ink); color: #fff; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1199px) {
  .xpanels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Below a tablet every panel is a card: photo on top, copy beneath. */
@media (max-width: 767px) {
  .xpanels-wrap { background: var(--white); }
  .xpanels { grid-template-columns: minmax(0, 1fr); }
  .xpanels::before { display: none; }
  .xpanel, .xpanel.is-active { min-height: 0; background: var(--white); box-shadow: var(--shadow); }
  .xpanel__img, .xpanel.is-active .xpanel__img { position: relative; height: 220px; opacity: 1; }
  .xpanel::before, .xpanel__corner { display: none; }
  .xpanel__title, .xpanel__text { display: block; }
  .xpanel__body, .xpanel.is-active .xpanel__body { padding: 28px 26px 0; }
  .xpanel .round-arrow, .xpanel.is-active .round-arrow { align-self: flex-start; margin: 24px 26px 28px; border-color: var(--heading); color: var(--heading); }
}

/* ==========================================================================
   Publication cards (news)
   ========================================================================== */
.pubs { display: grid; gap: 40px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
@media (max-width: 640px) { .pubs { grid-template-columns: minmax(0, 1fr); } }
.pub {
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: 0 12px 34px -14px rgba(9, 11, 64, 0.16);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.pub:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pub__media { position: relative; display: block; aspect-ratio: 366 / 270; background: var(--paper); }
.pub__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub__tag {
  position: absolute; left: 0; bottom: 0;
  padding: 4px 16px 2px 14px;
  border-top-right-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px; font-weight: 800; line-height: 1.6;
}
.pub__body { flex: 1; padding: 30px 35px; }
.pub__title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
.pub__title a:hover { color: var(--primary); }
.pub__excerpt { margin-top: 14px; }
.pub__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  padding: 18px 35px;
  border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted);
}
.pub__avatar {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 0;
  background: var(--primary); color: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.pub__author { font-weight: 800; color: var(--heading); }
/* The slash travels with the date when the row wraps. */
.pub__foot time { white-space: nowrap; }
.pub__foot time::before { content: "/"; margin-right: 10px; color: var(--line-strong, #c9ced8); }

/* ==========================================================================
   Info boxes (contact)
   ========================================================================== */
.infoboxes { position: relative; z-index: 5; margin-top: -80px; display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .infoboxes { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: -60px; } }
.infobox {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 44px 30px;
  background: var(--white);
  box-shadow: 0 22px 44px -16px rgba(9, 11, 64, 0.18);
  text-align: center;
}
.infobox > .licon { font-size: 56px; color: var(--primary); margin-bottom: 6px; }
.infobox__label { font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--heading); }
.infobox a:hover { color: var(--primary); }

/* ==========================================================================
   Page title (inner pages)
   ========================================================================== */
.page-title {
  position: relative;
  padding: calc(var(--head-h) + clamp(70px, 8vw, 110px)) 0 clamp(80px, 9vw, 120px);
  background: var(--ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-title__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-title::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(5, 6, 38, 0.72), rgba(5, 6, 38, 0.6)); }
.page-title__title { max-width: 22em; margin-inline: auto; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.25; color: #fff; }
.crumbs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px;
  margin-top: 22px;
  font-size: 16px; font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: 0.5; }
.crumbs .is-current { color: #fff; }
.page-title .post-meta { justify-content: center; margin-top: 22px; color: rgba(255, 255, 255, 0.86); }
.page-title .post-meta i { color: var(--accent); }
.page-title__tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 3px 16px;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px; font-weight: 800; line-height: 1.6;
}

/* ==========================================================================
   Content shell, sidebar, widgets
   ========================================================================== */
.shell { display: grid; gap: 60px; }
@media (min-width: 1000px) {
  .shell { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 70px; }
  .shell--flip { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}
.aside { display: grid; gap: 40px; align-content: start; }
.widget { padding: 40px 36px; background: var(--paper); }
.band--paper .widget { background: var(--white); }
.widget__title { font-size: 22px; line-height: 1.4; }
.widget .divider { margin: 16px 0 24px; }
.widget nav a, .widget .links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  color: var(--heading);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}
.widget nav li:last-child a { border-bottom: 0; padding-bottom: 0; }
.widget nav a .licon { font-size: 20px; color: var(--primary); transition: transform 0.25s var(--ease); }
.widget nav a:hover, .widget nav a.is-active { color: var(--primary); }
.widget nav a:hover .licon { transform: translateX(4px); }
.widget--cta { background: var(--primary); color: rgba(255, 255, 255, 0.88); }
.band--paper .widget--cta { background: var(--primary); }
.widget--cta .widget__title { color: #fff; }
.widget--cta .btn { margin-top: 24px; }

.mini-posts { display: grid; gap: 22px; }
.mini-post { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; align-items: center; }
.mini-post__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--line); }
.mini-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini-post h4 { font-size: 16px; line-height: 1.45; transition: color 0.2s var(--ease); }
.mini-post:hover h4 { color: var(--primary); }
.mini-post span span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }

.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list i { width: 18px; margin-top: 7px; font-size: 16px; color: var(--primary); text-align: center; flex: none; }
.contact-list a:hover { color: var(--primary); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 0;
  background: var(--white);
  color: var(--heading);
  font-size: 15px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s;
}
.socials a:hover { background: var(--primary); color: #fff; box-shadow: none; }
.on-dark .socials a, .drawer .socials a { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: none; }
.on-dark .socials a:hover, .drawer .socials a:hover { background: var(--primary); }

/* ---- Post meta & share ---- */
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px;
  font-size: 15px; font-weight: 600;
}
.post-meta span { display: inline-flex; align-items: center; gap: 9px; }
.post-meta i { font-size: 13px; color: var(--primary); }

.share { display: flex; align-items: center; gap: 10px; }
.share__label { font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--heading); margin-right: 6px; }
.share a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 0; background: var(--paper); color: var(--heading); font-size: 14px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.share a:hover { background: var(--primary); color: #fff; }

.row-split { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.row-split--ruled { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); }

/* ---- Article body ---- */
.prose { font-size: 17px; line-height: 1.9; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); margin-top: 1.5em; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin-block: 1.6em; }
.prose strong { color: var(--heading); }
.prose blockquote {
  margin: 1.8em 0; padding: 34px 40px;
  background: var(--primary); color: #fff;
  font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.55;
}
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--primary); }
.prose .lead { font-size: 20px; line-height: 1.7; color: var(--heading); }

.article-figure { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); margin-bottom: 50px; }
.article-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.media-label { margin: 56px 0 22px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- Photo gallery & lightbox ---- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(11, 29, 158, 0); transition: background-color 0.3s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { background: rgba(11, 29, 158, 0.25); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(12px, 3vw, 44px);
  background: rgba(3, 4, 24, 0.95);
}
.lightbox__img { grid-column: 2; max-width: 100%; max-height: 86vh; margin-inline: auto; object-fit: contain; }
.lightbox__nav {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 0; color: #fff; background: rgba(255, 255, 255, 0.1); font-size: 16px;
  transition: background-color 0.2s var(--ease);
}
.lightbox__nav:hover { background: var(--primary); }
.lightbox__nav--prev { grid-column: 1; }
.lightbox__nav--next { grid-column: 3; }
.lightbox__count {
  position: absolute; bottom: clamp(12px, 3vw, 30px); left: 0; right: 0;
  margin: 0; text-align: center;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; color: var(--on-ink-2);
}

/* ---- Pagination ---- */
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 60px; }
.pager a, .pager span {
  min-width: 50px; height: 50px; padding-inline: 12px;
  display: grid; place-items: center;
  border-radius: 0;
  background: var(--paper);
  font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--heading);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pager a:hover, .pager .is-current { background: var(--primary); color: #fff; }
.pager .is-disabled { opacity: 0.4; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-grid { display: grid; gap: 22px 30px; }
@media (min-width: 760px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; align-content: start; }
.field > label { font-size: 15px; font-weight: 700; color: var(--heading); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 16px;
  color: var(--heading);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  appearance: none;
}
.band--paper .field input, .band--paper .field select, .band--paper .field textarea { background: var(--white); }
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%230A1A31' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 50px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background-color: var(--white); }
.field small { font-size: 14px; line-height: 1.6; color: var(--muted); }

.form-step {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 16px;
  margin: 26px 0 0;
  font-family: var(--font-head); font-size: 20px; font-weight: 700;
  color: var(--heading);
}
.form-step::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form-grid > .form-step:first-child { margin-top: 0; }

.check-line { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.check-line input { width: 19px; height: 19px; margin-top: 5px; accent-color: var(--primary); flex: none; }

/* Honeypot — kept off-screen, never display:none (bots skip hidden fields) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 18px 24px; border-left: 4px solid; font-size: 16px; margin-bottom: 34px; }
.alert--ok { border-color: #1faf54; background: #effaf2; color: #10542a; }
.alert--bad { border-color: #d24b3e; background: #fdf1ef; color: #7d241a; }
.alert ul { display: grid; gap: 5px; }
.alert li { padding-left: 15px; position: relative; }
.alert li::before { content: '—'; position: absolute; left: 0; }

.form-note { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-note i { font-size: 14px; margin-top: 3px; flex: none; }
.form-note.is-ok { color: #1b8f4a; }
.form-note.is-bad { color: #c6412f; }
.stay .form-note { color: #fff; }

/* ---- Course calendar ---- */
.ctable-wrap { background: var(--white); box-shadow: var(--shadow); overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; }
.ctable thead th {
  padding: 22px clamp(16px, 2vw, 30px);
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  text-align: left; white-space: nowrap;
}
.ctable tbody tr + tr { border-top: 1px solid var(--line); }
.ctable tbody tr { transition: background-color 0.2s var(--ease); }
.ctable tbody tr:hover { background: var(--paper); }
.ctable tbody th, .ctable tbody td { padding: 22px clamp(16px, 2vw, 30px); text-align: left; vertical-align: middle; font-weight: 400; }
.ctable tbody th { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--heading); }
.ctable__act { text-align: right; white-space: nowrap; }
.ctable__btn { min-height: 46px; padding: 10px 26px; font-size: 14px; }
@media (max-width: 700px) {
  .ctable-wrap { overflow-x: visible; }
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .ctable tbody tr { display: grid; gap: 4px; padding: 24px; }
  .ctable tbody th, .ctable tbody td { padding: 0; }
  .ctable tbody td[data-label]::before { content: attr(data-label) ' — '; font-weight: 700; color: var(--heading); }
  .ctable__act { text-align: left; margin-top: 12px; }
}

/* ==========================================================================
   Footer — the "stay connected" band overlaps its top edge
   ========================================================================== */
/* The footer is a rounded dark card set inside a pale frame; the newsletter
   band sits across its top edge and a gold strip closes it. */
.site-footer {
  --frame: 0px;
  --radius: 0px;
  padding: 0 var(--frame) var(--frame);
  background: linear-gradient(to bottom, var(--footer-top, var(--white)) 0 108px, #D9DCEF 108px);
  color: var(--on-ink-2);
}
.site-footer__card {
  position: relative;
  margin-top: 108px;
  background: var(--ink-deep);
  border-radius: 0;
}
.site-footer .container { position: relative; }
.stay-wrap { position: relative; padding-inline: clamp(0px, 1.4vw, 26px); }
.site-footer .stay-wrap { margin-top: -108px; padding-inline: clamp(10px, 2vw, 34px); }
.site-footer .stay { border-radius: 0; }
.stay {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 5vw, 70px) 0;
  background: var(--primary);
  color: #fff;
}
/* A faint circuit-board pattern standing in for a texture */
.stay::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 1.6px),
    linear-gradient(115deg, transparent 0 60%, rgba(255, 255, 255, 0.06) 60% 100%);
  background-size: 26px 26px, 100% 100%;
  pointer-events: none;
}
.stay .container { position: relative; }
.stay__grid { display: grid; gap: 26px 40px; align-items: center; }
@media (min-width: 992px) { .stay__grid { grid-template-columns: auto minmax(0, 1fr); } }
.stay__title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; color: #fff; }
.stay__form { display: grid; gap: 18px 40px; align-items: end; }
@media (min-width: 680px) { .stay__form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }
.stay__form input {
  width: 100%; height: 60px;
  padding: 0 14px;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  color: #fff;
  font-size: 17px; font-weight: 700;
}
.stay__form input::placeholder { color: #fff; opacity: 1; }
.stay__form input:focus { outline: none; border-bottom-color: #fff; }
.stay__form .btn { min-width: 190px; min-height: 66px; }
.stay__form .form-note { grid-column: 1 / -1; margin: 0; }

.site-footer__main {
  display: grid; gap: 50px 40px;
  padding: clamp(60px, 7vw, 96px) 0 clamp(56px, 6vw, 84px);
}
@media (min-width: 992px) { .site-footer__main { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (min-width: 1200px) { .site-footer__main { padding-inline: 40px; } }

.site-footer__logo img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.site-footer__about { max-width: 360px; margin: 30px 0 32px; font-size: 17px; line-height: 1.6; color: #fff; }

/* Plain icons here rather than the round chips used elsewhere */
.site-footer .socials { gap: 8px 24px; }
.site-footer .socials a { width: auto; height: auto; background: none; box-shadow: none; color: #fff; font-size: 20px; }
.site-footer .socials a:hover { background: none; color: var(--accent); }

/* Site Map, Legal and Get in Touch: one single column each */
.site-footer__nav { display: grid; gap: 40px 30px; }
@media (min-width: 640px) { .site-footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .site-footer__nav { grid-template-columns: minmax(0, 200px) minmax(0, 190px) minmax(0, 220px); justify-content: end; } }
.foot-title { margin-bottom: 26px; font-family: var(--font-body); font-size: 17px; font-weight: 800; color: #fff; }
.foot-links { display: grid; gap: 8px; font-size: 16px; color: var(--on-ink-2); }
.foot-links a { color: var(--on-ink-2); text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot-links a:hover, .foot-links a[aria-current] { color: #fff; text-decoration: underline; }

.site-footer__bottom {
  position: relative;
  padding: 5px 20px;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink-deep);
  font-size: 12px; line-height: 1.5; text-align: center;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: inherit; }
.site-footer__bottom a:hover { text-decoration: underline; }

/* Back to top */
.to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 70;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 0;
  background: var(--primary); color: #fff;
  font-size: 26px;
  /* The ring keeps it visible over the blue bands. */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 10px 24px -8px rgba(9, 11, 64, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
@media (max-width: 575px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* Contact page map */
.map { height: clamp(320px, 40vw, 480px); }
.map iframe { width: 100%; height: 100%; filter: grayscale(1) contrast(1.05); }

/* ==========================================================================
   Motion — fade-up on scroll, driven by IntersectionObserver in aiaie.js
   ========================================================================== */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.rise-2 { transition-delay: 0.1s; }
.rise-3 { transition-delay: 0.2s; }
.rise-4 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .hero__slide { animation: none !important; opacity: 0; }
  .hero__slide:first-child { opacity: 1; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- Utilities ---- */
.stack { display: grid; gap: 28px; }
.mt-0 { margin-top: 0; }
.w-full { width: 100%; }

/* ==========================================================================
   Content Master v1.0 additions — practice pages, catalogue, fact tables
   ========================================================================== */

/* Long institutional headline on the home hero: smaller than the old
   six-word title so it holds in two to three lines. */
.hero__title--long { max-width: 19em; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.2; }

/* Eyebrow above a banner title ("We advise") */
.page-title__tag { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.75; color: var(--heading); }
.band--ink .lead { color: #fff; }
.note { font-style: italic; color: var(--muted); }
.practice__label { margin-top: 34px; }

/* Two equal columns of text */
.split { display: grid; gap: 50px; }
@media (min-width: 992px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; } }
.split .btn { margin-top: 30px; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-content: center; }
.btn-stack .btn { margin-top: 0; }

.arrow-list--tight { gap: 14px; margin-top: 26px; }
.arrow-list--tight li { font-size: clamp(16px, 1.3vw, 18px); }

/* Small label above a numbered title ("We train individuals") */
.numbered__eyebrow {
  margin-bottom: 8px;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-ink);
}
.numbered__icon { position: relative; font-size: 48px; color: var(--primary); margin-bottom: 18px; }
.more-row { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.numbered__foot.more-row .more { margin-top: 0; }

/* Panel subtitle under a pillar name */
.panel__sub { margin-top: 6px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }

/* Pull quote in the dark band */
.pquote { max-width: 26em; margin: 0 auto; }
.pquote p { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; line-height: 1.35; color: #fff; }
.pquote footer { margin-top: 22px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }

/* "The institute in brief" — an intro column beside a card of fact rows,
   each row led by a soft-tinted pictogram and split by a hairline rule. */
.brief-band { position: relative; overflow: hidden; }
.brief-band::before {
  content: ""; position: absolute; z-index: 0;
  top: -140px; left: -160px; width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(11, 29, 158, 0.07), rgba(11, 29, 158, 0) 70%);
}
.brief-band > .container { position: relative; z-index: 1; }

.brief-grid { display: grid; gap: 46px; align-items: start; }
@media (min-width: 992px) { .brief-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; } }

.brief-grid__intro .divider { margin-bottom: 26px; }
.brief-grid__lead { margin-top: 22px; font-size: 18px; line-height: 1.8; max-width: 38ch; }
.brief-grid__figure { margin: 34px 0 0; overflow: hidden; box-shadow: var(--shadow); }
.brief-grid__figure img { display: block; width: 100%; height: 260px; object-fit: cover; }
@media (max-width: 991px) { .brief-grid__figure { display: none; } }

.brief {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 10px 28px;
}
@media (max-width: 575px) { .brief { padding: 6px 18px; } }

.brief__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.brief__row:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .brief__row { grid-template-columns: 46px minmax(0, 3fr) minmax(0, 5fr); gap: 20px; }
  .brief__row dd { padding-left: 20px; border-left: 1px solid var(--line); }
}

.brief__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 0;
  background: rgba(11, 29, 158, 0.07);
  color: var(--primary);
  font-size: 22px;
}
@media (max-width: 639px) {
  .brief__row > .brief__icon { grid-row: span 2; }
  .brief__row > dt, .brief__row > dd { grid-column: 2; }
}

.brief dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--heading); }
.brief dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }

/* Numbered stages of an engagement */
.steps { display: grid; gap: 34px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start; }
.steps__num { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--accent); }

/* Programme catalogue facts */
.pfacts { display: grid; gap: 8px; width: 100%; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.pfacts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; font-size: 15px; }
.pfacts dt { font-weight: 800; color: var(--heading); }
.pfacts dd { margin: 0; }

/* Published papers on Events & Insights */
.paper-list { display: grid; gap: 16px; margin: 26px 0 30px; }
.paper-list li { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.paper-list a { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--heading); }
.paper-list a:hover { color: var(--primary); }
.paper-list time { font-size: 14px; color: var(--muted); }

/* Newsletter band placed inside a page rather than over the footer */
.stay-wrap--inline { background: transparent; padding-block: clamp(50px, 6vw, 90px); }

/* Forms: programme context line and consent boxes */
.form-context { margin-bottom: 22px; padding: 14px 20px; background: var(--white); border-left: 4px solid var(--accent); font-size: 16px; }
.consent { display: grid; gap: 12px; }

/* ==========================================================================
   Gold accents, hero buttons, footer call to action, spacing
   ========================================================================== */
.section--tight-b { padding-bottom: clamp(36px, 4vw, 56px); }

/* Hero: gold primary action, white outline secondary */
.hero__kicker { color: var(--accent); }
.hero .btn--outline { color: #fff; border-color: #fff; background: transparent; }
.hero .btn--outline:hover { background: #fff; color: var(--heading); }

/* Gold for icons, arrows and markers; text stays blue/ink for contrast */
.more .licon { color: var(--accent); }
.dentry > .licon, .infobox > .licon, .arrow-list .licon, .widget nav a .licon { color: var(--accent); }
.wcard__icon { color: var(--accent); }
.dots button[aria-current="true"] { color: var(--accent); }
.to-top { background: var(--accent); color: var(--ink); }
.to-top:hover { background: var(--primary); color: #fff; }
.site-footer .socials a:hover, .foot-links a:hover, .foot-links a[aria-current] { color: var(--accent); }
.foot-title::after { content: ''; display: block; width: 30px; height: 2px; margin-top: 12px; background: var(--accent); }

/* Footer bar: "Start a conversation" */
.stay__text { margin-top: 12px; max-width: 56ch; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.stay__actions { justify-content: flex-start; }
@media (min-width: 992px) {
  .stay--cta .stay__grid { grid-template-columns: minmax(0, 1fr) auto; }
  .stay__actions { justify-content: flex-end; }
}
.stay .btn--outline { color: #fff; border-color: #fff; }
.stay .btn--outline:hover { background: #fff; color: var(--heading); }

/* Compact newsletter sign-up in the footer brand column */
.foot-nl { max-width: 400px; margin-bottom: 32px; }
.foot-nl__row { display: flex; }
.foot-nl__row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25); border-right: 0;
  border-radius: 0; color: #fff; font-size: 16px;
}
.foot-nl__row input::placeholder { color: var(--on-ink-2); opacity: 1; }
.foot-nl__row input:focus { outline: none; border-color: var(--accent); }
.foot-nl__row .btn { min-height: 52px; padding-inline: 22px; }
.foot-nl .form-note { margin-top: 10px; color: #fff; }

/* ==========================================================================
   Centred headings: every section title, its divider and its paragraphs
   ========================================================================== */
.sec-head,
:where(div, header, section):has(> .title-lg, > .title-xl) { text-align: center; }
.sec-head__text,
:where(div, header, section):has(> .title-lg, > .title-xl) > p { margin-inline: auto; max-width: 68ch; }
.sec-head--row { flex-direction: column; align-items: center; justify-content: center; }
.sec-head .divider,
:where(div, header, section):has(> .title-lg, > .title-xl) > .divider {
  width: 84px;
  margin-inline: auto;
  background: linear-gradient(to right,
    var(--divider-dot) 0 12px, transparent 12px 20px,
    var(--divider-color) 20px 64px, transparent 64px 72px,
    var(--divider-dot) 72px 84px);
}
/* Lists and forms under a centred heading stay readable left-aligned. */
:where(div, header, section):has(> .title-lg, > .title-xl) > :is(ul, ol, form, table, dl) { text-align: left; }
:where(div, header, section):has(> .title-lg, > .title-xl) > .btn-row { justify-content: center; }

/* ==========================================================================
   Hero: short, centred, narrow column over a darker photo
   ========================================================================== */
.hero::after {
  background:
    linear-gradient(rgba(5, 6, 38, 0.6), rgba(5, 6, 38, 0.6)),
    radial-gradient(ellipse at center, rgba(5, 6, 38, 0.15) 0%, rgba(5, 6, 38, 0.55) 100%);
}
.hero__inner { max-width: 820px; margin-inline: auto; padding-right: 0; text-align: center; }
.hero__title--long { max-width: none; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.15; }
.hero .btn-row { justify-content: center; }

/* ==========================================================================
   Footer "Start a conversation": a compact bar, half over the page, half
   over the footer card
   ========================================================================== */
.site-footer { padding-top: 0; background: #D9DCEF; }
.site-footer__card { margin-top: 0; /* flow-root so the bar's negative margin lifts the bar, not the card */ display: flow-root; }
/* It floats on the seam -- half on the page above, half on the footer card.
   It rides the same container width as every other section so its edges line
   up with the content above, and the lift is a negative margin rather than a
   transform, so the footer closes up behind it instead of leaving a band of
   dead space below. */
.site-footer .stay-wrap {
  position: relative; z-index: 3;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: clamp(-62px, -4vw, -42px) auto 0;
  padding-inline: var(--gutter);
}
.site-footer .stay {
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 38px);
  border-radius: 0;
  box-shadow: 0 26px 50px -20px rgba(9, 11, 64, 0.55);
}
.site-footer .stay__grid { gap: 16px 30px; }
.site-footer .stay__title { font-size: clamp(22px, 2.2vw, 30px); }
.site-footer .stay__text { margin-top: 4px; font-size: 15px; }
.site-footer .stay .btn { min-height: 48px; padding: 10px 24px; font-size: 14px; }
.site-footer__main { padding-top: clamp(10px, 2vw, 30px); }
@media (max-width: 991px) { .site-footer .stay { text-align: center; } .site-footer .stay__actions { justify-content: center; } }

/* Pager dots stay round: they are indicators, not boxes. */
.dots button { border-radius: 0; }

/* Tighter vertical rhythm between home sections */
.section--tight-t { padding-top: clamp(36px, 4vw, 56px); }

/* Compact "What we do" carousel */
.wband { padding: clamp(30px, 3.4vw, 44px) clamp(16px, 3vw, 40px) clamp(24px, 2.6vw, 34px); }
.wband__rail { --gap: 24px; }
.wcard { padding: 6px 10px; }
.wcard__icon { font-size: 52px; }
.wcard__title { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); }
.wcard__rule { width: 44px; margin: 16px 0; }
.wcard:hover .wcard__rule { width: 70px; }
.wcard__text { font-size: 15px; line-height: 1.6; }
.wband .dots { margin-top: 24px; gap: 16px; }
.wband .dots button { width: 22px; height: 22px; }

/* ==========================================================================
   Programme catalogue

   A split category header (eyebrow chip and title on the left, the
   category's blurb on the right) over a grid of soft-cornered cards. Each
   card carries one route in, in a tab that hangs off its bottom-left corner
   and joins the card with a concave fillet, so tab and card read as one
   shape. The fillet is drawn with a radial gradient in the card's own
   colour, which is why every colour on the card comes from a --card-*
   custom property rather than being written in directly.
   ========================================================================== */

/* ---- Category header ---------------------------------------------------- */
.pcat {
  display: grid;
  gap: 20px 60px;
  margin-bottom: clamp(34px, 4vw, 50px);
}
@media (min-width: 992px) {
  .pcat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; }
}
.pcat__title {
  margin-top: 18px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.2;
}
.pcat__text { margin: 0; max-width: 54ch; font-size: 16px; line-height: 1.8; }
/* Space between one category block and the next. */
.pcards + .pcat { margin-top: clamp(70px, 8vw, 110px); }

/* Small capsule above a heading: an asterisk and a short label. */
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px;
  border-radius: 0;
  background: rgba(11, 29, 158, 0.07);
  font-size: 12px; font-weight: 800; line-height: 1.4;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--primary);
}
.eyebrow-chip .licon { font-size: 14px; color: var(--accent); }
.band--ink .eyebrow-chip { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ---- Cards -------------------------------------------------------------- */
.pcards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 22px 24px;
}
.pcard {
  --notch: 22px;
  --radius: 0px;
  --card-bg: var(--paper);
  --card-fg: var(--text);
  --card-head: var(--heading);
  --card-chip: rgba(9, 11, 64, 0.07);
  --card-rule: rgba(9, 11, 64, 0.1);
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 30px 30px;
  /* Room under every card for the tab that hangs below it. */
  margin-bottom: 58px;
  background: var(--card-bg);
  border-radius: 0;
  color: var(--card-fg);
}
.pcard--accent {
  --card-bg: var(--accent);
  --card-fg: rgba(9, 11, 64, 0.8);
  --card-head: var(--ink);
  --card-chip: rgba(9, 11, 64, 0.12);
  --card-rule: rgba(9, 11, 64, 0.18);
}
.pcard--ink {
  --card-bg: var(--ink);
  --card-fg: var(--on-ink-2);
  --card-head: #fff;
  --card-chip: rgba(255, 255, 255, 0.12);
  --card-rule: rgba(255, 255, 255, 0.16);
}

.pcard__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  margin-bottom: 24px;
  border-radius: 0;
  background: var(--card-chip);
  color: var(--card-head);
  font-size: 27px;
}
.pcard__icon img { width: 30px; height: 30px; object-fit: contain; }
.pcard__title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; color: var(--card-head); }
.pcard__text { margin: 14px 0 0; font-size: 15px; line-height: 1.75; }

/* Duration, format and fee, once they are filled in. */
.pcard__facts {
  display: grid; gap: 7px;
  margin: 20px 0 0; padding-top: 16px;
  border-top: 1px solid var(--card-rule);
  font-size: 14px;
}
.pcard__facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 10px; }
.pcard__facts dt { font-weight: 800; color: var(--card-head); }
.pcard__facts dd { margin: 0; }

/* The tab: square where it meets the card's left edge and bottom edge,
   rounded on the two free corners, with ::after filling the concave join. */
.pcard__cta {
  position: absolute; left: 0; top: 100%;
  display: inline-flex; align-items: center; gap: 10px;
  max-width: calc(100% - 20px);
  padding: 15px 26px;
  background: var(--card-bg);
  color: var(--card-head);
  border-radius: 0;
  font-size: 13px; font-weight: 800; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pcard__cta::after {
  content: "";
  position: absolute; left: 100%; top: 0;
  width: var(--notch); height: var(--notch);
  background: radial-gradient(circle at 100% 100%,
    transparent var(--notch), var(--card-bg) calc(var(--notch) + 0.5px));
}
.pcard__cta .licon { font-size: 18px; transition: transform 0.3s var(--ease); }
.pcard__cta:hover { background: var(--primary); color: #fff; }
.pcard--accent .pcard__cta:hover { background: var(--ink); color: #fff; }
.pcard--ink .pcard__cta:hover { background: var(--accent); color: var(--ink); }
.pcard__cta:hover .licon { transform: translateX(5px); }

/* A programme with a scheduled cohort says so. */
.pcard__tag {
  position: absolute; top: 24px; right: 24px;
  padding: 5px 13px;
  border-radius: 0;
  background: var(--card-chip);
  font-size: 11px; font-weight: 800; letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--card-head);
}

@media (max-width: 991px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pcards { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   The two routes in — one panel per audience, one button each
   ========================================================================== */
.routes {
  position: relative;
  display: grid;
  gap: 54px 26px;
  margin-top: clamp(54px, 6vw, 76px);
}
@media (min-width: 880px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 78px; } }

.route {
  --route-bg: var(--white);
  --route-fg: var(--text);
  --route-head: var(--heading);
  --route-mark: var(--primary);
  position: relative;
  display: flex; flex-direction: column;
  padding: 58px 36px 38px;
  border-radius: 0;
  background: var(--route-bg);
  color: var(--route-fg);
  text-align: center;
}
.route--ink { --route-bg: var(--ink); --route-fg: var(--on-ink-2); --route-head: #fff; --route-mark: var(--accent); }

/* The badge straddles the panel's top edge. */
.route__badge {
  position: absolute; top: 0; left: 50%;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 0;
  background: var(--route-mark);
  color: #fff;
  font-size: 26px;
}
.route--ink .route__badge { color: var(--ink); }
.route__title { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.35; color: var(--route-head); }
.route__text { margin: 12px auto 0; max-width: 44ch; font-size: 15.5px; line-height: 1.75; }

.route__list { display: grid; gap: 14px; margin: 26px 0 32px; text-align: left; }
.route__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 13px; align-items: start; font-size: 15px; line-height: 1.65; }
.route__list .licon { margin-top: 3px; font-size: 20px; color: var(--route-mark); }

.route__foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* The "or" sitting in the gutter between the two panels. */
.routes__or {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin: -27px auto;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 880px) {
  .routes__or { position: absolute; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); z-index: 2; }
}

/* ==========================================================================
   Left-aligned prose under a heading

   The blanket centring rule above catches any block that holds a .title-lg,
   including two-column bodies where centred copy fights the column beside
   it. This opts a block back out, heading, divider and paragraphs together.
   ========================================================================== */
.band .prose-left,
.band .prose-left > p,
.band .prose-left > .lead { text-align: left; margin-inline: 0; }
.band .prose-left > .divider {
  width: 58px;
  margin-inline: 0;
  background: linear-gradient(to right,
    var(--divider-color) 0 40px, transparent 40px 48px, var(--divider-dot) 48px 58px);
}

/* ==========================================================================
   Mission and vision — one statement each, under a gold pictogram
   ========================================================================== */
.mv { display: grid; gap: 46px; }
@media (min-width: 880px) { .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; } }

.mv__item { text-align: left; }
.mv__head { display: flex; align-items: center; gap: 20px; }
.mv__icon {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 30px;
}
@media (max-width: 575px) { .mv__head { gap: 16px; } .mv__icon { width: 54px; height: 54px; border-radius: 0; font-size: 26px; } }
.mv__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; color: #fff; }
.mv__item .divider { margin: 20px 0 24px; }
.mv__text { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.8; }

/* ==========================================================================
   The context we work in

   One tall feature panel carrying the headline statistic, four cards beside
   it, and a full-width strip for the condition that closes the argument.
   Every pictogram is gold, on whatever the panel's own ground is.
   ========================================================================== */
.ctx { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) {
  .ctx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctx__strip { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .ctx { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ctx__lead { grid-row: span 2; }
}

.ctx__icon {
  display: grid; place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 0;
  background: rgba(232, 150, 47, 0.14);
  color: var(--accent);
  font-size: 22px;
}

/* The feature panel. */
.ctx__lead {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding: 34px 32px 36px;
  border-radius: 0;
  background: var(--ink);
  color: var(--on-ink-2);
}
.ctx__lead .ctx__icon { background: rgba(255, 255, 255, 0.1); }
/* Two faint gold rings in the top corner, the only ornament on the page. */
.ctx__lead::after {
  content: "";
  position: absolute; top: -78px; right: -54px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 150, 47, 0.18);
  pointer-events: none;
}
.ctx__lead::before {
  content: "";
  position: absolute; top: 24px; right: 30px;
  width: 112px; height: 112px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 150, 47, 0.55);
  pointer-events: none;
}
.ctx__lead-body { position: relative; margin-top: auto; padding-top: 52px; }
.ctx__stat {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: clamp(44px, 4.6vw, 62px);
  font-weight: 700; line-height: 1;
  color: var(--accent);
}
.ctx__lead .ctx__title { font-size: clamp(24px, 2.3vw, 31px); color: #fff; }
.ctx__lead .ctx__text { font-size: 16px; }

/* The four cards. */
.ctx__card {
  display: flex; flex-direction: column;
  padding: 28px 26px 30px;
  border-radius: 0;
  background: var(--white);
}
.ctx__card-head { display: flex; align-items: flex-start; gap: 16px; }
.ctx__title { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35; color: var(--heading); }
.ctx__text { margin: 0; font-size: 15px; line-height: 1.75; }
.ctx__card .divider, .ctx__lead .divider { margin: 18px 0 20px; }

/* The closing strip. */
.ctx__strip {
  display: grid; gap: 20px 28px; align-items: center;
  padding: 28px 34px;
  border-radius: 0;
  background: var(--accent);
  color: rgba(9, 11, 64, 0.82);
}
@media (min-width: 780px) {
  .ctx__strip { grid-template-columns: auto auto minmax(0, 1fr); }
  .ctx__strip .ctx__text { border-left: 2px solid rgba(9, 11, 64, 0.25); padding-left: 28px; }
}
.ctx__strip .ctx__title { font-size: clamp(21px, 1.9vw, 26px); color: var(--ink); }
.ctx__strip .ctx__text { font-size: 16px; }
.ctx__badge {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 0;
  background: var(--ink);
  color: var(--accent);
  font-size: 26px;
}

/* ==========================================================================
   Partnerships page
   ========================================================================== */

/* ---- Channels: vertical slider ------------------------------------------
   Channel list on the left, a rule with a travelling knob in the middle,
   the active channel on the right with its pictogram drawn large. On a
   desktop the section fills the screen under the pinned header, and the
   wheel steps through it (see channels() in aiaie.js). */
.channels {
  --interval: 6500ms;
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.channels__inner { display: grid; gap: 44px; padding-block: var(--pad-y); }

.channels__nav { display: flex; flex-direction: column; }
.channels__title {
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: clamp(30px, 5vh, 60px);
  max-width: 11ch;
}

.channels__list { display: grid; justify-items: start; gap: 2px; }
.channels__tab {
  position: relative;
  display: flex; align-items: center;
  padding: 8px 0;
  font-size: 17px; font-weight: 600; line-height: 1.4;
  text-align: left;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}
.channels__tab:hover { color: var(--heading); }
.channels__tab.is-active { color: var(--primary); font-weight: 800; }
.channels__dot {
  position: absolute; left: 0; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform 0.45s var(--ease);
}
.channels__label { transition: transform 0.5s var(--ease); }
.channels__tab.is-active .channels__dot { transform: scale(1); }
.channels__tab.is-active .channels__label { transform: translateX(18px); }

/* The active tab's own timer: a gold hairline under its label. Its
   animationend is what advances the slider, so pausing the line pauses
   the slideshow. */
.channels__timer {
  position: absolute; left: 18px; right: -18px; bottom: 3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.channels.is-auto .channels__tab.is-active .channels__timer { animation: channels-timer var(--interval) linear forwards; }
.channels.is-paused .channels__tab.is-active .channels__timer { animation-play-state: paused; }
@keyframes channels-timer { to { transform: scaleX(1); } }

.channels__foot {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(30px, 6vh, 70px);
}
.channels__count {
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.channels__count [data-channels-current] { color: var(--primary); }
.channels__toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--heading);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.channels__toggle:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.channels__icon-play, .channels.is-held .channels__icon-pause { display: none; }
.channels.is-held .channels__icon-play { display: block; }

.channels__rule { display: none; position: relative; background: var(--line); }
.channels__fill {
  position: absolute; left: 0; top: 0;
  width: 1px; height: var(--knob-y, 0px);
  background: var(--primary);
  transition: height 0.8s var(--ease);
}
.channels__knob {
  position: absolute; left: -4px; top: -4.5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(11, 29, 158, 0.1);
  transform: translateY(var(--knob-y, 0px));
  transition: transform 0.8s var(--ease);
}

/* Panels share one grid cell, so the stage is as tall as the longest. */
.channels__stage { display: grid; align-items: center; }
.channels__panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  gap: 30px;
  visibility: hidden;
  pointer-events: none;
}
.channels__panel.is-active, .channels__panel.is-leaving { visibility: visible; }
.channels__panel.is-active { pointer-events: auto; }
/* A panel at rest snaps to its start position, so the next one in always
   comes from the right side whichever way the slider is moving. */
.channels__panel:not(.is-active):not(.is-leaving),
.channels__panel:not(.is-active):not(.is-leaving) *,
.channels__panel:not(.is-active):not(.is-leaving) .channels__art::before { transition: none !important; }

.channels__num {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.channels__num::after { content: ''; width: 40px; height: 1px; background: currentColor; }
.channels__name {
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--primary);
  margin-bottom: 24px;
}
/* Each word rises out of its own mask. */
.channels__name .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.channels__name .w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 0.9s var(--ease) calc(0.12s + var(--i) * 0.07s);
}
.channels__num, .channels__text, .channels__more {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease) 0.4s, transform 0.7s var(--ease) 0.4s;
}
.channels__text { max-width: 46ch; font-size: 17px; line-height: 1.75; }
.channels__num { transition-delay: 0.05s; }
.channels__more { margin-top: 26px; transition-delay: 0.5s; }

.channels__panel.is-active .w > span,
.channels__panel.is-active .channels__num,
.channels__panel.is-active .channels__text,
.channels__panel.is-active .channels__more { transform: none; opacity: 1; }

.channels__panel.is-leaving .w > span { transform: translateY(-108%); transition: transform 0.55s var(--ease) calc(var(--i) * 0.035s); }
.channels__panel.is-leaving .channels__num,
.channels__panel.is-leaving .channels__text,
.channels__panel.is-leaving .channels__more { opacity: 0; transform: translateY(-14px); transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }

/* Going back up, everything runs the other way. */
.channels__stage[data-dir="prev"] .channels__panel:not(.is-active) .w > span { transform: translateY(-108%); }
.channels__stage[data-dir="prev"] .channels__panel:not(.is-active) .channels__num,
.channels__stage[data-dir="prev"] .channels__panel:not(.is-active) .channels__text,
.channels__stage[data-dir="prev"] .channels__panel:not(.is-active) .channels__more { transform: translateY(-18px); }
.channels__stage[data-dir="prev"] .channels__panel.is-leaving .w > span { transform: translateY(108%); }
.channels__stage[data-dir="prev"] .channels__panel.is-leaving .channels__num,
.channels__stage[data-dir="prev"] .channels__panel.is-leaving .channels__text,
.channels__stage[data-dir="prev"] .channels__panel.is-leaving .channels__more { transform: translateY(14px); }

/* The figure: the channel's pictogram traced in, with three smaller,
   fainter echoes stacked above it, and a ring that opens around it. */
.channels__art {
  position: relative;
  display: none;
  width: clamp(150px, 17vw, 260px);
  aspect-ratio: 1 / 1.15;
  color: var(--primary);
}
.channels__art::before {
  content: '';
  position: absolute; left: -12%; right: -12%; bottom: -12%;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 29, 158, 0.28);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.9s var(--ease) 0.2s, transform 1.2s var(--ease) 0.2s;
}
.channels__echo {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: auto; aspect-ratio: 1;
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--k) * -24%)) scale(calc(1 - var(--k) * 0.2));
  opacity: calc(1 - var(--k) * 0.3);
}
.channels__echo * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) calc(0.25s + (3 - var(--k)) * 0.14s);
}
.channels__panel.is-active .channels__echo * { stroke-dashoffset: 0; }
.channels__panel.is-active .channels__art::before { opacity: 1; transform: none; }
.channels__panel.is-leaving .channels__echo * { stroke-dashoffset: -1; transition: stroke-dashoffset 0.6s var(--ease); }
.channels__panel.is-leaving .channels__art::before { opacity: 0; transform: scale(1.15); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }

@media (min-width: 576px) {
  .channels__panel { grid-template-columns: minmax(0, 1fr) auto; }
  .channels__art { display: block; width: clamp(110px, 22vw, 160px); }
}
@media (max-width: 991px) {
  .channels__nav { display: contents; }
  .channels__title { order: -2; max-width: none; margin-bottom: 0; }
  .channels__stage { order: -1; }
  .channels__foot { margin-top: 0; }
}
@media (min-width: 992px) {
  .channels {
    height: 100vh; height: 100svh;
    min-height: 620px;
    padding-top: 70px;   /* the pinned header */
  }
  .channels__inner {
    height: 100%;
    grid-template-columns: minmax(0, 5fr) 1px minmax(0, 8fr);
    gap: 0 clamp(40px, 5vw, 90px);
    padding-block: 0;
  }
  .channels__nav { justify-content: center; padding-block: 40px; }
  .channels__rule { display: block; }
  .channels__art { width: clamp(170px, 17vw, 260px); }
}

/* ---- Exchange: what each side brings ------------------------------------ */
.exchange { display: grid; gap: 40px; }
.exchange__head {
  margin-bottom: 22px;
  font-family: var(--font-body); font-size: 14px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.exchange__list { display: grid; gap: 12px; }
.exchange__item { position: relative; }
.exchange__item.rise { transition-delay: calc(0.15s + var(--d) * 0.09s); }
.exchange__item > span {
  display: inline-flex;
  padding: 13px 22px;
  border: 1px solid var(--line-ink);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.4;
  color: #fff;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.exchange__item:hover > span { border-color: var(--accent); background: rgba(232, 150, 47, 0.08); }

.exchange__hub { position: relative; display: grid; justify-items: center; align-content: center; gap: 22px; }
.exchange__spine { display: none; }
.exchange__core {
  position: relative;
  isolation: isolate;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  margin: 14px;
  color: var(--accent);
  font-size: 40px;
}
/* A diamond, and a second one that keeps breathing out from it. */
.exchange__core::before, .exchange__core::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--accent);
  background: var(--ink);
  transform: rotate(45deg);
  z-index: -1;
}
.exchange__core::after { background: none; animation: exchange-pulse 3.2s var(--ease) infinite; }
@keyframes exchange-pulse {
  from { opacity: 0.8; transform: rotate(45deg) scale(1); }
  to { opacity: 0; transform: rotate(45deg) scale(1.7); }
}
.exchange__hub-label {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-ink-2);
}

@media (min-width: 992px) {
  .exchange { grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); gap: 0; align-items: start; }
  .exchange__hub-label { position: relative; padding: 4px 8px; background: var(--ink); }
  .exchange__side--ours { text-align: right; }
  .exchange__hub { align-self: stretch; }
  .exchange__spine {
    display: block;
    position: absolute; top: 56px; bottom: 6px; left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line-ink) 15% 85%, transparent);
  }
  .exchange__core { z-index: 1; }
  /* Each item is wired to the spine; a gold pulse runs along the wire
     towards the middle, from both sides. */
  .exchange__item::after {
    content: '';
    position: absolute; top: 50%;
    width: 120px; height: 1px;
    background:
      linear-gradient(90deg, transparent 0 42%, var(--accent) 50%, transparent 58% 100%) 0 0 / 260% 100% no-repeat,
      var(--line-ink);
    animation: exchange-flow-in 3.4s linear infinite;
    animation-delay: calc(var(--d) * -0.7s);
  }
  .exchange__side--ours .exchange__item::after { left: 100%; }
  .exchange__side--theirs .exchange__item::after { right: 100%; animation-name: exchange-flow-back; }
}
@keyframes exchange-flow-in { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }
@keyframes exchange-flow-back { from { background-position: 0% 0, 0 0; } to { background-position: 100% 0, 0 0; } }

/* ---- Red lines: what the institute will not do -------------------------- */
.redlines {
  display: grid; gap: 30px;
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line-ink);
}
.redlines__title { font-size: clamp(24px, 2.4vw, 30px); }
.redlines__grid { display: grid; gap: 34px; }
.redline__word {
  font-family: var(--font-head); font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.3;
  color: #fff;
  /* The strike is a background so it runs across every line the words wrap to. */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 0% 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.9s var(--ease) 0.6s, color 0.6s var(--ease) 1.3s;
}
.redline.is-in .redline__word { background-size: 100% 3px; color: var(--on-ink-2); }
.redline__text { margin-top: 12px; font-size: 17px; }
@media (min-width: 768px) { .redlines__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; } }
@media (min-width: 992px) { .redlines { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; } }

/* ---- Propose: intro beside a paged form card ---------------------------- */
.propose { display: grid; gap: 50px; }
@media (min-width: 992px) {
  .propose { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(50px, 7vw, 110px); align-items: center; }
}
.propose__eyebrow {
  display: block;
  margin-bottom: 16px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.propose__title {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.2vw, 56px); font-weight: 500; line-height: 1.15;
  letter-spacing: -0.01em;
}
.propose__title strong { font-weight: 700; color: var(--primary); }
.propose__text { max-width: 48ch; }
.propose__contacts { display: grid; gap: 26px; margin-top: 40px; }
.propose__contacts li { display: flex; align-items: center; gap: 18px; }
.propose__contacts .licon { font-size: 30px; color: var(--primary); }
.propose__contacts small { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); }
.propose__contacts a { font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--heading); }
.propose__contacts a:hover { color: var(--primary); }

.pform { position: relative; background: var(--white); box-shadow: var(--shadow-lg); }
.pform__progress { height: 3px; background: var(--line); overflow: hidden; }
.pform__progress span { display: block; height: 100%; background: var(--primary); transition: width 0.6s var(--ease); }
.pform__body { padding: clamp(26px, 4vw, 48px); }
.pform__status { display: grid; gap: 2px; margin-bottom: 26px; }
.pform__status span {
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.pform__status strong { font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--heading); }
.pform__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.pform__step + .pform__step { margin-top: 26px; }
.band--paper .pform .field input,
.band--paper .pform .field select,
.band--paper .pform .field textarea { background-color: var(--paper); }
.band--paper .pform .field input:focus,
.band--paper .pform .field select:focus,
.band--paper .pform .field textarea:focus { background-color: var(--white); }
.pform .field textarea { min-height: 130px; }
.pform .consent { display: grid; gap: 12px; }

/* Without the script the form is one long page; with it, one step shows. */
form:not(.is-paged) .pform__status { display: none; }
form.is-paged .pform__step { display: none; margin-top: 0; }
form.is-paged .pform__step.is-current { display: block; }
.pform__step.is-from-next { animation: pform-in 0.5s var(--ease); }
.pform__step.is-from-prev { animation: pform-in 0.5s var(--ease); --from: -28px; }
@keyframes pform-in { from { opacity: 0; transform: translateX(var(--from, 28px)); } }

.pform__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.pform__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}
.pform__back:hover { color: var(--heading); }
.pform__go { margin-left: auto; gap: 16px; padding: 8px 30px 8px 8px; }
.pform__chip {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #fff; color: var(--primary);
}
.pform__chip .licon { transition: transform 0.3s var(--ease); }
.pform__go:hover .pform__chip .licon { transform: translateX(3px); }
@media (max-width: 480px) { .pform__go { margin-left: 0; width: 100%; justify-content: flex-start; } }

/* ==========================================================================
   Events page: flagship event, copy beside its photograph
   ========================================================================== */
.summit { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) {
  .summit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(50px, 6vw, 90px); }
}
.summit .divider { margin-bottom: 24px; }
.summit__text { max-width: 52ch; font-size: 17px; }
.summit__facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 30px; }
.summit__facts li { display: flex; align-items: center; gap: 14px; }
.summit__facts .licon { font-size: 28px; color: var(--primary); }
.summit__facts span { display: grid; font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--heading); }
.summit__facts small { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.summit__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.summit__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.summit__media { aspect-ratio: 4 / 3; overflow: hidden; }
.summit__media img { width: 100%; height: 100%; object-fit: cover; }
/* Beside a photo the copy reads left-aligned, so this block opts out of the
   site-wide centred heading. */
.summit__copy { text-align: left; }
.summit__copy > p { margin-inline: 0; }
.summit__copy > .divider {
  width: 58px; margin-inline: 0;
  background: linear-gradient(to right,
    var(--divider-color) 0 40px, transparent 40px 48px, var(--divider-dot) 48px 58px);
}

/* ==========================================================================
   What We Do: practice cards and the engagement timeline
   ========================================================================== */

/* ---- Practice cards: four across, number upright on the right edge ------ */
.practice-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .practice-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.practice-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 30px 70px 30px 28px;
  background: var(--paper);
  overflow: hidden;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.practice-card:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.practice-card__num {
  position: absolute; top: 26px; right: 14px;
  writing-mode: vertical-rl;
  font-family: var(--font-head); font-size: 56px; font-weight: 700; line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px #CBCEE2;
  transition: -webkit-text-stroke-color 0.35s var(--ease), color 0.35s var(--ease);
}
.practice-card:hover .practice-card__num { color: rgba(232, 150, 47, 0.12); -webkit-text-stroke-color: var(--accent); }
.practice-card__title { font-size: 20px; line-height: 1.35; }
.practice-card__link { color: inherit; }
.practice-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.practice-card:hover .practice-card__link { color: var(--primary); }
.practice-card__icon {
  margin-top: 24px;
  font-size: 40px;
  color: var(--primary);
  transition: transform 0.4s var(--ease);
}
.practice-card:hover .practice-card__icon { transform: translateY(-3px) rotate(-6deg); }
.practice-card__text { margin-top: auto; padding-top: 26px; font-size: 15px; line-height: 1.7; }
.practice-card__links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; }
.practice-card__links .more { font-size: 13px; }

/* ---- Engagement timeline: stages alternate either side of a centre line -- */
.tline { position: relative; display: grid; gap: 36px; max-width: 980px; margin-inline: auto; }
.tline::before {
  content: '';
  position: absolute; top: 8px; bottom: 0; left: 9px;
  width: 2px;
  background: #D9DBEA;
}
.tline__item { position: relative; padding-left: 46px; }
.tline__dot {
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid #CBCEE2;
  display: grid; place-items: center;
  transition: border-color 0.5s var(--ease) 0.2s;
}
.tline__dot::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  transform: scale(0);
  transition: transform 0.5s var(--ease) 0.3s;
}
.tline__item.is-in .tline__dot { border-color: rgba(11, 29, 158, 0.35); }
.tline__item.is-in .tline__dot::after { transform: scale(1); }
.tline__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px; font-weight: 800; line-height: 20px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary);
}
.tline__card { padding: 24px 28px; background: var(--white); box-shadow: var(--shadow); }
.tline__title { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.tline__text { font-size: 16px; line-height: 1.75; }
.tline__note { max-width: 62ch; margin: 56px auto 0; text-align: center; font-size: 17px; color: var(--heading); }

@media (min-width: 768px) {
  .tline::before { left: 50%; margin-left: -1px; }
  .tline__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 80px; padding-left: 0; }
  .tline__dot { left: 50%; margin-left: -10px; }
  .tline__body { grid-column: 1; }
  .tline__item--right .tline__body { grid-column: 2; }
  .tline__item:not(.tline__item--right) .tline__label { text-align: right; }
  /* Each card slides in from its own side. */
  .tline__item.rise { transform: translateX(-30px); }
  .tline__item--right.rise { transform: translateX(30px); }
  .tline__item.rise.is-in { transform: none; }
}

/* ==========================================================================
   Home "Who we are": two circular photos under a gold ring on the left,
   the introduction on the right, over a pale shape bleeding off the left.
   ========================================================================== */
.intro {
  position: relative;
  padding-block: var(--pad-y);
  background: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.intro::before {
  content: '';
  position: absolute; z-index: -1;
  top: clamp(30px, 4vw, 60px); bottom: clamp(30px, 4vw, 60px); left: 0;
  width: 46%;
  background: var(--paper);
  border-radius: 0 999px 999px 0;
}
.intro__grid {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 992px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.intro__media {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.intro__photo { position: absolute; border-radius: 50%; object-fit: cover; }
.intro__photo--main { top: 0; right: 0; width: 80%; height: 80%; }
.intro__photo--small {
  bottom: 0; left: 6%;
  width: 40%; height: 40%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}
.intro__ring {
  position: absolute; z-index: 1;
  top: 3%; left: 0;
  width: 68%; height: 68%;
  border: 3px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
}

.intro__rule { display: block; width: 40px; height: 2px; margin-bottom: 16px; background: var(--accent); }
.intro__kicker {
  margin-bottom: 12px;
  font-size: 16px; font-weight: 700;
  color: var(--text);
}
.intro__title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.intro__text { margin-top: 22px; max-width: 54ch; font-size: 17px; line-height: 1.75; color: var(--text); }
.intro__quote {
  margin-top: 28px;
  padding: 20px 26px;
  background: var(--paper);
  border-left: 4px solid var(--accent);
  font-size: 17px; font-weight: 600; line-height: 1.6;
  color: var(--heading);
}
.intro__quote strong { font-weight: 700; color: var(--primary); }

.intro__points { display: grid; gap: 24px 40px; margin-top: 32px; }
@media (min-width: 560px) { .intro__points { grid-template-columns: 1fr 1fr; } }
.intro__point-title {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-size: 19px; font-weight: 700;
  color: var(--heading);
}
.intro__point-title i { color: var(--accent); font-size: 18px; }
.intro__point p { font-size: 16px; line-height: 1.7; color: var(--text); }
.intro .btn-row { margin-top: 36px; }

/* Stacked: the pale shape becomes a full-width band behind the photos. */
@media (max-width: 991px) {
  .intro::before { width: 100%; bottom: auto; height: calc(min(100vw - 2 * var(--gutter), 540px) + 60px); border-radius: 0; }
}

/* ==========================================================================
   Sector cards (Who We Serve): near-square tiles, square corners. A pale
   tile turns ink on hover; the first tile shows that state at rest and
   hands it over while another tile is hovered.
   ========================================================================== */
.scards {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) { .scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .scards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.scard {
  display: flex; flex-direction: column; align-items: flex-start;
  /* stretch: cards whose copy outgrows the ratio still match their row */
  align-self: stretch;
  width: 100%; min-width: 0;
  aspect-ratio: 1;
  padding: clamp(26px, 2.6vw, 36px);
  background: var(--scard-bg);
  border-radius: 0;
  scroll-margin-top: 100px;
  /* keeps the .rise reveal alongside the colour change */
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), background-color 0.35s var(--ease);
}
/* Pale at rest. The second selector returns the first card to pale while
   another card is hovered. */
.scard,
.scards:has(.scard:hover) .scard:first-child:not(:hover) {
  --scard-bg: #E6E8F4;
  --scard-head: var(--heading);
  --scard-text: var(--text);
  --scard-icon: var(--primary);
  --scard-btn-bg: var(--ink);
  --scard-btn-fg: #fff;
}
.scard:first-child,
.scard:hover,
.scard:focus-within {
  --scard-bg: var(--ink);
  --scard-head: #fff;
  --scard-text: var(--on-ink-2);
  --scard-icon: var(--accent);
  --scard-btn-bg: rgba(255, 255, 255, 0.14);
  --scard-btn-fg: #fff;
}
.scard__icon { font-size: 36px; color: var(--scard-icon); transition: color 0.35s var(--ease); }
.scard__title {
  margin-top: 20px;
  font-size: clamp(20px, 1.7vw, 23px); font-weight: 700; line-height: 1.3;
  color: var(--scard-head);
  transition: color 0.35s var(--ease);
}
.scard__text {
  margin: 10px 0 22px;
  font-size: 15.5px; line-height: 1.65;
  color: var(--scard-text);
  transition: color 0.35s var(--ease);
}
.scard__btn {
  display: inline-flex; align-items: center;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 24px;
  border-radius: 0;
  background: var(--scard-btn-bg);
  color: var(--scard-btn-fg);
  font-size: 15px; font-weight: 800;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.scard__btn:hover { background: var(--accent); color: var(--ink); }
@media (max-width: 639px) { .scard { aspect-ratio: auto; } }

/* ==========================================================================
   Practice pages: "What is covered" cards, then how it runs and what you
   receive beside a sticky practice explorer.
   ========================================================================== */
.pcovers { display: grid; gap: 24px; }
@media (min-width: 768px) { .pcovers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcover {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(28px, 3vw, 40px);
  background: var(--white);
  border-top: 3px solid transparent;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pcover:hover { border-top-color: var(--accent); box-shadow: var(--shadow); }
.pcover__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  background: var(--ink);
  color: var(--accent);
  font-size: 30px;
}
.pcover__title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.35; }
.pcover__text { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.pcovers__cta { display: flex; justify-content: center; margin-top: clamp(40px, 4vw, 56px); }

.pdelivery { display: grid; gap: 40px; align-content: start; }
.prun {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  background: var(--ink);
  color: var(--on-ink-2);
  border-left: 4px solid var(--accent);
}
.prun__icon { display: block; font-size: 40px; color: var(--accent); }
.prun__title { margin-top: 20px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; color: #fff; }
.prun__text { margin-top: 14px; font-size: 17px; line-height: 1.8; }

.preceive__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; }
.preceive .divider { margin: 16px 0 10px; }
.preceive__list { display: grid; }
.preceive__list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; line-height: 1.5;
  color: var(--heading);
}
.preceive__list li:last-child { border-bottom: 0; }
.preceive__num { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1; color: var(--accent); }

@media (min-width: 1000px) {
  .aside--sticky { position: sticky; top: 100px; align-self: start; }
}
