/* AQN Lab — refined institutional design system (ACS-inspired, restrained).
 * Rules: violet is an ACCENT (buttons, links, active states, thin rules); one large violet surface per page at most (home hero).
 * Radius: --r 12px panels, --r-sm 10px images; pills only for buttons and the segmented control. No shadows (dropdown excepted).
 * Metadata is plain text (no chips/badges). All tokens live in :root. Mobile-first. No external fonts or requests.
 * Type: Sen (Blocksy Cleaning Service starter) — body + headings, self-hosted. */
@font-face {
  font-family: "Sen";
  src: url("../assets/fonts/sen-latin-ext.woff2") format("woff2-variations"),
       url("../assets/fonts/sen-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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: "Sen";
  src: url("../assets/fonts/sen-latin.woff2") format("woff2-variations"),
       url("../assets/fonts/sen-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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;
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --alt: #f6f6f8;             /* alternate section background */
  --grey: #ececf0;            /* segmented-control track, utility bar */
  --ink: #1d1b24;
  --ink-2: #14121f;           /* deep ink for dark surfaces */
  --muted: #63636e;
  --line: #e6e6ea;            /* hairline */
  --violet: #412bfd;          /* accent; white text on it = 7:1 */
  --violet-ink: #412bfd;      /* accent as text/link colour */
  --cyan: #6feeee;            /* small highlights only; ink text on it */
  --blue-soft: #7d9bff;       /* brand blue lightened for text on dark surfaces (bento dark tile, news band): ≈7:1 on --ink-2 */
  --slate: #e7eaef;           /* neutral photo placeholder */
  --slate-ink: #98a1b3;
  --header-h: 72px;
  --utility-h: 52px;
  --maxw: 1440px;
  --r: 12px;
  --r-sm: 10px;
  --sans: "Sen", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Sen", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  --ease: 160ms ease;
  --pad-y: clamp(4.5rem, 8vw, 7.5rem);
  --hdr-total: var(--header-h);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101018; --surface: #16161f; --alt: #14141d; --grey: #262631; --ink: #f1f0f4; --ink-2: #0a0a10; --muted: #a09fab; --line: #2a2a35;
    --violet-ink: #a197ff; --slate: #1c2433; --slate-ink: #4a566e;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-total) + 16px); }
html.menu-open { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
a { color: var(--violet-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.site-footer :focus-visible, .tile.dark :focus-visible, .band :focus-visible { outline-color: var(--cyan); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.3; }
h4 { font-size: 1.1rem; line-height: 1.4; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 1rem; font-weight: 600; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2.5rem); }
.section { padding: var(--pad-y) 0; }
.section.alt { background: var(--alt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p, .center-head p { color: var(--muted); font-size: 1.1rem; }
.center-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.skip-link { position: absolute; left: .75rem; top: -4rem; background: var(--violet); color: #fff; padding: .6rem 1rem; z-index: 300; border-radius: 999px; }
.skip-link:focus { top: .75rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.noscript-note { margin: 0; padding: .7rem 1.25rem; background: var(--alt); font-size: .9rem; }
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }

/* buttons: pills (buttons only) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--violet); background: var(--violet); color: #fff; font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.btn:hover { background: #2f1bd9; border-color: #2f1bd9; }
.btn.outline { background: transparent; color: var(--violet-ink); }
.btn.outline:hover { background: var(--violet); color: #fff; }
.btn.cyan { background: var(--cyan); border-color: var(--cyan); color: #14121f; }
.btn.cyan:hover { background: #55dede; border-color: #55dede; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.more { color: var(--violet-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid transparent; }
.more:hover { border-bottom-color: currentColor; }
.circ { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: inherit; cursor: pointer; transition: background var(--ease), color var(--ease); font-size: 1rem; text-decoration: none; }
button.circ:hover, a.circ:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

/* utility bar + header */
.utility { display: none; background: var(--grey); border-bottom: 1px solid var(--line); font-size: .875rem; line-height: 1.4; }
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: calc(var(--utility-h) - 1px); padding-block: 6px; }
.utility .container > div:first-child { display: flex; align-items: center; gap: 1.5rem; }
.utility a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; } .utility a:hover { text-decoration: underline; }
.utility .right { display: flex; align-items: center; gap: 1.2rem; } .utility .right a { margin: 0; }
.utility .join-btn { background: none; padding: 0; border-radius: 0; font-weight: inherit; }
.site-header { position: sticky; top: 0; z-index: 200; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; flex: none; }
.brand img { width: 34px; height: 34px; display: block; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle, .search-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform var(--ease), background var(--ease); content: ""; position: relative; border-radius: 2px; }
.nav-toggle .bars::before { position: absolute; top: -6px; } .nav-toggle .bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--bg); padding: 1rem 1.25rem 2rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms; z-index: 190; }
.site-nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { border-bottom: 1px solid var(--line); }
.site-nav a { display: block; padding: .85rem 0; color: var(--ink); text-decoration: none; font-size: 1.3rem; font-weight: 500; }
.site-nav a[aria-current="page"] { color: var(--violet-ink); }
.site-nav .sub { padding: 0 0 .6rem 1rem; }
.site-nav .sub a { font-size: 1rem; padding: .4rem 0; color: var(--muted); }
.site-nav .mobile-only a { color: var(--violet-ink); }
.search-pop { display: none; background: var(--surface); border-bottom: 1px solid var(--line); padding: .9rem 0; }
.search-pop.open { display: block; }
.search-pop form { display: flex; gap: .6rem; max-width: 640px; }
.search-pop input { flex: 1; }
.search-pop .btn { padding: .6rem 1.3rem; }

/* transparent overlay header: on pages that open with .hero / .page-hero (html.hdr-overlay set by site.js), the header floats over the hero and turns solid once scrolled (.is-solid) or when the mobile menu is open */
.hdr-overlay .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .16); transition: background var(--ease), border-color var(--ease); }
.hdr-overlay .site-header:not(.is-solid) .utility { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hdr-overlay .site-header:not(.is-solid) .utility a { color: rgba(255, 255, 255, .85); }

.hdr-overlay .site-header:not(.is-solid) .brand { color: #fff; }
.hdr-overlay .site-header:not(.is-solid) .nav-toggle, .hdr-overlay .site-header:not(.is-solid) .search-toggle { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.hdr-overlay .site-header:not(.is-solid) .nav-toggle .bars, .hdr-overlay .site-header:not(.is-solid) .nav-toggle .bars::before, .hdr-overlay .site-header:not(.is-solid) .nav-toggle .bars::after { background: #fff; }
.hdr-overlay .site-header:not(.is-solid) .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.hdr-overlay .site-header.is-solid { background: var(--surface); border-bottom-color: var(--line); }
.search-toggle:hover, .nav-toggle:hover { border-color: var(--violet); color: var(--violet-ink); }
.hdr-overlay .site-header:not(.is-solid) .search-toggle:hover, .hdr-overlay .site-header:not(.is-solid) .nav-toggle:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.hdr-overlay .site-header :focus-visible { outline-color: var(--cyan); }
.hdr-overlay .page-hero { padding-top: calc(var(--header-h) + clamp(2.75rem, 5vw, 5rem)); }
.hdr-overlay .hero { padding-top: var(--header-h); }

/* inner-page hero: full-bleed background image with a dark ink overlay, white type */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--ink-2) 78% center / cover no-repeat; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.75rem); min-height: 340px; display: flex; align-items: flex-end; }
.page-hero > .container { width: 100%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 31, .95) 0, rgba(20, 18, 31, .6) 150px, rgba(20, 18, 31, 0) 280px), linear-gradient(90deg, rgba(20, 18, 31, .97) 0%, rgba(20, 18, 31, .94) 46%, rgba(20, 18, 31, .7) 64%, rgba(20, 18, 31, .34) 100%); }
@media (max-width: 899px) { .page-hero::before { background: linear-gradient(180deg, rgba(20, 18, 31, .94), rgba(20, 18, 31, .86)); } }
.page-hero h1 { max-width: 22ch; margin-bottom: .45em; color: #fff; }
.page-hero .rule { width: 48px; height: 3px; background: var(--cyan); margin: 0 0 1.4rem; }
.page-hero .lead { margin-bottom: 0; color: rgba(255, 255, 255, .82); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255, 255, 255, .7); } .page-hero .breadcrumb a:hover { color: #fff; }
.page-hero :focus-visible { outline-color: var(--cyan); }
body[data-page="research.html"] .page-hero { background-image: url(../assets/bg-research.svg); }
body[data-page="research-synthesis.html"] .page-hero { background-image: url(../assets/bg-research-synthesis.svg); }
body[data-page="research-heterostructures.html"] .page-hero { background-image: url(../assets/bg-research-heterostructures.svg); }
body[data-page="research-devices.html"] .page-hero { background-image: url(../assets/bg-research-devices.svg); }
body[data-page="people.html"] .page-hero { background-image: url(../assets/bg-people.svg); }
body[data-page="publications.html"] .page-hero { background-image: url(../assets/bg-publications.svg); }
body[data-page="news.html"] .page-hero { background-image: url(../assets/bg-news.svg); }
body[data-page="join.html"] .page-hero { background-image: url(../assets/bg-join.svg); }
body[data-page="gallery.html"] .page-hero { background-image: url(../assets/bg-gallery.svg); }
body[data-page="contact.html"] .page-hero { background-image: url(../assets/bg-contact.svg); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; } .breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.notfound { min-height: 60vh; display: flex; align-items: center; background: var(--alt); }
.notfound .big404 { font-size: clamp(6rem, 20vw, 11rem); font-weight: 450; letter-spacing: -.05em; line-height: 1; margin: 0 0 .1em; }


/* ===== HOME ===== */
/* home hero: deep blue, white type; background is CSS gradient + slow drifting light + canvas motes (see "Home hero" block at the end) */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #3a25f2; color: #fff; min-height: 580px; display: flex; align-items: center; justify-content: center; }
.hero-inner { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 1000px; padding: 5rem 1.25rem 6rem; }
.ticker-wrap { padding: 1.75rem 0 0; }
.ticker { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1.25rem; margin: 0 auto; padding: .75rem 0; border-block: 1px solid var(--line); }
.ticker .label { display: inline-flex; align-items: center; gap: .65rem; color: var(--violet-ink); font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.ticker .label::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.ticker-viewport { grid-column: 1 / -1; grid-row: 2; min-width: 0; height: 96px; overflow: hidden; }
.ticker-track { display: flex; flex-direction: column; }
.ticker .headline { display: flex; flex-direction: column; justify-content: center; gap: .35rem; flex: 0 0 96px; min-width: 0; color: var(--ink); font-size: 1rem; font-weight: 550; line-height: 1.4; text-decoration: none; }
.ticker .headline:hover .ticker-title { color: var(--violet-ink); }
.ticker .headline:focus-visible { outline-offset: -3px; }
.ticker-meta { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.ticker-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ticker-controls { display: flex; align-items: center; gap: .4rem; }
.ticker-controls[hidden] { display: none; }
.ticker-count { margin-right: .5rem; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticker .circ { width: 44px; height: 44px; border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; }
.ticker .circ:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.ticker .ticker-pause { border-color: transparent; }
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.bento-stack { display: grid; gap: 1.25rem; }
.tile { border-radius: var(--r); padding: clamp(1.6rem, 2.5vw, 2.25rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.25; margin: 0; font-weight: 700; }
.tile p { margin: 0; }
.tile.dark { background: var(--ink-2); color: #fff; } .tile.dark h3 { color: #fff; } .tile.dark .eyebrow { color: var(--blue-soft); }
.tile.light { background: var(--alt); border: 1px solid var(--line); }
.tile.white { background: var(--surface); border: 1px solid var(--line); }
.tile-fig { display: block; width: calc(100% + 2 * clamp(1.6rem, 2.5vw, 2.25rem)); max-width: none; margin: calc(-1 * clamp(1.6rem, 2.5vw, 2.25rem)) calc(-1 * clamp(1.6rem, 2.5vw, 2.25rem)) 1.5rem; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.tile.light.tall { justify-content: flex-start; }
.tile.light.tall .more { margin-top: auto; padding-top: 1.5rem; }
.tile-sub { color: rgba(255, 255, 255, .7); margin-top: .9rem; }
.tile-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.tile-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; }
.tile-list li span:last-child { color: rgba(255, 255, 255, .6); text-align: right; }
.tile-list li span:first-child { white-space: nowrap; }   /* keep every row the same single-line height */
.tile .line + .more { display: inline-block; margin-top: 1.1rem; }
.tile .meta-line { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.tile .meta-line span { display: inline-flex; align-items: center; gap: .4rem; }

.seg { display: inline-flex; max-width: 100%; overflow-x: auto; background: var(--grey); border-radius: 999px; padding: 4px; }
.seg button { flex: none; border: 0; background: transparent; color: var(--ink); font: 500 .92rem var(--sans); padding: .55rem 1rem; border-radius: 999px; cursor: pointer; transition: background var(--ease), color var(--ease); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.seg-wrap { text-align: center; margin-bottom: 2.4rem; }
.panel { display: grid; gap: 2rem 4rem; grid-template-columns: 1fr; align-items: center; text-align: left; }
.panel[hidden] { display: none; }
.panel h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.panel > div > p { color: var(--muted); }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.row-link:last-child { border-bottom: 1px solid var(--line); }
.row-link .arr { color: var(--violet-ink); transition: transform var(--ease); }
.row-link:hover { color: var(--violet-ink); } .row-link:hover .arr { transform: translateX(4px); }
.row-link strong { display: block; font-weight: 600; } .row-link small { display: block; font-size: .88rem; margin-top: .15rem; }
.rounded-fig { margin: 0; } .rounded-fig img { display: block; width: 100%; border-radius: var(--r-sm); aspect-ratio: 16 / 10; object-fit: cover; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: .6rem; line-height: 1.45; }

.feature-box { max-width: 1080px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; background: var(--surface); }
.feature-box h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.feature-box .vis img { display: block; width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); margin: 0 auto; }
.feature-box .vis .plasma-photo { object-position: 18% center; }
.rounded-fig.team-photo img { aspect-ratio: 1400 / 1086; object-position: center 35%; }
.mono-cap { font-family: var(--mono); font-size: .8125rem; letter-spacing: .04em; color: var(--muted); text-align: center; margin-top: .7rem; }
.feature-box .reveal-text { margin-top: 1rem; color: var(--muted); }
.band { background: var(--ink-2); color: #fff; padding: var(--pad-y) 0; }
.band h2 { color: #fff; margin-bottom: .2em; } .band .sub { color: rgba(255, 255, 255, .65); margin: 0; }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.band-head .ctrls { display: flex; gap: .6rem; color: #fff; }
.band .circ:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink-2); }
.hscroll { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: thin; }
.news-tile { flex: 0 0 min(320px, 78%); scroll-snap-align: start; }
.news-tile img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; border-radius: var(--r-sm); margin-bottom: 1rem; }
.news-tile .meta { font-size: .8125rem; color: rgba(255, 255, 255, .6); margin: 0 0 .4rem; }
.news-tile h3 { color: #fff; font-size: 1.15rem; margin: 0; font-weight: 550; }
.network { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.network > div { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.network h3 { font-size: 1.15rem; margin-bottom: .3em; } .network p { color: var(--muted); font-size: .95rem; }

/* accordion (home, research areas, join FAQ) — hairline separators */
.acc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.acc li { border-top: 1px solid var(--line); }
.acc h3 { margin: 0; font-size: inherit; }
.acc button { all: unset; box-sizing: border-box; cursor: pointer; color: var(--ink); font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--sans); letter-spacing: -.015em; display: flex; justify-content: space-between; gap: 1.5rem; width: 100%; padding: 1.25rem 0; }
.acc button::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--muted); flex: none; }
.acc li.active button::after { content: "\2212"; color: var(--violet-ink); }
.acc button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.acc .acc-body { padding: 0 0 1.4rem; color: var(--muted); max-width: 46rem; }
.acc .acc-body p { margin: 0 0 .6rem; }
.acc .acc-body[hidden] { display: none; }

/* ===== shared content components ===== */
figure { margin: 0; }
.plain-list { padding-left: 1.15rem; margin: 0 0 1em; } .plain-list li { margin-bottom: .4rem; }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
.empty { color: var(--muted); padding: 1rem 0; list-style: none; }
.next-prev { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 2rem 0 3rem; }
.tags-line { font-size: .8125rem; color: var(--muted); letter-spacing: .02em; }
.strip { border-block: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem) 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2.5rem; }
.strip h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .15em; } .strip p { margin: 0; }
.strip .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

.programs { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
.program { display: block; color: var(--ink); text-decoration: none; }
.program img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 1.3rem; }
.program h3 { font-size: 1.4rem; margin-bottom: .4em; font-weight: 550; } .program p.muted { margin-bottom: 1rem; }
.program:hover h3 { color: var(--violet-ink); }
.fac-list { display: grid; gap: 0 2.5rem; grid-template-columns: 1fr; }
.fac { border-top: 1px solid var(--line); padding: 1.6rem 0 2rem; }
.fac h3 { margin-bottom: .4em; } .fac p:last-child { margin-bottom: 0; }

/* publications / list entries: hairline rows, plain-text metadata */
.tabs-text { display: flex; flex-wrap: wrap; gap: .75rem clamp(1.75rem, 3.2vw, 2.85rem); align-items: baseline; }
.tabs-text button {
  font: 500 clamp(1.125rem, 1.35vw, 1.3rem) var(--sans);
  letter-spacing: -.015em;
  padding: .7rem 0 .55rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.15;
}
.tabs-text button:hover { color: var(--ink); }
.tabs-text button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--violet); font-weight: 600; }
.toolbar-label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 .55rem; display: block; font-weight: 600; }
input[type=text], input[type=search], input[type=email], select, textarea { font: inherit; font-size: 1rem; padding: .7rem .9rem; border: 1px solid #c9c9d0; border-radius: 8px; background: var(--surface); color: var(--ink); min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--violet); outline-offset: 0; border-color: var(--violet); }
textarea { width: 100%; min-height: 9rem; resize: vertical; }
.count { color: var(--muted); font-size: .9rem; margin: 1.2rem 0 0; }
[role=tabpanel][hidden] { display: none; }
.year-group { margin-top: 2.5rem; }
.year-label { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin: 0 0 .5rem; letter-spacing: -.03em; }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.pub-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 .3em; line-height: 1.4; }
.pub-title-link { color: inherit; text-decoration: none; }
.pub-title-link:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.pub p { margin: 0 0 .25em; font-size: 1rem; } .pub .authors { color: var(--muted); } .pub .authors strong { color: var(--ink); font-weight: 600; }
.pub-meta { font-size: .95rem !important; }
.pub-areas { margin: .35rem 0 0 !important; }

/* people: directory cards (all current members identical; whole card links to people-<id>.html via a stretched name link) */
.team-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.75rem 1.5rem; grid-template-columns: minmax(0, 1fr); }
.team-card { position: relative; display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; }
.team-ph { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--slate); color: var(--slate-ink); }
.team-ph img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--alt); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.team-card:hover .team-ph img { transform: scale(1.04); }
.team-ph svg.hs, .profile-photo svg.hs, .profile-mate-ph svg.hs { overflow: visible; position: absolute; left: -8%; bottom: -3%; width: 116%; height: auto; }
.team-body { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; margin-top: 1rem; padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.team-body::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--violet); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.team-card:hover .team-body::before, .team-card:focus-within .team-body::before { width: 100%; }
.team-name { font-size: 1.35rem; font-weight: 550; line-height: 1.2; margin: 0; letter-spacing: -.015em; }
.team-link { color: var(--ink); text-decoration: none; }
.team-link::after { content: ""; position: absolute; inset: -1px; border-radius: var(--r-sm); }
.team-link:focus-visible { outline: none; }
.team-link:focus-visible::after { outline: 3px solid var(--violet); outline-offset: 4px; }
.team-role { color: var(--violet-ink); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: .55rem 0 0; }
.team-edu { list-style: none; margin: .9rem 0 0; padding: 0; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.team-edu li + li { margin-top: .3rem; }
.team-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; min-height: 36px; margin: auto 0 0; padding-top: 1.1rem; box-sizing: content-box; font-size: .9375rem; font-weight: 500; }
.team-more { color: var(--ink); }
.team-more .arr { display: inline-block; transition: transform var(--ease); }
.team-card:hover .team-more { color: var(--violet-ink); }
.team-card:hover .team-more .arr { transform: translateX(4px); }
.team-mail { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; color: var(--muted); text-decoration: none; }
.team-mail svg { width: 16px; height: 16px; flex: none; }
.team-mail:hover { color: var(--violet-ink); } .team-mail:hover span { text-decoration: underline; }
@media (pointer: coarse), (max-width: 699px) { .team-mail { min-height: 44px; } .team-foot { padding-top: .6rem; } }
@media (min-width: 560px) { .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .team-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .team-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.75rem; } }
@media (prefers-reduced-motion: reduce) { .team-card:hover .team-ph img { transform: none; } .team-body::before { transition: none; } }
@media print { .team-more { display: none !important; } }
.team-table { width: 100%; border-collapse: collapse; }
.team-table th, .team-table td { text-align: left; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.team-table thead th { font-family: var(--mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-bottom-color: var(--ink); font-weight: 500; }
.team-table tbody th { font-weight: 600; }
.team-table .yrs { font-family: var(--mono); font-size: .85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 699px) {
  .team-table thead { display: none; }
  .team-table tr { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .team-table th, .team-table td { display: block; border: 0; padding: .1rem 0; }
  .team-table td::before { content: attr(data-label) " · "; font-family: var(--mono); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
}
.mini-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mini { display: flex; align-items: center; gap: .9rem; }
.mini-av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--slate); color: var(--slate-ink); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.mini-av svg { width: 70%; height: auto; }
.mini-av img { width: 100%; height: 100%; object-fit: cover; }
.mini-name { margin: 0; font-weight: 600; } .mini p { margin: 0; }

/* news */
.news-filters { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.feature-story { display: grid; gap: 1.6rem 3rem; grid-template-columns: 1fr; align-items: center; margin-bottom: 3.5rem; }
.feature-story img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); }
.feature-story h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.news-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
.news-card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 1rem; }
.meta { font-size: .82rem; color: var(--muted); margin: 0 0 .5rem; letter-spacing: .02em; }
.news-card h3 { font-size: 1.2rem; font-weight: 550; margin-bottom: .4em; }
.news-card p.muted { font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* gallery */
.gallery-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; }
.gallery-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); transition: opacity var(--ease); }
.gallery-item:hover img { opacity: .88; }
.lightbox { position: fixed; inset: 0; background: rgba(10, 10, 16, .94); z-index: 400; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 76vh; border-radius: var(--r-sm); }
.lightbox p { color: #f1f0f4; margin: 1rem 0 0; text-align: center; font-size: .9rem; }
.lightbox button { position: absolute; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); font-size: 1.5rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink-2); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: .8rem; top: 50%; } .lb-next { right: .8rem; top: 50%; }

/* join */
.positions { display: grid; gap: 0 3rem; grid-template-columns: 1fr; }
.position { border-top: 1px solid var(--ink); padding: 1.5rem 0 2.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.position .more { margin-top: auto; }
.position h3 { font-size: 1.5rem; font-weight: 550; }
.position .plain-list { color: var(--ink); font-size: .98rem; }
.steps { display: grid; gap: 0 2rem; grid-template-columns: 1fr; }
.step { border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; }
.step h3 { margin-bottom: .4em; } .step p:last-child { margin: 0; }

/* contact */
.deflist { margin: 0 0 2rem; border-top: 1px solid var(--ink); }
.deflist > div { display: grid; grid-template-columns: 1fr; gap: .2rem 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; padding-top: .25rem; }
.deflist dd { margin: 0; }
.field { margin-bottom: 1.2rem; } .field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .4rem; } .field input { width: 100%; }
.form-wrap h2 { font-size: 1.7rem; }

/* footer */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, .68); padding: clamp(3.75rem, 7vw, 5.5rem) 0 1.6rem; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .88); text-decoration: none; transition: color var(--ease); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer h2 { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .42); margin: 0 0 1.15rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .7rem; }
.site-footer li:last-child { margin-bottom: 0; }
.footer-grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
.footer-brand-col { max-width: 28rem; }
.footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  margin: 0 0 1rem;
  text-decoration: none;
}
.footer-brand:hover { color: #fff; opacity: .92; }
.footer-brand img { width: 36px; height: 36px; flex: none; border-radius: 8px; }
.footer-tagline {
  margin: 0 0 .85rem;
  color: rgba(255, 255, 255, .55);
  font-size: .92rem;
  line-height: 1.45;
  max-width: 22rem;
}
.footer-meta {
  margin: 0 0 .35rem;
  color: rgba(255, 255, 255, .5);
  font-size: .875rem;
  line-height: 1.5;
}
.footer-nav {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.footer-col a { font-size: .95rem; font-weight: 500; }
.footer-col a:hover { color: var(--cyan); }
.footer-email { word-break: break-all; }
.social { display: flex; gap: .55rem; margin-top: 1.4rem; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.social a:hover { background: #fff; color: var(--ink-2); border-color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.35rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .42);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem 2rem;
  align-items: center;
}
.footer-bottom .footer-credit { color: rgba(255, 255, 255, .58); margin-left: .35em; }
.footer-bottom .footer-credit:hover { color: #fff; }

@media (min-width: 600px) {
  .ticker { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.75rem; padding-block: .65rem; }
  .ticker-viewport { grid-column: auto; grid-row: auto; height: 80px; }
  .ticker .headline { flex-basis: 80px; }
  .seg button { padding: .55rem 1.3rem; }
  .gallery-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .network, .fac-list, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-filters { flex-direction: row; flex-wrap: wrap; gap: 1.4rem 3.5rem; align-items: end; }
  .deflist > div { grid-template-columns: 9rem 1fr; }
}
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .panel { grid-template-columns: 1fr 1fr; }
  .feature-box { grid-template-columns: 1.3fr 1fr; padding: 2.6rem 3rem; }
  .feature-story { grid-template-columns: 1.15fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-stack { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }   /* 2-col layout: dark + paper on the first row, the two small tiles side by side below */
  .positions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .gallery-grid, .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .programs, .fac-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 920px) {
  .utility { display: block; }
  .footer-grid { grid-template-columns: minmax(15rem, 1.25fr) minmax(0, 2.4fr); align-items: start; gap: 3rem clamp(2.5rem, 5vw, 5.5rem); }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); }
  .network { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-toggle { display: none; }
  .header-inner { gap: 1rem; }
  .site-nav { position: static; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none; transition: none; margin-left: auto; }
  .site-nav > ul { display: flex; align-items: center; gap: .1rem; }
  .site-nav > ul > li { position: relative; border: 0; }
  .site-nav .mobile-only { display: none; }
  .site-nav a { font-size: .95rem; font-weight: 500; padding: .5rem .85rem; color: var(--ink); }
  .site-nav a:hover { color: var(--violet-ink); }
  .site-nav a[aria-current="page"] { color: var(--violet-ink); box-shadow: inset 0 -2px 0 var(--violet); }
  .site-nav .has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .45rem; }
  .site-nav .sub { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(20, 18, 31, .1); padding: .5rem; margin: 0; opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility 0s linear 160ms; }
  .site-nav li:hover > .sub, .site-nav li:focus-within > .sub { opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-nav .sub a { font-size: .92rem; padding: .55rem .9rem; border-radius: 8px; color: var(--ink); }
  .site-nav .sub a:hover { background: var(--alt); }
  .hdr-overlay .site-header:not(.is-solid) .site-nav > ul > li > a { color: #fff; }
  /* transparent header sits on the violet / ink hero: hover and current states must stay white (violet text would vanish into the background) */
  .hdr-overlay .site-header:not(.is-solid) .site-nav > ul > li > a { transition: box-shadow .2s ease; }
  .hdr-overlay .site-header:not(.is-solid) .site-nav > ul > li:hover > a, .hdr-overlay .site-header:not(.is-solid) .site-nav > ul > li:focus-within > a { color: #fff; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .6); }
  .hdr-overlay .site-header:not(.is-solid) .site-nav > ul > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #fff; }
  .hdr-overlay .page-hero { padding-top: calc(var(--hdr-total) + 2.5rem); min-height: 420px; }
  .hdr-overlay .hero { padding-top: var(--hdr-total); }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-stack { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }   /* all three columns share one row height; the two stacked tiles split it equally */
  .positions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ===== polish pass ===== */
@media (min-width: 920px) { :root { --hdr-total: calc(var(--header-h) + var(--utility-h) + 1px); } }
.breadcrumb [aria-current="page"] { color: inherit; font-weight: 500; }
.page-hero .breadcrumb [aria-current="page"] { color: #fff; }

/* section nav (research area pages, desktop) */
.section-nav { display: none; position: sticky; top: var(--hdr-total); z-index: 90; background: color-mix(in srgb, var(--bg) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.section-nav .container { display: flex; gap: .2rem 1.8rem; overflow-x: auto; }
.section-nav a { padding: .95rem 0; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.section-nav a:hover, .section-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--violet); }
@media (min-width: 920px) { .section-nav { display: block; } }
.section[id] { scroll-margin-top: calc(var(--hdr-total) + 3.5rem); }

/* research area overview */
.rounded-fig.fig-43 img { aspect-ratio: 4 / 3; }
.keyfacts { margin: 1.8rem 0 0; border-top: 1px solid var(--ink); }
.keyfacts > div { display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.keyfacts dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; padding-top: .15rem; }
.keyfacts dd { margin: 0; }
@media (min-width: 600px) { .keyfacts > div { grid-template-columns: 8.5rem 1fr; } }
.team-peek { margin-top: 1.6rem; }

/* publications: filter rail + results */
.pub-head { margin-bottom: 2rem; }
.pub-layout { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.pub-rail details { border: 1px solid var(--line); border-radius: var(--r); }
.pub-rail summary { list-style: none; cursor: pointer; padding: .8rem 1.1rem; min-height: 48px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.pub-rail summary::-webkit-details-marker { display: none; }
.pub-rail summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--muted); }
.pub-rail details[open] summary::after { content: "\2212"; color: var(--violet-ink); }
.rail-body { padding: .2rem 1.1rem 1.3rem; display: grid; gap: 1.5rem; }
.rail-body fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rail-body legend, .rail-body .toolbar-label { padding: 0; margin: 0 0 .6rem; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; display: block; }
.check { display: flex; align-items: center; gap: .65rem; padding: .3rem 0; min-height: 36px; cursor: pointer; font-size: .98rem; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--violet); }
.check .n { margin-left: auto; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.link-btn { background: none; border: 0; padding: .25rem 0; color: var(--violet-ink); font: 500 .95rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.pub-results .count { margin: 0 0 .4rem; }
.pub { max-width: none; }
.pub-title { font-size: 1.15rem; }
.pub-actions { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; margin-top: .6rem; }
.pub-actions a, .pub-actions button { font: 500 .92rem var(--sans); color: var(--violet-ink); background: none; border: 0; border-bottom: 1px solid transparent; padding: .25rem 0; cursor: pointer; text-decoration: none; }
.pub-actions a:hover, .pub-actions button:hover { border-bottom-color: currentColor; }
.empty-state { padding: 2.5rem 0; } .empty-state p { color: var(--muted); }
.pub-search { position: relative; }
.pub-search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pub-search input[type=search] { width: 100%; padding-left: 2.8rem; }
@media (min-width: 1000px) {
  .pub-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4.5rem; }
  .pub-rail { position: sticky; top: calc(var(--hdr-total) + 1.5rem); align-self: start; }
  .pub-rail details { border: 0; border-radius: 0; }
  .pub-rail summary { display: none; }
  .rail-body { padding: 0; }
}

/* gallery */
.tabs-text button small {
  display: inline-block;
  color: var(--muted);
  font-size: .92em;
  margin-left: .55em;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  vertical-align: baseline;
  opacity: .85;
}
.tabs-text button[aria-pressed="true"] small { color: var(--ink); opacity: .65; }
#gal-cats {
  margin-bottom: 2.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.gallery-item .cap { display: block; padding-top: .7rem; }
.gallery-item .cap-cat { display: block; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.gallery-item .cap-title { display: block; font-size: .98rem; color: var(--ink); margin-top: .15rem; }
.lb-count { position: absolute; top: 1.4rem; left: 1.25rem; margin: 0 !important; color: rgba(255, 255, 255, .85) !important; font: .9rem var(--mono) !important; }
.lightbox .lb-title { max-width: min(92vw, 60rem); }

/* news */
.link-btn.read-more { margin-top: .4rem; }
.news-card.open p.muted, .feature-story.open p.muted { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* contact form + map panel */
.req { color: #b42318; margin-left: .15em; }
.field-error { color: #b42318; font-size: .9rem; margin: .4rem 0 0; }
.field-error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b42318; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--violet); border-radius: 8px; background: var(--alt); }
.form-status[hidden] { display: none; }
.form-note { font-size: .9rem; color: var(--muted); }
.map-panel { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map-panel img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.map-panel iframe { display: block; width: 100%; height: clamp(280px, 30vw, 360px); border: 0; background: var(--alt); color-scheme: light; }
.map-panel .body { padding: 1.2rem 1.3rem 1.4rem; }
.map-panel address { font-style: normal; margin-bottom: .8rem; }
.map-actions { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.map-actions a, .map-actions button { font: 500 .95rem var(--sans); color: var(--violet-ink); background: none; border: 0; border-bottom: 1px solid transparent; padding: .3rem 0; cursor: pointer; text-decoration: none; }
.map-actions a:hover, .map-actions button:hover { border-bottom-color: currentColor; }
@media (prefers-color-scheme: dark) { .req, .field-error { color: #ff9d94; } input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff9d94; } }

/* back to top */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); color: #fff; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--ease), transform var(--ease), visibility 0s linear 160ms; z-index: 150; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--violet); }
.to-top:focus-visible { outline-color: var(--cyan); }

/* touch targets */
@media (pointer: coarse), (max-width: 699px) {
  .tabs-text button, .seg button, .link-btn, .pub-actions a, .pub-actions button, .map-actions a, .map-actions button { min-height: 44px; display: inline-flex; align-items: center; }
  .acc button { min-height: 44px; }
  .check { min-height: 44px; }
}

/* print */
@media print {
  .site-header, .site-footer, .to-top, .lightbox, .section-nav, .pub-rail, .pub-actions button, .skip-link, .search-pop { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .page-hero, .hdr-overlay .page-hero { background: none !important; color: #000; min-height: 0; padding: 0 0 1rem; display: block; }
  .page-hero::before { display: none; }
  .page-hero h1, .page-hero .lead, .page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .breadcrumb [aria-current="page"] { color: #000; }
  .section { padding: 1.2rem 0; } .section.alt { background: none; }
  a { color: #000; text-decoration: underline; }
  .pub a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
  [data-reveal], .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  [role=tabpanel][hidden] { display: block !important; }
}


/* real photos: skeleton colour while loading, consistent cover crop */
.gallery-item img, .news-card img, .news-tile img, .feature-story img, .program img, .rounded-fig img, .fac-fig img { background: var(--alt); object-fit: cover; }
.band .news-tile img { background: rgba(255, 255, 255, .08); }
.fac-fig { margin: 1.1rem 0 1.2rem; }
.fac-fig img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r-sm); }
.fac-fig figcaption { font-size: .8125rem; color: var(--muted); margin-top: .5rem; }


/* news filters: categories left, years right — generous text row, hairline rule */
.news-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.1rem 3.5rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .news-filters .tabs-text.years { margin-left: auto; } }
.news-filters .tabs-text.years { gap: .5rem 1.75rem; }
.news-filters .tabs-text.years button { color: var(--muted); font-size: 1.05rem; font-weight: 500; }
.news-filters .tabs-text.years button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }

/* news: uniform large cards (user request: big, grand look; still no featured story) */
.news-list { border-top: 0; display: grid; gap: 2rem; grid-template-columns: 1fr; }
.news-big { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.news-big img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--alt); border-radius: 0; margin: 0; transition: transform .5s ease; }
.news-big { isolation: isolate; }
.news-big:hover img { transform: scale(1.03); }
.news-big .news-big-body { padding: 1.5rem 1.5rem 1.75rem; position: relative; background: var(--surface); }
.news-big .meta { font-size: .875rem; color: var(--muted); margin: 0 0 .6rem; }
.news-big h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
.news-big p.muted { font-size: 1rem; margin: 0; }
@media (min-width: 900px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; } .news-big .news-big-body { padding: 2rem 2.25rem 2.25rem; } }
@media (prefers-reduced-motion: reduce) { .news-big:hover img { transform: none; } }

/* ===== member profile pages (people-<id>.html, generated by tools/build-members.js) =====
 * Dark hero (shared .page-hero) + portrait that lifts into the hero on desktop; main column: intro, "At a glance" facts,
 * education timeline (years in a mono column, one hairline rule, no numbering/dots), biography; then programmes, neighbouring members, pager. */
.profile-hero, .profile-body { --pf-aside: clamp(280px, 26vw, 380px); --pf-gap: clamp(3rem, 6vw, 6.5rem); --pf-lift: clamp(140px, 15vw, 230px); --pf-top: clamp(3rem, 5vw, 4.5rem); }
.profile-hero h1 { margin-bottom: .4em; }
.profile-hero .rule { margin-bottom: 1.1rem; }
.profile-role { margin: 0 0 .45rem; color: var(--cyan); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.profile-affil { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.profile-body { padding: 2rem 0 var(--pad-y); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; align-items: start; }
.profile-aside, .profile-main { min-width: 0; }
.profile-photo { position: relative; width: 100%; max-width: 360px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--slate); color: var(--slate-ink); }
.profile-photo::after, .profile-mate-ph::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(20, 18, 31, .07); border-radius: inherit; pointer-events: none; }   /* keeps white-background portraits from dissolving into the page */
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--alt); }
.profile-contact { max-width: 360px; margin-top: 1.25rem; }
.profile-contact .btn { width: 100%; text-align: center; }
.profile-addr { margin: .7rem 0 0; font-family: var(--mono); font-size: .8125rem; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.profile-links { list-style: none; margin: 1.1rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.5rem; }
.profile-main { max-width: 52rem; }
.profile-intro { margin: 0 0 1.25rem; max-width: 40rem; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; letter-spacing: -.01em; }
.profile-intro a { color: inherit; text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 1px; }
.profile-intro a:hover { color: var(--violet-ink); }
.profile-note { margin: 0 0 1rem; max-width: 40rem; padding: .15rem 0 .15rem .9rem; border-left: 2px solid var(--violet); color: var(--muted); font-size: .9375rem; }
.profile-sec { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
.profile-sec h2 { margin: 0 0 1rem; font-size: clamp(1.4rem, 2.1vw, 1.75rem); font-weight: 550; letter-spacing: -.015em; }
.profile-facts { margin: 0; border-top: 1px solid var(--ink); }
.profile-facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .15rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { padding-top: .2rem; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.profile-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.profile-plain { list-style: none; margin: 0; padding: 0; } .profile-plain li + li { margin-top: .25rem; }
.profile-prose { max-width: 40rem; } .profile-prose p:last-child { margin-bottom: 0; }
.profile-pubs { margin-top: .35rem; }
.profile-pubs .pub:first-child { border-top: 0; padding-top: .35rem; }
.profile-pubs .pub-title { font-size: 1.05rem; }
.profile-pubs .pub-title a { color: inherit; text-decoration: none; }
.profile-pubs .pub-title a:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.profile-more { margin: 1rem 0 0; }
.profile-more { margin: 1.25rem 0 0; }
/* education timeline: year column (mono, may hold two years) | hairline | degree + institution */
.profile-timeline { list-style: none; margin: 0; padding: .35rem 0 0; border-top: 1px solid var(--ink); }
.profile-timeline li { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.75rem; }
.profile-timeline li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(4.5rem + .875rem); width: 1px; background: var(--line); }
.profile-yr { display: flex; flex-direction: column; padding-top: .85rem; color: var(--muted); font: 500 .8125rem/1.7rem var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.profile-ed { display: block; padding: .85rem 0; }
.profile-deg { display: block; font-weight: 500; }
.profile-inst { display: block; color: var(--muted); }
.profile-timeline.is-plain li { grid-template-columns: minmax(0, 1fr); padding-left: 1.5rem; }
.profile-timeline.is-plain li::before { left: 0; }
.profile-timeline.is-plain .profile-yr { display: none; }
/* below the profile */
.profile-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.profile-head h2 { margin: 0; } .profile-head .eyebrow { margin-bottom: .6rem; }
.profile-progs .program h3 { font-size: 1.25rem; }
.profile-team { padding: var(--pad-y) 0 clamp(3rem, 6vw, 4.5rem); }
.profile-mates { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-mate { display: block; color: var(--ink); text-decoration: none; border-radius: 8px; }
.profile-mate-ph { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: var(--slate); color: var(--slate-ink); }
.profile-mate-ph img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--alt); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.profile-mate:hover .profile-mate-ph img { transform: scale(1.04); }
.profile-mate-name { display: block; margin-top: .9rem; font-size: 1.15rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.profile-mate:hover .profile-mate-name { color: var(--violet-ink); }
.profile-mate-role { display: block; margin-top: .35rem; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.profile-mate:focus-visible { outline-offset: 5px; }
.profile-pager { border-top: 1px solid var(--line); }
.profile-pager-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "prev back next"; align-items: center; gap: 1rem 2rem; padding: 1.6rem 0; }
.profile-pager-prev { grid-area: prev; } .profile-pager-next { grid-area: next; } .profile-pager-back { grid-area: back; }
a.profile-pager-prev, a.profile-pager-next { display: flex; flex-direction: column; justify-content: center; gap: .15rem; min-height: 44px; color: var(--ink); text-decoration: none; }
a.profile-pager-next { align-items: flex-end; text-align: right; }
.profile-pager-dir { color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.profile-pager-name { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -.01em; }
a.profile-pager-prev:hover .profile-pager-name, a.profile-pager-next:hover .profile-pager-name { color: var(--violet-ink); }
.profile-pager-back { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; color: var(--violet-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid transparent; }
.profile-pager-back:hover { border-bottom-color: currentColor; }
@media (max-width: 599px) {
  .profile-pager-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "prev next" "back back"; }
  .profile-pager-back { width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: .9rem; }
  .profile-pager-back:hover { border-bottom-color: transparent; text-decoration: underline; }
}
@media (pointer: coarse), (max-width: 699px) {
  .profile-head .more, .profile-links a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .profile-aside { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 2rem; align-items: end; }
  .profile-contact { margin-top: 0; }
  .profile-addr { text-align: left; } .profile-links { justify-content: flex-start; }
}
@media (min-width: 600px) {
  .profile-facts > div { grid-template-columns: 12rem minmax(0, 1fr); }
  .profile-timeline li { grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 2.5rem; }
  .profile-timeline li::before { left: calc(4.25rem + 1.25rem); }
}
@media (max-width: 899px) {
  .profile-progs .programs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .profile-progs .program { display: grid; grid-template-columns: clamp(112px, 30vw, 240px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(1rem, 3vw, 1.75rem); align-items: start; padding: 1.25rem 0; border-top: 1px solid var(--line); }
  .profile-progs .program:last-child { border-bottom: 1px solid var(--line); }
  .profile-progs .program img { grid-row: 1 / span 3; margin: 0; aspect-ratio: 4 / 3; }
  .profile-progs .program h3 { font-size: 1.1rem; margin-bottom: .3em; }
  .profile-progs .program p.muted { font-size: .95rem; margin-bottom: .5rem; }
}
@media (min-width: 760px) { .profile-mates { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
@media (min-width: 900px) {
  .profile-hero > .container, .profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--pf-aside); column-gap: var(--pf-gap); }
  .profile-hero-text { grid-column: 1; }
  .profile-body { padding-top: var(--pf-top); }
  .profile-aside { grid-column: 2; grid-row: 1; position: relative; z-index: 2; margin-top: calc(-1 * (var(--pf-lift) + var(--pf-top))); }
  .profile-main { grid-column: 1; grid-row: 1; }
  .profile-photo, .profile-contact { max-width: none; }
}
/* on tall enough desktop screens the portrait + email button follow the reader down the (longer) main column */
@media (min-width: 900px) and (min-height: 760px) { .profile-aside { position: sticky; top: calc(var(--hdr-total) + 1.5rem); } }
@media (prefers-reduced-motion: reduce) { .profile-mate:hover .profile-mate-ph img { transform: none; } }
@media print {
  .profile-progs, .profile-team, .profile-pager, .profile-contact .btn, .profile-hero .rule { display: none !important; }
  .profile-hero .profile-role, .profile-hero .profile-affil { color: #000; }
  .profile-hero > .container, .profile-grid { display: block; }
  .profile-body { padding: 0; } .profile-aside { margin: 0 0 1rem !important; } .profile-photo { max-width: 150px; } .profile-addr { text-align: left; }
}

/* ===== Home "Latest from the lab" band: 2D-materials background (js/band-fx.js draws a canvas only when section has data-fx).
 * Gradient below is also the no-JS / no-canvas fallback. Canvas sits under the content and never takes pointer events. */
.band[data-fx] {
  position: relative; overflow: hidden; isolation: isolate;
  background-color: var(--ink-2);
  background-image:
    radial-gradient(55% 80% at 94% 0%, rgba(111, 238, 238, .045), transparent 70%),
    radial-gradient(45% 70% at 0% 100%, rgba(65, 43, 253, .08), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .22), transparent 22%, rgba(255, 255, 255, .02) 55%, transparent 82%, rgba(0, 0, 0, .22));
}
.band[data-fx] > .container { position: relative; z-index: 1; }
.band-fx { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; max-width: none; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.band-fx.is-on { opacity: 1; }
.band .muted { color: rgba(255, 255, 255, .65); }
/* thin, low-contrast scrollbar for the news carousel on the dark band */
.band .hscroll { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .26) rgba(255, 255, 255, .06); }
.band .hscroll::-webkit-scrollbar { height: 6px; }
.band .hscroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 999px; }
.band .hscroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .26); border-radius: 999px; }
.band .hscroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .42); }
@media (prefers-reduced-motion: reduce) { .band-fx { transition: none; } }
@media print { .band-fx { display: none !important; } }

/* ===== Home hero: clean deep-blue gradient, slow drifting blue/cyan light, canvas motes (js/hero-motes.js). No imagery. ===== */
.hero { background-color: #3a25f2;
  background-image: url(../assets/hero-grain.svg), radial-gradient(52% 66% at 92% 104%, rgba(111, 238, 238, .17), rgba(111, 238, 238, 0) 70%), radial-gradient(46% 60% at 2% 72%, rgba(60, 130, 255, .22), rgba(60, 130, 255, 0) 72%), linear-gradient(180deg, rgba(18, 8, 96, .38) 0, rgba(18, 8, 96, 0) 38%), linear-gradient(112deg, #2b17c2 0%, #3822e6 34%, #412bfd 60%, #4a44ff 100%);
  background-size: 240px 240px, auto, auto, auto, auto; }
.hero::before { content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; will-change: transform; filter: blur(18px); animation: hero-aurora 18s ease-in-out infinite alternate;
  background: radial-gradient(38% 34% at 24% 34%, rgba(70, 130, 255, .55), rgba(70, 130, 255, 0) 70%), radial-gradient(34% 30% at 80% 30%, rgba(80, 200, 255, .45), rgba(80, 200, 255, 0) 70%), radial-gradient(38% 32% at 72% 76%, rgba(111, 238, 238, .34), rgba(111, 238, 238, 0) 70%), radial-gradient(34% 30% at 22% 78%, rgba(60, 200, 255, .30), rgba(60, 200, 255, 0) 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; animation: hero-sheen 14s ease-in-out infinite alternate;
  background: radial-gradient(130% 100% at 50% 46%, rgba(16, 6, 92, 0) 56%, rgba(16, 6, 92, .3) 100%), linear-gradient(115deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, 0) 62%) 0 0 / 220% 100% no-repeat; }
@keyframes hero-aurora { 0% { transform: translate3d(-3%, 2%, 0) rotate(0deg) scale(1); } 50% { transform: translate3d(7%, -5%, 0) rotate(10deg) scale(1.12); } 100% { transform: translate3d(-2%, -4%, 0) rotate(-6deg) scale(1.03); } }
@keyframes hero-sheen { from { background-position: 0 0, 100% 0; } to { background-position: 0 0, 0 0; } }
.hero-motes { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; max-width: 14em; margin: 0 auto .45em; color: #fff; }
.hero h1 .hl { color: var(--cyan); white-space: nowrap; }
.hero .hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 36rem; margin: 0 auto 2.6rem; }
.hero-eyebrow { max-width: none; font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin: 0 auto 1.6rem; }
.hero-eyebrow::after { content: ""; display: block; width: 48px; height: 2px; background: var(--cyan); margin: 1.1rem auto 0; }
@media (min-width: 700px) { .hero-eyebrow { white-space: nowrap; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; justify-content: center; align-items: center; }
.hero .btn { padding: .9rem 1.8rem; }
.hero-ghost { color: #fff; font-weight: 600; padding: .9rem 1.8rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 9999px; text-decoration: none; transition: background .2s, border-color .2s; }
.hero-ghost:hover, .hero-ghost:focus-visible { background: rgba(255, 255, 255, .12); border-color: #fff; }
@media (max-width: 699px) { .hero::before { inset: -15%; filter: blur(12px); animation-duration: 34s; } }
@media (min-width: 920px) { .hdr-overlay .hero { min-height: 820px; } }
@media (min-width: 1600px) { .hdr-overlay .hero { min-height: 900px; } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
@media print { .hero-motes, .hero::before, .hero::after { display: none !important; } }
/* bento tiles: primary button in brand blue (cyan stays for the hero only) */
.bento .btn.cyan { background: var(--violet); border-color: var(--violet); color: #fff; }
.bento .btn.cyan:hover, .bento .btn.cyan:focus-visible { background: #5a47ff; border-color: #5a47ff; }
/* home news carousel: whole tile is a link */
a.news-tile { display: block; color: inherit; text-decoration: none; }
a.news-tile h3 { transition: color .2s; }
a.news-tile:hover h3, a.news-tile:focus-visible h3 { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 4px; }
.news-big.is-target { outline: 2px solid var(--violet); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { }

/* ===== UI review fixes ===== */
/* keyboard focus on the violet hero: the default violet ring was the same colour as the background (invisible) */
.hero :focus-visible { outline-color: #fff; }
/* no one-word last lines in headings / short ledes; avoid widows in body copy */
h1, h2, h3, .lead { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
/* segmented tabs: all four tabs fit on a 390px screen instead of the last one being clipped */
@media (max-width: 430px) { .seg button { padding: .55rem .8rem; font-size: .875rem; } }

/* ===== phones: People + Gallery in two columns (one column made them ~24,000px / ~10,000px tall) ===== */
@media (max-width: 599px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .75rem; }
  .gallery-item .cap { padding-top: .5rem; }
  .gallery-item .cap-cat { letter-spacing: .08em; }
  .gallery-item .cap-title { font-size: .9rem; line-height: 1.3; }
}
@media (max-width: 559px) {
  .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem .75rem; }
  .team-body { margin-top: .7rem; padding-top: .75rem; }
  .team-name { font-size: 1.05rem; line-height: 1.25; }
  .team-role { margin-top: .4rem; letter-spacing: .05em; line-height: 1.35; }
  .team-edu { display: none; }   /* education stays on the profile page; keeps phone cards compact */
  .team-foot { flex-wrap: nowrap; gap: 0 .25rem; padding-top: .35rem; min-height: 44px; font-size: .875rem; }   /* same height with or without the email icon, so the 'View profile' lines align across a row */
  .team-more { white-space: nowrap; }
  .team-mail { min-width: 44px; justify-content: flex-end; }
  .team-mail span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* icon only; aria-label "Email <name>" stays */
}
@media (max-width: 359px) {
  .team-cards { gap: 1.75rem .5rem; }
  .team-foot { font-size: .8125rem; }
  .gallery-grid { gap: 1.25rem .5rem; }
}

/* WP inquiry honeypot */
.inquiry-hp,.form-field-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}

