:root {
  --bg:           #000000;
  --text:         #c9cacc;
  --text-dim:     #53545a;
  --text-bright:  #f1f3f5;
  --text-faint:   #262626;
  --accent:       #82d8ff;
  --accent-2:     #c79aff;
  --accent-3:     #f3c46f;
  --green:        #8ee8c4;
  --amber:        #f3c46f;
  --blue:         #82d8ff;
  --font-ui:      -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Compact Display", "SF Compact Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, "Courier New", monospace;
  --thin:         300;
  --hair:         200;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: var(--thin);
  font-synthesis-weight: none;
  font-feature-settings: "kern" 1, "liga" 1, "case" 1;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.bg-grid { display: none; }

#fx {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fx-canvas { display: block; width: 100%; height: 100%; }

/* ─── Layout ─────────────────────────────────────────────── */

.site {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100vw;
  height: 100vh;
}

.site::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 24% 54%, rgba(130,216,255,0.11), transparent 38%),
    radial-gradient(circle at 70% 24%, rgba(199,154,255,0.08), transparent 30%),
    radial-gradient(circle at 76% 76%, rgba(243,196,111,0.045), transparent 28%);
  pointer-events: none;
  z-index: -1;
}

/* ─── Boot Screen ────────────────────────────────────────── */

.core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.boot-title {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: var(--hair);
  color: rgba(241,243,245,0.58);
  margin: 0 0 2.4rem 0;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.3s forwards;
}

.mark {
  width: min(40vmin, 280px);
  height: auto;
  margin-bottom: 2.7rem;
  filter: brightness(0.85) saturate(0.7);
  transition: filter 0.6s ease, transform 0.6s ease;
  opacity: 0;
  animation: fadeIn 2s ease 0.6s forwards;
}

.mark:hover {
  filter: brightness(1.15) saturate(1.2);
  transform: scale(1.03);
}

.boot-links {
  display: flex;
  gap: 2.3rem;
  opacity: 0;
  animation: fadeIn 1.5s ease 1.2s forwards;
}

.boot-links a {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.075em;
  transition: color 0.3s, text-shadow 0.3s;
}

.boot-links a:hover {
  color: var(--text-bright);
  text-shadow:
    0 0 18px rgba(130,216,255,0.32),
    0 0 28px rgba(199,154,255,0.16);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Left Hero Panel ────────────────────────────────────── */

.hero-panel {
  width: 72%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  flex-shrink: 0;
  margin-right: -34vw;
  z-index: 2;
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0 -34vw 0 0;
  background:
    radial-gradient(ellipse at 36% 52%, transparent 0%, transparent 56%,
    rgba(0,0,0,0.22) 78%, #000 100%),
    linear-gradient(to right, #000 0%, transparent 14%, transparent 100%),
    linear-gradient(to bottom, #000 0%, transparent 15%, transparent 85%, #000 100%);
  pointer-events: none;
  z-index: 4;
}

.hero-logo-small {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: auto;
  z-index: 5;
  filter: grayscale(100%) brightness(1.4);
  opacity: 0.7;
  transition: opacity 0.4s, filter 0.4s, transform 0.4s;
  cursor: pointer;
}

.hero-logo-small:hover {
  opacity: 1;
  filter:
    grayscale(0%)
    brightness(1.2)
    drop-shadow(0 0 12px rgba(130,216,255,0.45));
  transform: translateX(-50%) scale(1.08);
}

.hero-ascii {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: var(--font-mono);
  font-size: 6.5px;
  line-height: 6.5px;
  font-weight: var(--thin);
  color: #a4c2b5;
  text-align: center;
  white-space: pre;
  pointer-events: none;
  z-index: 3;
}

/* ─── Right Content Panel ────────────────────────────────── */

.content-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  min-width: 0;
  z-index: 3;
}

.content-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 0 -24vw;
  background:
    radial-gradient(ellipse at 0% 58%, rgba(130,216,255,0.055),
    transparent 38%),
    linear-gradient(to right, rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.48) 36%, rgba(0,0,0,0.76) 100%);
  pointer-events: none;
  z-index: 0;
}

.global-header,
.page-content,
.bottom-bar {
  position: relative;
  z-index: 1;
}

/* ─── Global Header / Nav ────────────────────────────────── */

.global-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem 3.2rem;
  flex-shrink: 0;
}

.global-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.global-nav a {
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: var(--hair);
  letter-spacing: 0.065em;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.global-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  box-shadow:
    0 0 8px rgba(130,216,255,0.5),
    0 0 18px rgba(199,154,255,0.14);
  transition: width 0.3s ease;
}

.global-nav a:hover,
.global-nav a.active { color: var(--text-bright); }

.global-nav a:hover::after,
.global-nav a.active::after { width: 100%; }

/* ─── Page Content ───────────────────────────────────────── */

.page-content {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.1rem 3.2rem 5.4rem 3.2rem;
}

/* ─── Section Header ─────────────────────────────────────── */

.section-header {
  margin-bottom: 1.8rem;
  padding-bottom: 1.3rem;
}

.section-header h1 {
  font-size: 0.82rem;
  font-weight: var(--hair);
  letter-spacing: 0.085em;
  color: #a5a7aa;
  margin: 0 0 0.45rem 0;
  text-transform: uppercase;
}

.section-tagline {
  color: #515151;
  font-size: 0.66rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-tagline::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--text-faint);
  flex-shrink: 0;
}

/* ─── Entry List ─────────────────────────────────────────── */

.entry-list {
  display: flex;
  flex-direction: column;
}

.entry-row {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  display: grid;
  grid-template-columns: 44px 1fr auto 110px;
  gap: 1.25rem;
  align-items: center;
  padding: 1.45rem 0.7rem 1.45rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
  z-index: 0;
}

.entry-row + .entry-row::before {
  display: none;
}

.entry-row:hover {
  padding-left: 0.32rem;
}

.entry-row.active {
  padding-left: 0.36rem;
}

.entry-row::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: -4rem;
  width: 16rem;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(130,216,255,0.13),
    rgba(199,154,255,0.045) 42%, transparent 72%);
  opacity: 0;
  transition: opacity 0.3s;
  filter: blur(14px);
  z-index: -1;
}

.entry-row:hover::after,
.entry-row.active::after { opacity: 0.72; }

/* Index */
.entry-idx { display: flex; flex-direction: column; gap: 0.3rem; flex-shrink: 0; }

.entry-idx .num {
  font-size: 0.68rem;
  color: #3f3f3f;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.entry-row:hover .entry-idx .num { color: var(--text-dim); }
.entry-row.active .entry-idx .num { color: var(--accent); }

/* Main */
.entry-main { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }

.entry-main h2 {
  font-size: 1.18rem;
  font-weight: var(--thin);
  margin: 0;
  color: #f0f0f0;
  letter-spacing: 0.02em;
  transition: color 0.3s, text-shadow 0.3s;
}

.entry-row:hover .entry-main h2 {
  color: #fff;
  text-shadow: 0 0 25px rgba(255,255,255,0.08);
}

.entry-row.active .entry-main h2 {
  color: #fff;
}

.entry-main h2 a { color: inherit; }

.entry-main p {
  font-size: 0.9rem;
  color: #848484;
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.005em;
  max-width: 48ch;
}

.entry-tags { display: flex; gap: 0.45rem; margin-top: 0.1rem; flex-wrap: wrap; }

.entry-tag {
  font-size: 0.6rem;
  color: #4e4e4e;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.entry-row:hover .entry-tag { color: var(--text-dim); }

/* Meta */
.entry-meta {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  justify-self: end;
}

.badge {
  display: inline-block;
  padding: 0.16rem 0.42rem;
  font-size: 0.62rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  align-self: flex-end;
  transition: box-shadow 0.3s;
}

.badge.active {
  color: var(--green);
  background: transparent;
}

.badge.operational {
  color: var(--blue);
  background: transparent;
}

.badge.experimental {
  color: var(--amber);
  background: transparent;
}

.entry-row:hover .badge {
  box-shadow:
    0 0 12px rgba(130,216,255,0.14),
    0 0 22px rgba(243,196,111,0.08);
}

/* Thumb */
.entry-thumb {
  width: 136px;
  height: 94px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.6);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.entry-row:hover .entry-thumb img {
  filter: grayscale(30%) contrast(1.1) brightness(0.9);
  transform: scale(1.08);
}

.project-aside {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 3rem;
  z-index: 6;
  display: grid;
  gap: 1rem;
  color: var(--text-bright);
  text-shadow: 0 0 16px rgba(0,0,0,0.75);
}

.project-aside[hidden] {
  display: none;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.project-links a {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: var(--hair);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Standard Editorial Tabs ────────────────────────────── */

.site[data-page="standard"] {
  display: block;
}

.site[data-page="standard"] .hero-panel {
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0.5;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.site[data-page="standard"] .hero-panel canvas {
  filter: brightness(0.82) contrast(1.05);
  opacity: 0.7;
  transform: translateX(-22vw) scale(0.92);
  transform-origin: center center;
}

.site[data-page="standard"] .hero-panel::after {
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 52%, transparent 0%, transparent 32%,
    rgba(0,0,0,0.42) 62%, #000 100%),
    linear-gradient(to right, #000 0%, rgba(0,0,0,0.5) 26%,
    rgba(0,0,0,0.74) 54%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 18%,
    transparent 76%, #000 100%);
}

.site[data-page="standard"] .hero-logo-small {
  left: clamp(8rem, 36vw, 34rem);
}

.site[data-page="standard"] .project-aside {
  display: none;
}

.site[data-page="standard"] .content-panel {
  height: 100%;
  position: relative;
  width: 100% !important;
  z-index: 4;
}

.site[data-page="standard"] .content-panel::before {
  inset: 0;
  background:
    radial-gradient(circle at 25% 62%, rgba(130,216,255,0.07),
    transparent 33%),
    radial-gradient(circle at 78% 38%, rgba(199,154,255,0.08),
    transparent 31%),
    linear-gradient(to right, rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.32) 42%, rgba(0,0,0,0.72) 100%);
  z-index: 0;
}

.site[data-page="standard"] .global-header {
  left: clamp(12rem, 42vw, 38rem);
  padding: 2.15rem 0 0;
  position: absolute;
  top: 0;
  z-index: 8;
}

.site[data-page="standard"] .page-content {
  height: 100%;
  inset: 0;
  overflow-y: auto;
  padding: 0;
  position: absolute;
  z-index: 3;
}

.standard-stage {
  isolation: isolate;
  margin-left: clamp(12rem, 42vw, 38rem);
  max-width: min(54rem, 48vw);
  min-height: 100vh;
  position: relative;
  padding: clamp(8rem, 16vh, 10rem) 0 5.2rem;
}

.standard-stage::before {
  content: '';
  position: absolute;
  inset: 6.5rem auto 4rem -4rem;
  width: min(56rem, 64vw);
  background:
    radial-gradient(ellipse at 45% 28%, rgba(0,0,0,0.82),
    transparent 58%),
    radial-gradient(ellipse at 38% 52%, rgba(0,0,0,0.78),
    transparent 68%),
    radial-gradient(ellipse at 58% 42%, rgba(243,196,111,0.12),
    transparent 44%),
    radial-gradient(ellipse at 48% 58%, rgba(130,216,255,0.08),
    transparent 52%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.standard-orbit {
  position: absolute;
  top: clamp(9rem, 22vh, 14rem);
  right: max(-14vw, -12rem);
  width: min(38vw, 33rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(243,196,111,0.13) 0 1px,
    transparent 1px 7px),
    radial-gradient(circle at 55% 45%, rgba(245,222,160,0.18),
    transparent 34%),
    radial-gradient(circle at 50% 50%, rgba(130,216,255,0.1),
    transparent 58%);
  mask-image: radial-gradient(circle, #000 0%, #000 58%, transparent 78%);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

.section-code {
  color: var(--accent);
  display: block;
  font-size: 0.56rem;
  font-weight: var(--hair);
  letter-spacing: 0.045em;
  margin-bottom: 0.52rem;
  text-transform: uppercase;
}

.standard-stage .section-header {
  margin-bottom: clamp(1.25rem, 2.1vw, 1.9rem);
}

.standard-stage .section-header h1 {
  color: #d6dbd7;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: var(--hair);
  letter-spacing: 0.075em;
  text-shadow: 0 0 26px rgba(255,255,255,0.08);
}

.standard-stage .section-tagline {
  color: #737d76;
  font-size: 0.62rem;
  letter-spacing: 0.025em;
}

.notes-list {
  max-width: 100%;
}

.note-card {
  border-bottom: 1px solid rgba(255,255,255,0.035);
  grid-template-columns: 3.2rem minmax(0, 1fr) 6.5rem;
  padding: 1.08rem 0;
}

.note-card .entry-main p {
  color: #9da6a0;
  font-size: clamp(0.82rem, 0.92vw, 0.96rem);
  line-height: 1.5;
  max-width: 54ch;
}

.note-card .entry-main h2 {
  font-size: clamp(1.05rem, 1.35vw, 1.42rem);
  font-weight: var(--hair);
  letter-spacing: 0.035em;
}

.founder-stage,
.contact-stage {
  display: grid;
  align-content: center;
  max-width: min(58rem, 50vw);
}

.founder-block {
  max-width: 62ch;
  position: relative;
}

.founder-bio {
  color: #d5dbd6;
  font-size: clamp(1.2rem, 1.85vw, 1.75rem);
  font-weight: var(--hair);
  line-height: 1.42;
  text-shadow: 0 0 24px rgba(0,0,0,0.65);
}

.founder-meta {
  border-top: 1px solid rgba(255,255,255,0.05);
  display: grid;
  gap: 0.5rem;
  margin-top: 1.65rem;
  padding-top: 0.9rem;
}

.founder-meta span {
  color: #58645d;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-block {
  display: grid;
  gap: 0;
  max-width: 52rem;
}

.contact-field {
  border-top: 1px solid rgba(255,255,255,0.045);
  display: grid;
  gap: 1rem;
  grid-template-columns: 12rem minmax(0, 1fr);
  padding: 1.12rem 0;
}

.contact-field:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.contact-desc,
.contact-links,
.contact-value {
  grid-column: 2;
}

.contact-value {
  color: #eef3ef;
  font-size: clamp(1rem, 1.34vw, 1.3rem);
  text-shadow: 0 0 22px rgba(0,0,0,0.7);
}

/* ─── Scroll Project Gallery ─────────────────────────────── */

.site[data-page="projects"] {
  display: block;
}

.site[data-page="projects"] .hero-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.site[data-page="projects"] .hero-panel::after {
  inset: 0;
  background:
    radial-gradient(ellipse at 69% 50%, transparent 0%, transparent 42%,
    rgba(0,0,0,0.45) 73%, #000 100%),
    linear-gradient(to right, #000 0%, rgba(0,0,0,0.76) 20%,
    rgba(0,0,0,0.08) 46%, rgba(0,0,0,0.22) 100%),
    linear-gradient(to bottom, #000 0%, transparent 16%,
    transparent 84%, #000 100%);
}

.site[data-page="projects"] .hero-logo-small,
.site[data-page="projects"] .project-aside {
  display: none;
}

.site[data-page="projects"] .content-panel {
  position: relative;
  width: 100% !important;
  height: 100%;
  z-index: 4;
}

.site[data-page="projects"] .content-panel::before {
  inset: 0;
  background:
    radial-gradient(circle at 18% 48%, rgba(130,216,255,0.09),
    transparent 30%),
    linear-gradient(to right, rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.46) 38%, rgba(0,0,0,0.1) 100%);
  z-index: 0;
}

.site[data-page="projects"] .global-header {
  position: absolute;
  top: 0;
  left: clamp(7rem, 12vw, 13rem);
  padding: 2.6rem 0 0;
  z-index: 8;
}

.site[data-page="projects"] .page-content {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  z-index: 3;
}

.projects-stage {
  min-height: calc(var(--project-count) * 100vh);
  position: relative;
}

.projects-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.lab-status {
  position: absolute;
  top: 2.7rem;
  right: 3.2rem;
  display: grid;
  grid-template-columns: 0.5rem auto;
  gap: 0.12rem 0.5rem;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.5rem;
  font-weight: var(--hair);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  z-index: 7;
}

.lab-status span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 10px var(--green),
    0 0 22px rgba(130,216,255,0.24),
    0 0 34px rgba(199,154,255,0.12);
  grid-row: span 2;
}

.lab-status b,
.lab-status strong {
  font: inherit;
}

.lab-status strong {
  color: var(--green);
}

.project-rail {
  position: absolute;
  top: 2.2rem;
  bottom: 2.8rem;
  left: 4.8rem;
  width: 4.2rem;
  z-index: 7;
}

.project-mark {
  display: block;
  width: 2.2rem;
  opacity: 0.48;
  filter: grayscale(1) brightness(1.2);
}

.project-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.rail-line {
  position: absolute;
  top: 5.7rem;
  bottom: 10.5rem;
  left: 0.58rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #31463d,
  #31463d, transparent);
}

.rail-dots {
  position: absolute;
  top: 5.6rem;
  bottom: 10.4rem;
  left: 0.24rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.project-dot::after {
  content: '';
  position: absolute;
  inset: 0.26rem;
  border-radius: inherit;
  background: #44665a;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
}

.project-dot.active::after,
.project-dot:hover::after {
  background: #c9f8df;
  box-shadow: 0 0 14px rgba(120,255,188,0.6);
  transform: scale(1.5);
}

.project-rail p {
  position: absolute;
  left: -0.18rem;
  bottom: 2.2rem;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #39453f;
  font-size: 0.52rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.project-feature {
  position: absolute;
  top: 32vh;
  left: clamp(10rem, 15vw, 16rem);
  width: min(27rem, 30vw);
  z-index: 7;
}

.project-num {
  display: block;
  color: #7b8781;
  font-size: 0.62rem;
  letter-spacing: 0.015em;
  margin-bottom: 0.62rem;
}

.project-title {
  appearance: none;
  background: transparent;
  border: 0;
  color: #f4f6f2;
  cursor: pointer;
  display: block;
  font: inherit;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  font-weight: var(--hair);
  letter-spacing: 0.055em;
  margin: 0 0 0.5rem;
  padding: 0;
  text-align: left;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255,255,255,0.12);
}

.project-layer {
  color: #606a64;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.project-desc {
  color: #8b928d;
  font-size: clamp(0.76rem, 0.88vw, 0.92rem);
  font-weight: var(--hair);
  line-height: 1.48;
  letter-spacing: 0.005em;
  margin: 0 0 0.95rem;
  max-width: 34ch;
}

.project-view {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.58rem;
  font-weight: var(--hair);
  letter-spacing: 0.025em;
  padding: 0;
  text-transform: uppercase;
}

.project-view span {
  display: inline-block;
  margin-left: 0.55rem;
  transition: transform 0.25s ease;
}

.project-view:hover span {
  transform: translateX(0.38rem);
}

.project-peers {
  border-top: 1px solid rgba(255,255,255,0.05);
  display: grid;
  margin-top: 1.65rem;
  max-width: 16rem;
}

.project-peer {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: #555d58;
  cursor: pointer;
  display: grid;
  font: inherit;
  grid-template-columns: 2.6rem 1fr;
  letter-spacing: 0.025em;
  padding: 0.45rem 0;
  text-align: left;
  text-transform: uppercase;
}

.project-peer span {
  font-size: 0.58rem;
}

.project-peer b {
  color: #626d66;
  font-size: 0.58rem;
  font-weight: var(--thin);
}

.project-peer:hover b {
  color: #d9e8df;
}

.projects-footer {
  align-items: center;
  bottom: 2.2rem;
  color: #3d463f;
  display: flex;
  font-size: 0.54rem;
  justify-content: space-between;
  left: 4.8rem;
  letter-spacing: 0.04em;
  position: absolute;
  right: 4.8rem;
  text-transform: uppercase;
  z-index: 7;
}

.contact-label {
  font-size: 0.52rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-desc {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.45;
  margin: 0;
  max-width: 50ch;
  letter-spacing: 0.005em;
}

.contact-value {
  font-weight: var(--hair);
  letter-spacing: 0;
}

.contact-value a {
  color: var(--text-bright);
  transition: color 0.3s, text-shadow 0.3s;
}
.contact-value a:hover {
  color: var(--accent);
  text-shadow:
    0 0 15px rgba(130,216,255,0.26),
    0 0 24px rgba(199,154,255,0.12);
}

.contact-links {
  display: flex;
  gap: 1.15rem;
}

.contact-links a {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0;
  transition: color 0.3s;
}

.contact-links a:hover { color: var(--text-bright); }

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.5rem;
  box-shadow:
    0 0 8px var(--green),
    0 0 18px rgba(130,216,255,0.22);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ─── Bottom Bar ─────────────────────────────────────────── */

.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  font-size: 0.55rem;
  color: var(--text-faint);
  font-weight: var(--hair);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(to top, #000 50%, transparent 100%);
  z-index: 10;
}

.bottom-bar .center-icon {
  font-size: 0.9rem;
  vertical-align: middle;
  margin-right: 0.35rem;
  color: var(--text-faint);
}

/* ─── 404 ────────────────────────────────────────────────── */

.not-found { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; }
.not-found h1 { font-size: 0.7rem; font-weight: var(--hair); letter-spacing: 0.05em; color: var(--text-dim); margin: 0; text-transform: uppercase; }
.not-found p  { font-size: 0.68rem; color: var(--text-faint); margin: 0; letter-spacing: 0; }

/* ─── Scrollbar ──────────────────────────────────────────── */

::-webkit-scrollbar       { width: 0px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; }

@media (max-width: 720px) {
  .site {
    flex-direction: column;
  }

  .hero-panel {
    width: 100%;
    height: 36vh;
    min-height: 250px;
    margin-right: 0;
    overflow: hidden;
  }

  .hero-panel::after {
    inset: 0;
  }

  .content-panel {
    flex: 1;
    width: 100% !important;
    background: #000;
  }

  .content-panel::before {
    inset: -18vh 0 auto 0;
    height: 28vh;
    background: linear-gradient(to bottom, transparent, #000);
  }

  .hero-logo-small {
    top: 1rem;
    width: 44px;
  }

  .project-aside {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1rem;
  }

  .global-header {
    padding: 1rem 1.25rem 0.5rem;
    overflow-x: auto;
  }

  .global-nav {
    gap: 1rem;
    min-width: max-content;
  }

  .page-content {
    padding: 1.25rem 1.25rem 5rem;
  }

  .section-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .site[data-page="standard"] .hero-panel {
    height: 100%;
  }

  .site[data-page="standard"] .hero-panel canvas {
    opacity: 0.34;
    transform: translate(-20vw, -10vh) scale(1.2);
  }

  .site[data-page="standard"] .hero-logo-small {
    display: none;
  }

  .site[data-page="standard"] .global-header {
    left: 1.25rem;
    max-width: calc(100vw - 2.5rem);
    overflow-x: auto;
    padding: 1rem 0 0;
  }

  .site[data-page="standard"] .content-panel::before {
    background:
      radial-gradient(circle at 22% 18%, rgba(130,216,255,0.12),
      transparent 34%),
      linear-gradient(to bottom, rgba(0,0,0,0.24) 0%,
      rgba(0,0,0,0.72) 34%, #000 100%);
  }

  .site[data-page="standard"] .content-panel {
    background: transparent;
  }

  .standard-stage {
    margin-left: 0;
    max-width: none;
    min-height: 100vh;
    padding: 5.35rem 1.25rem 4.4rem;
  }

  .standard-stage::before {
    inset: 4.5rem -1.5rem 3rem -1.5rem;
    width: auto;
  }

  .standard-orbit {
    opacity: 0.16;
    right: -30vw;
    top: 8rem;
    width: 92vw;
  }

  .notes-list {
    max-width: 100%;
  }

  .note-card {
    grid-template-columns: 32px 1fr;
  }

  .note-card .entry-meta {
    grid-column: 2;
    justify-self: start;
  }

  .founder-bio {
    font-size: 1rem;
    line-height: 1.48;
  }

  .founder-meta span {
    font-size: 0.52rem;
  }

  .contact-links {
    flex-direction: column;
    gap: 0.58rem;
  }

  .contact-field {
    gap: 0.5rem;
    grid-template-columns: 1fr;
    padding: 0.92rem 0;
  }

  .contact-desc,
  .contact-links,
  .contact-value {
    grid-column: auto;
  }

  .entry-row {
    grid-template-columns: 32px 1fr auto;
    gap: 0.58rem;
    padding: 0.92rem 0;
  }

  .entry-main h2 {
    font-size: 0.9rem;
  }

  .entry-main p {
    font-size: 0.72rem;
    line-height: 1.46;
  }

  .entry-thumb {
    display: none;
  }

  .badge {
    padding: 0.16rem 0.4rem;
    font-size: 0.5rem;
  }

  .bottom-bar {
    height: 2.6rem;
    padding: 0 1.25rem;
    font-size: 0.46rem;
  }

  .boot-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.35rem;
    padding: 0 1.25rem;
  }

  .site[data-page="projects"] .hero-panel {
    position: absolute;
    inset: 0 0 auto 0;
    height: 38svh;
    min-height: 260px;
  }

  .site[data-page="projects"] .hero-panel canvas {
    filter: brightness(2.1) contrast(1.35) saturate(1.25);
    transform: translateY(3.5rem) scale(1.24);
    transform-origin: center top;
  }

  .site[data-page="projects"] .hero-panel::after {
    background:
      linear-gradient(to bottom, transparent 0%,
      rgba(0,0,0,0.02) 58%, #000 100%);
  }

  .site[data-page="projects"] .content-panel {
    background: transparent;
    height: 100%;
  }

  .site[data-page="projects"] .content-panel::before {
    background:
      radial-gradient(ellipse at 52% 18%, rgba(130,216,255,0.16),
      transparent 38%),
      linear-gradient(to bottom, transparent 0%,
      rgba(0,0,0,0.08) 38%, #000 51%, #000 100%),
      radial-gradient(circle at 22% 18%, rgba(199,154,255,0.09),
      transparent 32%);
  }

  .site[data-page="projects"] .global-header {
    left: 1.25rem;
    max-width: calc(100vw - 2.5rem);
    overflow-x: auto;
    padding: 0;
    top: min(32svh, 260px);
  }

  .site[data-page="projects"] .global-nav {
    gap: 1rem;
  }

  .site[data-page="projects"] .global-nav a {
    font-size: 0.55rem;
    letter-spacing: 0.055em;
  }

  .projects-viewport {
    min-height: 760px;
  }

  .lab-status {
    right: 1rem;
    top: 1rem;
  }

  .project-rail {
    bottom: auto;
    left: 1.25rem;
    top: 1rem;
  }

  .project-mark {
    width: 2rem;
  }

  .rail-line {
    bottom: auto;
    height: 9rem;
    top: 4rem;
  }

  .rail-dots {
    bottom: auto;
    height: 9rem;
    top: 4rem;
  }

  .project-rail p {
    display: none;
  }

  .project-feature {
    left: 1.25rem;
    right: 1.25rem;
    top: min(42svh, 340px);
    width: auto;
  }

  .project-title {
    font-size: 1.05rem;
    letter-spacing: 0.045em;
  }

  .project-desc {
    font-size: 0.72rem;
    max-width: 30ch;
  }

  .project-peers {
    margin-top: 1.6rem;
    max-width: 100%;
  }

  .projects-footer {
    bottom: 1rem;
    font-size: 0.44rem;
    left: 1.25rem;
    right: 1.25rem;
  }
}
