:root {
  --ink: #102632;
  --ink-soft: #3a5260;
  --mist: #eef4f6;
  --paper: #f7fafb;
  --line: rgba(16, 38, 50, 0.12);
  --accent: #0f7a72;
  --accent-deep: #0a5a54;
  --warm: #c9783a;
  --hero-text: #f4f8f9;
  --max: 68rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-nav-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 122, 114, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(201, 120, 58, 0.07), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 45%, var(--paper) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
.hero-brand,
.logo-text,
.person-name,
.peer-name {
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  max-width: 22ch;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 0.28rem 0;
  transform: translateY(-120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

.noscript-banner {
  margin-top: var(--header-h);
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  background: #f3e6d8;
  border-bottom: 1px solid rgba(201, 120, 58, 0.35);
}

.site-header {
  --header-fg: #ffffff;
  --header-fg-muted: rgba(255, 255, 255, 0.88);
  --header-bg: transparent;
  --header-line: transparent;
  --header-cta-border: rgba(255, 255, 255, 0.55);
  --header-cta-bg: transparent;
  --header-cta-fg: #fff;

  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--header-fg);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open,
.page-inner .site-header {
  --header-fg: var(--ink);
  --header-fg-muted: var(--ink-soft);
  --header-bg: rgba(247, 250, 251, 0.96);
  --header-line: var(--line);
  --header-cta-border: var(--accent);
  --header-cta-bg: var(--accent);
  --header-cta-fg: #fff;
}

.page-inner {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-inner #main {
  flex: 1 0 auto;
}

.header-inner {
  width: min(100% - 2rem, calc(var(--max) + 4rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  transition: gap 0.3s var(--ease);
}

.logo-mark {
  flex: 0 0 auto;
  width: 0;
  height: 2.35rem;
  display: block;
  object-fit: contain;
  opacity: 0;
  overflow: hidden;
  transition:
    width 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.site-header.is-scrolled .logo,
.site-header.is-open .logo,
.page-inner .logo {
  gap: 0.75rem;
}

.site-header.is-scrolled .logo-mark,
.site-header.is-open .logo-mark,
.page-inner .logo-mark {
  width: 2.35rem;
  opacity: 1;
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.site-header.is-scrolled .logo-copy,
.site-header.is-open .logo-copy,
.page-inner .logo-copy {
  max-width: 12rem;
  opacity: 1;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: inherit;
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--header-fg-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.nav a {
  position: relative;
  color: var(--header-fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.55rem 0.85rem;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible,
.nav a[aria-current]:not(.nav-cta) {
  color: var(--header-fg);
}

.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta):focus-visible::after,
.nav a[aria-current]:not(.nav-cta)::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.35rem;
  padding: 0.55rem 1rem !important;
  border: 1px solid var(--header-cta-border);
  border-radius: 0.28rem;
  background: var(--header-cta-bg);
  color: var(--header-cta-fg) !important;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.nav-cta[aria-current] {
  border-color: var(--warm);
  background: var(--warm);
  color: #fff !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--header-fg) 28%, transparent);
  border-radius: 0.28rem;
  background: transparent;
  color: var(--header-fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle-bar {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.site-header.is-open .nav-toggle-bar:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.site-header.is-open .nav-toggle-bar:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--hero-text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 22, 30, 0.42) 0%,
      rgba(8, 22, 30, 0.52) 45%,
      rgba(8, 22, 30, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(8, 22, 30, 0.4) 0%,
      rgba(8, 22, 30, 0.18) 50%,
      rgba(8, 22, 30, 0.1) 100%
    );
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08161e;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  animation: fade-in 0.8s ease both;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-motto {
  margin: 0 0 1.15rem;
  max-width: 28rem;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(244, 248, 249, 0.82);
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-lead {
  width: max-content;
  max-width: 100%;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(244, 248, 249, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--mist);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-lead {
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 2.5rem;
}

.reveal {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
}

.about-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.5rem;
}

.about-block h3 {
  margin-bottom: 0.5rem;
}

.about-block p {
  color: var(--ink-soft);
}

.project {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--accent);
  max-width: 42rem;
}

.project-meta {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.project h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.project-full {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--ink);
}

.project p:last-child {
  color: var(--ink-soft);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1.15rem 0.7rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: 0.2rem;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease),
    gap 180ms var(--ease);
}

.project-link:hover,
.project-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  gap: 0.85rem;
  outline: none;
}

.project-link:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}

.project-link-arrow {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  display: block;
  transition: transform 180ms var(--ease);
}

.project-link:hover .project-link-arrow,
.project-link:focus-visible .project-link-arrow {
  transform: translateX(0.15rem);
}

@media (prefers-reduced-motion: reduce) {
  .project-link {
    transition: none;
  }

  .project-link-arrow {
    transition: none;
  }

  .project-link:hover,
  .project-link:focus-visible {
    gap: 0.65rem;
  }

  .project-link:hover .project-link-arrow,
  .project-link:focus-visible .project-link-arrow {
    transform: none;
  }
}

.publications {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(15, 122, 114, 0.05) 25%,
    rgba(15, 122, 114, 0.05) 75%,
    transparent
  );
}

.pub-page {
  padding-top: calc(var(--header-h) + 3rem);
}

.pub-page h1 {
  margin: 0 0 1rem;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pub-year-block {
  max-width: 42rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--accent);
}

.pub-year {
  margin: 1.25rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pub-empty {
  margin: 0;
  color: var(--ink-soft);
  font-style: italic;
}

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: pub-item;
}

.pub-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 0.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  counter-increment: pub-item;
}

.pub-item::before {
  content: counter(pub-item, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 10;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--accent);
  padding-top: 0.15rem;
}

.pub-item > * {
  grid-column: 2;
}

.pub-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pub-authors {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.pub-lab-author {
  font-weight: inherit;
  color: inherit;
}

.pub-lab-mark {
  display: inline-block;
  margin-left: 0.18em;
  padding: 0.12em 0.32em 0.08em;
  border-radius: 0.2em;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  font-size: 0.62em;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--accent-deep);
  vertical-align: super;
}

.pub-kind {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.pub-title {
  margin: 0 0 0.35rem;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.pub-venue {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.pub-publisher {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.pub-doi {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.pub-doi a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}

.pub-doi a:hover,
.pub-doi a:focus-visible {
  color: var(--accent-deep);
}

.motif-band {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
  overflow: hidden;
  pointer-events: none;
}

.motif-band::before {
  content: "";
  position: absolute;
  inset: 40% 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(15, 122, 114, 0.22) 20%,
    rgba(15, 122, 114, 0.22) 80%,
    transparent 100%
  );
}

.motif-band-warm::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 120, 58, 0.24) 20%,
    rgba(201, 120, 58, 0.24) 80%,
    transparent 100%
  );
}

.motif-svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--accent);
}

.motif-band-warm .motif-svg {
  color: var(--warm);
}

.motif-signal,
.motif-mesh {
  max-height: 7.5rem;
}

.motif-edges {
  stroke: currentColor;
  stroke-width: 1.25;
  opacity: 0.45;
  stroke-dasharray: 6 8;
  animation: motif-dash 18s linear infinite;
}

.motif-ticks {
  stroke: currentColor;
  stroke-width: 0.75;
  opacity: 0.16;
}

.motif-signal .motif-edges {
  stroke-dasharray: 2 10;
  stroke-width: 1.4;
  opacity: 0.5;
  animation-duration: 22s;
}

.motif-grid {
  stroke: currentColor;
  stroke-width: 0.75;
  opacity: 0.14;
}

.motif-nodes circle {
  fill: color-mix(in srgb, currentColor 18%, transparent);
  stroke: currentColor;
  stroke-width: 1.25;
  transform-box: fill-box;
  transform-origin: center;
  animation: motif-pulse 4.5s var(--ease) infinite;
}

.motif-nodes circle:nth-child(odd) {
  animation-delay: 0.6s;
}

.motif-nodes circle:nth-child(3n) {
  animation-delay: 1.4s;
}

.research {
  background: linear-gradient(180deg, transparent, rgba(15, 122, 114, 0.05) 20%, rgba(15, 122, 114, 0.05) 80%, transparent);
}

.research-list {
  display: grid;
  gap: 0;
}

.research-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.research-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.research-index {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  padding-top: 0.15rem;
}

.research-list h3 {
  margin-bottom: 0.35rem;
}

.research-list p {
  color: var(--ink-soft);
  max-width: 48rem;
}

.theme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2rem;
}

.theme-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.theme-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 0.08rem;
  background: var(--warm);
}

.team {
  background: linear-gradient(180deg, transparent, rgba(201, 120, 58, 0.06) 20%, rgba(201, 120, 58, 0.06) 80%, transparent);
}

.team-subtitle {
  margin: 2.25rem 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem 1.75rem;
}

.people-leads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.people li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.person-initials {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.1rem;
  border-radius: 0.28rem;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.people-leads .person-initials {
  color: #7a4518;
  background: color-mix(in srgb, var(--warm) 16%, transparent);
}

.person-name {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
}

.person-role {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.person-email-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.person-email {
  margin: 0;
}

.person-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin-top: 0.7rem;
}

.person-email a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.person-email a:hover {
  color: color-mix(in srgb, var(--accent) 58%, var(--warm) 42%);
}

.person-email a[data-open="1"] {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}

.person-email a[data-open="1"]:hover {
  color: color-mix(in srgb, var(--accent) 58%, var(--warm) 42%);
}

.peer-list {
  display: grid;
  gap: 0;
}

.peer-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.35s var(--ease);
}

.peer-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.peer-list a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.peer-name {
  margin-right: auto;
  font-size: 1.15rem;
  font-weight: 700;
}

.peer-place {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.peer-external {
  position: relative;
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  margin-left: 0.15rem;
  align-self: center;
  border: 1.5px solid currentColor;
  border-radius: 0.08rem;
  opacity: 0.55;
}

.peer-external::before {
  content: "";
  position: absolute;
  top: -0.22rem;
  right: -0.22rem;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.peer-list a:hover .peer-external {
  opacity: 0.9;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.site-footer {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--line);
  background-color: rgba(16, 38, 50, 0.04);
  padding: 1.75rem 0 7rem;
  overflow: hidden;
}

.footer-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-stars span {
  position: absolute;
  display: block;
  width: var(--size, 1.25px);
  height: var(--size, 1.25px);
  border-radius: 50%;
  background: var(--accent);
  opacity: var(--dim, 0.2);
  animation: footer-star-twinkle var(--dur, 4.5s) ease-in-out var(--delay, 0s) infinite;
  will-change: opacity;
}

.footer-stars span:nth-child(1)  { left: 8%;  top: 22%; --size: 1.5px;  --dur: 3.8s; --delay: 0.1s; --dim: 0.22; --peak: 0.95; }
.footer-stars span:nth-child(2)  { left: 18%; top: 68%; --size: 1px;    --dur: 5.2s; --delay: 1.4s; --dim: 0.1;  --peak: 0.45; }
.footer-stars span:nth-child(3)  { left: 27%; top: 38%; --size: 1.5px;  --dur: 4.1s; --delay: 0.7s; --dim: 0.28; --peak: 1; }
.footer-stars span:nth-child(4)  { left: 36%; top: 78%; --size: 1px;    --dur: 6.0s; --delay: 2.2s; --dim: 0.12; --peak: 0.55; }
.footer-stars span:nth-child(5)  { left: 47%; top: 18%; --size: 1.25px; --dur: 4.7s; --delay: 0.3s; --dim: 0.16; --peak: 0.7; }
.footer-stars span:nth-child(6)  { left: 58%; top: 55%; --size: 1.25px; --dur: 3.4s; --delay: 1.9s; --dim: 0.2;  --peak: 0.85; }
.footer-stars span:nth-child(7)  { left: 67%; top: 82%; --size: 1.5px;  --dur: 5.6s; --delay: 0.9s; --dim: 0.25; --peak: 0.98; }
.footer-stars span:nth-child(8)  { left: 74%; top: 28%; --size: 1px;    --dur: 4.3s; --delay: 2.8s; --dim: 0.08; --peak: 0.4; }
.footer-stars span:nth-child(9)  { left: 83%; top: 62%; --size: 1.5px;  --dur: 3.9s; --delay: 1.1s; --dim: 0.24; --peak: 0.9; }
.footer-stars span:nth-child(10) { left: 91%; top: 40%; --size: 1.25px; --dur: 5.0s; --delay: 0.5s; --dim: 0.18; --peak: 0.75; }
.footer-stars span:nth-child(11) { left: 12%; top: 88%; --size: 1px;    --dur: 4.8s; --delay: 3.1s; --dim: 0.1;  --peak: 0.5; }
.footer-stars span:nth-child(12) { left: 42%; top: 48%; --size: 1.25px; --dur: 6.2s; --delay: 1.6s; --dim: 0.14; --peak: 0.6; }
.footer-stars span:nth-child(13) { left: 96%; top: 86%; --size: 1px;    --dur: 3.6s; --delay: 2.4s; --dim: 0.12; --peak: 0.48; }
.footer-stars span:nth-child(14) { left: 22%; top: 30%; --size: 1.25px; --dur: 4.4s; --delay: 0.2s; --dim: 0.3;  --peak: 1; }
.footer-stars span:nth-child(15) { left: 51%; top: 72%; --size: 1px;    --dur: 5.4s; --delay: 1.8s; --dim: 0.1;  --peak: 0.42; }
.footer-stars span:nth-child(16) { left: 79%; top: 44%; --size: 1.5px;  --dur: 3.7s; --delay: 2.6s; --dim: 0.26; --peak: 0.92; }
.footer-stars span:nth-child(17) { left: 63%; top: 16%; --size: 1px;    --dur: 4.9s; --delay: 0.8s; --dim: 0.15; --peak: 0.65; }
.footer-stars span:nth-child(18) { left: 33%; top: 58%; --size: 1.25px; --dur: 5.8s; --delay: 3.4s; --dim: 0.12; --peak: 0.58; }
.footer-stars span:nth-child(19) { left: 88%; top: 78%; --size: 1px;    --dur: 4.0s; --delay: 1.3s; --dim: 0.09; --peak: 0.38; }
.footer-stars span:nth-child(20) { left: 5%;  top: 48%; --size: 1.25px; --dur: 5.1s; --delay: 2.0s; --dim: 0.2;  --peak: 0.8; }
.footer-stars span:nth-child(21) { left: 70%; top: 10%; --size: 1px;    --dur: 3.5s; --delay: 2.9s; --dim: 0.11; --peak: 0.52; }
.footer-stars span:nth-child(22) { left: 44%; top: 90%; --size: 1.25px; --dur: 4.6s; --delay: 0.4s; --dim: 0.17; --peak: 0.72; }

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: max(1.25rem, calc((100% - var(--max)) / 2));
  width: 3.25rem;
  height: 2px;
  background: var(--accent);
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 42rem;
}

.footer-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.45;
}

.footer-credits-block {
  position: relative;
  width: 100%;
}

.footer-credits-block::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(15, 122, 114, 0.45) 28%,
    rgba(201, 120, 58, 0.4) 62%,
    transparent 100%
  );
}

.footer-credits-title {
  margin: 0 0 1.15rem;
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-credits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 3rem;
  align-items: start;
}

.footer-credits-group-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.footer-credits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer-credits li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(15, 122, 114, 0.28);
}

.footer-credit-work {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.15em;
}

.footer-credit-work:hover {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer-credit-by {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.footer-credit-by a {
  color: var(--ink-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.footer-credit-by a:hover {
  color: var(--accent-deep);
}

@media (max-width: 720px) {
  .footer-credits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes motif-dash {
  to {
    stroke-dashoffset: -140;
  }
}

@keyframes motif-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.72;
  }
}

@keyframes footer-star-twinkle {
  0%,
  100% {
    opacity: var(--dim, 0.2);
  }
  50% {
    opacity: var(--peak, 0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .motif-edges,
  .motif-nodes circle {
    animation: none !important;
  }

  .footer-stars span {
    animation: none !important;
    opacity: 0.45;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .people-leads {
    grid-template-columns: 1fr;
  }

  .theme-list {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }
}

@media (max-width: 50rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100vh - 100%);
    max-height: calc(100svh - 100%);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 250, 251, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: none;
  }

  .site-header.is-open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition:
      opacity 0.2s var(--ease),
      transform 0.2s var(--ease),
      visibility 0.2s;
  }

  .nav a {
    color: var(--ink-soft);
    padding: 0.85rem 0.65rem;
  }

  .nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav a[aria-current]:not(.nav-cta) {
    color: var(--accent-deep);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    box-shadow: inset 0.2rem 0 0 var(--accent);
    border-radius: 0.28rem;
  }

  .nav-cta {
    margin: 0.35rem 0 0;
    text-align: center;
    color: #fff !important;
    background: var(--accent);
    border-color: var(--accent);
  }

  .nav-cta[aria-current] {
    border-color: var(--warm);
    background: var(--warm);
  }
}

@media (max-width: 640px) {
  .research-list li {
    grid-template-columns: 2.5rem 1fr;
  }

  .peer-list a {
    flex-direction: column;
    align-items: flex-start;
  }
}
