/* Home (final): light page with two dark bands (learners map, key differentiators). */

.h-sec { border-bottom: 1px solid var(--line); }
.line-cta { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--black); padding-bottom: 2px; color: var(--black); white-space: nowrap; transition: opacity var(--dur-fast) var(--ease); }
.line-cta:hover { opacity: .65; }
.arr { display: inline-block; transition: transform 350ms var(--ease-out); }

/* Dark bands: tokens are scoped here so the rest of the page keeps the light palette. */
.dk {
  --fg: #EDEDEA; --fg-2: #B9B9B4; --fg-3: #8A8A86;
  --rule: rgba(237,237,234,.12); --rule-strong: rgba(237,237,234,.32);
  --gold: #E5B73B; --card: #131315; --card-2: #1B1B1E;
  background: #0B0B0C; color: var(--fg);
}
.dk .sec-head p { color: var(--fg-2); }
.dk *:focus-visible { outline-color: var(--gold); }

/* ---------- 1. Banner ---------- */
.hero { position: relative; background: var(--black); color: #EDEDEA; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: #000; }
.hero__video, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.hero__video[hidden], .hero__still[hidden] { display: none; }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,11,12,.62) 0%, rgba(11,11,12,.28) 40%, rgba(11,11,12,.8) 100%),
  linear-gradient(90deg, rgba(11,11,12,.5) 0%, rgba(11,11,12,0) 60%); }

.hero__body { position: relative; z-index: 2; flex: 1; padding: 120px var(--gutter) 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 36px; }
.hero__copy { max-width: 1180px; min-width: 0; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(42px, 6vw, 92px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hero__sub { margin-top: clamp(16px, 1.8vw, 24px); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; color: #CFCFCA; }
.hero__ctas { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; }
.hbtn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid #EDEDEA; background: #EDEDEA; color: #0B0B0C; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background 250ms var(--ease-out), color 250ms var(--ease-out), border-color 250ms var(--ease-out); }
.hbtn:hover { background: #E5B73B; border-color: #E5B73B; color: #0B0B0C; }
.hbtn:hover .arr { transform: translateX(4px); }
.hbtn--ghost { background: rgba(11,11,12,.35); color: #EDEDEA; border-color: rgba(237,237,234,.5); }
.hbtn--ghost:hover { background: #EDEDEA; color: #0B0B0C; border-color: #EDEDEA; }
.hbtn--ghost:hover .arr { transform: translateY(3px); }

@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__title, .hero__sub, .hero__ctas, .vcard { animation: hero-in 900ms var(--ease-out) both; }
.hero__title { animation-delay: 120ms; }
.hero__sub { animation-delay: 300ms; }
.hero__ctas { animation-delay: 460ms; }
.vcard { animation-delay: 700ms; }

/* Institution card */
.vcard { width: 100%; border: 1px solid rgba(237,237,234,.28); background: rgba(11,11,12,.68); color: #EDEDEA; }
.vcard__info { padding: 14px 16px; overflow: hidden; }
.vcard__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.vcard__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vcard__name { font-size: 15px; font-weight: 600; line-height: 1.3; color: #EDEDEA; text-decoration: underline; text-decoration-color: rgba(237,237,234,.35); text-underline-offset: 4px; transition: text-decoration-color var(--dur-base) var(--ease); }
.vcard__name:hover { text-decoration-color: #E5B73B; }
.vcard__place { font-size: 13px; line-height: 1.35; color: #B9B9B4; }
.vcard__flag { flex: 0 0 28px; width: 28px; height: 21px; object-fit: cover; box-shadow: 0 0 0 1px rgba(237,237,234,.3); }
.vcard__prog { height: 2px; background: rgba(237,237,234,.16); overflow: hidden; }
.vcard__prog span { display: block; height: 100%; background: #E5B73B; transform: scaleX(0); transform-origin: 0 50%; }
.vcard__controls { display: flex; align-items: stretch; }
.vcard button { all: unset; cursor: pointer; box-sizing: border-box; }
.vcard button:focus-visible, .vcard__name:focus-visible { outline: 2px solid #E5B73B; outline-offset: 2px; }
.vcard .vcard__btn { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-mono); color: #EDEDEA; transition: background var(--dur-fast) var(--ease); }
.vcard .vcard__btn:hover { background: rgba(237,237,234,.08); }
.vcard .vcard__play { border-right: 1px solid rgba(237,237,234,.18); }
.vcard .vcard__cc { border-left: 1px solid rgba(237,237,234,.18); margin-left: auto; }
.vcard .vcard__cc[aria-pressed="true"] { color: #E5B73B; }
.vcard__count { display: flex; align-items: center; padding: 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-mono); color: #B9B9B4; font-variant-numeric: tabular-nums; }
.vcard__caption { padding: 10px 16px; border-top: 1px solid rgba(237,237,234,.18); font-size: 14px; line-height: 1.45; }
.vcard__caption[hidden] { display: none; }
@media (min-width: 768px) {
  .hero__body { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 140px var(--gutter) 48px; }
  .hero__copy { flex: 1 1 auto; }
  .vcard { width: 340px; flex: 0 0 340px; }
}

/* ---------- 2. Group in numbers ---------- */
.ledger__body { display: flex; flex-wrap: wrap; gap: 56px clamp(40px, 6vw, 112px); }
.ledger__main { flex: 1.25 1 520px; min-width: 0; }
.ledger__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--grey-5); }
.ledger__fig { font-size: clamp(72px, 12.5vw, 184px); line-height: .9; margin: 12px 0 36px; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.ledger__fig .it { color: color-mix(in srgb, currentColor 40%, transparent); }
.ledger__table { display: flex; flex-direction: column; max-width: 600px; }
.ledger__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.ledger__row:first-child { border-top-color: var(--black); }
.ledger__row--total { border-top: 1px solid var(--black); font-weight: 600; }
.ledger__row .m { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ledger__side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.ledger__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.lcell { background: var(--white); padding: 20px 20px 22px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.lcell:nth-child(3n+1) { padding-left: 0; }
.lcell:nth-child(-n+3) { padding-top: 0; }
.lcell:nth-child(n+4) { padding-bottom: 0; }
.lcell__v { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(36px, 3.2vw, 48px); line-height: 1; letter-spacing: -.035em; }
.lcell__l { font-size: 15px; line-height: 1.35; color: var(--grey-3); }
.ledger__foot { margin-top: 28px; font-size: 13px; color: var(--grey-5); line-height: 1.6; max-width: 56ch; }
/* Tablet and desktop: the numbers sit on black (phones keep the light field). */
@media (min-width: 768px) {
  .ledger { background: #0A0A0A; color: #EDEDEA; border-bottom-color: rgba(237,237,234,.12); }
  .ledger__label, .ledger__foot { color: #A3A39E; }
  .ledger__row { border-top-color: rgba(237,237,234,.16); }
  .ledger__row:first-child, .ledger__row--total { border-top-color: rgba(237,237,234,.6); }
  .ledger__fig .it { color: color-mix(in srgb, currentColor 52%, transparent); }
  .ledger__grid { background: rgba(237,237,234,.16); }
  .lcell { background: #0A0A0A; }
  .lcell__l { color: #B9B9B4; }
  .ledger *:focus-visible { outline-color: #EDEDEA; }
}
@media (max-width: 599px) {
  .ledger__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lcell, .lcell:nth-child(n) { padding: 18px 16px; }
  .lcell:nth-child(odd) { padding-left: 0; }
  .lcell:nth-child(-n+2) { padding-top: 0; }
  .lcell:nth-child(n+5) { padding-bottom: 0; }
}

/* ---------- 3. Our institutions ----------
   Below 960: dark band with stacked regions (one block per region).
   960 and up: light matrix (regions as columns, verticals as rows) with a sticky details bar. */
.inst { padding: var(--section-top) var(--gutter) var(--section-bottom); }
.inst__intro { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; margin-bottom: clamp(32px, 4vw, 56px); }
.inst__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4.4vw, 72px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.inst__lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 46ch; }
.inst__total { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-mono); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.inst__foot { padding-top: 8px; }
.inst__all:hover .arr { transform: translateX(4px); }
.grid-wide { display: none; }

@media (max-width: 959px) {
  .inst {
    --fg: #EDEDEA; --fg-2: #B9B9B4; --fg-3: #8A8A86;
    --rule: rgba(237,237,234,.12); --rule-strong: rgba(237,237,234,.32);
    --gold: #E5B73B;
    background: #0B0B0C; color: var(--fg);
  }
  .inst *:focus-visible { outline-color: var(--gold); }
  .inst__lead { color: var(--fg-2); }
  .inst__total, .ipanel__n { color: var(--fg-3); }
  .ipanel { padding: 28px 0 36px; border-top: 1px solid var(--rule); }
  .ipanel__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 20px; }
  .ipanel__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 44px); line-height: 1; letter-spacing: -.035em; }
  .ipanel__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-mono); text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .ipanel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
  .itile { min-width: 0; }
  .itile__a { position: relative; display: flex; flex-direction: column; gap: 10px; color: var(--fg-2); text-decoration: none; }
  .itile__logo { position: relative; display: block; aspect-ratio: 1; background: var(--surface); overflow: hidden; }
  .itile__logo img { position: absolute; inset: 16%; width: 68%; height: 68%; max-width: none; object-fit: contain; transition: transform var(--dur-slow) var(--ease); }
  .itile.is-dev .itile__logo img { opacity: .55; }
  .itile__name { font-size: 13px; line-height: 1.35; transition: color var(--dur-fast) var(--ease); }
  .itile__dev { align-self: flex-start; margin-top: -4px; padding: 3px 6px; border: 1px solid var(--rule-strong); font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--fg-2); }
  .itile__a:hover .itile__name { color: var(--fg); }
  .itile__a:hover .itile__logo img { transform: scale(1.05); }
  .itile__a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
  .itile__a:focus-visible .itile__name { color: var(--fg); }
  /* Arrival highlight (hero card link): a ring that pulses for about 1.2s */
  .itile__ring { position: absolute; left: -4px; top: -4px; width: calc(100% + 8px); aspect-ratio: 1; border: 2px solid var(--gold); opacity: 0; pointer-events: none; }
  .itile.is-hl .itile__ring { opacity: 1; animation: itile-ring 1.2s var(--ease) both; }
}
@keyframes itile-ring { 0% { opacity: 0; } 18% { opacity: 1; } 42% { opacity: .3; } 66% { opacity: 1; } 100% { opacity: 1; } }
@media (min-width: 768px) and (max-width: 959px) {
  .ipanel { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.2fr); gap: 24px clamp(32px, 4vw, 64px); padding: 36px 0 44px; }
  .ipanel__head { flex-direction: column; gap: 10px; margin: 0; }
  .ipanel__grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 24px 16px; }
}

@media (min-width: 960px) {
  .inst { border-bottom: 1px solid var(--line); }
  .inst__panels { display: none; }
  .grid-wide { display: block; }
  .inst__intro { margin-bottom: 32px; }
  .inst__lead { color: var(--grey-3); }
  .inst__total { display: none; }
  .inst__foot { padding-top: 32px; }
  .inst .inst__all { background: transparent; color: var(--black); border-color: rgba(10,10,10,.32); }
  .inst .inst__all:hover { background: var(--black); color: var(--white); border-color: var(--black); }
}
.gfilters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: 20px; }
.gfilters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gfilters__chips { display: contents; }
.gfilters__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--grey-5); margin-right: 6px; }
.gfilters__count { margin-left: auto; font-size: 14px; color: var(--grey-5); }

.matrix { border-top: 1px solid var(--black); border-left: 1px solid var(--line); }
.mrow { display: grid; grid-template-columns: var(--cols); border-bottom: 1px solid var(--line); }
.mrow--head { border-bottom-color: var(--black); }
.mhead { padding: 12px; border-right: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mhead__label { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 20px; line-height: 1.1; letter-spacing: -.02em; }
.mhead__code { font-family: var(--font-mono); font-size: 12px; color: var(--grey-5); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mcorner { padding: 12px; border-right: 1px solid var(--line); font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--grey-5); }
.mvert { padding: 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; background: var(--grey-1); }
.mvert__label { font-size: 15px; font-weight: 600; line-height: 1.25; }
.mcell { border-right: 1px solid var(--line); display: flex; flex-wrap: wrap; align-content: flex-start; gap: 1px; background: var(--white); min-height: 112px; min-width: 0; }
.mempty { flex: 1; align-self: stretch; min-height: 112px; background: var(--white); }
.gtile { all: unset; box-sizing: border-box; cursor: pointer; flex: 1 1 150px; min-width: 0; min-height: 112px; background: var(--surface); position: relative; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(0,0,0,.1); transition: box-shadow var(--dur-base) var(--ease), background var(--dur-fast) var(--ease); }
/* Hover is a visual highlight only; selection needs a click, tap, Enter or Space. */
.gtile:hover { background: var(--grey-1); box-shadow: inset 0 0 0 1px var(--black), 0 0 0 1px rgba(0,0,0,.1); }
.gtile:focus-visible { background: var(--grey-1); outline: 2px solid var(--black); outline-offset: 2px; z-index: 1; }
.gtile__logo img { transition: transform var(--dur-slow) var(--ease); }
.gtile:hover .gtile__logo img { transform: scale(1.04); }
.gtile.is-sel, .gtile.is-sel:hover { box-shadow: var(--edge-selected), 0 0 0 1px rgba(0,0,0,.1); }
.gtile__dev { min-height: 22px; padding: 8px 10px 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--black); }
.gtile__logo { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6px 16px; }
.gtile__logo img { max-width: 100%; max-height: 44px; }
.gtile.is-dev .gtile__logo img { opacity: .55; }
.gtile__name { padding: 0 10px 8px; font-size: 12px; font-weight: 500; line-height: 1.25; color: var(--grey-3); }

/* Sticky details bar: sticks to the viewport bottom inside the section, then settles under the matrix. */

/* ---------- 4. Partners: logo marquee on the light field ---------- */
.partners { background: #F4F4F2; overflow: hidden; }
.marquee { margin: 0 calc(-1 * var(--gutter)); display: flex; flex-direction: column; gap: 14px; }
.mq-row { overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mq 70s linear infinite; }
.mq-row--rev .mq-track { animation-direction: reverse; }
.mq-set { display: flex; gap: 14px; padding-right: 14px; }
.mq-item { overflow: hidden; flex: 0 0 auto; width: clamp(132px, 12vw, 176px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.mq-item .logo-bal { --a: 4000; --max-h: 64px; }
@media (max-width: 767px) { .mq-item { padding: 14px; } .mq-item .logo-bal { --a: 2400; --max-h: 48px; } }
.marquee.is-off .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.partners__foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.partners__note { font-size: 15px; color: var(--grey-3); }
.partners__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lbtn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid rgba(10,10,10,.32); color: var(--black); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background 250ms var(--ease-out), color 250ms var(--ease-out), border-color 250ms var(--ease-out); }
.lbtn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.lbtn:hover .arr { transform: translateX(4px); }

/* ---------- 4b. Mission (dark, compact) ---------- */
.mission { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.mission__in { display: grid; gap: 40px clamp(40px, 6vw, 112px); }
.mission__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.mission__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.06; letter-spacing: -.035em; max-width: 22ch; text-wrap: balance; }
.mission__text { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--fg-2); max-width: 58ch; }
.mission__link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg); font-weight: 600; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(237,237,234,.5); transition: box-shadow var(--dur-fast) var(--ease); }
.mission__link:hover { box-shadow: inset 0 -1px 0 var(--fg); }
.mission__link:hover .arr { transform: translateX(4px); }
.mission .mission__link:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.mission__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; align-content: end; }
.mfact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.mfact dd { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 2.9vw, 48px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mfact:first-child { border-top-color: var(--accent); }
.mfact dt { font-size: 14px; line-height: 1.4; color: var(--fg-2); }
@media (min-width: 960px) {
  .mission__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
}
@media (max-width: 599px) {
  .mission__facts { grid-template-columns: 1fr; gap: 16px; }
  .mfact { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 16px; }
  .mfact dd { flex: 0 0 140px; font-size: 30px; }
}

/* ---------- 5. Accreditations ---------- */
.accr__facts { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid rgba(10,10,10,.16); }
.accr__facts > div { padding: 12px 0; border-bottom: 1px solid rgba(10,10,10,.16); display: flex; flex-direction: column; gap: 4px; }
.accr__facts dt { font-size: 14px; font-weight: 600; line-height: 1.35; }
.accr__facts dd { font-size: 14px; line-height: 1.45; color: var(--grey-3); }
.accr__layout { display: grid; gap: 32px clamp(40px, 6vw, 96px); }
.accr__head { margin-bottom: 0; }
.accr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 150px), 1fr)); gap: 8px; }
.accr__item { background: var(--surface); }
.accr__logo { height: 112px; display: flex; align-items: center; justify-content: center; padding: 18px 20px; }
.accr__logo img { max-width: 100%; max-height: 60px; }
@media (min-width: 960px) {
  .accr__layout { grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); align-items: start; }
  .accr__head { position: sticky; top: 32px; }
  .accr__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- 6. Learners (dark): one canvas, drawn and animated by home.js ---------- */
.geo__stage { display: grid; gap: 40px; }
.geo__view { min-width: 0; display: flex; flex-direction: column; }
.geo__cap { font-family: var(--font-display); font-weight: 500; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.25; letter-spacing: -.02em; color: var(--fg); min-height: 2.5em; margin-bottom: 12px; text-wrap: balance; }
.geo__map { position: relative; aspect-ratio: 470 / 255; overflow: hidden; }
.geo__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.geo__map.no-dots::before { content: ""; position: absolute; inset: 0; background: url("../../assets/design/world-dots-map.png") center / contain no-repeat; filter: invert(1); opacity: .4; }
.geo__tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; max-width: 250px; padding: 10px 14px; background: #0B0B0C; border: 1px solid var(--rule-strong); pointer-events: none; opacity: 0; will-change: transform; }
.geo__tag b { font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums; min-width: 1.2em; }
.geo__tag span { font-size: 13px; line-height: 1.35; color: var(--fg-2); }
.geo__tip { position: absolute; left: 0; top: 0; padding: 6px 10px; background: var(--fg); color: #0B0B0C; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 120ms linear; }
.geo__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.geo__row { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--rule-strong); box-shadow: inset 0 0 0 transparent; transition: opacity 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease); }
.geo__row:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.geo__row .geo__v, .geo__row .geo__l { transition: color 240ms var(--ease); }
.geo__row.is-dim .geo__v { color: var(--fg-3); }
.geo__row.is-dim { opacity: .45; }
.geo__stats.has-on .geo__row:not(.is-on) { opacity: .4; }
.geo__row.is-on { border-top-color: var(--fg); box-shadow: inset 0 2px 0 var(--fg); }
.geo__row.is-on .geo__l { color: var(--fg); }
.geo__row[aria-pressed="true"] .geo__l::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle; background: var(--fg); }
.geo__v { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 4.6vw, 72px); line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.geo__v .pct { font-size: .55em; letter-spacing: 0; color: var(--fg-3); }
.geo__l { font-size: 14px; line-height: 1.4; color: var(--fg-2); }
.geo__foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; line-height: 1.6; color: var(--fg-3); }
.geo__keys { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.geo__key { display: flex; align-items: center; gap: 10px; }
.geo__key .sq { width: 8px; height: 8px; background: var(--fg); display: block; }
.geo__key .sq--hub { background: var(--gold); }
@media (min-width: 900px) {
  .geo__stage { grid-template-columns: minmax(0, 3.2fr) minmax(200px, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
  .geo__stats { grid-template-columns: 1fr; gap: 32px; }
}
/* Desktop with motion: home.js adds .is-pin; the section fills the viewport while the story scrubs */
.geo.is-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding-top: clamp(28px, 6vh, 64px); padding-bottom: clamp(16px, 3vh, 28px); }
.geo.is-pin .sec-head { margin-bottom: clamp(12px, 2.5vh, 28px); }
.geo.is-pin .geo__stage { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(16px, 3vh, 32px); }
.geo.is-pin .geo__view { min-height: 0; }
.geo.is-pin .geo__cap { min-height: 1.25em; }
.geo.is-pin .geo__map { aspect-ratio: auto; flex: 1; min-height: 0; }
.geo.is-pin .geo__foot { margin-top: clamp(12px, 2.5vh, 28px); }
.geo.is-pin .geo__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.geo.is-pin .geo__v { font-size: clamp(36px, 4.4vh, 64px); }
@media (min-width: 900px) {
  .geo.is-pin .geo__stage { grid-template-rows: none; align-items: stretch; }
  .geo.is-pin .geo__stats { grid-template-columns: 1fr; align-content: center; gap: clamp(16px, 3.6vh, 32px); }
}

/* ---------- 7. Clients / alumni ---------- */
.tabs { display: flex; border-bottom: 1px solid var(--black); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { all: unset; box-sizing: border-box; cursor: pointer; min-height: 52px; padding: 0 20px; display: flex; align-items: center; gap: 12px; background: var(--white); color: var(--black); font-weight: 600; white-space: nowrap; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.tabs [role="tab"]:first-child { padding-left: 0; }
.tabs [role="tab"]:hover { color: var(--grey-3); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.tabs [role="tab"][aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--black); }
.tabs [role="tab"][aria-selected="false"] { color: var(--grey-5); }
.tabs .n { font-family: var(--font-mono); font-size: 11px; font-weight: 400; opacity: .7; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(50%, 160px), 1fr)); gap: 8px 24px; padding-top: 24px; }
.logos:focus-visible { outline-offset: 4px; }
@media (min-width: 960px) { .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 48px; } }
.logo-tile__img { height: 96px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
.logo-tile__img img { max-width: 100%; max-height: 48px; }
.clients__foot { margin-top: 20px; font-size: 13px; color: var(--grey-5); }
.clients__duo { display: none; }
@media (min-width: 960px) {
  .clients__tabbed { display: none; }
  .clients__duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cduo { display: flex; flex-direction: column; min-width: 0; padding-right: clamp(24px, 3vw, 48px); }
  .cduo + .cduo { padding: 0 0 0 clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
  .cduo__title { font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(32px, 2.8vw, 44px); line-height: 1.02; letter-spacing: var(--tracking-display); }
  .cduo__intro { margin-top: 12px; color: var(--grey-3); font-size: 16px; line-height: 1.5; max-width: 48ch; min-height: 3em; }
  .cduo__logos { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--black); }
  .cduo__logo { height: clamp(64px, 8.4vh, 84px); display: flex; align-items: center; justify-content: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .cduo__logo img { max-width: 100%; max-height: 34px; }
  .cduo__foot { margin-top: 14px; font-size: 13px; color: var(--grey-5); }
}

/* ---------- 8. Key differentiators (dark, stacked cards) ---------- */
.diffs *:focus-visible { outline-color: var(--fg); }
.diffs { padding-bottom: clamp(56px, 7vw, 96px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.scard__in { position: relative; overflow: hidden; background: var(--card); color: var(--fg); padding: clamp(28px, 5vw, 64px); display: grid; gap: 40px; align-content: center; transform-origin: 50% 0; }
.scard:nth-child(2) .scard__in { background: var(--card-2); }
.diffs { --bronze: var(--accent); }
.scard--accent .scard__in { box-shadow: inset 0 3px 0 var(--bronze); }
.scard__copy { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.scard__word { font-family: var(--font-display); font-weight: 500; line-height: .9; letter-spacing: -.055em; font-size: min(clamp(46px, 6.4vw, 104px), 13.5cqi); }
.scard__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 34ch; color: var(--fg-2); }
.scard__fig { min-width: 0; }
.scard__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
@media (min-width: 768px) {
  .scard__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); align-items: center; min-height: 560px; }
}
/* Desktop with motion: home.js adds .is-stack; each card pins and the previous one recedes */
.stack.is-stack { gap: 0; }
.stack.is-stack .scard { position: sticky; top: 0; height: 100vh; padding: 5vh 0; }
.stack.is-stack .scard__in { height: 100%; min-height: 0; will-change: transform; }

/* Graphics: shared */
.gx { display: flex; flex-direction: column; gap: 36px; }
.gx-lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--fg-2); line-height: 1.4; }

/* Affordability */
.gx-bars { display: flex; gap: clamp(24px, 4vw, 56px); align-items: flex-end; border-bottom: 1px solid var(--rule-strong); }
.gx-bar { display: flex; flex-direction: column; flex: 0 1 180px; min-width: 0; }
.gx-bar__col { position: relative; width: clamp(64px, 7vw, 104px); height: clamp(150px, 26vh, 260px); }
.gx-bar__fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: rgba(237,237,234,.14); border: 1px solid rgba(237,237,234,.45); border-bottom: 0; transform-origin: 50% 100%; }
.gx-bar--gold .gx-bar__fill { background: var(--fg); border-color: var(--fg); box-shadow: inset 0 3px 0 var(--bronze); }
.gx-bar .gx-lbl { position: absolute; top: calc(100% + 12px); left: 0; width: 100%; }
.gx-bar { position: relative; }
.gx-afford .gx-bars { margin-bottom: 52px; }
.gx-bar--gold .gx-lbl { color: var(--fg); }
.gx-mods { display: flex; flex-direction: column; gap: 12px; }
.gx-mods__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gx-mod { position: relative; height: 36px; border: 1px solid var(--rule-strong); overflow: hidden; }
.gx-mod i { position: absolute; inset: 3px; background: var(--fg); transform-origin: 0 50%; }

/* Accessibility */
.gx-access__svg svg { display: block; width: 100%; height: auto; overflow: visible; }
.gx-dot { fill: var(--fg); }
.gx-line { fill: none; stroke: var(--fg-2); stroke-width: 1; stroke-opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.gx-cert { fill: none; stroke: var(--fg); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.gx-cert__rule { stroke: var(--fg-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gx-cert__corner { fill: var(--bronze); }
.gx-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; }
.gx-count__n { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 5vw, 80px); line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; min-width: 2.2ch; }

/* Flexibility */
.gx-toggle { position: relative; display: block; width: min(100%, 380px); height: 64px; border: 1px solid var(--rule-strong); }
.gx-toggle__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--fg); }
.gx-toggle__opts { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; font-size: 17px; font-weight: 600; color: var(--fg-2); }
.gx-toggle__opts span { display: flex; align-items: center; justify-content: center; }
.gx-toggle__opts--on { color: #0B0B0C; clip-path: inset(0 50% 0 0); }
.gx-months { display: flex; flex-direction: column; gap: 12px; }
.gx-months__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.gx-month { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gx-month i { position: relative; display: block; height: 44px; border: 1px solid var(--rule-strong); overflow: hidden; }
.gx-month b { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: var(--fg-3); text-align: center; }
.gx-month__fill { display: block; position: absolute; inset: 2px; background: var(--fg); transform-origin: 50% 100%; }
@media (max-width: 479px) { .gx-month b { font-size: 9px; } .gx-month i { height: 36px; } }

/* ---------- 9. News: equal typographic cards ---------- */
.news__grid { display: grid; grid-template-columns: 1fr; gap: 0 clamp(20px, 2.4vw, 32px); }
.ncard { height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 20px 0 28px; border-top: 1px solid var(--black); text-decoration: none; color: var(--black); }
.ncard__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 1.4; }
.ncard__meta .pub { font-weight: 600; }
.ncard__meta .dim { color: var(--grey-5); }
.ncard__h { flex: 1; font-family: var(--font-display); font-weight: var(--weight-display); font-size: clamp(21px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.ncard__read { align-self: flex-start; font-size: 14px; font-weight: 600; box-shadow: inset 0 -1px 0 rgba(10,10,10,.35); transition: box-shadow var(--dur-fast) var(--ease); }
.ncard:hover .ncard__read { box-shadow: inset 0 -1px 0 var(--black); }
.ncard:hover .ncard__h { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news__foot { margin-top: 28px; }
@media (min-width: 600px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .news__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Phones: denser logo walls */
@media (max-width: 599px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
  .logo-tile__img { height: 72px; padding: 8px; }
  .logo-tile__img img { max-height: 36px; }
  .tabs [role="tab"] { padding: 0 12px; gap: 8px; font-size: 15px; }
}

/* Phones (under 768): three marquee rows of 8, and accreditations as a ruled table (internal hairlines only) */
@media (max-width: 767px) {
  .marquee { gap: 10px; }
  .mq-set { gap: 10px; padding-right: 10px; }
  .mq-item { width: 110px; }
  .mq-track { animation-duration: 34s; }
  .accr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .accr__item { background: none; border-right: 1px solid rgba(10,10,10,.12); border-bottom: 1px solid rgba(10,10,10,.12); }
  .accr__item:nth-child(3n) { border-right: 0; }
  .accr__item:nth-child(3n+1):nth-last-child(-n+3), .accr__item:nth-child(3n+1):nth-last-child(-n+3) ~ .accr__item { border-bottom: 0; }
  .accr__logo { height: 92px; padding: 14px; }
  .accr__logo img { max-height: 44px; }
}

/* Reduced motion: marquee becomes a static wrapped grid (base.css already stops animations). */
@media (prefers-reduced-motion: reduce) {
  .marquee { margin-left: 0; margin-right: 0; }
  .mq-track { width: auto; animation: none; }
  .mq-set { flex-wrap: wrap; padding-right: 0; }
  .mq-set[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .marquee { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mq-row, .mq-track, .mq-set { display: contents; }
  .mq-item { width: auto; }
}

/* Logo wall: a "View all" tile closes the last row; the rest of the logos open in place. */
@media (min-width: 600px) and (max-width: 959px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.logos:not(.is-all) .logo-tile:nth-child(n+24) { display: none; }
@media (min-width: 960px) { .logos:not(.is-all) .logo-tile:nth-child(24) { display: block; } }
.logo-more { display: flex; }
.logo-more__btn { all: unset; box-sizing: border-box; cursor: pointer; flex: 1; min-height: 96px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.logo-more__btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.logo-more__btn:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.logos.is-all .logo-more { grid-column: 1 / -1; }
.logos.is-all .logo-more__btn { min-height: 52px; }
@media (max-width: 599px) { .logo-more__btn { min-height: 72px; font-size: 14px; } }

/* Home matrix: hover, focus or click selects; details show in the black strip below. */
.gtile.is-sel, .gtile.is-sel:hover { background: var(--grey-1); box-shadow: var(--edge-selected), 0 0 0 1px rgba(0,0,0,.1); }
.gtile.is-hl { box-shadow: var(--edge-selected), 0 0 0 1px rgba(0,0,0,.1); }
.readout { background: var(--black); color: var(--white); display: flex; flex-wrap: wrap; align-items: stretch; }
.readout__logo { flex: 0 0 220px; background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 16px 20px; border: 1px solid var(--black); }
.readout__logo img { max-width: 100%; max-height: 64px; }
.readout__id { flex: 1 1 280px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line-inverse); }
.readout__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-mono); text-transform: uppercase; color: var(--text-inverse-soft); }
.readout__name { font-family: var(--font-display); font-weight: var(--weight-display); font-size: 28px; line-height: 1.1; letter-spacing: -.025em; }
.readout__sub { font-size: 14px; color: var(--text-inverse-soft); }
.readout__body { flex: 2 1 360px; padding: 20px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.readout__fact { font-size: 16px; line-height: 1.5; max-width: 60ch; }
.readout__url { font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-mono); color: var(--white); text-decoration: none; text-transform: uppercase; align-self: flex-start; }
a.readout__url:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) { .readout { display: none; } }

/* Phones: both hero buttons on one row, equal width. */
@media (max-width: 599px) {
  .hero__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero__ctas .hbtn { justify-content: space-between; min-height: 48px; padding: 0 12px; font-size: 13.5px; gap: 6px; }
}
@media (max-width: 359px) { .hero__ctas { grid-template-columns: 1fr; } }
