/* AES Advisory Group site: a warm gradient field, glass surfaces, and a Higgsfield-generated 3D ribbon echoing the AES
   swoosh, with Newsreader and DM Sans, the AES palette and real portraits. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/newsreader-400-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/dm-sans-400-600.woff2') format('woff2'); }
:root {
  --paper: #faf9f7;
  --ink: #1d1819;
  --muted: #5e5755;
  --red: #a51d36;
  --red-dark: #82182b;
  --burgundy: #4d202c;
  --wine: #19060b;
  --blush: #f3dadd;
  --apricot: #f5e2cf;
  --rose-tint: #f8ecee;
  --slate: #375763;
  --slate-tint: #e9f0f2;
  --line: rgba(77, 32, 44, .12);
  --glass-bg: rgba(255, 255, 255, .56);
  --glass-border: rgba(255, 255, 255, .78);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 28px 60px -32px rgba(77, 32, 44, .32), 0 2px 8px rgba(77, 32, 44, .04);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --safe-x: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --gutter: max(clamp(20px, 5vw, 80px), calc(var(--safe-x) + 12px));
  --section-space: clamp(96px, 10vw, 160px);
  --radius-lg: clamp(28px, 3vw, 40px);
  --radius: 26px;
  --header-offset: 104px;
  --max: clamp(1320px, 88vw, 1840px);
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: var(--header-offset); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { isolation: isolate; margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: url('/assets/grain.svg'); opacity: .045; mix-blend-mode: multiply; }
body.dialog-open { overflow: hidden; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 22px; height: 22px; flex: none; }
button svg { pointer-events: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
::selection { background: #efcfd5; color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
:where(.text-link, nav a):focus-visible { border-radius: 6px; }
.focus-quiet:focus-visible { outline: none; }
.header-sentinel { position: absolute; top: 0; width: 1px; height: 24px; }

/* A fixed field of warm light the whole page sits on. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .85; }
.glow-a { width: 62vmax; height: 62vmax; left: -22vmax; top: -26vmax; background: radial-gradient(circle, var(--blush), transparent 68%); }
.glow-b { width: 56vmax; height: 56vmax; right: -20vmax; top: -18vmax; background: radial-gradient(circle, var(--apricot), transparent 66%); }
.glow-c { width: 48vmax; height: 48vmax; left: 30%; bottom: -30vmax; background: radial-gradient(circle, rgba(239, 205, 213, .7), transparent 66%); }
.grid-overlay { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(77, 32, 44, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 32, 44, .055) 1px, transparent 1px); background-size: 72px 72px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 34%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 50% 34%, #000 10%, transparent 72%); }

/* Shared pieces */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
/* Faint stock photographs (Unsplash; credits in assets/photo-credits.json) settle into the open side of a few cards. Each card sets where its photo shows through with --photo-mask. */
.has-photo { position: relative; overflow: hidden; isolation: isolate; }
.card-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .18; mix-blend-mode: multiply; filter: saturate(.8); pointer-events: none; -webkit-mask-image: var(--photo-mask); mask-image: var(--photo-mask); }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 24px -14px rgba(77, 32, 44, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 500 13px/1.3 var(--sans); letter-spacing: .01em; color: var(--burgundy); }
.pill:has(.pill-icon) { padding-left: 6px; }
.pill-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--rose-tint); color: var(--red); }
.pill-icon svg { width: 16px; height: 16px; }
.lane-label { display: flex; align-items: center; gap: 10px; font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lane-accent, var(--red)); }
.lane-label .pill-icon { background: var(--lane-tint, var(--rose-tint)); color: var(--lane-accent, var(--red)); }
.section-head { display: grid; justify-items: center; gap: 22px; max-width: 860px; margin: 0 auto clamp(56px, 6vw, 88px); text-align: center; }
.section-head h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.section-head > p:last-child { max-width: 640px; color: var(--muted); font-size: 18px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px 0 28px; border-radius: 999px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white; font: 500 15px/1.2 var(--sans); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -14px rgba(130, 24, 43, .7); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.button svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
@media (hover: hover) { .button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 36px -14px rgba(130, 24, 43, .75); } }
@media (hover: hover) { .button:hover svg { transform: translateX(4px); } }
.button-light { background: #fff; color: var(--burgundy); box-shadow: 0 14px 36px -16px rgba(0, 0, 0, .55); }
@media (hover: hover) { .button-light:hover { box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); } }
.button-ghost { background: rgba(255, 255, 255, .14); color: white; box-shadow: none; }
@media (hover: hover) { .button-ghost:hover { background: rgba(255, 255, 255, .22); box-shadow: none; } }
.text-link { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1.4 var(--sans); color: var(--lane-accent, var(--red)); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .6s var(--ease); }
.text-link svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
@media (hover: hover) { .text-link:hover { background-size: 100% 1px; } }
@media (hover: hover) { .text-link:hover svg { transform: translateX(4px); } }
.text-link.light { color: white; }

/* Header: a floating frosted bar. */
.site-header { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 40; padding-inline: max(14px, calc(var(--gutter) - 22px)); pointer-events: none; transition: transform .5s var(--ease); }
.header-hidden .site-header:not(:has(:focus-visible)) { transform: translateY(calc(-100% - 28px - env(safe-area-inset-top, 0px))); }
.header-bar { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(calc(var(--max) + 44px), 100%); height: 70px; margin: 0 auto; padding: 0 10px 0 24px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px -26px rgba(77, 32, 44, .35); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); transition: background .4s, box-shadow .4s, height .4s var(--ease); }
.site-header.is-scrolled .header-bar { background: rgba(255, 255, 255, .74); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 22px 44px -24px rgba(77, 32, 44, .4); }
.brand { display: block; width: 132px; flex: none; }
.brand img { width: 100%; height: auto; margin: -10px 0 -12px; filter: url(#logo-color); }
#site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); font: 500 14px/1 var(--sans); }
#site-nav > a:not(.button) { position: relative; padding: 10px 0; color: #3b3334; transition: color .3s; }
#site-nav > a:not(.button)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
@media (hover: hover) { #site-nav > a:not(.button):hover { color: var(--red); } }
@media (hover: hover) { #site-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; } }
.header-cta { min-height: 50px; padding: 0 20px 0 24px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); position: relative; flex: none; transition: transform .2s var(--ease); }
.menu-toggle:active { transform: scale(.92); }
.menu-call { display: none; }
.menu-toggle span { position: absolute; left: 16px; right: 16px; height: 1.5px; background: white; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle span:first-child { top: 20px; }
.menu-toggle span:last-child { top: 28px; }
.menu-toggle[aria-expanded='true'] span:first-child { top: 24px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { top: 24px; transform: rotate(-45deg); }

/* Hero: centred statement, floating partner portraits, and the ribbon flowing beneath. */
.hero { --hero-pad: clamp(118px, 15vh, 160px); --people-drop: clamp(40px, 7vh, 80px); --logo-w: clamp(128px, min(12.5vw, 19vh), 200px); --logo-block: calc(var(--logo-w) * .536 + 22px); --h1-size: clamp(46px, 6.1vw, 100px); --bubble-w: 208px; --people-reach: calc(var(--h1-size) * 5.3 + 44px + var(--bubble-w)); position: relative; display: flex; flex-direction: column; min-height: max(720px, 100svh); padding-top: var(--hero-pad); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; order: 1; }
.hero-logo { width: var(--logo-w); height: auto; margin-bottom: 22px; filter: url(#logo-color); }
.hero h1 { max-width: 13.5em; margin-top: 28px; font-size: var(--h1-size); line-height: .98; letter-spacing: -.045em; }
/* The accent gradient sits on each word once headings are split, so it survives the per-word motion. */
.split .word-inner, .accent .word-inner { padding: .04em .1em .2em .04em; margin: -.04em -.1em -.2em -.04em; }
.hero h1:not(.split) .accent, .accent .word-inner { background: linear-gradient(100deg, var(--red) 10%, var(--burgundy) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 34em; margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.hero-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 330px)); gap: 16px; margin-top: 40px; text-align: left; }
.route { position: relative; display: grid; gap: 6px; padding: 20px 64px 20px 24px; border-radius: 24px; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s; }
.route-label { font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--route-accent, var(--red)); }
.route-text { font: 400 21px/1.2 var(--serif); letter-spacing: -.01em; }
.route-detail { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.route-arrow { position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--route-accent, var(--red)); color: white; transition: transform .6s var(--ease); }
.route-arrow svg { width: 17px; height: 17px; }
.route-district { --route-accent: var(--slate); }
@media (hover: hover) { .route:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 #fff, 0 32px 60px -30px rgba(77, 32, 44, .42); } }
@media (hover: hover) { .route:hover .route-arrow { transform: translateX(4px) rotate(-8deg); } }

/* The wave is carried by its mask at about 60% strength with long, soft edges, so it settles into the page; the mask (not
   opacity) does the fading so the entrance animation can't undo it. */
.hero-ribbon { --ribbon-strength: rgba(0, 0, 0, .6); position: relative; z-index: 1; order: 2; width: 100%; aspect-ratio: 16 / 9; margin-top: calc(-30vw - 16px); margin-bottom: -3vw; pointer-events: none; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, var(--ribbon-strength) 18%, var(--ribbon-strength) 82%, transparent), linear-gradient(transparent 28%, #000 48%, #000 70%, transparent 92%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, var(--ribbon-strength) 18%, var(--ribbon-strength) 82%, transparent), linear-gradient(transparent 28%, #000 48%, #000 70%, transparent 92%); mask-composite: intersect; }
.ribbon-still, .ribbon-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ribbon-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.ribbon-video.is-playing { opacity: 1; }

.hero-people { position: absolute; inset: 0; z-index: 3; order: 3; pointer-events: none; }
.hero-people ul { position: absolute; top: 0; bottom: 0; left: 50%; width: min(calc(var(--people-reach) * 2), calc(100% - 32px)); transform: translateX(-50%); }
.bubble { position: absolute; pointer-events: auto; }
.bubble button { display: grid; justify-items: center; gap: 12px; width: var(--bubble-w); text-align: center; }
.bubble-photo { position: relative; width: 104px; height: 104px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.bubble-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 12%; }
.bubble-tag { display: grid; gap: 2px; padding: 10px 16px 11px; border-radius: 18px; background: rgba(255, 255, 255, .64); border: 1px solid var(--glass-border); box-shadow: 0 16px 34px -22px rgba(77, 32, 44, .42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .7s var(--ease); }
.bubble-name { font: 500 16px/1.25 var(--serif); }
.bubble-credential { font-size: 12.5px; line-height: 1.4; color: var(--muted); text-wrap: balance; }
@media (hover: hover) { .bubble button:hover .bubble-photo { transform: scale(1.06); box-shadow: inset 0 1px 0 #fff, 0 30px 60px -26px rgba(130, 24, 43, .5); } }
@media (hover: hover) { .bubble button:hover .bubble-tag { transform: translateY(3px); } }
/* Left and right pairs are stacked with a fixed gap so a longer credential never runs into the portrait below. */
.bubble-photo.is-tight img { object-position: 50% 30%; }
.bubble-1 { left: 0; top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) - 4px); }
.bubble-2 { left: clamp(0px, 2.2vw - 20px, 24px); top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) + 252px); }
.bubble-3 { right: 0; top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) - 12px); }
.bubble-4 { right: clamp(0px, 2.2vw - 20px, 24px); top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) + 236px); }

/* The rest of the team sits under the audience routes, above the ribbon: portraits, one line about them, and the team page. */
.hero-team { position: relative; z-index: 2; order: 1; display: grid; justify-items: center; gap: 14px; width: min(640px, calc(100% - var(--gutter) * 2)); margin: 40px auto 0; text-align: center; }
.team-avatars { display: flex; justify-content: center; padding-left: 10px; }
.team-avatars li + li { margin-left: -10px; }
.avatar { position: relative; display: block; width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 10px 22px -12px rgba(77, 32, 44, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 14%; background: #fff; }
.avatar-name { position: absolute; left: 50%; bottom: calc(100% + 12px); padding: 7px 12px; border-radius: 999px; background: var(--ink); color: white; font: 500 12.5px/1 var(--sans); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 6px); transition: opacity .3s, transform .5s var(--ease); }
.avatar:focus-visible { z-index: 2; transform: translateY(-4px); box-shadow: 0 0 0 3px #fff, 0 18px 30px -14px rgba(130, 24, 43, .55); }
@media (hover: hover) { .avatar:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 0 0 3px #fff, 0 18px 30px -14px rgba(130, 24, 43, .55); } }
.avatar:focus-visible .avatar-name { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) { .avatar:hover .avatar-name { opacity: 1; transform: translate(-50%, 0); } }
.hero-team-copy { max-width: 36em; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.hero-team-title { font: 500 16px/1.4 var(--serif); color: var(--ink); }
.button-glass { min-height: 46px; padding: 0 18px 0 22px; background: rgba(255, 255, 255, .7); color: var(--burgundy); font-size: 14px; box-shadow: inset 0 1px 0 #fff, 0 12px 28px -18px rgba(77, 32, 44, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
@media (hover: hover) { .button-glass:hover { background: rgba(255, 255, 255, .92); box-shadow: inset 0 1px 0 #fff, 0 18px 34px -18px rgba(77, 32, 44, .5); } }

/* Organizations */
.organizations { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); }
.organizations-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 40px; }
.organizations-head h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.025em; max-width: 14em; }
.organizations-head p { color: var(--muted); max-width: 36em; justify-self: end; }
.logo-carousel { position: relative; }
.logo-window { overflow-x: auto; overflow-y: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-window:focus-visible { outline-offset: -3px; }
.logo-carousel.is-ready .logo-window { overflow: hidden; cursor: grab; touch-action: pan-y pinch-zoom; -webkit-user-select: none; user-select: none; }
.logo-window.is-dragging { cursor: grabbing; }

.logo-track { display: flex; width: max-content; will-change: transform; }
.logo-item img { -webkit-user-drag: none; }
.logo-group { display: flex; gap: 14px; padding-right: 14px; }
.logo-item { display: grid; place-items: center; width: 188px; height: 84px; border-radius: 20px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 26px -20px rgba(77, 32, 44, .35); }
.logo-item img { width: 132px; height: 34px; object-fit: contain; filter: none; opacity: 1; transition: filter .5s, opacity .5s; }
.logo-item > img:not([src]) { visibility: hidden; }
@media (hover: hover) { .logo-item:hover img { filter: none; opacity: 1; } }
.organizations-directory { margin-top: 26px; }
.organizations-directory summary { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border); cursor: pointer; list-style: none; font: 500 14px/1 var(--sans); color: var(--burgundy); }
.organizations-directory summary::-webkit-details-marker { display: none; }
.organizations-directory summary svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.organizations-directory[open] summary svg { transform: rotate(45deg); }
.organization-names { columns: 4 200px; column-gap: 32px; margin-top: 24px; padding: 28px 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .55); border: 1px solid var(--glass-border); font-size: 14px; color: var(--muted); }
.organization-names li { padding: 4px 0; break-inside: avoid; }

/* Statement: the firm overview fills in word by word as it scrolls past. */
.statement { padding: calc(var(--section-space) * .7) 0 var(--section-space); }
.statement-text { max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: center; font: 400 clamp(32px, 4.3vw, 64px)/1.12 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.statement-text .scrub-word { color: rgba(29, 24, 25, .16); transition: color .5s var(--ease); }
.statement-text .scrub-word.is-lit { color: var(--ink); }
.statement-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 1080px; margin: clamp(56px, 6vw, 88px) auto 0; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); color: #3c3536; }
.statement-body .text-link { grid-column: 1 / -1; justify-self: start; }

/* Services: pick an audience, then a service. The chosen row joins the detail panel like a tab. */
.services { position: relative; padding: var(--section-space) 0; }
.services .section-head { margin-bottom: clamp(36px, 4vw, 52px); }
.audience-switch { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(560px, 100%); margin: 0 auto clamp(28px, 3vw, 40px); padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.switch-thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--switch-accent, var(--red)); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--switch-accent, var(--red)) 80%, transparent); transition: transform .7s var(--ease), background .5s; }
.audience-switch[data-active='district'] .switch-thumb { --switch-accent: var(--slate); transform: translateX(100%); }
.audience-switch [role='tab'] { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; font: 500 15px/1.2 var(--sans); color: var(--muted); transition: color .5s var(--ease); }
.audience-switch [role='tab'][aria-selected='true'] { color: white; }
@media (hover: hover) { .audience-switch [role='tab']:not([aria-selected='true']):hover { color: var(--ink); } }
.switch-icon svg { width: 18px; height: 18px; }
.service-stage { position: relative; }
.service-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px) 0; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .58); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); }
.service-panel[hidden] { display: none; }
.service-panel.is-entering { animation: panel-in .8s var(--ease); }
.lane-company { --lane-accent: var(--red); --lane-tint: #f6e7ea; }
.lane-district { --lane-accent: var(--slate); --lane-tint: #e6eef1; }
.panel-intro { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 0; align-items: end; }
/* One sentence per line in both audiences, so the two headings always match. */
.panel-intro h3 { font-size: clamp(28px, 3vw, 46px); line-height: 1.04; letter-spacing: -.03em; text-wrap: wrap; }
.panel-intro > p:last-child { color: var(--muted); max-width: 34em; padding-left: clamp(28px, 3vw, 44px); }
.panel-body { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.service-index { display: grid; align-content: start; gap: 6px; padding: 10px 0; }
.service-option { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 16px 12px 18px; border-radius: 18px 0 0 18px; text-align: left; color: #3a3233; transition: background .4s, color .3s; }
.service-option .option-index { font: 500 12px/1 var(--sans); letter-spacing: .06em; color: var(--lane-accent); }
.service-option .option-title { font: 500 16px/1.35 var(--sans); }
.service-option .option-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--lane-accent); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .6s var(--ease); }
.service-option .option-mark svg { width: 16px; height: 16px; }
@media (hover: hover) { .service-option:hover { background: rgba(255, 255, 255, .6); } }
@media (hover: hover) { .service-option:hover .option-mark { opacity: .6; transform: none; } }
.service-option[aria-pressed='true'] { background: var(--lane-tint); color: var(--ink); }
.service-option[aria-pressed='true'] .option-mark { opacity: 1; transform: none; }
.option-copy { margin: 0 0 6px; padding: 4px 18px 16px 64px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.service-detail { position: relative; display: grid; align-content: start; gap: 16px; min-height: 100%; padding: clamp(28px, 3.4vw, 48px); border-radius: 8px 28px 28px 28px; background: var(--lane-tint); }
.service-detail.is-changing > * { animation: detail-swap .6s var(--ease) both; }
.service-detail.is-changing > :nth-child(2) { animation-delay: .04s; }
.service-detail.is-changing > :nth-child(3) { animation-delay: .08s; }
.detail-number { font: 400 clamp(52px, 5vw, 76px)/1 var(--serif); letter-spacing: -.04em; color: color-mix(in srgb, var(--lane-accent) 32%, transparent); }
.detail-title { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.08 var(--serif); letter-spacing: -.025em; text-wrap: balance; max-width: 14em; }
.detail-copy { color: #4f4647; font-size: 17px; line-height: 1.7; max-width: 34em; }
.service-detail .text-link { justify-self: start; margin-top: 10px; }
.engage { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin-top: clamp(40px, 4vw, 56px); }
.engage-label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.engage ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.engage li { padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid var(--glass-border); font: 500 14.5px/1 var(--sans); box-shadow: 0 10px 24px -20px rgba(77, 32, 44, .5); }

/* Performance Lab: the real boardroom photograph in a rounded card. */
.lab { padding: 0 0 var(--section-space); }
.lab-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--wine); color: white; isolation: isolate; box-shadow: 0 40px 90px -50px rgba(36, 11, 18, .8); }
.lab-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.lab-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(36, 11, 18, .92) 8%, rgba(36, 11, 18, .7) 46%, rgba(36, 11, 18, .25) 100%), linear-gradient(0deg, rgba(36, 11, 18, .55), transparent 45%); }
.lab-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: clamp(460px, 36vw, 600px); padding: clamp(40px, 5vw, 80px) clamp(32px, 5vw, 72px); }
.lab-copy { display: grid; justify-items: start; gap: 22px; }
.lab-copy h2 { max-width: 9em; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; }
.lab-subtitle { font: 400 clamp(19px, 1.6vw, 24px)/1.35 var(--serif); color: #f3e6e8; max-width: 22em; }
.lab-date { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-date span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; color: #f5e9eb; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 6px; }
.lab-panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: rgba(255, 255, 255, .11); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.lab-panel-label { font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f0c9d0; margin-bottom: 16px; }
.lab-panel ol { display: grid; gap: 8px; }
.lab-panel li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 13px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); font-size: 15.5px; line-height: 1.45; }
.lab-panel li span { font: 500 12px/1.9 var(--sans); color: #f0c9d0; }

/* Approach, mission and vision as one bento grid. */
.approach { padding: 0 0 var(--section-space); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.bento-intro { grid-column: span 6; display: grid; align-content: space-between; justify-items: start; gap: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(248, 236, 238, .62)); }
/* A sunlit classroom (2y.kang) fills the open top right of the approach card. */
.bento-photo { --photo-mask: radial-gradient(120% 105% at 100% 8%, #000 28%, transparent 78%); object-position: 60% 30%; }
.bento-intro h2 { font-size: clamp(38px, 4vw, 62px); line-height: 1; letter-spacing: -.035em; max-width: 8em; }
.bento-intro p:last-child { color: var(--muted); max-width: 32em; }
.bento-steps { grid-column: span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bento-step { display: grid; align-content: space-between; gap: 28px; min-height: 200px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) { .bento-step:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, 0 34px 60px -32px rgba(77, 32, 44, .4); } }
.step-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--rose-tint); color: var(--red); }
.step-icon svg { width: 26px; height: 26px; }
.step-number { position: absolute; top: 28px; right: 30px; font: 500 13px/1 var(--sans); color: rgba(77, 32, 44, .4); }
.step-title { font: 400 22px/1.2 var(--serif); letter-spacing: -.01em; max-width: 11em; }
.bento-mission, .bento-vision { display: grid; align-content: start; gap: 18px; min-height: 340px; }
.bento-mission { grid-column: span 5; }
.bento-vision { grid-column: span 7; }
.bento-mission h2, .bento-vision h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.06; letter-spacing: -.025em; max-width: 13em; }
.bento-mission p:last-child, .bento-vision p:last-child { color: var(--muted); max-width: 30em; }
.bento-vision { padding-bottom: clamp(140px, 13vw, 200px); }
.bento-vision img { position: absolute; z-index: -1; left: 6%; right: -12%; bottom: -34%; width: 106%; max-width: none; opacity: .9; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(transparent 20%, #000 60%); mask-image: linear-gradient(transparent 20%, #000 60%); }

/* Featured programs */
.programs { padding: 0 0 var(--section-space); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.program-card { position: relative; display: grid; align-content: start; gap: 18px; padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(248, 236, 238, .6)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.program-card-slate { --lane-accent: var(--slate); --lane-tint: var(--slate-tint); background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(233, 240, 242, .7)); }
.program-number { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(26px, 3.4vw, 52px); font: 400 clamp(48px, 5vw, 80px)/1 var(--serif); color: color-mix(in srgb, var(--lane-accent, var(--red)) 16%, transparent); }
.program-card h3 { font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -.025em; max-width: 11em; margin-top: 12px; }
.program-subtitle { font: 400 20px/1.3 var(--serif); color: var(--lane-accent, var(--red)); margin-top: -6px; }
.program-card > p:not(.lane-label):not(.program-subtitle) { color: var(--muted); }
.program-card .text-link { justify-self: start; margin-top: 8px; }

/* Team group labels (About page) */
.group-label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 22px/1 var(--serif); letter-spacing: -.01em; }
.group-label span { display: grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--rose-tint); font: 600 11px/1 var(--sans); letter-spacing: .08em; color: var(--red); }

/* Impact */
.impact { padding: 0 0 var(--section-space); }
.impact-head { margin-bottom: clamp(32px, 4vw, 52px); }
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.impact-card { display: grid; align-content: start; gap: 18px; padding: clamp(32px, 3.4vw, 52px); border-radius: var(--radius-lg); }
/* Gradient text paints only inside its own box, so it gets padding to keep glyph tops and tails intact. */
.impact-value, .impact-statement { padding: .1em .04em .08em 0; font: 400 clamp(64px, 7vw, 112px)/1 var(--serif); letter-spacing: -.05em; background: linear-gradient(120deg, var(--red), var(--burgundy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact-value [data-count] { display: inline-block; font-variant-numeric: tabular-nums; text-align: right; }
.impact-statement { font-size: clamp(36px, 3.2vw, 54px); line-height: 1.02; letter-spacing: -.035em; }
/* Graduates' caps from behind (Jane Carmona; the file is cropped to the caps) sit in the empty lower right of "Proven academic gains". */
.impact-photo { --photo-mask: radial-gradient(130% 130% at 100% 100%, #000 38%, transparent 82%); inset: auto 0 0 auto; width: 78%; height: 68%; object-position: 40% 30%; filter: saturate(.5); }
.impact-caption { font-size: 16px; color: var(--muted); max-width: 20em; }

/* Finale: contact and footer share one dark card, with the ribbon moving through it. */
.finale { padding-bottom: clamp(16px, 2vw, 28px); }
.finale-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--wine); color: white; isolation: isolate; }
/* The footer ribbon's backdrop is darker than the card, so 'lighten' drops it entirely (no visible box) and only the ribbon's
   light remains, at half strength and faded on every edge. */
.finale-media { position: absolute; z-index: -1; left: 18%; right: -4%; top: 6%; aspect-ratio: 21 / 9; opacity: .5; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 58%, transparent 92%), linear-gradient(90deg, transparent, #000 32%, #000 86%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 20%, #000 58%, transparent 92%), linear-gradient(90deg, transparent, #000 32%, #000 86%, transparent); mask-composite: intersect; }
.finale-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wine) 22%, rgba(25, 6, 11, .55) 52%, transparent 80%); }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 48px clamp(40px, 6vw, 96px); align-items: end; padding: clamp(56px, 8vw, 128px) clamp(28px, 6vw, 96px) clamp(48px, 6vw, 88px); }
.contact-copy { display: grid; justify-items: start; gap: 24px; }
.contact-copy h2 { max-width: 12em; font-size: clamp(40px, 4.8vw, 74px); line-height: 1; letter-spacing: -.04em; }
.contact-copy > p:last-child { max-width: 30em; color: #ecd9dc; font-size: 18px; }
.contact-actions { display: grid; gap: 14px; justify-items: stretch; }
/* The team stack sits on its own frosted pill so the label stays readable over the moving ribbon. */
.contact-team { display: flex; align-items: center; justify-self: start; margin-bottom: 10px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(25, 6, 11, .62); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.contact-team img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 2px solid #2a0c13; margin-right: -12px; }
.contact-team span { margin-left: 26px; font-size: 14px; font-weight: 500; color: #fbeff1; }
.site-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; margin: 0 clamp(28px, 6vw, 96px); padding: 36px 0 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { width: 112px; }
.footer-brand img { margin: 0; filter: none; }
.footer-tagline { font: 400 18px/1.35 var(--serif); color: #ecd9dc; max-width: 18em; }
.copyright { grid-column: 1 / -1; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.copyright a { text-decoration: underline; text-underline-offset: 3px; }


/* Dialogs: a tinted head for the message, a white body for the next step. */
dialog { width: min(700px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 60px 140px -50px rgba(36, 11, 18, .7), 0 2px 10px rgba(36, 11, 18, .08); overflow: auto; overscroll-behavior: contain; }
dialog:focus { outline: none; }
dialog::backdrop { background: rgba(25, 6, 11, .46); -webkit-backdrop-filter: blur(8px) saturate(.9); backdrop-filter: blur(8px) saturate(.9); }
dialog[open] { animation: dialog-in .6s var(--ease); }
dialog[open]::backdrop { animation: fade-in .4s ease; }
dialog { --kind-accent: var(--red); --kind-tint: #f8e9ec; --kind-glow: #f3d5db; }
dialog[data-kind='district'] { --kind-accent: var(--slate); --kind-tint: #e9f0f2; --kind-glow: #d3e1e6; }
.dialog-head { position: relative; display: grid; justify-items: start; gap: 14px; padding: clamp(32px, 4.4vw, 48px) clamp(28px, 4.4vw, 48px) clamp(26px, 3.4vw, 34px); background: radial-gradient(120% 140% at 0% 0%, var(--kind-glow), transparent 60%), linear-gradient(160deg, var(--kind-tint), #fff 92%); }
.dialog-label { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 8px 20px -14px rgba(77, 32, 44, .4); font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--kind-accent); }
dialog h2 { margin: 4px 0 0; padding-right: 48px; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.02; letter-spacing: -.032em; }
.dialog-lede { max-width: 32em; color: #4f4647; font-size: 17px; }
.dialog-body > * { min-width: 0; }
.dialog-body { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 34px) clamp(28px, 4.4vw, 48px) clamp(28px, 4vw, 40px); }
.dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 8px 20px -12px rgba(36, 11, 18, .45); color: var(--ink); transition: background .3s, transform .5s var(--ease); }
.dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (hover: hover) { .dialog-close:hover { background: #fff; transform: rotate(90deg); } }
.dialog-close:focus-visible { outline: 2px solid var(--kind-accent); outline-offset: 3px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dialog-actions { align-items: center; }
.dialog-actions .button { flex: 0 1 auto; white-space: nowrap; }
dialog .button { background: linear-gradient(135deg, var(--kind-accent), color-mix(in srgb, var(--kind-accent) 78%, black)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 30px -14px color-mix(in srgb, var(--kind-accent) 80%, transparent); }
dialog .button-soft { background: var(--kind-tint); color: var(--kind-accent); box-shadow: none; padding: 0 24px; }
@media (hover: hover) { dialog .button-soft:hover { background: color-mix(in srgb, var(--kind-tint) 70%, var(--kind-glow)); box-shadow: none; } }
.dialog-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.dialog-actions .text-link { align-self: center; }
dialog[data-kind='lab'] { --kind-accent: var(--red); }
dialog[data-kind='lab'] .dialog-head { color: white; background: linear-gradient(100deg, rgba(25, 6, 11, .94) 20%, rgba(25, 6, 11, .66)), url('/assets/performance-lab-boardroom-stock.webp') center / cover; }
dialog[data-kind='lab'] .dialog-label { background: rgba(255, 255, 255, .14); color: #f6e7ea; box-shadow: none; }
dialog[data-kind='lab'] .dialog-lede { color: #eedadd; font-size: 15px; }
#lab-dialog .dialog-actions .button { flex: 0 1 auto; }
#lab-dialog .dialog-body { gap: 18px; }
#lab-dialog .dialog-head { padding-bottom: 28px; }
.dialog-copy { color: #4a3f41; }
.competencies { display: grid; gap: 6px; }
.competencies li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 10px 16px; border-radius: 14px; background: #f8f5f3; font-size: 15px; }
.competencies li span { font: 500 12px/1.9 var(--sans); color: var(--red); }
.program-logistics { display: flex; flex-wrap: wrap; gap: 8px; }
.program-logistics span { padding: 8px 14px; border-radius: 999px; background: var(--kind-tint); font: 500 13.5px/1.2 var(--sans); color: var(--burgundy); }
#bio-dialog { width: min(820px, calc(100% - 32px)); padding: clamp(28px, 4vw, 44px); display: none; background: radial-gradient(90% 120% at 100% 0%, #f8e9ec, transparent 55%), #fff; }
#bio-dialog[open] { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; }
.bio-photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; border-radius: 24px; box-shadow: 0 24px 50px -30px rgba(36, 11, 18, .6); }
.bio-copy { display: grid; justify-items: start; gap: 12px; }
.bio-copy h2 { margin-top: 2px; }
.bio-credential { color: var(--ink); font-weight: 500; }
.bio-copy > p:not(.dialog-label) { color: var(--muted); }
.bio-copy .text-link { margin-top: 8px; }

/* Inner pages: one hero pattern (centred title over the grid, with the swoosh drifting behind) and calm stacked sections. */
#site-nav > a[aria-current='page']:not(.button) { color: var(--red); }
#site-nav > a[aria-current='page']:not(.button)::after { transform: scaleX(1); }
.page-hero { position: relative; padding: clamp(150px, 19vh, 200px) 0 clamp(64px, 7vw, 104px); overflow: hidden; }
.page-hero .grid-overlay { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 72%); }
.page-hero-ribbon { position: absolute; z-index: -1; right: -14vw; bottom: -6vw; width: min(64vw, 1000px); max-width: none; opacity: .2; mix-blend-mode: multiply; pointer-events: none; -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 60%), linear-gradient(#000 40%, transparent 78%); -webkit-mask-composite: source-in; mask-image: linear-gradient(100deg, transparent 10%, #000 60%), linear-gradient(#000 40%, transparent 78%); mask-composite: intersect; }
.page-hero-inner { position: relative; display: grid; justify-items: center; gap: 26px; text-align: center; }
.page-hero h1, .contact-intro h1 { max-width: 12em; font-size: clamp(48px, 6.4vw, 104px); line-height: .98; letter-spacing: -.045em; }
.page-lede { max-width: 40em; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.page-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.page-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 10px 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .62); border: 1px solid var(--glass-border); box-shadow: 0 10px 26px -18px rgba(77, 32, 44, .45); font: 500 14.5px/1 var(--sans); transition: transform .5s var(--ease), background .3s; }
.page-jump a span { display: grid; place-items: center; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--rose-tint); font: 600 11px/1 var(--sans); letter-spacing: .06em; color: var(--red); }
@media (hover: hover) { .page-jump a:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .85); } }

/* About: portrait-led directory, following Ben's team-grid reference. */
.team-directory { padding-bottom: clamp(56px, 6vw, 88px); }
.team-filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0 auto 36px; }
.team-filters[hidden] { display: none; }
.team-filters button { min-height: 44px; padding: 10px 19px; border-radius: 999px; font: 500 14px/1.4 var(--sans); color: var(--muted); transition: background .22s, color .22s; scroll-margin-top: calc(var(--header-offset, 100px) + 16px); }
.team-filters button:hover { background: rgba(165, 29, 54, .06); color: var(--red); }
.team-filters button[aria-pressed="true"] { background: var(--red); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.team-card { position: relative; min-width: 0; aspect-ratio: 4 / 5; isolation: isolate; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 12px 30px -24px rgba(77, 32, 44, .3); scroll-margin-top: calc(var(--header-offset, 100px) + 24px); }
.team-card[hidden] { display: none; }
.team-card.is-linked { outline: 2px solid var(--red); outline-offset: 5px; }
.team-card-photo { position: absolute; inset: 0; overflow: hidden; }
.team-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: translateY(var(--portrait-y, 0px)) scale(var(--portrait-scale, 1)); transform-origin: 50% 0; transition: scale .65s var(--ease); }
.team-card-open { position: absolute; inset: 0; z-index: 1; border-radius: inherit; cursor: pointer; }
.team-card-open[hidden] { display: none; }
/* A quiet plus makes the bio interaction visible on touch without adding copy to the nameplate. */
.team-card-open::after { content: '+'; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(250,246,246,.8); color: var(--red); font: 400 22px/1 var(--sans); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.team-card-open:focus-visible { outline: 3px solid var(--red); outline-offset: -5px; }
.team-card-caption { position: absolute; inset: auto 10px 10px; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 112px; padding: 10px; border: 1px solid rgba(255,255,255,.86); border-radius: 18px; background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(250,246,246,.70)); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 24px -16px rgba(45,19,29,.34); -webkit-backdrop-filter: blur(22px) saturate(125%); backdrop-filter: blur(22px) saturate(125%); pointer-events: none; }
.team-card-name { display: grid; gap: 4px; min-width: 0; }
.team-card-caption h2 { font: 500 clamp(21px, 1.7vw, 25px)/1.12 var(--serif); letter-spacing: -.02em; }
.team-card-name > p { font: 500 12px/1.35 var(--sans); color: #453b40; }
.team-card-specialty { font: 400 11.5px/1.4 var(--sans); color: #453b40; }
.team-card-links { display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: auto; }
.team-card-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--red); transition: background .2s; }
.team-card-links a:hover { background: rgba(165,29,54,.08); }
.team-card-links svg { width: 20px; height: 20px; }
.team-linkedin-mark { font: 700 18px/1 Arial, sans-serif; letter-spacing: -.04em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .team-card:hover .team-card-photo img { scale: 1.025; } }
@media (max-width: 1279px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 949px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .team-filters { justify-content: start; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 24px; padding: 4px 0 8px; scrollbar-width: none; }
  .team-filters::-webkit-scrollbar { display: none; }
  .team-filters button { flex: none; padding-inline: 16px; }
  .team-grid { gap: 16px; }
  .team-card { border-radius: 24px; }
  .team-card-caption h2 { font-size: clamp(22px, 6vw, 25px); }
}
@media (max-width: 619px) { .team-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (min-width: 620px) and (max-width: 680px) { .team-card-caption h2 { font-size: 22px; } }
.about-close { padding: clamp(16px, 2vw, 32px) 0 var(--section-space); }
.about-close-card { display: grid; justify-items: center; gap: 22px; padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-lg); text-align: center; }
.about-close-card h2 { max-width: 16em; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.04; letter-spacing: -.03em; }
.about-close-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; }
/* A sunlit school corridor (chris wang) recedes behind the closing line, fading out at every edge; capped in width so wide screens do not stretch it into a grey band. */
.about-close-photo { --photo-mask: radial-gradient(60% 95% at 50% 50%, #000 22%, transparent 80%); left: 50%; width: min(100%, 1000px); translate: -50% 0; object-position: 50% 62%; opacity: .15; }

.block-eyebrow { font: 600 11.5px/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--lane-accent); max-width: 44em; }
.block-lead { font: 400 clamp(21px, 1.8vw, 26px)/1.4 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.block-lead strong { font-weight: 500; color: var(--lane-accent); }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding: 2px 0 2px 38px; line-height: 1.55; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--lane-tint); }
.check-list li::after { content: ''; position: absolute; left: 9.5px; top: 7px; width: 6px; height: 11px; border: solid var(--lane-accent); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.term-list { display: grid; gap: 10px; margin: 0; }
.term-list > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 24px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .55); }
.term-list dt { font: 500 17px/1.35 var(--serif); color: var(--ink); }
.term-list dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.wide-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px clamp(28px, 4vw, 64px); align-items: end; padding-top: clamp(8px, 1vw, 16px); }
.wide-head h4, .advisory-panel h4 { margin: 0; font: 400 clamp(24px, 2.2vw, 32px)/1.1 var(--serif); letter-spacing: -.02em; }
.wide-head p { color: var(--muted); }
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.focus-grid li { display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .6); box-shadow: 0 16px 34px -28px rgba(77, 32, 44, .5); transition: transform .5s var(--ease), background .3s; }
@media (hover: hover) { .focus-grid li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .85); } }
.focus-index { font: 600 12px/1 var(--sans); letter-spacing: .06em; color: var(--lane-accent); }
.focus-grid h5 { margin: 4px 0 0; font: 400 21px/1.2 var(--serif); letter-spacing: -.01em; }
.focus-grid p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.advisory-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(28px, 4vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--lane-tint); }
.advisory-panel > div:first-child { display: grid; align-content: start; gap: 12px; }
.advisory-panel > div:first-child > p:last-child:not(.block-eyebrow) { color: #4f4647; font-size: 15.5px; }
.advisory-panel .check-list li::before { background: rgba(255, 255, 255, .8); }
.list-title { margin-bottom: 14px; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.lab-title { max-width: 9em; font-size: clamp(42px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; }
.lab-text { max-width: 34em; color: #ecdcdf; }
.services-close { padding: 0 0 var(--section-space); }

/* Services: one audience at a time beside a sticky menu; each service is a card whose full published copy folds away. */
.explorer { padding: 0 0 clamp(72px, 7vw, 112px); overflow-anchor: none; }
.explorer-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.explorer-nav { position: sticky; top: calc(var(--header-offset) + 16px); display: grid; gap: 18px; }
.lane-switch { width: 100%; margin: 0; }
.lane-switch [role='tab'] { min-height: 46px; padding: 0 10px; font-size: 14px; }
.explorer-index[hidden] { display: none; }
.explorer-index ol { display: grid; gap: 2px; }
.explorer-index a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; gap: 6px; padding: 11px 14px; border-radius: 14px; font: 500 14.5px/1.4 var(--sans); color: var(--muted); transition: background .3s, color .3s; }
@media (hover: hover) { .explorer-index a:hover { background: rgba(255, 255, 255, .6); color: var(--ink); } }
.explorer-index a[aria-current='true'] { background: var(--lane-tint); color: var(--ink); }
.index-number { font: 600 11.5px/1 var(--sans); letter-spacing: .06em; color: var(--lane-accent); }
.explorer-contact { margin-left: 14px; font-size: 14px; text-wrap: balance; }
.explorer-main { min-width: 0; }
.lane-panel { display: grid; gap: 16px; }
.lane-panel[hidden] { display: none; }
.lane-panel.is-entering { animation: panel-in .8s var(--ease); }
.lane-company { --lane-glow: #f3d5db; }
.lane-district { --lane-glow: #d3e1e6; }
.lane-head { display: grid; justify-items: start; gap: 16px; padding-bottom: clamp(12px, 2vw, 24px); }
.lane-head h2 { max-width: 12em; font-size: clamp(36px, 4vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.lane-head > p:last-child { max-width: 36em; font-size: 17px; color: var(--muted); }
.sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); overflow: hidden; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .62); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); scroll-margin-top: 16px; -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.sheet:target { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px color-mix(in srgb, var(--lane-accent) 28%, transparent), 0 30px 60px -36px rgba(77, 32, 44, .45); }
.sheet-head { position: relative; display: grid; justify-items: start; align-content: start; gap: 14px; padding: clamp(26px, 3vw, 40px); overflow: hidden; background: radial-gradient(130% 120% at 0% 0%, var(--lane-glow), transparent 62%), linear-gradient(160deg, var(--lane-tint), rgba(255, 255, 255, .4)); }
.sheet-number { position: absolute; top: 4px; right: 22px; font: 400 clamp(84px, 8vw, 124px)/1 var(--serif); letter-spacing: -.05em; color: color-mix(in srgb, var(--lane-accent) 13%, transparent); pointer-events: none; }
.sheet-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .88); color: var(--lane-accent); box-shadow: 0 12px 26px -16px rgba(77, 32, 44, .45); }
.sheet-icon svg { width: 26px; height: 26px; }
.sheet-head h3 { position: relative; max-width: 11em; margin-top: 6px; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -.028em; }
.sheet-summary { position: relative; max-width: 30em; font-size: 15.5px; color: #4f4647; }
.sheet-head .text-link { margin-top: 4px; }
.sheet-body { display: grid; align-content: center; gap: 24px; padding: clamp(26px, 3vw, 40px); }
.sheet-quote { position: relative; margin: 0; padding-left: 38px; font: 400 clamp(20px, 1.7vw, 24px)/1.38 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.sheet-quote::before { content: '“'; position: absolute; left: 0; top: -.06em; font: 400 60px/1 var(--serif); color: var(--lane-accent); }
.sheet-points { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-points li { padding: 9px 14px; border-radius: 999px; background: var(--lane-tint); font: 500 13.5px/1.25 var(--sans); color: #3a3233; }
.sheet-points-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sheet-points-tiles:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr; }
.sheet-points-tiles li { position: relative; padding: 17px 18px 17px 54px; border-radius: 18px; background: rgba(255, 255, 255, .72); box-shadow: 0 14px 30px -26px rgba(77, 32, 44, .5); font: 400 18px/1.3 var(--serif); color: var(--ink); }
.sheet-points-tiles li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--lane-tint); }
.sheet-points-tiles li::after { content: ''; position: absolute; left: 25.5px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid var(--lane-accent); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.sheet-more { grid-column: 1 / -1; }
.sheet-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(26px, 3vw, 40px); background: rgba(255, 255, 255, .5); cursor: pointer; list-style: none; font: 500 14.5px/1.2 var(--sans); color: var(--lane-accent); transition: background .3s; }
.sheet-more summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .sheet-more summary:hover { background: rgba(255, 255, 255, .85); } }
.sheet-more summary svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.sheet-more[open] summary svg { transform: rotate(45deg); }
.sheet-more .less-label, .sheet-more[open] .more-label { display: none; }
.sheet-more[open] .less-label { display: inline; }
.overview { display: grid; gap: 24px; padding: 10px clamp(26px, 3vw, 40px) clamp(30px, 3.4vw, 44px); background: rgba(255, 255, 255, .5); }
.overview-title { font: 600 11.5px/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--lane-accent); }
.overview-body { display: grid; gap: 16px; max-width: 70ch; font-size: 16px; line-height: 1.72; color: #3f3739; }
.overview-body strong, .overview strong { font-weight: 600; color: var(--ink); }
.overview .block-lead { font-size: clamp(19px, 1.6vw, 22px); }
.overview .block-lead strong { font-weight: 500; color: var(--lane-accent); }
.sheet-lab.lab { padding: 0; scroll-margin-top: 16px; }
.sheet-lab .lab-content { min-height: clamp(440px, 34vw, 560px); }
.sheet-lab .lab-title { max-width: 11em; font-size: clamp(36px, 3.6vw, 58px); }
.services-close { padding: 0 0 var(--section-space); }
.closing-statement { display: grid; justify-items: center; gap: 30px; padding: clamp(40px, 5vw, 80px); border-radius: var(--radius-lg); text-align: center; background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(248, 236, 238, .64)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
.closing-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--rose-tint); color: var(--red); }
.closing-mark svg { width: 26px; height: 26px; }
.closing-text { max-width: 30em; font: 400 clamp(22px, 2.2vw, 32px)/1.32 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.closing-statement .engage { margin-top: 0; }
.closing-statement .engage-label { font-family: var(--sans); }

/* Clients */
.clients { padding: 0 0 var(--section-space); }
.clients-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 36px; }
.clients-head h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; letter-spacing: -.025em; max-width: 14em; }
.clients-head p { justify-self: end; max-width: 36em; color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.client-logo { display: grid; place-items: center; aspect-ratio: 2 / 1; padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 12px 28px -22px rgba(77, 32, 44, .4); transition: transform .5s var(--ease), background .3s, box-shadow .5s var(--ease); }
.client-logo img { width: min(78%, 150px); height: 40px; object-fit: contain; filter: none; opacity: 1; transition: filter .5s, opacity .5s; }
@media (hover: hover) { .client-logo:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 22px 40px -26px rgba(77, 32, 44, .45); } }
@media (hover: hover) { .client-logo:hover img { filter: none; opacity: 1; } }
.clients .organizations-directory { margin-top: 32px; }

/* Testimonials */
.stories { padding: 0 0 clamp(64px, 6vw, 96px); }
.coming-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(248, 236, 238, .64)); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); overflow: hidden; }
.quote-mark { display: block; align-self: start; height: .62em; padding: .06em .06em 0; overflow: hidden; font: 400 clamp(150px, 14vw, 220px)/1 var(--serif); background: linear-gradient(140deg, var(--red), var(--burgundy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coming-copy { display: grid; justify-items: start; gap: 16px; }
.coming-label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.coming-copy h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.03em; max-width: 12em; }
.coming-copy p:not(.coming-label) { color: var(--muted); }
.coming-copy .button { margin-top: 8px; }
.coming-team { display: flex; align-self: end; }
.coming-team img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; margin-left: -14px; box-shadow: 0 0 0 3px #fff, 0 12px 24px -14px rgba(77, 32, 44, .55); }
.coming-team img:nth-child(4) { object-position: 50% 30%; }
/* A bright library (Drahomír Hugo Posteby-Mach) fills the open top right of the stories card. */
.stories-photo { --photo-mask: radial-gradient(90% 120% at 100% 0%, #000 24%, transparent 74%); object-position: 50% 35%; }

/* Podcast: one card, like the home services panel. Spotify's player sits on the left and stays in view on wide screens
   while the episode list on the right scrolls past; choosing an episode loads it into the player. */
.podcast-hero .page-hero-inner { gap: 22px; }
.podcast-subtitle { margin-top: -6px; font: 400 clamp(24px, 2.3vw, 36px)/1.1 var(--serif); letter-spacing: -.015em; color: var(--red); }
.page-hero .page-lede + .podcast-hosts { margin-top: 4px; }
.podcast-hosts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; font-size: 15px; color: var(--muted); }
.podcast-host-faces { display: flex; }
.podcast-host-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 14%; box-shadow: 0 0 0 3px var(--paper), 0 10px 22px -14px rgba(77, 32, 44, .6); }
.podcast-host-faces img + img { margin-left: -10px; }
.podcast-hosts a { white-space: nowrap; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(165, 29, 54, .35); text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
@media (hover: hover) { .podcast-hosts a:hover { color: var(--red); text-decoration-color: currentColor; } }
.episodes { padding: 0 0 var(--section-space); }
.podcast-panel { padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .58); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); }
.podcast-intro, .podcast-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(28px, 3.4vw, 56px); }
.podcast-intro { align-items: start; }
.podcast-intro h2 { grid-row: span 2; margin-top: -.1em; font-size: clamp(36px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -.035em; }
.podcast-intro p { color: var(--muted); max-width: 34em; }
.podcast-follow { justify-self: start; min-height: 46px; padding: 0 20px 0 24px; font-size: 14px; }
.podcast-body { align-items: start; margin-top: clamp(32px, 3.4vw, 52px); }
.episode-stage { position: sticky; top: calc(var(--header-offset) + 12px); display: grid; gap: clamp(20px, 2vw, 28px); }
.episode-player { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, var(--burgundy), var(--wine)); box-shadow: 0 34px 70px -40px rgba(36, 11, 18, .75); }
.episode-frame { display: block; width: 100%; height: 100%; border: 0; }
.episode-now { display: grid; justify-items: start; gap: 12px; padding: 0 4px; }
.episode-now-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font: 500 13px/1.4 var(--sans); letter-spacing: .02em; color: var(--muted); }
.episode-now-meta > * + *::before { content: '·'; margin-right: 10px; }
.episode-now-meta > :first-child { color: var(--red); }
.episode-now-title { max-width: 22em; font-size: clamp(26px, 2.3vw, 38px); line-height: 1.1; letter-spacing: -.025em; }
.episode-now-guest { color: #4f4647; font-size: 17px; }
.episode-now .text-link { margin-top: 4px; }
.episode-now.is-changing > * { animation: detail-swap .6s var(--ease) both; }
.episode-now.is-changing > :nth-child(2) { animation-delay: .04s; }
.episode-now.is-changing > :nth-child(n + 3) { animation-delay: .08s; }
.episode-list { display: grid; gap: 4px; }
.episode-option { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; grid-template-areas: 'number text mark' 'number info mark'; align-items: start; gap: 6px 12px; width: 100%; padding: 16px 14px 16px 18px; border-radius: 18px; text-align: left; color: #3a3233; transition: background .4s, color .3s; }
.episode-number { grid-area: number; padding-top: 4px; font: 500 12px/1 var(--sans); letter-spacing: .06em; color: var(--red); font-variant-numeric: tabular-nums; }
.episode-text { grid-area: text; display: grid; gap: 4px; }
.episode-name { font: 500 16px/1.35 var(--sans); color: var(--ink); text-wrap: pretty; }
.episode-guest { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.episode-info { grid-area: info; display: flex; gap: 8px; font: 500 12.5px/1.4 var(--sans); letter-spacing: .02em; color: #8a8180; }
.episode-info > span::before { content: '·'; margin-right: 8px; }
.episode-mark { grid-area: mark; align-self: center; display: grid; place-items: center; width: 28px; height: 28px; color: var(--red); opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .6s var(--ease); }
.episode-mark svg { width: 16px; height: 16px; }
@media (hover: hover) { .episode-option:hover { background: rgba(255, 255, 255, .7); } }
@media (hover: hover) { .episode-option:hover .episode-mark { opacity: .6; transform: none; } }
.episode-option[aria-pressed='true'] { background: #f6e7ea; }
.episode-option[aria-pressed='true'] .episode-mark { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .podcast-intro, .podcast-body { grid-template-columns: minmax(0, 1fr); }
  .podcast-intro h2 { grid-row: auto; }
  .episode-stage { position: static; }
}
@media (max-width: 680px) {
  .podcast-hero .page-hero-inner { gap: 16px; }
  .podcast-hosts { font-size: 14px; }
  .podcast-panel { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .podcast-intro { gap: 14px; }
  .podcast-intro h2 { font-size: 34px; }
  .podcast-follow { width: 100%; min-height: 48px; }
  .podcast-body { gap: 28px; }
  .episode-player { margin-inline: calc(var(--gutter) * -.5); border-radius: 18px; }
  .episode-now { padding: 0; }
  .episode-now-title { font-size: 26px; }
  .episode-now-guest { font-size: 16px; }
  .episode-list { gap: 0; border-top: 1px solid var(--line); }
  .episode-option { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 6px 10px; }
  .episode-option[aria-pressed='true'] { margin-inline: -12px; width: calc(100% + 24px); padding-inline: 16px; border-radius: 16px; border-bottom-color: transparent; }
}

/* Contact page: introduction and phone on one side, the audience-routed form on the other. */
.contact-page { position: relative; padding: clamp(140px, 17vh, 184px) 0 clamp(72px, 7vw, 112px); overflow: hidden; }
.contact-page .page-hero-ribbon { top: 18%; bottom: auto; left: -18vw; right: auto; transform: scaleX(-1); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-offset) + 24px); display: grid; justify-items: start; gap: 24px; }
.contact-intro h1 { font-size: clamp(46px, 5.2vw, 84px); }
.contact-context { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .62); box-shadow: 0 16px 36px -26px rgba(77, 32, 44, .45); }
.contact-context[hidden] { display: none; }
.context-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--rose-tint); color: var(--red); }
.context-icon svg { width: 22px; height: 22px; }
.context-heading { font: 500 19px/1.3 var(--serif); }
.contact-context p:last-child { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.contact-card { display: grid; justify-items: start; gap: 14px; width: 100%; padding: 22px 24px 24px; border-radius: 26px; background: var(--wine); color: white; box-shadow: 0 30px 60px -36px rgba(36, 11, 18, .75); }
.contact-card .footer-heading { color: #f0c9d0; }
.contact-card-row { display: flex; align-items: center; gap: 16px; color: #f2e2e5; }
.contact-card-team { display: flex; flex: none; padding-left: 10px; }
.contact-card-team img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; margin-left: -10px; box-shadow: 0 0 0 2px var(--wine); }
.contact-card-team img:nth-child(4) { object-position: 50% 30%; }
.contact-card .button-soft { background: rgba(255, 255, 255, .14); color: white; box-shadow: none; padding: 0 24px 0 20px; }
@media (hover: hover) { .contact-card .button-soft:hover { background: rgba(255, 255, 255, .22); } }
.form-shell { padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .7); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.contact-form { display: grid; gap: 22px; }
.contact-form[hidden] { display: none; }
.contact-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-form legend, .field-label { display: block; padding: 0; margin-bottom: 10px; font: 500 14.5px/1.3 var(--sans); color: var(--ink); }
.field-required { margin-left: 4px; font-weight: 400; color: var(--muted); }
.field { display: grid; min-width: 0; }
.field-sub { margin-bottom: 6px; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-form input:not([type='radio']), .contact-form select, .contact-form textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 0; border-radius: 16px; background: #f6f2f0; box-shadow: inset 0 0 0 1px rgba(77, 32, 44, .08); font: 400 16px/1.4 var(--sans); color: var(--ink); transition: box-shadow .3s, background .3s; }
.contact-form textarea { min-height: 148px; resize: vertical; }
.contact-form select { appearance: none; padding-right: 44px; background: #f6f2f0 url('/assets/chevron-down.svg') right 16px center / 18px no-repeat; cursor: pointer; }
@media (hover: hover) { .contact-form input:not([type='radio']):hover, .contact-form select:hover, .contact-form textarea:hover { background-color: #f1ebe8; } }
.contact-form input:not([type='radio']):focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 4px rgba(165, 29, 54, .1); }
.contact-form :user-invalid { box-shadow: inset 0 0 0 1.5px #b3261e !important; }
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; gap: 10px; min-height: 56px; height: 100%; padding: 12px 14px; border-radius: 16px; background: #f6f2f0; box-shadow: inset 0 0 0 1px rgba(77, 32, 44, .08); font: 500 14.5px/1.3 var(--sans); color: #3a3233; transition: background .3s, color .3s, box-shadow .3s; }
.segmented span svg { width: 22px; height: 22px; color: var(--muted); transition: color .3s; }
@media (hover: hover) { .segmented label:hover span { background: #f1ebe8; } }
.segmented input:checked + span { background: var(--rose-tint); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--red); }
.segmented input[value='district']:checked + span { background: var(--slate-tint); box-shadow: inset 0 0 0 1.5px var(--slate); }
.segmented input:checked + span svg { color: var(--red); }
.segmented input[value='district']:checked + span svg { color: var(--slate); }
.segmented input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.field-help { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.field-count { flex: none; font-variant-numeric: tabular-nums; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 4px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-success { display: grid; justify-items: start; gap: 16px; padding: clamp(8px, 2vw, 24px) 0; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--rose-tint); color: var(--red); }
.success-icon svg { width: 34px; height: 34px; }
.form-success h2 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.03em; }
.form-success p { max-width: 32em; color: var(--muted); }

/* Footer columns: identity, the page menu and the published contact line. */
.site-footer { grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); align-items: start; gap: 32px 48px; }
.footer-identity { display: grid; justify-items: start; gap: 18px; }
.footer-heading { margin-bottom: 14px; font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f0c9d0; }
.footer-column ul { display: grid; gap: 8px; font-size: 14.5px; }
.footer-column a { color: #f3e3e6; transition: color .3s; }
@media (hover: hover) { .footer-column a:hover { color: white; text-decoration: underline; text-underline-offset: 4px; } }
.footer-column > p:not(.footer-heading) { font-size: 14.5px; color: #f3e3e6; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 500; }
.footer-contact-link svg { width: 16px; height: 16px; }
.finale-compact .site-footer { border-top: 0; padding-top: clamp(40px, 5vw, 64px); }
.finale-compact .finale-media { top: -10%; }

/* Small additions to the homepage. */
.statement-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.switch-caption { margin: 0 auto 16px; text-align: center; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.detail-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 10px; }
.option-more { display: inline-flex; margin-top: 10px; font-size: 14.5px; }
.impact-card .impact-caption { max-width: 19em; font-size: 16.5px; line-height: 1.5; color: #4f4647; }
.impact-statement + .impact-caption::first-letter { text-transform: uppercase; }
.program-card strong { font-weight: 600; color: var(--ink); }

@keyframes logo-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(30px) scale(.86); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes ribbon-in { from { opacity: 0; transform: translateY(4%); } to { opacity: 1; transform: none; } }
@keyframes detail-swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .entrance { animation: rise 1.2s var(--ease) both; }
  .hero-logo.entrance { animation-name: logo-in; }
  .hero .pill.entrance { animation-delay: .12s; }
  .pill.entrance { animation-delay: .05s; }
  .hero-description.entrance { animation-delay: .75s; }
  .hero-routes.entrance { animation-delay: .9s; }
  .hero-team { animation: rise 1.2s var(--ease) 1.5s both; }
  .bubble { animation: bubble-in 1.4s var(--ease) both, float var(--float, 7s) ease-in-out var(--float-delay, 0s) infinite; }
  .bubble-1 { animation-delay: 1.05s, 2.4s; --float: 7.5s; }
  .bubble-2 { animation-delay: 1.25s, 2.6s; --float: 8.5s; }
  .bubble-3 { animation-delay: 1.15s, 2.5s; --float: 8s; }
  .bubble-4 { animation-delay: 1.35s, 2.7s; --float: 7s; }
  .hero-ribbon { animation: ribbon-in 2.2s var(--ease) .5s both; }

  .split .word { display: inline-block; }
  .split .word-inner { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.35em); }
  .split.is-visible .word-inner, .is-visible .split .word-inner { opacity: 1; filter: none; transform: none; transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--word) * 65ms + .1s); }

  .will-reveal { opacity: 0; transform: translateY(32px); filter: blur(10px); }
  .will-reveal.is-visible { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease) var(--reveal-delay, 0s), transform 1.3s var(--ease) var(--reveal-delay, 0s), filter 1.1s var(--ease) var(--reveal-delay, 0s); }
  .will-reveal:has(.split) { transform: none; filter: none; }
  .will-reveal [data-stagger] > *, .will-reveal[data-stagger] > *, .will-reveal .service-index > li, [data-stagger].is-staged > * { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  .is-visible [data-stagger] > *, .is-visible[data-stagger] > *, .is-visible .service-index > li, [data-stagger].is-staged.is-visible > * { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + .2s); }
  .lab-card.will-reveal { transform: translateY(40px) scale(.98); filter: none; }
  .lab-card.will-reveal.is-visible { transform: none; }
  @supports (interpolate-size: allow-keywords) {
    .sheet-more { interpolate-size: allow-keywords; }
    .sheet-more::details-content { height: 0; overflow: clip; transition: height .6s var(--ease), content-visibility .6s allow-discrete; }
    .sheet-more[open]::details-content { height: auto; }
  }
  .lab-card.will-reveal .lab-photo { transform: scale(1.12); }
  .lab-card.is-visible .lab-photo { transform: scale(1); transition: transform 2.4s var(--ease); }
}

@media (max-width: 1400px) and (min-width: 1241px) {
  .hero { --h1-size: 5.3vw; --bubble-w: 196px; }
  .hero h1 { max-width: 12em; }
}
@media (max-width: 1240px) {
  /* Not enough room around the headline: partners move into a row beneath the ribbon. */
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-ribbon { margin-bottom: -10vw; }
  .hero-people { position: relative; inset: auto; pointer-events: auto; }
  .hero-people ul { position: static; transform: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
  .bubble { position: static; display: grid; }
  .bubble button { width: 100%; grid-template-rows: auto 1fr; }
  .bubble-tag { align-content: start; width: 100%; }
  .hero h1 { max-width: 11.5em; }
  .hero-people { order: 3; }
  .hero-team { order: 4; margin-top: 36px; }
}
@media (max-width: 1100px) {
  :root { --header-offset: 96px; }
  .menu-toggle { display: block; }
  /* The menu opens as a sheet that fills the screen below the bar: large rows, the page locked behind it. */
  #site-nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100dvh - 100px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; padding: 12px; border-radius: 28px; background: rgba(255, 255, 255, .94); border: 1px solid var(--glass-border); box-shadow: 0 30px 60px -30px rgba(77, 32, 44, .45); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  #site-nav.is-open { display: flex; animation: menu-in .45s var(--ease); }
  #site-nav > a:not(.button) { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 18px; border-radius: 18px; font: 400 23px/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); transition: background .2s; }
  #site-nav > a:not(.button)::after { position: static; flex: none; width: 18px; height: 18px; background: var(--muted); transform: rotate(-90deg); transform-origin: center; -webkit-mask: url('/assets/chevron-down.svg') center / contain no-repeat; mask: url('/assets/chevron-down.svg') center / contain no-repeat; opacity: .55; }
  #site-nav > a:not(.button):active { background: var(--rose-tint); }
  @media (hover: hover) { #site-nav > a:not(.button):hover::after { transform: rotate(-90deg); transform-origin: center; } }
  @media (hover: hover) { #site-nav > a:not(.button):hover { background: var(--rose-tint); color: var(--ink); } }
  .header-cta { margin-top: 10px; min-height: 56px; font-size: 15px; }
  .menu-call { display: inline-flex; min-height: 56px; margin-top: 6px; background: var(--rose-tint); color: var(--red); box-shadow: none; font-size: 15px; }
  .menu-call svg { width: 20px; height: 20px; }
  .site-header.menu-open::before { content: ''; position: fixed; inset: -40px 0 0; background: rgba(25, 6, 11, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: auto; animation: fade-in .4s ease; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .header-bar { position: relative; height: 64px; padding-right: 7px; }

  .organizations-head { grid-template-columns: 1fr; }
  .organizations-head p { justify-self: start; }
  .lab-content { grid-template-columns: 1fr; align-items: start; }
  .lab-panel { max-width: 560px; }
  .bento-intro, .bento-steps { grid-column: 1 / -1; }
  .bento-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento-mission, .bento-vision { grid-column: span 6; }
  .contact { grid-template-columns: 1fr; }
  .contact-actions { justify-items: start; }
  .contact-actions .button { width: min(100%, 420px); }
}
@media (max-width: 860px) {
  .panel-intro, .panel-body { grid-template-columns: 1fr; }
  .panel-intro h3 { padding-right: 0; }
  .panel-intro > p:last-child { padding-left: 0; }
  .service-detail { display: none; }
  .service-index { padding: 0; }
  .service-option { border-radius: 18px; background: rgba(255, 255, 255, .55); }
  .service-option .option-mark { opacity: 1; transform: rotate(90deg); }
  .service-option[aria-expanded='true'] { background: var(--lane-tint); border-radius: 18px 18px 0 0; }
  .service-option[aria-expanded='true'] .option-mark { transform: rotate(-90deg); }
  .option-copy { margin-top: -6px; padding: 2px 18px 18px 64px; border-radius: 0 0 18px 18px; background: var(--lane-tint); }
  .statement-body { grid-template-columns: 1fr; }
  .bento-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-mission, .bento-vision { grid-column: 1 / -1; }
  .program-grid, .impact-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  #bio-dialog[open] { grid-template-columns: 1fr; gap: 20px; }
  .bio-photo { width: 140px; }
  .dialog-actions .button { flex-basis: 100%; }
}
@media (max-width: 680px) {
  .hero { --hero-pad: 112px; }
  .hero .pill { max-width: 100%; padding: 8px 16px; line-height: 1.4; text-align: center; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); margin-top: 22px; }
  .hero-routes { grid-template-columns: 1fr; width: 100%; max-width: 440px; margin-top: 32px; }
  .hero-ribbon { width: 150%; margin-left: -25%; margin-top: calc(-42vw + 12px); margin-bottom: -16vw; }
  .hero-people ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hero { --logo-w: 132px; }
  .bubble-photo { width: 84px; height: 84px; }
  .bubble-tag { padding: 9px 12px 10px; }
  .bubble-name { font-size: 15px; }
  .bubble-credential { font-size: 12px; }
  .route-text { font-size: 19px; }
  .audience-switch [role='tab'] { gap: 8px; padding: 0 10px; font-size: 14px; }
  .switch-icon { display: none; }
  .service-panel { padding: 22px 16px 16px; }
  .panel-intro { padding: 0 6px; }
  .option-copy { padding-left: 18px; }
  .logo-item { width: 150px; height: 72px; }
  .logo-item img { width: 110px; }
  .statement-text { font-size: clamp(28px, 8vw, 40px); }
  .bento-steps { grid-template-columns: 1fr; }
  .bento-step { min-height: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; }
  .step-number { top: 50%; margin-top: -6px; right: 22px; }
  .step-title { padding-right: 24px; font-size: 20px; }
  .group-label { font-size: 20px; }
  .contact-team { padding-right: 18px; }
  .contact-team span { margin-left: 22px; font-size: 13px; }
  .finale { padding-bottom: 76px; }
  .finale-media { aspect-ratio: 4 / 3; }
  .finale-media .ribbon-still, .finale-media .ribbon-video { object-position: 72% 50%; }
}
@media (max-width: 440px) {
  .panel-intro h3 { font-size: min(28px, 7.1vw); }
  .contact-team { padding-right: 6px; }
  .contact-team span { display: none; }
}
@media (max-width: 380px) {
  .header-bar { padding-left: 18px; }
  .brand { width: 112px; }
  .hero-people ul { gap: 14px 8px; }
  .bubble-tag { padding: 8px 8px 9px; }
}
@media (max-height: 760px) and (min-width: 1241px) {
  .hero { --hero-pad: 104px; --people-drop: clamp(16px, 4vh, 30px); }
  .bubble-1 { top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) - 8px); }
  .bubble-3 { top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) - 14px); }
  .bubble-2, .bubble-4 { top: calc(var(--hero-pad) + var(--logo-block) + var(--people-drop) + 226px); }
  .bubble button { gap: 10px; }
  .hero { --h1-size: clamp(46px, 5.4vw, 84px); }
  .hero h1 { margin-top: 20px; }
  .hero-description { margin-top: 18px; }
  .hero-routes { margin-top: 28px; }
  .bubble-photo { width: 84px; height: 84px; }
}
/* Inner pages and the homepage team strip at smaller sizes. */
@media (max-width: 1100px) {
  #site-nav > a[aria-current='page']:not(.button) { background: var(--rose-tint); color: var(--red); }
  #site-nav > a[aria-current='page']:not(.button)::after { background: var(--red); transform: rotate(-90deg); }
  .explorer-grid { grid-template-columns: 1fr; gap: 24px; }
  .explorer-nav { position: static; justify-items: center; }
  .lane-switch { width: min(420px, 100%); }
  .explorer-index, .explorer-contact { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wide-head, .advisory-panel { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .coming-card { grid-template-columns: auto minmax(0, 1fr); }
  .coming-team { grid-column: 2; justify-self: start; padding-left: 14px; }
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-identity { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-body { padding-top: 6px; }
  .clients-head { grid-template-columns: 1fr; }
  .clients-head p { justify-self: start; }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .term-list > div { grid-template-columns: 1fr; }
  .coming-card { grid-template-columns: 1fr; gap: 20px; }
  .coming-team { grid-column: auto; }
  .quote-mark { font-size: 130px; }
}
@media (max-width: 680px) {
  .page-hero { padding-top: 124px; }
  .page-hero-ribbon { width: 120vw; right: -40vw; bottom: -14vw; }
  .page-hero h1, .contact-intro h1 { font-size: clamp(42px, 12vw, 60px); }
  .profile { grid-template-columns: 1fr; gap: 18px; }
  .sheet { border-radius: 28px; }
  .sheet-head, .sheet-body { padding-left: 20px; padding-right: 20px; }
  .sheet-more summary { padding: 18px 20px; }
  .overview { padding: 8px 20px 28px; }
  .sheet-points-tiles { grid-template-columns: 1fr; }
  .lane-head { justify-items: center; text-align: center; }
  .profile-photo { width: 120px; border-radius: 20px; }
  .focus-grid { grid-template-columns: 1fr; }
  .advisory-panel { padding: 22px 18px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .segmented { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-shell { padding: 22px 16px; border-radius: 28px; }
  .contact-page { padding-top: 120px; }
  .contact-card-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer { grid-template-columns: 1fr; }
  .team-avatars li + li { margin-left: -12px; }
  .avatar { width: 44px; height: 44px; }
}
/* Phones and tablets: touch-first. Presses answer at once, targets are at least 44px, and long pages use compact
   patterns that feel native on a phone: a sticky audience bar with service chips, bottom sheets, compact profiles. */
.index-short { display: none; }
@media (hover: none) {
  .button:active, .route:active, .client-logo:active, .page-jump a:active, .service-option:active, .avatar:active, .bento-step:active, .focus-grid li:active, .bubble button:active .bubble-photo, .audience-switch [role='tab']:active { transform: scale(.97); transition-duration: .12s; }
  .sheet-more summary:active, .organizations-directory summary:active { background: rgba(255, 255, 255, .92); }
  .text-link:active, .footer-column a:active, .profile-more:active { opacity: .6; }
  /* Without hover there is no colour reveal, so the full colour logos sit a little stronger. */
  .client-logo img, .logo-item img { opacity: 1; }
}
@media (pointer: coarse) {
  .text-link, .footer-contact-link { position: relative; }
  .text-link::after, .footer-contact-link::after { content: ''; position: absolute; inset: -11px -6px; }
  .organizations-directory summary { min-height: 46px; }
  #site-nav > a:not(.button) { padding-block: 15px; }
  .route-label, .lab-panel-label, .footer-heading, .profile-role, .overview-title, .block-eyebrow, .coming-label, .switch-caption, .engage-label { font-size: 12px; }
}
@media (max-width: 1100px) {
  /* Services: the audience switch and a row of service chips stay in reach while reading. */
  .explorer-grid { display: block; }
  .explorer-nav { position: sticky; top: calc(var(--header-offset) - 10px + env(safe-area-inset-top, 0px)); z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 8px; margin: 0 calc(var(--gutter) * -1) 28px; padding: 8px 0 10px; transition: top .5s var(--ease), background .3s, box-shadow .3s; }
  .header-hidden:not(:has(.site-header :focus-visible)) .explorer-nav { top: 0; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
  .explorer-nav.is-stuck { background: rgba(250, 247, 245, .84); box-shadow: 0 16px 30px -26px rgba(77, 32, 44, .45); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
  .lane-switch { justify-self: center; width: min(420px, calc(100% - var(--gutter) * 2)); padding: 5px; }
  .lane-switch .switch-thumb { top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); }
  .lane-switch [role='tab'] { min-height: 40px; }
  .explorer-index { display: block; }
  .explorer-index[hidden] { display: none; }
  .explorer-index ol { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .explorer-index ol::-webkit-scrollbar { display: none; }
  .explorer-index li { flex: none; }
  .explorer-index li:first-child { margin-left: auto; }
  .explorer-index li:last-child { margin-right: auto; }
  .explorer-index a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(77, 32, 44, .07); white-space: nowrap; font: 500 14px/1 var(--sans); color: #3a3233; transition: background .3s, color .3s; }
  .explorer-index a[aria-current='true'] { background: var(--lane-accent); color: #fff; box-shadow: none; }
  .explorer-index .index-number { display: none; }
  .explorer-index .index-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .explorer-index .index-short { display: inline; }
  .page-services .sheet, .page-services .sheet-lab.lab { scroll-margin-top: calc(var(--explorer-bar, 112px) - var(--header-offset) + 14px); }
  .impact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-label, .lab-panel-label, .footer-heading, .profile-role, .overview-title, .block-eyebrow, .coming-label, .switch-caption, .engage-label { font-size: 12px; }
}
@media (max-width: 680px) {
  :root { --section-space: 72px; --header-offset: 84px; }
  .site-header { top: calc(10px + env(safe-area-inset-top, 0px)); padding-inline: max(10px, calc(var(--safe-x) + 8px)); }
  .header-bar { height: 60px; padding: 0 5px 0 20px; }
  .brand { width: 120px; }
  .header-hidden .site-header:not(:has(:focus-visible)) { transform: translateY(calc(-100% - 24px - env(safe-area-inset-top, 0px))); }

  /* Home */
  .hero { padding-bottom: 40px; }
  .organizations { padding-top: 32px; }
  .statement-actions, .lab-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .lab-actions { justify-self: stretch; }
  .program-number { display: none; }
  .bento-mission, .bento-vision { min-height: 0; }
  .bento-vision { padding-bottom: 104px; }
  .bento-vision img { left: 0; bottom: -18%; width: 120%; }
  .statement-actions .text-link, .lab-actions .text-link { align-self: center; }
  .sheet-points li { padding: 7px 12px; font-size: 13px; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .impact-card { gap: 8px; padding: 24px 20px 26px; border-radius: 26px; }
  .impact-card:last-child { grid-column: 1 / -1; }
  .impact-value { font-size: clamp(46px, 14vw, 64px); }
  .impact-statement { font-size: clamp(30px, 8.6vw, 38px); }
  .impact-card .impact-caption { font-size: 14.5px; line-height: 1.45; }

  /* Clients: three across keeps 68 logos to a reasonable scroll. */
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .client-logo { aspect-ratio: 4 / 3; padding: 10px; border-radius: 16px; }
  .client-logo { padding: 8px; }
  .client-logo img { width: 94%; height: 32px; }

  /* Contact: a one-row call card, a three-way audience picker, and a full-width send button. */
  .contact-intro { gap: 18px; }
  .contact-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 14px; padding: 16px 14px 16px 18px; border-radius: 24px; }
  .contact-card .footer-heading { display: none; }
  .contact-card-row { gap: 8px; font-size: 14px; line-height: 1.45; }
  .contact-card-team img { width: 34px; height: 34px; }
  .contact-card .button-soft { padding: 0 18px 0 16px; }
  .segmented { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .segmented span { flex-direction: column; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 6px; text-align: center; font-size: 13.5px; line-height: 1.25; }
  .segmented span svg { width: 24px; height: 24px; }
  .field-name .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form-actions { flex-direction: column; align-items: stretch; text-align: center; }

  /* Footer: menu and contact side by side, with full-height rows. */
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .footer-identity, .copyright { grid-column: 1 / -1; }
  .footer-heading { margin-bottom: 4px; }
  .footer-column ul { gap: 0; }
  .footer-column li a { display: block; padding: 10px 0; }
  .footer-contact-link { min-height: 44px; margin-top: 2px; }

  /* Dialogs become bottom sheets with a grabber; the close button stays in reach while reading. */
  dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px)); margin: auto 0 0; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  dialog[open] { animation: sheet-in .5s var(--ease); }
  dialog::before { content: ''; position: absolute; z-index: 3; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(29, 24, 25, .18); }
  dialog[data-kind='lab']::before { background: rgba(255, 255, 255, .4); }
  #bio-dialog { width: 100%; padding: 30px 22px 26px; }
  #bio-dialog[open], #lab-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
  #lab-dialog[open] { gap: 0; }
  dialog .dialog-close { position: sticky; z-index: 4; top: 12px; grid-row: 1 / -1; grid-column: 1; justify-self: end; align-self: start; margin: 4px 12px 0 0; }
  #bio-dialog .dialog-close { margin: -10px -8px 0 0; }
  #bio-dialog .bio-photo, #lab-dialog .dialog-head { grid-row: 1; grid-column: 1; }
  #bio-dialog .bio-copy, #lab-dialog .dialog-body { grid-row: 2; grid-column: 1; }
  .bio-photo { width: 96px; border-radius: 20px; }
  dialog.is-dragging { transition: none; }
  dialog.is-settling { transition: transform .35s var(--ease); }
}
@media (max-width: 380px) {
  .segmented span { font-size: 12.5px; padding-inline: 4px; }
  .impact-card { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-video { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .statement-text .scrub-word { color: var(--ink); }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .route, .bento-card, .service-panel, .header-bar, .pill { background: rgba(255, 255, 255, .9); }
}

/* October 15 additions retain the existing paper/glass system and audience explorer. */
.service-additions { grid-column: 1 / -1; padding: clamp(26px, 3vw, 40px); display: grid; gap: 32px; border-top: 1px solid var(--line); }
.service-update + .service-update { padding-top: 30px; border-top: 1px solid var(--line); }
.service-update-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.service-update h4 { margin: 0; max-width: 26em; font: 400 clamp(25px, 2.4vw, 34px)/1.12 var(--serif); letter-spacing: -.02em; text-wrap: pretty; }
.service-update-subtitle { max-width: 58ch; margin-bottom: 18px; font: 500 12px/1.7 var(--sans); letter-spacing: .025em; color: var(--lane-accent); }
.service-update-copy { display: grid; gap: 16px; max-width: 72ch; font-size: 16px; line-height: 1.75; color: #3f3739; }
.coming-soon { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 7px; background: #eee7e9; color: #67283a; font: 600 11px/1.4 var(--sans); letter-spacing: .04em; white-space: nowrap; }
.sheet[data-coming-soon] .sheet-head > .coming-soon { margin: 0; }
.profile-photo.is-supplied { background: #fff; }
.profile-photo.is-supplied img { transform: none; object-position: center; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }
.profile-links:empty { display: none; }
.profile-links a { min-height: 44px; font-size: 14px; }
.profile-links svg { width: 18px; height: 18px; }
.service-detail .detail-links > [hidden] { display: none; }
@media (max-width: 680px) {
  .page-services .service-additions { padding: 8px 0 28px; gap: 26px; border-top: 0; }
  .page-services .service-update h4 { font-size: 26px; }
  .page-services .service-update-copy { font-size: 15px; line-height: 1.7; }
  .page-services .service-update-subtitle { font-size: 12px; }
}

/* Team biographies are read in a modal; cards remain portrait, name, title and contacts. */
#team-dialog { width: min(780px, calc(100% - 40px)); max-height: min(88dvh, 1000px); padding: clamp(28px, 4vw, 46px); background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(250,244,246,.96)); -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
#team-dialog[open] { display: block; animation: none; }
#team-dialog::backdrop { background: rgba(27,12,20,.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: team-backdrop-in .34s ease both; }
#team-dialog.is-closing::backdrop { animation: team-backdrop-out .22s ease both; }
.team-dialog-header { display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: center; gap: 26px; margin-bottom: 26px; padding-right: 18px; }
.team-dialog-photo { width: 132px; height: 132px; border-radius: 20px; object-fit: cover; background: #fff; }
.team-dialog-role { margin-bottom: 8px; font: 500 13px/1.5 var(--sans); color: var(--red); }
#team-dialog h2 { padding-right: 14px; font-size: clamp(32px, 4vw, 42px); }
.team-bio-text { font-size: 16px; line-height: 1.75; color: var(--muted); }
.team-bio-paragraphs > p + p { margin-top: 16px; }
.team-bio-credential { margin-bottom: 18px; font-weight: 500; color: var(--ink); }
.team-bio-credential span { display: block; }
.team-dialog-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.team-dialog-links a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--red); font-size: 14px; }
.team-dialog-links svg { width: 18px; height: 18px; }
@keyframes team-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes team-backdrop-out { from { opacity: var(--backdrop-start-opacity, 1); } to { opacity: 0; } }
@media (max-width: 680px) {
  #team-dialog { width: 100%; max-height: calc(100dvh - 40px - env(safe-area-inset-top, 0px)); padding: 28px 22px max(28px, env(safe-area-inset-bottom, 0px)); }
  #team-dialog .dialog-close { position: absolute; top: 16px; right: 16px; margin: 0; }
  .team-dialog-header { grid-template-columns: 88px minmax(0,1fr); gap: 18px; padding: 14px 28px 0 0; }
  .team-dialog-photo { width: 88px; height: 88px; border-radius: 16px; }
  #team-dialog h2 { font-size: 30px; padding: 0; }
  .team-dialog-role { font-size: 12px; margin-bottom: 6px; }
  .team-bio-text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { #team-dialog::backdrop, #team-dialog.is-closing::backdrop { animation: none; } }

/* Portraits share a white canvas, face size and alignment in their source frames. */
.team-dialog-links:empty { display: none; }
.team-static-bios { padding-bottom: 64px; }
.team-static-bios > h2 { margin-bottom: 24px; }
.team-static-bios details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.team-static-bios summary { cursor: pointer; min-height: 44px; font: 500 22px/1.3 var(--serif); }
.team-static-bios details > div { max-width: 70ch; padding-top: 16px; color: var(--muted); line-height: 1.7; }
