/* Public website: bold photography, deep navy and muted blue accents. */
:root {
  /* Public-only identity: the lab workspace keeps the shared, muted palette. */
  --photo-tone: 7, 18, 34;
  --surface-tone: 11, 23, 41;
  --surface-0: #0b1729;
  --surface-1: #102039;
  --surface-2: #172b45;
  --surface-3: #223c59;
  --text-primary: #edf3f9;
  --text-secondary: #c0cede;
  --text-muted: #9db1c8;
  --accent-orange: #94b9dd;
  --accent-cyan: #b1d3e3;
  --line: rgba(200, 211, 211, 0.2);
  --radius-card: 4px;
  --bg-1: var(--surface-0);
  --bg-2: var(--surface-1);
  --bg-3: var(--surface-2);
  --fg-1: var(--text-primary);
  --fg-2: var(--text-secondary);
  --fg-3: var(--text-muted);
  --fg-4: var(--text-muted);
  --border-1: var(--line);
  --border-2: rgba(172, 193, 218, 0.28);
  --navy-900: var(--text-primary);
  --navy-700: var(--accent-cyan);
  --gold-600: var(--accent-orange);
  --gold-700: var(--accent-orange);
  --gold-500: var(--accent-orange);
  --gray-50: var(--surface-1);
  --gray-100: var(--surface-2);
  --gray-500: var(--text-muted);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.22;
}
p {
  color: var(--text-secondary);
}
a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.18s,
    background 0.18s,
    border-color 0.18s;
}
a:hover {
  color: var(--accent);
}
button {
  cursor: pointer;
  font: inherit;
}
button,
input,
textarea,
select {
  color: inherit;
}
button {
  background: transparent;
  border: 0;
}
img {
  max-width: 100%;
  display: block;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: #0a0e14;
}
.max-w {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.w-section {
  padding-block: 88px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font: 600 11px/1.5 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.w-section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-top: 12px;
  max-width: 750px;
}
.w-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}
.w-text-link,
.w-link-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.w-text-link:hover,
.w-link-gold:hover {
  color: var(--accent);
}
.w-sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.w-sh-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.w-btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.w-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0e14;
}
.w-btn-primary:hover {
  color: #0a0e14;
  background: color-mix(in srgb, var(--accent) 80%, white);
  border-color: color-mix(in srgb, var(--accent) 80%, white);
  transform: translateY(-2px);
}
.w-btn-secondary,
.btn-ghost {
  background: transparent;
  color: var(--text);
}
.w-btn-secondary:hover,
.btn-ghost:hover {
  background: var(--surface-3);
  border-color: var(--border-2);
  color: var(--text);
}
.w-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--dim);
  font-size: 15px;
}
.w-content-status {
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.w-skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: #0a0e14;
  border-radius: 8px;
}
.w-skip-link:focus {
  top: 12px;
}

/* Compact navigation; secondary destinations stay grouped and keyboard accessible. */
.w-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.w-nav-inner {
  width: min(1344px, calc(100% - 80px));
  margin: auto;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.w-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.w-brand-mark {
  display: inline-flex;
  width: 126px;
  height: 76px;
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
  flex-shrink: 0;
}
.w-brand-copy {
  display: grid;
  gap: 8px;
}
.w-brand-copy strong {
  display: block;
  max-width: 230px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.w-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.45);
  filter: url('/assets/site-logos/remove-black.svg#transparent-black');
}
.w-brand-sub {
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1;
}
.w-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.w-nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  padding-block: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.w-nav-link:hover,
.w-nav-link.active {
  color: var(--text);
}
.w-nav-link.active {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 9px;
}
.w-nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.w-nav-signin:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.w-nav-toggle {
  display: none;
  font-size: 24px;
  height: 44px;
  width: 44px;
}
.w-nav-resources {
  position: relative;
}
.w-nav-resources summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-nav-resources summary::-webkit-details-marker {
  display: none;
}
.w-resource-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px #0006;
}
.w-resource-menu .w-nav-link {
  padding: 10px 12px;
  border-radius: 6px;
}
.w-resource-menu .w-nav-link:hover {
  background: var(--surface-3);
}

/* One continuous image surface holds the home navigation, title and statistics. */
#app {
  position: relative;
}
.w-home-immersive > .w-nav {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}
.w-home-immersive .w-nav-inner {
  width: min(1240px, calc(100% - 96px));
}
.w-home-immersive .w-nav-link {
  color: #e2e5e5;
}
.w-home-immersive .w-nav-link:hover {
  color: #fff;
}
.w-hero {
  --hero-gutter: max(48px, calc((100% - 1240px) / 2));
}
.w-hero > .max-w {
  width: 100%;
  margin: 0;
}
.w-hero-stage {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(680px, 96svh, 900px);
  background: var(--bg);
}
.w-hero-heading {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: end;
  padding: 170px var(--hero-gutter) 230px;
  pointer-events: none;
}
.w-hero-title {
  max-width: 1000px;
  font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
  color: #fff;
}
.w-hero-media {
  grid-area: 1 / 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.w-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s;
}
.w-hero-slide.active {
  opacity: 1;
}
.w-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.w-hero-slide .w-hero-photo-right {
  object-position: right center;
}
.w-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(var(--surface-tone), 0.9) 8%, transparent 40%),
    linear-gradient(180deg, rgba(var(--photo-tone), 0.78), transparent 27%),
    linear-gradient(
      90deg,
      rgba(var(--photo-tone), 0.76),
      rgba(var(--photo-tone), 0.28) 68%,
      rgba(var(--photo-tone), 0.12)
    );
  pointer-events: none;
}
.w-hero-media-bar {
  position: absolute;
  inset: auto var(--hero-gutter) 145px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.w-media-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #fff;
}
.w-media-label > span {
  color: var(--cyan);
  font-size: 20px;
}
.w-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-dot {
  width: 36px;
  height: 44px;
  position: relative;
  padding: 0;
}
.w-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5bbbc;
  margin: auto;
}
.w-dot.active::after {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}
.w-carousel-pause {
  color: #fff;
  font-size: 12px;
  min-height: 44px;
  padding: 8px 12px;
  margin-left: 8px;
  background: #101719cc;
  border-radius: 6px;
}
.w-hero-metrics {
  position: absolute;
  inset: auto var(--hero-gutter) 40px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 24px clamp(28px, 5vw, 72px);
  background: transparent;
}
.w-metric {
  display: flex;
  align-items: center;
  gap: 12px;
}
.w-metric-num {
  font: 650 28px/1.2 var(--font-sans);
  letter-spacing: -0.04em;
  color: var(--text);
}
.w-metric-lbl {
  font-size: 12px;
  line-height: 1.4;
  color: #c5cecf;
}
.w-research {
  padding-top: 40px;
}

/* A single editorial research feature, without a card grid. */
.w-research-feature {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: 100px;
}
.w-research-backdrop,
.w-partner-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.w-research-backdrop {
  object-position: 70% 50%;
}
.w-research-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg), transparent 20%, transparent 82%, var(--bg)),
    linear-gradient(
      90deg,
      rgba(var(--photo-tone), 0.93),
      rgba(var(--photo-tone), 0.79) 47%,
      rgba(var(--photo-tone), 0.24)
    );
}
.w-research-content {
  padding-block: 30px;
}
.w-research-story {
  max-width: 690px;
}
.w-research-story h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.045em;
  margin: 22px 0;
  text-wrap: balance;
}
.w-research-story p {
  max-width: 62ch;
  color: #d3d9d9;
  line-height: 1.8;
  font-size: 16px;
}
.w-feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 26px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: #ffffff60;
}
.w-research-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.w-topic-arrow {
  min-width: 44px;
  min-height: 44px;
  font-size: 24px;
  color: #fff;
  border-radius: 50%;
  background: #11191dc9;
}
.w-topic-arrow:hover {
  background: #34434b;
}
.w-research-count {
  font: 12px var(--font-mono);
  color: #e0e4e4;
}
.w-updates {
  background: var(--bg);
  border: 0;
}
.w-two {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
}
.w-pub-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-2);
}
.w-pub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.w-pub-year {
  font: 12px var(--font-mono);
  color: var(--cyan);
  border: 1px solid #00d9ef30;
  border-radius: 5px;
  padding: 5px 9px;
}
.w-pub-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.w-pub-authors {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}
.w-pub-venue {
  font-size: 12px;
  margin-top: 6px;
  color: var(--dim);
}
.w-pub-card-actions {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.w-news-stack {
  margin-bottom: 24px;
}
.w-home-news .w-news-card {
  position: relative;
  padding: 20px 32px 20px 0;
  border-top: 1px solid var(--line);
}
.w-home-news .w-news-date {
  font: 11px var(--font-mono);
  color: var(--dim);
}
.w-home-news .w-news-title {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  margin-top: 10px;
}
.w-home-news .w-news-arrow {
  position: absolute;
  right: 0;
  top: 26px;
  color: var(--accent);
  font-size: 22px;
}
.w-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.w-gallery-slide {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1.35;
  background: var(--surface-1);
}
.w-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.w-gallery-slide:hover img {
  transform: scale(1.04);
}
.w-gallery-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 40px 22px 22px;
  background: linear-gradient(transparent, rgba(var(--photo-tone), 0.94));
}
.w-gallery-cat {
  font: 10px var(--font-mono);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.w-gallery-title {
  margin-top: 7px;
  font-size: 18px;
  color: #fff;
}
.w-gallery-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-gallery-nav .w-text-link {
  margin-left: 14px;
}
.w-gallery-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}
.w-gallery-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* Logos sit directly on a subdued photograph with no individual plates. */
.w-partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 100px;
  text-align: left;
}
.w-partners::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--bg),
    rgba(var(--photo-tone), 0.87) 28%,
    rgba(var(--photo-tone), 0.87) 72%,
    var(--bg)
  );
}
.w-partners .eyebrow {
  color: #ced5d6;
}
.w-sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 38px 44px;
  margin-top: 46px;
}
.w-sponsor-logo {
  width: 170px;
  height: 76px;
  object-fit: contain;
}
.w-sponsor-logo-mono {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
/* The authentic ES2 JPEG has a white canvas. Screen blending removes that canvas
   visually while retaining the original artwork in the repository. */
.w-sponsor-logo-paper {
  width: 230px;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
.w-join-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-1);
}
.w-join-banner h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 16px;
}
.w-join-banner p {
  font-size: 14px;
  margin-top: 16px;
  color: var(--dim);
}
.w-join-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
}

/* Shared inner-page shells and dialogs */
.w-page-banner {
  padding: 68px 0 48px;
  background: transparent;
  border: 0;
}
.w-page-banner-title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 550;
  letter-spacing: -0.055em;
  margin-top: 20px;
  max-width: 1000px;
}
.w-page-banner-intro {
  margin-top: 20px;
  max-width: 740px;
  font-size: 16px;
  line-height: 1.75;
}
.w-page-content {
  padding: 48px 0 80px;
}
.w-page-content.on-white {
  background: var(--bg);
}
.w-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.w-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.w-back {
  display: inline-block;
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 28px;
}
.w-back:hover {
  color: var(--accent);
}
.w-app-modal-bg,
.w-lightbox-bg {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #03060bd9;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.w-app-modal {
  width: min(1200px, 100%);
  height: min(88vh, 1000px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}
.w-app-modal-head {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.w-app-modal-copy h3 {
  font-size: 18px;
}
.w-app-modal-copy p {
  font-size: 13px;
  margin-top: 6px;
}
.w-app-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.w-app-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--surface-1);
}
.w-lightbox {
  width: min(1000px, 100%);
  max-height: 92vh;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  overflow: auto;
}
.w-lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #05070c;
}
.w-lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  gap: 20px;
}
.w-lightbox-meta strong,
.w-lightbox-meta span {
  display: block;
}
.w-lightbox-meta span {
  color: var(--dim);
  font-size: 13px;
}
.w-lightbox-close {
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
}

/* Footer */
.w-footer {
  border-top: 0;
  padding-top: 60px;
  background: linear-gradient(180deg, var(--bg), var(--surface-1) 75%);
}
.w-footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.w-foot-logo {
  width: 172px;
  height: 102px;
  margin-bottom: 20px;
}
.w-foot-sub {
  max-width: 270px;
  font-size: 14px;
  line-height: 1.65;
}
.w-foot-address {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
  margin-top: 16px;
}
.w-foot-h {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.w-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.w-footer li {
  margin: 10px 0;
  font-size: 13px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.w-footer-institutions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 50px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.w-footer-institutions > span {
  color: var(--dim);
  font-size: 12px;
}
.w-anchor-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.w-anchor-logo {
  max-width: 230px;
  height: 64px;
  object-fit: contain;
}
.w-anchor-logo.is-es2 {
  width: 150px;
}
.w-anchor-logo.is-nsf {
  width: 70px;
}
.w-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--dim);
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-block: 22px;
}

@media (max-width: 1100px) {
  .max-w {
    width: calc(100% - 64px);
  }
  .w-nav-inner {
    width: calc(100% - 48px);
  }
  .w-nav-links {
    gap: 20px;
  }
  .w-two {
    gap: 36px;
  }
  .w-footer-grid {
    gap: 24px;
  }
}
@media (max-width: 1100px) {
  .w-nav-toggle {
    display: block;
  }
  .w-nav-inner {
    min-height: 74px;
  }
  .w-nav-links {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 20px 32px 28px;
    background: var(--surface-1);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 74px);
    overflow: auto;
  }
  .w-nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .w-nav-link {
    display: block;
    font-size: 16px;
    padding-block: 12px;
  }
  .w-nav-signin {
    justify-content: center;
    margin-top: 14px;
  }
  .w-resource-menu {
    position: static;
    box-shadow: none;
    margin-bottom: 10px;
    background: var(--surface-2);
  }
  .w-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .w-two {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .w-footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .w-join-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .w-join-actions {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .max-w {
    width: calc(100% - 40px);
  }
  .w-section {
    padding-block: 56px;
  }
  .w-nav-inner {
    width: calc(100% - 36px);
    min-height: 86px;
  }
  .w-brand-mark {
    width: 90px;
    height: 56px;
  }
  .w-brand-copy strong {
    font-size: 12px;
  }
  .w-brand-sub {
    font-size: 8px;
  }
  .w-media-label {
    font-size: 11px;
  }
  .w-dot {
    width: 22px;
    height: 28px;
  }
  .w-carousel-pause {
    font-size: 10px;
    padding: 5px 7px;
    margin-left: 4px;
  }
  .w-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
  }
  .w-section-title {
    font-size: 30px;
  }
  .w-grid-2,
  .w-grid-3 {
    grid-template-columns: 1fr;
  }
  .w-pub-card {
    padding: 24px;
  }
  .w-pub-title {
    font-size: 21px;
  }
  .w-gallery-strip {
    grid-template-columns: 1fr;
  }
  .w-gallery-slide {
    aspect-ratio: 1.6;
  }
  .w-join-banner {
    padding: 28px;
    border-radius: 14px;
    gap: 28px;
  }
  .w-join-actions {
    gap: 24px;
  }
  .w-footer {
    padding-top: 44px;
  }
  .w-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .w-footer-identity {
    grid-column: 1/-1;
  }
  .w-foot-sub {
    max-width: 340px;
  }
  .w-footer-institutions {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .w-anchor-row {
    gap: 24px;
  }
  .w-anchor-logo {
    max-width: 140px;
  }
  .w-anchor-logo.is-es2 {
    width: 60px;
  }
  .w-footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .w-page-banner {
    padding-block: 40px 32px;
  }
  .w-page-banner-title {
    font-size: 32px;
  }
  .w-page-banner-intro {
    font-size: 15px;
  }
  .w-page-content {
    padding-block: 32px 56px;
  }
  .w-app-modal-bg,
  .w-lightbox-bg {
    padding: 10px;
  }
  .w-app-modal-head {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .w-content-status {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.w-vacancy {
  padding: 24px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.w-vacancy h2 {
  font-size: 24px;
  margin: 12px 0;
}
.w-vacancy p {
  white-space: pre-line;
  max-width: 70ch;
  margin-bottom: 16px;
}
.w-opportunity-grid .w-icon-card {
  padding: 24px;
}
.w-opportunity-grid h2 {
  font-size: 20px;
}
.w-anchor-row {
  flex-wrap: wrap;
  justify-content: center;
}

.w-home .w-pub-card,
.w-home .w-join-banner {
  border: 0;
}
.w-home .w-gallery-slide {
  border: 0;
}
.w-home .w-news-card {
  border-top: 0;
}
.w-home .w-pub-card-actions {
  border-top: 0;
  padding-top: 8px;
}
@media (max-width: 1100px) {
  .w-hero {
    --hero-gutter: 32px;
  }
  .w-home-immersive .w-nav-inner {
    width: calc(100% - 64px);
  }
}
@media (max-width: 600px) {
  .w-hero {
    --hero-gutter: 22px;
  }
  .w-home-immersive .w-nav-inner {
    width: calc(100% - 36px);
  }
  .w-hero-stage {
    min-height: 700px;
  }
  .w-hero-slide .w-hero-photo-left {
    object-position: 12% center;
  }
  .w-hero-heading {
    padding: 155px var(--hero-gutter) 300px;
  }
  .w-hero-prefix {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .w-hero-subject {
    font-size: clamp(38px, 9vw, 54px);
    line-height: 1.08;
  }
  .w-hero-media-bar {
    flex-wrap: wrap;
    gap: 2px;
    bottom: 168px;
  }
  .w-media-label {
    width: 100%;
    font-size: 12px;
  }
  .w-dot {
    width: 32px;
    height: 44px;
  }
  .w-carousel-pause {
    min-height: 44px;
    font-size: 12px;
    padding: 7px 10px;
  }
  .w-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    bottom: 40px;
  }
  .w-metric {
    gap: 8px;
  }
  .w-metric-num {
    font-size: 26px;
  }
  .w-metric-lbl {
    font-size: 11px;
  }
  .w-nav-links {
    max-height: calc(100dvh - 86px);
  }
  .w-anchor-logo.is-es2 {
    width: 140px;
  }
  .w-research-feature {
    min-height: 680px;
    padding-block: 65px;
  }
  .w-research-feature::before {
    background: linear-gradient(
      180deg,
      var(--bg),
      rgba(var(--photo-tone), 0.8) 20%,
      rgba(var(--photo-tone), 0.8) 80%,
      var(--bg)
    );
  }
  .w-research-story h2 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .w-research-story p {
    font-size: 15px;
  }
  .w-partners {
    padding-block: 70px;
  }
  .w-sponsor-grid {
    gap: 26px 24px;
    margin-top: 36px;
  }
  .w-sponsor-logo {
    width: 130px;
    height: 60px;
  }
  .w-sponsor-logo-paper {
    width: 190px;
  }
}

/* One heading rhythm and quiet transitions across the public site. */
.w-home :is(.w-section-title, .w-sh-title, .w-research-story h2),
.w-page-banner-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.w-home .eyebrow {
  color: #b8c9cf;
}
.w-home :is(.w-pub-card, .w-join-banner) {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.w-home .w-section {
  background-color: var(--bg);
}
.w-sponsor-name {
  width: 170px;
  text-align: center;
  color: #e5e9e9;
  font-size: 21px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .w-brand-copy strong {
    font-size: 11px;
    max-width: 175px;
  }
  .w-brand {
    gap: 8px;
  }
  .w-hero-title {
    font-size: clamp(36px, 9vw, 50px);
  }
  .w-sponsor-name {
    width: 130px;
    font-size: 18px;
  }
}

/* Navy preview: photographs fade into the same surface at every boundary. */
.w-home .eyebrow {
  font-size: 13px;
  letter-spacing: 0.13em;
  color: #bdd4e9;
}
.w-page-banner-title {
  margin-top: 0;
}
.w-updates {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.w-updates-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.w-updates::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg), transparent 22%, transparent 78%, var(--bg)),
    linear-gradient(90deg, rgba(var(--photo-tone), 0.87), rgba(var(--photo-tone), 0.91));
}
.w-footer-institutions {
  border: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 36px;
}
.w-footer-bottom {
  border: 0;
}
.w-anchor-row {
  width: 100%;
  justify-content: space-around;
  gap: 36px;
}
.w-anchor-logo {
  width: 210px;
  max-width: 240px;
  height: 110px;
}
.w-anchor-logo.is-nsf {
  width: 100px;
  height: 100px;
}
.w-anchor-logo.is-es2 {
  width: 260px;
  max-width: 280px;
  height: 105px;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}
@media (max-width: 600px) {
  .w-anchor-row {
    justify-content: center;
    gap: 28px;
  }
  .w-anchor-logo {
    width: 170px;
    height: 95px;
  }
  .w-anchor-logo.is-es2 {
    width: 220px;
  }
  .w-anchor-logo.is-nsf {
    width: 85px;
    height: 85px;
  }
}

/* Saved public palettes; shared workspace styles are unaffected. */
:root[data-theme='graphite'],
:root[data-theme='graphite-green'] {
  --surface-0: #151719;
  --surface-1: #1c1f21;
  --surface-2: #24282b;
  --surface-3: #303639;
  --text-primary: #f3f1ec;
  --text-secondary: #c1c4c4;
  --text-muted: #a4adae;
  --accent-orange: #db9476;
  --accent-cyan: #b4cbcc;
  --photo-tone: 13, 17, 20;
  --surface-tone: 21, 23, 25;
}
.w-home .eyebrow {
  color: var(--cyan);
}
.w-nav {
  background:
    linear-gradient(rgba(var(--photo-tone), 0.85), rgba(var(--photo-tone), 0.92)),
    url('/assets/lab/lab-overview.jpg') center 38% / cover;
}
.w-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-1);
}
.w-footer-institutions {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.w-home > section + section {
  border-top: 0;
}
.w-section-enter {
  animation: section-arrival 700ms ease-out both;
}
@keyframes section-arrival {
  from {
    opacity: 0.45;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .w-section-enter {
    animation: none;
  }
}

:root[data-theme='graphite-green'] {
  --accent-orange: #91c83e;
  --accent-cyan: #bddb96;
}
.w-research-control {
  background: rgba(var(--photo-tone), 0.8);
}
.w-research-control:hover {
  background: var(--surface-3);
}
/* Background images fade into the selected palette without luminous separators. */
.w-photo-surface {
  position: relative;
  isolation: isolate;
}
.w-photo-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.w-photo-field img {
  display: block;
  width: 100%;
  height: 1250px;
  object-fit: cover;
  opacity: 0.09;
  margin-bottom: 700px;
  mask-image: linear-gradient(transparent, #000 12%, #000 62%, transparent);
}
.w-photo-surface > .w-page-content {
  background: transparent;
}
.w-photo-surface.w-footer {
  background: var(--surface-1);
}
.w-photo-surface.w-footer .w-photo-field {
  z-index: 0;
}
.w-photo-surface.w-footer > :not(.w-photo-field) {
  position: relative;
}
.w-join-section,
.w-gallery {
  background: var(--bg);
}
.w-home .w-photo-field img {
  height: 100%;
  margin: 0;
  opacity: 0.16;
}

.w-hero-slide img:not([src]),
.w-partner-backdrop:not([src]),
.w-updates-backdrop:not([src]) {
  display: none;
}
