/* =============================================================
   RISE³ Lab — Design System
   Research in Implementation Science for Healthcare
   Engagement, Effectiveness and Equity · McGill University
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink: #10181A;
  --boreal: #135E63;
  --boreal-dark: #0D474B;
  --mid-teal: #4E9096;
  --mist: #DCEBE9;
  --paper: #F6FAF9;
  --white: #FFFFFF;

  --body: #3C4A48;
  --muted: #5F6E6C;
  --faint: #5A6866;
  --hairline: #DFE7E5;
  --input-border: #C9DAD7;

  --footer-muted: #9FB5C4;
  --footer-faint: #7A8C8A;
  --footer-rule: #2A3438;
  --footer-mark: #9FD4CF;

  /* Type */
  --display: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: 64px;
  --maxw: 1312px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --shadow-card: 0 1px 2px rgba(16, 24, 26, 0.04);
  --shadow-lift: 0 18px 40px -20px rgba(16, 24, 26, 0.28);
  --shadow-nav: 0 1px 0 rgba(16, 24, 26, 0.06), 0 10px 30px -18px rgba(16, 24, 26, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--boreal); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--mist); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 80px; }
.section--tight { padding-block: 56px; }
.band { background: var(--paper); border-block: 1px solid var(--hairline); }
.band-dark { background: var(--ink); color: var(--white); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--boreal);
}
.eyebrow--grey { color: var(--faint); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 800; letter-spacing: -0.015em; line-height: 1.05; }

/* Section header with animated underline */
.sec-head {
  display: flex; align-items: baseline; gap: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  position: relative;
}
.sec-head::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--boreal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.sec-head.in::after { transform: scaleX(1); }
.sec-head h2 { font-size: clamp(22px, 3vw, 27px); }
.sec-head .sec-link { margin-left: auto; }

.arrow-link {
  font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--boreal);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.arrow-link .arw { transition: transform 0.25s var(--ease); }
.arrow-link:hover .arw { transform: translateX(4px); }
.arrow-link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 14px 26px; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 0; transition: all 0.2s var(--ease); position: relative; overflow: hidden;
}
.btn--sm { font-size: 13.5px; padding: 10px 20px; }
.btn--primary { background: var(--boreal); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--secondary { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--ghost-teal { border: 1.5px solid var(--boreal); color: var(--boreal); font-size: 13px; padding: 9px 18px; }
.btn--ghost-teal:hover { background: var(--boreal); color: var(--white); }
.btn--white { background: var(--white); color: var(--boreal); }
.btn--white:hover { background: var(--paper); transform: translateY(-2px); }

/* ---------- Tags / pills ---------- */
.tag {
  display: inline-flex; align-items: center;
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
  background: var(--mist); color: var(--boreal); white-space: nowrap;
}
.tag--ink { background: var(--ink); color: var(--white); }
.tag--grey { background: #EFEFED; color: var(--muted); }

.pill {
  font-size: 12.5px; font-weight: 600; padding: 7px 16px; border-radius: 100px;
  border: 1px solid var(--input-border); color: var(--ink);
  background: transparent; transition: all 0.18s var(--ease); white-space: nowrap;
}
.pill:hover { border-color: var(--boreal); color: var(--boreal); }
.pill.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* =============================================================
   UTILITY BAR
   ============================================================= */
.utilbar {
  background: var(--ink); color: var(--footer-muted);
  font-size: 11.5px;
}
.utilbar .container { display: flex; align-items: center; gap: 18px; padding-block: 8px; }
.utilbar .affil { color: var(--footer-muted); }
.utilbar .util-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.utilbar a { color: var(--mist); }
.utilbar a:hover { color: var(--white); }
.lang-toggle {
  color: var(--white); border: 1px solid #3A4A50; padding: 2px 10px; font-weight: 600;
  letter-spacing: 0.04em; transition: all 0.18s var(--ease);
}
.lang-toggle:hover { background: rgba(255,255,255,0.08); border-color: var(--boreal); }

/* =============================================================
   NAV
   ============================================================= */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--hairline); transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.nav-wrap.scrolled { box-shadow: var(--shadow-nav); background: rgba(255,255,255,0.94); }
.nav { display: flex; align-items: center; gap: 32px; padding-block: 18px; transition: padding 0.3s var(--ease); }
.nav-wrap.scrolled .nav { padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 40px; width: auto; transition: height 0.3s var(--ease); }
.nav-wrap.scrolled .brand img { height: 34px; }
.brand .wordmark { display: flex; align-items: center; line-height: 1; }
.wordmark .name { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em; }
.wordmark .name sup { font-size: 0.55em; vertical-align: 0.62em; color: var(--boreal); font-weight: 800; }
.brand-divider { width: 1px; height: 38px; background: var(--hairline); flex-shrink: 0; margin: 0 5px; transition: height 0.3s var(--ease); }
.nav-wrap.scrolled .brand-divider { height: 32px; }
.brand-crc { display: flex; flex-direction: column; gap: 4px; max-width: 236px; }
.crc-title { font-family: var(--display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--boreal); line-height: 1; }
.crc-sub { font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--muted); line-height: 1.32; }

.nav-links { display: flex; gap: 26px; margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 14px; }
.nav-links a { color: var(--ink); position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--boreal); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:hover { color: var(--boreal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--boreal); }
.nav-links a.active::after { transform: scaleX(1); }

.mcgill-slot {
  display: flex; align-items: center; padding-left: 22px; margin-left: 4px;
  border-left: 1px solid var(--hairline); height: 30px; flex-shrink: 0;
}
.mcgill-slot img { height: 26px; width: auto; transition: opacity 0.15s var(--ease), height 0.3s var(--ease); }
.mcgill-slot:hover img { opacity: 0.7; }
.nav-wrap.scrolled .mcgill-slot img { height: 23px; }
.nav .btn { flex-shrink: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.mobile-menu { display: none; }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%); }
.hero-net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 92% at 78% 48%, #000 22%, rgba(0,0,0,0.35) 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 72% 92% at 78% 48%, #000 22%, rgba(0,0,0,0.35) 55%, transparent 80%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow { position: absolute; width: 620px; height: 620px; top: 50%; right: -60px; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(19,94,99,0.10), rgba(78,144,150,0.05) 45%, transparent 70%); filter: blur(10px); }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; padding-block: clamp(56px, 8vw, 92px) clamp(56px, 7vw, 84px); }

/* rotating clinical-area word */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rotator { position: relative; display: inline-block; vertical-align: bottom; color: var(--boreal); text-align: left; min-height: 1em; }
.rotator .word { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(0.42em); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); will-change: opacity, transform; }
.rotator .word.is-active { position: relative; opacity: 1; transform: none; }
.rotator .word.is-leaving { opacity: 0; transform: translateY(-0.42em); }
.rotator .word::after { content: ""; position: absolute; left: 0; bottom: 0.02em; width: 100%; height: 3px; background: linear-gradient(90deg, var(--boreal), rgba(19,94,99,0.15)); opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.rotator .word.is-active::after { opacity: 0.55; transform: scaleX(1); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 6vw, 58px); line-height: 1.02; text-wrap: balance; }
.hero-crc-eyebrow { max-width: 640px; line-height: 1.5; }
.hero-lede { font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: var(--body); max-width: 620px; }
.hero-crc { font-size: 14px; color: var(--boreal); display: inline-flex; align-items: center; gap: 8px; }
.hero-crc::before { content: ""; width: 22px; height: 2px; background: var(--boreal); display: inline-block; }
.hero-cta { display: flex; gap: 14px; margin-top: 4px; flex-wrap: wrap; }

.hero-mark { justify-self: end; position: relative; width: 340px; max-width: 100%; }
.hero-mark-inner { will-change: transform; transition: transform 0.25s var(--ease-out); }
.hero-mark img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(19,94,99,0.28)); animation: float 7s ease-in-out infinite; will-change: transform; }
.hero-mark::after { content: ""; position: absolute; inset: 8% 8% 4%; background: radial-gradient(circle, rgba(19,94,99,0.20), transparent 68%); filter: blur(34px); z-index: -1; animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(-1.2deg); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.7; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.05); } }

/* animated crescendo mark: convergence entrance (once), then cascade breath */
.crescendo-anim { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 26px 46px rgba(19,94,99,0.30)); animation: markBreathe 6.2s ease-in-out 3.4s infinite; }
@keyframes markBreathe { 0%, 100% { transform: translateY(0); } 52% { transform: translateY(-4px); } }
.crescendo-anim .chev {
  fill: none; stroke: var(--boreal); stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 8;
  transform-box: fill-box; transform-origin: center; will-change: transform, opacity;
}
/* phase 1: convergence — bottom rises, top descends, middle materialises; damped, blur resolves */
.crescendo-anim .c1 { stroke-width: 10; animation: enterB 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.20s both, breath1 6.2s ease-in-out 3.40s infinite; }
.crescendo-anim .c2 { stroke-width: 16; animation: enterM 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.50s both, breath2 6.2s ease-in-out 3.85s infinite; }
.crescendo-anim .c3 { stroke-width: 22; animation: enterT 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.80s both, breath3 6.2s ease-in-out 4.30s infinite; }
@keyframes enterB {
  0% { transform: translateY(58px); opacity: 0; filter: blur(5px); }
  32% { opacity: 0.85; filter: blur(2.5px); }
  63% { transform: translateY(-2.8px); opacity: 1; filter: blur(0); }
  81% { transform: translateY(1px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes enterT {
  0% { transform: translateY(-58px); opacity: 0; filter: blur(5px); }
  32% { opacity: 0.85; filter: blur(2.5px); }
  63% { transform: translateY(2.8px); opacity: 1; filter: blur(0); }
  81% { transform: translateY(-1px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes enterM {
  0% { transform: scale(0.55); opacity: 0; filter: blur(5px); }
  35% { opacity: 0.85; filter: blur(2.5px); }
  66% { transform: scale(1.035); opacity: 1; filter: blur(0); }
  83% { transform: scale(0.995); }
  100% { transform: scale(1); opacity: 1; filter: blur(0); }
}
/* phase 2: cascade breath — colour wave rises as each chevron lifts with it */
@keyframes breath1 {
  0%, 100% { stroke: var(--boreal); transform: translateY(0); }
  24% { stroke: #0E4145; }
  46% { stroke: var(--mid-teal); transform: translateY(-3px); }
  58% { stroke: #63B4B9; transform: translateY(-4px); }
  78% { stroke: var(--boreal); transform: translateY(0); }
}
@keyframes breath2 {
  0%, 100% { stroke: var(--boreal); transform: translateY(0); }
  24% { stroke: #0E4145; }
  46% { stroke: var(--mid-teal); transform: translateY(-5px); }
  58% { stroke: #63B4B9; transform: translateY(-7px); }
  78% { stroke: var(--boreal); transform: translateY(0); }
}
@keyframes breath3 {
  0%, 100% { stroke: var(--boreal); transform: translateY(0); }
  24% { stroke: #0E4145; }
  46% { stroke: var(--mid-teal); transform: translateY(-7px); }
  58% { stroke: #63B4B9; transform: translateY(-10px); }
  78% { stroke: var(--boreal); transform: translateY(0); }
}

/* =============================================================
   MISSION BAND
   ============================================================= */
.mission { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.mission-statement { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; color: var(--ink); max-width: 920px; text-wrap: balance; letter-spacing: -0.01em; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.area-card {
  background: var(--white); border: 1px solid var(--hairline); padding: 30px 30px 34px;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.area-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--boreal); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.area-card:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.area-card:hover::before { transform: scaleX(1); }
.area-card .bar { width: 40px; height: 3px; background: var(--boreal); }
.area-card h3 { font-size: 19px; font-weight: 700; letter-spacing: 0; }
.area-card p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* =============================================================
   DIRECTOR
   ============================================================= */
.director { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.portrait {
  aspect-ratio: 360 / 420; border: 1px solid var(--hairline);
  background: repeating-linear-gradient(45deg, #F6FAF9, #F6FAF9 12px, #ECF3F1 12px, #ECF3F1 24px);
  display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 13px; color: var(--faint);
  position: relative; overflow: hidden;
}
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%); transform: translateX(-100%); }
.portrait:hover::after { animation: sheen 1.1s var(--ease); }
@keyframes sheen { to { transform: translateX(100%); } }
.director-body { display: flex; flex-direction: column; gap: 16px; }
.director-body h2 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.01em; }
.director-role { font-size: 15px; color: var(--boreal); }
.director-affil { font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 680px; }

/* =============================================================
   STUDY / RESOURCE / GENERIC CARDS
   ============================================================= */
.card {
  border: 1px solid var(--hairline); padding: 28px 30px; background: var(--white);
  display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.card h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.card .card-title-lg { font-size: 20px; }
.card .card-title-md { font-size: 18px; }
.card .card-title-sm { font-size: 16px; }
.card p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.card .meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--faint); margin-top: 4px; }
.card .meta .arrow-link { margin-left: auto; font-size: 13.5px; }
.card--pad-sm { padding: 24px 26px; }
.card--pad-sm h3 { font-size: 16px; }
.card--pad-sm p { font-size: 13px; line-height: 1.5; }
.card .push { margin-top: auto; }

/* =============================================================
   GLOBAL LEADERS SERIES
   ============================================================= */
.gl-masthead { position: relative; overflow: hidden; background: var(--ink); border-bottom: 3px solid var(--boreal); }
.gl-masthead .container { position: relative; z-index: 1; padding-block: 72px 60px; display: flex; flex-direction: column; gap: 16px; }
.gl-masthead h1 { color: var(--white); font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.gl-masthead .ph-net { opacity: 0.5; }
.gl-lede { font-size: clamp(15px, 2vw, 17px); line-height: 1.65; color: #B9C5C3; max-width: 720px; }
.gl-stats { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 14px; }

.gl-up { border: 1px solid var(--hairline); border-top: 3px solid var(--boreal); background: var(--white); padding: 30px 34px; display: flex; flex-direction: column; gap: 8px; position: relative; transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.gl-up:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gl-up-badge { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-weight: 800; font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--white); background: var(--boreal); padding: 5px 12px; }
.gl-name { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; padding-right: 100px; }
.gl-affil { font-size: 13.5px; color: var(--boreal); font-weight: 600; }
.gl-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.gl-up-foot { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }

.gl-row { border: 1px solid var(--hairline); background: var(--white); padding: 22px 28px; display: grid; grid-template-columns: 100px 1fr auto; gap: 24px; align-items: start; transition: border-color 0.15s var(--ease), transform 0.2s var(--ease); }
.gl-row:hover { border-color: var(--boreal); transform: translateX(4px); }
.gl-d-sm { font-size: 17px !important; }
.gl-talk { font-family: var(--display); font-weight: 700; font-size: 16.5px; line-height: 1.4; color: var(--ink); }
.gl-speaker { font-size: 13.5px; color: var(--boreal); font-weight: 600; margin-top: 5px; }
.gl-speaker span { color: var(--muted); font-weight: 400; }
.gl-abs { margin-top: 10px; }
.gl-abs summary { font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--boreal); cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.gl-abs summary::-webkit-details-marker { display: none; }
.gl-abs summary::after { content: "+"; font-size: 14px; transition: transform 0.25s var(--ease); }
.gl-abs[open] summary::after { transform: rotate(45deg); }
.gl-abs p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin-top: 10px; max-width: 760px; animation: rise 0.4s var(--ease-out); }
@media (max-width: 860px) {
  .gl-row { grid-template-columns: 1fr; gap: 10px; }
  .gl-name { padding-right: 0; }
  .gl-up-badge { position: static; align-self: flex-start; margin-bottom: 4px; }
}

/* =============================================================
   RESEARCH SUB-NAV
   ============================================================= */
.subnav-band { background: var(--white); border-bottom: 1px solid var(--hairline); position: sticky; top: 76px; z-index: 40; }
.subnav { display: flex; gap: 28px; overflow-x: auto; }
.subnav a { font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--muted); padding: 14px 0 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--boreal); }
.subnav a.active { color: var(--boreal); border-bottom-color: var(--boreal); }
@media (max-width: 860px) { .subnav-band { top: 0; position: static; } }

/* =============================================================
   PUBLICATIONS: impact strip + featured cards
   ============================================================= */
.impact-strip { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 22px; }
.featpub {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 30px; background: var(--white);
  border: 1px solid var(--hairline); border-top: 3px solid var(--boreal); text-decoration: none;
  transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.featpub:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.fp-top { display: flex; align-items: center; gap: 12px; }
.fp-journal { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--boreal); letter-spacing: -0.01em; }
.fp-tag { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--paper); border: 1px solid var(--hairline); padding: 3px 10px; border-radius: 100px; }
.fp-title { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--ink); }
.featpub:hover .fp-title { color: var(--boreal); }
.fp-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--faint); margin-top: auto; }
.fp-cites { font-weight: 600; color: var(--boreal); }
.fp-meta .arrow-link { margin-left: auto; font-size: 13px; }
.cite-badge { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--boreal); background: var(--mist); padding: 2px 9px; border-radius: 100px; vertical-align: 2px; margin-left: 6px; white-space: nowrap; }

/* =============================================================
   TRAINING & CONSULTING OFFERS
   ============================================================= */
.offer { display: grid; grid-template-columns: 110px 1fr; gap: 30px; border: 1px solid var(--hairline); background: var(--white); padding: 34px 38px; transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.offer:hover { border-color: var(--boreal); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.offer-num { font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--mist); line-height: 1; -webkit-text-stroke: 1.5px var(--boreal); }
.offer-body { display: flex; flex-direction: column; gap: 10px; }
.offer-body h3 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.offer-body p { font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 720px; }
.offer-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 2px 0 8px; }
.offer-points li { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.offer-points li::before { content: ""; width: 10px; height: 10px; background: none; border-left: 2px solid var(--boreal); border-bottom: 2px solid var(--boreal); transform: rotate(-45deg) translateY(-2px); }
.offer .btn { align-self: flex-start; }
@media (max-width: 720px) { .offer { grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; } .offer-num { font-size: 32px; } }

.field select { background: var(--white); border: 1px solid var(--input-border); padding: 10px 12px; font-family: var(--sans); font-size: 14.5px; color: var(--ink); border-radius: 0; width: 100%; }
.field select:focus { outline: none; border-color: var(--boreal); box-shadow: 0 0 0 3px rgba(19,94,99,0.12); }

/* =============================================================
   RESEARCH NETWORKS
   ============================================================= */
.net-role { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--boreal); }
.net-name { font-family: var(--display); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }

/* lead card (NEXUS) */
.net-lead { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--hairline); border-left: 3px solid var(--boreal); padding: 34px 38px; position: relative; overflow: hidden; }
.net-lead::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(19,94,99,0.06), transparent 70%); pointer-events: none; }
.net-mark { display: flex; align-items: center; justify-content: center; }
.net-mark img { width: 118px; height: auto; }
.net-lead-body { display: flex; flex-direction: column; gap: 10px; }
.net-lead-body .net-name { font-size: 26px; }
.net-lead-body .net-name span { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.net-lead-body p { font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 660px; }
.net-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.net-meta { font-size: 12.5px; color: var(--faint); }
.net-status { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--boreal); background: var(--mist); padding: 4px 12px; border-radius: 100px; }

/* standard network cards */
.net-card { border: 1px solid var(--hairline); background: var(--white); padding: 28px 30px; display: flex; flex-direction: column; gap: 9px; transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.net-card:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.net-logo { height: 44px; display: flex; align-items: center; margin-bottom: 6px; }
.net-logo img { max-height: 44px; max-width: 180px; width: auto; object-fit: contain; }
.net-card .net-name { font-size: 20px; }
.net-card .net-full { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.net-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.net-card .arrow-link.push { margin-top: auto; padding-top: 8px; }

@media (max-width: 720px) {
  .net-lead { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; text-align: left; }
  .net-mark { justify-content: flex-start; }
  .net-mark img { width: 84px; }
}

.card--link { text-decoration: none; color: inherit; }
.card--link:hover { text-decoration: none; }
.card--link h3 { transition: color 0.15s var(--ease); }
.card--link:hover h3 { color: var(--boreal); }

/* =============================================================
   STUDY DETAIL PAGE
   ============================================================= */
.study-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--boreal); margin-bottom: 20px; }
.study-back .arw { transition: transform 0.25s var(--ease); }
.study-back:hover .arw { transform: translateX(-4px); }
.study-acr { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; color: var(--boreal); }
.study-metastrip { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; border: 1px solid var(--hairline); background: var(--white); }
.study-metastrip .m { padding: 16px 24px; border-right: 1px solid var(--hairline); flex: 1; min-width: 150px; }
.study-metastrip .m:last-child { border-right: none; }
.study-metastrip .mk { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); }
.study-metastrip .mv { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 5px; line-height: 1.25; }
.study-metastrip .mv.teal { color: var(--boreal); }

.study-body { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.study-lede { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: var(--ink); font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; }
.study-h { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--ink); margin: 40px 0 4px; }
.study-approach { font-size: 15.5px; line-height: 1.7; color: var(--body); }

.aim-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; counter-reset: aim; }
.aim { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; border: 1px solid var(--hairline); padding: 18px 22px; background: var(--white); transition: border-color 0.15s var(--ease), transform 0.2s var(--ease); }
.aim:hover { border-color: var(--boreal); transform: translateX(4px); }
.aim::before { counter-increment: aim; content: counter(aim, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--boreal); }
.aim p { font-size: 14.5px; line-height: 1.55; color: var(--body); }

.study-side { border: 1px solid var(--hairline); background: var(--paper); padding: 26px 28px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.study-side .sh { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.study-side .srow .sk { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); }
.study-side .srow .sv { font-size: 14px; color: var(--body); line-height: 1.5; margin-top: 4px; }
.study-side .crescendo-side { width: 40px; opacity: 0.5; }
.study-side .crescendo-side path { fill: none; stroke: var(--boreal); stroke-linecap: butt; stroke-linejoin: miter; }

@media (max-width: 900px) {
  .study-body { grid-template-columns: 1fr; gap: 32px; }
  .study-side { position: static; }
  .study-metastrip .m { border-right: none; border-bottom: 1px solid var(--hairline); min-width: 45%; }
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* =============================================================
   PUBLICATIONS
   ============================================================= */
.pub-row { display: grid; grid-template-columns: 1fr 250px; gap: 40px; padding-block: 20px; border-bottom: 1px solid var(--hairline); align-items: baseline; transition: background 0.2s var(--ease); }
.pub-row:hover { background: linear-gradient(90deg, rgba(220,235,233,0.35), transparent); }
.pub-row .pub-main { display: flex; flex-direction: column; gap: 5px; }
.pub-row .pub-authors { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.pub-row .pub-title { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.pub-row .pub-meta { font-size: 12.5px; color: var(--faint); }
.pub-row .pub-journal { font-style: italic; color: var(--muted); }
.pub-row .pub-meta a { font-weight: 600; }
.pub-year { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); padding: 22px 0 6px; }
.pub-year:first-child { padding-top: 6px; }

/* =============================================================
   SEMINAR / COMPLETED ROWS
   ============================================================= */
.row-card {
  border: 1px solid var(--hairline); padding: 20px 26px; background: var(--white);
  display: grid; gap: 24px; align-items: center;
  transition: border-color 0.15s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.row-card:hover { border-color: var(--boreal); transform: translateX(4px); box-shadow: var(--shadow-card); }
.seminar-row { grid-template-columns: 110px 1fr auto; }
.completed-row { grid-template-columns: 1fr auto; }
.date-block { display: flex; flex-direction: column; }
.date-block .d { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--boreal); line-height: 1; }
.date-block .t { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.row-body { display: flex; flex-direction: column; gap: 3px; }
.row-body .r-title { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.row-body .r-sub { font-size: 12.5px; color: var(--muted); }

/* =============================================================
   STATS
   ============================================================= */
.stat-row { display: flex; gap: 44px; flex-wrap: wrap; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--boreal); line-height: 1; letter-spacing: -0.02em; }
.stat .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* =============================================================
   PARTNERS MARQUEE
   ============================================================= */
.partners { border-top: 1px solid var(--hairline); padding-block: 36px; overflow: hidden; }
.partners .p-head { font-size: 11px; letter-spacing: 0.16em; color: var(--faint); text-transform: uppercase; margin-bottom: 20px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 14px; color: var(--muted); font-weight: 500; white-space: nowrap; letter-spacing: 0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band { background: var(--boreal); padding: 40px 44px; display: flex; align-items: center; gap: 28px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 20%, rgba(255,255,255,0.14), transparent 55%); }
.cta-band .cta-copy { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(20px, 3vw, 24px); }
.cta-band p { color: #CFE7E3; font-size: 14px; margin-top: 4px; }
.cta-band .btn { margin-left: auto; position: relative; z-index: 1; flex-shrink: 0; }

/* =============================================================
   PAGE HEADER
   ============================================================= */
.page-head { background: var(--paper); border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
.ph-net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 130% at 86% 50%, #000 8%, rgba(0,0,0,0.4) 45%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 130% at 86% 50%, #000 8%, rgba(0,0,0,0.4) 45%, transparent 74%); }
.page-head .container { padding-block: 60px; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.05; max-width: 900px; }
.page-head .lede { font-size: clamp(15px, 2vw, 16.5px); line-height: 1.6; color: var(--body); max-width: 760px; }
.page-head .filter-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.page-head .page-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 260px; opacity: 0.06; z-index: 0; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* =============================================================
   FORMS
   ============================================================= */
.form-panel { background: var(--paper); border: 1px solid var(--hairline); padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 11px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }
.field input, .field textarea { background: var(--white); border: 1px solid var(--input-border); padding: 10px 12px; font-family: var(--sans); font-size: 14.5px; color: var(--ink); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease); border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--boreal); box-shadow: 0 0 0 3px rgba(19,94,99,0.12); }
.field textarea { min-height: 110px; resize: vertical; }
.field.err input, .field.err textarea { border-color: #C0392B; }
.field .err-msg { font-size: 12px; color: #C0392B; display: none; }
.field.err .err-msg { display: block; }
.form-status { font-size: 13.5px; display: none; }
.form-status.ok { display: block; color: var(--boreal); }
.form-status.bad { display: block; color: #C0392B; }

/* =============================================================
   CITATION NOTE
   ============================================================= */
.note-band { background: var(--paper); border: 1px solid var(--hairline); padding: 22px 28px; display: flex; align-items: center; gap: 20px; }
.note-band img { height: 30px; width: auto; flex-shrink: 0; }
.note-band p { font-size: 13.5px; line-height: 1.55; color: var(--body); }

/* =============================================================
   COLLABORATORS
   ============================================================= */
.collab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.collab {
  border: 1px solid var(--hairline); padding: 22px 20px; font-size: 13.5px; color: var(--body);
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 68px;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.2s var(--ease);
}
.collab:hover { border-color: var(--boreal); color: var(--boreal); background: var(--paper); }

/* =============================================================
   TEAM CARDS
   ============================================================= */
.team-card { border: 1px solid var(--hairline); background: var(--white); display: flex; flex-direction: column; transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); overflow: hidden; text-align: left; width: 100%; font: inherit; color: inherit; appearance: none; padding: 0; }
.team-card.has-bio { cursor: pointer; }
.team-card:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.team-card:focus-visible { outline: 2px solid var(--boreal); outline-offset: 2px; }
.bio-hint { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--boreal); margin-top: 8px; display: inline-flex; align-items: center; gap: 5px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.team-card:hover .bio-hint, .team-card:focus-visible .bio-hint { opacity: 1; transform: none; }
.bio-hint .arw { transition: transform 0.25s var(--ease); }
.team-card:hover .bio-hint .arw { transform: translateX(3px); }
.team-photo { aspect-ratio: 1 / 1; background: #ECF3F1; position: relative; overflow: hidden; }
.team-photo--empty { background: repeating-linear-gradient(45deg, #F6FAF9, #F6FAF9 12px, #ECF3F1 12px, #ECF3F1 24px); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform 0.6s var(--ease); }
.team-card:hover .team-photo img,
.team-card:focus-visible .team-photo img { transform: scale(1.04); }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%); transform: translateX(-100%); }
.team-card:hover .team-photo::after { animation: sheen 1s var(--ease); }
.team-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.team-info .t-name { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.team-info .t-role { font-size: 12.5px; color: var(--boreal); }
.team-info .t-focus { font-size: 12px; line-height: 1.5; color: var(--muted); }

/* =============================================================
   TEAM BIO MODAL
   ============================================================= */
.bio-modal { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.bio-modal.open { visibility: visible; }
.bio-overlay { position: absolute; inset: 0; background: rgba(16,24,26,0.55); opacity: 0; transition: opacity 0.35s var(--ease); }
.bio-modal.open .bio-overlay { opacity: 1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bio-dialog {
  position: relative; z-index: 1; max-width: 780px; width: calc(100% - 40px); margin: 6vh auto 0;
  max-height: 86vh; background: var(--white); box-shadow: 0 40px 90px -30px rgba(16,24,26,0.6);
  display: grid; grid-template-columns: 290px 1fr; overflow: hidden;
  opacity: 0; transform: translateY(30px) scale(0.965); transform-origin: center 30%;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.bio-modal.open .bio-dialog { opacity: 1; transform: none; }

.bio-photo { position: relative; background: #ECF3F1; overflow: hidden; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.bio-modal.open .bio-photo img { animation: clipReveal 0.75s var(--ease-out) both; }
@keyframes clipReveal { from { clip-path: inset(0 0 100% 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }

.bio-content { padding: 34px 38px 38px; overflow-y: auto; position: relative; }
.bio-accent { position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--boreal); transform: scaleX(0); transform-origin: left; }
.bio-modal.open .bio-accent { animation: growX 0.6s var(--ease-out) 0.15s both; }
@keyframes growX { to { transform: scaleX(1); } }
.bio-eyebrow { display: block; }
.bio-name { font-size: 26px; margin-top: 8px; letter-spacing: -0.01em; }
.bio-role { font-size: 14.5px; color: var(--boreal); font-weight: 600; margin-top: 6px; }
.bio-text { font-size: 15px; line-height: 1.65; color: var(--body); margin-top: 16px; }
.bio-modal.open .bio-content > * { animation: rise 0.6s var(--ease-out) both; }
.bio-modal.open .bio-eyebrow { animation-delay: 0.18s; }
.bio-modal.open .bio-name { animation-delay: 0.24s; }
.bio-modal.open .bio-role { animation-delay: 0.30s; }
.bio-modal.open .bio-text { animation-delay: 0.36s; }

.bio-close {
  position: absolute; top: 12px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: var(--ink);
  background: rgba(255,255,255,0.85); transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.bio-close:hover { background: var(--mist); transform: rotate(90deg); }

@media (max-width: 720px) {
  .bio-dialog { grid-template-columns: 1fr; margin-top: 4vh; max-height: 92vh; }
  .bio-photo { aspect-ratio: 3 / 2; }
  .bio-content { padding: 26px 24px 30px; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--ink); color: var(--footer-muted); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer .f-brand { display: flex; flex-direction: column; gap: 14px; }
.footer .f-brand .row { display: flex; align-items: center; gap: 12px; }
.footer .f-brand img { height: 34px; width: auto; }
.footer .f-mark-name { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--white); }
.footer .f-mark-name sup { font-size: 0.55em; vertical-align: 0.62em; color: var(--footer-mark); }
.footer .f-tag { font-size: 12.5px; color: var(--footer-muted); line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-col .f-head { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--white); letter-spacing: 0.1em; margin-bottom: 2px; }
.footer-col a, .footer-col span { color: #B9C5C3; }
.footer-col a:hover { color: var(--white); }
.footer-mcgill { display: inline-flex; align-items: center; justify-content: center; background: var(--white); padding: 10px 16px; border-radius: 3px; width: fit-content; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.footer-mcgill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); }
.footer-mcgill img { height: 30px; width: auto; }
.footer-base { border-top: 1px solid var(--footer-rule); padding-top: 20px; margin-top: 36px; display: flex; gap: 24px; font-size: 12px; color: var(--footer-faint); align-items: center; }
.footer-base .r { margin-left: auto; }
.footer-base a { color: var(--footer-faint); }
.footer-base a:hover { color: var(--white); }

/* mini footer (interior pages) */
.mini-footer { background: var(--ink); }
.mini-footer .container { display: flex; align-items: center; gap: 18px; padding-block: 26px; flex-wrap: wrap; }
.mini-footer img { height: 24px; width: auto; }
.mini-footer .m-name { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--white); }
.mini-footer .m-name sup { font-size: 0.55em; vertical-align: 0.62em; color: var(--footer-mark); }
.mini-footer .m-crc { font-size: 11.5px; color: var(--footer-muted); }
.mini-footer .m-legal { margin-left: auto; font-size: 11.5px; color: var(--footer-faint); }

/* =============================================================
   PHOTOGRAPHY: teal duotone at rest, colour on hover
   ============================================================= */
.duo { position: relative; overflow: hidden; background: var(--mist); }
.duo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.02); transition: filter 0.5s var(--ease), transform 0.6s var(--ease); }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--boreal); mix-blend-mode: color; opacity: 0.9; transition: opacity 0.5s var(--ease); pointer-events: none; }
.duo:hover img, .duo:focus-visible img { filter: none; }
.duo:hover::after, .duo:focus-visible::after { opacity: 0; }

/* clinical-area cards with photo headers */
.area-card--photo { padding: 0; }
.area-photo { aspect-ratio: 16 / 10; }
.area-card--photo:hover .area-photo img { transform: scale(1.04); }
.area-body { padding: 22px 30px 30px; display: flex; flex-direction: column; gap: 10px; }

/* director portrait */
.portrait--photo { background: none; overflow: hidden; }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; transition: transform 0.5s var(--ease); }
.portrait--photo:hover img { transform: scale(1.02); }

/* full-bleed photo band */
.photo-band { position: relative; height: clamp(300px, 42vw, 460px); overflow: hidden; }
.photo-band--tall { height: clamp(360px, 52vw, 580px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band .pb-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,26,0.02), rgba(16,24,26,0.58) 88%); }
.photo-band .pb-caption { position: absolute; left: 0; right: 0; bottom: 0; }
.photo-band .pb-caption .container { display: flex; align-items: baseline; gap: 16px; padding-block: 26px; flex-wrap: wrap; }
.pb-title { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.6vw, 24px); color: var(--white); letter-spacing: -0.01em; }
.pb-sub { font-size: 13.5px; color: var(--mist); }

/* partner / collaborator logos */
.marquee-track .p-logo { height: 36px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); align-self: center; }
.marquee-track .p-logo:hover { filter: none; opacity: 1; }
.marquee-track .p-text { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); align-self: center; }
.marquee-track { align-items: center; }
.collab { min-height: 84px; }
.collab img { max-height: 46px; width: auto; max-width: 78%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.collab:hover img { filter: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .duo::after { opacity: 0.9 !important; }
}

/* =============================================================
   READING PROGRESS (crescendo fill)
   ============================================================= */
.read-progress {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  background: var(--white); border: 1px solid var(--hairline);
  padding: 9px 10px 7px; box-shadow: 0 10px 26px -12px rgba(16,24,26,0.3);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.read-progress.show { opacity: 1; transform: none; }
.read-progress svg { width: 30px; display: block; overflow: visible; }
.read-progress .rp-g { fill: none; stroke: #E2ECEA; stroke-width: 16; stroke-linecap: butt; stroke-linejoin: miter; }
.read-progress .rp-f { fill: none; stroke: var(--boreal); stroke-width: 16; stroke-linecap: butt; stroke-linejoin: miter; stroke-dasharray: 152; stroke-dashoffset: 152; transition: stroke-dashoffset 0.12s linear; }
.read-progress .rp-pct { font-family: var(--display); font-weight: 800; font-size: 9.5px; color: var(--boreal); text-align: center; margin-top: 5px; }
@media (max-width: 860px) { .read-progress { display: none; } }

/* =============================================================
   EVIDENCE-TO-PRACTICE PIPELINE
   ============================================================= */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.pl-track { position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 2px; background: var(--hairline); }
.pl-fill {
  position: absolute; left: 12.5%; width: 75%; top: 17px; height: 2px;
  background: linear-gradient(90deg, rgba(19,94,99,0.15), var(--boreal));
  transform: scaleX(0); transform-origin: left;
  animation: plFill 9s cubic-bezier(0.3, 0.2, 0.3, 1) infinite paused;
}
.pl-pulse {
  position: absolute; top: 11px; left: 12.5%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%;
  background: #6FC2C7; box-shadow: 0 0 16px 4px rgba(99,180,185,0.55);
  opacity: 0; animation: plPulse 9s cubic-bezier(0.3, 0.2, 0.3, 1) infinite paused;
}
.pl-pulse::after { content: ""; position: absolute; right: 6px; top: 4px; width: 46px; height: 5px; background: linear-gradient(270deg, rgba(99,180,185,0.5), transparent); border-radius: 3px; }
.pl-node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; }
.pl-ring { position: absolute; top: 17px; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid var(--boreal); opacity: 0; animation: plRing 9s ease-out infinite paused; }
.pl-chev { width: 36px; overflow: visible; }
.pl-chev path { fill: none; stroke: var(--input-border); stroke-width: 6; stroke-linejoin: miter; stroke-linecap: butt; animation: plNode 9s ease infinite paused; }
.pl-num { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; color: var(--faint); margin-top: 6px; }
.pl-title { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--faint); animation: plTitle 9s ease infinite paused; }
.pl-desc { font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 210px; }
.pl-d1 { animation-delay: 0.25s !important; }
.pl-d2 { animation-delay: 1.75s !important; }
.pl-d3 { animation-delay: 3.25s !important; }
.pl-d4 { animation-delay: 4.75s !important; }
.pipeline.play .pl-fill, .pipeline.play .pl-pulse, .pipeline.play .pl-chev path,
.pipeline.play .pl-title, .pipeline.play .pl-ring { animation-play-state: running; }
@keyframes plFill { 0% { transform: scaleX(0); opacity: 1; } 53% { transform: scaleX(1); } 84% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes plPulse { 0% { left: 12.5%; opacity: 0; } 4% { opacity: 1; } 50% { left: 87.5%; opacity: 1; } 57%, 100% { left: 87.5%; opacity: 0; } }
@keyframes plNode { 0%, 2% { stroke: var(--input-border); } 7%, 83% { stroke: var(--boreal); } 93%, 100% { stroke: var(--input-border); } }
@keyframes plTitle { 0%, 2% { color: var(--faint); } 7%, 83% { color: var(--ink); } 93%, 100% { color: var(--faint); } }
@keyframes plRing { 0%, 2% { opacity: 0; transform: scale(0.35); } 5% { opacity: 0.5; } 14%, 100% { opacity: 0; transform: scale(2.1); } }
@media (max-width: 860px) {
  .pipeline { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .pl-track, .pl-fill, .pl-pulse, .pl-ring { display: none; }
  .pl-node { flex-direction: row; text-align: left; align-items: flex-start; gap: 14px; }
  .pl-chev { width: 28px; flex-shrink: 0; margin-top: 4px; }
  .pl-chev path { stroke: var(--boreal); }
  .pl-title { color: var(--ink); }
  .pl-node > div { display: inline; }
  .pl-num { display: none; }
}

/* =============================================================
   NATIONAL REACH ARCS
   ============================================================= */
.reach { margin: 26px 0 10px; }
.reach svg { width: 100%; max-width: 880px; display: block; margin-inline: auto; overflow: visible; }
.reach .r-arc { fill: none; stroke: var(--mid-teal); stroke-width: 1.3; opacity: 0.4; }
.reach .r-node { fill: var(--boreal); }
.reach .r-hub-glow { fill: rgba(19,94,99,0.14); animation: hubGlow 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hubGlow { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.35); opacity: 1; } }
.reach .r-city { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.reach .r-hub-label { font-family: var(--display); font-weight: 700; font-size: 12.5px; fill: var(--ink); }
.reach .r-ring { fill: none; stroke: var(--boreal); opacity: 0; transform-box: fill-box; transform-origin: center; animation: reachRing 3.6s ease-out infinite; }
@keyframes reachRing { 0% { opacity: 0.55; transform: scale(0.3); stroke-width: 2.4; } 70% { opacity: 0; transform: scale(2.6); stroke-width: 0.4; } 100% { opacity: 0; } }
.reach .r-mover { fill: #63B4B9; }
@keyframes reachMove { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 86% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* =============================================================
   PUBLICATION SEARCH
   ============================================================= */
.pub-search-wrap { margin-left: auto; }
.pub-search-wrap input {
  width: 250px; border: 1px solid var(--input-border); background: var(--white);
  padding: 9px 13px; font-family: var(--sans); font-size: 13.5px; color: var(--ink); border-radius: 0;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.pub-search-wrap input:focus { outline: none; border-color: var(--boreal); box-shadow: 0 0 0 3px rgba(19,94,99,0.12); }
.pub-search-wrap input::placeholder { color: var(--faint); }
.pub-row.search-miss { display: none !important; }
.pub-title mark { background: var(--mist); color: var(--boreal); font-weight: 600; padding: 0 2px; border-radius: 2px; }
.pub-empty { padding: 26px 0; font-size: 14px; color: var(--muted); }
.pub-empty b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .pub-search-wrap { margin-left: 0; width: 100%; }
  .pub-search-wrap input { width: 100%; }
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
html.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

.hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise 0.8s var(--ease-out) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.23s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.32s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.41s; }
.hero-mark { opacity: 0; animation: rise 1s var(--ease-out) 0.3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1120px) {
  .brand-divider, .brand-crc { display: none; }
}

@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .hero-inner { grid-template-columns: 1fr 300px; gap: 40px; }
  .hero-mark { width: 300px; }
  .director { grid-template-columns: 300px 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .nav-links, .nav .btn.desktop-cta, .mcgill-slot { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-wrap.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-wrap.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-wrap.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--hairline); background: var(--white); }
  .nav-wrap.menu-open + .mobile-menu, .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .mobile-menu .btn { margin-top: 12px; justify-content: center; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner > * { min-width: 0; }
  .rotator { display: block; max-width: 100%; }
  .rotator .word { white-space: normal; }
  .hero-mark { justify-self: start; width: 200px; order: -1; }
  .mission { grid-template-columns: 1fr; gap: 16px; }
  .director { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 320px; }
  .grid-2, .grid-3, .grid-4, .area-grid, .collab-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr !important; }
  .pub-row { grid-template-columns: 1fr; gap: 6px; }
  .pub-row .pub-meta { color: var(--muted); }
  .seminar-row { grid-template-columns: 1fr; gap: 12px; }
  .seminar-row .btn, .seminar-row .arrow-link { justify-self: start; }
  .completed-row { grid-template-columns: 1fr; gap: 12px; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-band .btn { margin-left: 0; }
  .stat-row { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-base { flex-wrap: wrap; }
  .team-grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(32px, 8.8vw, 40px); }
  .grid-4.team-grid-2 { grid-template-columns: 1fr 1fr; }
  .utilbar .affil { font-size: 10.5px; }
}

/* two-column generic (resources training/public, work-with-us) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.col-stack { display: flex; flex-direction: column; gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .hero-copy > *, .hero-mark { opacity: 1 !important; transform: none !important; }
  .crescendo-anim .chev { opacity: 1 !important; filter: none !important; }
  .pl-chev path { stroke: var(--boreal) !important; }
  .pl-title { color: var(--ink) !important; }
  .pl-fill { transform: scaleX(1) !important; opacity: 1 !important; }
  .pl-pulse, .pl-ring, .reach .r-mover, .reach .r-ring { display: none !important; }
}


/* =============================================================
   2026-10 DESIGN PASS: photographic hero, audiences, impact band, partner grid
   ============================================================= */
.hero--photo .hero-inner { grid-template-columns: 1fr 500px; gap: 72px; }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero-photo { margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 6px; position: relative;
  box-shadow: 0 40px 70px -34px rgba(16,24,26,0.55), 0 0 0 1px rgba(16,24,26,0.06); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(19,94,99,0.08) 0%, rgba(16,24,26,0.02) 45%, rgba(16,24,26,0.42) 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 1.2s var(--ease-out); }
.hero-visual:hover .hero-photo img { transform: scale(1.06); }
.hero-visual .hero-mark { position: absolute; left: -30px; bottom: -30px; width: 150px; padding: 18px; background: var(--white); border-radius: 6px;
  box-shadow: 0 24px 44px -20px rgba(16,24,26,0.35), 0 0 0 1px rgba(16,24,26,0.06); justify-self: unset; }
.hero-visual .hero-mark::after { display: none; }
.hero-visual .crescendo-anim { filter: none; }
.hero--photo .hero-glow { right: 20%; opacity: 0.6; }

.aud-title { font-size: clamp(24px, 3.2vw, 32px); letter-spacing: -0.01em; max-width: 720px; margin-top: 8px; text-wrap: balance; }
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.aud-card { background: var(--white); border: 1px solid var(--hairline); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.aud-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--boreal); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.aud-card:hover { border-color: var(--boreal); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.aud-card:hover::before { transform: scaleX(1); }
.aud-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--boreal); display: grid; place-items: center; margin-bottom: 4px; }
.aud-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aud-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.aud-card p { font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
.aud-card .arrow-link { font-size: 14px; }

.impact-band { position: relative; overflow: hidden; background: var(--ink); color: var(--white); border-block: 3px solid var(--boreal); }
.impact-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 0.5; }
.ib-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,26,0.94) 0%, rgba(16,24,26,0.78) 50%, rgba(16,24,26,0.40) 100%); }
.ib-inner { position: relative; z-index: 1; padding-block: 76px 68px; display: flex; flex-direction: column; gap: 14px; }
.impact-band h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.01em; max-width: 720px; line-height: 1.1; }
.ib-sub { color: #C9D3D1; font-size: 16px; line-height: 1.65; max-width: 640px; }
.ib-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; max-width: 980px; }
.ib-stats .stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.5vw, 50px); color: #9FD4CF; line-height: 1; }
.ib-stats .stat .lbl { font-size: 13px; color: #B9C5C3; margin-top: 8px; line-height: 1.45; }

.partners .p-head { text-align: center; }
.partner-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px 52px; }
.partner-grid .p-logo { height: 38px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.partner-grid .p-logo:hover { filter: none; opacity: 1; }
.partner-grid .p-text { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

@media (max-width: 1080px) {
  .hero--photo .hero-inner { grid-template-columns: 1fr 380px; gap: 48px; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero--photo .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 100%; margin-bottom: 26px; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-visual .hero-mark { left: 14px; bottom: -18px; width: 104px; padding: 12px; order: unset; }
  .ib-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .aud-grid { grid-template-columns: 1fr; }
}

/* photographic page heroes (About, Research, Work with us) */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; padding-block: 64px; }
.page-hero-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.page-hero h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.05; }
.page-hero .lede { font-size: clamp(15px, 2vw, 16.5px); line-height: 1.6; color: var(--body); max-width: 640px; }
.page-hero .filter-row { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.page-hero .impact-strip { margin-top: 16px; }
.page-hero-visual { justify-self: end; width: 100%; max-width: 460px; min-width: 0; }
.ph-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; position: relative;
  box-shadow: 0 36px 64px -34px rgba(16,24,26,0.5), 0 0 0 1px rgba(16,24,26,0.06); }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(19,94,99,0.08) 0%, rgba(16,24,26,0.02) 45%, rgba(16,24,26,0.38) 100%); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 16px; }
.ph-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 6px; display: block; background: var(--mist);
  box-shadow: 0 14px 28px -18px rgba(16,24,26,0.4); }
.ph-mosaic img:nth-child(3n+2) { transform: translateY(16px); }
.aud-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
@media (max-width: 1080px) {
  .page-hero-inner { grid-template-columns: 1fr 360px; gap: 40px; }
  .aud-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 52px; }
  .page-hero-visual { max-width: 100%; justify-self: stretch; }
  .ph-photo { aspect-ratio: 16 / 9; }
  .ph-mosaic { gap: 8px; padding-bottom: 0; }
  .ph-mosaic img:nth-child(3n+2) { transform: none; }
}
@media (max-width: 600px) { .aud-grid--3 { grid-template-columns: 1fr; } }


/* =============================================================
   2026-10 REVAMP: static content, readable defaults, new sections
   ============================================================= */
/* decorative motion removed: mark plays its entrance once, nothing loops */
.crescendo-anim { animation: none; }
.crescendo-anim .c1 { animation: enterB 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.20s both; }
.crescendo-anim .c2 { animation: enterM 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.50s both; }
.crescendo-anim .c3 { animation: enterT 2s cubic-bezier(0.3, 0.7, 0.25, 1) 0.80s both; }
.hero-mark img, .hero-mark::after, .hero-glow { animation: none; }
.aim:hover, .aim-list .aim:hover { transform: none; box-shadow: none; border-color: var(--hairline); }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 1000; background: var(--ink); color: var(--white); padding: 10px 16px; font-weight: 600; border-radius: 4px; transition: top 0.15s; }
.skip-link:focus { top: 12px; outline: 2px solid var(--boreal); }

.sec-lede { font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 760px; margin-top: 14px; }
.tag--status { background: var(--mist); color: var(--boreal-dark); }
.pill { min-height: 32px; }
.pill[aria-pressed="true"] { outline-offset: 2px; }

/* hero: static headline, text before image on small screens */
.hero h1 .accent { color: var(--boreal); display: block; }
.hero-lede { max-width: 640px; }
@media (max-width: 860px) {
  .hero-visual { order: 1; margin-top: 28px; margin-bottom: 0; }
  .page-hero-visual { order: 1; }
  .hero--photo .hero-inner { gap: 8px; }
}

/* Canada Research Chair feature */
.crc-feature { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center; background: var(--white); border: 1px solid var(--hairline); border-left: 4px solid var(--boreal); padding: 28px 32px; }
.crc-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 6px; display: block; }
.crc-body { display: flex; flex-direction: column; gap: 8px; }
.crc-body h2 { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.25; letter-spacing: -0.005em; }
.crc-holder { font-size: 14px; color: var(--boreal); font-weight: 600; }
.crc-body p { font-size: 15px; line-height: 1.6; color: var(--body); max-width: 760px; }
.crc-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 4px; font-size: 14px; }
.crc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.crc-detail h3 { font-size: 16px; margin-bottom: 8px; }
.crc-detail h3 + p, .crc-detail ul { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.crc-detail ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.crc-detail a { color: var(--boreal); font-weight: 600; }

/* questions and strands */
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.q-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--hairline); padding: 26px 28px; text-decoration: none; transition: border-color 0.15s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.q-card:hover { border-color: var(--boreal); transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.q-q { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); }
.q-a { font-size: 14.5px; line-height: 1.6; color: var(--body); flex: 1; }
.q-list { list-style: none; padding: 0; margin: 14px 0 6px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.q-list li { font-size: 14.5px; line-height: 1.55; color: var(--body); padding-left: 18px; position: relative; }
.q-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--boreal); }
.q-list a { color: var(--ink); font-weight: 600; }
.q-list a:hover { color: var(--boreal); }
.q-work { color: var(--muted); }
.strand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.strand { background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--boreal); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.strand h3 { font-size: 18px; line-height: 1.3; }
.strand p { font-size: 14.5px; line-height: 1.6; color: var(--body); flex: 1; }
.apply-band { margin-top: 20px; background: var(--ink); color: var(--white); padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.apply-band h3 { color: var(--white); font-size: 18px; }
.apply-band p { font-size: 15px; line-height: 1.6; color: #C9D3D1; max-width: 820px; }
.apply-band .apply-note { font-size: 13.5px; color: #B9C5C3; }
.three-e { margin-top: 28px; max-width: 860px; }
.three-e p:last-child { font-size: 15.5px; line-height: 1.65; color: var(--body); margin-top: 8px; }
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }

/* people */
.people-split { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.people-copy { display: flex; flex-direction: column; gap: 14px; }
.people-copy h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -0.01em; }
.people-copy p { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.people-split .ph-mosaic { padding-bottom: 0; }
.people-split .ph-mosaic img:nth-child(3n+2) { transform: none; }
.team-group { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 14px; }
.team-group:first-of-type { margin-top: 20px; }
.aud-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.aud-card h3 { font-size: 17px; }

/* affiliations grouped */
.partner-groups { display: flex; flex-direction: column; gap: 22px; }
.pg { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.pg-label { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pg-items { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.pg-items .p-logo { height: 34px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.75; }
.pg-items .p-logo:hover { filter: none; opacity: 1; }
.pg-items .p-text { font-family: var(--display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* publications and resources */
.pub-title a { color: var(--ink); text-decoration: none; }
.pub-title a:hover { color: var(--boreal); text-decoration: underline; }
.pub-note { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin-top: 6px; }
.featpub .pub-note { color: var(--body); }
.res-format { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.res-dev { margin-top: 40px; border: 1px dashed var(--input-border); padding: 24px 28px; max-width: 820px; }
.res-dev h3 { font-size: 16px; margin-bottom: 10px; }
.res-dev ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.res-dev li { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--body); border-bottom: 1px solid var(--hairline); padding-bottom: 8px; }
.res-status { color: var(--muted); white-space: nowrap; font-size: 13px; }
.res-dev p { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* study pages */
.output-list { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--body); margin-top: 10px; }
.pos-how { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.form-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.page-hero--text .page-hero-inner { grid-template-columns: 1fr; }
.gl-stats .stat .num { color: #9FD4CF; }
.gl-stats .stat .lbl { color: #B9C5C3; }
.f-tag a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .aud-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strand-grid, .engage-grid { grid-template-columns: 1fr 1fr; }
  .people-split { grid-template-columns: 1fr 340px; gap: 36px; }
}
@media (max-width: 860px) {
  .crc-feature { grid-template-columns: 120px 1fr; gap: 20px; padding: 22px; }
  .crc-detail { grid-template-columns: 1fr; gap: 20px; }
  .q-grid, .strand-grid, .engage-grid { grid-template-columns: 1fr; }
  .people-split { grid-template-columns: 1fr; }
  .pg { grid-template-columns: 1fr; gap: 10px; }
  .aud-grid--5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .crc-feature { grid-template-columns: 1fr; }
  .crc-portrait { max-width: 140px; }
  .team-grid-2, .grid-4.team-grid-2 { grid-template-columns: 1fr; }
  .aud-grid--5 { grid-template-columns: 1fr; }
  .res-dev li { flex-direction: column; gap: 2px; }
}

/* hero copy is static: visible immediately, no entrance animation */
.hero-copy > * { opacity: 1 !important; transform: none !important; animation: none !important; }
html.js .reveal { transition-duration: 0.45s; }

/* streamlined home */
.strand-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.crc-feature--compact { grid-template-columns: 140px 1fr; }
.crc-feature--compact h2 { font-size: clamp(18px, 2.2vw, 22px); }
.card .study-acr { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--boreal); font-weight: 700; }
.aud-card p a { color: var(--boreal); font-weight: 600; }
@media (max-width: 860px) { .strand-grid--2 { grid-template-columns: 1fr; } .crc-feature--compact { grid-template-columns: 110px 1fr; } }

/* team photo */
.people-split--photo { grid-template-columns: 1fr 400px; }
.team-figure { margin: 0; }
.team-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 55%; border-radius: 6px; display: block;
  box-shadow: 0 30px 56px -30px rgba(16,24,26,0.45), 0 0 0 1px rgba(16,24,26,0.06); }
.team-figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 1080px) { .people-split--photo { grid-template-columns: 1fr 320px; } }
@media (max-width: 860px) { .people-split--photo { grid-template-columns: 1fr; } .people-split--photo .people-copy { order: -1; } }

/* Chair portrait: 4:5 crop of the director's portrait */
.crc-feature { grid-template-columns: 200px 1fr; align-items: start; }
.crc-portrait img { aspect-ratio: 4 / 5; object-position: center top; }
.crc-feature--compact { grid-template-columns: 160px 1fr; align-items: center; }
@media (max-width: 860px) { .crc-feature { grid-template-columns: 130px 1fr; } .crc-feature--compact { grid-template-columns: 120px 1fr; } }
@media (max-width: 600px) { .crc-feature, .crc-feature--compact { grid-template-columns: 1fr; } .crc-portrait { max-width: 180px; } }

/* full-size portrait on the About page */
.chair-photo { margin: 0 0 24px; }
.chair-photo img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 36px 64px -34px rgba(16,24,26,0.5), 0 0 0 1px rgba(16,24,26,0.06); }
.crc-feature--text { grid-template-columns: 1fr; }

/* rotating headline restored */
.hero h1 .rotator { color: var(--boreal); }
.hero-photo::after { background: linear-gradient(165deg, rgba(19,94,99,0.06) 0%, rgba(16,24,26,0.0) 50%, rgba(16,24,26,0.22) 100%); }

/* Chair band: deep teal background so the leadership card stands out */
.crc-band { background: var(--boreal-dark); border-block: 1px solid rgba(255,255,255,0.08); }
.crc-band .crc-feature { background: transparent; border: 0; border-left: 0; padding: 12px 0; gap: 40px; }
.crc-band .crc-feature--compact { grid-template-columns: 185px 1fr; }
.crc-band .crc-portrait img { box-shadow: 0 24px 44px -20px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.9); }
.crc-band .crc-body h2 { color: var(--white); }
.crc-band .crc-body p { color: #D6E6E4; }
.crc-band .arrow-link { color: #9FD4CF; }
.crc-band .arrow-link:hover { color: var(--white); }
@media (max-width: 860px) { .crc-band .crc-feature--compact { grid-template-columns: 140px 1fr; } }
@media (max-width: 600px) { .crc-band .crc-feature--compact { grid-template-columns: 1fr; } .crc-band .crc-portrait { max-width: 200px; } }

/* team band in deep teal, echoing the Chair band */
.team-band { background: var(--boreal-dark); color: var(--white); }
.team-band .people-copy h2 { color: var(--white); }
.team-band .people-copy p { color: #D6E6E4; }
.team-band .arrow-link { color: #9FD4CF; }
.team-band .arrow-link:hover { color: var(--white); }
.team-band .team-figure figcaption { color: #B9D5D2; }
.team-band .team-figure img { box-shadow: 0 30px 56px -30px rgba(0,0,0,0.6), 0 0 0 3px rgba(255,255,255,0.9); }

/* featured study cards with shaded photo backgrounds */
.card--photo { position: relative; overflow: hidden; border: 0; min-height: 360px; padding: 0; background: var(--ink) var(--card-bg) center/cover no-repeat; color: var(--white); }
.card--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,71,75,0.55) 0%, rgba(16,24,26,0.78) 55%, rgba(16,24,26,0.92) 100%); transition: background 0.3s var(--ease); }
.card--photo:hover::before { background: linear-gradient(180deg, rgba(13,71,75,0.45) 0%, rgba(16,24,26,0.72) 55%, rgba(16,24,26,0.9) 100%); }
.card--photo .card-photo-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px 30px; height: 100%; justify-content: flex-end; }
.card--photo .study-acr { color: #9FD4CF; }
.card--photo h3 { color: var(--white); }
.card--photo p { color: #D6E6E4; }
.card--photo .meta { margin-top: auto; }
.card--photo .arrow-link { color: var(--white); }
.card--photo .arrow-link:hover { color: #9FD4CF; }
.card--photo:hover { border-color: transparent; }
.photo-credit { font-size: 11.5px; color: var(--muted); margin-top: 14px; }

/* header: McGill signature beside the RISE³ wordmark, replacing the Chair lockup */
.brand-mcgill { display: flex; align-items: center; flex-shrink: 0; }
.brand-mcgill img { height: 30px; width: auto; transition: height 0.3s var(--ease); }
.nav-wrap.scrolled .brand-mcgill img { height: 26px; }
@media (max-width: 1120px) { .brand-divider { display: flex; } }
@media (max-width: 600px) { .brand-divider, .brand-mcgill { display: none; } }

/* McGill signature sized to match the RISE³ wordmark */
.brand-mcgill img { height: 40px; }
.nav-wrap.scrolled .brand-mcgill img { height: 34px; }
.brand-divider { height: 40px; }

/* lab mark and McGill signature as one lockup */
.brand-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-group .brand-divider { margin: 0; height: 34px; }
.nav-wrap.scrolled .brand-group .brand-divider { height: 28px; }

/* methods: intro column + numbered list, distinct from the card grids */
.methods-split { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.methods-intro { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 110px; }
.methods-intro h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.methods-intro p:last-child { font-size: 15px; line-height: 1.6; color: var(--body); }
.method-list { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.method-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.method-num { font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; color: var(--boreal); padding-top: 4px; }
.method-body { display: flex; flex-direction: column; gap: 8px; }
.method-body h3 { font-size: 19px; line-height: 1.3; }
.method-body p { font-size: 15px; line-height: 1.6; color: var(--body); max-width: 640px; }
.method-body .arrow-link { font-size: 14px; }
@media (max-width: 1080px) { .methods-split { grid-template-columns: 280px 1fr; gap: 40px; } }
@media (max-width: 860px) { .methods-split { grid-template-columns: 1fr; gap: 20px; } .methods-intro { position: static; } }

/* About: portrait large but not full-bleed */
.chair-photo { max-width: 880px; margin: 0 auto 28px; }

/* publications: topic + year filter rows */
.pub-filters { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.pub-filter-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pub-filter-label { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); min-width: 44px; }
.pub-filter-row .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-filter-row .pub-search-wrap { margin-left: auto; }
@media (max-width: 720px) { .pub-filter-row .pub-search-wrap { margin-left: 0; width: 100%; } }

/* About: Chair panel, portrait fading into the teal where the text begins */
.chair-panel { position: relative; display: grid; grid-template-columns: 46% 1fr; background: var(--boreal-dark); color: var(--white); border-radius: 8px; overflow: hidden; min-height: 480px; box-shadow: 0 40px 70px -40px rgba(16,24,26,0.55); }
.chair-panel-photo { position: relative; min-height: 480px; }
.chair-panel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 34% center; display: block; }
.chair-panel-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,71,75,0) 40%, rgba(13,71,75,0.75) 78%, var(--boreal-dark) 100%); }
.chair-panel-body { position: relative; padding: 52px 52px 48px 16px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.chair-panel .eyebrow { color: #9FD4CF; }
.chair-panel h2 { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.chair-panel .crc-holder { color: #9FD4CF; font-size: 14px; font-weight: 600; }
.chair-panel p:not(.eyebrow):not(.crc-holder) { color: #D6E6E4; font-size: 15.5px; line-height: 1.65; max-width: 600px; }
.chair-panel .crc-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 6px; font-size: 14px; }
.chair-panel .arrow-link { color: #9FD4CF; }
.chair-panel .arrow-link:hover { color: var(--white); }
@media (max-width: 1080px) { .chair-panel { grid-template-columns: 42% 1fr; min-height: 440px; } .chair-panel-body { padding: 40px 36px 36px 12px; } }
@media (max-width: 860px) {
  .chair-panel { grid-template-columns: 1fr; min-height: 0; }
  .chair-panel-photo { min-height: 0; height: 320px; }
  .chair-panel-photo img { object-position: 40% 20%; }
  .chair-panel-photo::after { background: linear-gradient(180deg, rgba(13,71,75,0) 50%, rgba(13,71,75,0.8) 85%, var(--boreal-dark) 100%); }
  .chair-panel-body { padding: 8px 26px 32px; }
}

/* Chair panel: fade starts clear of the face, lighter tint */
.chair-panel-photo::after { background: linear-gradient(90deg, rgba(13,71,75,0) 58%, rgba(13,71,75,0.55) 84%, var(--boreal-dark) 100%); }
.chair-panel-photo img { object-position: 30% center; }
@media (max-width: 860px) { .chair-panel-photo::after { background: linear-gradient(180deg, rgba(13,71,75,0) 62%, rgba(13,71,75,0.7) 88%, var(--boreal-dark) 100%); } }

/* Chair panel: the photo extends under the text column and fades across it */
.chair-panel { grid-template-columns: 50% 1fr; }
.chair-panel-photo { position: absolute; top: 0; bottom: 0; left: 0; width: 70%; min-height: 0; }
.chair-panel-photo::after { background: linear-gradient(90deg, rgba(13,71,75,0) 46%, rgba(13,71,75,0.86) 72%, var(--boreal-dark) 100%); }
.chair-panel-body { position: relative; z-index: 1; grid-column: 2; padding-left: 8px; }
@media (max-width: 1080px) { .chair-panel { grid-template-columns: 48% 1fr; } .chair-panel-photo { width: 72%; } }
@media (max-width: 860px) {
  .chair-panel { grid-template-columns: 1fr; }
  .chair-panel-photo { position: relative; width: auto; height: 320px; }
  .chair-panel-photo::after { background: linear-gradient(180deg, rgba(13,71,75,0) 62%, rgba(13,71,75,0.7) 88%, var(--boreal-dark) 100%); }
  .chair-panel-body { grid-column: auto; padding: 8px 26px 32px; }
}
/* flat team grid */
.team-card .team-photo--empty { background: var(--mist); }

/* Canada Research Chairs signature */
.crc-badge { display: inline-block; margin-top: 18px; background: var(--white); border-radius: 6px; padding: 8px 12px; line-height: 0; }
.crc-badge img { height: 44px; width: auto; display: block; }
.crc-badge--card { align-self: center; margin-top: 0; margin-left: 20px; border: 1px solid rgba(255,255,255,0.4); }
.crc-feature--compact { grid-template-columns: 185px 1fr auto; }
@media (max-width: 860px) { .crc-badge--card { display: none; } }

/* CRC signature sizing fixes */
.chair-panel .crc-badge { align-self: flex-start; }
.crc-band .crc-feature--compact { grid-template-columns: 185px 1fr auto; }
@media (max-width: 860px) { .crc-band .crc-feature--compact { grid-template-columns: 140px 1fr; } }

/* About hero: photo mosaic under the heading */
.page-hero--mosaic .page-hero-inner { grid-template-columns: 1fr; gap: 36px; }
.page-hero--mosaic .page-hero-visual { max-width: none; justify-self: stretch; order: 1; }
.mosaic { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; }
.mosaic-tile { margin: 0; overflow: hidden; border-radius: 6px; position: relative; box-shadow: 0 24px 44px -28px rgba(16,24,26,0.4); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease-out); }
.mosaic-tile:hover img { transform: scale(1.04); }
.mosaic-tile--large { grid-column: 1; grid-row: 1 / span 2; }
.mosaic-tile--large img { object-position: center 60%; }
.mosaic-tile--wide { grid-column: 2 / span 2; grid-row: 2; }
.mosaic-tile--small img { object-position: center 30%; }
@media (max-width: 1080px) { .mosaic { grid-template-rows: 210px 210px; } }
@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; gap: 8px; }
  .mosaic-tile--large { grid-column: 1 / span 2; grid-row: 1; }
  .mosaic-tile--wide { grid-column: 1 / span 2; grid-row: 3; }
}

/* team: postdoc lead line; linked logos */
.t-lead { font-size: 13px; font-weight: 600; color: var(--boreal-dark); margin-top: 4px; line-height: 1.4; }
.p-link { display: inline-flex; align-items: center; }
.p-link:hover .p-logo { filter: none; opacity: 1; }
.p-link:hover .p-text { color: var(--boreal); }
a.collab { text-decoration: none; color: inherit; }
.crc-band .crc-feature--compact { grid-template-columns: 185px 1fr; }

/* About: lighter "What we work on" */
.strand-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.strand-item { display: flex; flex-direction: column; gap: 8px; }
.strand-item h3 { font-size: 17px; line-height: 1.3; }
.strand-item p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.strand-item .arrow-link { font-size: 14px; }
.three-e-line { margin-top: 28px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 860px; }
@media (max-width: 860px) { .strand-list { grid-template-columns: 1fr; gap: 20px; } }

/* dark page heroes (Research, Publications) */
.page-hero--dark { background: var(--boreal-dark); border-bottom: 3px solid var(--boreal); }
.page-hero--dark .eyebrow { color: #9FD4CF; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark .lede { color: #D6E6E4; }
.page-hero--dark .q-list li { color: #D6E6E4; }
.page-hero--dark .q-list li::before { background: #9FD4CF; }
.page-hero--dark .q-list a { color: var(--white); }
.page-hero--dark .q-list a:hover { color: #9FD4CF; }
.page-hero--dark .q-work { color: #B9D5D2; }
.page-hero--dark .stat .num { color: #9FD4CF; }
.page-hero--dark .stat .lbl { color: #B9D5D2; }
/* research sub-navigation as prominent tabs */
.subnav-band { background: var(--white); border-bottom: 1px solid var(--hairline); }
.subnav { display: flex; gap: 10px; padding-block: 14px; }
.subnav a { display: inline-flex; align-items: center; padding: 10px 18px; border: 1.5px solid var(--hairline); border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.subnav a:hover { border-color: var(--boreal); color: var(--boreal); }
.subnav a.active { background: var(--boreal); border-color: var(--boreal); color: var(--white); }
.subnav a.active::after { display: none; }
.sec-head .pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* study cards with photos on the research page */
.card--photo-study { min-height: 300px; }
.card--photo-study .tag-row .tag { background: rgba(255,255,255,0.14); color: var(--white); }
.card--photo-study .tag-row .tag--status { background: rgba(159,212,207,0.25); color: #DDF2F0; }
.card--photo-study .tag-row .tag--ink { background: var(--white); color: var(--ink); }
.card--photo-study .meta { color: #B9D5D2; }
.card--photo-study .meta span { color: inherit; }

/* study card without a photo: solid teal so it sits with the photo cards */
.card--tint { background: var(--boreal-dark); border: 0; color: var(--white); min-height: 300px; }
.card--tint h3, .card--tint .arrow-link { color: var(--white); }
.card--tint p { color: #D6E6E4; }
.card--tint .meta { color: #B9D5D2; }
.card--tint .tag { background: rgba(255,255,255,0.14); color: var(--white); }
.card--tint .tag--status { background: rgba(159,212,207,0.25); color: #DDF2F0; }
.card--tint:hover { border-color: transparent; }
.utilbar { display: none; }
.net-name { font-size: 18px; line-height: 1.3; }
.utilbar { display: none; }
.net-name { font-size: 18px; line-height: 1.3; }
.pg-items .p-logo, .partner-grid .p-logo { max-width: 220px; }

/* team: more visible titles */
.team-card .t-role { font-weight: 600; font-size: 13.5px; color: var(--boreal-dark); line-height: 1.4; }

/* bio pop-up: full-height photo column, fed by the dedicated high-resolution tall crops */
.bio-photo img { object-position: center 15%; }

/* photo and teal study cards: lighter hover colour on the title */
.card--photo:hover h3, .card--tint:hover h3 { color: #9FD4CF; }
.card--photo h3, .card--tint h3 { transition: color 0.2s var(--ease); }
.bio-text a { color: var(--boreal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.page-hero--dark .impact-strip { gap: 40px; }

/* ---------- 2026-11-07 SEMINARS: speaker wall masthead + recordings ---------- */
.gl-masthead--wall .container { padding-block: 64px 44px; gap: 22px; }
.gl-mast-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gl-mast-text { display: flex; flex-direction: column; gap: 16px; }
.gl-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 10px; align-items: start; align-self: center; }
.gl-face { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: #DCEBE9; text-align: center; }
.gl-face img { width: 104px; max-width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid rgba(159,212,207,0.45); box-shadow: 0 10px 28px rgba(0,0,0,0.35); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); background: #1C2A2C; }
.gl-face:hover img, .gl-face:focus-visible img { transform: translateY(-4px) scale(1.04); border-color: #9FD4CF; box-shadow: 0 16px 36px rgba(0,0,0,0.45); }
.gl-face-name { font-family: var(--display); font-weight: 700; font-size: 11.5px; line-height: 1.2; letter-spacing: 0.01em; }
.gl-face-year { font-size: 10.5px; color: #8FA6A3; line-height: 1; }
.gl-wall-cap { font-size: 12.5px; color: #8FA6A3; margin: 0; }
.gl-when { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--boreal-dark); }
.gl-up .gl-talk { font-size: 17px; margin-top: 10px; }
.gl-row--media { grid-template-columns: 90px 200px 1fr auto; }
.gl-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #D33; }
.gl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.gl-thumb:hover img { transform: scale(1.04); }
.gl-play { position: absolute; inset: auto 8px 8px auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(16,24,26,0.78); color: #fff; font-size: 11px; display: grid; place-items: center; padding-left: 2px; }
@media (max-width: 980px) {
  .gl-mast-grid { grid-template-columns: 1fr; gap: 34px; }
  .gl-wall { gap: 12px 8px; }
  .gl-face img { width: 92px; }
  .gl-row--media { grid-template-columns: 90px 1fr; }
  .gl-row--media .gl-thumb { grid-column: 1 / -1; max-width: 320px; }
  .gl-row--media .arrow-link { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .gl-wall { grid-template-columns: repeat(5, 1fr); gap: 10px 6px; }
  .gl-face img { width: 60px; border-width: 2px; }
  .gl-face-name { font-size: 10px; }
  .gl-face-year { display: none; }
}
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- 2026-11-07 NAV: Learning & Resources drop-down ---------- */
.nav-item.has-menu { position: relative; display: flex; align-items: center; }
.nav-drop { font: inherit; color: var(--ink); background: none; border: 0; padding: 0 0 3px; cursor: pointer; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--boreal); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-drop:hover, .nav-drop.active, .nav-item.open .nav-drop { color: var(--boreal); }
.nav-drop:hover::after, .nav-drop.active::after, .nav-item.open .nav-drop::after { transform: scaleX(1); }
.nav-drop .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease); }
.nav-item.open .nav-drop .caret { transform: translateY(1px) rotate(225deg); }
.nav-menu { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -6px); min-width: 320px; background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--boreal); box-shadow: 0 18px 44px rgba(16,24,26,0.16); padding: 8px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav-item.open .nav-menu, .nav-item:hover .nav-menu, .nav-item:focus-within .nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-menu a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-radius: 2px; color: var(--ink); }
.nav-menu a::after { display: none; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--mist); color: var(--boreal-dark); }
.nav-menu .nm-label { font-family: var(--display); font-weight: 700; font-size: 14.5px; }
.nav-menu .nm-desc { font-family: var(--body); font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.mobile-menu .mm-group { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); padding: 12px 0 6px; }
.mobile-menu .mm-group::after { content: ""; display: block; margin-top: 8px; }
.mobile-menu a.mm-sub { font-weight: 600; font-size: 15px; padding: 10px 0 10px 18px; color: var(--boreal-dark); border-bottom: 1px solid var(--hairline); }
.mobile-menu a.mm-sub::before { content: "— "; color: var(--boreal); }
/* upcoming-session card: keep the corner badge off the talk title */
.gl-up .gl-talk { padding-right: 130px; }
/* upcoming-session card with a speaker photo */
.gl-up-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gl-up--photo { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; }
.gl-up-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--mist); margin-top: 6px; }
@media (max-width: 520px) { .gl-up--photo { grid-template-columns: 1fr; } .gl-up-photo { width: 104px; height: 104px; } }

#contact-form, #enquire { scroll-margin-top: 96px; }

/* ---------- 2026-11-07 TRAINING: course emblems replace the 01–05 numerals ---------- */
.offer-emblem { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; }
.offer-emblem svg { display: block; filter: drop-shadow(0 8px 18px rgba(13,71,75,0.22)); transition: transform 0.3s var(--ease); }
.offer:hover .offer-emblem svg { transform: translateY(-2px) scale(1.03); }
.offer-code { font-family: var(--display); font-weight: 800; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--boreal); text-align: center; }
@media (max-width: 640px) { .offer { grid-template-columns: 1fr; gap: 16px; } .offer-emblem { flex-direction: row; width: auto; gap: 12px; } .offer-emblem svg { width: 64px; height: 64px; } }

/* ---------- 2026-11-07 RESOURCES: "Coming soon" living TMF database ---------- */
.coming-soon { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; background: linear-gradient(135deg, #0D474B 0%, #135E63 55%, #1B7A80 100%); color: #fff; padding: 44px 48px; position: relative; overflow: hidden; border-radius: 4px; }
.coming-soon::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(159,212,207,0.22), transparent 70%); pointer-events: none; }
.cs-copy { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.cs-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #0D474B; background: #9FD4CF; padding: 6px 12px 6px 10px; border-radius: 999px; }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: #0D474B; box-shadow: 0 0 0 0 rgba(13,71,75,0.5); animation: cs-pulse 2s infinite; }
@keyframes cs-pulse { 0% { box-shadow: 0 0 0 0 rgba(13,71,75,0.45); } 70% { box-shadow: 0 0 0 8px rgba(13,71,75,0); } 100% { box-shadow: 0 0 0 0 rgba(13,71,75,0); } }
.coming-soon h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.015em; }
.coming-soon p { font-size: 15px; line-height: 1.65; color: #DCEBE9; max-width: 520px; }
.cs-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cs-points li { font-size: 14px; color: #DCEBE9; display: flex; gap: 10px; align-items: baseline; }
.cs-points li::before { content: ""; width: 14px; height: 2px; background: #9FD4CF; flex: 0 0 auto; transform: translateY(-4px); }
.cs-points li > span { display: inline; min-width: 0; }
.cs-points strong { color: #fff; font-family: var(--display); font-weight: 800; }
.cs-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 4px; }
.cs-actions .arrow-link { color: #9FD4CF; }
.cs-also { font-size: 12.5px; color: #9FB8B5; margin-top: 6px; max-width: 560px; }
.cs-visual { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.tmf-constellation { width: 100%; height: auto; display: block; }
.tmf-ring { transform-origin: center; transform-box: fill-box; animation: tmf-ring 3.2s ease-out infinite; }
.tmf-node:nth-child(odd) .tmf-ring { animation-delay: 1.4s; }
@keyframes tmf-ring { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(2.2); opacity: 0; } }
.cs-caption { font-size: 11.5px; color: #9FB8B5; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .cs-dot, .tmf-ring { animation: none; } }
@media (max-width: 900px) { .coming-soon { grid-template-columns: 1fr; padding: 32px 24px; gap: 26px; } }
.section--panel { padding-block: 48px 0; }
.coming-soon--top { margin-top: 0; }

/* ---------- 2026-11-07 RESOURCES: SELECT-IT explorer ---------- */
.select-it { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 44px; align-items: start; }
.sit-intro { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.sit-intro h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.015em; }
.sit-intro p { font-size: 15px; line-height: 1.65; color: var(--body); }
.sit-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.sit-explorer { border: 1px solid var(--hairline); background: var(--white); box-shadow: var(--shadow-lift); }
.sit-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--hairline); background: #F4F8F7; }
.sit-tab { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 18px 18px 16px; background: none; border: 0; border-right: 1px solid var(--hairline); cursor: pointer; font: inherit; color: var(--muted); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.sit-tab:last-child { border-right: 0; }
.sit-tab:hover { background: var(--mist); color: var(--ink); }
.sit-tab.is-active { background: var(--white); color: var(--ink); }
.sit-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--boreal); }
.sit-tab-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; background: var(--mist); color: var(--boreal-dark); }
.sit-tab.is-active .sit-tab-num, .sit-tab.is-done .sit-tab-num { background: var(--boreal); color: #fff; }
.sit-tab-label { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.sit-tab-title { font-size: 12.5px; line-height: 1.35; }
.sit-panels { padding: 30px 34px 28px; }
.sit-panel-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.sit-step { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--boreal); }
.sit-panel h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.sit-def, .sit-task { font-size: 14px; line-height: 1.6; color: var(--body); }
.sit-def strong, .sit-task strong { color: var(--ink); }
.sit-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sit-pick { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--hairline); cursor: pointer; transition: border-color 0.15s var(--ease), background 0.15s var(--ease); }
.sit-pick:hover { border-color: var(--boreal); }
.sit-pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.sit-pick-box { flex: 0 0 auto; width: 18px; height: 18px; border: 1.5px solid var(--boreal); margin-top: 2px; position: relative; transition: background 0.15s var(--ease); }
.sit-pick input:checked ~ .sit-pick-box { background: var(--boreal); }
.sit-pick input:checked ~ .sit-pick-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.sit-pick:has(input:checked) { background: var(--mist); border-color: var(--boreal); }
.sit-pick input:focus-visible ~ .sit-pick-box { outline: 2px solid var(--boreal); outline-offset: 2px; }
.sit-pick-text { display: flex; flex-direction: column; gap: 2px; }
.sit-pick-text strong { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.sit-pick-text em { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.sit-summary { margin-top: 14px; padding: 12px 14px; background: #F4F8F7; border-left: 3px solid var(--boreal); font-size: 13.5px; color: var(--body); }
.sit-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: sit; }
.sit-steps li { counter-increment: sit; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--hairline); }
.sit-steps li::before { content: counter(sit, lower-alpha); width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--boreal-dark); font-family: var(--display); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.sit-steps strong { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.sit-steps span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sit-domains { display: flex; flex-direction: column; gap: 8px; }
.sit-domain { border: 1px solid var(--hairline); }
.sit-domain summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.sit-domain summary::-webkit-details-marker { display: none; }
.sit-domain summary::after { content: "+"; font-family: var(--display); font-weight: 700; color: var(--boreal); font-size: 18px; line-height: 1; }
.sit-domain[open] summary::after { content: "–"; }
.sit-domain[open] summary { background: var(--mist); }
.sit-domain-name { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--ink); }
.sit-domain-count { margin-left: auto; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--boreal-dark); font-weight: 600; }
.sit-domain p { padding: 10px 14px 14px; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.sit-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.sit-nav [data-sit-next] { margin-left: auto; }
@media (max-width: 980px) { .select-it { grid-template-columns: 1fr; gap: 24px; } .sit-intro { position: static; } }
@media (max-width: 640px) { .sit-tabs { grid-template-columns: repeat(2, 1fr); } .sit-tab { border-bottom: 1px solid var(--hairline); } .sit-tab-title { display: none; } .sit-picks { grid-template-columns: 1fr; } .sit-panels { padding: 22px 18px; } }

/* ---------- 2026-11-07 EMAIL SIGNATURE GENERATOR (signature.html) ---------- */
.sig-members { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sig-members-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.sig-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; margin-top: 28px; align-items: start; }
.sig-form { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--hairline); padding: 24px; background: var(--white); }
.sig-form .field { display: flex; flex-direction: column; gap: 6px; }
.sig-form label { font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sig-form input:not([type=checkbox]) { font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--hairline); background: #FAFCFC; }
.sig-form input:focus { outline: 2px solid var(--boreal); outline-offset: 1px; }
.sig-check label { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sig-preview-wrap { position: sticky; top: 96px; border: 1px solid var(--hairline); background: var(--white); box-shadow: var(--shadow-lift); }
.sig-preview-head { display: flex; justify-content: space-between; padding: 10px 16px; background: #F4F8F7; border-bottom: 1px solid var(--hairline); font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sig-status { color: var(--boreal-dark); text-transform: none; letter-spacing: 0; }
.sig-preview { padding: 26px 22px; min-height: 150px; overflow-x: auto; }
.sig-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 16px; }
.sig-note { font-size: 12.5px; color: var(--muted); padding: 0 22px 20px; line-height: 1.5; }
.sig-howto { margin-top: 44px; }
.sig-howto h2 { font-size: 24px; }
.sig-howto .card h3 { font-size: 15.5px; margin-bottom: 6px; }
.sig-howto .card p { font-size: 13.5px; line-height: 1.55; color: var(--body); }
.sig-rules { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 860px) { .sig-grid { grid-template-columns: 1fr; } .sig-preview-wrap { position: static; } }
.sig-ext-group { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px dashed var(--boreal); background: #F4F8F7; }
.sig-ext-note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.sig-ext-group[hidden] { display: none; }
.bio-text p + p { margin-top: 12px; }

/* ---------- 2026-11-08 BIO POP-UP: scrolling text, fuller photo on phones ---------- */
/* The dialog's grid row grew with the text and the dialog clipped it, so long bios could not scroll.
   Capping the text column at the dialog's height lets it scroll on its own. */
.bio-content { max-height: 86vh; overscroll-behavior: contain; }
@media (max-width: 720px) {
  /* Phones: the whole card scrolls; the photo shows head and shoulders instead of a strip across the eyes. */
  .bio-dialog { display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; max-height: 92vh; }
  /* Head-and-shoulders card photo in a 4:5 frame: the whole height of the photo, centred on the face. */
  .bio-photo { aspect-ratio: 4 / 5; max-height: 60vh; background: rgb(209, 224, 224); }
  .bio-photo img { object-fit: cover; object-position: 51% 50%; }
  .bio-content { max-height: none; overflow: visible; }
  .bio-modal.open .bio-close { position: fixed; top: calc(4vh + 10px); right: 30px; }
}

/* ---------- 2026-11-08 TEAM CARDS: email + Google Scholar ---------- */
.t-links { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--muted); word-break: break-all; }
.t-links a.t-link { color: var(--boreal); font-weight: 600; text-decoration: none; }
.t-links a.t-link:hover { text-decoration: underline; }
.team-card.has-bio .t-links { position: relative; z-index: 2; }

/* ---------- 2026-11-08 LANGUAGE SWITCH ---------- */
.lang-switch { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); border: 1.5px solid var(--hairline); border-radius: 999px; padding: 5px 11px; margin-left: 6px; text-decoration: none; flex-shrink: 0; }
.lang-switch:hover { color: var(--boreal); border-color: var(--boreal); }
.lang-switch--mobile { display: inline-block; margin: 14px 0 0; }
@media (max-width: 860px) { .nav .lang-switch:not(.lang-switch--mobile) { display: none; } }
.mobile-menu .lang-switch--mobile { align-self: flex-start; width: auto; font-size: 13px; padding: 6px 12px; border-bottom: 1.5px solid var(--hairline); margin: 14px 0 4px; }

/* ---------- 2026-11-08 FIXES: French hero width, resource card widths, icon links on team cards ---------- */
.hero-inner > * { min-width: 0; }
@media (min-width: 861px) { html[lang="fr"] .hero h1 { font-size: clamp(36px, 5.3vw, 52px); } }
@media (max-width: 860px) { html[lang="fr"] .hero h1 { font-size: clamp(28px, 8.2vw, 44px); } }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .tag { white-space: normal; }
.t-links { display: flex; align-items: center; gap: 8px; margin-top: 10px; word-break: normal; }
.t-ic { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--boreal-dark); background: var(--white); font-family: var(--display); font-weight: 700; font-size: 11.5px; letter-spacing: 0.02em; text-decoration: none; transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease); }
.t-ic:not(.t-ic--label) { width: 28px; padding: 0; justify-content: center; }
.t-ic:hover { border-color: var(--boreal); background: var(--mist); color: var(--boreal-dark); text-decoration: none; }
.t-ic svg { flex: 0 0 auto; }

/* ---------- Primer: Getting started with implementation science (guide-implementation-science.html) ---------- */
.guide-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.guide-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.guide-downloads { display: flex; flex-direction: column; gap: 8px; }
.guide-downloads .btn { justify-content: center; text-align: center; }
.guide-downloads .btn--secondary { font-size: 13px; padding: 9px 16px; }
.g-toc { border: 1px solid var(--hairline); background: var(--paper); padding: 20px 22px; }
.g-toc-label { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.g-toc ol { list-style: none; padding: 0; margin: 0; }
.g-toc li a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 1.3; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.g-toc li:last-child a { border-bottom: 0; }
.g-toc li a:hover, .g-toc li a.is-active { color: var(--boreal); }
.g-toc-num { flex: 0 0 20px; color: var(--boreal); font-weight: 800; font-size: 12px; }
.g-meta { font-size: 13px; line-height: 1.55; color: var(--muted); display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--hairline); padding: 16px 18px; }
.g-meta-k { font-family: var(--display); font-weight: 700; color: var(--ink); margin-right: 4px; }
.guide-body { max-width: 760px; min-width: 0; }
.g-sec { padding: 8px 0 28px; }
.g-sec + .g-sec { border-top: 1px solid var(--hairline); padding-top: 40px; }
.g-sec h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; scroll-margin-top: 100px; }
.g-num { color: var(--boreal); font-size: 15px; letter-spacing: 0.08em; font-weight: 800; flex: 0 0 auto; }
.g-sec h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -0.005em; }
.g-sec p { font-size: 15.5px; line-height: 1.7; color: var(--body); margin-bottom: 14px; }
.g-lede { font-family: var(--display); font-weight: 500; font-size: clamp(17px, 2.3vw, 19.5px) !important; line-height: 1.5 !important; color: var(--ink) !important; letter-spacing: -0.01em; }
.g-sec ul, .g-sec ol { padding-left: 22px; margin: 0 0 16px; }
.g-sec li { font-size: 15px; line-height: 1.6; color: var(--body); margin-bottom: 8px; }
.g-sec li::marker { color: var(--boreal); font-weight: 700; }
.cite { font-size: 0.84em; color: var(--boreal); white-space: nowrap; }
.cite a { color: var(--boreal); }
.cite a:hover { color: var(--ink); }
.g-quote { border-left: 3px solid var(--boreal); padding: 8px 22px; margin: 18px 0 22px; }
.g-quote p { font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--ink); margin-bottom: 6px; }
.g-quote cite { font-style: normal; font-size: 13px; color: var(--muted); }
.g-defs { margin: 6px 0 18px; }
.g-defs dt { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-top: 14px; }
.g-defs dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.62; color: var(--body); }
.g-table { margin: 12px 0 22px; overflow-x: auto; }
.g-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.5; }
.g-table caption { caption-side: bottom; text-align: left; font-size: 12.5px; color: var(--muted); padding-top: 8px; }
.g-table th { font-family: var(--display); font-weight: 700; font-size: 12.5px; color: var(--ink); text-align: left; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 10px 12px; vertical-align: bottom; }
.g-table td { border-bottom: 1px solid var(--hairline); padding: 10px 12px; vertical-align: top; color: var(--body); }
.g-table td:first-child { font-family: var(--display); font-weight: 600; color: var(--ink); }
.g-callout { border: 1px solid var(--hairline); border-left: 4px solid var(--boreal); background: var(--paper); padding: 18px 22px 12px; margin: 18px 0 24px; }
.g-callout-title { font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--boreal); margin-bottom: 8px; }
.g-callout p, .g-callout li { font-size: 14.5px; line-height: 1.6; }
.g-callout ul { margin-bottom: 4px; }
.g-callout--key { background: var(--mist); border-color: var(--mist); border-left-color: var(--boreal-dark); }
.g-callout--example { border-left-color: var(--mid-teal); }
.g-callout--pitfall { border-left-color: var(--ink); }
.g-callout--pitfall .g-callout-title { color: var(--ink); }
.g-callout--lab { background: var(--white); border-left-color: var(--boreal-dark); }
.g-steps { list-style: none; padding: 0; margin: 12px 0 22px; counter-reset: step; }
.g-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); margin: 0; }
.g-steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--boreal); line-height: 1.3; }
.g-steps strong { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.g-steps p { margin: 0; font-size: 14.5px; }
.g-refs .g-refnote { font-size: 14px; color: var(--muted); }
.g-reflist { list-style: none; padding: 0; margin: 0 0 18px; }
.g-reflist li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; padding: 9px 0; border-bottom: 1px solid var(--hairline); margin: 0; }
.g-reflist li:target { background: var(--mist); }
.g-refnum { font-family: var(--display); font-weight: 800; color: var(--boreal); }
.g-reflist a { word-break: break-all; }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-side { position: static; }
  .g-toc ol { columns: 2; column-gap: 24px; }
  .g-toc li { break-inside: avoid; }
}
@media (max-width: 720px) {
  .g-toc ol { columns: 1; }
  .g-table table { font-size: 12.5px; }
  .g-table th, .g-table td { padding: 8px 8px; }
  .g-steps li { grid-template-columns: 34px 1fr; }
}
.page-hero .guide-downloads { flex-direction: row; flex-wrap: wrap; }
.page-hero .guide-downloads .btn { flex: 0 1 auto; }

/* ---------- 2026-11-08 MOBILE FIXES: stacked 3-col grids, seminars text width ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gl-row--media { grid-template-columns: 1fr; gap: 10px; }
  .gl-row--media .gl-thumb { max-width: 100%; }
  .gl-up .gl-talk, .gl-up .gl-name { padding-right: 0; }
}
@media (min-width: 861px) and (max-width: 980px) {
  .gl-row--media .row-body { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .gl-up { padding: 22px 20px; }
  .gl-up-badge { position: static; justify-self: start; margin-bottom: 2px; }
  .gl-row { padding: 18px 18px; }
}

/* =============================================================
   PUBLICATIONS · COLLABORATION NETWORK & INSTITUTION MAP
   (assets/pubviz.js; data in assets/pubviz-data.js)
   ============================================================= */
.pubviz-section { padding-top: 40px; }
.pubviz { margin-top: 26px; border: 1px solid var(--hairline); background: var(--white); padding: 22px 22px 18px; }
.pubviz + .pubviz { margin-top: 22px; }
.pubviz-head h3 { font-size: 19px; margin: 0 0 6px; }
.pubviz-head p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 760px; margin: 0; }
.pubviz-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 16px; }
.pubviz-controls .pills { margin: 0; }
.pubviz-ctl-label { font-size: 13px; color: var(--muted); }
.pubviz-count { font-size: 13px; color: var(--faint); }
.pubviz-zoom { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pubviz-zbtn { width: 36px; height: 36px; border: 1.5px solid var(--boreal); background: var(--white); color: var(--boreal); font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s, color .15s; }
.pubviz-zbtn:hover { background: var(--boreal); color: var(--white); }
.pubviz-zbtn:focus-visible { outline: 2px solid var(--boreal); outline-offset: 2px; }
.pubviz-zoom .pubviz-reset { margin-left: 4px; }
.pubviz-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 14px; }
.pubviz-stage { position: relative; min-height: 320px; background: var(--paper); border: 1px solid var(--hairline); overflow: hidden; touch-action: none; }
.pubviz-stage svg { display: block; width: 100%; height: 100%; }
.pubviz-panel { border: 1px solid var(--hairline); padding: 16px 18px; font-size: 13.5px; line-height: 1.5; color: var(--body); max-height: 640px; overflow: auto; }
.pubviz-hint { color: var(--muted); font-size: 13.5px; margin: 0; }
.pubviz-pname { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.25; }
.pubviz-pcount { font-size: 12.5px; color: var(--boreal); font-weight: 600; margin: 4px 0 10px; }
.pubviz-sub { font-size: 12.5px; color: var(--muted); margin: 8px 0 10px; }
.pubviz-papers, .pubviz-insts { list-style: none; margin: 0; padding: 0; }
.pubviz-papers li { padding: 7px 0; border-top: 1px solid var(--hairline); font-size: 13px; line-height: 1.45; }
.pubviz-papers li a { color: var(--ink); }
.pubviz-papers li a:hover { color: var(--boreal); }
.pubviz-insts li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 13px; }
.pubviz-pm { color: var(--faint); font-size: 12px; white-space: nowrap; }
.pubviz-more { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.pubviz-note { font-size: 12px; color: var(--faint); margin: 12px 0 0; line-height: 1.5; }
.pubviz-fallback { margin-top: 14px; font-size: 13.5px; color: var(--body); }
.pubviz-fallback p { margin: 0 0 8px; }
.pubviz-fblist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; }
.pubviz-fblist li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--hairline); padding: 4px 0; }
.pubviz.is-live .pubviz-fallback { display: none; }
.pubviz:not(.is-live) .pubviz-body, .pubviz:not(.is-live) .pubviz-controls { display: none; }

.pubviz-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 300px; background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-lift); padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: var(--body); }
.pubviz-tip .pubviz-tname { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.pubviz-tip .pubviz-tsub { color: var(--boreal); font-weight: 600; font-size: 12px; margin: 2px 0 6px; }
.pubviz-tip .pubviz-papers li { padding: 4px 0; font-size: 12px; }
.pubviz-tip .pubviz-insts li { padding: 2px 0; font-size: 12px; }

/* network */
.pn-link { stroke: var(--mid-teal); stroke-opacity: 0.12; transition: stroke-opacity 0.2s var(--ease); }
.pn-link--hub { stroke: var(--boreal); stroke-opacity: 0.2; }
.pn-link.is-dim { stroke-opacity: 0.05; }
.pn-link.is-on { stroke-opacity: 0.85; stroke: var(--boreal); }
.pn-node { fill: var(--mid-teal); stroke: var(--white); stroke-width: 1.5; transition: fill 0.2s var(--ease), opacity 0.2s var(--ease); }
.pn-node:hover, .pn-node.is-on { fill: var(--boreal); }
.pn-node.is-dim { opacity: 0.18; }
.pn-node--me { fill: var(--ink); stroke: var(--boreal); stroke-width: 3; }
.pn-node:focus { outline: none; stroke: var(--ink); stroke-width: 2.5; }
.pn-label { font-family: var(--sans); font-size: 11px; fill: var(--body); pointer-events: none; paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; transition: opacity 0.2s var(--ease); }
.pn-label--me { font-family: var(--display); font-weight: 700; font-size: 12.5px; fill: var(--ink); }
.pn-label.is-dim { opacity: 0.15; }

/* map */
.pm-sphere { fill: var(--white); stroke: none; }
.pm-grat { fill: none; stroke: var(--hairline); stroke-width: 0.4; }
.pm-land { fill: var(--mist); stroke: var(--white); stroke-width: 0.6; }
.pm-dot { fill: var(--boreal); fill-opacity: 0.72; stroke: var(--white); stroke-width: 1.2; transition: fill-opacity 0.2s var(--ease); }
.pm-marker:hover .pm-dot, .pm-marker.is-on .pm-dot { fill: var(--ink); fill-opacity: 0.9; }
.pm-marker.is-dim .pm-dot { fill-opacity: 0.25; }
.pm-marker--home .pm-dot { fill: var(--ink); }
.pm-marker:focus { outline: none; }
.pm-marker:focus .pm-dot { stroke: var(--ink); stroke-width: 2; }

@media (max-width: 860px) {
  .pubviz { padding: 16px 14px 14px; }
  .pubviz-body { grid-template-columns: 1fr; gap: 12px; }
  .pubviz-panel { max-height: 360px; }
  .pubviz-zoom { margin-left: 0; }
  .pubviz-tip { max-width: 240px; }
  .pubviz-stage { min-height: 160px; }
}
@media (max-width: 480px) {
  /* long topic labels in the publication filters must wrap rather than widen the page */
  .pub-filters .pill { white-space: normal; text-align: left; max-width: 100%; }
}

/* Participant quotes (training page) */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote-card { margin: 0; border: 1px solid var(--hairline); border-top: 3px solid var(--boreal); background: var(--white); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.quote-card p { font-family: var(--display); font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0; }
.quote-card .quote-src { font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: auto; }
.quotes-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Course evaluation figure (training page) */
.ev { margin-top: 22px; border: 1px solid var(--hairline); background: var(--white); padding: 22px 22px 20px; }
.ev-head h3 { font-size: 19px; margin: 0 0 6px; }
.ev-head p { font-size: 14px; color: var(--muted); margin: 0; }
.ev-stats { margin-top: 18px; gap: 36px; }
.ev-stats .stat { max-width: 200px; }
.ev-stats .stat .num { font-family: var(--sans); font-weight: 700; font-size: 34px; }
.ev-of { font-size: 18px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.ev-sub { font-size: 15px; font-weight: 700; margin: 26px 0 10px; color: var(--ink); }
.ev-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.ev-key { display: inline-flex; align-items: center; gap: 6px; }
.ev-key::before { content: ""; width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.ev-key--sa::before, .ev-seg--sa { background: #135E63; }
.ev-key--a::before, .ev-seg--a { background: #6AA6A0; }
.ev-key--n::before, .ev-seg--n { background: #CBD4D2; }
.ev-rows { display: grid; gap: 10px; }
.ev-row { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 14px; align-items: center; }
.ev-lbl { font-size: 13.5px; line-height: 1.4; color: var(--body); }
.ev-bar { display: flex; gap: 2px; height: 18px; }
.ev-seg { display: flex; align-items: center; padding-left: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: visible; }
.ev-seg--sa { color: var(--white); }
.ev-bar .ev-seg:last-child { border-radius: 0 4px 4px 0; }
.ev-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form-panel .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .ev-row { grid-template-columns: 1fr; gap: 6px; } .ev-stats { gap: 22px; } }
