/* Uzm. Dr. Günay Süleymanlı — terapevt. Visual language: clinical report sheet, laboratory plate, physiology curves. */

:root {
  --paper: #F5F4EF;
  --paper-2: #ECEAE3;
  --card: #FFFFFF;
  --ink: #141A2A;
  --ink-2: #353D4D;
  --muted: #586070;
  --line: #D9D7CF;
  --line-2: #E7E5DE;
  --navy: #1C2E55;
  --navy-2: #2A4377;
  --navy-ink: #0E1830;
  --navy-tint: #E5E9F2;
  --navy-tint-2: #D3DAE9;
  --claret: #8A2C3D;
  --claret-2: #9E3448;
  --claret-tint: #F6E8EB;
  --sage: #456552;
  --sage-tint: #E1EBE4;
  --amber-tint: #F6EEDB;
  --amber: #7A5410;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 26, 42, .04), 0 10px 30px -16px rgba(20, 26, 42, .22);
  --shadow-lg: 0 2px 6px rgba(20, 26, 42, .06), 0 24px 60px -24px rgba(20, 26, 42, .32);
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cond: "Fira Sans Condensed", "Fira Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --header-h: 74px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.65 var(--sans); overflow-wrap: break-word;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--claret); }
h1, h2, h3, h4 { font-family: var(--cond); font-weight: 600; color: var(--navy-ink); line-height: 1.14; margin: 0 0 .55em; letter-spacing: -.003em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; color: var(--ink); }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i .i-dot, .i-dot { fill: currentColor; stroke: none; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--navy-tint-2); color: var(--navy-ink); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 900px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--first { padding-top: clamp(36px, 5vw, 60px); }
.section--tinted { background: var(--paper-2); }
.section--ink { background: var(--navy-ink); color: #DCE2EE; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head p:last-child { margin-bottom: 0; color: var(--muted); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section__head--row h2 { margin-bottom: 0; }

/* ------------------------------------------------------------------ kicker + badge */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 .84rem/1.25 var(--mono); color: var(--navy); letter-spacing: .01em; }
.kicker > span:last-child { min-width: 0; }
.kicker--light { color: #C9D3E6; }
.badge {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 10px; background: var(--navy-tint); color: var(--navy); overflow: hidden; isolation: isolate;
}
.badge .i { width: 19px; height: 19px; position: relative; z-index: 1; }
.badge::before { /* reagent level that rises on hover */
  content: ""; position: absolute; inset: 0; background: var(--navy-tint-2); transform: translateY(101%);
  transition: transform .45s var(--ease); z-index: 0;
}
a:hover > .badge::before, a:focus-visible > .badge::before, .area:hover .badge::before, .card:hover .badge::before { transform: translateY(38%); }
.badge--sm { width: 28px; height: 28px; border-radius: 8px; }
.badge--sm .i { width: 16px; height: 16px; }
.badge--light { background: rgba(255, 255, 255, .1); color: #fff; }
.badge--light::before { background: rgba(255, 255, 255, .14); }
.badge--alert { background: var(--claret); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; margin-left: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--sage-tint); color: var(--sage); font: 500 .72rem/1 var(--mono); letter-spacing: .01em; white-space: nowrap; }
.chip .i { width: 14px; height: 14px; }

.link-arrow { display: inline; font-weight: 500; color: var(--navy-2); text-decoration: none; width: fit-content; }
.link-arrow span { text-decoration: underline; text-decoration-color: var(--navy-tint-2); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link-arrow .i { display: inline-block; width: 1.05em; height: 1.05em; margin-left: 6px; vertical-align: -.15em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--claret); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow--light { color: #fff; }
.link-arrow--light span { text-decoration-color: rgba(255, 255, 255, .35); }
.link-arrow--light:hover { color: #F3C9D1; }
.pager { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245, 244, 239, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled::before { border-bottom-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-ink); min-width: 0; }
.mark { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--navy); color: #fff; }
.mark__l { font: 600 1.06rem/1 var(--cond); letter-spacing: .02em; }
.mark__dot { position: absolute; right: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #E39AA8; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font: 600 1.06rem/1.2 var(--cond); white-space: nowrap; }
.brand__role { font: 400 .8rem/1.3 var(--mono); color: var(--muted); white-space: nowrap; }
.brand:hover { color: var(--navy-ink); }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 10px; font-weight: 500; font-size: .97rem; color: var(--ink-2); text-decoration: none; border-radius: 10px; white-space: nowrap; }
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--navy); background: rgba(28, 46, 85, .06); }
.nav__item.is-current > .nav__link { color: var(--navy); }
.nav__item.is-current > .nav__link::after { content: ""; display: block; width: 5px; height: 5px; margin: 2px auto -7px; border-radius: 50%; background: var(--claret); }
.nav__toggle { display: grid; place-items: center; width: 22px; height: 30px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; }
.nav__toggle .i { width: 15px; height: 15px; transition: transform .2s; }
.nav__item.is-open .nav__toggle .i { transform: rotate(180deg); }

.sub {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 300px; padding: 10px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s, visibility 0s .18s;
}
.has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .18s, translate .18s, visibility 0s; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.sub__list { list-style: none; margin: 0; padding: 0; }
.sub__list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.sub__list a:hover { background: var(--paper); color: var(--navy); }
.sub__all { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 6px; }
.sub--mega { left: 50%; translate: -50% 6px; width: min(1000px, calc(100vw - 48px)); padding: 18px; }
.has-sub:hover > .sub--mega, .has-sub.is-open > .sub--mega, .has-sub:focus-within > .sub--mega { translate: -50% 0; }
.mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; }
.mega__col--alt { background: var(--paper); border-radius: 12px; padding: 4px 6px 6px; }
.mega__title { margin: 6px 10px 6px; font: 500 .76rem/1.3 var(--mono); color: var(--muted); }
.mega__foot { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.mega__foot a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.mega__foot a:hover { background: var(--paper); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; text-decoration: none; padding: 0; }
.iconbtn .i { width: 20px; height: 20px; }
.iconbtn:hover { border-color: var(--navy-tint-2); background: var(--navy-tint); color: var(--navy); }
.iconbtn--menu { display: none; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 6px 8px 6px 20px;
  border-radius: 999px; background: var(--claret); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(138, 44, 61, .7); transition: background .2s, box-shadow .2s;
}
.cta:hover { background: var(--claret-2); color: #fff; }
.cta__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.cta__ic .i { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.cta:hover .cta__ic .i { transform: translateX(2px); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 6vw, 84px); overflow: hidden; overflow: clip; }
.hero::before { /* chart-paper grid, fading out */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28, 46, 85, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 46, 85, .06) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%); mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__head { max-width: 900px; }
.hero__title { display: flex; flex-direction: column; gap: .25em; margin-bottom: 16px; }
.hero__name { font: 600 clamp(2.3rem, 5.2vw, 3.8rem)/1.02 var(--cond); color: var(--navy-ink); letter-spacing: -.01em; }
.hero__role { font: 500 clamp(1.12rem, 2vw, 1.5rem)/1.3 var(--sans); color: var(--claret); }
.hero__lead { max-width: 640px; font-size: 1.12rem; color: var(--ink-2); margin-bottom: 0; }

.hero__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px) minmax(0, 1fr); gap: 22px; margin-top: clamp(28px, 4vw, 44px); align-items: stretch; }
.hero__card { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); min-width: 0; }
.hero__label { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 500 .8rem/1.2 var(--mono); color: var(--muted); }
.hero__label .i { width: 17px; height: 17px; color: var(--navy); }
.facts { margin: 0 0 18px; }
.facts__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.facts__row:first-child { border-top: 0; padding-top: 2px; }
.facts dt { font: 400 .8rem/1.5 var(--mono); color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; line-height: 1.45; color: var(--ink); }
.facts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 18px 0 26px; }
.facts--grid .facts__row:nth-child(2) { border-top: 0; padding-top: 2px; }

.hero__photo { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero__frame { position: relative; flex: 1; border-radius: var(--r-lg); overflow: hidden; overflow: clip; background: var(--navy-tint); min-height: 420px; }
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__scan { position: absolute; left: 0; right: 0; top: 0; height: 64px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(229, 233, 242, 0) 0%, rgba(229, 233, 242, .28) 70%, rgba(255, 255, 255, .9) 98%, rgba(255, 255, 255, 0) 100%); }
.hero__corners i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .92); pointer-events: none; }
.hero__corners i:nth-child(1) { left: 14px; top: 14px; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 8px; }
.hero__corners i:nth-child(2) { right: 14px; top: 14px; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 8px; }
.hero__corners i:nth-child(3) { left: 14px; bottom: 14px; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 8px; }
.hero__corners i:nth-child(4) { right: 14px; bottom: 14px; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 8px; }
.hero__cap { display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font: 500 .82rem/1.2 var(--mono); color: var(--ink-2); }
.hero__cap .i { width: 15px; height: 15px; color: var(--claret); }

.hpath { list-style: none; margin: 0; padding: 0; position: relative; }
.hpath::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 16px; width: 2px; background: var(--navy-tint-2); transform-origin: top; border-radius: 2px; }
.hpath__item { position: relative; display: flex; flex-direction: column; padding: 0 0 16px 28px; }
.hpath__item:last-child { padding-bottom: 0; }
.hpath__item::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 2px solid var(--navy-2); box-sizing: border-box; }
.hpath__item:last-child::before { background: var(--claret); border-color: var(--claret); }
.hpath__years { font: 500 .8rem/1.4 var(--mono); color: var(--claret); }
.hpath__title { font-weight: 600; line-height: 1.3; color: var(--navy-ink); margin-top: 2px; }
.hpath__sub { font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }

/* ------------------------------------------------------------------ areas */
.areas { columns: 3; column-gap: 20px; }
.areas__group { break-inside: avoid; margin-bottom: 20px; display: block; }
.areas__group { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px 16px 12px; min-width: 0; }
.areas__group--alt { background: transparent; border-style: dashed; border-color: var(--line); }
.areas__title { display: flex; align-items: center; gap: 10px; margin: 0 6px 10px; font: 500 .82rem/1.3 var(--mono); color: var(--muted); }
.areas__list { list-style: none; margin: 0; padding: 0; }
.area { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.area__name { flex: 1; min-width: 0; font-weight: 500; line-height: 1.3; }
.area__go { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); transition: transform .25s var(--ease), color .2s, background .2s; }
.area__go .i { width: 16px; height: 16px; }
.area:hover { background: var(--paper); color: var(--navy); }
.area:hover .area__go { color: #fff; background: var(--navy); transform: translateX(2px); }

/* ------------------------------------------------------------------ split / fan */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--wide { align-items: start; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.split__text > *:last-child { margin-bottom: 0; }
.split__text p { color: var(--ink-2); }
.split__side { display: flex; flex-direction: column; gap: 18px; }

.fan { margin: 0; min-width: 0; }
.fan__board { position: relative; aspect-ratio: 400 / 260; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.fan__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fan__l { fill: none; stroke: var(--navy-2); stroke-width: 1.6; }
.fan__pt { fill: var(--claret); }
.fan__src { position: absolute; left: 4%; top: 50%; translate: 0 -50%; width: 26%; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font: 600 .98rem/1.25 var(--cond); color: var(--navy-ink); }
.fan__src .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--navy); color: #fff; }
.fan__dst { list-style: none; margin: 0; padding: 0; }
.fan__dst li { position: absolute; left: 68%; right: 3%; translate: 0 -50%; }
.fan__dst li:nth-child(1) { top: 13.1%; }
.fan__dst li:nth-child(2) { top: 37.7%; }
.fan__dst li:nth-child(3) { top: 62.3%; }
.fan__dst li:nth-child(4) { top: 86.9%; }
.fan__dst a { display: block; font-size: .9rem; line-height: 1.25; font-weight: 500; color: var(--ink); text-decoration: none; }
.fan__dst a:hover { color: var(--claret); text-decoration: underline; }

/* ------------------------------------------------------------------ steps (pathway) */
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: calc(25% - 22px); top: 22px; height: 2px; background: var(--navy-tint-2); transform-origin: left; }
.step { position: relative; min-width: 0; }
.step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--navy); font: 600 1.05rem/1 var(--cond); color: var(--navy); }
.step--4 .step__node { background: var(--claret); border-color: var(--claret); color: #fff; }
.step__title { font-size: 1.18rem; margin-bottom: .4em; }
.step p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.steps__note { display: flex; gap: 10px; align-items: flex-start; max-width: 860px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: .93rem; }
.steps__note .i { color: var(--navy); margin-top: 3px; }

/* ------------------------------------------------------------------ science band */
.science { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.science__photo { margin: 0; }
.science__photo a { display: block; border-radius: var(--r-lg); overflow: hidden; }
.science__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.science__photo a:hover img { transform: scale(1.025); }
.science__photo figcaption { margin-top: 10px; font: 400 .8rem/1.45 var(--mono); color: #AEB9CF; }
.science__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; }
.science__list a { display: flex; align-items: flex-start; gap: 14px; padding: 12px 12px; border-radius: 12px; color: #E7ECF5; text-decoration: none; line-height: 1.45; }
.science__list a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.science__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; }

/* ------------------------------------------------------------------ prep / place */
.prep { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line-2); }
.checklist li:first-child { border-top: 0; }
.checklist__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid var(--navy-2); color: var(--navy); }
.checklist__box .i { width: 15px; height: 15px; stroke-width: 2; }
.checklist--sm li { padding: 9px 0; font-size: .95rem; }
.place { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); }
.place__name { font: 600 1.35rem/1.2 var(--cond); color: var(--navy-ink); margin-bottom: 4px; }
.place__addr { color: var(--ink-2); }
.place__note { display: flex; gap: 10px; font-size: .93rem; color: var(--muted); }
.place__note .i { margin-top: 3px; color: var(--navy); }

/* ------------------------------------------------------------------ contact icons */
.cicons { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-tint); color: var(--navy); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.cicon .i { width: 20px; height: 20px; }
.cicon:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.cicon--call { background: var(--claret-tint); color: var(--claret); }
.cicon--call:hover { background: var(--claret); color: #fff; }
.cicons--lg .cicon { width: 52px; height: 52px; border-radius: 14px; }
.cicons--lg .cicon .i { width: 23px; height: 23px; }
.cicons--footer .cicon { background: rgba(255, 255, 255, .08); color: #fff; }
.cicons--footer .cicon:hover { background: #fff; color: var(--navy-ink); }

/* ------------------------------------------------------------------ cards */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 22px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transition: border-color .25s, box-shadow .25s, translate .25s var(--ease);
}
.card:hover { border-color: var(--navy-tint-2); box-shadow: var(--shadow-lg); translate: 0 -3px; color: var(--ink); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__kind { font: 500 .74rem/1 var(--mono); color: var(--muted); padding: 6px 9px; border-radius: 999px; background: var(--paper); }
.card__title { font: 600 1.26rem/1.2 var(--cond); color: var(--navy-ink); margin-top: 4px; }
.card__text { color: var(--muted); font-size: .95rem; line-height: 1.55; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--navy-2); font-size: .93rem; }
.card__more .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__more { color: var(--claret); }
.card:hover .card__more .i { transform: translateX(3px); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); text-decoration: none; color: var(--navy-ink); font-weight: 500; }
.tile__t { flex: 1; min-width: 0; }
.tile > .i { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
.tile:hover { border-color: var(--navy-tint-2); color: var(--navy); }
.tile:hover > .i { transform: translateX(3px); color: var(--claret); }

/* ------------------------------------------------------------------ FAQ */
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); interpolate-size: allow-keywords; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--navy-ink); line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
.faq__item[open] summary .i { transform: rotate(180deg); color: var(--claret); }
.faq__item[open] { border-color: var(--navy-tint-2); }
.faq__a { padding: 0 18px 16px; color: var(--ink-2); }
.faq__a p:last-child { margin-bottom: 0; }
.faqgroup { margin-bottom: 36px; }
.faqgroup h2 { font-size: 1.45rem; }

/* ------------------------------------------------------------------ page header */
.phead { position: relative; padding: clamp(18px, 3vw, 30px) 0 clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line-2); overflow: hidden; overflow: clip; }
.phead::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28, 46, 85, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 46, 85, .055) 1px, transparent 1px);
  background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.phead__grid { position: relative; display: grid; gap: 28px; }
.phead--split .phead__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.phead__main { min-width: 0; }
.phead__title { margin-bottom: 14px; }
.phead__lead { max-width: 720px; font-size: 1.06rem; color: var(--ink-2); }
.phead__lead p:last-child { margin-bottom: 0; }
.phead__side { min-width: 0; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: 400 .8rem/1.4 var(--mono); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

.answer { padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.answer__label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 500 .78rem/1.2 var(--mono); color: var(--claret); }
.answer__label .i { width: 16px; height: 16px; }
.answer__text { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.brief { padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.brief p:last-child { margin-bottom: 0; font-size: 1rem; }
.meta { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 400 .8rem/1.4 var(--mono); color: var(--muted); }
.meta .i { width: 15px; height: 15px; }
.phead__intro p { margin-bottom: .7em; }

.photo-card { margin: 0; position: relative; }
.photo-card img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 553 / 577; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 500 .8rem/1.2 var(--mono); color: var(--ink); }
.photo-card figcaption .i { width: 15px; height: 15px; color: var(--claret); }

/* ------------------------------------------------------------------ diagnostic curve card */
.cv { margin: 0; }
.cv__frame { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 14px 14px 8px; box-shadow: var(--shadow); }
.cv__svg { width: 100%; height: auto; overflow: visible; }
.cv__cap { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font: 400 .78rem/1.45 var(--mono); color: var(--muted); }
.cv__cap .i { width: 15px; height: 15px; margin-top: 1px; color: var(--navy); }
.cv-ax { fill: none; stroke: #C9CCD5; stroke-width: 1; }
.cv-l, .cv-l2, .cv-l3 { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cv-l { stroke: var(--navy-2); stroke-width: 2.2; }
.cv-l2 { stroke: var(--claret); stroke-width: 2.2; }
.cv-l3 { stroke: #9BA6BE; stroke-width: 1.4; }
.cv-ref { fill: none; stroke: #9BA3B4; stroke-width: 1; stroke-dasharray: 4 4; }
.cv-ref--c { stroke: var(--claret); opacity: .7; }
.cv-band { fill: var(--sage-tint); }
.cv-t { font: 400 9.5px var(--mono); fill: var(--ink-2); }
.cv-t--m { fill: var(--muted); font-size: 8.8px; }
.cv-t--c { fill: var(--claret); }
.cv-t--g { fill: var(--sage); }
.cv-t--n { font: 600 10px var(--mono); fill: var(--navy); }
.cv-dot { fill: var(--navy-2); }
.cv-dot--c { fill: var(--claret); }
.cv-dot--g { fill: var(--sage); }
.cv-scan path { stroke: var(--claret); stroke-width: 1.2; opacity: .55; }
.cv-scan { opacity: 0; }
.cv-node__c { fill: var(--card); stroke: var(--navy); stroke-width: 1.8; }
.cv-node.cv-d4 .cv-node__c { fill: var(--claret); stroke: var(--claret); }
.cv-node.cv-d4 .cv-t--n { fill: #fff; }
.cv-well { fill: var(--paper); stroke: #CBD0DA; stroke-width: 1; }
.cv-well.is-sel { fill: var(--navy-2); stroke: var(--navy-2); }
.cv-zone--in { fill: var(--sage-tint); }
.cv-zone--out { fill: var(--claret-tint); }
.cv-mark__p { fill: var(--navy); }
.cv-seg { fill: var(--paper-2); }
.cv-seg--ok { fill: var(--sage-tint); stroke: var(--sage); stroke-width: 1; }
.cv-seg--1 { fill: #F3E3DC; }
.cv-seg--2 { fill: #EED0D6; }
.cv-seg--3 { fill: #E3B5BF; }
.cv-seg--k0 { fill: #D9E6DD; } .cv-seg--k1 { fill: #E6EDE3; } .cv-seg--k2 { fill: #F4EBD8; } .cv-seg--k3 { fill: #F2DFD3; } .cv-seg--k4 { fill: #ECCDD3; } .cv-seg--k5 { fill: #DFAAB5; }
.cv-arrow { fill: none; stroke: var(--claret); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cv-vein { fill: var(--claret-tint); stroke: var(--claret); stroke-width: 1.6; }
.cv-sin { stroke-dasharray: 3 3; }
.cv-track { stroke: var(--line-2); stroke-width: 1; }
.cv-tick { fill: #CBD0DA; }
.cv-hit { fill: var(--claret); }
.cv-body { fill: var(--paper); stroke: #C9CCD5; stroke-width: 1; }
.cv-cell { fill: var(--card); stroke: var(--line); stroke-width: 1; }
.cv-cell.is-hot { fill: var(--claret-tint); stroke: var(--claret); }

/* ------------------------------------------------------------------ page body (generated pages) */
.pbody { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 60px) clamp(56px, 7vw, 96px); align-items: start; }
.pbody--single { grid-template-columns: minmax(0, 1fr); }
.pbody--single .prose { margin-inline: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); }
.toc details { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 6px; }
.toc summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 10px; font: 500 .8rem/1.2 var(--mono); color: var(--muted); cursor: pointer; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .i:first-child { width: 16px; height: 16px; color: var(--navy); }
.toc summary .i:last-child { margin-left: auto; width: 15px; height: 15px; transition: transform .2s; }
.toc details[open] summary .i:last-child { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 0 0 6px; }
.toc a { display: block; padding: 7px 10px; border-radius: 9px; font-size: .9rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.toc a:hover { background: var(--paper); color: var(--navy); }
.toc a.is-active { background: var(--navy-tint); color: var(--navy); font-weight: 500; }

.prose { max-width: 760px; min-width: 0; }
.prose > section, .prose__intro { margin-bottom: 40px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--claret); }
.prose a { color: var(--navy-2); }
.prose a:hover { color: var(--claret); }
.prose--legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

.note { position: relative; margin: 0 0 1.2em; padding: 14px 16px 14px 46px; border-radius: 12px; background: var(--paper-2); }
.note::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Cpath d='M12 11v5.6M12 7.8v.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.8'/%3E%3Cpath d='M12 11v5.6M12 7.8v.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.note p { margin: 0; color: var(--ink-2); font-size: .97rem; }

.role { padding: 22px 24px; border-radius: var(--r-lg); background: var(--navy); color: #DFE5F1; }
.role__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.role__head h2 { margin: 0; color: #fff; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.role ul { list-style: none; padding: 0; margin: 0; }
.role li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid rgba(255, 255, 255, .12); color: #E4E9F3; margin: 0; }
.role li:first-child { border-top: 0; }
.role li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; background: #F0B7C2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 7.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 7.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.role a { color: #fff; }
.role p { color: #E4E9F3; }

.callout { padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid; }
.callout--emergency { background: var(--claret-tint); border-color: #E6C1C8; }
.callout--alert { background: var(--amber-tint); border-color: #E7D6B0; }
.callout__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.callout__head h2, .callout__t { margin: 0; font: 600 clamp(1.15rem, 1.9vw, 1.35rem)/1.2 var(--cond); color: var(--navy-ink); }
.callout--alert .badge--alert { background: var(--amber); }
.callout__body p:last-child, .callout__body ul:last-child { margin-bottom: 0; }

.rel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rel a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); text-decoration: none; color: var(--navy-ink); }
.rel__t { flex: 1; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.rel__k { font: 400 .74rem/1 var(--mono); color: var(--muted); }
.rel a > .i { width: 17px; height: 17px; color: var(--muted); transition: transform .25s var(--ease); }
.rel a:hover { border-color: var(--navy-tint-2); }
.rel a:hover > .i { transform: translateX(3px); color: var(--claret); }

.disclaimer { margin-top: 12px; padding: 18px 20px; border-radius: var(--r); background: var(--paper-2); }
.disclaimer p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.disclaimer p:last-child { margin-bottom: 0; }
.disclaimer .i { margin-top: 2px; color: var(--navy); }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); }
thead th { border-top: 0; background: var(--paper); font: 500 .78rem/1.3 var(--mono); color: var(--muted); }
td { color: var(--ink-2); }

/* video */
.video { border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.video__play { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; text-decoration: none; color: var(--ink); }
.video__screen { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; background: var(--navy-ink); overflow: hidden; display: grid; place-items: center; }
.video__lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 14px 14px; }
.video__btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--claret); color: #fff; transition: transform .25s var(--ease); }
.video__btn .i { width: 24px; height: 24px; }
.video__btn .i path { fill: #fff; stroke: none; }
.video__btn .i circle { stroke: none; }
.video__play:hover .video__btn { transform: scale(1.08); }
.video__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.video__title { font: 600 1.06rem/1.25 var(--cond); color: var(--navy-ink); }
.video__meta { display: inline-flex; align-items: center; gap: 6px; font: 400 .76rem/1 var(--mono); color: var(--muted); }
.video__meta .i { width: 15px; height: 15px; color: var(--claret); }
.video__desc { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.video iframe { display: block; width: min(100%, 340px); margin: 12px auto; aspect-ratio: 9 / 16; height: auto; border: 0; border-radius: 12px; background: #000; }
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* ------------------------------------------------------------------ timeline (education / experience) */
.tl { list-style: none; margin: 0 0 48px; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--navy-tint-2); }
.tl__item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 30px; }
.tl__mark .badge { width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--navy-2); }
.tl__body { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); min-width: 0; }
.tl__years { margin: 0 0 6px; font: 500 .84rem/1.2 var(--mono); color: var(--claret); }
.tl__title { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 4px; }
.tl__sub { color: var(--navy-2); font-weight: 500; }
.tl__body p { color: var(--ink-2); }
.tl__body h3 { margin-top: 18px; font-size: 1.08rem; }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; background: var(--claret);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 7.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 7.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc-fig { margin: 20px 0 0; max-width: 300px; }
.doc-fig a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.doc-fig figcaption { margin-top: 8px; font: 400 .78rem/1.45 var(--mono); color: var(--muted); }

/* events */
.ev { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.ev__row { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); }
.ev__row--speaker { background: var(--claret-tint); border-radius: 14px; border-bottom-color: transparent; padding-inline: 16px; margin: 6px 0; }
.ev__date { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 .86rem/1.3 var(--mono); color: var(--navy); }
.ev__date .i { width: 16px; height: 16px; color: var(--claret); }
.ev__title { font-size: 1.12rem; line-height: 1.3; margin: 0 0 6px; }
.ev__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .9rem; color: var(--muted); }
.ev__meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev__meta .i { width: 15px; height: 15px; }
.ev__role { color: var(--ink-2); }
.ev__row--speaker .ev__role { color: var(--claret); font-weight: 600; }
.ev__thumb { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; }
.ev__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .4s var(--ease); }
.ev__thumb:hover img { transform: scale(1.06); }
.twocol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.infocard { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); min-width: 0; }
.infocard__title { font: 600 1.2rem/1.25 var(--cond); color: var(--navy-ink); margin-bottom: 6px; }
.infocard p { color: var(--ink-2); }
.infocard .cicons { margin-top: 10px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery a { display: block; text-decoration: none; color: var(--ink-2); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--r); transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.02); }
.gallery__cap { display: block; margin-top: 10px; font: 400 .78rem/1.45 var(--mono); color: var(--muted); }

/* science */
.thesis { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); margin-bottom: 48px; }
.thesis__title { font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin-bottom: 6px; }
.thesis__alt { color: var(--muted); font-style: italic; }
.thesis p { color: var(--ink-2); }
.pubs { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; }
.pub { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; }
.pub__title { font: 600 1.15rem/1.3 var(--cond); color: var(--navy-ink); margin-bottom: 4px; }
.pub__tr { color: var(--navy-2); font-weight: 500; }
.pub__meta { font: 400 .84rem/1.5 var(--mono); color: var(--muted); }
.pub p { color: var(--ink-2); }

/* teaching / media */
.talk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; box-shadow: var(--shadow); }
.talk--img { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; }
.talk__date { display: flex; align-items: center; gap: 8px; font: 500 .84rem/1.2 var(--mono); color: var(--claret); }
.talk__date .i { width: 16px; height: 16px; }
.talk__title { font-size: 1.4rem; }
.talk p { color: var(--ink-2); }
.talk__org { display: flex; gap: 8px; font-size: .92rem; color: var(--muted) !important; margin: 0; }
.talk__org .i { width: 17px; height: 17px; margin-top: 3px; color: var(--navy); }
.talk__img { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.mini { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.mini li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); }
.mini p { margin: 0; color: var(--ink-2); }
.mini__t { font-weight: 600; color: var(--navy-ink) !important; margin-bottom: 4px !important; }
.wide-photo { margin: 0; max-width: 360px; }
.wide-photo a { display: block; border-radius: var(--r-lg); overflow: hidden; }
.wide-photo figcaption { margin-top: 8px; font: 400 .78rem/1.45 var(--mono); color: var(--muted); }
.mcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mcol { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px 24px; min-width: 0; }
.mlist { list-style: none; margin: 0; padding: 0; }
.mlist li { padding: 12px 0; border-top: 1px solid var(--line-2); }
.mlist li:first-child { border-top: 0; padding-top: 2px; }
.mlist p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.mlist__ch { font-weight: 600; color: var(--navy-ink) !important; margin-bottom: 4px !important; }

/* contact / booking */
.contact { display: grid; gap: 24px; }
.contact__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccard { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.ccard--main { background: var(--navy); color: #DCE3F0; border-color: var(--navy); }
.ccard--main .kicker { color: #C9D3E6; }
.ccard--main .badge { background: rgba(255, 255, 255, .1); color: #fff; }
.ccard--main .ccard__title { color: #fff; }
.ccard--main .cicon { background: rgba(255, 255, 255, .1); color: #fff; }
.ccard--main .cicon--call { background: var(--claret); }
.ccard--main .cicon:hover { background: #fff; color: var(--navy-ink); }
.ccard__title { font: 600 1.3rem/1.2 var(--cond); color: var(--navy-ink); margin-bottom: 6px; }
.ccard__note { display: flex; gap: 8px; font-size: .92rem; color: var(--muted); }
.ccard__note .i { margin-top: 3px; color: var(--navy); }
.plinks { list-style: none; margin: 0 0 12px; padding: 0; }
.plinks a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.plinks li:first-child a { border-top: 0; }
.plinks a:hover { color: var(--claret); }
.plinks .i { width: 16px; height: 16px; color: var(--muted); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--paper-2); aspect-ratio: 16 / 7; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.booking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.bcall { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.bcall__btn { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--claret-tint); color: var(--claret); text-decoration: none; position: relative; }
.bcall__btn::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid var(--claret-tint); }
.bcall__btn .i { width: 44px; height: 44px; stroke-width: 1.5; }
.bcall__btn:hover { background: var(--claret); color: #fff; }
.bcall__qr { display: flex; flex-direction: column; gap: 10px; }
.bcall__qr img { width: 168px; height: 168px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line-2); }
.bcall__qr p { display: flex; gap: 8px; margin: 0; font-size: .9rem; color: var(--muted); max-width: 280px; }
.bcall__qr .i { width: 18px; height: 18px; margin-top: 2px; color: var(--navy); }
.bcall__more { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: .95rem; }
.booking__side { display: grid; gap: 18px; }

/* search page */
.sform { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sform > .i { width: 20px; height: 20px; color: var(--muted); }
.sform input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1.05rem/1.4 var(--sans); color: var(--ink); padding: 10px 0; }
.sform__btn { border: 1px solid var(--navy-tint-2); background: var(--navy-tint); color: var(--navy); font: 600 .95rem/1 var(--sans); padding: 12px 16px; border-radius: 12px; cursor: pointer; }
.sform__btn:hover { background: var(--navy); color: #fff; }
.sform__count { margin: 18px 0 6px; font: 400 .84rem/1.4 var(--mono); color: var(--muted); min-height: 1.2em; }
.sform__suggest { margin-top: 18px; }
.sform__suggest > p { font: 400 .84rem/1.4 var(--mono); color: var(--muted); margin-bottom: 10px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--navy-ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.pills a .i { width: 17px; height: 17px; color: var(--navy); }
.pills a:hover { border-color: var(--navy-tint-2); color: var(--navy); }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.results a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.results a:hover, .results a.is-active { border-color: var(--navy-tint-2); background: #FBFBF8; }
.results__kind { font: 500 .72rem/1 var(--mono); color: var(--claret); }
.results__title { font-weight: 600; color: var(--navy-ink); }
.results__snip { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.results mark { background: var(--navy-tint); color: var(--navy-ink); border-radius: 3px; padding: 0 1px; }

/* sitemap / 404 */
.smap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.smap h2 { font-size: 1.25rem; margin-top: 8px; }
.smap ul { list-style: none; padding: 0; margin: 0 0 26px; }
.smap li { padding: 5px 0; }
.smap a { color: var(--ink-2); text-decoration: none; }
.smap a:hover { color: var(--claret); text-decoration: underline; }
.nf { padding-block: clamp(56px, 10vw, 120px); }
.nf__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf__code { font: 600 min(7rem, 28vw)/1 var(--cond); color: var(--navy-tint-2); margin: 0 0 10px; }
.nf .sform { width: 100%; max-width: 560px; margin: 18px 0 24px; }
.nf .pills { justify-content: center; }

/* quote */
.quote { margin: 0; padding: 26px 26px 22px; border-radius: var(--r-lg); background: var(--navy); color: #fff; position: relative; }
.quote p { font: 500 1.18rem/1.5 var(--cond); margin: 0 0 14px; }
.quote footer { font: 400 .8rem/1.4 var(--mono); color: #B9C4DA; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-ink); color: #C4CCDB; padding-bottom: 28px; margin-top: 0; }
.footer__plate { height: 34px; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .06);
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .13) 0 4.5px, transparent 5.2px);
  background-size: 20px 17px; background-position: 10px 0; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: 32px; }
.brand--footer { color: #fff; }
.brand--footer:hover { color: #fff; }
.brand--footer .mark { background: #fff; color: var(--navy-ink); }
.brand--footer .brand__role { color: #9AA6BE; }
.footer__addr { display: flex; gap: 10px; margin: 18px 0 0; font-size: .93rem; line-height: 1.5; }
.footer__addr .i { margin-top: 2px; color: #E39AA8; }
.footer__vcard { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-weight: 500; font-size: .93rem; }
.footer__vcard .i { width: 19px; height: 19px; }
.footer__vcard:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__title { font: 500 .8rem/1.3 var(--mono); color: #8F9BB4; margin: 4px 0 12px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { padding: 4px 0; }
.footer__col a { color: #D6DCE8; text-decoration: none; font-size: .93rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__note, .footer__bottom { position: relative; }
.footer__note::before, .footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .08); }
.footer__note { padding-top: 18px; padding-bottom: 18px; }
.footer__note p { display: flex; gap: 10px; margin: 0; font-size: .86rem; color: #9DA8BE; }
.footer__note .i { margin-top: 2px; color: #E39AA8; }
.footer__note strong { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; font-size: .86rem; color: #8F9BB4; }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { color: #B8C1D3; text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__otx { margin-left: auto !important; }
.footer__otx a { color: #fff; font-weight: 600; text-decoration: none; }
.footer__otx a:hover { text-decoration: underline; color: #fff; }

/* ------------------------------------------------------------------ dialogs */
.dlg { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
.dlg::backdrop { background: rgba(14, 24, 48, .48); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html.is-locked { overflow: hidden; }

.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100vw); height: 100dvh; background: var(--paper); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { overflow-y: auto; min-height: 0; padding: 10px var(--gutter) 20px; }
.dnav { border-bottom: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.dnav summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; font: 600 1.08rem/1.2 var(--cond); color: var(--navy-ink); cursor: pointer; }
.dnav summary::-webkit-details-marker { display: none; }
.dnav summary .i { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.dnav[open] summary .i { transform: rotate(180deg); }
.dnav ul { list-style: none; margin: 0 0 10px; padding: 0; }
.dnav a, .dlink { display: flex; align-items: center; gap: 12px; padding: 9px 4px; color: var(--ink); text-decoration: none; font-size: .98rem; line-height: 1.3; border-radius: 10px; }
.dlink { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font: 600 1.08rem/1.2 var(--cond); color: var(--navy-ink); }
.dnav a:hover, .dlink:hover { color: var(--navy); background: var(--card); }
.drawer__foot { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; }
.drawer__foot .cicons { margin: 0; }
.cta-slot:empty { display: none; }
.cta-slot .cta { position: static !important; width: 100%; box-shadow: none; }
.cta-slot--dlg { padding: 0 16px 16px; }

.searchdlg { margin: clamp(16px, 9vh, 96px) auto auto; width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.searchdlg__form { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; background: var(--card); border-bottom: 1px solid var(--line-2); }
.searchdlg__form > .i { width: 20px; height: 20px; color: var(--muted); }
.searchdlg__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1.1rem/1.4 var(--sans); color: var(--ink); padding: 10px 0; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.searchdlg__body { overflow-y: auto; min-height: 0; padding: 14px; }
.searchdlg__hint p { margin: 4px 4px 12px; color: var(--muted); font-size: .93rem; }
.chips { list-style: none; margin: 0; padding: 0 4px 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chips a:hover { border-color: var(--navy-tint-2); }

.vcard { margin: auto; width: min(400px, calc(100vw - 24px)); background: transparent; }
.vcard__close { position: absolute; right: 12px; top: 12px; z-index: 2; }
.vcard__card { position: relative; background: var(--card); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); }
.vcard__top { display: flex; align-items: center; gap: 16px; padding-right: 40px; }
.vcard__photo { flex: none; width: 76px; height: 76px; border-radius: 18px; overflow: hidden; background: var(--navy-tint); }
.vcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.vcard__name { font: 600 1.2rem/1.2 var(--cond); color: var(--navy-ink); margin: 0 0 4px; }
.vcard__role { margin: 0; font-size: .9rem; color: var(--muted); }
.vcard__addr { display: flex; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .93rem; color: var(--ink-2); }
.vcard__addr .i { margin-top: 2px; color: var(--navy); }
.vcard__save { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding: 13px 16px; border-radius: 14px; background: var(--navy-tint); color: var(--navy); text-decoration: none; font-weight: 600; }
.vcard__save:hover { background: var(--navy); color: #fff; }
.vcard .cta-slot--dlg { padding: 14px 0 0; }

.lightbox { margin: auto; width: 100vw; height: 100dvh; display: grid; place-items: center; background: transparent; }
.lightbox::backdrop { background: rgba(10, 16, 32, .88); }
.lightbox__fig { margin: 0; max-width: min(92vw, 900px); display: grid; gap: 10px; justify-items: center; }
.lightbox__fig img { max-height: 82dvh; width: auto; border-radius: 12px; }
.lightbox__fig figcaption { font: 400 .84rem/1.45 var(--mono); color: #D6DCE8; text-align: center; }
.lightbox__close { position: fixed; right: 16px; top: 16px; background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* ------------------------------------------------------------------ motion (only with html.m-on: JS present and motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
  .faq__item::details-content, .dnav::details-content { transition: height .3s var(--ease), content-visibility .3s allow-discrete; height: 0; overflow: clip; }
  .faq__item[open]::details-content, .dnav[open]::details-content { height: auto; }
}

.m-on .rv:not(.is-in) { opacity: 0; translate: 0 14px; }
.m-on .rv { transition: opacity .7s var(--ease), translate .7s var(--ease); }
.m-on.m-done .rv { opacity: 1; translate: 0 0; }

/* hero: one diagnostic scan over the portrait, viewfinder settles, career path draws */
.m-on .hero__scan { animation: heroScan 2.2s var(--ease) .35s 1 backwards; }
@keyframes heroScan { 0% { opacity: 0; transform: translateY(-64px); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(560px); } }
.m-on .hero__corners i { animation: viewfinder .9s var(--ease) .2s backwards; }
@keyframes viewfinder { from { opacity: 0; scale: 1.18; } }
.m-on .hpath::before { animation: pathGrow 1.4s var(--ease) .5s backwards; }
@keyframes pathGrow { from { transform: scaleY(0); } }
.m-on .hpath__item { animation: rowIn .6s var(--ease) backwards; }
.m-on .hpath__item--1 { animation-delay: .6s; } .m-on .hpath__item--2 { animation-delay: .85s; } .m-on .hpath__item--3 { animation-delay: 1.1s; } .m-on .hpath__item--4 { animation-delay: 1.35s; }
.m-on .facts__row { animation: rowIn .55s var(--ease) backwards; }
.m-on .hero .facts__row:nth-child(1) { animation-delay: .35s; } .m-on .hero .facts__row:nth-child(2) { animation-delay: .47s; } .m-on .hero .facts__row:nth-child(3) { animation-delay: .59s; } .m-on .hero .facts__row:nth-child(4) { animation-delay: .71s; } .m-on .hero .facts__row:nth-child(5) { animation-delay: .83s; }
.m-on .thesis .facts__row { animation: none; }
@keyframes rowIn { from { opacity: 0; translate: -10px 0; } }

/* curves: stroke drawn behind a single scan sweep, labels resolve afterwards */
.m-on [data-cv] .cv-l, .m-on [data-cv] .cv-l2, .m-on [data-cv] .cv-l3, .m-on [data-cv] .fan__l { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.m-on [data-cv].is-in .cv-l, .m-on [data-cv].is-in .fan__l { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s var(--ease) .15s; }
.m-on [data-cv].is-in .cv-l2 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s var(--ease) .55s; }
.m-on [data-cv].is-in .cv-l3 { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .05s; }
.m-on [data-cv] .cv-sin { stroke-dasharray: 1 2; }
.m-on [data-cv].is-in .cv-sin { stroke-dasharray: 3 3; transition: none; }
.m-on [data-cv] .cv-fade, .m-on [data-cv] .cv-node, .m-on [data-cv] .cv-well, .m-on [data-cv] .cv-seg, .m-on [data-cv] .cv-cell, .m-on [data-cv] .cv-hit, .m-on [data-cv] .cv-mark, .m-on [data-cv] .fan__pt { opacity: 0; }
.m-on [data-cv].is-in .cv-fade { opacity: 1; transition: opacity .6s ease 1.3s; }
.m-on [data-cv].is-in .cv-node, .m-on [data-cv].is-in .cv-well, .m-on [data-cv].is-in .cv-seg, .m-on [data-cv].is-in .cv-cell, .m-on [data-cv].is-in .cv-hit, .m-on [data-cv].is-in .fan__pt { opacity: 1; transition: opacity .45s ease; }
.m-on [data-cv].is-in .cv-d1 { transition-delay: .2s; } .m-on [data-cv].is-in .cv-d2 { transition-delay: .35s; } .m-on [data-cv].is-in .cv-d3 { transition-delay: .5s; } .m-on [data-cv].is-in .cv-d4 { transition-delay: .65s; }
.m-on [data-cv].is-in .cv-d5 { transition-delay: .8s; } .m-on [data-cv].is-in .cv-d6 { transition-delay: .95s; } .m-on [data-cv].is-in .cv-d7 { transition-delay: 1.1s; } .m-on [data-cv].is-in .cv-d8 { transition-delay: 1.25s; } .m-on [data-cv].is-in .cv-d9 { transition-delay: 1.4s; }
.m-on [data-cv].is-in .cv-mark { opacity: 1; animation: markSlide 1.5s var(--ease) .3s backwards; }
@keyframes markSlide { from { opacity: 0; transform: translateX(-140px); } }
.m-on [data-cv].is-in .cv-scan { animation: cvScan 1.9s var(--ease) .15s 1 backwards; }
@keyframes cvScan { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(268px); } }
.m-on [data-cv].is-in .cv-scan--short { animation-name: cvScanShort; }
@keyframes cvScanShort { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(262px); } }
.m-on [data-cv].is-in .cv-scan--sys { animation-name: cvScanSys; }
@keyframes cvScanSys { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(176px); } }
.m-on .fan.is-in .fan__l--2 { transition-delay: .3s; } .m-on .fan.is-in .fan__l--3 { transition-delay: .45s; } .m-on .fan.is-in .fan__l--4 { transition-delay: .6s; }
.m-on .fan.is-in .fan__pt { transition-delay: 1.4s; }
.m-on .fan .fan__dst li { opacity: 0; transition: opacity .5s ease, translate .5s var(--ease); translate: 6px -50%; }
.m-on .fan.is-in .fan__dst li { opacity: 1; translate: 0 -50%; }
.m-on .fan.is-in .fan__dst li:nth-child(1) { transition-delay: 1.2s; } .m-on .fan.is-in .fan__dst li:nth-child(2) { transition-delay: 1.35s; } .m-on .fan.is-in .fan__dst li:nth-child(3) { transition-delay: 1.5s; } .m-on .fan.is-in .fan__dst li:nth-child(4) { transition-delay: 1.65s; }

/* pathway steps: connector draws, nodes light up in order */
.m-on .steps::before { transform: scaleX(0); }
.m-on .steps.is-in::before { transform: scaleX(1); transition: transform 1.6s var(--ease) .1s; }
.m-on .steps .step { opacity: 0; translate: 0 10px; }
.m-on .steps.is-in .step { opacity: 1; translate: 0 0; transition: opacity .6s ease, translate .6s var(--ease); }
.m-on .steps.is-in .step--2 { transition-delay: .35s; } .m-on .steps.is-in .step--3 { transition-delay: .7s; } .m-on .steps.is-in .step--4 { transition-delay: 1.05s; }

/* footer plate: wells read across once */
.m-on .footer__plate { background-position: -800px 0; }
.m-on .footer__plate.is-in { background-position: 10px 0; transition: background-position 2.4s var(--ease); }

.m-done [data-cv] .cv-l, .m-done [data-cv] .cv-l2, .m-done [data-cv] .cv-l3, .m-done [data-cv] .fan__l { stroke-dashoffset: 0 !important; }
.m-done [data-cv] .cv-fade, .m-done [data-cv] .cv-node, .m-done [data-cv] .cv-well, .m-done [data-cv] .cv-seg, .m-done [data-cv] .cv-cell, .m-done [data-cv] .cv-hit, .m-done [data-cv] .cv-mark, .m-done [data-cv] .fan__pt, .m-done .fan__dst li, .m-done .steps .step { opacity: 1 !important; }
.m-done .steps::before { transform: none !important; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1239.98px) {
  .nav { display: none; }
  .iconbtn--menu { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 1099.98px) {
  .hero__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__photo { grid-column: 1 / -1; grid-row: 1; flex-direction: column; align-items: stretch; }
  .hero__frame { min-height: 0; aspect-ratio: 16 / 10; flex: 1; }
  .hero__frame img { object-position: 50% 22%; }
  .areas { columns: 2; }
  .cards--3, .vgrid, .mcols, .contact__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbody { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .faqwrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899.98px) {
  .phead--split .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .phead__side { max-width: 560px; }
  .split, .split--wide, .science, .prep, .booking { grid-template-columns: minmax(0, 1fr); }
  .science__photo { max-width: 360px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .steps::before { display: none; }
  .place { position: static; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev__row { grid-template-columns: minmax(0, 1fr) auto; }
  .ev__date { grid-column: 1 / -1; }
  .twocol { grid-template-columns: minmax(0, 1fr); }
  .talk--img { grid-template-columns: minmax(0, 1fr); }
  .talk__img { max-width: 300px; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .areas { columns: 1; }
  body { font-size: 16px; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .brand__role { display: none; }
  .brand__name { font-size: 1rem; white-space: normal; line-height: 1.15; }
  .mark { width: 38px; height: 38px; border-radius: 11px; }
  .header__row { gap: 12px; }
  .header__actions { gap: 8px; }
  .iconbtn { width: 42px; height: 42px; }
  .site-header .cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    min-height: 56px; padding: 8px 10px 8px 22px; justify-content: space-between; font-size: 1.04rem;
    box-shadow: 0 14px 34px -12px rgba(138, 44, 61, .75), 0 2px 6px rgba(20, 26, 42, .12);
  }
  .cta__ic { width: 38px; height: 38px; }
  .hero__panel { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { flex-direction: column; align-items: stretch; }
  .hero__frame { aspect-ratio: 4 / 4.3; }
  .hero__cap { align-self: flex-start; }
  .facts__row { grid-template-columns: 104px minmax(0, 1fr); }
  .facts--grid { grid-template-columns: minmax(0, 1fr); }
  .facts--grid .facts__row:nth-child(2) { border-top: 1px solid var(--line-2); padding-top: 11px; }
  .cards--3, .cards--2, .vgrid, .mcols, .contact__cards, .tiles, .footer__nav, .smap { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
  .step__node { grid-row: 1 / 3; margin: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bcall { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .bcall__qr { display: none; }
  .fan__board { aspect-ratio: auto; padding: 18px; }
  .fan__lines { display: none; }
  .fan__src { position: static; translate: none; width: auto; flex-direction: row; align-items: center; margin-bottom: 12px; }
  .fan__dst { display: grid; gap: 8px; padding-left: 16px; position: relative; }
  .fan__dst::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 4px; width: 2px; background: var(--navy-tint-2); }
  .fan__dst li { position: static; translate: none !important; }
  .fan__dst a { padding: 8px 12px; border-radius: 10px; background: var(--paper); }
  .ev__thumb { width: 64px; height: 64px; }
  .video__play { grid-template-columns: 92px minmax(0, 1fr); }
  .footer__otx { margin-left: 0 !important; width: 100%; }
  .table-wrap { border: 0; background: transparent; }
  table, thead, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { margin-bottom: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); overflow: hidden; }
  td { border-top: 1px solid var(--line-2); padding: 9px 12px; }
  td:first-child { border-top: 0; }
  td[data-label]::before { content: attr(data-label); display: block; font: 500 .72rem/1.3 var(--mono); color: var(--muted); margin-bottom: 2px; }
  .lightbox__fig img { max-height: 72dvh; }
}
@media (max-width: 380px) {
  .rel__k { display: none; }
  .brand__name { font-size: .94rem; }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
