/* NEXIUM CAPITAL
   Layout: white pages, pale sky bands, soft rounded cards, and the logo's blue
   gradient as the only colour. Greys come from the "CAPITAL" lettering. */
:root {
  --bg: #ffffff;
  --sky: #eef6fc;          /* pale tint of the logo's light blue, for alternate bands */
  --ink: #2f353b;          /* headings and text: warm grey, never black */
  --muted: #6b7279;
  --line: #e3e6e9;         /* the grey of "CAPITAL", lightened */
  --silver: #9aa0a3;
  --royal: #1a73d9;        /* links and outlines */
  --blue: #2b8cf5;         /* logo gradient start */
  --blue-2: #4aa8f8;
  --cyan: #7dd8ff;         /* logo gradient end */
  --grad: linear-gradient(90deg, #2b8cf5 0%, #4fb3fb 55%, #7dd8ff 100%);
  --grad-btn: linear-gradient(90deg, #1f7fe8 0%, #44b0fb 100%);
  --shadow: 0 10px 30px -18px rgba(43, 140, 245, 0.35);
  --f-display: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --maxw: 70rem;
  --hdr: linear-gradient(90deg, #fff 0, #fff max(8.5rem, calc(50% - 26rem)), #4aa8f8 max(17.5rem, calc(50% - 17rem)), #2f86ec 100%);
  --r: 12px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(5rem + env(safe-area-inset-top, 0px)); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 60; }
html.is-stuck body::before { background: var(--hdr); }
img { max-width: 100%; display: block; }
a { color: var(--royal); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; width: auto; height: auto; clip: auto; background: #fff; color: var(--ink); padding: 0.6rem 1rem; border-radius: 6px; box-shadow: var(--shadow); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem); }
h3 { font-size: 1.3125rem; }
p { margin: 0; }
.lede { font-size: 1.25rem; line-height: 1.6; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.gradtext { color: var(--royal); -webkit-text-fill-color: currentColor; }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * 16px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.9rem; padding: 0.7rem 1.5rem;
  font: 500 0.9375rem/1 var(--f-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  background: var(--grad-btn); color: #fff; border: 1px solid transparent; border-radius: 8px;
  box-shadow: 0 8px 20px -12px rgba(43, 140, 245, 0.7);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(43, 140, 245, 0.8); }
.btn svg { width: 0.9rem; height: 0.9rem; flex: none; }
.btn--line { background: #fff; color: var(--royal); border-color: #bcd9f6; box-shadow: none; }
.btn--line:hover { border-color: var(--royal); box-shadow: none; }
.btn--white { background: #fff; color: var(--royal); box-shadow: none; }
.btn--white:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.textlink { font-weight: 500; text-decoration: none; display: inline-flex; gap: 0.5rem; align-items: center; color: var(--royal); }
.textlink svg { width: 0.85rem; height: 0.85rem; }
.textlink:hover { text-decoration: underline; }
.inlink { color: var(--royal); text-decoration-color: rgba(43, 140, 245, 0.35); font-weight: 500; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; isolation: isolate; margin-bottom: -4.5rem; background: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); transition: box-shadow 0.25s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hdr); opacity: 0; transition: opacity 0.25s; }
.site-header.is-stuck { backdrop-filter: none; box-shadow: 0 8px 20px -16px rgba(43, 140, 245, 0.7); }
.site-header.is-stuck::before { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 2.4rem; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 0.4rem + 1.8vw, 2.25rem); }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 0.9688rem; font-weight: 500; padding-block: 0.4rem; border-bottom: 2px solid transparent; transition: color 0.15s; }
.nav a:not(.btn):hover { color: var(--royal); }
.site-header.is-stuck .nav a:not(.btn) { color: rgba(255, 255, 255, 0.92); }
.site-header.is-stuck .nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--royal); }
.site-header.is-stuck .nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.nav .btn { min-height: 2.5rem; padding-inline: 1.2rem; }
.site-header.is-stuck .nav .btn { background: #fff; color: var(--royal); box-shadow: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 0.7rem; margin-right: -0.7rem; cursor: pointer; }
.menu-toggle span { display: block; width: 1.5rem; height: 2px; background: var(--ink); margin-block: 5px; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
@media (max-width: 58rem) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem max(16px, env(safe-area-inset-left, 0px)) 1.25rem; }
  .menu-open .nav { display: flex; }
  .site-header .nav a:not(.btn), .site-header.is-stuck .nav a:not(.btn) { padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--muted); }
  .site-header .nav a[aria-current="page"], .site-header.is-stuck .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); color: var(--royal); }
  .site-header .nav .btn, .site-header.is-stuck .nav .btn { margin-top: 1rem; justify-content: center; background: var(--grad-btn); color: #fff; }
  .site-header.is-stuck .menu-toggle span { background: #fff; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- home hero: the logo ---------- */
.hero { background: linear-gradient(180deg, #fff 55%, var(--sky) 100%); }
.hero .wrap { display: grid; justify-items: center; gap: 0.5rem; padding-top: calc(4.5rem + clamp(1.5rem, 1rem + 3vw, 3.5rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); text-align: center; }
.hero__logo { width: min(100%, 46rem); height: auto; aspect-ratio: 1968 / 916; }
.hero p { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.35; color: var(--ink); max-width: 36rem; margin-top: 0.5rem; }
.hero p span { color: var(--muted); display: block; }
.hero .actions { justify-content: center; margin-top: 1.5rem; }

/* ---------- inner page head ---------- */
.page-head { padding-block: calc(4.5rem + clamp(2.25rem, 1.5rem + 3vw, 4rem)) clamp(2rem, 1.5rem + 2vw, 3rem); background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--royal); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.6; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 1.1rem; }
.page-head .actions { margin-top: 1.75rem; }
.tabs { display: inline-flex; gap: 0.35rem; margin-top: 2rem; padding: 0.3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.tabs a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.9688rem; padding: 0.55rem 1.3rem; border-radius: 999px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--grad-btn); color: #fff; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.25rem, 2rem + 5vw, 6rem); }
.section--sky { background: var(--sky); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.section-head { display: grid; gap: 0.8rem; max-width: 40rem; margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 3rem); }
.section-head p { color: var(--muted); }
.section-head::after { content: ""; width: 3.5rem; height: 3px; border-radius: 3px; background: var(--grad); order: -1; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 5rem); }
.split > .split__label { position: sticky; top: 6.5rem; align-self: start; }
.split__label p { color: var(--muted); margin-top: 0.9rem; max-width: 22rem; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } .split > .split__label { position: static; } }
.stack { display: grid; gap: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: 0.4rem; align-content: start; }
.fact__n { font: 300 clamp(2.5rem, 2rem + 2vw, 3.5rem)/1 var(--f-display); letter-spacing: -0.02em; color: var(--royal);  width: fit-content; }
.fact__n sup { font-size: 0.4em; vertical-align: 0.9em; margin-left: 0.1em;  }
.fact__l { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
@media (max-width: 52rem) { .facts { grid-template-columns: 1fr 1fr; } }

.tiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.6rem; display: grid; gap: 0.6rem; align-content: start; position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.tile p { color: var(--muted); font-size: 0.9875rem; }
.tile p strong { color: var(--ink); font-weight: 600; }
.tiles--2 { --cols: 2; }
@media (max-width: 52rem) { .tiles, .tiles--2 { grid-template-columns: 1fr; } }

/* link cards with a photo (home) and plain onward links */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.pcard { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.pcard:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 18px 36px -20px rgba(43, 140, 245, 0.5); }
.pcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 0.5rem; align-content: start; }
.pcard__body p { color: var(--muted); font-size: 0.9875rem; }
.pcard__go { color: var(--royal); font-weight: 500; display: inline-flex; gap: 0.5rem; align-items: center; margin-top: 0.4rem; }
.pcard__go svg { width: 0.85rem; height: 0.85rem; }
@media (max-width: 58rem) { .cards { grid-template-columns: 1fr; } .pcard { grid-template-columns: 1fr; } }
.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); }
.nextlink { display: grid; gap: 0.35rem; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.nextlink:hover { border-color: #bcd9f6; box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.nextlink p { color: var(--muted); font-size: 0.9688rem; }
.nextlink .pcard__go { margin-top: 0.5rem; }
@media (max-width: 52rem) { .next { grid-template-columns: 1fr; } }

/* ---------- photo band ---------- */
.photo-band { position: relative; isolation: isolate; overflow: hidden; background: var(--sky); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 36%, rgba(255,255,255,0.3) 66%, rgba(255,255,255,0) 90%); }
.photo-band .wrap { padding-block: clamp(4rem, 3rem + 6vw, 8rem); min-height: 26rem; display: grid; align-content: center; gap: 1.25rem; }
.photo-band h2 { max-width: 15ch; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.photo-band p { max-width: 28rem; color: var(--ink); font-size: 1.125rem; opacity: 0.85; }
@media (max-width: 52rem) { .photo-band::before { background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 60%, rgba(255,255,255,0.45) 100%); } }

/* ---------- photos ---------- */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.shot figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.6rem; }
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: clamp(0.9rem, 2vw, 1.5rem); }
.mosaic .shot:first-child { grid-row: 1 / span 2; }
.mosaic .shot img { aspect-ratio: 4 / 3; }
.workshop .shot img { aspect-ratio: 4 / 3; }
.mosaic .shot:first-child img { aspect-ratio: auto; height: 100%; min-height: 20rem; }
.mosaic .shot { display: grid; grid-template-rows: 1fr auto; }
@media (max-width: 40rem) { .mosaic { grid-template-columns: 1fr; } .mosaic .shot:first-child { grid-row: auto; } .mosaic .shot:first-child img { min-height: 0; aspect-ratio: 3 / 2; } }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.5rem); }
.gallery .shot img { aspect-ratio: 4 / 3; }
.flagship { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.flagship .shot img { aspect-ratio: 3 / 4; max-height: 36rem; }
.flagship__text { display: grid; gap: 1rem; align-content: center; }
.flagship__text p { color: var(--muted); }
@media (max-width: 52rem) { .flagship { grid-template-columns: 1fr; } .flagship .shot img { aspect-ratio: 4 / 5; max-height: none; } }

/* ---------- research ---------- */
.library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.doc { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.doc:hover { transform: translateY(-3px); text-decoration: none; box-shadow: 0 18px 36px -20px rgba(43, 140, 245, 0.5); }
.doc__preview { aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.doc__preview img { width: 100%; height: 100%; object-fit: cover; }
.doc__body { display: grid; gap: 0.7rem; padding: 1.5rem; align-content: start; }
.doc__top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.doc__type { font-weight: 600; color: var(--royal); }
.doc__sector { color: var(--muted); font-size: 0.9375rem; }
.doc__body p { font-size: 0.9688rem; color: var(--muted); }
.doc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.doc__authors { color: var(--muted); flex: 1 1 14rem; min-width: 0; }
.doc__open { color: var(--royal); font-weight: 500; display: inline-flex; gap: 0.5rem; align-items: center; }
.doc__open svg { width: 0.8rem; height: 0.8rem; }
.doc__verdict { background: var(--sky); padding: 0.1rem 0.6rem; color: var(--royal); border-radius: 999px; }
.docrows { display: grid; gap: 0.75rem; }
.docrow { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.docrow:hover { border-color: #bcd9f6; box-shadow: var(--shadow); text-decoration: none; }
.docrow__date { color: var(--muted); font-size: 0.9375rem; }
.docrow h3 { font-size: 1.2rem; }
.docrow h3 small { font: 400 0.9375rem var(--f-body); color: var(--muted); margin-left: 0.5rem; }
.docrow__type { color: var(--royal); font-size: 0.9375rem; font-weight: 500; }
@media (max-width: 52rem) { .library { grid-template-columns: 1fr; } .docrow { grid-template-columns: 1fr; gap: 0.2rem; } }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1.1rem; font: 500 0.9375rem var(--f-body); color: var(--muted); cursor: pointer; }
.filter span { font-weight: 400; margin-left: 0.25rem; }
.filter[aria-pressed="true"] { background: var(--grad-btn); border-color: transparent; color: #fff; }
.empty { padding: 2rem; max-width: 40rem; }
.empty h3 { margin-bottom: 0.5rem; }

/* ---------- prose ---------- */
.prose { display: grid; gap: 1.25rem; max-width: 42rem; }
.prose .lead { font-size: 1.4rem; line-height: 1.5; font-family: var(--f-display); color: var(--ink); }

/* activities */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: clamp(0.9rem, 2.5vw, 1.5rem); counter-reset: s; }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start; }
.step::before { content: counter(s); font: 300 2.5rem/1 var(--f-display); color: var(--royal); -webkit-text-fill-color: transparent; width: fit-content; }
.step p { color: var(--muted); font-size: 0.9688rem; }
@media (max-width: 52rem) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .steps { grid-template-columns: 1fr; } }
.ledgers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 52rem) { .ledgers { grid-template-columns: 1fr; } }
.ledger { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 0.4rem 1.5rem 0.6rem; }
.ledger h3 { font-size: 1.15rem; padding-block: 1.1rem 0.5rem; }
.ledger__row { display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--line); }
.ledger__main { display: grid; gap: 0.15rem; min-width: 0; }
.ledger__main span { color: var(--muted); font-size: 0.9688rem; }
.ledger__name { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
a.ledger__name { color: var(--royal); }
a.ledger__name:hover { text-decoration: underline; }
.ledger__name svg { width: 0.75rem; height: 0.75rem; }
.logo-slot { flex: none; width: 6.5rem; height: 3.5rem; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; padding: 0.4rem 0.6rem; }
.logo-slot img { display: block; width: auto; height: auto; max-width: 100%; max-height: 2.6rem; object-fit: contain; }
.logo-slot b { font: 500 1.1rem var(--f-display); color: var(--royal); }
.ledger__row .logo-slot { margin-right: 0.25rem; }
.ledger__lead { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.tag { white-space: nowrap; font-size: 0.8125rem; background: var(--sky); padding: 0.2rem 0.75rem; border-radius: 999px; color: var(--royal); font-weight: 500; }
.workshop { display: grid; gap: 1.25rem; }
.workshop__head { display: flex; gap: 1rem; align-items: center; }
.workshop__head h3 { font-size: 1.5rem; }
.workshop__head a { color: inherit; text-decoration: none; }
.workshop__head a:hover { color: var(--royal); }
.workshop__head p { color: var(--muted); font-size: 0.9688rem; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.person__photo { aspect-ratio: 4 / 5; background: var(--sky); overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__meta { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding-top: 0.9rem; }
.person__name { font: 500 1.1875rem/1.25 var(--f-display); }
.person__role { color: var(--muted); font-size: 0.9375rem; }
.li { flex: none; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; color: var(--royal); background: #fff; border: 1px solid #cfe3f8; border-radius: 8px; transition: background-color 0.15s, color 0.15s; }
.li:hover { background: var(--royal); color: #fff; }
.li svg { width: 0.95rem; height: 0.95rem; }
@media (max-width: 40rem) { .people { grid-template-columns: 1fr 1fr; } }
.roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem clamp(0.9rem, 2vw, 1.25rem); }
.roster__item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 62rem) { .roster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .roster { grid-template-columns: 1fr; } }

/* ---------- alumni ---------- */
.alumni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.alum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.alum__avatar { width: 3.75rem; height: 3.75rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #fff; font: 500 1.15rem var(--f-display); }
.alum__avatar img { width: 100%; height: 100%; object-fit: cover; }
.alum__now { grid-column: 2 / -1; font-size: 0.9375rem; color: var(--muted); }
.alum__now b { font-weight: 500; color: var(--ink); }
@media (max-width: 62rem) { .alumni { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .alumni { grid-template-columns: 1fr; } }
.notice { padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 0.9rem; max-width: 44rem; background: #fff; border: 1px dashed #bcd9f6; border-radius: var(--r); }
.notice p { color: var(--muted); }

/* ---------- partners, offers, FAQ ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.6rem; display: grid; gap: 0.6rem; align-content: start; }
.partner__top { display: flex; gap: 1rem; align-items: center; }
.partner__kind { font-size: 0.875rem; color: var(--muted); }
.partner__name { font: 500 1.4rem/1.2 var(--f-display); }
.partner__name a { color: inherit; text-decoration: none; }
.partner__name a:hover { color: var(--royal); }
.partner p { color: var(--muted); font-size: 0.9688rem; }
@media (max-width: 52rem) { .partners { grid-template-columns: 1fr; } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 52rem) { .cols2 { grid-template-columns: 1fr; } }
.col ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: 0.4rem; }
.faq { display: grid; gap: 0.75rem; max-width: 46rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; font: 500 1.15rem/1.3 var(--f-display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 0.95rem; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--royal); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(1.5rem, 3vw, 2.5rem); }
.contact p { color: var(--muted); margin-top: 0.75rem; }
.contact__links { display: grid; gap: 1rem; }
.copy-field { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.copy-field code { flex: 1; min-width: 0; padding: 0.8rem 1rem; font: 0.9375rem var(--f-body); overflow-wrap: anywhere; user-select: all; }
.copy-field button { border: 0; border-left: 1px solid var(--line); background: var(--sky); color: var(--royal); font: 500 0.875rem var(--f-body); padding: 0 1.2rem; cursor: pointer; }
@media (max-width: 52rem) { .contact { grid-template-columns: 1fr; } }

/* ---------- final call to action ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.duo__card { border-radius: 16px; padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.duo__card p { max-width: 28rem; }
.duo__card .btn { margin-top: auto; }
.duo__card p { margin-bottom: 0.75rem; }
.duo__card--a { background: linear-gradient(135deg, #1f7fe8 0%, #3a9df5 55%, #6cc6ff 100%); color: #fff; }
.duo__card--a h2 { color: #fff; }
.duo__card--a p { color: rgba(255, 255, 255, 0.9); }
.duo__card--b { background: var(--sky); border: 1px solid #d6e8f6; }
.duo__card--b p { color: var(--muted); }
.duo--one { grid-template-columns: 1fr; }
@media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #fff; color: var(--ink); border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.footer-grid img { height: 2.6rem; width: auto; margin-bottom: 1.1rem; }
.footer-grid p { color: var(--muted); font-size: 0.9688rem; max-width: 20rem; }
.site-footer h4 { font: 600 0.9375rem var(--f-body); color: var(--ink); margin-bottom: 0.9rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.9688rem; }
.site-footer a:hover { color: var(--royal); text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.mail { overflow-wrap: anywhere; font-size: 0.9688rem; color: var(--muted); }
a.mail:hover { color: var(--royal); }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 1rem); background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; font-size: 0.9rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 80; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.ledger__row > * { min-width: 0; }
@media (max-width: 36rem) { .ledger { padding-inline: 1rem; } .logo-slot { width: 4.5rem; } .ledger__row { gap: 0.75rem; } }
.roster__id { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.roster__av { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--grad); color: #fff; font: 500 0.9rem var(--f-display); }
.roster__av img, .alum__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.doc--soon { cursor: default; }
.doc--soon:hover { transform: none; }

/* ---------- portfolio page ---------- */
.fine { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); max-width: 46rem; }
.ticker { background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.ticker__in { display: flex; align-items: center; gap: 1rem; min-height: 2.75rem; }
.ticker__tag { flex: none; font: 500 0.8125rem var(--f-body); color: #fff; background: var(--grad-btn); border-radius: 999px; padding: 0.25rem 0.8rem; }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick var(--tick-dur, 50s) linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.tick__run { display: flex; align-items: center; flex: none; gap: 1.1rem; padding-right: 1.1rem; white-space: nowrap; font-size: 0.9375rem; color: var(--ink); }
.tick__run a { color: var(--ink); text-decoration: none; } .tick__run a:hover { color: var(--royal); text-decoration: underline; }
.tick__run .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker__view { overflow-x: auto; } }

.pf-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1rem, 0.5rem + 2vw, 1.75rem); align-items: stretch; margin-top: 1.25rem; }
.pf-side { display: grid; gap: clamp(1rem, 0.5rem + 2vw, 1.75rem); grid-template-rows: auto 1fr; min-width: 0; }
.pf-globe, .pf-kpi, .pf-sectors { padding: clamp(1.1rem, 0.8rem + 1.2vw, 1.75rem); min-width: 0; }
.pf-cardhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 0.5rem; }
.pf-cardhead h2 { font-size: 1.25rem; } .pf-cardhead p { font-size: 0.875rem; color: var(--muted); }
.globe-wrap { position: relative; width: 100%; max-width: 34rem; margin-inline: auto; aspect-ratio: 1 / 1; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.globe-wrap canvas.is-drag { cursor: grabbing; }
.globe-tip { position: absolute; z-index: 2; max-width: 14rem; padding: 0.6rem 0.8rem; font-size: 0.8125rem; line-height: 1.4; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); pointer-events: none; }
.globe-tip b { display: block; font-size: 0.9375rem; color: var(--ink); } .globe-tip small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.25rem; padding: 0.3rem 0.8rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: 400 0.875rem var(--f-body); color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip b { font-weight: 500; color: var(--royal); } .chip:hover { border-color: var(--blue); background: var(--sky); }

.kpi-label { font-size: 0.875rem; color: var(--muted); }
.kpi-value { font: 500 clamp(2.25rem, 1.5rem + 3vw, 3.25rem)/1.05 var(--f-display); letter-spacing: -0.01em; margin-top: 0.2rem; color: var(--ink); }
.kpi-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.9rem; margin-top: 0.5rem; }
.kpi-perf { font: 500 1.5rem var(--f-display); } .kpi-gain { font-size: 0.9375rem; color: var(--muted); }
.is-up { color: #1f9d6b; } .is-down { color: #d1495b; }
.kpi-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.kpi-meta dt { font-size: 0.8125rem; color: var(--muted); } .kpi-meta dd { margin: 0.15rem 0 0; font-size: 0.9375rem; color: var(--ink); overflow-wrap: anywhere; }
.kpi-foot { margin-top: 1rem; font-size: 0.8125rem; color: var(--muted); }
.sectors { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.donut svg { width: 100%; height: auto; display: block; overflow: visible; }
.donut .seg { transition: opacity 0.2s, stroke-width 0.2s; }
.donut.has-hi .seg:not(.is-hi) { opacity: 0.28; } .donut .seg.is-hi { stroke-width: 31; }
.donut__n { font: 500 38px var(--f-display); fill: var(--ink); } .donut__l { font: 400 13px var(--f-body); fill: var(--muted); }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sec-list li { display: grid; grid-template-columns: 2rem 1fr auto; column-gap: 0.7rem; align-items: center; padding: 0.45rem 0.4rem; border-radius: 10px; transition: background 0.15s; }
.sec-list li.is-hi { background: var(--sky); }
.sec-ico { grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.sec-ico svg { width: 1.05rem; height: 1.05rem; }
.sec-name { font-size: 0.9375rem; color: var(--ink); display: grid; } .sec-name small { font-size: 0.75rem; color: var(--muted); }
.sec-w { font: 500 0.9375rem var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.sec-bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: #eef3f8; overflow: hidden; } .sec-bar i { display: block; height: 100%; border-radius: 4px; }

.tablecard { overflow: hidden; }
.tablescroll { overflow-x: auto; }
.pf-table { width: 100%; min-width: 54rem; border-collapse: collapse; font-size: 0.9375rem; }
.pf-table th { text-align: left; font: 500 0.8125rem var(--f-body); color: var(--muted); padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); background: #fbfdff; cursor: pointer; white-space: nowrap; user-select: none; }
.pf-table th:hover { color: var(--royal); }
.pf-table th[aria-sort="ascending"]::after { content: " ↑"; } .pf-table th[aria-sort="descending"]::after { content: " ↓"; }
.pf-table td { padding: 0.8rem 1rem; border-bottom: 1px solid #eef1f4; vertical-align: middle; color: var(--ink); }
.pf-table tbody tr:last-child td { border-bottom: 0; } .pf-table tbody tr:hover td { background: #f7fbff; }
.pf-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pf-table td b { font-weight: 500; } .pf-table small { display: block; font-size: 0.75rem; color: var(--muted); }
.pf-table .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.5rem; }
.wbar { display: block; height: 3px; margin-top: 0.3rem; border-radius: 3px; background: #eef3f8; } .wbar u { display: block; height: 100%; max-width: 100%; border-radius: 3px; background: var(--grad); }

.evcard { padding: clamp(1rem, 0.7rem + 1.2vw, 1.5rem); }
.evhead { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; }
.seg-toggle { display: inline-flex; padding: 3px; background: #eef3f8; border-radius: 999px; }
.seg-toggle button { border: 0; background: transparent; font: 500 0.8125rem var(--f-body); color: var(--muted); padding: 0.4rem 0.9rem; border-radius: 999px; cursor: pointer; min-height: 2rem; }
.seg-toggle button[aria-pressed="true"] { background: #fff; color: var(--royal); box-shadow: 0 1px 4px rgba(43, 140, 245, 0.25); }
.events { list-style: none; margin: 0; padding: 0; display: grid; }
.events li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center; padding: 0.75rem 0.25rem; border-top: 1px solid #eef1f4; }
.events li:first-child { border-top: 0; }
.ev-date { text-align: center; border-radius: 10px; background: var(--sky); padding: 0.35rem 0; line-height: 1.1; } .ev-date b { display: block; font: 500 1.25rem var(--f-display); color: var(--royal); } .ev-date span { font-size: 0.6875rem; color: var(--muted); text-transform: none; }
.ev-title { display: block; font-size: 0.9375rem; color: var(--ink); } .ev-main small { color: var(--muted); font-size: 0.8125rem; }
.ev-reg { font: 500 0.75rem var(--f-body); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0.1rem 0.45rem; }
.ev-imp { display: inline-flex; gap: 3px; align-items: flex-end; } .ev-imp i { width: 5px; border-radius: 2px; background: #dfe6ee; } .ev-imp i:nth-child(1) { height: 7px; } .ev-imp i:nth-child(2) { height: 11px; } .ev-imp i:nth-child(3) { height: 15px; } .ev-imp i.on { background: var(--blue); }
.ev-empty { display: block !important; color: var(--muted); }

.meet { display: grid; gap: 0.6rem; max-width: 52rem; }
.meet__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) 4.5rem; gap: 1rem; align-items: center; padding: 0.8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.meet__row.is-past { opacity: 0.62; }
.meet__row.is-next { border-color: var(--blue); box-shadow: var(--shadow); }
.meet__row--special { background: linear-gradient(90deg, #eef6fc, #fff); border-color: #cfe4f8; }
.meet__row--special .meet__what { grid-column: 2 / 5; } .meet__row--break .meet__what { grid-column: 2 / 5; }
.meet__row--break { background: #f6f7f9; border-style: dashed; }
.meet__date b { display: block; font: 500 1.4rem/1 var(--f-display); color: var(--royal); } .meet__date span { font-size: 0.8125rem; color: var(--muted); }
.meet__what b { font-weight: 500; color: var(--ink); } .meet__what span { display: block; font-size: 0.875rem; color: var(--muted); }
.meet__team { font-size: 0.9375rem; color: var(--ink); } .meet__team small { display: block; font-size: 0.75rem; color: var(--muted); }
.meet__badge { justify-self: end; font: 500 0.75rem var(--f-body); color: var(--muted); background: #eef1f4; border-radius: 999px; padding: 0.15rem 0.6rem; } .meet__badge--next { color: #fff; background: var(--grad-btn); }
@media (max-width: 62rem) { .pf-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .sectors { grid-template-columns: minmax(0, 1fr); } .donut { max-width: 12rem; margin-inline: auto; }
  .events li { grid-template-columns: 3rem minmax(0, 1fr) auto; } .ev-reg { display: none; }
  .meet__row { grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 0.5rem 0.9rem; }
  .meet__row .meet__what, .meet__row--special .meet__what, .meet__row--break .meet__what { grid-column: 2 / 3; } .meet__team { grid-column: 2 / 3; }
  .meet__badge { grid-column: 3; grid-row: 1; }
}

.tick__src { font-style: normal; font-size: 0.75rem; color: var(--muted); background: #eef4fa; border-radius: 999px; padding: 0.1rem 0.55rem; margin-right: -0.45rem; }

.hero__h1 { margin: 0; font: inherit; line-height: 0; }
.ledger, .ledger__row, .ledger__lead { min-width: 0; }
.ledger__row { flex-wrap: wrap; }
.ledger__main { overflow-wrap: anywhere; }

.fact__n, .step::before { -webkit-text-fill-color: currentColor; background: none; }
.fact__n { color: var(--royal); } .step::before { color: var(--royal); }
.ledgers--one { grid-template-columns: minmax(0, 40rem); }

.page-head--photo { position: relative; color: #fff; min-height: clamp(21rem, 16rem + 22vw, 30rem); display: flex; align-items: flex-end;
  background: linear-gradient(90deg, rgba(10, 46, 102, 0.84) 0%, rgba(10, 46, 102, 0.6) 48%, rgba(10, 46, 102, 0.18) 100%), url("../img/activities-hero.jpg") center 50% / cover no-repeat; }
.page-head--photo > .wrap { width: 100%; }
.page-head--photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(6, 28, 66, 0.45); }
.page-head--photo .lede { color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 12px rgba(6, 28, 66, 0.45); }
.page-head--photo .crumbs, .page-head--photo .crumbs a, .page-head--photo .crumbs span { color: rgba(255, 255, 255, 0.82); }
.page-head--photo .crumbs a:hover { color: #fff; }
@media (max-width: 40rem) { .page-head--photo { background-position: 60% 40%; } }
