/* ==========================================================================
   Labsite base styles — shared by every template.
   Templates are presets of: a colour theme, a font pairing, a shape, a motif
   and one layout per part of the site. Colours, fonts and shapes are the CSS
   custom properties below (set per site in <head>); layouts are classes on
   <body> (ls-head-*, ls-home-*, ls-ph-*, ls-cards-*, ls-type-*) and on blocks.
   ========================================================================== */

:root {
  /* theme */
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b222c;
  --muted: #667080;
  --line: #e7e2d8;
  --primary: #1f5f8b;
  --accent: #c8902c;
  --dark: #141a22;
  --on-dark: #e7ecf2;
  /* fonts */
  --font-head: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --head-weight: 600;
  --head-tracking: -0.01em;
  /* shape */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  /* derived */
  --ink-2: color-mix(in srgb, var(--ink) 78%, var(--bg));
  --primary-ink: color-mix(in srgb, var(--primary) 82%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 9%, var(--surface));
  --primary-line: color-mix(in srgb, var(--primary) 28%, var(--surface));
  --accent-soft: color-mix(in srgb, var(--accent) 16%, var(--surface));
  --accent-ink: color-mix(in srgb, var(--accent) 45%, #1a1a1a);
  --tint: color-mix(in srgb, var(--primary) 4%, var(--bg));
  --on-dark-muted: color-mix(in srgb, var(--on-dark) 65%, var(--dark));
  --maxw: 1160px;
  --shadow: 0 1px 2px rgba(20, 26, 34, 0.04), 0 10px 28px -14px rgba(20, 26, 34, 0.16);
  /* card style (see "card styles" below) */
  --card-bg: var(--surface);
  --card-border: var(--line);
  --card-bw: 1px;
  --card-shadow: none;
  --card-hover-shadow: var(--shadow);
  /* heading scale: display headings are multiplied by this */
  --type-k: 1;
  --space-k: 1;
  --text-k: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ls {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: calc(16.5px * var(--text-k));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  overflow-wrap: break-word;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 3px; }

.ls-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.ls-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ls-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.ls-skip:focus { top: 12px; color: #fff; }
.ls-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-ink);
  margin: 0 0 12px;
}
.ls-previewbar { background: var(--ink); color: #e9edf2; font-size: 13px; text-align: center; padding: 7px 16px; }
.ls-previewbar a { color: #fff; font-weight: 600; }
.ls-demobar { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #0f172a; color: #cbd5e1; font: 500 12.5px/1.2 system-ui, sans-serif; }
.ls-demobar__label { flex: none; color: #94a3b8; }
.ls-demobar__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.ls-demobar__list a { flex: none; padding: 5px 10px; border-radius: 99px; color: #e2e8f0; text-decoration: none; }
.ls-demobar__list a:hover { background: rgba(255, 255, 255, 0.08); }
.ls-demobar__list a.is-active { background: #fff; color: #0f172a; font-weight: 600; }
.ls-demobar__cta { flex: none; color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 700px) { .ls-demobar__label, .ls-demobar__cta { display: none; } }

/* ---------------------------------------------------------------- buttons, chips, badges */

.ls-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--btn-radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ls-btn--primary { background: var(--primary); color: #fff; }
.ls-btn--primary:hover { background: var(--primary-ink); color: #fff; }
.ls-btn--ghost { border-color: color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); background: transparent; }
.ls-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.ls-btn--on-dark { background: var(--accent); color: var(--dark); }
.ls-btn--on-dark:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); color: var(--dark); }
.ls-btn--small { padding: 8px 14px; font-size: 14px; }
.ls-arrow-link { font-weight: 600; text-decoration: none; }
.ls-arrow-link::after { content: ' →'; }

.ls-badge {
  display: inline-block; align-self: flex-start;
  padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.6;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2);
  vertical-align: 1px;
}
.ls-badge--accent { background: var(--accent-soft); color: var(--accent-ink); }
.ls-chip {
  display: inline-block; align-self: flex-start;
  padding: 3px 8px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap;
}

/* ---------------------------------------------------------------- header: classic */

.ls-header--classic {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ls-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.ls-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.ls-brand:hover { color: var(--ink); }
.ls-brand__logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; }
.ls-brand__mark {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius-sm); background: var(--primary); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
}
.ls-brand__text { display: flex; flex-direction: column; min-width: 0; }
.ls-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-brand__sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ls-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ls-nav--inline ul { gap: 4px; }
.ls-nav--inline a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; position: relative;
}
.ls-nav--inline a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ls-nav--inline a.is-active { color: var(--primary-ink); }
.ls-nav--inline a.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -15px; height: 2px; background: var(--primary); }

.ls-menu-btn {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center;
}
.ls-menu-btn__bars, .ls-menu-btn__bars::before, .ls-menu-btn__bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.2s;
}
.ls-menu-btn__bars::before, .ls-menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.ls-menu-btn__bars::before { top: -6px; }
.ls-menu-btn__bars::after { top: 6px; }
.ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars { background: transparent; }
.ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- header: masthead */

.ls-header--masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.ls-masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding-top: 30px; padding-bottom: 30px; }
.ls-masthead__logo { display: flex; align-items: center; }
.ls-masthead__logo:first-child { justify-content: flex-end; }
.ls-masthead__logo img { height: 76px; width: auto; max-width: 180px; object-fit: contain; }
.ls-masthead__title { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; max-width: 760px; }
.ls-masthead__name {
  font-family: var(--font-head); font-weight: 700; color: var(--primary-ink);
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase;
}
.ls-masthead__sub {
  margin-top: 10px; font-family: var(--font-head); font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.ls-navbar { position: sticky; top: 0; z-index: 20; background: var(--dark); box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.45); }
.ls-navbar__inner { display: flex; align-items: center; justify-content: center; min-height: 54px; position: relative; }
.ls-navbar__home { display: none; color: var(--on-dark); font-family: var(--font-head); font-weight: 700; text-decoration: none; margin-right: auto; font-size: 16px; }
.ls-nav--bar ul { justify-content: center; flex-wrap: wrap; }
.ls-nav--bar li { position: relative; }
.ls-nav--bar li + li::before { content: ''; position: absolute; left: 0; top: 32%; height: 36%; width: 1px; background: color-mix(in srgb, var(--on-dark) 16%, transparent); }
.ls-nav--bar a {
  display: block; padding: 17px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: color-mix(in srgb, var(--on-dark) 82%, transparent); text-decoration: none;
}
.ls-nav--bar a:hover { color: #fff; }
.ls-nav--bar a.is-active { color: var(--accent); }
.ls-head-masthead .ls-menu-btn { background: transparent; border-color: color-mix(in srgb, var(--on-dark) 25%, transparent); }
.ls-head-masthead .ls-menu-btn__bars, .ls-head-masthead .ls-menu-btn__bars::before, .ls-head-masthead .ls-menu-btn__bars::after { background: var(--on-dark); }
.ls-head-masthead .ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars { background: transparent; }

/* ---------------------------------------------------------------- header: minimal */

.ls-header--minimal { background: var(--bg); border-bottom: 1px solid var(--line); }
.ls-minimal { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 34px; padding-bottom: 12px; position: relative; }
.ls-minimal__title { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(26px, 3.4vw, 36px); color: var(--ink); text-decoration: none; line-height: 1.15; }
.ls-minimal__sub { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.ls-nav--minimal { margin-top: 18px; }
.ls-nav--minimal ul { gap: 2px 26px; flex-wrap: wrap; justify-content: center; }
.ls-nav--minimal a { display: block; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.ls-nav--minimal a:hover { color: var(--ink); }
.ls-nav--minimal a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------------------------------------------------------------- hero (split home) */

.ls-hero {
  position: relative; padding: 104px 0 96px; background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 90% at 92% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 70%);
  border-bottom: 1px solid var(--line); overflow: hidden;
  --motif-fade: linear-gradient(105deg, rgb(0 0 0 / 0.45) 15%, #000 65%);
}
.ls-hero__inner { position: relative; }
.ls-hero__title { font-size: calc(clamp(38px, 6vw, 68px) * var(--type-k)); letter-spacing: -0.025em; line-height: 1.04; max-width: 16ch; }
.ls-hero__text { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; margin: 22px 0 0; }
.ls-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.ls-hero--image {
  padding: 168px 0 72px; min-height: 560px; display: flex; align-items: flex-end; border-bottom: 0;
  background-image: linear-gradient(180deg, rgba(10, 14, 20, 0.05) 0%, rgba(10, 14, 20, 0.35) 45%, rgba(10, 14, 20, 0.82) 100%), var(--hero-image);
  background-size: cover; background-position: center;
}
.ls-hero--image .ls-hero__title, .ls-hero--image .ls-hero__eyebrow { color: #fff; }
.ls-hero--image .ls-hero__text { color: rgba(255, 255, 255, 0.88); }
.ls-hero--image .ls-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------- banner (banner home) */

.ls-banner {
  position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: 120px 0 64px;
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse 60% 80% at 85% 10%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%),
    radial-gradient(circle at 15% 85%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 45%);
  color: var(--on-dark);
  --motif-fade: linear-gradient(200deg, #000 20%, rgb(0 0 0 / 0.35) 75%);
}
.ls-banner--image {
  min-height: 540px;
  background-image:
    linear-gradient(to top, color-mix(in srgb, var(--dark) 97%, transparent) 0%, color-mix(in srgb, var(--dark) 78%, transparent) 45%, color-mix(in srgb, var(--dark) 30%, transparent) 100%),
    var(--hero-image);
  background-size: cover; background-position: center 30%;
}
.ls-banner__eyebrow { color: var(--accent); }
.ls-banner__title { color: #fff; font-size: calc(clamp(34px, 5vw, 60px) * var(--type-k)); line-height: 1.06; max-width: 18ch; }
.ls-banner__text { margin: 18px 0 0; max-width: 46ch; font-size: clamp(17px, 1.8vw, 20px); color: color-mix(in srgb, var(--on-dark) 90%, transparent); }
.ls-banner .ls-btn--ghost { color: #fff; border-color: color-mix(in srgb, #fff 45%, transparent); }
.ls-banner .ls-btn--ghost:hover { border-color: #fff; }

/* ---------------------------------------------------------------- background motif
   A faint pattern from the motif library (src/design/motifs.ts) behind the home
   hero, the banner and page headings: a graphene lattice, cells, circuit traces…
   The tile is a mask, so it is always drawn in the theme's own colours. */

.ls-hero::before, .ls-banner::before, .ls-pagehead::before, .ls-statement::before, .ls-immersive::before,
.ls-pibanner::before, .ls-tile--visual::before, .ls-feature__media--empty::before, .ls-side::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--motif-on-light); opacity: var(--motif-strength);
  -webkit-mask-image: var(--motif), var(--motif-fade, linear-gradient(#000, #000));
  -webkit-mask-size: var(--motif-size), 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--motif), var(--motif-fade, linear-gradient(#000, #000));
  mask-size: var(--motif-size), 100% 100%;
  mask-repeat: repeat, no-repeat;
  mask-composite: intersect;
}
.ls-hero > *, .ls-banner > *, .ls-pagehead > *, .ls-statement > *, .ls-immersive__inner, .ls-pibanner > * { position: relative; }
.ls-banner::before, .ls-immersive::before, .ls-pibanner::before, .ls-tile--visual::before, .ls-feature__media--empty::before, .ls-pagehead--band::before, .ls-side::before {
  background: var(--motif-on-dark);
}
.ls-pagehead::before { opacity: var(--motif-head); }
.ls-pagehead--band::before { opacity: var(--motif-strength); }
.ls-side::before { opacity: calc(var(--motif-strength) * 0.7); }
.ls-hero--image::before, .ls-banner--image::before, .ls-immersive--image::before, .ls-tile--photo::before { content: none; }

/* ---------------------------------------------------------------- sections & page heads */

.ls-section { padding: calc(72px * var(--space-k)) 0; }
.ls-section + .ls-section { padding-top: 0; }
.ls-section.ls-section--tint, .ls-section--tint + .ls-section { padding-top: 72px; }
.ls-section--tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ls-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.ls-section__title { font-size: calc(30px * var(--type-k)); }
.ls-section__more { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ls-pagehead { position: relative; padding: calc(64px * var(--space-k)) 0 calc(36px * var(--space-k)); --motif-fade: linear-gradient(90deg, transparent 25%, #000 85%); }
.ls-pagehead + .ls-section { padding-top: 12px; }
.ls-pagehead__title { font-size: calc(clamp(34px, 5vw, 52px) * var(--type-k)); letter-spacing: -0.02em; }
.ls-pagehead__intro { margin-top: 16px; font-size: 19px; color: var(--ink-2); max-width: 68ch; }
.ls-empty { color: var(--muted); font-style: italic; padding: 24px 0; }

/* ---------------------------------------------------------------- prose */

.ls-prose { max-width: 70ch; }
.ls-prose > :first-child { margin-top: 0; }
.ls-prose > :last-child { margin-bottom: 0; }
.ls-prose p, .ls-prose ul, .ls-prose ol, .ls-prose blockquote { margin: 0 0 1em; }
.ls-prose h2, .ls-prose h3, .ls-prose h4, .ls-prose h5 { margin: 1.6em 0 0.5em; }
.ls-prose h2 { font-size: 1.5em; }
.ls-prose h3 { font-size: 1.25em; }
.ls-prose ul, .ls-prose ol { padding-left: 1.3em; }
.ls-prose li + li { margin-top: 0.3em; }
.ls-prose blockquote { border-left: 3px solid var(--primary); padding: 2px 0 2px 18px; color: var(--ink-2); font-family: var(--font-head); font-size: 1.12em; font-style: italic; }
.ls-prose code { font-size: 0.9em; background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 1px 5px; border-radius: 4px; }
.ls-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.ls-pre { white-space: pre-line; }

/* ---------------------------------------------------------------- home blocks */

.ls-intro__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.ls-intro__grid--single { grid-template-columns: minmax(0, 1fr); }
.ls-intro__text { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.ls-intro__text strong { color: var(--ink); }
.ls-intro__aside { border-left: 1px solid var(--line); padding-left: 32px; }
.ls-aside__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ls-intro__aside .ls-section__more { display: inline-block; margin-top: 10px; }
.ls-callout-wrap { padding-top: 0; }
.ls-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 36px 40px; border-radius: var(--radius-lg); background: var(--dark); color: var(--on-dark);
  background-image: radial-gradient(ellipse 60% 120% at 100% 0%, color-mix(in srgb, var(--primary) 50%, transparent), transparent 65%);
}
.ls-callout__title { color: #fff; font-size: 28px; }
.ls-callout__text { margin: 6px 0 0; color: var(--on-dark-muted); }
.ls-section--funders .ls-section__title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ls-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; list-style: none; margin: 0; padding: 0; }
.ls-logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.ls-logo a:hover img { filter: none; opacity: 1; }
.ls-logo span { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink-2); }
.ls-logo a { text-decoration: none; }

/* ---------------------------------------------------------------- cards */

.ls-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.ls-cards--research { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 28px; }
.ls-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; scroll-margin-top: 100px;
}
a.ls-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary-line); color: var(--ink); }
.ls-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--primary-soft); }
.ls-card__img--placeholder {
  aspect-ratio: 16 / 6; background-color: var(--primary-soft);
  background-image:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--primary) 30%, transparent) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--primary) 22%, transparent) 0 5px, transparent 6px),
    radial-gradient(circle at 45% 80%, color-mix(in srgb, var(--accent) 35%, transparent) 0 3px, transparent 4px),
    linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 20%, var(--surface)));
}
.ls-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.ls-card__num { font-family: var(--font-head); font-weight: 700; color: var(--accent-ink); font-size: 14px; }
.ls-card__title { font-family: var(--font-head); font-size: 21px; font-weight: var(--head-weight); line-height: 1.25; letter-spacing: var(--head-tracking); }
.ls-card__title a { color: inherit; text-decoration: none; }
.ls-card__title a:hover { color: var(--primary-ink); }
.ls-card__lead { margin: 0; font-size: 16.5px; color: var(--ink-2); }
.ls-card__text { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.ls-card__more { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--primary-ink); }
.ls-cards--research .ls-card__img--placeholder { aspect-ratio: 16 / 5; }

/* ---------------------------------------------------------------- links */

.ls-links { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.ls-links a { font-weight: 500; text-decoration: none; }
.ls-links a:hover { text-decoration: underline; }
.ls-links--pills { gap: 6px; }
.ls-links--pills a {
  display: inline-block; padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; background: var(--surface); color: var(--ink-2);
}
.ls-links--pills a:hover { border-color: var(--primary); color: var(--primary-ink); text-decoration: none; }
.ls-links--stack { flex-direction: column; gap: 8px; margin-top: 20px; }

/* ---------------------------------------------------------------- news */

.ls-newslist { display: flex; flex-direction: column; }
.ls-news { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.ls-news:first-child { border-top: 0; padding-top: 0; }
.ls-news__img { flex: none; width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.ls-news__date { display: block; font-size: 13px; font-weight: 600; color: var(--primary-ink); letter-spacing: 0.02em; margin-bottom: 4px; }
.ls-news__title { font-size: 22px; }
.ls-news__title a { color: var(--ink); text-decoration: none; }
.ls-news__title a:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-news__excerpt { color: var(--muted); margin: 8px 0 0; }
.ls-newslist--compact .ls-news { padding: 14px 0; }
.ls-newslist--compact .ls-news:first-child { padding-top: 0; }
.ls-newslist--compact .ls-news__title { font-size: 17px; line-height: 1.35; }

.ls-newsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.ls-ncard {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, transform 0.2s;
}
.ls-ncard:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.ls-ncard__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ls-ncard__img--empty { background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--accent) 14%, var(--surface))); }
.ls-ncard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.ls-newsgrid--text .ls-ncard { border-top: 3px solid var(--primary); }
.ls-ncard__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 19px; line-height: 1.3; }
.ls-ncard__excerpt { font-size: 14.5px; color: var(--muted); }

/* ---------------------------------------------------------------- publications */

.ls-publist { display: flex; flex-direction: column; }
.ls-pub { padding: 22px 0; border-top: 1px solid var(--line); }
.ls-pub:first-child { border-top: 0; padding-top: 4px; }
.ls-pub__title { font-size: 20px; line-height: 1.35; }
.ls-pub__title a { color: var(--ink); text-decoration: none; }
.ls-pub__title a:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-pub__authors { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; }
.ls-pub__member { color: var(--ink); font-weight: 600; }
.ls-pub__meta { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.ls-pub__venue { font-style: italic; }
.ls-pub__meta .ls-badge { margin-left: 10px; }
.ls-pub__meta .ls-badge + .ls-badge { margin-left: 6px; }
.ls-pub__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; margin-top: 10px; }
.ls-pub__actions:empty { display: none; }
.ls-pub__abstract { font-size: 15px; color: var(--ink-2); }
.ls-pub__abstract[open] { flex-basis: 100%; }
.ls-pub__abstract summary {
  display: inline-block; cursor: pointer; font-size: 13px; font-weight: 500; padding: 3px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); list-style: none;
}
.ls-pub__abstract summary::-webkit-details-marker { display: none; }
.ls-pub__abstract[open] summary { border-color: var(--primary); color: var(--primary-ink); }
.ls-pub__abstract p { margin: 12px 0 0; max-width: 80ch; }
.ls-pub--numbered { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.ls-pub__num { font-family: var(--font-head); font-size: 22px; line-height: 1.25; color: color-mix(in srgb, var(--ink) 30%, var(--bg)); font-variant-numeric: tabular-nums; }
.ls-pubcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; }
.ls-pubcards .ls-pub { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ls-year { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.ls-year:first-of-type { border-top: 0; }
.ls-year__title { font-size: calc(30px * var(--type-k)); color: var(--primary-ink); position: sticky; top: var(--sticky-top, 96px); align-self: start; }
.ls-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ls-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ls-chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none;
}
.ls-chips a:hover { border-color: var(--primary); }
.ls-chips a.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ls-chips__count { font-size: 12px; opacity: 0.6; }
.ls-search { display: flex; gap: 8px; }
.ls-search input {
  width: 280px; max-width: 100%; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--btn-radius);
  font: inherit; font-size: 15px; background: var(--surface); color: var(--ink);
}
.ls-search .ls-btn { background: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------------- research (alternating) */

.ls-areas { display: flex; flex-direction: column; gap: 72px; }
.ls-area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; scroll-margin-top: 100px; }
.ls-area:nth-child(even) .ls-area__img { order: 2; }
.ls-area--noimage { grid-template-columns: minmax(0, 1fr); padding-top: 40px; border-top: 1px solid var(--line); }
.ls-area--noimage:first-child { border-top: 0; padding-top: 0; }
.ls-area__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ls-area__num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--primary); margin: 0 0 8px; }
.ls-area__title { font-size: calc(32px * var(--type-k)); }
.ls-area__summary { font-size: 19px; color: var(--ink-2); margin: 14px 0 18px; max-width: 62ch; }

/* ---------------------------------------------------------------- people */

.ls-avatar { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--primary-soft); }
.ls-avatar--sm { width: 52px; height: 52px; }
.ls-avatar--md { width: 132px; height: 132px; }
.ls-avatar--lg { width: 200px; height: 200px; }
.ls-avatar--initials {
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: var(--primary-ink);
  background: linear-gradient(145deg, var(--primary-soft), color-mix(in srgb, var(--primary) 22%, var(--surface)));
}
.ls-avatar--sm.ls-avatar--initials { font-size: 17px; }
.ls-avatar--md.ls-avatar--initials { font-size: 40px; }
.ls-avatar--lg.ls-avatar--initials { font-size: 60px; }

.ls-section--leads { padding-top: 8px; }
.ls-lead { display: flex; gap: 40px; align-items: center; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ls-lead + .ls-lead { margin-top: 20px; }
.ls-lead__photo { flex: none; width: 190px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); display: grid; place-items: center; }
.ls-lead__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-lead__name { font-size: calc(32px * var(--type-k)); }
.ls-lead__name a { color: var(--ink); text-decoration: none; }
.ls-lead__name a:hover { color: var(--primary-ink); }
.ls-lead__position { margin: 6px 0 0; color: var(--ink-2); font-size: 17px; }
.ls-lead__bio { margin: 14px 0 18px; color: var(--muted); max-width: 70ch; }
.ls-group .ls-section__title { font-size: calc(24px * var(--type-k)); }

.ls-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 36px 24px; }
.ls-person { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); gap: 2px; }
.ls-person .ls-avatar { margin-bottom: 14px; transition: transform 0.2s, box-shadow 0.2s; }
.ls-person:hover .ls-avatar { transform: scale(1.03); box-shadow: 0 0 0 4px var(--primary-soft); }
.ls-person__name { font-family: var(--font-head); font-size: 19px; font-weight: var(--head-weight); }
.ls-person:hover .ls-person__name { color: var(--primary-ink); }
.ls-person__role { font-size: 14.5px; color: var(--muted); }
.ls-person__meta { font-size: 13.5px; color: var(--muted); opacity: 0.85; margin-top: 4px; }

/* profile cards */
.ls-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 20px; }
.ls-pcard {
  display: flex; gap: 22px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, border-color 0.2s;
}
.ls-pcard:hover { box-shadow: var(--shadow); border-color: var(--primary-line); color: var(--ink); }
.ls-pcard__photo {
  flex: none; width: 128px; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--primary-soft); border: 2px solid var(--line); display: grid; place-items: center; transition: border-color 0.2s;
}
.ls-pcard:hover .ls-pcard__photo { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.ls-pcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-pcard__initials { font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--primary-ink); }
.ls-pcard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 4px; }
.ls-pcard__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 19px; line-height: 1.25; }
.ls-pcard__role { font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.ls-pcard__row { display: flex; flex-direction: column; font-size: 13px; color: var(--ink-2); padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); line-height: 1.45; }
.ls-pcard__label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.ls-pcard__email { color: var(--primary-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ls-acard { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.ls-acard:hover { box-shadow: var(--shadow); color: var(--ink); }
.ls-acard__photo { flex: none; width: 64px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; background: var(--primary-soft); display: grid; place-items: center; }
.ls-acard__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-acard__photo .ls-pcard__initials { font-size: 20px; }
.ls-acard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ls-acard__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 16.5px; }
.ls-acard__now { display: flex; flex-direction: column; font-size: 13px; font-weight: 500; color: var(--ink); }
.ls-acard__meta { font-size: 12.5px; color: var(--muted); }

/* directory */
.ls-dir { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ls-dir__row { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ls-dir__main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ls-dir__name { font-weight: 600; font-size: 16.5px; color: var(--ink); text-decoration: none; }
.ls-dir__name:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-dir__role { font-size: 14px; color: var(--muted); }
.ls-dir__meta { font-size: 14px; text-align: right; }
.ls-dir__meta a { text-decoration: none; }

.ls-table-wrap { overflow-x: auto; }
.ls-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ls-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); }
.ls-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ls-table td:first-child a { font-weight: 600; color: var(--ink); text-decoration: none; }
.ls-table td:first-child a:hover { color: var(--primary-ink); }

.ls-back { margin: 0 0 28px; font-size: 15px; }
.ls-back a { text-decoration: none; font-weight: 500; }
.ls-profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.ls-profile__name, .ls-article__title { font-size: calc(clamp(34px, 4.5vw, 48px) * var(--type-k)); letter-spacing: -0.02em; }
.ls-profile__position { font-size: 18px; color: var(--ink-2); margin: 8px 0 0; }
.ls-profile__interests { margin: 18px 0 0; color: var(--ink-2); }
.ls-profile__main .ls-prose { margin-top: 24px; font-size: 17px; }
.ls-profile__pubs { margin-top: 48px; }
.ls-profile__pubs .ls-section__title { font-size: 24px; margin-bottom: 12px; }

/* ---------------------------------------------------------------- PI page */

.ls-pi { padding-top: 48px; }
.ls-pi__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.ls-pi__top { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: center; }
.ls-pi__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--primary-soft); display: grid; place-items: center; box-shadow: var(--shadow); }
.ls-pi__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-pi__initials { font-family: var(--font-head); font-weight: 700; font-size: 64px; color: var(--primary-ink); }
.ls-pi__name { font-size: calc(clamp(30px, 4vw, 42px) * var(--type-k)); color: var(--primary-ink); line-height: 1.12; }
.ls-pi__honors { margin: 4px 0 0; font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--ink-2); }
.ls-pi__lines { margin-top: 10px; font-size: 17px; color: var(--ink-2); font-weight: 500; }
.ls-pi__lines p { margin: 0; }
.ls-pi__summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.ls-pi__summary dt { font-weight: 700; color: var(--muted); white-space: nowrap; }
.ls-pi__summary dd { margin: 0; color: var(--ink); }
.ls-pi__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }
.ls-pi__bio { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); max-width: none; font-family: var(--font-head); font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.ls-pi__intro { margin-top: 32px; }
.ls-pi__eyebrow { margin: 48px 0 16px 2px; }
.ls-pi__portfolio { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.ls-pi__toc { position: sticky; top: var(--sticky-top, 90px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.ls-pi__toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ls-pi__toc a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; }
.ls-pi__toc a:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink); }
.ls-pi__toc a.is-active { background: var(--dark); color: var(--on-dark); }
.ls-pi__sections { display: flex; flex-direction: column; gap: 20px; }
.ls-pi__section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: 110px; }
.ls-pi__sectiontitle { font-size: 24px; color: var(--primary-ink); margin-bottom: 18px; }
.ls-cv { list-style: none; margin: 0; padding: 0; }
.ls-cv__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.ls-cv__item:first-child { border-top: 0; padding-top: 0; }
.ls-cv__main { min-width: 0; }
.ls-cv__title { margin: 0; font-size: 16px; line-height: 1.45; }
.ls-cv__org { color: var(--ink-2); }
.ls-cv__details { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.ls-cv--simple .ls-cv__item { justify-content: flex-start; }
.ls-cv__when { flex: none; width: 140px; font-size: 14px; font-weight: 600; color: var(--muted); padding-top: 1px; }
.ls-pi--simple .ls-container { max-width: 900px; }
.ls-pi__simplehead { display: flex; gap: 32px; align-items: center; margin-bottom: 32px; }
.ls-pi--simple .ls-pi__bio { margin-top: 0; padding-top: 0; border-top: 0; font-family: var(--font-body); font-size: 17px; }
.ls-pi__cvsection { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.ls-pi__cvsection .ls-section__title { font-size: 22px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- article, lists, gallery, join, contact */

.ls-article { max-width: 760px; }
.ls-article__img { display: block; width: 100%; border-radius: var(--radius); margin: 28px 0; }
.ls-article .ls-prose { margin-top: 24px; font-size: 18px; }
.ls-list { display: flex; flex-direction: column; }
.ls-item { padding: 26px 0; border-top: 1px solid var(--line); }
.ls-item:first-child { border-top: 0; padding-top: 0; }
.ls-item__meta { margin: 0 0 4px; font-size: 13.5px; font-weight: 600; color: var(--primary-ink); letter-spacing: 0.02em; }
.ls-item__title { font-size: 24px; margin-bottom: 10px; }
.ls-item__title a { color: var(--ink); }
.ls-gallery { columns: 3 280px; column-gap: 20px; }
.ls-photo { break-inside: avoid; margin: 0 0 20px; }
.ls-photo img { display: block; width: 100%; border-radius: var(--radius); }
.ls-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.ls-photo__date { display: block; font-size: 12.5px; opacity: 0.8; }
.ls-openings { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.ls-opening {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius);
}
.ls-opening__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ls-opening__deadline { font-size: 13.5px; color: var(--muted); }
.ls-opening__title { font-size: 24px; }
.ls-opening .ls-prose { color: var(--ink-2); font-size: 15.5px; }
.ls-opening .ls-btn { margin-top: auto; }
.ls-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; }
.ls-contact--nomap { grid-template-columns: minmax(0, 1fr); }
.ls-dl { margin: 0; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px 20px; font-size: 17px; }
.ls-dl dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.ls-dl dd { margin: 0; }
.ls-contact__directions { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.ls-contact__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); background: var(--tint); }
.ls-notfound { padding: 120px 0; text-align: center; }
.ls-notfound .ls-pagehead__title { margin-bottom: 28px; }
.ls-comingsoon { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.ls-comingsoon main { padding: 48px 24px; }
.ls-comingsoon .ls-hero__title { max-width: none; margin-bottom: 12px; }
.ls-comingsoon__signin { margin-top: 48px; font-size: 14px; }

/* ---------------------------------------------------------------- footer */

.ls-footer { margin-top: 40px; font-size: 15px; padding: 60px 0 30px; }
.ls-footer p { margin: 0 0 6px; }
.ls-footer a { text-decoration: none; }
.ls-footer a:hover { text-decoration: underline; }
.ls-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ls-footer__name { font-family: var(--font-head); font-size: 22px; font-weight: var(--head-weight); }
.ls-footer__address { white-space: pre-line; margin-top: 14px !important; }
.ls-footer__contact .ls-links { margin-top: 14px; }
.ls-footer__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.ls-footer__nav li { margin-bottom: 6px; }
.ls-footer__note { margin-top: 36px !important; max-width: 80ch; font-size: 14px; }
.ls-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; font-size: 13.5px; }
.ls-footer--dark { background: var(--dark); color: var(--on-dark-muted); }
.ls-footer--dark a { color: var(--on-dark); }
.ls-footer--dark a:hover { color: #fff; }
.ls-footer--dark .ls-footer__name { color: #fff; }
.ls-footer--dark .ls-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent); }
.ls-footer--dark .ls-footer__meta a { color: var(--on-dark-muted); }
.ls-footer--light { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); }
.ls-footer--light a { color: var(--ink-2); }
.ls-footer--light .ls-footer__name { color: var(--ink); }
.ls-footer--light .ls-footer__bottom { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .ls-menu-btn { display: inline-flex; }
  .ls-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 16px 16px; margin: 0; }
  .ls-nav.is-open { display: block; }
  .ls-nav ul { flex-direction: column; gap: 0; }
  .ls-nav a { padding: 12px !important; font-size: 16px !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-2) !important; border: 0 !important; border-radius: var(--radius-sm); }
  .ls-nav a.is-active { background: var(--primary-soft); color: var(--primary-ink) !important; }
  .ls-nav a.is-active::after, .ls-nav--bar li + li::before { display: none; }
  .ls-navbar__inner { justify-content: flex-end; }
  .ls-navbar__home { display: block; }
  .ls-minimal { padding-bottom: 20px; }
  .ls-minimal .ls-menu-btn { position: absolute; right: 24px; top: 30px; }
  .ls-intro__grid, .ls-area, .ls-contact, .ls-pi__portfolio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ls-area:nth-child(even) .ls-area__img { order: 0; }
  .ls-intro__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .ls-pi__toc { position: static; }
  .ls-pi__toc ul { flex-direction: row; flex-wrap: wrap; }
  .ls-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ls-footer__brand { grid-column: 1 / -1; }
  .ls-pcards, .ls-pubcards, .ls-cards--research { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  body.ls { font-size: calc(16px * var(--text-k)); }
  .ls-container { padding: 0 16px; }
  .ls-header__inner { min-height: 64px; }
  .ls-brand__sub { display: none; }
  .ls-masthead { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .ls-masthead__logo img { height: 40px; max-width: 64px; }
  .ls-masthead__sub { font-size: 10.5px; letter-spacing: 0.1em; margin-top: 6px; }
  .ls-container.ls-minimal { padding: 16px 60px 14px; }
  .ls-minimal .ls-menu-btn { right: 12px; top: 14px; }
  .ls-minimal__title { font-size: calc(26px * var(--type-k)); }
  .ls-hero { padding: 64px 0 56px; }
  .ls-hero--image { min-height: 440px; padding-top: 120px; }
  .ls-banner { min-height: 380px; padding: 80px 0 44px; }
  .ls-section, .ls-section.ls-section--tint, .ls-section--tint + .ls-section { padding: 48px 0; }
  .ls-section + .ls-section { padding-top: 0; }
  .ls-section--tint + .ls-section { padding-top: 48px; }
  .ls-pagehead { padding: 44px 0 20px; }
  .ls-lead { flex-direction: column; align-items: flex-start; padding: 22px; gap: 20px; }
  .ls-avatar--lg { width: 140px; height: 140px; }
  .ls-avatar--md { width: 104px; height: 104px; }
  .ls-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .ls-pcard { gap: 14px; padding: 14px; }
  .ls-pcard__photo { width: 96px; }
  .ls-profile, .ls-pi__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ls-pi__photo { max-width: 240px; }
  .ls-pi__card, .ls-pi__section { padding: 20px; }
  .ls-pi__simplehead { flex-direction: column; align-items: flex-start; }
  .ls-cv__when { width: 96px; }
  .ls-year { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ls-year__title { position: static; font-size: 24px; }
  .ls-pub--numbered { grid-template-columns: 36px minmax(0, 1fr); }
  .ls-pub__num { font-size: 17px; }
  .ls-news { flex-direction: column; gap: 14px; }
  .ls-news__img { width: 100%; }
  .ls-dir__row { flex-wrap: wrap; }
  .ls-dir__meta { width: 100%; text-align: left; padding-left: 70px; }
  .ls-search, .ls-search input { width: 100%; }
  .ls-callout { padding: 28px 24px; }
  .ls-openings, .ls-acards { grid-template-columns: minmax(0, 1fr); }
  .ls-dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ls-dl dd { margin-bottom: 12px; }
  .ls-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Structural layouts. Each template combines one header, one home page, one
   page-title style, one card style and a heading scale (body classes), plus a
   layout for each page. They are designed to be mixed freely.
   ========================================================================== */

/* ---------------------------------------------------------------- card styles */

.ls-cards-raised {
  --card-border: transparent;
  --card-shadow: 0 1px 2px rgb(20 26 34 / 0.05), 0 14px 36px -18px rgb(20 26 34 / 0.3);
  --card-hover-shadow: 0 2px 4px rgb(20 26 34 / 0.06), 0 24px 48px -18px rgb(20 26 34 / 0.38);
}
.ls-cards-filled { --card-bg: color-mix(in srgb, var(--primary) 7%, var(--surface)); --card-border: transparent; --card-hover-shadow: none; }
.ls-cards-bold { --card-border: var(--ink); --card-bw: 2px; --card-shadow: 4px 4px 0 var(--ink); --card-hover-shadow: 7px 7px 0 var(--ink); }

.ls-card, .ls-ncard, .ls-pcard, .ls-acard, .ls-lead, .ls-pi__card, .ls-pi__section, .ls-pi__toc, .ls-opening,
.ls-pubcards .ls-pub, .ls-tile, .ls-timeline__card, .ls-pi__cvcard, .ls-magazine__lead {
  background: var(--card-bg); border: var(--card-bw) solid var(--card-border); box-shadow: var(--card-shadow);
}
a.ls-card:hover, .ls-ncard:hover, .ls-pcard:hover, .ls-acard:hover, a.ls-tile:hover, .ls-magazine__lead:hover { box-shadow: var(--card-hover-shadow); }
.ls-opening { border-top: 3px solid var(--primary); }
.ls-newsgrid--text .ls-ncard { border-top: 3px solid var(--primary); }
.ls-cards-bold a.ls-card:hover, .ls-cards-bold .ls-ncard:hover, .ls-cards-bold .ls-pcard:hover, .ls-cards-bold .ls-acard:hover,
.ls-cards-bold a.ls-tile:hover, .ls-cards-bold .ls-magazine__lead:hover { border-color: var(--ink); transform: translate(-2px, -2px); }
.ls-cards-bold .ls-opening, .ls-cards-bold .ls-newsgrid--text .ls-ncard { border-top-color: var(--ink); }
.ls-cards-bold .ls-chip, .ls-cards-bold .ls-badge { border-radius: 0; }

/* ---------------------------------------------------------------- heading scale */

.ls-type-large { --type-k: 1.26; --head-tracking: -0.03em; }
.ls-type-large .ls-hero__title, .ls-type-large .ls-banner__title, .ls-type-large .ls-pagehead__title { line-height: 1; }
.ls-type-compact { --type-k: 0.86; }
/* Text size, page width and spacing (Design → Layout). */
.ls-text-small { --text-k: 0.92; }
.ls-text-large { --text-k: 1.1; }
.ls-width-narrow { --maxw: 960px; }
.ls-width-wide { --maxw: 1320px; }
.ls-width-full { --maxw: 1680px; }
.ls-space-compact { --space-k: 0.62; }
.ls-space-airy { --space-k: 1.4; }

/* ---------------------------------------------------------------- header heights (sticky offsets) */

.ls-head-classic { --head-h: 73px; }
.ls-head-boxed { --head-h: 66px; --sticky-top: 88px; }
.ls-head-minimal { --head-h: 138px; --sticky-top: 24px; }
.ls-head-masthead { --head-h: 196px; --sticky-top: 76px; }
.ls-head-sidebar, .ls-head-overlay { --sticky-top: 24px; }
.ls-head-floating { --sticky-top: 104px; }

/* Overlay and floating headers sit on top of the page, which starts under them. */
.ls-head-overlay .ls-main > :first-child { border-top: 84px solid transparent; background-origin: border-box; }
.ls-head-floating .ls-main > :first-child { border-top: 92px solid transparent; background-origin: border-box; }

/* ---------------------------------------------------------------- header: sidebar */

.ls-header--sidebar { background: var(--dark); color: var(--on-dark); z-index: 30; }
.ls-side { position: relative; display: flex; flex-direction: column; padding: 32px 22px 24px; }
.ls-side__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ls-side__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; color: #fff; text-decoration: none; }
.ls-side__brand:hover { color: #fff; }
.ls-side__logo { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.ls-side .ls-brand__mark { width: 48px; height: 48px; background: var(--accent); color: var(--dark); }
.ls-side__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 23px; line-height: 1.15; letter-spacing: var(--head-tracking); }
.ls-side__sub { position: relative; margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--on-dark-muted); }
.ls-nav--side a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--on-dark-muted); font-size: 15px; font-weight: 500; text-decoration: none;
}
.ls-nav--side a:hover { color: #fff; background: color-mix(in srgb, var(--on-dark) 8%, transparent); }
.ls-nav--side a.is-active { color: #fff; background: color-mix(in srgb, var(--on-dark) 12%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.ls-side__foot { position: relative; margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--on-dark-muted); }
.ls-side__foot a { color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; }
.ls-head-sidebar .ls-menu-btn { background: transparent; border-color: color-mix(in srgb, var(--on-dark) 25%, transparent); }
.ls-head-sidebar .ls-menu-btn__bars, .ls-head-sidebar .ls-menu-btn__bars::before, .ls-head-sidebar .ls-menu-btn__bars::after { background: var(--on-dark); }
.ls-head-sidebar .ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars { background: transparent; }
@media (min-width: 1001px) {
  .ls-head-sidebar { --side-w: 264px; padding-left: var(--side-w); }
  .ls-header--sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: var(--side-w); overflow-y: auto; }
  .ls-side { min-height: 100%; }
  .ls-nav--side { position: relative; margin-top: 32px; }
  .ls-nav--side ul { flex-direction: column; gap: 2px; }
}

/* ---------------------------------------------------------------- header: overlay */

.ls-header--overlay { position: absolute; left: 0; right: 0; z-index: 20; color: var(--ink); }
.ls-header--overlay .ls-header__inner { min-height: 84px; }
.ls-header--overlay .ls-nav--inline a.is-active::after { bottom: 0; }
.ls-first-dark .ls-header--overlay { color: #fff; }
.ls-first-dark .ls-header--overlay::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgb(0 0 0 / 0.38), transparent); pointer-events: none; }
.ls-first-dark .ls-header--overlay .ls-brand, .ls-first-dark .ls-header--overlay .ls-brand:hover { color: #fff; }
.ls-first-dark .ls-header--overlay .ls-brand__sub { color: rgb(255 255 255 / 0.72); }
.ls-first-dark .ls-header--overlay .ls-brand__mark { background: var(--accent); color: var(--dark); }
.ls-first-dark .ls-header--overlay .ls-nav--inline a { color: rgb(255 255 255 / 0.84); }
.ls-first-dark .ls-header--overlay .ls-nav--inline a:hover { color: #fff; background: rgb(255 255 255 / 0.12); }
.ls-first-dark .ls-header--overlay .ls-nav--inline a.is-active { color: #fff; }
.ls-first-dark .ls-header--overlay .ls-nav--inline a.is-active::after { background: var(--accent); }
.ls-first-dark .ls-header--overlay .ls-menu-btn { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.3); }
.ls-first-dark .ls-header--overlay .ls-menu-btn__bars, .ls-first-dark .ls-header--overlay .ls-menu-btn__bars::before, .ls-first-dark .ls-header--overlay .ls-menu-btn__bars::after { background: #fff; }
.ls-first-dark .ls-header--overlay .ls-menu-btn[aria-expanded='true'] .ls-menu-btn__bars { background: transparent; }

/* ---------------------------------------------------------------- header: floating */

.ls-header--floating { position: fixed; z-index: 40; top: 14px; left: 0; right: 0; padding: 0 16px; pointer-events: none; }
.ls-previewbar ~ .ls-header--floating { top: 46px; }
.ls-float {
  position: relative; display: flex; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 7px 7px 7px 8px;
  border-radius: 999px; pointer-events: auto;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: 0 12px 32px -14px rgb(15 23 42 / 0.32);
}
.ls-float__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; color: var(--ink); text-decoration: none; }
.ls-float__brand:hover { color: var(--ink); }
.ls-float__mark { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.ls-float__logo { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.ls-float__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.ls-nav--pill ul { gap: 2px; }
.ls-nav--pill a { display: block; padding: 9px 13px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ls-nav--pill a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.ls-nav--pill a.is-active { background: var(--primary); color: #fff; }
.ls-head-floating .ls-menu-btn { border-radius: 50%; }

/* ---------------------------------------------------------------- header: boxed */

.ls-header--boxed { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 2px solid var(--ink); }
.ls-boxed { position: relative; display: flex; align-items: stretch; min-height: 64px; }
.ls-boxed__brand {
  display: flex; flex-direction: column; justify-content: center; min-width: 0; margin-right: auto; padding: 10px 28px 10px 24px;
  border-right: 2px solid var(--ink); color: var(--ink); text-decoration: none;
}
.ls-boxed__brand:hover { color: var(--ink); background: var(--primary-soft); }
.ls-boxed__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.15; letter-spacing: var(--head-tracking); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-boxed__sub { margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-nav--boxed ul { height: 100%; }
.ls-nav--boxed li { display: flex; border-left: 2px solid var(--ink); }
.ls-nav--boxed a {
  display: flex; align-items: center; padding: 0 14px; color: var(--ink); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ls-nav--boxed a:hover { background: var(--primary-soft); color: var(--ink); }
.ls-nav--boxed a.is-active { background: var(--ink); color: var(--bg); }
.ls-boxed .ls-menu-btn { align-self: center; margin: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: transparent; }

/* ---------------------------------------------------------------- page titles */

.ls-pagehead--band {
  padding: 76px 0 60px; margin-bottom: 24px; overflow: hidden; color: var(--on-dark); background-color: var(--dark);
  background-image: radial-gradient(ellipse 60% 140% at 100% 0%, color-mix(in srgb, var(--primary) 48%, transparent), transparent 70%);
}
.ls-pagehead--band .ls-pagehead__title { color: #fff; }
.ls-pagehead--band .ls-pagehead__intro { color: color-mix(in srgb, var(--on-dark) 88%, transparent); }
.ls-pagehead--band .ls-pagehead__intro a { color: #fff; }
.ls-pagehead--band .ls-eyebrow { color: var(--accent); }
.ls-pagehead--band + .ls-section { padding-top: 40px; }

.ls-pagehead--giant { padding: 64px 0 0; --motif-fade: linear-gradient(90deg, transparent 40%, #000 95%); }
.ls-pagehead--giant .ls-pagehead__title {
  font-size: calc(clamp(52px, 10vw, 136px) * var(--type-k)); line-height: 0.92; letter-spacing: -0.045em;
  padding-bottom: 22px; border-bottom: 3px solid var(--ink);
}
.ls-pagehead__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding: 18px 0 4px; }
.ls-pagehead__index { margin: 4px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ls-pagehead--giant .ls-pagehead__intro { margin-top: 0; }
.ls-pagehead--giant + .ls-section { padding-top: 36px; }

.ls-pagehead--centered { padding: 76px 0 40px; text-align: center; --motif-fade: radial-gradient(ellipse 50% 90% at 50% 50%, #000, transparent 75%); }
.ls-pagehead--centered .ls-pagehead__intro { max-width: 60ch; margin: 22px auto 0; }
.ls-pagehead__rule { display: block; width: 56px; height: 3px; margin: 22px auto 0; border-radius: 2px; background: var(--primary); }

/* ---------------------------------------------------------------- home: bento */

.ls-bento-wrap { padding: 36px 0 28px; }
.ls-bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(220px, 1fr) auto; gap: 16px; }
.ls-bento--nostats .ls-tile--visual { grid-row: span 2; }
.ls-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; overflow: hidden; border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
a.ls-tile:hover { color: var(--ink); }
.ls-tile.ls-tile--intro { grid-row: span 2; justify-content: flex-end; min-height: 440px; padding: 44px; }
.ls-bento__title { font-size: calc(clamp(36px, 5vw, 64px) * var(--type-k)); line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; }
.ls-bento__text { margin: 16px 0 0; max-width: 38ch; font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); }
.ls-tile--intro .ls-hero__actions { margin-top: 28px; }
.ls-tile.ls-tile--visual {
  min-height: 220px; border-color: transparent; background-color: var(--dark);
  background-image: radial-gradient(ellipse 80% 90% at 85% 10%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 50%);
}
.ls-tile.ls-tile--photo { background-image: var(--hero-image); background-size: cover; background-position: center; }
.ls-tile.ls-tile--stats { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ls-stat { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.ls-stat:hover { color: var(--primary-ink); }
.ls-stat__n { font-family: var(--font-head); font-size: calc(46px * var(--type-k)); line-height: 1; font-weight: var(--head-weight); letter-spacing: -0.03em; color: var(--primary-ink); font-variant-numeric: tabular-nums; }
.ls-stat__label { margin-top: 6px; font-size: 13px; color: var(--muted); }
.ls-bento-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.ls-tile__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ls-tile__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 20px; line-height: 1.25; letter-spacing: var(--head-tracking); padding-right: 24px; }
.ls-tile__text { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ls-tile__go { position: absolute; top: 18px; right: 20px; font-size: 20px; color: var(--primary); transition: transform 0.2s; }
a.ls-tile:hover .ls-tile__go { transform: translateX(4px); }
.ls-tile.ls-tile--pi { flex-direction: row; align-items: center; gap: 16px; }
.ls-tile__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ls-tile.ls-tile--join { background: var(--primary); border-color: transparent; color: #fff; }
.ls-tile--join .ls-tile__label, .ls-tile--join .ls-tile__text { color: rgb(255 255 255 / 0.8); }
.ls-tile--join .ls-tile__go { color: #fff; }
a.ls-tile--join:hover { color: #fff; }
.ls-tile.ls-tile--theme { min-height: 190px; justify-content: flex-end; }
.ls-tile__num { position: absolute; top: 20px; left: 24px; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.ls-home-bento .ls-intro { padding-top: 40px; }

/* ---------------------------------------------------------------- home: editorial */

.ls-edhead { padding: 34px 0 0; }
.ls-edhead__inner { padding-bottom: 22px; border-bottom: 4px double var(--ink); }
.ls-edhead__rule {
  display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.ls-edhead__title { padding: 26px 0 12px; text-align: center; font-size: calc(clamp(44px, 8vw, 112px) * var(--type-k)); line-height: 0.98; letter-spacing: -0.02em; }
.ls-edhead__dek { margin: 0 auto; max-width: 56ch; text-align: center; font-family: var(--font-head); font-style: italic; font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); }
.ls-edfront { padding-top: 36px; }
.ls-edgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.ls-edgrid--single { grid-template-columns: minmax(0, 1fr); }
.ls-edlead__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 18px; border-radius: var(--radius-sm); }
.ls-edlead__kicker { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); }
.ls-edlead__title { font-size: calc(clamp(28px, 3.4vw, 42px) * var(--type-k)); line-height: 1.12; }
.ls-edlead__title a { color: var(--ink); text-decoration: none; }
.ls-edlead__title a:hover { text-decoration: underline; }
.ls-edlead__text { margin: 14px 0 0; max-width: 62ch; font-size: 18px; color: var(--ink-2); }
.ls-edlead__prose { max-width: 64ch; font-size: 19px; line-height: 1.7; }
.ls-edlead__prose > p:first-child::first-letter { float: left; padding: 8px 10px 0 0; font-family: var(--font-head); font-size: 4.4em; line-height: 0.78; color: var(--primary-ink); }
.ls-edside { display: flex; flex-direction: column; gap: 32px; padding-left: 28px; border-left: 1px solid var(--ink); }
.ls-edside__title { margin-bottom: 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ls-briefs { list-style: none; margin: 0; padding: 0; }
.ls-briefs li { display: flex; flex-direction: column; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ls-briefs time { font-size: 12px; font-weight: 600; color: var(--muted); }
.ls-briefs a { font-family: var(--font-head); font-size: 17px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.ls-briefs a:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-edpubs { margin: 0 0 12px; padding: 0 0 0 1.3em; }
.ls-edpubs li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ls-edpubs a, .ls-edpubs li > span:first-child { font-family: var(--font-head); font-size: 16px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.ls-edpubs a:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-edpubs__meta { display: block; margin-top: 2px; font-size: 13.5px; font-style: italic; color: var(--muted); }
.ls-edabout__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding-top: 22px; border-top: 1px solid var(--ink); }
.ls-edlabel { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ls-edabout__text { max-width: none; columns: 2 300px; column-gap: 44px; font-size: 17px; }
.ls-edresearch .ls-section__head { padding-top: 18px; border-top: 1px solid var(--ink); }
.ls-edcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ls-edcol { padding: 0 24px; border-left: 1px solid var(--line); }
.ls-edcol:first-child { padding-left: 0; border-left: 0; }
.ls-edcol__num { font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--primary); }
.ls-edcol__title { margin: 12px 0 8px; font-size: calc(22px * var(--type-k)); }
.ls-edcol__title a { color: var(--ink); text-decoration: none; }
.ls-edcol__title a:hover { color: var(--primary-ink); }
.ls-edcol__text { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- home: statement */

.ls-statement { position: relative; overflow: hidden; padding: 96px 0 72px; --motif-fade: linear-gradient(270deg, #000 0%, transparent 65%); }
.ls-statement__by { margin: 0 0 28px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ls-statement__by strong { color: var(--ink); }
.ls-statement__text { max-width: 17ch; font-size: calc(clamp(40px, 6.6vw, 96px) * var(--type-k)); line-height: 1.02; letter-spacing: -0.035em; }
.ls-statement .ls-hero__actions { margin-top: 44px; }
.ls-index { padding: 8px 0 32px; }
.ls-index__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ls-index__row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr) 32px; align-items: baseline; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: padding 0.2s, background 0.2s;
}
.ls-index__row:hover { padding-left: 12px; background: var(--primary-soft); color: var(--ink); }
.ls-index__num { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ls-index__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(clamp(24px, 3vw, 40px) * var(--type-k)); line-height: 1.1; letter-spacing: -0.02em; }
.ls-index__detail { font-size: 15px; color: var(--muted); }
.ls-index__go { font-size: 22px; color: var(--primary); text-align: right; transition: transform 0.2s; }
.ls-index__row:hover .ls-index__go { transform: translateX(-6px); }
.ls-about__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.ls-about__label { margin: 4px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ls-about__text { max-width: 60ch; font-size: calc(21px * var(--type-k)); line-height: 1.6; color: var(--ink-2); }

/* ---------------------------------------------------------------- home: immersive */

.ls-immersive {
  position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  min-height: max(540px, calc(100vh - var(--head-h, 0px))); min-height: max(540px, calc(100svh - var(--head-h, 0px)));
  padding: 112px 0 104px; text-align: center; color: var(--on-dark); background-color: var(--dark);
  background-image: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--primary) 62%, transparent), transparent 72%),
    radial-gradient(ellipse 60% 50% at 50% 110%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
  --motif-fade: radial-gradient(ellipse 70% 70% at 50% 50%, rgb(0 0 0 / 0.3), #000 85%);
}
.ls-immersive--image { background-image: linear-gradient(rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.6)), var(--hero-image); background-size: cover; background-position: center; }
.ls-immersive__inner { display: flex; flex-direction: column; align-items: center; }
.ls-immersive__eyebrow { color: var(--accent); }
.ls-immersive__title { max-width: 14ch; color: #fff; font-size: calc(clamp(44px, 8vw, 116px) * var(--type-k)); line-height: 0.98; letter-spacing: -0.035em; }
.ls-immersive__text { max-width: 44ch; margin: 24px 0 0; font-size: clamp(18px, 2.2vw, 24px); color: color-mix(in srgb, var(--on-dark) 88%, transparent); }
.ls-immersive .ls-hero__actions { justify-content: center; margin-top: 40px; }
.ls-immersive .ls-btn--ghost { color: #fff; border-color: rgb(255 255 255 / 0.45); }
.ls-immersive .ls-btn--ghost:hover { border-color: #fff; }
.ls-immersive__cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgb(255 255 255 / 0.55); border-radius: 14px; }
.ls-immersive__cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ls-cue 1.8s infinite; }
@keyframes ls-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.ls-lede { padding: calc(96px * var(--space-k)) 0; text-align: center; }
.ls-lede__text { max-width: 34em; margin: 0 auto; font-family: var(--font-head); font-size: calc(clamp(21px, 2.5vw, 29px) * var(--type-k)); line-height: 1.5; color: var(--ink); }
.ls-features { display: flex; flex-direction: column; }
.ls-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
.ls-feature:nth-child(even) { background: var(--tint); }
.ls-feature--flip .ls-feature__media { order: 2; }
.ls-feature__media { position: relative; min-height: 320px; overflow: hidden; background: var(--primary-soft); }
.ls-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ls-feature__media--empty { background-color: var(--dark); background-image: radial-gradient(ellipse 80% 80% at 30% 20%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%); }
.ls-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 64px clamp(24px, 6vw, 96px); }
.ls-feature__num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--primary); }
.ls-feature__title { font-size: calc(clamp(28px, 3.4vw, 44px) * var(--type-k)); line-height: 1.1; }
.ls-feature__text { margin: 0; max-width: 44ch; font-size: 18px; color: var(--ink-2); }
.ls-section--dark { background: var(--dark); color: var(--on-dark); }
.ls-section--dark .ls-section__title { color: #fff; }
.ls-section--dark .ls-section__more { color: var(--accent); }
.ls-section.ls-section--dark, .ls-section--dark + .ls-section { padding-top: 72px; }
.ls-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ls-hcard {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; scroll-snap-align: start; border-radius: var(--radius); color: #fff; text-decoration: none;
  background: color-mix(in srgb, var(--on-dark) 7%, transparent); border: 1px solid color-mix(in srgb, var(--on-dark) 12%, transparent); transition: background 0.2s;
}
.ls-hcard:hover { color: #fff; background: color-mix(in srgb, var(--on-dark) 13%, transparent); }
.ls-hcard__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.ls-hcard__date { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); }
.ls-hcard__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 19px; line-height: 1.3; }

/* ---------------------------------------------------------------- home: spotlight */

.ls-head-sidebar { --page-w: calc(100vw - var(--side-w, 0px)); }
.ls-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(560px, calc(100vh - var(--head-h, 0px))); min-height: max(560px, calc(100svh - var(--head-h, 0px))); }
.ls-spot__body {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0;
  padding: 72px clamp(24px, 5vw, 80px) 64px max(24px, calc((var(--page-w, 100vw) - var(--maxw)) / 2 + 24px));
}
.ls-spot__title { font-size: calc(clamp(40px, 5vw, 76px) * var(--type-k)); line-height: 1.02; letter-spacing: -0.03em; max-width: 13ch; }
.ls-spot__text { max-width: 40ch; margin: 20px 0 0; font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2); }
.ls-spot .ls-hero__actions { margin-top: 32px; }
.ls-spot__pi { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; align-self: stretch; }
.ls-spot__pi:hover strong { color: var(--primary-ink); }
.ls-spot__pi > span { display: flex; flex-direction: column; }
.ls-spot__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ls-spot__pi strong { font-family: var(--font-head); font-size: 18px; font-weight: var(--head-weight); }
.ls-spot__news { align-self: stretch; margin-top: 24px; }
.ls-spot__media { position: relative; min-height: 320px; overflow: hidden; background: var(--primary-soft); }
.ls-spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ls-spot__media--empty { background-color: var(--dark); background-image: radial-gradient(ellipse 80% 70% at 70% 20%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%), radial-gradient(circle at 20% 90%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 50%); }
.ls-spot__media--empty::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--motif-on-dark); opacity: var(--motif-strength); -webkit-mask: var(--motif) 0 0 / var(--motif-size) repeat; mask: var(--motif) 0 0 / var(--motif-size) repeat; }
/* Under a floating or overlay header the photo runs to the top of the page. */
.ls-head-floating .ls-main > .ls-spot:first-child, .ls-head-overlay .ls-main > .ls-spot:first-child { border-top: 0; }
.ls-head-floating .ls-spot__body { padding-top: 140px; }
.ls-head-overlay .ls-spot__body { padding-top: 124px; }
.ls-head-overlay .ls-spot { --head-h: 0px; }

/* ---------------------------------------------------------------- PI page: split and banner */

.ls-pisplit { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.ls-pisplit__aside { position: sticky; top: var(--sticky-top, 96px); display: flex; flex-direction: column; gap: 8px; }
.ls-pisplit__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 14px; overflow: hidden; border-radius: var(--radius); background: var(--primary-soft); }
.ls-pisplit__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-pisplit__aside .ls-pi__name { font-size: calc(32px * var(--type-k)); }
.ls-pisplit__aside .ls-pi__lines { margin-top: 2px; font-size: 15px; }
.ls-pisplit__aside .ls-pi__actions { flex-direction: column; align-items: flex-start; margin-top: 12px; }
.ls-pisplit__aside .ls-links--stack { margin-top: 4px; }
.ls-pisplit__bio { max-width: 62ch; font-family: var(--font-head); font-size: 20px; line-height: 1.65; color: var(--ink); }
.ls-pisplit__main .ls-pi__cvsection { margin-top: 44px; }

.ls-pibanner {
  position: relative; overflow: hidden; padding: 72px 0; color: var(--on-dark); background-color: var(--dark);
  background-image: radial-gradient(ellipse 70% 130% at 100% 0%, color-mix(in srgb, var(--primary) 50%, transparent), transparent 70%);
  --motif-fade: linear-gradient(270deg, #000 10%, transparent 70%);
}
.ls-pibanner__inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: center; }
.ls-pibanner__photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--on-dark) 25%, transparent); background: color-mix(in srgb, var(--on-dark) 10%, transparent); }
.ls-pibanner__photo img { width: 100%; height: 100%; object-fit: cover; }
.ls-pibanner__photo .ls-pi__initials { color: #fff; }
.ls-pibanner .ls-eyebrow { color: var(--accent); }
.ls-pibanner__name { color: #fff; font-size: calc(clamp(34px, 5vw, 60px) * var(--type-k)); line-height: 1.05; }
.ls-pibanner .ls-pi__honors { color: color-mix(in srgb, var(--on-dark) 85%, transparent); }
.ls-pibanner .ls-pi__lines { color: var(--on-dark-muted); }
.ls-pibanner .ls-links--pills a { background: transparent; border-color: color-mix(in srgb, var(--on-dark) 30%, transparent); color: var(--on-dark); }
.ls-pibanner .ls-links--pills a:hover { border-color: var(--accent); color: #fff; }
.ls-pibanner .ls-btn--primary { background: var(--accent); color: var(--dark); }
.ls-pi--banner { padding-top: 56px; }
.ls-pi__lede { max-width: 64ch; font-family: var(--font-head); font-size: calc(23px * var(--type-k)); line-height: 1.55; color: var(--ink); }
.ls-pi__cvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; margin-top: 48px; }
.ls-pi__cvcard { padding: 26px; border-radius: var(--radius-lg); scroll-margin-top: 100px; }

/* ---------------------------------------------------------------- research: numbered and index */

.ls-rnum { list-style: none; margin: 0; padding: 0; }
.ls-rnum__item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 2px solid var(--ink); scroll-margin-top: 100px; }
.ls-rnum__num { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(clamp(56px, 8vw, 104px) * var(--type-k)); line-height: 0.85; letter-spacing: -0.04em; color: var(--primary); font-variant-numeric: tabular-nums; }
.ls-rnum__title { font-size: calc(clamp(26px, 3vw, 36px) * var(--type-k)); }
.ls-rnum__summary { max-width: 60ch; margin: 12px 0 18px; font-size: 19px; color: var(--ink-2); }

.ls-rindex { border-top: 2px solid var(--ink); }
.ls-rindex__item { border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.ls-rindex__item summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) 34px; gap: 16px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.ls-rindex__item summary::-webkit-details-marker { display: none; }
.ls-rindex__num { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.ls-rindex__head { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ls-rindex__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(26px * var(--type-k)); line-height: 1.2; letter-spacing: var(--head-tracking); }
.ls-rindex__item summary:hover .ls-rindex__title { color: var(--primary-ink); }
.ls-rindex__summary { font-size: 15.5px; color: var(--muted); }
.ls-rindex__toggle { position: relative; justify-self: end; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: background 0.2s; }
.ls-rindex__toggle::before, .ls-rindex__toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); transition: transform 0.2s; }
.ls-rindex__toggle::after { transform: rotate(90deg); }
.ls-rindex__item[open] .ls-rindex__toggle { background: var(--ink); border-color: var(--ink); }
.ls-rindex__item[open] .ls-rindex__toggle::before, .ls-rindex__item[open] .ls-rindex__toggle::after { background: var(--bg); transform: rotate(0); }
.ls-rindex__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; padding: 0 0 32px 72px; }
.ls-rindex__body--text { grid-template-columns: minmax(0, 1fr); }
.ls-rindex__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ---------------------------------------------------------------- people: portraits and credits */

.ls-portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 32px 20px; }
.ls-portrait { display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; }
.ls-portrait__photo { display: grid; place-items: center; aspect-ratio: 3 / 4; margin-bottom: 12px; overflow: hidden; border-radius: var(--radius); background: var(--primary-soft); }
.ls-portrait__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.3s, transform 0.4s; }
.ls-portrait:hover .ls-portrait__photo img { filter: none; transform: scale(1.03); }
.ls-portrait__initials { font-family: var(--font-head); font-size: 48px; font-weight: 600; color: var(--primary-ink); }
.ls-portrait__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 19px; line-height: 1.25; }
.ls-portrait:hover .ls-portrait__name { color: var(--primary-ink); }
.ls-portrait__role { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.ls-creditgroup { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.ls-creditgroup:first-child { border-top: 2px solid var(--ink); }
.ls-creditgroup__role { padding-top: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ls-credits { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.ls-credits li { display: flex; flex-direction: column; padding: 0 0 14px; break-inside: avoid; }
.ls-credits a { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(22px * var(--type-k)); line-height: 1.25; color: var(--ink); text-decoration: none; }
.ls-credits a:hover { color: var(--primary-ink); }
.ls-credits span { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- publications: cards and table */

.ls-pubcards--page { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
@media (min-width: 1001px) { .ls-pubcards--home:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-pubcards .ls-pub { display: flex; flex-direction: column; }
.ls-pubcards--page .ls-pub__meta { order: -1; margin: 0 0 10px; font-size: 13.5px; }
.ls-ptable { width: 100%; border-collapse: collapse; }
.ls-ptable th { padding: 0 16px 10px 0; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.ls-ptable td { padding: 16px 16px 16px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.ls-ptable__year { width: 72px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--primary-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ls-ptable__title { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 17.5px; line-height: 1.35; color: var(--ink); text-decoration: none; }
a.ls-ptable__title:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-ptable__authors { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.ls-ptable__venue { width: 22%; font-size: 15px; font-style: italic; color: var(--muted); }
.ls-ptable__venue .ls-badge { display: table; margin-top: 6px; font-style: normal; }
.ls-ptable__links { width: 1%; white-space: nowrap; }
.ls-ptable__links .ls-links { flex-wrap: nowrap; }

/* ---------------------------------------------------------------- news: timeline and magazine */

.ls-timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.ls-timeline::before { content: ''; position: absolute; left: 173px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ls-timeline__item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 48px; padding: 0 0 32px; }
.ls-timeline__item::before { content: ''; position: absolute; left: 167px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); }
.ls-timeline__date { padding-top: 1px; text-align: right; font-size: 14px; font-weight: 700; color: var(--primary-ink); }
.ls-timeline__card { display: flex; flex-direction: column; gap: 8px; max-width: 720px; padding: 22px 24px; border-radius: var(--radius); }
.ls-timeline__card--image { display: grid; grid-template-columns: minmax(0, 1fr) 168px; grid-template-rows: auto 1fr; column-gap: 22px; row-gap: 8px; align-items: start; }
.ls-timeline__img { grid-column: 2; grid-row: 1 / span 2; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.ls-timeline__title { font-size: calc(21px * var(--type-k)); }
.ls-timeline__title a { color: var(--ink); text-decoration: none; }
.ls-timeline__title a:hover { color: var(--primary-ink); text-decoration: underline; }
.ls-timeline__text { margin: 0; color: var(--muted); }

.ls-magazine { display: flex; flex-direction: column; gap: 28px; }
.ls-magazine__lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: box-shadow 0.2s, transform 0.2s; }
.ls-magazine__lead:hover { color: var(--ink); }
.ls-magazine__lead--text { grid-template-columns: minmax(0, 1fr); }
.ls-magazine__img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ls-magazine__body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px; }
.ls-magazine__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(clamp(26px, 3vw, 38px) * var(--type-k)); line-height: 1.15; letter-spacing: -0.015em; }
.ls-magazine__text { font-size: 17px; color: var(--ink-2); }

/* ---------------------------------------------------------------- footer: statement and minimal */

.ls-footer--statement { padding: 88px 0 32px; background: var(--primary); color: rgb(255 255 255 / 0.8); }
.ls-footer--statement a { color: #fff; }
.ls-footer__kicker { margin: 0 0 14px !important; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.75); }
.ls-footer__big { display: inline-block; max-width: 100%; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(30px, 6vw, 80px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.ls-footer__big:hover { text-decoration: underline !important; text-decoration-thickness: 3px; }
.ls-footer__cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.25); }
.ls-footer--statement .ls-footer__name { color: #fff; }
.ls-footer--statement .ls-footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.2); }
.ls-footer--statement .ls-footer__meta a { color: rgb(255 255 255 / 0.8); }
.ls-footer--minimal { padding: 26px 0; border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 14px; }
.ls-footer__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ls-footer--minimal .ls-footer__nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; columns: auto; }
.ls-footer--minimal .ls-footer__nav li { margin: 0; }
.ls-footer--minimal a { color: var(--ink-2); }

/* ---------------------------------------------------------------- structural layouts: small screens */

@media (max-width: 1000px) {
  .ls-header--sidebar { position: sticky; top: 0; }
  .ls-side { padding: 12px 16px; }
  .ls-side__top { align-items: center; }
  .ls-side__brand { flex-direction: row; align-items: center; gap: 10px; }
  .ls-side .ls-brand__mark, .ls-side__logo { width: 38px; height: 38px; }
  .ls-side__name { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ls-side__sub, .ls-side__foot { display: none; }
  .ls-head-floating .ls-nav { top: calc(100% + 8px); border: 1px solid var(--line); border-radius: 18px; }
  .ls-float { border-radius: 26px; }
  .ls-nav--boxed li { border-left: 0; }
  .ls-nav--boxed a.is-active { background: var(--primary-soft); color: var(--primary-ink); }
  .ls-head-boxed .ls-nav { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .ls-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .ls-tile.ls-tile--intro { grid-row: auto; min-height: 0; padding: 32px; }
  .ls-bento--nostats .ls-tile--visual { grid-row: auto; }
  .ls-edgrid, .ls-edabout__grid, .ls-about__grid, .ls-pisplit, .ls-creditgroup, .ls-pagehead__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ls-edside { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .ls-edcols { grid-template-columns: minmax(0, 1fr); }
  .ls-edcol, .ls-edcol:first-child { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .ls-edcol:first-child { border-top: 0; padding-top: 0; }
  .ls-index__row { grid-template-columns: 40px minmax(0, 1fr) 24px; }
  .ls-index__detail { grid-column: 2; grid-row: 2; }
  .ls-index__go { grid-column: 3; grid-row: 1; }
  .ls-feature { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ls-feature--flip .ls-feature__media { order: 0; }
  .ls-feature__media { min-height: 240px; }
  .ls-feature__body { padding: 40px 24px 48px; }
  .ls-spot { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ls-spot__media { order: -1; min-height: 300px; }
  .ls-spot__body, .ls-head-floating .ls-spot__body, .ls-head-overlay .ls-spot__body { padding: 40px 24px 48px; }
  .ls-head-floating .ls-main > .ls-spot:first-child, .ls-head-overlay .ls-main > .ls-spot:first-child { border-top: 0; }
  .ls-head-floating .ls-spot__media, .ls-head-overlay .ls-spot__media { min-height: 380px; }
  .ls-pisplit__aside { position: static; }
  .ls-pisplit__photo { max-width: 260px; }
  .ls-pi__cvgrid, .ls-pubcards--page { grid-template-columns: minmax(0, 1fr); }
  .ls-rindex__body { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .ls-magazine__lead { grid-template-columns: minmax(0, 1fr); }
  .ls-magazine__img { min-height: 220px; }
  .ls-footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .ls-head-overlay .ls-main > :first-child { border-top-width: 72px; }
  .ls-head-floating .ls-main > :first-child { border-top-width: 80px; }
  .ls-header--overlay .ls-header__inner { min-height: 68px; }
  .ls-header--floating { top: 10px; padding: 0 10px; }
  .ls-float__name { font-size: 16px; }
  .ls-boxed__brand { padding: 8px 14px; }
  .ls-boxed__name { font-size: 17px; }
  .ls-boxed__sub { display: none; }
  .ls-pagehead--band { padding: 52px 0 40px; }
  .ls-pagehead--giant { padding-top: 44px; }
  .ls-pagehead--giant .ls-pagehead__title { font-size: min(calc(56px * var(--type-k)), 11vw); overflow-wrap: normal; }
  .ls-pagehead--centered { padding: 52px 0 28px; }
  .ls-bento-wrap { padding-top: 20px; }
  .ls-tile.ls-tile--intro { padding: 24px; }
  .ls-tile.ls-tile--visual { min-height: 160px; }
  .ls-stat__n { font-size: 36px; }
  .ls-edhead__rule span:last-child { display: none; }
  .ls-statement { padding: 56px 0 44px; }
  .ls-index__row { padding: 16px 0; }
  .ls-lede { padding: 56px 0; }
  .ls-pibanner { padding: 48px 0; }
  .ls-pibanner__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ls-pibanner__photo { width: 150px; }
  .ls-rnum__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 0; }
  .ls-rnum__num { font-size: 52px; }
  .ls-rindex__item summary { grid-template-columns: 32px minmax(0, 1fr) 34px; gap: 10px; }
  .ls-creditgroup { gap: 12px; }
  .ls-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .ls-ptable thead { display: none; }
  .ls-ptable, .ls-ptable tbody, .ls-ptable tr, .ls-ptable td { display: block; width: auto; }
  .ls-ptable tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ls-ptable td { padding: 2px 0; border: 0; }
  .ls-ptable__links { white-space: normal; }
  .ls-ptable__links .ls-links { flex-wrap: wrap; margin-top: 6px; }
  .ls-timeline::before { left: 6px; }
  .ls-timeline__item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 30px; }
  .ls-timeline__item::before { left: 0; }
  .ls-timeline__date { text-align: left; }
  .ls-timeline__card { padding: 18px; }
  .ls-timeline__card--image { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 14px; }
  .ls-magazine__body { padding: 24px; }
  .ls-footer--statement { padding-top: 56px; }
  .ls-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .ls-footer__line { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Notebook · Poster · Periodic
   ========================================================================== */

/* ---------------------------------------------------------------- header: tabs (notebook dividers) */

.ls-header--tabs { background: color-mix(in srgb, var(--ink) 5%, var(--bg)); border-bottom: 2px solid var(--ink); }
.ls-tabs { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 28px; padding-top: 20px; position: relative; }
.ls-tabs .ls-nav--tabs { flex: 1 1 100%; }
.ls-tabs__brand { display: flex; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding-bottom: 4px; text-decoration: none; color: var(--ink); flex: none; }
.ls-tabs__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 22px; letter-spacing: var(--head-tracking); line-height: 1.1; }
.ls-tabs__sub { font-size: 12.5px; color: var(--muted); }
.ls-nav--tabs ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ls-nav--tabs a {
  display: block; position: relative; margin-bottom: -2px; padding: 8px 14px 8px;
  border: 2px solid var(--ink); border-bottom: 0; border-radius: 9px 9px 0 0;
  background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--ink);
  font-family: var(--font-head); font-size: 12.5px; text-decoration: none; transition: transform 0.12s;
}
.ls-nav--tabs li:nth-child(3n + 2) a { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.ls-nav--tabs li:nth-child(3n + 3) a { background: color-mix(in srgb, var(--ink) 7%, var(--surface)); }
.ls-nav--tabs a:hover { transform: translateY(-3px); }
.ls-nav--tabs a.is-active { z-index: 1; background: var(--bg) !important; padding-bottom: 10px; transform: none; }
.ls-tabs .ls-menu-btn { align-self: center; margin-bottom: 14px; }
@media (max-width: 1000px) { .ls-tabs { flex-wrap: nowrap; padding-bottom: 12px; } .ls-tabs__brand { flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 2px; } }

/* ---------------------------------------------------------------- home: notebook */

.ls-nb { padding: 48px 0 32px; }
.ls-nb__page {
  --margin: 150px;
  position: relative; background-color: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 22px 44px -28px rgba(0, 0, 0, 0.35);
  padding: 56px 48px 40px calc(var(--margin) + 56px);
  background-image:
    linear-gradient(to right, transparent calc(var(--margin) + 32px), color-mix(in srgb, var(--accent) 55%, transparent) calc(var(--margin) + 32px), color-mix(in srgb, var(--accent) 55%, transparent) calc(var(--margin) + 34px), transparent calc(var(--margin) + 34px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--primary) 15%, transparent) 31px 32px);
}
.ls-nb__page::before {
  content: ''; position: absolute; top: 40px; bottom: 40px; left: 14px; width: 18px;
  background: radial-gradient(circle at 9px 9px, var(--bg) 0 8px, color-mix(in srgb, var(--ink) 18%, transparent) 8px 9px, transparent 9.5px) 0 0 / 18px 120px repeat-y;
}
.ls-nb__head { padding-bottom: 24px; }
.ls-nb__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 22px; font: 400 12px/1.4 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ls-nb__meta span:first-child { color: var(--accent); font-weight: 700; }
.ls-nb__title { margin: 0 0 18px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(38px, 5.6vw, 68px); line-height: 1.05; color: var(--ink); }
.ls-nb__aim { margin: 0 0 26px; max-width: 720px; font-size: 22px; line-height: 1.45; font-style: italic; color: var(--ink-2); }
.ls-nb__aim::before { content: 'Aim — '; font: 700 13px/1 var(--font-head); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.ls-nb__entry { position: relative; padding: 30px 0 14px; border-top: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.ls-nb__margin {
  position: absolute; top: 34px; left: calc(-1 * var(--margin) - 40px); width: var(--margin); margin: 0;
  text-align: right; font: 700 12.5px/1.3 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.ls-nb__body { font-size: 18px; line-height: 32px; }
.ls-nb__body .ls-prose p { margin: 0 0 16px; }
.ls-nb__exps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.ls-nb__exps a { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; align-items: start; color: var(--ink); text-decoration: none; }
.ls-nb__tape { width: 124px; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.35); transform: rotate(-2.5deg); }
.ls-nb__exps li:nth-child(even) .ls-nb__tape { transform: rotate(2deg); }
.ls-nb__exp { display: block; font: 700 11.5px/1.4 var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.ls-nb__exps strong { display: block; font-family: var(--font-head); font-size: 16px; line-height: 1.3; margin: 2px 0 4px; }
.ls-nb__exps a:hover strong { color: var(--primary); }
.ls-nb__note { display: block; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.ls-nb__team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 20px; }
.ls-nb__team a { display: block; padding: 7px 7px 9px; background: #fff; box-shadow: 0 6px 14px -7px rgba(0, 0, 0, 0.35); color: var(--ink); text-decoration: none; transform: rotate(-1.5deg); transition: transform 0.15s; }
.ls-nb__team li:nth-child(even) a { transform: rotate(1.8deg); }
.ls-nb__team a:hover { transform: rotate(0) scale(1.04); }
.ls-nb__team .ls-avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
.ls-nb__team span:not(.ls-avatar) { display: block; margin-top: 6px; font: 400 12px/1.3 var(--font-head); text-align: center; }
.ls-nb__log { list-style: none; margin: 0; padding: 0; }
.ls-nb__log li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
.ls-nb__log time { font: 400 12.5px/32px var(--font-head); color: var(--accent); }
.ls-nb__log a { color: var(--ink); text-decoration: none; }
.ls-nb__log a:hover { color: var(--primary); text-decoration: underline; }

/* ---------------------------------------------------------------- header: rail */

.ls-rail { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--bg); text-decoration: none; }
.ls-rail__name { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: 22px; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.ls-rail__sub { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-railbar { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 60px; padding: 0 20px; background: var(--bg); border-bottom: 4px solid var(--ink); }
.ls-nav--index ul { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; counter-reset: idx; }
.ls-nav--index li { counter-increment: idx; }
.ls-nav--index a { display: block; padding: 19px 8px 17px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; }
.ls-nav--index a::before { content: counter(idx, decimal-leading-zero); margin-right: 4px; font-size: 10px; vertical-align: 3px; color: var(--primary); }
.ls-nav--index a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ls-nav--index a.is-active { background: var(--ink); color: var(--bg); }
@media (min-width: 1001px) {
  body.ls-head-rail { --rail-w: 76px; padding-left: var(--rail-w); }
  .ls-head-rail { --page-w: calc(100vw - var(--rail-w, 0px)); }
  .ls-rail { position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: var(--rail-w); flex-direction: column-reverse; justify-content: flex-start; padding: 26px 0; }
  .ls-rail__name, .ls-rail__sub { writing-mode: vertical-rl; transform: rotate(180deg); }
  .ls-rail__name { font-size: 42px; max-height: calc(100vh - 220px); overflow: hidden; }
  .ls-rail__sub { max-height: 180px; }
}

/* ---------------------------------------------------------------- home: poster */

.ls-poster { padding: 36px 0 72px; }
.ls-poster__head { position: relative; padding: 34px 40px 36px; background: var(--surface); border: 4px solid var(--ink); }
.ls-poster__head::after { content: ''; position: absolute; top: -4px; right: -4px; width: 120px; height: 120px; background: var(--primary); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.ls-poster__title { margin: 0 0 22px; max-width: 90%; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(42px, 7vw, 104px); line-height: 0.92; text-transform: uppercase; color: var(--ink); }
.ls-poster__authors { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.ls-poster__authors sup, .ls-poster__aff sup { color: var(--primary); font-weight: 800; }
.ls-poster__aff { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.ls-poster__abstract { margin: 0 0 24px; max-width: 760px; padding-left: 16px; border-left: 6px solid var(--primary); font-size: 20px; line-height: 1.45; }
.ls-poster__grid { margin-top: 20px; column-count: 3; column-gap: 20px; }
.ls-panel { break-inside: avoid; margin: 0 0 20px; padding: 0 20px 20px; background: var(--surface); border: 4px solid var(--ink); }
.ls-panel__title { display: flex; align-items: center; gap: 12px; margin: 0 -20px 18px; padding: 10px 14px; background: var(--ink); color: var(--bg); font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-transform: uppercase; }
.ls-panel__num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 16px; }
.ls-panel p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; }
.ls-panel__research, .ls-panel__list { list-style: none; margin: 0; padding: 0; }
.ls-panel__research li + li { margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--ink); }
.ls-panel__research img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; border: 2px solid var(--ink); }
.ls-panel__research a { font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; }
.ls-panel__research a:hover { color: var(--primary); }
.ls-panel__research p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.ls-panel__refs { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.45; }
.ls-panel__refs li { margin-bottom: 10px; }
.ls-panel__refs li::marker { font-weight: 800; color: var(--primary); }
.ls-panel__refs strong { display: block; }
.ls-panel__team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.ls-panel__team a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; }
.ls-panel__list li { padding: 6px 0; border-bottom: 2px solid var(--ink); font-weight: 700; }
.ls-panel .ls-arrow-link { display: inline-block; margin-top: 12px; }
@media (max-width: 1000px) { .ls-poster__grid { column-count: 2; } }
@media (max-width: 640px) {
  .ls-poster__grid { column-count: 1; }
  .ls-poster__head { padding: 24px 20px; }
  .ls-poster__head::after { width: 60px; height: 60px; }
}

/* ---------------------------------------------------------------- header: dock */

.ls-docktop { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.ls-docktop__mail { font-family: var(--font-head); font-size: 13px; color: var(--muted); text-decoration: none; }
.ls-docktop__mail:hover { color: var(--primary); }
.ls-dock {
  position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100vw - 24px);
  padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
}
.ls-dock::-webkit-scrollbar { display: none; }
.ls-dock ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ls-dock a { display: block; padding: 9px 14px; border-radius: 999px; white-space: nowrap; color: var(--ink-2); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: transform 0.15s, background 0.15s; }
.ls-dock a:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ls-dock a.is-active { background: var(--primary); color: var(--bg); font-weight: 600; }
body.ls-head-dock { padding-bottom: 84px; }
@media (max-width: 680px) {
  .ls-dock { left: 10px; right: 10px; bottom: 10px; transform: none; max-width: none; }
  .ls-docktop__mail { display: none; }
}

/* ---------------------------------------------------------------- home: periodic table */

.ls-pt { padding: 40px 0 36px; }
.ls-pt__hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 44px; }
.ls-pt__intro .ls-eyebrow { margin: 0; }
.ls-pt__title { margin: 10px 0 26px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(28px, 3.8vw, 50px); line-height: 1.1; color: var(--ink); }
.ls-pt__text { margin: -12px 0 24px; max-width: 620px; font-size: 18px; color: var(--muted); }
.ls-pt__el {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2px; min-width: 0; aspect-ratio: 1;
  padding: 9px 10px; border-radius: var(--radius); text-decoration: none;
  background: var(--el, var(--surface)); color: var(--el-ink, var(--ink));
  border: 1px solid color-mix(in srgb, var(--el, var(--line)) 70%, var(--line)); transition: transform 0.15s, box-shadow 0.15s;
}
a.ls-pt__el:hover { z-index: 1; transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--el) 75%, transparent); }
.ls-pt__num { font: 500 11.5px/1 var(--font-head); opacity: 0.75; }
.ls-pt__sym { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 32px; line-height: 1; letter-spacing: -0.03em; }
.ls-pt__name { font-size: 11.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-pt__mass { font-size: 10px; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-pt__el--lab { width: clamp(190px, 22vw, 260px); padding: 18px 20px; --el: var(--primary); --el-ink: var(--bg); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--primary) 80%, transparent); }
.ls-pt__el--lab .ls-pt__num { font-size: 18px; }
.ls-pt__el--lab .ls-pt__sym { font-size: clamp(76px, 9vw, 120px); }
.ls-pt__el--lab .ls-pt__name { font-size: 16px; }
.ls-pt__el--lab .ls-pt__mass { font-size: 13px; }
.ls-pt__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--muted); }
.ls-pt__key::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: var(--el); vertical-align: -1px; }
.ls-pt__table { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.ls-pt--research { --el: var(--primary); --el-ink: var(--bg); }
.ls-pt--pi { --el: var(--accent); --el-ink: #14110a; }
.ls-pt--senior { --el: color-mix(in srgb, var(--primary) 42%, var(--surface)); --el-ink: var(--ink); }
.ls-pt--student { --el: color-mix(in srgb, var(--primary) 18%, var(--surface)); --el-ink: var(--ink); }
.ls-pt--staff { --el: color-mix(in srgb, var(--accent) 26%, var(--surface)); --el-ink: var(--ink); }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 760px) {
  .ls-nb { padding: 20px 0 16px; }
  .ls-nb__page { padding: 32px 18px 24px 40px; background-image: linear-gradient(to right, transparent 30px, color-mix(in srgb, var(--accent) 55%, transparent) 30px, color-mix(in srgb, var(--accent) 55%, transparent) 32px, transparent 32px), repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in srgb, var(--primary) 15%, transparent) 31px 32px); }
  .ls-nb__page::before { display: none; }
  .ls-nb__margin { position: static; width: auto; text-align: left; margin-bottom: 6px; }
  .ls-nb__exps { grid-template-columns: minmax(0, 1fr); }
  .ls-nb__exps a { grid-template-columns: 92px minmax(0, 1fr); }
  .ls-nb__tape { width: 92px; }
  .ls-nb__log li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ls-nb__log time { line-height: 1.6; }
  .ls-pt__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ls-pt__table { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
  .ls-pt__sym { font-size: 26px; }
}

/* citation count from OpenAlex */
.ls-pub__cited { display: inline-block; margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); font-style: normal; }
.ls-ptable__venue .ls-pub__cited { display: block; margin: 4px 0 0; }

/* ==========================================================================
   Field templates: Angstrom (nanomaterials) · Assay (drug discovery) ·
   Ligand (organometallics) · Cortex (neurobiology) · Herbarium (plant genetics)
   ========================================================================== */

/* the theme's background pattern behind each new opening */
.ls-mg::before, .ls-pp::before, .ls-co::before, .ls-hb::before, .ls-rs::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--motif-on-light); opacity: var(--motif-strength);
  -webkit-mask: var(--motif) 0 0 / var(--motif-size) repeat; mask: var(--motif) 0 0 / var(--motif-size) repeat;
}
.ls-rs::after { background: var(--motif-on-dark); }
.ls-mg, .ls-pp, .ls-co, .ls-hb, .ls-rs { position: relative; }
.ls-mg > *, .ls-pp > *, .ls-co > *, .ls-hb > *, .ls-rs > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- header: ribbon */

.ls-header--ribbon { position: relative; background: var(--surface); }
.ls-header--ribbon::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.ls-ribbon__strip { background: var(--dark); color: var(--on-dark-muted); font-size: 12.5px; letter-spacing: 0.02em; }
.ls-ribbon__stripin { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.ls-ribbon__stripin span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ls-ribbon__stripin a { color: var(--on-dark); text-decoration: none; white-space: nowrap; }
.ls-ribbon__bar { min-height: 86px; padding-bottom: 4px; }
.ls-ribbon__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; color: var(--ink); text-decoration: none; }
.ls-ribbon__mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--radius); background: var(--primary); color: #fff; font: 700 17px/1 var(--font-head); }
.ls-ribbon__name { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: 24px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-nav--ribbon ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ls-nav--ribbon a { display: block; padding: 8px 11px; border-radius: 99px; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.ls-nav--ribbon a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.ls-nav--ribbon a.is-active { background: var(--primary); color: #fff; }

/* ---------------------------------------------------------------- header: centre */

.ls-header--center { background: var(--bg); border-bottom: 4px double color-mix(in srgb, var(--ink) 70%, transparent); }
.ls-center { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; padding-top: 24px; padding-bottom: 20px; }
.ls-center__brand { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); text-decoration: none; }
.ls-center__name { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.ls-center__sub { max-width: 270px; margin-top: 7px; font-size: 11px; line-height: 1.5; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-wrap: balance; }
.ls-center__menu { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.ls-center__menu--left { justify-content: flex-end; }
.ls-center__menu a { display: block; padding: 3px 0; border-bottom: 1px solid transparent; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.ls-center__menu a:hover, .ls-center__menu a.is-active { color: var(--primary-ink); border-bottom-color: var(--primary); }
@media (min-width: 1001px) { .ls-nav--centerphone { display: none; } }
@media (max-width: 1000px) {
  .ls-center { grid-template-columns: minmax(0, 1fr) auto; padding-top: 16px; padding-bottom: 14px; }
  .ls-center__side { display: none; }
  .ls-center__brand { align-items: flex-start; text-align: left; }
}

/* ---------------------------------------------------------------- home: micrograph (nanomaterials) */

.ls-mg { padding: 44px 0 52px; }
.ls-mg__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.ls-mg__view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: #0b0d10; box-shadow: 0 34px 64px -38px rgba(0, 0, 0, 0.65); }
.ls-mg__view img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.06); }
.ls-mg__view--empty { background: radial-gradient(circle at 32% 38%, #59626b, #0b0d10 72%); }
.ls-mg__view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.6)); }
.ls-mg__view::before {
  content: ''; position: absolute; inset: 16px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 24px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 2px 24px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 24px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 2px 24px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 24px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 2px 24px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 24px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 2px 24px no-repeat;
}
.ls-mg__cross { position: absolute; z-index: 2; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); opacity: 0.8; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 50%; background: linear-gradient(var(--accent), var(--accent)) center / 100% 1px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1px 100% no-repeat; }
.ls-mg__tag { position: absolute; z-index: 2; max-width: 44%; overflow: hidden; padding: 4px 8px; border-radius: 3px; background: rgba(0, 0, 0, 0.5); color: #e5edf2; font: 600 11px/1.3 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.ls-mg__tag--tl { top: 26px; left: 26px; }
.ls-mg__tag--tr { top: 26px; right: 26px; }
.ls-mg__tag--bl { bottom: 26px; left: 26px; color: var(--accent); }
.ls-mg__title { margin: 10px 0 16px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: calc(clamp(32px, 4vw, 54px) * var(--type-k)); line-height: 1.06; }
.ls-mg__text { margin: 0 0 24px; font-size: 18.5px; color: var(--ink-2); }
.ls-mg__readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.ls-mg__readout div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ls-mg__readout div:nth-child(odd) { border-right: 1px solid var(--line); }
.ls-mg__readout div:nth-last-child(-n + 2) { border-bottom: 0; }
.ls-mg__readout dt { font: 600 10.5px/1.2 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ls-mg__readout dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--primary-ink); }
.ls-specimens { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ls-specimen { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.ls-specimen__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 7px solid var(--surface); background: #15181b; box-shadow: 0 0 0 1px var(--line), 0 20px 34px -22px rgba(0, 0, 0, 0.55); }
.ls-specimen__img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); transition: filter 0.35s, transform 0.35s; }
.ls-specimen:hover .ls-specimen__img img { filter: none; transform: scale(1.06); }
.ls-specimen__img--empty { background: radial-gradient(circle at 35% 35%, var(--primary-soft), var(--line)); }
.ls-specimen__id { margin-top: 12px; font: 600 11px/1 ui-monospace, 'JetBrains Mono', monospace; letter-spacing: 0.12em; color: var(--accent-ink); }
.ls-specimen__title { font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.ls-specimen:hover .ls-specimen__title { color: var(--primary-ink); }
.ls-specimen__text { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------------- home: pipeline (drug discovery) */

.ls-pp { overflow: hidden; padding: 60px 0 52px; background: radial-gradient(ellipse 55% 70% at 82% 34%, var(--primary-soft), transparent 70%); }
.ls-pp__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ls-pp__title { margin: 10px 0 18px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: calc(clamp(34px, 4.4vw, 60px) * var(--type-k)); line-height: 1.04; }
.ls-pp__text { margin: 0 0 26px; max-width: 560px; font-size: 19px; color: var(--ink-2); }
.ls-pp__capsule { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 2.15 / 1; overflow: hidden; border-radius: 999px; transform: rotate(-22deg); background: linear-gradient(90deg, var(--primary) 50%, var(--accent) 50%); box-shadow: 0 44px 70px -40px color-mix(in srgb, var(--primary) 75%, transparent); }
.ls-pp__capsule img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pp__capsule::before { content: ''; position: absolute; inset: 0 50% 0 0; z-index: 1; background: color-mix(in srgb, var(--primary) 55%, transparent); mix-blend-mode: multiply; }
.ls-pp__capsule::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.7) 49.7% 50.3%, transparent 50.3%), linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 42%); }
.ls-pp__stages { position: relative; display: flex; list-style: none; margin: 52px 0 0; padding: 0; }
.ls-pp__stages::before { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.ls-pp__stages li { position: relative; flex: 1; }
.ls-pp__stages a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 6px; text-align: center; color: var(--ink); text-decoration: none; }
.ls-pp__step { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; border: 2px solid var(--primary); background: var(--surface); color: var(--primary); font: 700 14px/1 var(--font-head); transition: background 0.2s, color 0.2s; }
.ls-pp__stages a:hover .ls-pp__step { background: var(--primary); color: #fff; }
.ls-pp__stages strong { margin-top: 8px; font-family: var(--font-head); font-size: 28px; line-height: 1.1; }
.ls-pp__stages a > span:last-child { font-size: 13.5px; color: var(--muted); }
.ls-programmes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ls-programmes a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; height: 100%; padding: 20px 48px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.ls-programmes a:hover { border-color: var(--primary-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.ls-programmes__code { grid-row: 1 / 3; align-self: start; padding: 7px 10px; border-radius: 99px; background: var(--primary-soft); color: var(--primary-ink); font: 700 12px/1 var(--font-head); letter-spacing: 0.04em; white-space: nowrap; }
.ls-programmes strong { font-family: var(--font-head); font-size: 18px; line-height: 1.3; }
.ls-programmes__text { grid-column: 2; margin-top: 4px; font-size: 15px; color: var(--muted); }
.ls-programmes__go { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; }

/* ---------------------------------------------------------------- home: coordination (organometallics) */

.ls-co { overflow: hidden; padding: 52px 0 44px; background: radial-gradient(circle at 76% 50%, var(--primary-soft), transparent 52%); }
.ls-co__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ls-co__title { margin: 10px 0 18px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: calc(clamp(34px, 4.2vw, 58px) * var(--type-k)); line-height: 1.05; }
.ls-co__text { margin: 0 0 26px; max-width: 520px; font-size: 19px; color: var(--ink-2); }
.ls-co__sphere { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; margin: 0; }
.ls-co__bonds { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ls-co__bonds line { stroke: color-mix(in srgb, var(--ink) 55%, transparent); stroke-width: 1.5; stroke-dasharray: 7 5; vector-effect: non-scaling-stroke; }
.ls-co__shell { fill: none; stroke: var(--primary-line); stroke-width: 1; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.ls-co__metal {
  position: absolute; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 33%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; text-align: center; color: #fff;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--accent) 55%, #fff), var(--accent) 46%, color-mix(in srgb, var(--accent) 55%, #000));
  box-shadow: 0 26px 52px -22px color-mix(in srgb, var(--accent) 85%, transparent), inset 0 -10px 22px rgba(0, 0, 0, 0.25);
}
.ls-co__sym { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 4.8vw, 62px); line-height: 1; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.ls-co__metalname { max-width: 80%; margin-top: 6px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.92; }
.ls-co__ligand { position: absolute; width: 30%; max-width: 172px; padding: 10px 12px; transform: translate(-50%, -50%); border: 1px solid var(--primary-line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-align: center; font: 600 14px/1.25 var(--font-head); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
.ls-co__ligand:hover { transform: translate(-50%, -50%) scale(1.05); border-color: var(--primary); color: var(--primary-ink); }
.ls-co__lnum { display: block; margin-bottom: 4px; font: 600 10.5px/1 var(--font-body); letter-spacing: 0.12em; color: var(--primary); }

/* ---------------------------------------------------------------- home: raster (neurobiology) */

.ls-rs { overflow: hidden; padding: 112px 0 100px; background: var(--dark); color: var(--on-dark); }
.ls-rs--image::before { content: ''; position: absolute; inset: 0 0 0 30%; background: var(--hero-image) center / cover no-repeat; opacity: 0.85; -webkit-mask: linear-gradient(90deg, transparent, #000 50%); mask: linear-gradient(90deg, transparent, #000 50%); }
.ls-rs__inner > * { max-width: 720px; }
.ls-rs__eyebrow { color: var(--primary); }
.ls-rs__title { margin: 12px 0 18px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: calc(clamp(40px, 5.4vw, 78px) * var(--type-k)); line-height: 1.02; color: #fff; }
.ls-rs__text { margin: 0 0 28px; max-width: 560px; font-size: 20px; color: var(--on-dark-muted); }
.ls-activity__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ls-activity__panel { margin: 0; padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.ls-activity__panel figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 26px; }
.ls-activity__panel figcaption strong { font-family: var(--font-head); font-size: 20px; font-weight: var(--head-weight); }
.ls-activity__panel figcaption span { font: 500 12.5px/1 ui-monospace, monospace; color: var(--muted); }
.ls-hist { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 190px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.ls-hist__bar { position: relative; flex: 1; height: var(--h); min-height: 3px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 30%, transparent)); text-decoration: none; transition: filter 0.2s; }
.ls-hist__bar:hover { filter: brightness(1.25); }
.ls-hist__n { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 600 11.5px/1 ui-monospace, monospace; color: var(--ink-2); }
.ls-hist__y { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font: 500 11px/1 ui-monospace, monospace; color: var(--muted); }
.ls-spikes { position: relative; height: 70px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), color-mix(in srgb, var(--line) 70%, transparent) calc(100% / 12 - 1px) calc(100% / 12)); }
.ls-spikes__tick { position: absolute; bottom: 0; width: 2px; height: 72%; transform: translateX(-1px); border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.ls-spikes__list { list-style: none; margin: 16px 0 0; padding: 0; }
.ls-spikes__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.ls-spikes__list time { font: 500 12px/1.6 ui-monospace, monospace; color: var(--accent); }
.ls-spikes__list a { color: var(--ink); text-decoration: none; }
.ls-spikes__list a:hover { color: var(--primary); text-decoration: underline; }
.ls-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 14px; }
.ls-regions a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; overflow: hidden; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.2s; }
.ls-regions a::after { content: ''; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 45%, transparent), transparent 70%); }
.ls-regions a:hover { border-color: var(--primary); }
.ls-regions__id { font: 700 12px/1 ui-monospace, monospace; letter-spacing: 0.08em; color: var(--primary); }
.ls-regions strong { font-family: var(--font-head); font-size: 21px; font-weight: var(--head-weight); line-height: 1.25; }
.ls-regions a > span:last-child { font-size: 14.5px; color: var(--muted); }
.ls-neurons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 22px 14px; }
.ls-neurons a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.ls-neurons .ls-avatar { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px color-mix(in srgb, var(--primary) 60%, transparent), 0 0 26px color-mix(in srgb, var(--primary) 45%, transparent); }

/* ---------------------------------------------------------------- home: herbarium (plant genetics) */

.ls-hb { padding: 44px 0 52px; }
.ls-hb__sheet { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 48px; padding: 40px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 2px 0 var(--line), 0 32px 60px -42px rgba(40, 35, 20, 0.5); }
.ls-hb__specimen { position: relative; min-height: 440px; background: var(--bg); }
.ls-hb__specimen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.2) saturate(0.95); }
.ls-hb__specimen::before, .ls-hb__specimen::after { content: ''; position: absolute; z-index: 1; width: 96px; height: 26px; background: color-mix(in srgb, var(--accent) 20%, rgba(255, 255, 255, 0.62)); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.ls-hb__specimen::before { top: -11px; left: 26px; transform: rotate(-6deg); }
.ls-hb__specimen::after { bottom: -11px; right: 26px; transform: rotate(4deg); }
.ls-hb__specimen--empty { background: repeating-linear-gradient(45deg, var(--bg) 0 10px, color-mix(in srgb, var(--line) 55%, var(--bg)) 10px 11px); }
.ls-hb__body { display: flex; flex-direction: column; }
.ls-hb__title { margin: 10px 0 14px; font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: calc(clamp(38px, 4.6vw, 66px) * var(--type-k)); line-height: 1.02; }
.ls-hb__text { margin: 0 0 24px; font-family: var(--font-head); font-style: italic; font-size: 23px; line-height: 1.4; color: var(--ink-2); }
.ls-hb__label { position: relative; align-self: flex-end; width: min(100%, 370px); margin-top: auto; padding: 14px 16px 12px; border: 1.5px solid var(--ink); background: var(--surface); font-size: 13px; }
.ls-hb__body .ls-hero__actions { margin-bottom: 32px; }
.ls-hb__label::before { content: ''; position: absolute; inset: 3px; border: 0.5px solid var(--ink); pointer-events: none; }
.ls-hb__labhead { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); text-align: center; font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ls-hb__label dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 12px; margin: 0; }
.ls-hb__label dt { font-style: italic; color: var(--muted); }
.ls-hb__label dd { margin: 0; color: var(--ink); }
.ls-mounts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ls-mount { display: flex; flex-direction: column; height: 100%; padding: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 30px -24px rgba(40, 35, 20, 0.55); color: var(--ink); text-decoration: none; transition: transform 0.2s; }
.ls-mount:hover { transform: rotate(-0.6deg) translateY(-3px); }
.ls-mount__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.ls-mount__img img { display: block; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.15); }
.ls-mount__img--empty { background: repeating-linear-gradient(45deg, var(--bg) 0 8px, var(--line) 8px 9px); }
.ls-mount__label { display: flex; flex-direction: column; flex: 1; gap: 3px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--ink); }
.ls-mount__no { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.ls-mount__label strong { font-family: var(--font-head); font-size: 20px; line-height: 1.2; }
.ls-mount__text { font-size: 14px; line-height: 1.45; color: var(--muted); }
.ls-tree { display: flex; flex-direction: column; align-items: center; }
.ls-tree__root { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border: 1.5px solid var(--primary); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; }
.ls-tree__root::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 22px; background: var(--primary-line); }
.ls-tree__root strong { display: block; font-family: var(--font-head); font-size: 20px; line-height: 1.2; }
.ls-tree__root small { font-size: 13px; color: var(--muted); }
.ls-tree__branches { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 44px; }
.ls-tree__branches::before { content: ''; position: absolute; top: -22px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 2px; background: var(--primary-line); }
.ls-tree__branch { position: relative; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ls-tree__branch::before { content: ''; position: absolute; left: 50%; top: -23px; width: 2px; height: 23px; background: var(--primary-line); }
.ls-tree__label { margin: 0 0 10px; text-align: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.ls-tree__branch ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ls-tree__branch a { display: inline-block; padding: 4px 11px; border-radius: 99px; background: var(--primary-soft); color: var(--primary-ink); font-size: 13.5px; text-decoration: none; }
.ls-tree__branch a:hover { background: var(--primary); color: #fff; }
.ls-tree__seeds { width: 100%; margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); text-align: center; }
.ls-tree__seeds ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.ls-tree__seeds strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- smaller screens */

@media (max-width: 1000px) {
  .ls-mg__grid, .ls-pp__grid, .ls-co__grid, .ls-activity__grid { grid-template-columns: minmax(0, 1fr); }
  .ls-specimens, .ls-mounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-programmes { grid-template-columns: minmax(0, 1fr); }
  .ls-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ls-pp__capsule { width: min(78%, 420px); margin: 16px auto 8px; }
  .ls-co__sphere { width: min(100%, 470px); }
  .ls-hb__sheet { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px; }
  .ls-hb__specimen { min-height: 300px; }
  .ls-tree__branches { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  .ls-tree__branches::before, .ls-tree__branch::before { display: none; }
  .ls-rs { padding: 96px 0 72px; }
  .ls-rs--image::before { inset: 0; opacity: 0.35; -webkit-mask: none; mask: none; }
}
@media (max-width: 680px) {
  .ls-regions { grid-template-columns: minmax(0, 1fr); }
  .ls-ribbon__stripin a { display: none; }
  .ls-ribbon__bar { min-height: 70px; }
  .ls-ribbon__name { font-size: 20px; }
  .ls-ribbon__mark { width: 38px; height: 38px; font-size: 14px; }
  .ls-pp__stages { flex-wrap: wrap; row-gap: 22px; }
  .ls-pp__stages li { flex: 0 0 33.33%; }
  .ls-pp__stages::before { display: none; }
  .ls-co__sphere { width: 76%; }
  .ls-co__ligand { width: 38%; padding: 7px 6px; font-size: 11.5px; }
  .ls-co__metalname { display: none; }
  .ls-mounts { grid-template-columns: minmax(0, 1fr); }
  .ls-specimens { gap: 26px 16px; }
  .ls-specimen__img { border-width: 5px; }
  .ls-specimen__title { font-size: 15px; }
  .ls-specimen__text { font-size: 13px; }
  .ls-mg__readout dd { font-size: 22px; }
  .ls-hb__label { align-self: stretch; width: auto; }
  .ls-spikes__list li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------------------------------------------------------------- long menus */

/* A menu label never breaks across lines ("Ananya / Rao"); menus with nine or more pages tighten up instead, more so on narrow screens. */
.ls-nav a, .ls-center__menu a { white-space: nowrap; }
@media (min-width: 1001px) {
  .ls-nav--inline ul:has(> li:nth-child(9)) { gap: 0; }
  .ls-nav--inline ul:has(> li:nth-child(9)) a { padding-left: 9px; padding-right: 9px; font-size: 14.5px; }
  .ls-nav--inline ul:has(> li:nth-child(9)) a.is-active::after { left: 9px; right: 9px; }
  .ls-nav--bar ul:has(> li:nth-child(9)) a { padding-left: 12px; padding-right: 12px; letter-spacing: 0.11em; }
  .ls-nav--boxed ul:has(> li:nth-child(9)) a { padding: 0 10px; letter-spacing: 0.04em; }
  .ls-nav--ribbon ul:has(> li:nth-child(9)) a { padding-left: 9px; padding-right: 9px; }
  .ls-center:has(.ls-center__menu > li:nth-child(5)) .ls-center__menu { gap: 4px 15px; }
  .ls-center:has(.ls-center__menu > li:nth-child(5)) .ls-center__menu a { font-size: 14px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .ls-nav--inline ul:has(> li:nth-child(9)) a { padding-left: 7px; padding-right: 7px; font-size: 14px; }
  .ls-nav--inline ul:has(> li:nth-child(9)) a.is-active::after { left: 7px; right: 7px; }
  .ls-nav--bar ul:has(> li:nth-child(9)) a { padding-left: 9px; padding-right: 9px; letter-spacing: 0.06em; }
  .ls-nav--boxed ul:has(> li:nth-child(9)) a { padding: 0 8px; font-size: 11.5px; letter-spacing: 0.02em; }
  .ls-nav--ribbon ul:has(> li:nth-child(9)) a { padding-left: 7px; padding-right: 7px; font-size: 13.5px; }
  .ls-center:has(.ls-center__menu > li:nth-child(5)) .ls-center__menu { gap: 4px 12px; }
  .ls-center:has(.ls-center__menu > li:nth-child(5)) .ls-center__menu a { font-size: 13px; }
  .ls-center:has(.ls-center__menu > li:nth-child(5)) .ls-center__sub { max-width: 220px; }
}

/* ---------------------------------------------------------------- custom sections (AI assistant) */

/* Each block styles itself (its CSS is nested under .ls-block--<id>); this is only the band around it. */
.ls-block { padding: calc(clamp(28px, 5vw, 56px) * var(--space-k)) 0; }
.ls-block + .ls-block { padding-top: 0; }
.ls-block img { max-width: 100%; height: auto; }
.ls-block svg { max-width: 100%; height: auto; }
/* Full-width custom sections: edge to edge, the section brings its own spacing. */
.ls-block.ls-block-wide { padding: 0; overflow-x: clip; }
.ls-block.ls-block-wide + .ls-block { padding-top: clamp(28px, 5vw, 56px); }
.ls-block.ls-block-bar { padding: 0; }
/* Pictures in Markdown text (![caption](url)). */
.ls-md-figure { margin: 1.4em 0; }
.ls-md-figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.ls-md-figure figcaption { margin-top: 8px; font-size: 0.88em; color: var(--muted); text-align: center; }
.ls-footer-meta-only { padding: 18px 24px 24px; font-size: 13px; color: var(--muted); text-align: center; }
.ls-footer-meta-only a { color: inherit; }
/* Dropdowns in the menu (<details>; site.js closes them on a click elsewhere). */
.ls-navdrop { position: relative; }
.ls-navdrop__d > summary { list-style: none; cursor: pointer; }
.ls-navdrop__d > summary::-webkit-details-marker { display: none; }
.ls-navdrop__d > summary > a { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ls-navdrop__caret { width: 7px; height: 7px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.7; transition: transform 0.15s; }
.ls-navdrop__d[open] .ls-navdrop__caret { transform: rotate(-135deg); margin-top: 3px; }
.ls-navdrop .ls-navdrop__menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; display: flex; flex-direction: column; gap: 0; min-width: 220px; padding: 6px; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.ls-navdrop .ls-navdrop__menu li::before { display: none; }
.ls-navdrop .ls-navdrop__menu a, .ls-navdrop .ls-navdrop__menu span { display: block; padding: 9px 12px; border: 0; border-radius: var(--radius-sm); color: var(--ink-2); font: 500 14.5px/1.35 var(--font-body); letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; background: none; }
.ls-navdrop .ls-navdrop__menu a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ls-navdrop .ls-navdrop__menu a.is-active { color: var(--primary-ink); background: var(--primary-soft); }
.ls-navdrop .ls-navdrop__menu a::after { display: none; }
.ls-nav--side .ls-navdrop .ls-navdrop__menu, .ls-dock .ls-navdrop .ls-navdrop__menu { position: static; box-shadow: none; margin: 4px 0 8px; }
.ls-dock .ls-navdrop .ls-navdrop__menu { position: absolute; top: auto; bottom: calc(100% + 8px); }
.ls-center__menu--right .ls-navdrop__menu, .ls-cmenu__list > ul > .ls-navdrop:last-child .ls-navdrop__menu { left: auto; right: 0; }
@media (max-width: 860px) {
  .ls-nav .ls-navdrop .ls-navdrop__menu { position: static; min-width: 0; padding: 0 0 6px 14px; border: 0; box-shadow: none; background: none; }
  .ls-nav .ls-navdrop__d > summary > a { display: flex; justify-content: space-between; }
}

/* {{menu}} in a custom header: a row of links, folding into a button on small screens (no scripts). */
.ls-cmenu ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.ls-cmenu a { color: inherit; text-decoration: none; font-weight: 500; }
.ls-cmenu a:hover, .ls-cmenu a.is-active { text-decoration: underline; text-underline-offset: 5px; }
.ls-cmenu__fold { display: none; position: relative; }
.ls-cmenu__fold > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); }
.ls-cmenu__fold > summary::-webkit-details-marker { display: none; }
.ls-cmenu__fold > ul .ls-navdrop__menu { position: static; box-shadow: none; border: 0; padding: 0 0 4px 12px; }
.ls-cmenu__fold > ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; flex-direction: column; gap: 0; min-width: 220px; padding: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ls-cmenu__fold > ul a { display: block; padding: 10px 12px; }
@media (max-width: 860px) {
  .ls-cmenu__fold { display: block; }
  .ls-cmenu__list { display: none; }
}
.ls-blk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ls-blk-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ls-blk-list li:last-child { border-bottom: 0; }
.ls-blk-list a { color: inherit; text-decoration: none; }
.ls-blk-list a:hover { color: var(--primary); }
.ls-blk-meta { display: block; margin-top: 2px; font-size: 0.9em; color: var(--muted); }

/* ---------------------------------------------------------------- a publication's own page */

.ls-paper__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.ls-paper__authors { margin: 14px 0 22px; font-size: 16.5px; line-height: 1.55; }
.ls-paper__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ls-paper__h { margin: 34px 0 10px; font-family: var(--font-head); font-size: 20px; font-weight: var(--head-weight); }
.ls-paper__abstract { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.ls-paper__cite { margin: 0 0 12px; padding: 14px 16px; border-left: 3px solid var(--primary); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.ls-paper__bib summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--primary-ink); }
.ls-paper__bib pre { margin: 10px 0 0; padding: 14px; border-radius: var(--radius-sm); background: var(--dark); color: var(--on-dark); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.ls-paper__downloads { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: 14px; }
.ls-paper__doi { color: var(--muted); }
.ls-paper__people { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.ls-paper__people a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.ls-paper__people a:hover { color: var(--primary-ink); }

/* ---------------------------------------------------------------- application form (/join/apply) */

.ls-apply { max-width: 680px; }
.ls-apply__lead { margin: 0 0 26px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.ls-form { display: flex; flex-direction: column; gap: 18px; }
.ls-form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ls-form__row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ls-form__row > label { font-size: 15px; font-weight: 600; color: var(--ink); }
.ls-form__req { color: #b42318; font-weight: 600; }
.ls-form input:not([type='checkbox']):not([type='radio']):not([type='file']),
.ls-form select,
.ls-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 15.5px; }
.ls-form textarea { resize: vertical; line-height: 1.55; }
.ls-form input:focus, .ls-form select:focus, .ls-form textarea:focus { outline: 2px solid var(--primary-line); border-color: var(--primary); }
.ls-form input[type='file'] { padding: 10px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--tint); font: inherit; font-size: 14px; max-width: 100%; }
.ls-form__check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.ls-form__check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.ls-form__help { font-size: 13.5px; color: var(--muted); }
.ls-form__error { font-size: 13.5px; font-weight: 600; color: #b42318; }
.ls-form .ls-form__row.is-error input:not([type='checkbox']), .ls-form .ls-form__row.is-error select, .ls-form .ls-form__row.is-error textarea { border-color: #b42318; }
.ls-form__alert { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fef3f2; color: #912018; font-size: 14.5px; }
.ls-form__note { margin: 0; font-size: 13.5px; color: var(--muted); }
.ls-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ls-form .ls-btn { align-self: flex-start; }
.ls-form .ls-btn:disabled { opacity: 0.55; cursor: not-allowed; }
@media (max-width: 600px) { .ls-form__pair { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- a row of the lab's own table, on its own page */

.ls-row__hero { width: 100%; max-height: 460px; object-fit: cover; margin: 0 0 26px; border-radius: var(--radius); }
.ls-row__fields { display: grid; gap: 0; margin: 22px 0 0; }
.ls-row__field { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ls-row__field dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.ls-row__field dd { margin: 0; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.ls-row__field dd .ls-prose { margin: 0; }
.ls-row__field dd .ls-prose > :first-child { margin-top: 0 !important; }
.ls-row__field dd .ls-prose > :last-child { margin-bottom: 0; }
.ls-row__img { max-width: 100%; border-radius: var(--radius-sm); }
@media (max-width: 600px) { .ls-row__field { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------------------------------------------------------------- videos, maps and interactive pieces (custom sections) */

.ls-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.ls-embed--map { aspect-ratio: 4 / 3; max-height: 520px; }
.ls-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ls-tabset__list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.ls-tabset__tab { margin-bottom: -1px; padding: 10px 16px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; }
.ls-tabset__tab:hover { color: var(--ink); }
.ls-tabset__tab[aria-selected='true'] { border-bottom-color: var(--primary); color: var(--primary-ink); }

.ls-filter__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.ls-filter__tags { display: contents; }
.ls-filter__tag { padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; }
.ls-filter__tag[aria-pressed='true'] { border-color: var(--primary); background: var(--primary); color: #fff; }
.ls-filter__search { flex: 1 1 200px; max-width: 320px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; }
.ls-filter__pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.ls-filter__pager[hidden] { display: none; }
.ls-filter__count { margin: 0; font-size: 14px; color: var(--muted); }
.ls-filter__count b { color: var(--ink); font-weight: 600; }
.ls-filter__pages { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.ls-filter__pages button, .ls-filter__gap { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 14px; }
.ls-filter__pages button { cursor: pointer; }
.ls-filter__pages button:disabled { opacity: 0.5; cursor: not-allowed; }
.ls-filter__pages button[aria-current='page'] { border-color: var(--primary); background: var(--primary); color: #fff; }
.ls-filter__pages svg { width: 18px; height: 18px; }
[data-ls-tags][hidden] { display: none !important; }

.ls-zoomable { cursor: zoom-in; }
.ls-lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 4vh 6vw; border: 0; background: rgba(8, 10, 14, 0.92); color: #fff; }
.ls-lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ls-lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.ls-lightbox__caption { margin: 12px 0 0; max-width: 760px; text-align: center; font-size: 15px; opacity: 0.85; }
.ls-lightbox__caption > :first-child { margin-top: 0; }
.ls-lightbox__caption > :last-child { margin-bottom: 0; }
.ls-lightbox__title { margin: 0 0 12px; font-size: 17px; font-weight: 600; text-align: center; }
.ls-lightbox__title[hidden] { display: none; }
.ls-lightbox button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.ls-lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.ls-lightbox__close { top: 18px; right: 18px; }
.ls-lightbox__prev { left: 18px; top: 50%; }
.ls-lightbox__next { right: 18px; top: 50%; }

[data-ls='carousel'] { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; }
[data-ls='carousel'] > * { flex: 0 0 min(82%, 420px); scroll-snap-align: start; }
.ls-carousel__wrap { position: relative; }
.ls-carousel__prev, .ls-carousel__next { position: absolute; top: 42%; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; box-shadow: var(--shadow); cursor: pointer; }
.ls-carousel__prev { left: -14px; }
.ls-carousel__next { right: -14px; }
@media (max-width: 640px) { .ls-carousel__prev, .ls-carousel__next { display: none; } }

/* ---------------------------------------------------------------- the lab's forms ({{form <id>}} in a custom section) */
.ls-sform { max-width: 680px; }
.ls-sform--sent { padding: 18px 20px; border-left: 3px solid var(--primary); border-radius: var(--radius-sm); background: var(--primary-soft); font-size: 16px; }
.ls-sform--sent p { margin: 0; }

/* ---------------------------------------------------------------- calendar ({{calendar <table>}}) */
.ls-cal { --cal-gap: 6px; }
.ls-cal__month + .ls-cal__month { margin-top: 32px; }
.ls-cal.is-paged .ls-cal__title { display: none; }
.ls-cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ls-cal__label { font-family: var(--font-head); font-size: 20px; font-weight: var(--head-weight); }
.ls-cal__nav { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ls-cal__nav:disabled { opacity: 0.35; cursor: default; }
.ls-cal__title { margin: 0 0 12px; font-family: var(--font-head); font-size: 20px; }
.ls-cal__week, .ls-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--cal-gap); margin: 0; padding: 0; list-style: none; }
.ls-cal__week { margin-bottom: var(--cal-gap); font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }
.ls-cal__day { min-height: 92px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; }
.ls-cal__day.is-blank { border: 0; background: none; }
.ls-cal__day.is-past { opacity: 0.6; }
.ls-cal__day time { display: block; font-weight: 600; color: var(--muted); }
.ls-cal__day.is-today { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.ls-cal__day.is-today time { color: var(--primary-ink); }
.ls-cal__day ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.ls-cal__day li { padding: 2px 6px; border-radius: 4px; background: var(--primary-soft); color: var(--primary-ink); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.ls-cal__day li a { color: inherit; text-decoration: none; }
.ls-cal__day li a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  /* On phones: a list of the days that have events. */
  .ls-cal__week { display: none; }
  .ls-cal__grid { grid-template-columns: minmax(0, 1fr); }
  .ls-cal__day:not(.has-events) { display: none; }
  .ls-cal__day { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; min-height: 0; }
  .ls-cal__day ul { margin: 0; }
  .ls-cal__month:not(:has(.has-events)) .ls-cal__grid::after { content: 'No events this month.'; color: var(--muted); font-size: 14px; }
}

/* ---------------------------------------------------------------- more kinds of questions */
.ls-form__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.ls-form__set legend { margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.ls-form__set .ls-form__help { display: block; margin: -2px 0 8px; }
.ls-form__choices { display: flex; flex-direction: column; gap: 8px; }
.ls-form__choice { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.ls-form__choice input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--primary); }
.ls-form__rating { flex-direction: row; gap: 8px; }
.ls-form__rating .ls-form__choice { position: relative; }
.ls-form__rating .ls-form__choice input { position: absolute; opacity: 0; }
.ls-form__rating .ls-form__choice span { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600; }
.ls-form__rating .ls-form__choice input:checked + span { border-color: var(--primary); background: var(--primary); color: #fff; }
.ls-form__rating .ls-form__choice input:focus-visible + span { outline: 2px solid var(--primary-line); outline-offset: 2px; }
.ls-form__scale { display: flex; justify-content: space-between; max-width: 252px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.ls-form__section { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.ls-form__section h3 { margin: 0; font-family: var(--font-head); font-size: 19px; }
.ls-form__section p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.ls-form .ls-form__section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
