/* Self-hosted fonts (SIL Open Font License — see fonts/LICENSE-*.txt) */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:300 700;src:url(fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-display:swap;font-weight:300 700;src:url(fonts/space-grotesk-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Prof. Ligy Philip — public website (design E). No inline styles anywhere: everything lives here. */

/* ---- theme tokens ------------------------------------------------------------------------------ */
:root {
  --bg:#F5F7FB; --surface:#FFFFFF; --surface2:#EEF2F7; --line:#E1E7EF; --line2:#CBD4E0;
  --text:#0A1626; --text2:#41506A; --muted:#5A6B82;
  --accent:#0E7490; --accentHover:#0A5568; --accentSoft:#E6F7FA; --accentInk:#0A5568;
  --gold:#F59E0B; --goldSoft:#FEF3C7; --goldInk:#7C4A03;
  --okSoft:#DCFCE7; --okInk:#14532D; --errInk:#B42318; --errSoft:#FEE4E2;
  --header:rgba(255,255,255,.9); --chipOn:#0A1626; --chipOnText:#FFFFFF;
  --shadow:0 18px 40px rgba(10,22,38,.12); --input:#F8FAFC;
  --navy:#0A1626; --navy2:#14304F; --navy3:#0F2340;
  --display:'Space Grotesk', system-ui, sans-serif; --body:Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
html.dark, html.no-js[data-theme-default="dark"] {
  --bg:#070F1C; --surface:#0E1A2C; --surface2:#13233A; --line:#1E2F48; --line2:#2C4262;
  --text:#EAF0F7; --text2:#B7C4D6; --muted:#93A4BB;
  --accent:#5EDCEB; --accentHover:#A5F3FC; --accentSoft:rgba(34,211,238,.12); --accentInk:#7FE6F2;
  --gold:#FBBF24; --goldSoft:rgba(251,191,36,.14); --goldInk:#FCD34D;
  --okSoft:rgba(34,197,94,.14); --okInk:#86EFAC; --errInk:#FDA29B; --errSoft:rgba(240,68,56,.16);
  --header:rgba(7,15,28,.86); --chipOn:#EAF0F7; --chipOnText:#0A1626;
  --shadow:0 18px 40px rgba(0,0,0,.45); --input:#0A1524;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html.no-js[data-theme-default="system"] {
    --bg:#070F1C; --surface:#0E1A2C; --surface2:#13233A; --line:#1E2F48; --line2:#2C4262;
    --text:#EAF0F7; --text2:#B7C4D6; --muted:#93A4BB;
    --accent:#5EDCEB; --accentHover:#A5F3FC; --accentSoft:rgba(34,211,238,.12); --accentInk:#7FE6F2;
    --gold:#FBBF24; --goldSoft:rgba(251,191,36,.14); --goldInk:#FCD34D;
    --okSoft:rgba(34,197,94,.14); --okInk:#86EFAC; --errInk:#FDA29B; --errSoft:rgba(240,68,56,.16);
    --header:rgba(7,15,28,.86); --chipOn:#EAF0F7; --chipOnText:#0A1626;
    --shadow:0 18px 40px rgba(0,0,0,.45); --input:#0A1524;
    color-scheme: dark;
  }
}

/* ---- base ---------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
body, .site-header, .card, .panel, .input, .chips, .drawer { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accentHover); }
h1, h2, h3 { overflow-wrap: anywhere; }
p, li, td, dd { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1A1205; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #1A1205; }
.no-js .js-only { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }
.cyan { color: #22D3EE; }

/* ---- animation ------------------------------------------------------------------------------------- */
.rise { opacity: 0; animation: lpRise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .32s; } .d4 { animation-delay: .46s; } .d5 { animation-delay: .6s; }
@keyframes lpRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bob { animation: lpBob 6s ease-in-out infinite; }
@keyframes lpBob { 50% { transform: translateY(-8px); } }
.flow { stroke-dasharray: 5 6; animation: lpDash 1.8s linear infinite; }
.fd1 { animation-delay: .3s; } .fd2 { animation-delay: .6s; } .fd3 { animation-delay: .9s; } .fd4 { animation-delay: 1.2s; } .fd5 { animation-delay: 1.5s; }
@keyframes lpDash { to { stroke-dashoffset: -22; } }
.pulse { fill: none; stroke: #F59E0B; stroke-width: 2; opacity: 0; animation: lpPulse 2.4s ease-out infinite; }
.pd2 { animation-delay: .8s; } .pd3 { animation-delay: 1.6s; }
@keyframes lpPulse { 0% { r: 10; opacity: .9; } 100% { r: 42; opacity: 0; } }
.wave { fill: none; stroke: #22D3EE; stroke-width: 1.2; opacity: 0; animation: lpWave 4.5s ease-out infinite; }
.wd2 { animation-delay: 1.5s; } .wd3 { animation-delay: 3s; }
@keyframes lpWave { 0% { r: 110; opacity: .35; } 100% { r: 200; opacity: 0; } }
.pop { animation: lpRise .35s cubic-bezier(.2,.7,.2,1); }
@keyframes lpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lpPing { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 100% { box-shadow: 0 0 0 14px rgba(245,158,11,0); } }
@keyframes lpRing { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,.5); } 100% { box-shadow: 0 0 0 22px rgba(34,211,238,0); } }
@keyframes lpSlide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .bob, .flow, .pulse, .wave, .pop, .tl-now, .play-ring, .lb, .drawer.open .mi, .drawer:target .mi { animation: none !important; opacity: 1 !important; }
  .card, .card:hover, .ph img, .drawer, .drawer-ov { transition: none !important; transform: none !important; }
}

/* ---- buttons & small parts ----------------------------------------------------------------------------- */
.btn-gold, .btn-ghost, .btn-dark, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; }
.btn-gold { background: #F59E0B; color: #1A1205; }
.btn-gold:hover { background: #FBBF24; color: #1A1205; }
.btn-glow { box-shadow: 0 10px 30px -10px rgba(245,158,11,.7); }
.btn-ghost { background: rgba(255,255,255,.06); color: #FFFFFF; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.btn-dark { background: var(--chipOn); color: var(--chipOnText); }
.btn-dark:hover { color: var(--chipOnText); opacity: .9; }
.btn-outline { background: var(--surface); color: var(--text); border: 1px solid var(--line2); }
.btn-outline:hover { border-color: var(--accent); color: var(--text); }
.btn-pill { border-radius: 999px; }
.btn-block { width: 100%; }
.link-btn { font: inherit; font-size: 14.5px; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; text-decoration: none; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--surface2); color: var(--text2); font-size: 12.5px; font-weight: 700; }
.pill-s { font-size: 11.5px; padding: 1px 8px; }
.pill-row { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; padding: 8px 16px; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; color: var(--text); background: var(--surface); }
.pill-link:hover { border-color: var(--accent); color: var(--text); }
.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.arrow svg { transition: transform .2s; }
.arrow:hover svg { transform: translateX(4px); }
.more-link { margin: 12px 0 0; }
.strong-link { font-weight: 700; }
.center-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.empty { margin: 12px 0 0; padding: 20px; text-align: center; border: 1px dashed var(--line2); border-radius: 16px; color: var(--text2); }
.empty-lg { padding: 28px; border-radius: 22px; background: var(--surface); }
.cnt { font-size: 13px; opacity: .8; font-weight: 600; }
.badge, .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface2); color: var(--text2); }
.badge-journal, .tag-field_project { background: var(--accentSoft); color: var(--accentInk); }
.badge-intl_conference, .tag-lecture { background: var(--goldSoft); color: var(--goldInk); }
.badge-ok { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--okSoft); color: var(--okInk); }
.badges { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- header ------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hdr-right { gap: 8px; flex: 0 0 auto; }
.burger { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.burger:hover { border-color: var(--accent); color: var(--text); }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.burger span:nth-child(2) { width: 14px; background: var(--gold); margin-left: -6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; padding: 2px; flex: 0 0 auto; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); line-height: 1.1; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.icon-btn:hover { border-color: var(--accent); }
.i-moon { display: block; } .i-sun { display: none; }
html.dark .i-moon { display: none; } html.dark .i-sun { display: block; }
.btn-cv { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; color: #0A1626; background: var(--gold); text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.btn-cv:hover { color: #0A1626; background: #FBBF24; }

/* ---- drawer -------------------------------------------------------------------------------------------- */
.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 41; width: min(380px, 90vw); background: var(--surface); border-right: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(-105%); visibility: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s linear .45s, background-color .35s; }
.drawer.open, .no-js .drawer:target { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s, background-color .35s; }
.drawer:focus { outline: none; }
.drawer-ov { position: fixed; inset: 0; z-index: 40; background: rgba(5,11,22,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.drawer.open + .drawer-ov, .no-js .drawer:target + .drawer-ov { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.drawer-hero { position: relative; overflow: hidden; padding: 26px 24px 24px; background: radial-gradient(500px 260px at 90% -20%, #14304F 0%, #0A1626 70%); color: #FFFFFF; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0); background-size: 22px 22px; pointer-events: none; }
.dots-mask { -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
.drawer-close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer-close:hover { color: #FFFFFF; background: rgba(255,255,255,.14); }
.drawer-id { position: relative; display: flex; flex-direction: column; gap: 14px; }
.drawer-inst { display: flex; align-items: center; gap: 12px; }
.drawer-inst img { width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; padding: 2px; }
.drawer-inst span { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: #FCD9A0; }
.drawer-portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #F59E0B; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.drawer-name { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; }
.drawer-role { margin: 4px 0 0; font-size: 14px; color: #C3CFDF; }
.drawer-nav { padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.mi { display: flex; align-items: center; gap: 14px; padding: 10px 12px; min-height: 52px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--text); transition: background-color .2s, color .2s; }
.mi:hover { background: var(--surface2); color: var(--text); }
.mi[aria-current="page"] { background: var(--surface2); }
.mi-ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accentSoft); color: var(--accent); }
.mi[aria-current="page"] .mi-ic { background: #F59E0B; color: #1A1205; }
.mi-txt { display: flex; flex-direction: column; line-height: 1.25; }
.mi-hint { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.drawer.open .mi, .no-js .drawer:target .mi { animation: lpSlide .45s cubic-bezier(.2,.7,.2,1) both; }
.drawer-nav .mi:nth-child(1) { animation-delay: .06s; } .drawer-nav .mi:nth-child(2) { animation-delay: .10s; }
.drawer-nav .mi:nth-child(3) { animation-delay: .14s; } .drawer-nav .mi:nth-child(4) { animation-delay: .18s; }
.drawer-nav .mi:nth-child(5) { animation-delay: .22s; } .drawer-nav .mi:nth-child(6) { animation-delay: .26s; }
.drawer-nav .mi:nth-child(7) { animation-delay: .30s; } .drawer-nav .mi:nth-child(8) { animation-delay: .34s; }
.drawer-foot { margin-top: auto; padding: 18px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.theme-row { font: inherit; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface2); color: var(--text); cursor: pointer; }
.when-dark { display: none; } html.dark .when-dark { display: inline; } html.dark .when-light { display: none; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line2); transition: background-color .3s; }
.knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .3s cubic-bezier(.2,.7,.2,1); }
html.dark .switch { background: #22D3EE; } html.dark .knob { left: 21px; }
.drawer-cv { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: #F59E0B; color: #1A1205; text-decoration: none; font-weight: 700; }
.drawer-cv:hover { color: #1A1205; background: #FBBF24; }
.drawer-contact { margin: 0; font-size: 14px; color: var(--text2); }
.drawer-contact a { font-weight: 600; }

/* ---- hero (home) ------------------------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #14304F 0%, #0A1626 55%); color: #FFFFFF; }
.hero .dots { background-size: 24px 24px; }
.hero-in { position: relative; padding-top: 80px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 540px; min-width: 0; }
.eyebrow { margin: 0; display: inline-flex; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #FCD9A0; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); padding: 7px 14px; border-radius: 999px; }
.hero-h1 { margin: 22px 0 8px; font-family: var(--display); font-size: clamp(40px, 7vw, 66px); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; color: #FFFFFF; }
.hero-tag { margin: 0 0 18px; font-family: var(--display); font-size: clamp(22px, 3.2vw, 30px); line-height: 1.2; font-weight: 600; color: #E2E8F0; }
.hero-lead { margin: 0; max-width: 58ch; font-size: 18px; color: #C3CFDF; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-center { justify-content: center; }
.hero-fig { flex: 1 1 460px; min-width: 0; position: relative; padding: 0 0 40px 0; }
.hero-photo { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.4); aspect-ratio: 5 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card { position: absolute; left: -24px; bottom: 0; display: flex; align-items: center; gap: 12px; background: #FFFFFF; color: #0A1626; padding: 10px 18px 10px 10px; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.3); line-height: 1.25; }
.hero-card img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.hero-card strong { display: block; font-family: var(--display); font-size: 16px; }
.hero-card span span { font-size: 13px; color: #41506A; }
.hero-note { position: absolute; right: 16px; top: 16px; background: rgba(10,22,38,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #FFFFFF; padding: 8px 14px; border-radius: 12px; font-size: 13px; max-width: 240px; }
.hero-note strong { color: #22D3EE; }

/* ---- stats band -------------------------------------------------------------------------------------------- */
.stats-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats { padding-top: 30px; padding-bottom: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 20px; }
.stat-n { font-family: var(--display); font-size: 38px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat-l { font-size: 14.5px; color: var(--muted); }

/* ---- sections ------------------------------------------------------------------------------------------------ */
.sec { padding-top: 56px; padding-bottom: 40px; }
.sec-first { padding-top: 88px; }
.sec-last { padding-bottom: 80px; }
.sec-tight { padding-top: 40px; padding-bottom: 24px; }
.kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kicker-s { margin-bottom: 6px; letter-spacing: .14em; }
.kicker-gold { color: #FCD9A0; }
.kicker-gold-ink { color: var(--goldInk); }
.kicker-cyan { color: #A5F3FC; }
.h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(30px, 4.4vw, 42px); line-height: 1.1; letter-spacing: -.02em; color: var(--text); }
.h2-m { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 20px; }
.h2-s { font-size: 24px; margin: 28px 0 14px; }
.h2-light { color: #FFFFFF; }
.sub { margin: 0 0 32px; max-width: 64ch; color: var(--text2); }
.sub-light { color: #A9B6C9; max-width: 58ch; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.sec-head-row .sub { margin-bottom: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s, background-color .35s; }
a.card, .card:has(a) { color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-h { margin: 0 0 8px; font-family: var(--display); font-size: 20px; line-height: 1.25; color: var(--text); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; }

/* audience cards */
.grid-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.aud-card { display: block; text-decoration: none; padding: 26px; }
.aud-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.aud-ic-a { background: var(--accentSoft); color: var(--accent); }
.aud-ic-g { background: var(--goldSoft); color: var(--goldInk); }
.aud-t { display: block; margin: 16px 0 6px; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--text); }
.aud-d { display: block; font-size: 15px; color: var(--text2); margin-bottom: 14px; }
.go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--accent); }
.aud-card svg { transition: transform .2s; } .aud-card:hover .go svg { transform: translateX(4px); }

/* research themes */
.grid-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 18px; }
.theme-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; border-radius: 22px; }
.theme-card .card-h { font-size: 21px; margin: 0; }
.theme-desc { margin: 0; font-size: 15px; color: var(--text2); }
.plain { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accentSoft); font-size: 14.5px; color: var(--text); }
.plain strong { color: var(--accentInk); }
.ex { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--text2); }
.ex li { display: flex; gap: 8px; }
.ex li span { color: var(--gold); }
.benefit { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.benefit strong { color: var(--text); }
.theme-link { font-size: 14px; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; margin-top: -6px; }

/* lab to village */
.lab { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 15% 0%, #14304F 0%, #0A1626 60%); color: #FFFFFF; }
.lab .dots { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0); background-size: 24px 24px; }
.lab-in { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lab-text { flex: 999 1 540px; min-width: 0; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.steps li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 20px; }
.step-n { font-family: var(--display); font-size: 30px; font-weight: 700; color: #F59E0B; }
.steps h3 { margin: 4px 0 6px; font-family: var(--display); font-size: 19px; color: #FFFFFF; }
.steps p { margin: 0 0 10px; font-size: 14.5px; color: #C3CFDF; }
.steps .step-e { margin: 0; font-size: 13px; color: #7FE6F2; }
.net { flex: 1 1 400px; min-width: 0; margin: 0; }
.net svg { display: block; max-width: 520px; margin: 0 auto; }
.net figcaption { font-size: 13px; color: #A9B6C9; }

/* projects (home) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; background: var(--surface2); padding: 6px; border-radius: 26px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: transparent; color: var(--text2); text-decoration: none; }
.chip:hover { color: var(--text); background: var(--surface); }
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--chipOn); color: var(--chipOnText); }
.grid-proj { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.proj-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pc-top { margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
.pc-years { color: var(--accent); }
.pc-title { margin: 0; font-family: var(--display); font-size: 18px; line-height: 1.3; color: var(--text); }
.pc-agency { margin: 0; font-size: 14px; color: var(--muted); }
.pc-val { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--text); }
.pc-val span { font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--muted); }

/* gallery + featured video (home) */
.media-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.feat-vid { flex: 1 1 460px; min-width: 0; position: relative; display: flex; align-items: flex-end; min-height: 340px; border-radius: 22px; overflow: hidden; text-decoration: none; }
.feat-vid > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,38,.1), rgba(10,22,38,.85)); }
.play-big { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 72px; height: 72px; border-radius: 50%; background: #F59E0B; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.feat-vid:hover .play-big { transform: translate(-50%, -60%) scale(1.08); }
.feat-cap { position: relative; padding: 24px; color: #FFFFFF; }
.feat-k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #FCD9A0; }
.feat-k-cyan { color: #A5F3FC; letter-spacing: .16em; }
.feat-t { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; line-height: 1.3; }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: #000; }
.yt-on { cursor: default; }
.gal-side { flex: 1 1 520px; min-width: 0; }
.gal-side .h2 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 6px; }
.gal-side .sub { margin-bottom: 18px; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 40%), 1fr)); gap: 12px; }
.ph { position: relative; display: block; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--surface2); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ph:hover img { transform: scale(1.05); }
.ph-tag { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(10,22,38,.78); color: #FFFFFF; font-size: 12px; font-weight: 600; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* publications quick search (home) */
.pub-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.book-card { flex: 1 1 320px; min-width: 0; border-radius: 22px; overflow: hidden; }
.book-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.book-body { padding: 22px; }
.book-body p:last-child { margin: 0; font-size: 15px; color: var(--text2); }
.pub-search-col { flex: 999 1 560px; min-width: 0; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; border: 1px solid var(--line2); border-radius: 14px; background: var(--input); margin-bottom: 14px; color: var(--muted); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accentSoft); }
.search-box input { font: inherit; font-size: 16px; flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); padding: 13px 0; min-height: 44px; }
.search-go { font: inherit; font-size: 14px; font-weight: 700; border: 0; border-radius: 10px; background: var(--chipOn); color: var(--chipOnText); min-height: 40px; padding: 0 14px; cursor: pointer; }
.js .search-go { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.pub-list { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pub-c { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.pub-c:last-child { border-bottom: 0; }
.pub-list:empty { display: none; }
.pub-meta { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--accent); }
.venue { color: var(--muted); font-weight: 600; font-style: italic; }
.pub-title { margin: 0 0 4px; font-family: var(--display); font-size: 17.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
.pub-foot { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--text2); }
.pub-doi { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.me { color: var(--text); font-weight: 700; background: linear-gradient(transparent 62%, var(--goldSoft) 62%); }

/* join + form */
.join-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.join-text { flex: 1 1 520px; min-width: 0; }
.join-text .sub { margin-bottom: 22px; }
.join-list { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--text2); }
.join-list li { display: flex; gap: 12px; }
.join-list strong { flex: 0 0 120px; color: var(--text); }
.mini-h { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.team { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.tm { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; min-height: 60px; }
.tm:hover { border-color: var(--accent); }
.tm-txt { line-height: 1.3; min-width: 0; }
.tm-txt strong { display: block; font-size: 15px; color: var(--text); }
.tm-txt span { font-size: 13px; color: var(--muted); }
.av { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; }
.av-a { background: var(--accentSoft); color: var(--accentInk); }
.av-g { background: var(--goldSoft); color: var(--goldInk); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av-s { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; }
.av-m { width: 56px; height: 56px; border-radius: 50%; font-size: 18px; }
.av-l { width: 112px; height: 112px; border-radius: 50%; font-size: 34px; border: 3px solid #F59E0B; }
.form-card { flex: 1 1 420px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.enq-form { display: flex; flex-direction: column; gap: 14px; }
.form-h { margin: 0 0 4px; font-family: var(--display); font-size: 24px; color: var(--text); }
.form-sub { margin: 0; font-size: 14.5px; color: var(--text2); }
.form-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.field-hint { font-weight: 500; color: var(--muted); }
.field-err { font-weight: 600; color: var(--errInk); font-size: 13.5px; }
.field-err:empty { display: none; }
.field input, .field select, .field textarea, .input { font: inherit; font-size: 15px; padding: 11px 12px; min-height: 44px; width: 100%; border: 1px solid var(--line2); border-radius: 12px; background: var(--input); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accentSoft); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--errInk); }
.form-alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--errSoft); color: var(--errInk); font-weight: 600; font-size: 14.5px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-done { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px 10px; }
.form-done:focus { outline: none; }
.form-done p { margin: 0; max-width: 34ch; color: var(--text2); }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accentSoft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.form-busy button[type=submit] { opacity: .6; pointer-events: none; }

/* news */
.grid-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px; }
.news-card { border-radius: 22px; overflow: hidden; }
.news-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.news-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 22px; }
.news-body .card-h { font-size: 19px; }
.news-body p:last-child { margin: 0; font-size: 14.5px; color: var(--text2); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #0F2340, #0A1626); border-radius: 24px; padding: 56px 40px; text-align: center; border: 1px solid rgba(255,255,255,.08); }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(245,158,11,.22), transparent 60%); }
.cta-in { position: relative; }
.cta-h { margin: 0 0 12px; font-family: var(--display); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.15; color: #FFFFFF; }
.cta-p { margin: 0 auto 26px; max-width: 60ch; color: #C3CFDF; }
.cta-band .cta-row { margin-top: 0; }

/* footer */
.site-footer { background: #050B16; color: #A9B6C8; }
.foot-grid { padding-top: 56px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; font-size: 15px; }
.foot-grid p { margin: 0; }
.foot-name { margin: 0 0 10px !important; font-family: var(--display); font-size: 20px; font-weight: 700; color: #FFFFFF; }
.foot-h { margin: 0 0 10px !important; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; }
.site-footer a { color: #7FE6F2; }
.foot-links { line-height: 2.4; }
.foot-links a { color: #C3CFDF; padding: 8px 0; }
.foot-links a:hover { color: #FFFFFF; }
.foot-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8FA0B8; }

/* ---- inner page hero ---------------------------------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% -10%, #14304F 0%, #0A1626 60%); color: #FFFFFF; }
.page-hero .dots { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); background-size: 26px 26px; }
.page-hero-in { position: relative; padding-top: 56px; padding-bottom: 52px; }
.page-hero-in.has-aside { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; }
.page-hero-main { flex: 999 1 520px; min-width: 0; }
.crumbs { font-size: 14px; color: #A9B6C8; }
.crumbs a { color: #C3CFDF; text-decoration: none; display: inline-block; padding: 10px 0; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.page-hero h1 { margin: 10px 0 12px; font-family: var(--display); font-size: clamp(34px, 6vw, 54px); line-height: 1.05; letter-spacing: -.02em; color: #FFFFFF; }
.page-lead { margin: 0; max-width: 62ch; font-size: 18px; color: #C3CFDF; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.hs-n { font-family: var(--display); font-size: 30px; font-weight: 700; }
.hs-l { font-size: 14px; color: #A9B6C8; }

/* ---- publications page ---------------------------------------------------------------------------------------- */
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.panel-head .muted { margin: 0; font-size: 14px; }
.panel-h { margin: 0; font-family: var(--display); font-size: 20px; color: var(--text); }
.yearchart { display: block; width: 100%; height: 140px; border-bottom: 1px solid var(--line2); }
.bar { fill: var(--line2); transition: fill .2s; }
.bar.on, a:hover .bar, a:focus .bar { fill: var(--accent); }
.bar-hit { fill: transparent; }
.chart-axis { display: flex; margin-top: 6px; font-size: 12.5px; color: var(--muted); height: 18px; }
.chart-axis > span { flex: 1 1 0; position: relative; }
.tick { position: absolute; left: 0; white-space: nowrap; }
.tick-end { left: auto; right: 0; }
.pubs-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pub-side { flex: 1 1 260px; min-width: 0; padding: 24px; }
.side-h { display: block; margin: 22px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.pub-side form > .side-h:first-child { margin-top: 0; }
.apply-btn { margin-top: 14px; }
.type-list { display: flex; flex-direction: column; gap: 6px; }
.type-btn { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--text2); text-decoration: none; border: 1px solid transparent; }
.type-btn:hover { background: var(--surface2); color: var(--text); }
.type-btn[aria-current="true"] { background: var(--chipOn); color: var(--chipOnText); }
.side-note { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.pub-main { flex: 999 1 640px; min-width: 0; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.results-bar p { margin: 0; font-size: 15px; color: var(--text2); }
.results-bar strong { color: var(--text); }
.year-group { margin-bottom: 18px; }
.year-h { margin: 0 0 8px; font-family: var(--display); font-size: 22px; color: var(--accent); }
.pub-rows { margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pub-r { display: flex; gap: 20px; padding: 18px 26px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.pub-r:last-child { border-bottom: 0; }
.pub-r:hover { background: var(--surface2); }
.pub-r-main { flex: 1 1 auto; min-width: 0; }
.pub-r .pub-title { font-size: 18px; }
.pub-auth { margin: 0 0 6px; font-size: 14.5px; color: var(--text2); }
.pub-auth a { color: var(--text2); text-decoration-color: var(--line2); }
.pub-auth a:hover { color: var(--accent); }
.pub-info { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; }
.pub-year { font-weight: 700; color: var(--accent); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; color: var(--text2); }
.pager a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); }

/* ---- projects page ---------------------------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; padding: 20px 24px; margin-bottom: 14px; }
.filter { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; min-width: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--text2); }
.filter-q { flex: 2 1 220px; }
.filter select { text-overflow: ellipsis; }
.filter .input { height: 46px; }
.filter-actions { display: flex; gap: 8px; align-items: center; }
.js [data-autosubmit] .filter-actions .btn-dark { display: none; }
.sum-line { margin: 0 0 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.jump a:hover { border-color: var(--accent); }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow-x: auto; }
.ptable { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
.ptable th { text-align: left; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 16px; font-weight: 600; }
.ptable td { padding: 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text2); }
.ptable th:first-child, .ptable td:first-child { padding-left: 24px; }
.ptable tbody tr { transition: background-color .2s; }
.ptable tbody tr:hover { background: var(--surface2); }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.pt-title { font-weight: 600; color: var(--text) !important; min-width: 260px; }
.pt-theme { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.pt-type { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.role { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.role-pi { background: var(--goldSoft); color: var(--goldInk); }
.role-co { background: var(--accentSoft); color: var(--accentInk); }
.grid-pat { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.pat-card { padding: 22px; border-radius: 18px; }
.pat-h { margin: 0 0 8px; font-family: var(--display); font-size: 18px; color: var(--text); line-height: 1.3; }
.pat-card p.muted { margin: 0; }
.tt-panel { background: #0F2340; border-radius: 22px; padding: 36px 36px 20px; color: #C3CFDF; }
.tt-h { margin: 0 0 20px; font-family: var(--display); font-size: clamp(24px, 3.4vw, 32px); color: #FFFFFF; }
.tt-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); column-gap: 40px; }
.tt-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.tt-list strong { color: #FFFFFF; font-weight: 600; }
.tt-list span { display: block; font-size: 14.5px; color: #A9B6C9; }

/* ---- group pages -------------------------------------------------------------------------------------------------- */
.role-group { margin-bottom: 28px; }
.role-h { margin: 0 0 12px; font-family: var(--display); font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.role-h .cnt, summary .cnt { display: inline-flex; min-width: 28px; justify-content: center; padding: 1px 8px; border-radius: 999px; background: var(--surface2); color: var(--text2); font-size: 13px; }
.grid-people { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 16px; }
.grid-people > li { display: flex; }
.person-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; text-decoration: none; width: 100%; }
.pc-head { display: flex; align-items: center; gap: 14px; }
.pc-id { min-width: 0; display: flex; flex-direction: column; }
.pc-name { font-family: var(--display); font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--text); }
.pc-role { margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.pc-topic { font-size: 14.5px; line-height: 1.5; color: var(--text2); }
.pc-now { padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.pc-now span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
details.alumni { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 14px; }
details.alumni summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 14px 22px; font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--text); }
details.alumni summary::-webkit-details-marker { display: none; }
details.alumni summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s; margin-left: auto; }
details.alumni[open] summary::after { transform: rotate(-135deg); }
details.alumni summary span:first-child { flex: 0 1 auto; }
details.alumni .grid-people { padding: 4px 22px 22px; }
.join-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #0F2340, #0A1626); border-radius: 22px; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; color: #C3CFDF; }
.join-glow { position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% -20%, rgba(34,211,238,.2), transparent 60%); }
.join-band-text { position: relative; flex: 1 1 520px; min-width: 0; }
.join-band-text p { margin: 0; max-width: 60ch; }
.join-band .tt-h { margin-bottom: 10px; }
.join-band .cta-row { position: relative; margin: 0; }
.person-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.person-hero h1 { margin: 0 0 6px; }
.person-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.person-main { flex: 999 1 600px; min-width: 0; }
.person-main > .h2-s:first-child { margin-top: 0; }
.person-side { flex: 1 1 300px; min-width: 0; }
.now-text { margin: 0 0 8px; font-size: 16px; color: var(--text); font-weight: 600; }
.prose { margin: 0 0 16px; color: var(--text2); max-width: 72ch; }

/* timeline (about, person) */
.timeline { margin: 0; padding: 0 0 0 28px; list-style: none; border-left: 2px solid var(--line2); display: flex; flex-direction: column; gap: 26px; }
.timeline li { position: relative; }
.tl-dot { position: absolute; left: -36px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-sizing: content-box; }
.tl-now { left: -38px; top: 6px; width: 16px; height: 16px; background: #F59E0B; box-sizing: border-box; animation: lpPing 2.4s ease-out infinite; }
.tl-when { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.tl-h { margin: 2px 0 4px; font-family: var(--display); font-size: 20px; color: var(--text); }
.tl-d { margin: 0; font-size: 15.5px; color: var(--text2); }

/* ---- about page ------------------------------------------------------------------------------------------------- */
.about-id { flex: 0 1 300px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 28px 20px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin: 0 auto; }
.about-portrait { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid #F59E0B; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.about-inst { display: flex; align-items: center; gap: 10px; }
.about-inst img { width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; padding: 2px; }
.about-inst span { font-size: 13px; font-weight: 600; color: #C3CFDF; line-height: 1.3; }
.about-top, .about-cv { display: flex; flex-wrap: wrap; gap: 48px; }
.about-top { padding-top: 64px; }
.about-bio, .about-career { flex: 999 1 600px; min-width: 0; }
.about-side, .about-edu { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-edu { display: block; }
.glance { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 16px; font-size: 15px; }
.glance dt { font-weight: 700; color: var(--text); }
.glance dd { margin: 0; color: var(--text2); }
.edu-list { display: flex; flex-direction: column; gap: 14px; }
.edu-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.edu-card p { margin: 0; }
.edu-y { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--accent); }
.edu-d { margin: 2px 0 !important; font-weight: 700; color: var(--text); }
.edu-i { font-size: 15px; color: var(--text2); }
.awards { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.awards-h { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.awards ul { margin: 0; padding-left: 18px; color: var(--text2); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.office-card { background: #0F2340; border-radius: 22px; padding: 32px; color: #C3CFDF; }
.office-card address { font-style: normal; }
.office-card p { margin: 0 0 14px; }
.office-card a { color: #A5F3FC; font-weight: 600; display: inline-block; padding: 4px 0; }
.office-h { margin: 0 0 16px !important; font-family: var(--display); font-size: 26px; font-weight: 700; color: #FFFFFF; }
.map-card { position: relative; border-radius: 22px; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--text); border: 1px solid var(--line);
  background: radial-gradient(circle at 1px 1px, var(--line2) 1px, transparent 0) 0 0 / 18px 18px, var(--surface2); }
.map-card:hover { border-color: var(--accent); color: var(--text); }
.map-pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #F59E0B; box-shadow: 0 0 0 6px rgba(245,158,11,.2); margin-bottom: 10px; }
.map-t { font-family: var(--display); font-weight: 700; font-size: 18px; }
.map-s { font-size: 14px; color: var(--accent); font-weight: 600; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.contact-form-col { flex: 1 1 460px; min-width: 0; display: flex; }
.contact-side { flex: 1 1 360px; min-width: 0; }
.contact-side .contact-grid { grid-template-columns: 1fr; }
.message-panel { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.message-panel p { margin: 0; color: var(--text2); }

/* ---- media page ------------------------------------------------------------------------------------------------- */
.feat-hero { flex: 1 1 520px; min-width: 0; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #14304F, #0F2340); border: 1px solid rgba(255,255,255,.1); position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.feat-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.feat-hero .feat-cap { position: absolute; left: 22px; right: 22px; bottom: 18px; padding: 0; }
.play-ring { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #22D3EE; display: flex; align-items: center; justify-content: center; animation: lpRing 2.4s ease-out infinite; transition: transform .25s, background-color .25s; }
.feat-hero:hover .play-ring { transform: scale(1.1); background: #F59E0B; }
.grid-vid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 18px; }
.grid-vid > li { display: flex; }
.vid-card { display: block; width: 100%; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--text); }
.vid-thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #14304F, #0F2340); overflow: hidden; }
.vid-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-play { position: relative; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .25s; }
.vid-card:hover .vid-play { transform: scale(1.1); background: #F59E0B; }
.vid-body { display: block; padding: 16px 18px 18px; }
.vid-t { display: block; margin-top: 8px; font-family: var(--display); font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
.masonry { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); grid-auto-flow: dense; grid-auto-rows: 170px; gap: 14px; }
.masonry .ph { aspect-ratio: auto; height: 100%; border-radius: 18px; }
.masonry .m-big { grid-column: span 2; grid-row: span 2; }
.masonry .m-wide { grid-column: span 2; }
.news-article { max-width: 860px; }
.news-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; display: block; margin-bottom: 24px; background: var(--surface2); }
.news-summary { font-size: 20px; color: var(--text); margin: 0 0 18px; }

/* ---- lightbox ------------------------------------------------------------------------------------------------------ */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(5,11,22,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; gap: 16px; animation: lpFade .25s ease; }
.lb img { max-width: min(1000px, 92vw); max-height: 72vh; border-radius: 16px; object-fit: contain; background: #0A1626; }
.lb-cap { margin: 0; color: #FFFFFF; text-align: center; max-width: 70ch; }
.lb-cap strong { color: #FCD9A0; }
.lb-count { color: #A9B6C8; font-size: 14px; }
.lb-ctrl { display: flex; gap: 10px; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #FFFFFF; font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-close { font: inherit; font-weight: 700; padding: 0 22px; height: 48px; border-radius: 999px; border: 0; background: #FFFFFF; color: #0A1626; cursor: pointer; }

/* ---- responsive ------------------------------------------------------------------------------------------------------ */
@media (max-width: 760px) {
  .wrap, .hdr-in { padding-left: 16px; padding-right: 16px; }
  .hdr-in { padding-top: 10px; padding-bottom: 10px; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero-card { left: 8px; }
  .hero-note { display: none; }
  .sec-first { padding-top: 56px; }
  .lab-in { padding-top: 56px; padding-bottom: 56px; }
  .cta-band { padding: 40px 20px; }
  .join-band { padding: 32px 22px; }
  .tt-panel { padding: 28px 20px 12px; }
  .form-card { padding: 22px 18px; }
  .panel { padding: 20px; }
  .pub-r { padding: 16px 18px; }
  .pub-c { padding: 16px 18px; }
  .join-list li { flex-direction: column; gap: 2px; }
  .join-list strong { flex: none; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 10px; }
  .masonry .m-big { grid-column: span 2; grid-row: span 2; }
  .masonry .m-wide { grid-column: span 2; grid-row: span 1; }
  .feat-vid { min-height: 260px; }
}
@media (max-width: 560px) {
  .brand-sub, .cv-long { display: none; }
  .brand-name { font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  .hdr-left { gap: 10px; }
  .btn-cv { padding: 10px 14px; }
  .stat-n { font-size: 32px; }
  .chips { border-radius: 20px; }
}
@media (max-width: 380px) {
  .brand img { display: none; }
}
@media print {
  .site-header, .drawer, .drawer-ov, .site-footer, .cta-band, .form-card, .skip { display: none !important; }
  .rise { opacity: 1 !important; animation: none !important; }
  body { background: #fff; color: #000; }
}
