:root {
  --bg: #000;
  --paper: rgba(7, 7, 7, 0.88);
  --paper-soft: rgba(12, 12, 12, 0.92);
  --ink: #fff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --teal: #ffffff;
  --blue: #d7d7cf;
  --minae: #f4b56a;
  --prisma: #b9a8ff;
  --plum: #fff;
  --rust: #e8e8df;
  --amber: #c8c8bd;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --scroll-progress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--bg);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: var(--scroll-progress);
  height: 3px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.44);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  justify-items: center;
  place-content: center;
  gap: 13px;
  padding: 28px;
  background: #000;
  color: #fff;
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-ace-card {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 0.72;
  margin-bottom: 8px;
  border: 2px solid #fff;
  border-radius: 7px;
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 1px #000 inset, 0 0 0 9px #000 inset, 0 0 46px rgba(255, 255, 255, 0.16);
  animation: aceFloat 1.7s ease-in-out infinite alternate;
}

.loader-ace-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #000;
}

.loader-ace-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  border-top: 2px solid #000;
  transform: translateY(-50%);
}

.loader-face,
.loader-corner {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 760;
  line-height: 1;
}

.loader-face {
  position: relative;
  z-index: 1;
  font-size: 5.6rem;
  letter-spacing: 0;
}

.loader-corner {
  position: absolute;
  font-size: 1.35rem;
}

.loader-corner-top {
  top: 15px;
  left: 17px;
}

.loader-corner-bottom {
  right: 17px;
  bottom: 15px;
  transform: rotate(180deg);
}

.site-loader > span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-loader strong {
  font-size: 2.2rem;
  line-height: 1;
}

.loader-track {
  width: min(360px, calc(100vw - 56px));
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.loader-track i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  animation: loaderRun 0.9s ease-in-out infinite alternate;
}

body.loaded .site-loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@keyframes loaderRun {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(138%);
  }
}

@keyframes aceFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

main,
.site-header,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  background: #000;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 0.91rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding: 5px 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #0b0b0c;
  border-radius: 2px;
  min-height: 36px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
}

.hero-shell,
.project-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  gap: 48px;
  padding: 56px 0 74px;
  overflow: visible;
}

.hero-shell {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
}

.project-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-left: 10px;
  text-shadow: 0 1px 26px rgba(0, 0, 0, 0.64);
  isolation: isolate;
}

.project-hero > .reveal:first-of-type {
  position: relative;
  isolation: isolate;
}

.hero-copy::before,
.project-hero > .reveal:first-of-type::before {
  content: "";
  position: absolute;
  inset: -22px 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 70px 34px rgba(0, 0, 0, 0.88);
  pointer-events: none;
}

.fragment-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.58;
  pointer-events: none;
}

.hero-shell > *:not(.fragment-canvas),
.project-hero > *:not(.fragment-canvas) {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 690;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  margin-bottom: 22px;
  font-size: 4.72rem;
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-shell h1 {
  font-size: 6.25rem;
}

.project-hero h1 {
  font-size: 3.95rem;
}

h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  margin-bottom: 12px;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 640;
  letter-spacing: 0;
}

h3 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.24;
  font-weight: 650;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 390;
}

.lead + .lead {
  margin-top: -8px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-weight: 720;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.button.primary {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.button.ghost {
  background: transparent;
}

.portrait-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.portrait-card img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.04) contrast(1.04) brightness(0.95);
  transition: transform 0.6s ease;
}

.portrait-card:hover {
  border-color: rgba(255, 255, 255, 0.52);
}

.portrait-card:hover img {
  transform: scale(1.025);
}

.portrait-card figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.focus-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(220px, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 30px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 0 58px rgba(0, 0, 0, 0.62);
  color: #fff;
  backdrop-filter: blur(12px);
}

.focus-strip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 790;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-strip strong {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.1;
}

.focus-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.motion-belt {
  width: 100%;
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.035);
  color: #fff;
}

.belt-track {
  display: inline-flex;
  min-width: max-content;
  animation: beltMove 54s linear infinite;
}

.belt-track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-token {
  color: #fff;
}

.belt-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

@keyframes beltMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.signal-strip article,
.project-scoreboard article {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
  box-shadow: 0 10px 34px rgba(23, 32, 38, 0.05);
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.signal-strip article::after,
.project-scoreboard article::after,
.project-feature::after,
.link-card::after,
.method-card::after,
.evidence-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.signal-strip article:hover,
.project-scoreboard article:hover,
.method-card:hover,
.evidence-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.signal-strip article:hover::after,
.project-scoreboard article:hover::after,
.project-feature:hover::after,
.link-card:hover::after,
.method-card:hover::after,
.evidence-card:hover::after {
  transform: scaleX(1);
}

.metric-value {
  display: block;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 840;
}

.minae-accent,
.minae-hero h1,
.project-feature[href="minae.html"] h3 {
  color: var(--minae);
}

.prisma-accent,
.prisma-hero h1,
.project-feature[href="prisma.html"] h3 {
  color: var(--prisma);
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.section-block {
  padding: 62px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.section-block.compact {
  padding-top: 46px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 26px;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.86);
}

.section-heading .eyebrow {
  grid-column: 1;
}

.section-heading h2,
.section-heading p:not(.eyebrow) {
  grid-column: 2;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 760px;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.identity-panel {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(6, 6, 6, 0.76);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.identity-panel:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.identity-panel span {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.16em;
}

.identity-panel h3 {
  margin-bottom: 9px;
}

.identity-panel p {
  margin: 0;
  color: var(--muted);
}

.interactive-evidence {
  display: grid;
  grid-template-columns: minmax(270px, 0.32fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.interactive-evidence.protein-evidence {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
}

.scene-copy {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.82);
}

.scene-copy h3 {
  margin-top: 16px;
}

.scene-copy p {
  color: var(--muted);
}

.scene-panel {
  position: relative;
  min-height: 610px;
  height: min(72vh, 760px);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 62%);
}

.evidence-surface-panel {
  background:
    radial-gradient(circle at 50% 38%, rgba(244, 181, 106, 0.12), transparent 44%),
    radial-gradient(circle at 64% 56%, rgba(126, 230, 177, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 62%);
}

.protein-scene-panel {
  background:
    radial-gradient(circle at 48% 42%, rgba(185, 168, 255, 0.14), transparent 44%),
    radial-gradient(circle at 66% 58%, rgba(143, 215, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%);
}

.evidence-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.evidence-canvas:active {
  cursor: grabbing;
}

.scene-tooltip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(330px, calc(100% - 36px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.4;
  pointer-events: none;
  backdrop-filter: blur(14px);
}

.scene-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.scene-stat-grid article {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.scene-stat-grid strong,
.scene-stat-grid span {
  display: block;
}

.scene-stat-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.minae-pill {
  color: #000;
  background: var(--minae);
}

.prisma-pill {
  color: #000;
  background: var(--prisma);
}

.personal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-feature,
.link-card,
.method-card,
.evidence-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(23, 32, 38, 0.055);
  position: relative;
  overflow: hidden;
}

.project-feature {
  display: grid;
  grid-template-rows: 235px minmax(0, 1fr);
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-feature:hover {
  transform: translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(255, 255, 255, 0.44);
}

.feature-image {
  background: #000;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.42s ease;
}

.project-feature:hover .feature-image img {
  transform: scale(1.035);
}

.feature-body,
.link-card,
.method-card,
.evidence-card {
  padding: 19px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 760;
}

.status-pill.amber {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.project-feature[href="minae.html"] .status-pill {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--minae);
}

.project-feature[href="prisma.html"] .status-pill {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--prisma);
}

.feature-body h3,
.link-card h3 {
  margin: 12px 0 8px;
}

.feature-body p,
.link-card p,
.method-card p,
.evidence-card p,
.timeline-item p {
  color: var(--muted);
}

.project-points {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.project-points li {
  position: relative;
  padding-left: 14px;
}

.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: #fff;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: #fff;
  font-weight: 760;
}

.timeline {
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper);
}

.timeline-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

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

.timeline-item time {
  color: #fff;
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 5px;
}

.link-grid,
.method-grid,
.evidence-grid,
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.method-grid,
.evidence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-card {
  min-height: 100%;
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.link-card:hover {
  transform: translateY(-3px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(255, 255, 255, 0.44);
}

.link-card span,
.method-card span {
  color: #fff;
  font-weight: 820;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(23, 32, 38, 0.055);
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tool-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.tool-logo {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: #fff;
  color: #000;
  font-weight: 900;
  line-height: 1;
}

.icon-logo img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.tool-card strong {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 650;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-cloud span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 680;
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 42px 0;
  padding: 32px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.contact-panel p:not(.eyebrow) {
  color: var(--muted);
  max-width: 760px;
}

.contact-panel .eyebrow {
  color: #fff;
}

.contact-panel .button:not(.primary) {
  background: transparent;
  color: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.contact-panel .button.primary {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  border-bottom: 1px solid var(--line);
}

.project-scoreboard {
  display: grid;
  gap: 12px;
}

.project-scoreboard .metric-value {
  font-size: 2.85rem;
}

.minae-hero .metric-value {
  color: var(--minae);
}

.methylation-hero .metric-value {
  color: #fff;
}

.prisma-hero .metric-value {
  color: var(--prisma);
  font-size: 2.35rem;
}

.method-card span {
  color: var(--rust);
}

.method-card h3,
.evidence-card h3 {
  margin: 10px 0 8px;
}

.figure-tabs {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #000;
}

.tab-buttons button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tab-buttons button.active,
.tab-buttons button:hover {
  color: #000;
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.tab-panel {
  display: none;
  margin: 0;
  padding: 18px;
  opacity: 0;
  transform: translateY(8px);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: panelIn 0.22s ease;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-panel img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.tab-panel figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .project-feature,
  .link-card,
  .tool-card,
  .portrait-card,
  .signal-strip article,
  .project-scoreboard article,
  .tab-panel {
    transition: none;
  }

  .belt-track,
  .loader-ace-card,
  .loader-track i {
    animation: none;
  }

  .fragment-canvas {
    display: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  .hero-shell h1 {
    font-size: 5rem;
  }

  .project-hero h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-shell,
  .project-hero,
  .section-heading,
  .interactive-evidence,
  .interactive-evidence.protein-evidence,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-shell,
  .project-hero {
    min-height: auto;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .signal-strip,
  .identity-grid,
  .scene-stat-grid,
  .project-feature-grid,
  .method-grid,
  .evidence-grid,
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 2.95rem;
  }

  .hero-shell h1 {
    font-size: 3.7rem;
  }

  .project-hero h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .metric-value,
  .project-scoreboard .metric-value,
  .prisma-hero .metric-value {
    font-size: 2rem;
  }

  main,
  .site-header,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero-shell,
  .project-hero {
    padding-top: 38px;
  }

  .portrait-card img {
    height: 470px;
  }

  .focus-strip {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 0 0 24px;
    padding: 14px;
  }

  .focus-strip strong {
    font-size: 1.18rem;
  }

  .motion-belt {
    margin-top: 0;
  }

  .belt-track span {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.76rem;
  }

  .signal-strip,
  .identity-grid,
  .project-feature-grid,
  .method-grid,
  .evidence-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .scene-panel {
    min-height: 420px;
    height: 62vh;
  }

  .scene-tooltip {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .project-feature {
    grid-template-rows: 220px minmax(0, 1fr);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .tab-buttons button {
    width: 100%;
  }
}
