/* EIU-Paris home — v2 layer (loaded after styles.css)
   Adds: red top bar, animated hero background + box slider, centred mega menu,
   CTA buttons, View all list, motion (reveals / counters / hover lifts),
   animated Community, CTA band, richer footer.
   Palette unchanged: #9A0805 #B70A14 #284A8D white/gray. Inter.
*/

/* ---------- Shared bits ---------- */
.btn { position: relative; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.btn--sm { padding: .6rem .9rem; font-size: .8125rem; }
.btn--bright { background: var(--red-bright); }
.btn--bright:hover { background: var(--red); }
.btn--red:hover { box-shadow: 0 8px 20px rgba(154, 8, 5, .22); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--white); color: var(--red-bright); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }

.btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: -.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: transform .2s var(--ease);
}
.btn--white .btn__arrow { background: var(--red-soft); }
.btn:hover .btn__arrow { transform: translateX(2px); }

.btn--shine { overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-80px) skewX(-20deg);
  animation: eiu-shine 4.8s var(--ease) infinite;
  pointer-events: none;
  z-index: 1;
}
.btn--white.btn--shine::after { background: linear-gradient(90deg, transparent, rgba(183, 10, 20, .14), transparent); }
@keyframes eiu-shine {
  0%, 62% { transform: translateX(-80px) skewX(-20deg); }
  100% { transform: translateX(420px) skewX(-20deg); }
}

/* ---------- Red top bar ---------- */
.topbar {
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 500;
  position: relative;
  z-index: 210;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 34px;
}
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__wa { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__wa svg { flex-shrink: 0; }
.topbar__wa-label { opacity: .88; }
.topbar__wa strong { font-weight: 650; }
.topbar__links { display: flex; align-items: center; gap: 0 .95rem; white-space: nowrap; }
.topbar__links a + a { padding-left: .95rem; border-left: 1px solid rgba(255, 255, 255, .35); }
.topbar :focus-visible { outline-color: var(--white); }

/* Header: the desktop utility row moved to the top bar */
.header-cluster { gap: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__img {
  position: absolute;
  inset: 0;
  background: url("../img/hero/paris-bg.jpg") center 62% / cover no-repeat;
  opacity: .17;
}
.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .5) 32%, rgba(255, 255, 255, .25) 62%, rgba(255, 255, 255, .5) 100%),
    linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 22%);
}
.hero__blob { position: absolute; border-radius: 50%; will-change: transform; }
.hero__blob--1 { width: 460px; height: 460px; right: 8%; top: -140px; background: radial-gradient(circle, rgba(183, 10, 20, .24), rgba(183, 10, 20, 0) 68%); animation: eiu-drift-a 22s ease-in-out infinite alternate; }
.hero__blob--2 { width: 540px; height: 540px; left: -160px; bottom: -280px; background: radial-gradient(circle, rgba(40, 74, 141, .22), rgba(40, 74, 141, 0) 68%); animation: eiu-drift-b 26s ease-in-out infinite alternate; }
.hero__blob--3 { width: 300px; height: 300px; right: -70px; bottom: -50px; background: radial-gradient(circle, rgba(40, 74, 141, .18), rgba(40, 74, 141, 0) 68%); animation: eiu-drift-a 30s ease-in-out infinite alternate-reverse; }
.hero__lines { position: absolute; left: 0; bottom: 0; width: 110%; height: 100%; fill: none; animation: eiu-lines 28s ease-in-out infinite alternate; }
@keyframes eiu-drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-70px, 50px, 0) scale(1.08); } }
@keyframes eiu-drift-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(90px, -40px, 0) scale(1.06); } }
@keyframes eiu-lines { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8%, -14px, 0); } }

.hero__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: 2rem 2.75rem;
  padding-block: 2.6rem 2.4rem;
  min-height: 520px;
}
.hero__lead { max-width: 40ch; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin-top: 1.7rem;
  font-size: .75rem;
  color: var(--muted);
}
.hero__trust li { display: inline-block; }
.hero__trust li + li::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; border-radius: 50%; background: #B8BEC9; margin: -2px .8rem 0 0; }
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* ---------- Box slider ---------- */
.slider { position: relative; min-width: 0; }
.slider__stage { position: relative; padding: 22px 26px 0; }
.slider__ghost {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 22px;
  bottom: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(20, 30, 60, .07);
}
.slider__ghost { transform-origin: 50% 0; }
.slider__ghost--1 { transform: translateY(-11px) scale(.955); opacity: .85; }
.slider__ghost--2 { transform: translateY(-21px) scale(.91); opacity: .55; }
.slider__card {
  position: relative;
  background: var(--white);
  border: 1px solid #E7E9EE;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20, 30, 60, .16);
  overflow: hidden;
}
.slider__tabs {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 0 1.4rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.slider__tabs::-webkit-scrollbar { display: none; }
.slider__tab {
  position: relative;
  flex-shrink: 0;
  padding: .85rem 0 .8rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.slider__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.slider__tab:hover { color: var(--ink); }
.slider__tab[aria-selected="true"] { color: var(--red); }
.slider__tab[aria-selected="true"]::after { transform: scaleX(1); }
.slider__tab:focus-visible { outline-offset: -2px; }
.slider__count { margin-left: auto; align-self: center; font-size: .72rem; font-weight: 500; color: #636A77; white-space: nowrap; font-variant-numeric: tabular-nums; }

.slider__slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s linear .55s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s; }
.slide__band { position: relative; height: 104px; background: var(--navy) center 35% / cover no-repeat; }
.slide__band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(154, 8, 5, .93), rgba(183, 10, 20, .8) 55%, rgba(40, 74, 141, .78)); }
.slide__logos {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .45rem 1.05rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
/* Nov 1c (Christian): every logo in the white tile renders at ONE visual height (crest = ACBSP = partner logo),
   auto width, centred on the divider. Change --slide-logo-h to resize them all together. */
.slide__logos { --slide-logo-h: 60px; }
.slide__logos img, .slide__logos .slide__badge, .slide__logos .slide__badge--wide { display: block; height: var(--slide-logo-h); width: auto; max-width: none; object-fit: contain; }
.slide__logos .slide__badge--wide { border-radius: 4px; }  /* landscape partner logo (BioDyslexia) */
.slide__sep { width: 1px; height: calc(var(--slide-logo-h) - 14px); background: var(--line); }
.slide__body { flex: 1; padding: 2.75rem 2rem 1.1rem; text-align: center; }
.slide__title { font-size: 1.08rem; line-height: 1.38; font-weight: 650; letter-spacing: -.01em; max-width: 34ch; margin-inline: auto; }
.slide__pills { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .45rem; margin: .9rem 0 .75rem; }
.slide__pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border: 1px solid #E6C9C9;
  border-radius: 999px;
  background: #FDF6F6;
  color: var(--red);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.slide__pill:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.slide__more { font-size: .75rem; color: var(--muted); font-style: italic; }
.slide__text { font-size: .82rem; color: var(--muted); }
.slide__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .75rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.slide__email a { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px dashed currentColor; }
.slide__email a:hover { border-bottom-style: solid; }

.slider__arrow {
  position: absolute;
  top: 46%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.slider__arrow--prev { left: 6px; }
.slider__arrow--next { right: 6px; }
.slider__arrow:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.slider__arrow--prev:hover { transform: translateX(-2px); }
.slider__arrow--next:hover { transform: translateX(2px); }

.slider__controls { display: flex; align-items: center; gap: .9rem; padding: .85rem 26px 0; }
.slider__dots { display: flex; align-items: center; gap: .15rem; }
.slider__dot {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background: #C3C9D2;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.slider__dot.is-active::before { width: 22px; background: var(--red); }
.slider__dot.is-active { width: 34px; }
.slider__progress { flex: 1; height: 3px; border-radius: 2px; background: #E3E6EB; overflow: hidden; }
.slider__progress i { display: block; height: 100%; background: var(--red); transform-origin: left center; transform: scaleX(0); }
.slider__pause {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.slider__pause:hover { border-color: var(--red); color: var(--red); }
.slider__pause .i-play { display: none; }
.slider__pause.is-paused .i-play { display: block; }
.slider__pause.is-paused .i-pause { display: none; }

/* ---------- Mega menu: centred panel + caret ---------- */
.mega-panel { overflow: visible; padding: 0; max-height: none; }
.mega-panel__inner {
  max-height: min(calc(100vh - var(--header-bottom) - 1.5rem), 700px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: .95rem;
  border-radius: inherit;
}
@media (min-width: 980px) {
  .site-header__inner { position: relative; }
  .primary-nav__item--mega[data-layout="cards"] { position: static; }
  .mega-panel--programmes {
    left: 50%;
    right: auto;
    top: calc(100% - .15rem);
    width: min(1120px, calc(100vw - 2rem));
    transform: translate(-50%, 6px);
    border-radius: 14px;
    box-shadow: 0 30px 70px rgba(15, 25, 50, .22);
  }
  .primary-nav__item--mega.is-open > .mega-panel--programmes { transform: translate(-50%, 0); }
  .mega-panel--programmes::before { top: -26px; height: 26px; }
  .mega-panel--programmes::after {
    content: "";
    position: absolute;
    top: -7px;
    left: var(--caret, 50%);
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: var(--white);
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    transform: rotate(45deg);
  }
}

.featured-pathway {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #F6F7F9, #FBF3F3);
  padding: .95rem 1.1rem;
}
.featured-pathway::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 10, 20, .12), transparent 70%);
  pointer-events: none;
}
.featured-pathway__mark { width: 54px; height: 54px; border-radius: 10px; }
.featured-pathway__cta { position: relative; z-index: 1; gap: .5rem; padding: .5rem .55rem .5rem .95rem; border-radius: 6px; font-size: .8125rem; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.featured-pathway__cta:hover { box-shadow: 0 8px 18px rgba(154, 8, 5, .22); }

.prog-cards__grid { gap: .6rem .85rem; }
.prog-card--expand.is-open { box-shadow: 0 8px 24px rgba(20, 30, 60, .08); }
.prog-card__body { background: var(--white); padding: .55rem .6rem .65rem; }

/* CTA buttons inside cards (formerly "View …" links) */
.prog-card__ctas { display: flex; flex-wrap: wrap; gap: .45rem; margin: .1rem 0 .55rem; }
.mega-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .45rem .45rem .8rem;
  border: 1px solid var(--red);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.mega-cta--primary { background: var(--red); color: var(--white); }
.mega-cta--primary:hover { background: var(--red-bright); border-color: var(--red-bright); color: var(--white); box-shadow: 0 6px 16px rgba(154, 8, 5, .2); }
.mega-cta--secondary { background: var(--white); color: var(--red); }
.mega-cta--secondary:hover { background: var(--red-soft); color: var(--red); }
.mega-cta__arrow {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: transform .2s var(--ease);
  flex-shrink: 0;
}
.mega-cta--secondary .mega-cta__arrow,
.featured-pathway__cta .mega-cta__arrow { background: rgba(255, 255, 255, .22); }
.mega-cta--secondary .mega-cta__arrow { background: var(--red-soft); }
.mega-cta:hover .mega-cta__arrow,
.featured-pathway__cta:hover .mega-cta__arrow { transform: translateX(2px); }

/* Programme lists */
.prog-card__list a { position: relative; padding-left: 1.15rem; }
.prog-card__list a::before {
  content: "";
  position: absolute;
  left: .5rem;
  top: .95em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C9CED6;
}
.prog-card__list a:hover::before { background: var(--red); }
.prog-card__list--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: .5rem; max-height: none; }
.prog-card__sub {
  margin: .55rem .55rem .15rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.prog-card__list--resources a { color: var(--muted); }

.prog-card__scroll {
  position: relative;
  max-height: 212px;
  overflow: auto;
  padding-right: .25rem;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 48px), transparent);
  scrollbar-width: thin;
  scrollbar-color: #B7BDC8 #EEF0F3;
}
.prog-card__scroll .prog-card__list { max-height: none; overflow: visible; }
.prog-card__scroll:focus-visible { outline-offset: 1px; }

.viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin-top: .5rem;
  padding: .55rem;
  border: 1.5px dashed #D8B4B4;
  border-radius: 8px;
  background: #FDF8F8;
  color: var(--red);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.viewall:hover { background: var(--red-soft); border-color: var(--red); }
.viewall__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 .25rem;
  border-radius: 9px;
  background: var(--red);
  color: var(--white);
  font-size: .62rem;
  font-weight: 700;
}

/* Mobile accordion CTA buttons */
.mobile-acc-cta { padding: .45rem 0; }
.mobile-acc-group .mega-cta { display: inline-flex; border-bottom: 1px solid var(--red); padding: .55rem .5rem .55rem .9rem; font-size: .88rem; }
.mobile-acc-group .mega-cta--primary { color: var(--white); }
.mobile-acc-group .mega-cta--secondary { color: var(--red); }

/* ---------- Hover lifts ---------- */
/* Programme cards (sketch E): icon tile, number top-right, arrow-chip links on one baseline */
.pathway {
  position: relative;
  border-radius: 12px;
  padding: 1.35rem 1.35rem 1.4rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pathway::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.pathway__top { align-items: flex-start; margin-bottom: 1.1rem; }
.pathway__tile {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FBEDED;
  color: var(--red-bright);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.pathway__tile svg { width: 22px; height: 22px; display: block; }
.pathway__num { margin-top: .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--red-bright); }
.pathway h3 { font-size: 1rem; line-height: 1.35; }
.pathway p { font-size: .84rem; line-height: 1.5; }
.pathway__link {
  margin-top: auto;
  padding-top: .35rem;
  gap: .6rem;
  align-self: flex-start;
  font-size: .85rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.pathway__chip {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FBEDED;
  color: var(--red);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.pathway__link:hover { color: var(--red); text-decoration: none; }
.pathway:hover,
.pathway:focus-within {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 18px 40px rgba(20, 30, 60, .14);
}
.pathway:hover::before,
.pathway:focus-within::before { transform: scaleX(1); }
.pathway:hover .pathway__tile,
.pathway:focus-within .pathway__tile { background: var(--navy); color: var(--white); }
.pathway:hover .pathway__chip,
.pathway:focus-within .pathway__chip { background: var(--red); color: var(--white); transform: translateX(4px); }
.pathway__link:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
/* whole card is clickable via the link */
.pathway__link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }

/* ---------- Programmes: Concept P2 bento (markup from scripts/build_landing_programmes.py) ----------
   Featured card (ACBSP) large with its badge; the other cards are light tinted tiles. Any number of cards: the
   builder picks .pathway-grid--bento / --plain / --solo and marks wide cards. Mobile first: one column with compact
   rows, 2 columns from 641px, the bento from 1024px. */
.programmes--p2 .pathway-grid--bento,
.programmes--p2 .pathway-grid--plain,
.programmes--p2 .pathway-grid--solo { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.programmes--p2 .pathway { border: 0; border-radius: 16px; min-height: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.programmes--p2 .pathway::before { display: none; }
.programmes--p2 .pathway__link::after { border-radius: 16px; }
.programmes--p2 .pathway__body { min-width: 0; }
.programmes--p2 .pathway h3 { color: var(--ink); }
.programmes--p2 .pathway p { color: var(--muted); }
.programmes--p2 .pathway__tile { background: var(--white); }
.programmes--p2 .pathway__chip { background: var(--white); }
.programmes--p2 .pathway--navy { background: #EEF2FA; }
.programmes--p2 .pathway--navy .pathway__tile { color: var(--navy); }
.programmes--p2 .pathway--red { background: var(--red-soft); }
.programmes--p2 .pathway--grey { background: #EEF0F4; box-shadow: inset 0 0 0 1px var(--line); }
.programmes--p2 .pathway--grey .pathway__tile { color: var(--navy-deep); }
/* featured */
.programmes--p2 .pathway--feat {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, #FFFFFF 0%, #F5F7FC 55%, #E7EDF8 100%);
  box-shadow: inset 0 0 0 1px #DCE3F0;
  padding: 1.35rem;
}
.programmes--p2 .pathway--feat h3 { font-size: clamp(1.25rem, 1rem + .7vw, 1.55rem); line-height: 1.25; max-width: 16ch; letter-spacing: -.02em; }
.programmes--p2 .pathway--feat p { font-size: .95rem; max-width: 28ch; }
.programmes--p2 .pathway--feat:has(.pathway__art) p { max-width: none; padding-right: 72px; }
.programmes--p2 .pathway--feat .pathway__tile,
.programmes--p2 .pathway--feat:hover .pathway__tile,
.programmes--p2 .pathway--feat:focus-within .pathway__tile { width: 56px; height: 56px; border-radius: 12px; background: var(--red); color: var(--white); }
.programmes--p2 .pathway--feat .pathway__tile svg { width: 26px; height: 26px; }
.programmes--p2 .pathway--feat .pathway__chip { background: #FBEDED; }
.programmes--p2 .pathway__art { position: absolute; right: 1.1rem; bottom: 1.1rem; width: 64px; pointer-events: none; }
.programmes--p2 .pathway__art img { display: block; width: 100%; height: auto; }
.programmes--p2 .pathway--feat .pathway__link { margin-top: auto; padding-top: 1rem; }
/* other cards on phones: compact row, icon + number on the left, text and link on the right */
.programmes--p2 .pathway:not(.pathway--feat) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-items: start; padding: 1rem 1.1rem; }
.programmes--p2 .pathway:not(.pathway--feat) .pathway__top { grid-row: 1 / 3; margin: 0; flex-direction: column; gap: .45rem; align-items: center; }
.programmes--p2 .pathway:not(.pathway--feat) h3 { margin: 0 0 .2rem; }
.programmes--p2 .pathway:not(.pathway--feat) p { margin: 0 0 .5rem; }
.programmes--p2 .pathway:not(.pathway--feat) .pathway__link { grid-column: 2; margin: 0; padding: 0; }
/* hover / focus: gentle lift, icon tilt (the shared v2 rule turns the tile navy and nudges the chip) */
.programmes--p2 .pathway:hover,
.programmes--p2 .pathway:focus-within { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(26, 50, 104, .35); }
.programmes--p2 .pathway--feat:hover,
.programmes--p2 .pathway--feat:focus-within { box-shadow: inset 0 0 0 1px #DCE3F0, 0 18px 36px -18px rgba(26, 50, 104, .35); }
.programmes--p2 .pathway__tile svg { transition: transform .35s var(--ease); }
.programmes--p2 .pathway:hover .pathway__tile svg,
.programmes--p2 .pathway:focus-within .pathway__tile svg { transform: rotate(-8deg) scale(1.06); }
@media (min-width: 641px) {
  .programmes--p2 .pathway-grid--bento,
  .programmes--p2 .pathway-grid--plain,
  .programmes--p2 .pathway-grid--solo { gap: 1rem; }
  .programmes--p2 .pathway-grid--bento,
  .programmes--p2 .pathway-grid--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programmes--p2 .pathway--feat { padding: 1.75rem 1.75rem 1.6rem; }
  .programmes--p2 .pathway--feat:has(.pathway__art) p { max-width: 28ch; padding-right: 0; }
  .programmes--p2 .pathway__art { right: 1.5rem; bottom: 1.4rem; width: 96px; }
  /* back to the stacked card: icon + number on top, then title, line and link */
  .programmes--p2 .pathway:not(.pathway--feat) { display: flex; align-items: normal; padding: 1.35rem 1.35rem 1.4rem; }
  .programmes--p2 .pathway:not(.pathway--feat) .pathway__top { grid-row: auto; margin: 0 0 1.1rem; flex-direction: row; gap: 0; align-items: flex-start; }
  .programmes--p2 .pathway:not(.pathway--feat) h3 { margin: 0 0 .45rem; }
  .programmes--p2 .pathway:not(.pathway--feat) p { margin: 0 0 1.1rem; }
  .programmes--p2 .pathway:not(.pathway--feat) .pathway__link { grid-column: auto; margin-top: auto; padding-top: .35rem; }
  .programmes--p2 .pathway--tab-wide { grid-column: 1 / -1; }
  /* wide card (odd count beside the featured card): icon | text | link in one row */
  .programmes--p2 .pathway.pathway--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 1.1rem; align-items: center; }
  .programmes--p2 .pathway.pathway--wide .pathway__top { margin: 0; flex-direction: column; gap: .5rem; align-items: center; }
  .programmes--p2 .pathway.pathway--wide h3 { margin: 0; max-width: none; }
  .programmes--p2 .pathway.pathway--wide p { margin: .15rem 0 0; }
  .programmes--p2 .pathway.pathway--wide .pathway__link { margin: 0; padding: 0; align-self: center; }
}
@media (min-width: 1024px) {
  .programmes--p2 .pathway-grid--bento { grid-template-columns: 1.25fr 1fr 1fr; grid-auto-flow: row dense; }
  .programmes--p2 .pathway-grid--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .programmes--p2 .pathway--feat { grid-column: 1; grid-row: span var(--rows, 2); }
  .programmes--p2 .pathway-grid--solo .pathway--feat { grid-row: auto; }
  .programmes--p2 .pathway--feat .pathway__link { padding-top: 1.25rem; }
  .programmes--p2 .pathway.pathway--wide { grid-column: span 2; }
  .programmes--p2 .pathway--tab-wide { grid-column: auto; }
  .programmes--p2 .pathway--desk-span2 { grid-column: span 2; }
  .programmes--p2 .pathway--desk-full { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .programmes--p2 .pathway,
  .programmes--p2 .pathway__tile svg { transition: none; }
  .programmes--p2 .pathway:hover,
  .programmes--p2 .pathway:focus-within,
  .programmes--p2 .pathway:hover .pathway__tile svg,
  .programmes--p2 .pathway:focus-within .pathway__tile svg { transform: none; }
}

/* Stats CTA (sketch D, option A) */
.stats__cta { display: flex; justify-content: center; margin-top: 2.1rem; }
.stats__btn {
  gap: .6rem;
  padding: .82rem 1.35rem;
  border-radius: 6px;
  background: var(--red);
  font-weight: 600;
  box-shadow: 0 0 0 6px rgba(154, 8, 5, .07);
}
.stats__btn:hover { background: var(--red-bright); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(183, 10, 20, .28); }
.stats__btn:hover .btn__arrow { transform: translateX(4px); }
.stats__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--navy); }
@media (max-width: 480px) { .stats__btn { width: 100%; justify-content: center; } }

.story { transition: transform .25s var(--ease); }
.story:hover { transform: translateY(-4px); }
.pillar { transition: background-color .25s var(--ease); }
.pillar:hover { background: #FBFBFC; }
.stats__value, [data-count] { font-variant-numeric: tabular-nums; }

/* ---------- Scroll reveals (classes added by JS only when motion is allowed) ---------- */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease) var(--reveal-delay, 0ms), transform .7s var(--ease) var(--reveal-delay, 0ms);
}
.has-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Community ---------- */
.community {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(125deg, #284A8D 0%, #213F7C 45%, #1B2F5E 100%);
}
.community__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.community__glow { position: absolute; border-radius: 50%; will-change: transform; }
.community__glow--1 { width: 620px; height: 620px; right: -180px; top: -260px; background: radial-gradient(circle, rgba(183, 10, 20, .36), rgba(183, 10, 20, 0) 65%); animation: eiu-drift-a 24s ease-in-out infinite alternate; }
.community__glow--2 { width: 520px; height: 520px; left: -200px; bottom: -280px; background: radial-gradient(circle, rgba(120, 160, 230, .24), rgba(0, 0, 0, 0) 65%); animation: eiu-drift-b 28s ease-in-out infinite alternate; }
.community__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 48%);
  mask-image: linear-gradient(90deg, #000 0, transparent 48%);
}
.community__sweep {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  width: 180px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  transform: translateX(-30vw) rotate(18deg);
  animation: eiu-sweep 14s ease-in-out infinite;
}
@keyframes eiu-sweep { 0% { transform: translateX(-30vw) rotate(18deg); } 60%, 100% { transform: translateX(120vw) rotate(18deg); } }

.community__grid { grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.15fr); gap: 2rem 3.5rem; padding-block: 3.6rem; }
.community__eyebrow { color: #C9D6F2; }
.community__lead { color: #D5DEF0; }
.community__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.community .community__actions .btn { margin-top: 0; }
.be-featured {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 440px;
  margin-top: 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: #D5DEF0;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.45;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.be-featured:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .34); color: #D5DEF0; }
.be-featured strong { color: var(--white); font-weight: 650; }
.be-featured__icon { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); }
.be-featured .community__email { color: var(--white); font-size: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.be-featured__go { margin-left: auto; color: var(--white); transition: transform .2s var(--ease); }
.be-featured:hover .be-featured__go { transform: translateX(3px); }

.community__media { position: relative; }
.collage { grid-template-rows: 180px 180px; gap: 12px; }
.collage img { border-radius: 12px; }
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  padding: .6rem .85rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
  animation: eiu-float 7s ease-in-out infinite alternate;
}
.chip b { font-size: 1.12rem; color: var(--red-bright); font-weight: 700; }
.chip small { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; }
.chip__pin { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.chip--a { left: -18px; top: 18px; }
.chip--b { right: -14px; bottom: 54px; animation-delay: -2.5s; }
.chip--c { left: 30%; bottom: -18px; animation-delay: -4.5s; }
@keyframes eiu-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* ---------- Start your journey band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(110deg, #9A0805 0%, #B70A14 60%, #8E0A10 100%);
  color: var(--white);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-band__img { position: absolute; inset: 0; background: url("../img/hero/paris-bg.jpg") center 45% / cover no-repeat; opacity: .1; mix-blend-mode: luminosity; }
.cta-band__arc { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.cta-band__arc--1 { right: -80px; top: -160px; width: 520px; height: 520px; animation: eiu-drift-a 30s ease-in-out infinite alternate; }
.cta-band__arc--2 { right: 40px; top: -60px; width: 320px; height: 320px; border-color: rgba(255, 255, 255, .14); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 2.75rem; }
.cta-band__eyebrow { margin-bottom: .45rem; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #F6D9DA; }
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 2vw, 1.75rem); }
.cta-band__lead { margin-top: .45rem; color: #F6D9DA; font-size: .92rem; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; flex-shrink: 0; }
.cta-band__wa { display: inline-flex; gap: .3rem; margin-left: .3rem; color: #FCE9EA; font-size: .78rem; text-decoration: none; }
.cta-band__wa strong { color: var(--white); font-weight: 600; }
.cta-band__wa:hover { color: var(--white); text-decoration: underline; }
.cta-band :focus-visible { outline-color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: 2.9rem; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 34%, var(--navy) 34%);
}
.site-footer :focus-visible { outline-color: var(--white); }
.footer-brand .footer-social { margin-top: 1.1rem; gap: .5rem; }
.footer-social a { width: 34px; height: 34px; color: var(--white); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); text-decoration: none; }
.footer-links a, .footer-contact a { transition: color .2s var(--ease); }

.footer-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-accred { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; }
.footer-accred__label { margin-right: .25rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #8FA0C6; }
.footer-accred__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  height: 36px;
  padding: 0 .8rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge img { height: 23px; width: auto; }

/* Above-footer newsletter (approved placement). Pale band, white card, red accent. Mailto prototype — see main.js. */
.nl-band { background: #EEF2F6; padding: 1.75rem 0 2rem; }
.nl-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
  gap: 1.35rem 2.4rem;
  align-items: center;
  overflow: hidden;
  padding: 1.65rem 1.8rem 1.55rem 1.9rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 40, 70, .07), 0 1px 2px rgba(26, 40, 70, .04);
}
.nl-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.nl-intro { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.nl-icon {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 12px;
  background: #FBEAEC; color: var(--navy-deep);
}
.nl-copy { min-width: 0; }
.nl-eyebrow {
  margin: 0 0 .4rem;
  color: var(--red);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.nl-title { margin: 0; color: var(--navy); font-size: clamp(1.5rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.nl-title__line { display: block; }
.nl-lead { margin: .7rem 0 0; max-width: 34ch; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.nl-form { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.nl-field { display: flex; flex-direction: column; gap: .35rem; }
.nl-label { color: var(--ink); font-size: .84rem; font-weight: 600; }
.nl-input {
  width: 100%; height: 44px; min-width: 0;
  padding: 0 .8rem;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: .95rem;
}
.nl-input::placeholder { color: #98A2B3; }
.nl-input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(154, 8, 5, .12); }
.nl-consent { display: flex; align-items: flex-start; gap: .55rem; margin-top: .1rem; color: var(--ink); font-size: .84rem; line-height: 1.4; }
.nl-consent input { width: 1.05rem; height: 1.05rem; margin: .15rem 0 0; flex: none; accent-color: var(--navy); }
.nl-consent input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.nl-privacy { margin: 0; }
.nl-privacy a { color: var(--navy); font-size: .84rem; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.nl-privacy a:hover { color: var(--navy-deep); }
.nl-submit { width: 100%; min-height: 46px; margin-top: .15rem; border-radius: 6px; font-size: .95rem; font-weight: 700; }
.nl-note { margin: 0; color: var(--faint); font-size: .75rem; line-height: 1.4; }
.nl-msg { margin: 0; color: var(--navy-deep); font-size: .8rem; line-height: 1.45; }
.nl-msg.is-error { color: var(--red); font-weight: 600; }
.nl-msg:empty { display: none; }
@media (max-width: 900px) {
  .nl-band { padding: 1.15rem 0 1.35rem; }
  .nl-card { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.25rem 1.05rem 1.15rem 1.2rem; }
  .nl-title { font-size: 1.55rem; }
  .nl-lead { max-width: none; }
  .nl-note { order: 1; }
  .nl-submit { order: 2; }
  .nl-msg { order: 3; }
}

.to-top {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white) !important;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.to-top:hover { background: var(--red-bright); transform: translateY(-2px); text-decoration: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 2rem; }
  .slide__body { padding-inline: 1.4rem; }
}

@media (max-width: 979px) {
  .primary-nav { padding-top: calc(var(--header-bottom, 70px) + .9rem); }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 2rem 2.2rem; }
  .hero__copy { grid-column: auto; }
  .slider { width: 100%; max-width: 640px; margin-inline: auto; }
  .community__grid { grid-template-columns: 1fr; padding-block: 2.8rem 3.4rem; }
  .community__media { max-width: 640px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar__wa-label { display: none; }
  .topbar__links { gap: 0 .7rem; }
  .topbar__links a + a { padding-left: .7rem; }
  .hero__trust { flex-direction: column; gap: .3rem; font-size: .72rem; }
  .hero__trust li::before, .hero__trust li + li::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); margin: -2px .55rem 0 0; }
  .slider__tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .slider__stage { padding: 18px 0 0; }
  .slider__ghost { left: 0; right: 0; top: 18px; }
  .slider__arrow { display: none; }
  .slider__controls { padding-inline: 0; }
  .slider__count { display: none; }
  .slider__tabs { padding: 0 1rem; gap: 1rem; }
  .slide__band { height: 88px; }
  .slide__logos { --slide-logo-h: 48px; }
  .slide__body { padding: 2.5rem 1.1rem 1rem; }
  .slide__title { font-size: 1rem; }
  .slide__foot { flex-direction: column; align-items: stretch; text-align: center; padding: .8rem 1rem 1rem; }
  .slide__foot .btn { white-space: normal; }
  .collage { grid-template-rows: 170px 130px; gap: 8px; }
  .chip { padding: .45rem .65rem; font-size: .7rem; }
  .chip b { font-size: 1rem; }
  .chip--a { left: -6px; top: -14px; }
  .chip--b { right: -6px; bottom: -14px; }
  .chip--c { display: none; }
  .community__actions .btn { flex: 1 1 auto; }
  .cta-band__actions { width: 100%; }
  .footer-bottom { position: relative; padding-right: 3rem; }
  .to-top { position: absolute; right: 0; top: .9rem; }
}

@media (max-width: 420px) {
  .topbar__links a:first-child { display: none; }
  .topbar__links a:nth-child(2) { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__blob, .hero__lines, .community__glow, .community__sweep, .cta-band__arc, .chip { animation: none !important; }
  .community__sweep, .btn--shine::after { display: none; }
  .slider__progress { visibility: hidden; }
  .slide { transform: none !important; }
  .pathway:hover, .pathway:focus-within, .story:hover, .to-top:hover, .stats__btn:hover { transform: none; }
  .pathway:hover .pathway__chip, .pathway:focus-within .pathway__chip, .stats__btn:hover .btn__arrow { transform: none; }
}

/* footer: link from the short footer FAQ to the full FAQ page */
.site-footer .faq-all { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: #fff; text-decoration: none; }
.faq-all svg { transition: transform .2s var(--ease); }
.site-footer .faq-all:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.faq-all:hover svg { transform: translateX(3px); }

/* ---------- Compact menus (31 Oct 2026) ----------
   Sized after the compact accordion sample (ACBSP tabs: ~14px rows, 34px icons):
   narrower panels, 13px items, 11px group labels, tighter rows, smaller icons,
   max-height with internal scroll. Desktop only; the mobile drawer keeps tap-size rows. */
@media (min-width: 980px) {
  .mega-panel__inner { max-height: min(calc(100vh - var(--header-bottom) - 1.25rem), 560px); padding: .7rem; scrollbar-width: thin; }
  .mega-panel--programmes { width: min(880px, calc(100vw - 2rem)); border-radius: 12px; box-shadow: 0 22px 54px rgba(15, 25, 50, .18); }
  .mega-panel--list { width: min(540px, calc(100vw - 2rem)); padding: 0; border-radius: 12px; }

  .featured-pathway { gap: .5rem .8rem; padding: .55rem .8rem; margin-bottom: .55rem; border-radius: 10px; }
  .featured-pathway__mark { width: 40px; height: 40px; border-radius: 8px; }
  .featured-pathway__eyebrow { font-size: .6875rem; margin-bottom: .05rem; }
  .featured-pathway__title { font-size: .875rem; margin-bottom: .05rem; }
  .featured-pathway__copy { font-size: .75rem; }
  .featured-pathway__pills { margin-top: .3rem; gap: .3rem; }
  .featured-pathway__pill { font-size: .6875rem; padding: .1rem .5rem; }
  .featured-pathway__cta { font-size: .75rem; padding: .38rem .45rem .38rem .8rem; }

  .prog-cards__grid { gap: .35rem .55rem; }
  .prog-cards__col { gap: .35rem; }
  .prog-card, .prog-card__btn { min-height: 2.45rem; }
  .prog-card { border-radius: 8px; }
  .prog-card__icon { width: 2.15rem; }
  .prog-card__icon svg { width: 16px; height: 16px; }
  .prog-card__divider { margin: .45rem 0; }
  .prog-card__label { font-size: .8125rem; padding: .4rem .5rem .4rem .6rem; line-height: 1.3; }
  .card-chevron { width: 12px; height: 12px; margin-right: .55rem; }
  .prog-card__body { padding: .4rem .45rem .5rem; }
  .prog-card__ctas { gap: .35rem; margin: 0 0 .4rem; }
  .mega-cta { font-size: .75rem; padding: .34rem .38rem .34rem .7rem; gap: .4rem; }
  .mega-cta__arrow { width: 16px; height: 16px; }
  .prog-card__list a { font-size: .8125rem; padding: .3rem .45rem .3rem 1.05rem; line-height: 1.35; }
  .prog-card__list a::before { left: .45rem; top: .85em; width: 4px; height: 4px; }
  .prog-card__sub { font-size: .6875rem; margin: .45rem .45rem .1rem; }
  .viewall { margin-top: .4rem; padding: .4rem; font-size: .75rem; }

  .eiu-student-menu__columns { gap: .35rem; }
  .eiu-student-menu__list { display: flex; flex-direction: column; gap: .35rem; }
  .eiu-student-menu__item { grid-template-columns: 28px 1fr 8px; gap: .5rem; padding: .4rem .55rem; border-radius: 8px; }
  .eiu-student-menu__icon { width: 28px; height: 28px; border-radius: 7px; }
  .eiu-student-menu__icon svg, .eiu-student-menu__svg { width: 15px; height: 15px; }
  .eiu-student-menu__title { font-size: .8125rem; line-height: 1.25; }
  .eiu-student-menu__chevron { width: 6px; height: 6px; }
}
/* longer top-level label "Programmes & Degrees": keep one line at 1024–1100 */
@media (min-width: 980px) and (max-width: 1100px) {
  .primary-nav__list { gap: .1rem .6rem; }
}
/* mobile drawer: a touch tighter, still 44px-ish tap rows */
@media (max-width: 979px) {
  .mobile-acc-group summary { padding: .7rem .15rem; font-size: .9rem; }
  .mobile-acc-group a, .mobile-acc-link { padding: .62rem .2rem; font-size: .875rem; }
}

/* ---------- Hero accreditation logos (approved final sketch, 31 Oct 2026) ----------
   Markup: scripts/build_hero_logos.py from landing.json -> hero.logos. Logos are always in full colour.
   >=768px: frosted white pill (a card with the label on top at <=1180px). <768px: slow marquee that pauses on
   hover, focus and touch; under reduced motion it is a static row you can swipe. */
.hero__copy { min-width: 0; }
.hl { margin-top: 24px; display: inline-flex; align-items: center; gap: 20px; max-width: 100%; padding: 12px 24px 12px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 14px 34px -14px rgba(26, 50, 104, .30), 0 2px 6px rgba(26, 50, 104, .06); }
.hl__lab { flex: none; max-width: 104px; margin: 0; padding-right: 20px; border-right: 1px solid rgba(26, 50, 104, .14); box-sizing: content-box;
  font: 600 10px/1.3 var(--font, Inter, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--navy, #284A8D); }
.hl__vp { min-width: 0; }
.hl__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 18px; }
.hl__item { display: flex; flex: none; }
.hl__item--dup { display: none; }
.hl__a { display: block; border-radius: 8px; transition: transform .25s var(--ease, ease); }
.hl__a img { display: block; height: 54px; width: auto; max-width: none; filter: none; }
.hl__a--tile { background: #fff; border-radius: 9px; padding: 5px; box-shadow: 0 0 0 1px rgba(26, 50, 104, .10), 0 2px 6px rgba(26, 50, 104, .08); }
.hl__a--tile img { height: 44px; border-radius: 3px; }
.hl__a:hover { transform: translateY(-2px); text-decoration: none; }
.hl__a:focus-visible { outline: 2px solid var(--navy, #284A8D); outline-offset: 3px; }

@media (max-width: 1180px) {
  .hl { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: max-content; border-radius: 18px; padding: 14px 20px 16px; }
  .hl__lab { max-width: none; border-right: 0; padding: 0; }
}

@media (max-width: 767px) {
  .hl { display: block; width: 100%; margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; contain: inline-size; }
  .hl__lab { margin: 0 0 12px; text-align: center; line-height: 1; letter-spacing: .14em; }
  .hl__vp { overflow: hidden; padding: 4px 0 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .hl__list { gap: 28px; width: max-content; animation: hl-marquee 30s linear infinite; will-change: transform; }
  .hl__item--dup { display: flex; }
  .hl__vp:hover .hl__list, .hl__vp:focus-within .hl__list, .hl__vp.is-touch .hl__list { animation-play-state: paused; }
  .hl__a img { height: 46px; }
  .hl__a--tile { border-radius: 8px; padding: 4px; }
  .hl__a--tile img { height: 38px; }
  .hl__a:hover { transform: none; }
}
@keyframes hl-marquee { to { transform: translateX(calc(-50% - 14px)); } }

@media (prefers-reduced-motion: reduce) {
  .hl__a { transition: none; }
  .hl__a:hover { transform: none; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hl__list { animation: none; width: auto; padding: 0 16px; will-change: auto; }
  .hl__item--dup { display: none; }
  .hl__vp { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hl__vp::-webkit-scrollbar { display: none; }
  .hl__item { scroll-snap-align: start; }
}

/* Small phones (<=360px wide, e.g. 320 x 640): tighten the hero copy so the logo strip sits fully in view,
   above the EIU Bot launcher (avatar + "Ask me" pill) that is fixed to the bottom of the screen. */
@media (max-width: 360px) {
  .hero__grid { padding-top: 1.25rem; }
  .hero__eyebrow { letter-spacing: .07em; font-size: .68rem; }
  .hero__lead { margin-top: .7rem; }
  .hero__actions { gap: .55rem 1rem; margin-top: 1rem; }
  .hero__trust { flex-direction: row; flex-wrap: wrap; gap: .3rem .9rem; margin-top: 1.1rem; }
  .hero__trust li::before, .hero__trust li + li::before { margin-right: .45rem; }
  .hl { margin-top: 14px; }
  .hl__lab { margin-bottom: 9px; }
}

/* Nov 1b: real ACBSP logo in the Featured Pathway tile (nav.json featured.logo) */
.featured-pathway__mark--logo { background: var(--white); padding: 3px; overflow: hidden; }
.featured-pathway__mark--logo img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* Nov 1b: compact Global Partners CTA on the right of the Institutional Degrees button row (nav.json card.aside) */
.prog-card__ctas { align-items: center; }
.nav-aside { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .4rem .3rem .45rem; border: 1px solid rgba(40, 74, 141, .22); border-radius: 8px; background: linear-gradient(135deg, #F3F6FC, #fff); color: var(--navy, #284A8D); text-decoration: none; line-height: 1.15; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.nav-aside:hover, .nav-aside:focus-visible { border-color: #284A8D; box-shadow: 0 6px 16px rgba(40, 74, 141, .14); }
.nav-aside__icon { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #284A8D; color: #fff; }
.nav-aside__icon svg { width: 15px; height: 15px; }
.nav-aside__txt { display: flex; flex-direction: column; min-width: 0; }
.nav-aside__eyebrow { font-size: .625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9A0805; }
.nav-aside__label { font-size: .75rem; font-weight: 650; color: #1A3268; white-space: nowrap; }
.nav-aside__meta { font-weight: 500; color: #4A5878; }
.nav-aside .mega-cta__arrow { background: #284A8D; color: #fff; }
.mobile-acc-aside { padding: .2rem 0 .5rem; list-style: none; }
.mobile-acc-aside .nav-aside { margin-left: 0; display: flex; width: 100%; padding: .55rem .6rem; border-bottom: 1px solid rgba(40, 74, 141, .22); }
.mobile-acc-aside .nav-aside .mega-cta__arrow { margin-left: auto; }
.mobile-acc-aside .nav-aside__label { font-size: .88rem; white-space: normal; }
@media (prefers-reduced-motion: reduce) { .nav-aside { transition: none; } }
@media (min-width: 980px) {
  .nav-aside { gap: .4rem; padding: .22rem .3rem .22rem .32rem; }
  .nav-aside__icon { width: 22px; height: 22px; } .nav-aside__icon svg { width: 13px; height: 13px; }
  .nav-aside__eyebrow { font-size: .56rem; }
  .nav-aside__label { font-size: .7rem; }
}
@media (min-width: 980px) { .mega-panel--programmes { width: min(940px, calc(100vw - 2rem)); } }
.featured-pathway__mark--logo { width: 44px; height: 60px; }
@media (min-width: 980px) { .featured-pathway__mark--logo { width: 40px; height: 54px; border-radius: 6px; } }

/* ---- Nov 1b: footer "Accreditation & recognition" = the hero logos (landing.json hero.logos) on white tiles ---- */
.footer-accred__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-logo__a {
  display: flex; align-items: center; justify-content: center;
  height: 52px; min-width: 52px; padding: 6px 10px;
  border-radius: 8px; background: #fff;
  box-shadow: 0 1px 2px rgba(10, 20, 50, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-logo__a img { display: block; height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.footer-logo__a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .28); }
.footer-logo__a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) {
  .footer-accred { flex-direction: column; align-items: flex-start; }
  .footer-accred__list { gap: .4rem; }
  .footer-logo__a { height: 46px; min-width: 46px; padding: 5px 8px; }
  .footer-logo__a img { height: 36px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .footer-logo__a { transition: none; } .footer-logo__a:hover { transform: none; } }

/* Nov 1 (team A batch): mobile drawer header mask. While the drawer is open its scrolled items used to show through
   behind the logo / Apply / close bar (those controls sit above the drawer, z 280, on a transparent row). A solid white
   strip at the header's height sits between the drawer (z 260) and the controls (z 280), so nothing scrolls behind them.
   No layout change: the strip is fixed, takes no space and ignores pointer events. */
@media (max-width: 979px) {
  body.nav-open .site-header::after {
    content: ""; position: fixed; left: 0; right: 0; top: 0; height: var(--header-bottom, 70px); z-index: 270;
    background: #fff; box-shadow: 0 1px 0 var(--line, #E6E9EF), 0 8px 16px -14px rgba(15,27,51,.35); pointer-events: none;
  }
}

/* ===== Mobile menu, Option A (Nov 1 2026) =====
   Drawer content below 980px is the .mnav block (rendered from nav.json by assets/js/mobile-nav.js). The desktop list and
   the old mobile accordion/utility stay in the markup for desktop and are hidden here, so the desktop menu is unchanged. */
.mnav { display: none; }
@media (max-width: 979px) {
  .primary-nav > .mobile-utility, .primary-nav > .primary-nav__list { display: none !important; }
  .primary-nav { padding-bottom: 1.5rem; }
  .mnav { display: block; width: 100%; color: var(--ink); }
  :where(.mnav) ul { list-style: none; margin: 0; padding: 0; }
  :where(.mnav) a { text-decoration: none; color: inherit; }
  :where(.mnav) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; text-align: left; }
  .mnav small { display: block; }
  .mnav__i { width: 20px; height: 20px; flex: none; }
  .mnav__go { width: 18px; height: 18px; flex: none; margin-left: auto; color: #8A93A3; transition: transform .2s var(--ease); }
  .mnav a:focus-visible, .mnav button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 10px; }
  .mnav__view.is-in { animation: mnavIn .26s var(--ease) both; }
  .mnav__view.is-back { animation: mnavBack .26s var(--ease) both; }
  @keyframes mnavIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  @keyframes mnavBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

  /* contact block */
  .mnav__contact { display: grid; gap: 10px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .mnav__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .mnav__txt strong { overflow-wrap: anywhere; }
  .mnav__wa { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 14px; border-radius: 12px; background: #25D366; color: #fff !important;
    box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .55); transition: filter .2s var(--ease); }
  .mnav__wa:hover { filter: brightness(.96); }
  .mnav__wa-logo { width: 26px; height: 26px; flex: none; }
  .mnav__wa small { font-size: 11px; font-weight: 600; opacity: .95; }
  .mnav__wa strong { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
  .mnav__wa .mnav__go { color: #fff; }
  .mnav__mail { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .mnav__mail small { font-size: 11px; font-weight: 500; color: var(--muted); }
  .mnav__mail strong { font-size: 16px; font-weight: 700; color: var(--navy-deep); }
  .mnav__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav__chip { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 10px; background: var(--gray);
    font-size: 14px; font-weight: 600; color: var(--navy-deep) !important; white-space: nowrap; }
  .mnav__chip .mnav__i { width: 18px; height: 18px; color: var(--red); }

  /* icon boxes */
  .mnav__ib { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 10px; background: #FBEDED; color: var(--red); }
  .mnav__ib--navy { background: #EEF2FA; color: var(--navy); }

  /* main rows */
  .mnav__rows > li + li { border-top: 1px solid var(--line); }
  .mnav__row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 10px 2px; font-size: 17px; font-weight: 600; }
  .mnav__row:hover .mnav__row-t { color: var(--red); }
  .mnav__row-t { min-width: 0; }

  /* accreditation logos: one centred line, fits 320px */
  .mnav__logos { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
  .mnav__logos-lab { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .mnav__logo-row { display: flex !important; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px; }
  .mnav__logo-row li { flex: none; }
  .mnav__logo-row a { display: block; border-radius: 6px; }
  .mnav__logo-row img { display: block; width: auto; height: clamp(36px, calc((100vw - 64px) / 5.2), 52px); }

  /* panels */
  .mnav__bar { position: sticky; top: calc(-1 * var(--header-bottom, 70px) - .9rem); display: flex; align-items: center; gap: 10px; min-height: 52px;
    margin: -6px 0 12px; border-bottom: 1px solid var(--line); background: #fff; z-index: 1; }
  .mnav__back { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px 0 0; color: var(--navy) !important; font-size: 15px; font-weight: 600; }
  .mnav__ptitle { margin: 0; font-size: 16px; font-weight: 700; color: var(--ink); min-width: 0; }
  .mnav__feat { margin-bottom: 6px; padding: 16px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
  .mnav__feat-top { display: flex; align-items: center; gap: 12px; }
  .mnav__feat-logo { flex: none; display: grid; place-items: center; width: 44px; height: 58px; border-radius: 8px; background: #fff; }
  .mnav__feat-logo img { width: auto; height: 46px; }
  .mnav__feat-eyebrow { margin: 0 0 3px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FFB4B4; }
  .mnav__feat-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; }
  .mnav__feat-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
  .mnav__pill { display: inline-grid; place-items: center; min-width: 50px; height: 34px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--red) !important; font-size: 14px; font-weight: 700; }
  .mnav__feat-cta { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; min-height: 34px; color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: underline !important; text-underline-offset: 3px; }
  .mnav__feat-cta .mnav__go { color: #fff; width: 16px; height: 16px; margin-left: 0; }
  .mnav__gh { margin: 18px 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .mnav__cards { display: grid; gap: 8px; }
  .mnav__card { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
  .mnav__gc { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; }
  .mnav__gc .mnav__ib { width: 38px; height: 38px; }
  .mnav__gc-t { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .mnav__gc:hover .mnav__gc-t { color: var(--red); }
  .mnav__gc[aria-expanded="true"] { background: var(--gray); }
  .mnav__gc[aria-expanded="true"] .mnav__chev { transform: rotate(180deg); color: var(--red); }
  .mnav__sub { padding: 10px 12px 12px; border-top: 1px solid var(--line); }
  .mnav__sub[hidden] { display: none; }
  .mnav__cta { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; margin-bottom: 6px; border-radius: 10px; background: var(--red); color: #fff !important; font-size: 14px; font-weight: 600; }
  .mnav__cta .mnav__go { color: #fff; }
  .mnav__list li a { display: block; padding: 10px 4px; font-size: 14px; line-height: 1.35; color: var(--ink); border-bottom: 1px solid var(--gray-2); }
  .mnav__list li:last-child a { border-bottom: 0; }
  .mnav__list li a:hover { color: var(--red); }
  .mnav__sub-lab { margin: 10px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 979px) and (prefers-reduced-motion: reduce) {
  .mnav__view.is-in, .mnav__view.is-back { animation: none; }
  .mnav__go, .mnav__wa { transition: none; }
}

/* ---------- Community v3 (1 Nov 2026): Be Featured card + graduation photo bento ---------- */
.community .be-featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem 1rem;
  width: 100%;
  max-width: 540px;
  margin-top: 1.6rem;
  padding: 1rem 1rem 1rem 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: var(--white);
  color: #3A4766;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(4, 12, 34, .34), inset 4px 0 0 #B70A14;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.community .be-featured:hover { background: var(--white); color: #3A4766; border-color: var(--white); transform: translateY(-2px); box-shadow: 0 24px 48px rgba(4, 12, 34, .42), inset 4px 0 0 #B70A14; }
.community .be-featured:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.community .be-featured strong { color: #1A3268; font-size: 1rem; font-weight: 700; }
.community .be-featured__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: #9A0805; color: var(--white); box-shadow: 0 8px 18px rgba(154, 8, 5, .3); }
.community .be-featured .community__email { display: block; margin-top: .2rem; color: #9A0805; font-size: 1.1rem; font-weight: 700; letter-spacing: -.005em; text-decoration: none; overflow-wrap: anywhere; }
.community .be-featured__go {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  margin: 0; min-height: 44px; padding: .6rem 1.05rem;
  border-radius: 999px; background: #9A0805; color: var(--white);
  font-size: .86rem; font-weight: 650; white-space: nowrap;
  transition: background-color .2s var(--ease);
}
.community .be-featured__go svg { transition: transform .2s var(--ease); }
.community .be-featured:hover .be-featured__go, .community .be-featured:focus-visible .be-featured__go { background: #B70A14; transform: none; }
.community .be-featured:hover .be-featured__go svg, .community .be-featured:focus-visible .be-featured__go svg { transform: translateX(3px); }

.collage.collage--v3 {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas: "main doc" "cer doc";
  gap: 12px;
}
.collage__tile { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: #1A3268; box-shadow: 0 16px 34px rgba(4, 12, 34, .3); }
.collage__tile picture { display: block; width: 100%; height: 100%; }
.collage--v3 .collage__tile img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.collage__tile--main { grid-area: main; aspect-ratio: 16 / 10; }
.collage__tile--main img { object-position: 50% 45%; }
.collage__tile--ceremony { grid-area: cer; aspect-ratio: 7 / 3; }
.collage__tile--ceremony img { object-position: 50% 40%; }
.collage__tile--doctoral { grid-area: doc; }
.collage__tile--doctoral img { object-position: 50% 30%; }
.community__media .chip--a { left: -18px; top: -16px; }
.community__media .chip--b { right: -14px; bottom: 22px; }
.community__media .chip--c { left: 16%; bottom: -18px; }

@media (max-width: 640px) {
  .community .be-featured { grid-template-columns: auto minmax(0, 1fr); max-width: none; padding: .95rem; }
  .community .be-featured__go { grid-column: 1 / -1; width: 100%; min-height: 48px; font-size: .92rem; }
  .community .be-featured__icon { width: 48px; height: 48px; }
  .community__media { display: flex; flex-wrap: wrap; gap: .6rem; }
  .collage.collage--v3 { flex: 1 1 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); grid-template-areas: "main main" "doc cer"; grid-template-rows: auto clamp(150px, 44vw, 240px); gap: 8px; }
  .collage__tile { border-radius: 12px; }
  .collage__tile--ceremony { aspect-ratio: auto; }
  .collage__tile--ceremony img { object-position: 50% 30%; }
  .collage__tile--doctoral img { object-position: 50% 22%; }
  .community__media .chip { position: static; display: flex; flex: 1 1 calc(50% - .3rem); min-width: 0; animation: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
}
@media (prefers-reduced-motion: reduce) {
  .community .be-featured, .community .be-featured__go svg { transition: none; }
  .community .be-featured:hover { transform: none; }
  .community .be-featured:hover .be-featured__go svg { transform: none; }
}

/* ---------- Header v3/v4 (1–2 Nov 2026): centred nav, Emerging Degrees CTA, merged Community & Resources ----------
   nav.json drives all three (primary[...].variant "merged", secondaryCta). */
@media (min-width: 980px) {
  /* Header v4: primary nav centred in the space between the logo and the right-side CTAs */
  .header-cluster { flex: 1; margin-left: 0; min-width: 0; }
  .header-cluster__row { width: 100%; }
  .primary-nav { flex: 1; justify-content: center; min-width: 0; padding: 0 1rem; }
  .primary-nav__list { justify-content: center; padding-left: 0; }

  /* Header v4: compact merged dropdown — one plain list per column, thin dividers, soft hover */
  .mega-panel--merged { width: min(640px, calc(100vw - 2rem)); }
  .mega-panel--merged .mega-panel__inner { padding: .75rem; }
  .mega-panel--merged .eiu-student-menu__columns { grid-template-columns: 1fr 1fr; gap: 0 1rem; position: relative; }
  .mega-panel--merged .eiu-student-menu__columns::before { content: ""; position: absolute; top: .25rem; bottom: .25rem; left: 50%; width: 1px; background: #ECEEF3; }
  .mega-panel--merged .eiu-student-menu__list { gap: 0; border: 0; border-radius: 0; background: transparent; align-self: start; overflow: visible; }
  .mega-panel--merged .eiu-student-menu__item { position: relative; border: 0; border-radius: 8px; padding: .4rem .6rem; min-height: 42px; grid-template-columns: 28px 1fr 10px; gap: .65rem; box-shadow: none; background: transparent; transition: background-color .15s var(--ease); }
  .mega-panel--merged .eiu-student-menu__item::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: 0; height: 1px; background: #F0F1F5; }
  .mega-panel--merged .eiu-student-menu__item:last-child::after { display: none; }
  .mega-panel--merged .eiu-student-menu__item:hover,
  .mega-panel--merged .eiu-student-menu__item:focus-visible { background: #FBF3F3; transform: none; }
  .mega-panel--merged .eiu-student-menu__item:hover::after { opacity: 0; }
  .mega-panel--merged .eiu-student-menu__item:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
  .mega-panel--merged .eiu-student-menu__icon { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid rgba(183, 10, 20, .25); color: #B70A14; }
  .mega-panel--merged .eiu-student-menu__icon svg { width: 14px; height: 14px; }
  .mega-panel--merged .eiu-student-menu__title { font-size: .90625rem; font-weight: 500; line-height: 1.25; color: #1B2233; }
  .mega-panel--merged .eiu-student-menu__item:hover .eiu-student-menu__title { color: var(--red); }
}

/* Emerging Degrees CTA (navy fill, rocket) + "Powered by IKON SKILLS™" tooltip */
.header-ed { position: relative; display: inline-flex; flex: none; }
.header-ed__btn { display: inline-flex; align-items: center; gap: .45rem; height: 34px; padding: 0 .85rem 0 .7rem; border: 1.5px solid #1A3268; border-radius: 6px; background: #1A3268; color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.header-ed__btn:hover { background: #284A8D; border-color: #284A8D; color: #fff; }
.header-ed__btn:focus-visible { outline: 3px solid #284A8D; outline-offset: 2px; }
.header-ed__icon { width: 16px; height: 16px; flex: none; }
.header-ed__tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); padding: .45rem .7rem; border-radius: 6px; background: #1A3268; color: #fff; font-size: .75rem; font-weight: 500; line-height: 1.2; white-space: nowrap; box-shadow: 0 10px 24px rgba(15, 25, 50, .22); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 320; }
.header-ed__tip::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: #1A3268; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.header-ed__tip::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge: the tip stays while the pointer moves onto it */
.header-ed:hover .header-ed__tip,
.header-ed__btn:focus-visible + .header-ed__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.header-ed.is-tip-off .header-ed__tip { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 979px) { .header-ed { display: none; } }   /* the drawer carries it as a card */
@media (prefers-reduced-motion: reduce) { .header-ed__btn, .header-ed__tip { transition: none; } .header-ed__tip, .header-ed:hover .header-ed__tip { transform: translate(-50%, 0); } }

/* mobile drawer: Emerging Degrees card under the root rows */
.mnav__ed { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px; min-height: 64px; border: 1.5px solid #284A8D; border-radius: 12px; background: #fff; color: #1A3268; text-decoration: none; transition: background-color .18s var(--ease); }
.mnav__ed:hover { background: #F4F6FB; }
.mnav__ed:focus-visible { outline: 3px solid #284A8D; outline-offset: 2px; }
.mnav__ed-ib { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #1A3268; color: #fff; }
.mnav__ed-ib svg { width: 20px; height: 20px; }
.mnav__ed-tx { min-width: 0; }
.mnav__ed-t { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.mnav__ed-s { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; line-height: 1.2; color: #5B6478; }
.mnav__ed .mnav__go { margin-left: auto; width: 20px; height: 20px; flex: none; color: #284A8D; }
@media (prefers-reduced-motion: reduce) { .mnav__ed { transition: none; } }

/* ---------- Programmes list: bigger menu CTAs + "View all programmes" dialog (Concept C, centred; 4 Nov 2026) ----------
   Mobile first. The dialog is .eiu-progsheet (built by assets/js/progsheet.js); class names avoid words that cosmetic
   filters hide. Bottom sheet with a "‹ Menu" bar below 640px, centred dialog from 640px. Red/navy/greys only. */
.mnav__cta { min-height: 52px; padding: 10px 12px 10px 16px; border-radius: 12px; font-size: 15.5px; font-weight: 650; line-height: 1.25; box-shadow: 0 6px 16px rgba(154, 8, 5, .18); }
.mnav__cta:hover { background: var(--red-bright); }
.mnav__va { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 2px 0 10px; padding: 8px 12px; border: 1.5px dashed #E2B9B9; border-radius: 12px; background: #FBEFEF; color: var(--red) !important; font-size: 15px; font-weight: 650; text-decoration: none; }
.mnav__va:hover { background: #F8E4E4; border-color: var(--red); }
.mnav__va .viewall__count { min-width: 26px; height: 26px; border-radius: 13px; font-size: 12.5px; }
.mnav__va .mnav__go { color: var(--red); width: 18px; height: 18px; }

@media (min-width: 980px) {
  .prog-card__ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; margin: .1rem 0 .5rem; }
  .prog-card--long .prog-card__scroll { max-height: 172px; }
  .mega-cta, .prog-card__ctas .mega-cta { min-height: 48px; padding: .5rem .6rem .5rem .9rem; border-radius: 10px; font-size: .875rem; font-weight: 650; gap: .6rem; justify-content: space-between; }
  .mega-cta__arrow, .prog-card__ctas .mega-cta__arrow { width: 24px; height: 24px; }
  .mega-cta__arrow svg { width: 12px; height: 12px; }
  .prog-card__ctas .nav-aside { margin-left: 0; min-height: 48px; padding: .4rem .6rem .4rem .55rem; border-radius: 10px; gap: .6rem; }
  .prog-card__ctas .nav-aside__icon { width: 32px; height: 32px; }
  .prog-card__ctas .nav-aside__icon svg { width: 17px; height: 17px; }
  .prog-card__ctas .nav-aside__eyebrow { font-size: .6875rem; }
  .prog-card__ctas .nav-aside__label { font-size: .875rem; white-space: normal; }
  .prog-card__ctas .nav-aside__meta { font-size: .8125rem; }
  .prog-card__ctas .nav-aside .mega-cta__arrow { margin-left: auto; }
  .viewall { min-height: 44px; margin-top: .5rem; padding: .5rem .75rem; border-radius: 10px; font-size: .875rem; font-weight: 650; text-decoration: none; }
  .viewall__count { min-width: 22px; height: 22px; border-radius: 11px; font-size: .72rem; }
}
.viewall__chev { flex: none; }
a.viewall { text-decoration: none; }

/* fallback notice (menu and list page) */
.eiu-progsheet-note { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 0; padding: 12px 14px; border: 1px solid #CCD6EA; border-radius: 12px; background: #EEF2FA; color: var(--navy-deep); font-size: 14.5px; line-height: 1.4; }
.eiu-progsheet-note[hidden] { display: none; }
.eiu-progsheet-note .eiu-progsheet__i { flex: none; margin-top: 1px; color: var(--navy); }
.eiu-progsheet-note--page { max-width: 760px; margin: 0 0 18px; }

/* dialog */
.eiu-progsheet { --ps-dur: 320ms; position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; font-family: var(--font); }
.eiu-progsheet.is-on { visibility: visible; }
html.eiu-progsheet-on, html.eiu-progsheet-on body { overflow: hidden; }
html.eiu-progsheet-on .eb-launch, html.eiu-progsheet-on .stg-badge { visibility: hidden; }
.eiu-progsheet__i { width: 20px; height: 20px; flex: none; }
.eiu-progsheet__scrim { position: absolute; inset: 0; background: rgba(16, 24, 44, .55); opacity: 0; transition: opacity var(--ps-dur) var(--ease); }
.eiu-progsheet.is-on .eiu-progsheet__scrim { opacity: 1; }
.eiu-progsheet__panel { position: relative; display: flex; flex-direction: column; width: 100%; max-height: 92vh; max-height: 92dvh; overflow: hidden; border-radius: 22px 22px 0 0; background: #fff; color: #2B3448; box-shadow: 0 24px 60px rgba(16, 24, 44, .28); outline: none; transform: translateY(100%); transition: transform var(--ps-dur) var(--ease), opacity var(--ps-dur) var(--ease); }
.eiu-progsheet.is-on .eiu-progsheet__panel { transform: none; }
.eiu-progsheet__panel.is-anim { transition: height var(--ps-dur) var(--ease), transform var(--ps-dur) var(--ease), opacity var(--ps-dur) var(--ease); }
.eiu-progsheet__panel :focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.eiu-progsheet__grab { display: flex; justify-content: center; padding: 8px 0 0; touch-action: none; cursor: grab; }
.eiu-progsheet__grab span { width: 44px; height: 5px; border-radius: 3px; background: #C9CFDA; }
.eiu-progsheet__bar { display: flex; align-items: center; padding: 2px 10px 0 8px; }
.eiu-progsheet__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 4px; border: 0; border-radius: 10px; background: none; color: var(--navy); font: 600 15px var(--font); cursor: pointer; }
.eiu-progsheet__x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.eiu-progsheet__x:hover { background: var(--gray); }
.eiu-progsheet__hd { display: flex; align-items: center; gap: 12px; padding: 4px 16px 12px 18px; }
.eiu-progsheet__hd .eiu-progsheet__x { display: none; }
.eiu-progsheet__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #EEF2FA; color: var(--navy); }
.eiu-progsheet__ic .eiu-progsheet__i { width: 22px; height: 22px; }
.eiu-progsheet__tt { min-width: 0; }
.eiu-progsheet__tt h2 { margin: 0; color: #14213D; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.eiu-progsheet__tt p { margin: 2px 0 0; color: #5A6478; font-size: 14px; }
.eiu-progsheet__tt p b { color: var(--red); }
.eiu-progsheet__sub { display: flex; align-items: center; gap: 8px; margin: 0 18px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #5A6478; font-size: 13.5px; }
.eiu-progsheet__sub .eiu-progsheet__i { width: 16px; height: 16px; }
.eiu-progsheet__sub > span:not([data-shown]) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eiu-progsheet__sub [data-shown] { margin-left: auto; color: var(--navy-deep); font-weight: 600; white-space: nowrap; }
.eiu-progsheet__bd { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.eiu-progsheet__rows { margin: 0; padding: 4px 8px; list-style: none; counter-reset: eiups; }
.eiu-progsheet__row[hidden] { display: none; }
.eiu-progsheet__row a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px; border-radius: 12px; color: #14213D; text-decoration: none; scroll-margin: 12px; }
.eiu-progsheet__row + .eiu-progsheet__row a { border-top: 1px solid #EEF0F4; }
.eiu-progsheet__row a:hover { background: var(--gray); }
.eiu-progsheet__row a::before { counter-increment: eiups; content: counter(eiups, decimal-leading-zero); flex: none; width: 20px; color: var(--red); font: 700 12px var(--font); }
.eiu-progsheet__ab { flex: none; width: 60px; height: 28px; padding: 0 3px; overflow: hidden; border-radius: 8px; background: #EEF2FA; color: var(--navy-deep); font: 700 11.5px/28px var(--font); letter-spacing: .02em; text-align: center; }
.eiu-progsheet__ab--ic { display: grid; place-items: center; color: var(--navy); }
.eiu-progsheet__ab--ic .eiu-progsheet__i { width: 16px; height: 16px; }
.eiu-progsheet__nm { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 550; line-height: 1.32; overflow-wrap: anywhere; }
.eiu-progsheet__go { color: #6B7280; transition: transform .15s; }
.eiu-progsheet__row a:hover .eiu-progsheet__go { color: var(--red); transform: translateX(2px); }
.eiu-progsheet__row.is-new a { animation: eiuProgsheetIn .42s var(--ease) both; }
@keyframes eiuProgsheetIn { from { opacity: 0; transform: translateY(6px); } }
.eiu-progsheet__res { margin: 6px 18px 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.eiu-progsheet__res[hidden] { display: none; }
.eiu-progsheet__res h3 { margin: 0 0 6px; color: #5A6478; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eiu-progsheet__res ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eiu-progsheet__res a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; color: var(--navy-deep); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.eiu-progsheet__res a:hover { border-color: var(--navy); }
.eiu-progsheet__res .eiu-progsheet__i { width: 16px; height: 16px; color: var(--navy); }
.eiu-progsheet__more { padding: 8px 14px 0; border-top: 1px solid var(--line); }
.eiu-progsheet__more[hidden] { display: none; }
.eiu-progsheet__tog { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1.5px dashed #E2B9B9; border-radius: 12px; background: #FBEFEF; color: var(--red); font: 650 16px var(--font); cursor: pointer; }
.eiu-progsheet__tog:hover { background: #F8E4E4; }
.eiu-progsheet__tog .eiu-progsheet__i { transition: transform var(--ps-dur) var(--ease); }
.eiu-progsheet__tog[aria-expanded="true"] { border-style: solid; border-color: var(--line); background: #fff; color: var(--navy-deep); }
.eiu-progsheet__tog[aria-expanded="true"] .eiu-progsheet__i { transform: rotate(180deg); }
.eiu-progsheet__ft { display: flex; gap: 10px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: #fff; }
.eiu-progsheet__more:not([hidden]) + .visually-hidden + .eiu-progsheet__ft { padding-top: 8px; }
.eiu-progsheet__more[hidden] + .visually-hidden + .eiu-progsheet__ft { border-top: 1px solid var(--line); }
.eiu-progsheet__btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 12px; font: 650 16px/1.2 var(--font); text-align: center; text-decoration: none; }
.eiu-progsheet__btn--p { background: var(--red); color: #fff; }
.eiu-progsheet__btn--p:hover { background: var(--red-bright); color: #fff; }
.eiu-progsheet__btn--s { display: none; border: 1.5px solid #CCD6EA; background: #fff; color: var(--navy-deep); }
.eiu-progsheet__btn--s:hover { border-color: var(--navy); }
.eiu-progsheet__btn--s .eiu-progsheet__i { color: var(--navy); }
@media (min-width: 640px) {
  .eiu-progsheet { align-items: center; padding: 32px 24px; }
  .eiu-progsheet__panel { width: min(680px, 100%); max-height: min(840px, 86vh); border-radius: 20px; opacity: 0; transform: translateY(14px) scale(.97); }
  .eiu-progsheet.is-on .eiu-progsheet__panel { opacity: 1; transform: none; }
  .eiu-progsheet__grab, .eiu-progsheet__bar { display: none; }
  .eiu-progsheet__hd { padding: 18px 18px 14px 22px; }
  .eiu-progsheet__hd .eiu-progsheet__x { display: grid; }
  .eiu-progsheet__sub { margin: 0 22px; }
  .eiu-progsheet__rows { padding: 6px 12px; }
  .eiu-progsheet__row a { gap: 14px; min-height: 56px; padding: 8px 12px; }
  .eiu-progsheet__ab { width: 68px; font-size: 12px; }
  .eiu-progsheet__nm { font-size: 15.5px; }
  .eiu-progsheet__more { padding: 10px 22px 0; }
  .eiu-progsheet__ft { padding: 12px 22px 16px; }
  .eiu-progsheet__btn--s { display: inline-flex; flex: 0 1 auto; }
  .eiu-progsheet__btn--p { flex: 0 1 auto; margin-left: auto; }
}
@media (min-width: 1360px) { .eiu-progsheet__panel { width: 720px; } }
@media (prefers-reduced-motion: reduce) {
  .eiu-progsheet__scrim, .eiu-progsheet__panel, .eiu-progsheet__panel.is-anim, .eiu-progsheet__go, .eiu-progsheet__tog .eiu-progsheet__i { transition: opacity 1ms linear !important; }
  .eiu-progsheet__panel, .eiu-progsheet.is-on .eiu-progsheet__panel { transform: none !important; }
  .eiu-progsheet__panel { opacity: 0; }
  .eiu-progsheet.is-on .eiu-progsheet__panel { opacity: 1; }
  .eiu-progsheet__row.is-new a { animation: none; }
}

/* Footer brand column (4 Nov 2026): framed logo, Student Verification button, WhatsApp QR card (scripts/build_footer_brand.py) */
.footer-brand .footer-logo { box-sizing: content-box; height: 42px; padding: 12px 16px; background: #fff; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px rgba(6,16,40,.35), 0 0 0 4px rgba(255,255,255,.08); margin-bottom: 1rem; display: block; max-width: calc(100% - 34px); object-fit: contain; }
.footer-brand > a:first-child { display: inline-block; border-radius: 12px; }
.footer-brand > a:first-child:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer-cta { display: flex; flex-direction: column; align-items: stretch; gap: .85rem; margin-top: 1.25rem; width: 100%; max-width: 300px; }
.footer-qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: .9rem 1rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.05); text-align: center; }
.footer-qr__cap { font-size: .84rem; line-height: 1.45; font-weight: 500; color: rgba(255,255,255,.92); max-width: 26ch; }
.footer-qr__tile { background: #fff; padding: 8px; border-radius: 10px; line-height: 0; box-shadow: 0 4px 14px rgba(6,16,40,.3); }
.footer-qr__tile img { width: 120px; height: 120px; object-fit: contain; display: block; }
.site-footer a.footer-qr__chat { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; margin: -.3rem 0 -.5rem; font-weight: 600; font-size: .88rem; color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.site-footer a.footer-qr__chat:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 4px; }
.site-footer a.footer-verify { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .65rem 1.1rem; border-radius: 10px;
  border: 0; background: #B70A14; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none;
  box-shadow: 0 6px 16px rgba(6,16,40,.35); transition: background-color .2s var(--ease); }
.site-footer a.footer-verify:hover { background: #9A0805; color: #fff; text-decoration: none; }
.site-footer a.footer-verify:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.footer-verify .fb-i--ext { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .site-footer a.footer-verify { transition: none; } }
/* footer: logo sits straight above the QR card when the blurb is empty */
.footer-brand .footer-logo { margin-bottom: 0; }
.footer-brand .footer-blurb { margin-top: .9rem; }
.footer-brand > a:first-child + .footer-cta { margin-top: 1rem; }
/* footer: QR card leads the brand column when logo + blurb are off, top-aligned with the other column headings */
.footer-brand > .footer-cta:first-child { margin-top: 0; }

/* Cookie notice (4 Nov 2026, scripts/build_cookie_notice.py + assets/js/cookie-notice.js). Fixed, so no layout shift.
   >= 900px: card bottom-left, clear of the EIU Bot (bottom-right). < 900px: full-width bottom card; the EIU Bot launcher and
   the staging badge step aside while it is open (html.ck-open). Stacking: above content + staging badge (230), below the bot (240+). */
.ck { position: fixed; z-index: 238; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 40px));
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 48px 18px 16px; overflow: hidden;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 14px;
  box-shadow: 0 18px 48px rgba(26, 50, 104, .18); font-family: var(--font);
  opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.ck[hidden] { display: none; }
.ck.is-in { opacity: 1; transform: none; }
.ck__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.ck__body { min-width: 0; }
.ck__t { margin: 0 0 4px; font-size: .9375rem; line-height: 1.3; font-weight: 700; color: var(--navy-deep); }
.ck__p { margin: 0 0 12px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.ck__links { white-space: nowrap; }
.ck__links a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ck__links a + a { margin-left: 10px; }
.ck__links a:hover { color: var(--red); }
.ck__ok { min-height: 40px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font: 600 .875rem/1 var(--font); cursor: pointer; }
.ck__ok:hover { background: var(--red-bright); }
.ck__x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px;
  background: none; color: var(--muted); cursor: pointer; }
.ck__x:hover { background: var(--gray); color: var(--ink); }
.ck__ok:focus-visible, .ck__x:focus-visible, .ck__links a:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.ck__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--navy); opacity: .35; transform-origin: left; transition: transform .25s linear; }
html.ck-open .stg-badge { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 899px) {
  .ck { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; max-width: 560px; margin: 0 auto; }
  html.ck-open .eb-launch { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (max-width: 380px) { .ck__ic { display: none; } .ck { padding-left: 14px; } }
body.nav-open .ck, .eb-is-open .ck, body:has([data-mega].is-open) .ck { visibility: hidden; }   /* step aside while a menu or the bot panel is open */
@media (prefers-reduced-motion: reduce) { .ck, .ck__bar { transition: none; transform: none; } .ck__bar { display: none; } }
@media print { .ck { display: none !important; } }
