@font-face { font-family: "Manrope"; src: url("./assets/fonts/manrope.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader-300-normal.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --abyss: #040d14;
  --abyss-deep: #050c18;
  --paper: #f1eeee;
  --paper-dim: #bec4d3;
  --muted: #9da9bf;
  --bio: #b5e8ed;
  --electric: #81caff;
  --line: rgba(168, 193, 220, 0.2);
  --serif: "Newsreader", "Sitka Display", Georgia, serif;
  --sans: "Manrope", "Bahnschrift", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --gutter: clamp(1.375rem, 4.4vw, 3.4rem);
}

/* Cross-document View Transitions across index.html, name.html, and about.html */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: vt-fade-out 0.26s ease-in both;
  }

  ::view-transition-new(root) {
    animation: vt-fade-in 0.32s ease-out both;
  }
}

@keyframes vt-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes vt-fade-in {
  from {
    opacity: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--abyss);
  scrollbar-width: thin;
  scrollbar-color: #33425c var(--abyss);
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.subpage {
  background:
    radial-gradient(ellipse 70% 55% at 78% -10%, rgba(18, 54, 78, 0.42), transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 35%, rgba(12, 34, 56, 0.3), transparent 60%),
    var(--abyss-deep);
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: #245368;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--bio);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: #0c1a2c;
  border: 1px solid var(--line);
  font: 0.75rem/1.5 var(--sans);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 60px;
  pointer-events: none;
}

/* Unified full-viewport WebGPU/WebGL2 stage: fluid + caustics + wordmark + 3D octopus */
.sculpture-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  height: 100dvh;
  z-index: 0;
  background: radial-gradient(ellipse 58% 85% at 62% -4%, #143344, transparent), var(--abyss);
  translate: 0 0;
  opacity: 1;
}

#stage-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y pinch-zoom;
}

@media (hover: hover) and (pointer: fine) {
  #stage-canvas {
    cursor: grab;
  }
  #stage-canvas:active {
    cursor: grabbing;
  }
}

.sculpture-fallback {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sculpture-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sculpture-loading .sculpture-fallback,
.sculpture-revealing .sculpture-fallback,
.no-sculpture .sculpture-fallback {
  display: block;
}

.sculpture-loading .sculpture-fallback {
  opacity: 1;
}

.sculpture-revealing .sculpture-fallback {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.no-sculpture #stage-canvas,
.no-sculpture .interaction-note,
.no-sculpture .motion-toggle {
  display: none;
}

.sculpture-loading #stage-canvas {
  pointer-events: none;
}

.type-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 13, 20, 0.34), transparent 44%);
}

.edge-shade {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 13, 20, 0.72),
    transparent 18%,
    transparent 78%,
    rgba(4, 13, 20, 0.64)
  );
}

/* Header / Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  view-transition-name: site-topbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: 1.25rem var(--gutter);
  padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, rgba(4, 13, 20, 0.58), transparent);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  pointer-events: none;
}

.topbar.is-scrolled {
  background: rgba(4, 13, 20, 0.94);
  border-bottom-color: var(--line);
}

.topbar a,
.topbar button {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
}

.mark {
  width: 31px;
  height: 27px;
  flex: none;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.brand-word {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e0e7f1;
  line-height: 1.4;
  white-space: nowrap;
}

.brand-word > span {
  color: #9dabbe;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.5rem);
  font-family: var(--sans);
}

.site-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.75rem;
  color: var(--paper-dim);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: #ffffff;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.motion-toggle:hover {
  color: var(--paper);
}

.motion-icon {
  position: relative;
  width: 8px;
  height: 9px;
  flex: none;
}

.motion-icon::before,
.motion-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 9px;
  background: #badde9;
}

.motion-icon::before {
  left: 0;
}

.motion-icon::after {
  right: 0;
}

.motion-toggle[data-motion-on="false"] .motion-icon::before {
  top: -1px;
  left: 1px;
  width: 0;
  height: 0;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
  border-left: 6px solid #badde9;
  background: transparent;
}

.motion-toggle[data-motion-on="false"] .motion-icon::after {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 3;
  container-type: inline-size;
  container-name: hero;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(5.5rem + env(safe-area-inset-top, 0px)) var(--gutter) calc(5.5rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  touch-action: pan-y pinch-zoom;
}

.is-manipulating,
.is-manipulating * {
  user-select: none;
}

.hero a,
.hero button,
.hero-caption,
.imaging-lenses {
  pointer-events: auto;
}

/* Particle wordmark lives in the unified canvas; HTML fallback shows only without WebGL/WebGPU */
.fallback-word {
  display: none;
  position: absolute;
  left: var(--gutter);
  top: 20svh;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1rem + 5vw, 6.25rem);
  line-height: 1;
  letter-spacing: 0.025em;
  color: #6bb5ff;
  pointer-events: none;
}

.fallback-word small {
  display: block;
  margin-top: 0.55em;
  font: 400 0.2em/1 var(--sans);
  letter-spacing: 0.55em;
  padding-left: 0.55em;
}



.hero-caption {
  position: relative;
  width: min(36cqi, 28.75rem);
  margin-top: 8svh;
  pointer-events: auto;
}

.hero-tagline {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 3.875rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #eaf5ff;
  text-shadow: 0 2px 24px rgba(4, 13, 20, 0.75);
}

.tagline-line {
  display: block;
  width: max-content;
  white-space: nowrap;
}

.hero-tagline .tagline-accent {
  font-weight: 600;
  color: #b9e2eb;
}

.hero-what {
  margin: 1.125rem 0 0;
  font-family: var(--sans);
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #c2dce0;
  text-shadow: 0 0 12px #04101a, 0 0 4px #04101a;
}

.interaction-note {
  position: absolute;
  left: var(--gutter);
  bottom: calc(10svh + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  pointer-events: none;
}

.interaction-hint {
  margin: 0;
  padding-left: 2px;
  color: #a8bfd2;
  font: 0.75rem/1.4 var(--sans);
  letter-spacing: 0.04em;
}

.imaging-lenses {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 2px;
  gap: 2px;
  border: 1px solid rgba(151, 193, 219, 0.22);
  border-radius: 999px;
  background: rgba(4, 13, 20, 0.68);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.imaging-lenses[hidden] {
  display: none;
}

.imaging-lenses button {
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #a4b8cc;
  font: 0.6875rem/1 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.imaging-lenses button:hover {
  color: #e6f6ff;
}

.imaging-lenses button[aria-pressed="true"] {
  color: #e4fbff;
  background: rgba(34, 118, 146, 0.34);
  border-color: rgba(142, 240, 255, 0.48);
}

.imaging-lenses button:focus-visible {
  outline-offset: -2px;
}

@media (pointer: coarse) {
  .imaging-lenses button {
    min-height: 40px;
    padding: 0 11px;
  }
}

.imaging-lenses.is-docked {
  position: fixed;
  top: var(--dock-y, calc(100dvh - 64px));
  left: var(--dock-x, var(--gutter));
  right: auto;
  bottom: auto;
  z-index: 10;
}

/* Field-guide plates */
.field-notes {
  position: relative;
  z-index: 3;
  container-type: inline-size;
  container-name: notes;
  padding-bottom: 18svh;
  pointer-events: none;
}

.plate-slot {
  min-height: 105svh;
}

.plate {
  --plate-top: clamp(5.5rem, calc(100svh - 33rem), 26svh);
  position: sticky;
  top: var(--plate-top);
  isolation: isolate;
  width: min(38cqi, 27rem);
  margin-left: var(--gutter);
  pointer-events: auto;
}

.plate::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  pointer-events: none;
  border-radius: 32px;
  background: rgba(4, 13, 20, 0.62);
  box-shadow: 0 0 56px 40px rgba(4, 13, 20, 0.62);
}

.plate--open {
  --plate-top: clamp(5.5rem, calc(100svh - 34rem), 22svh);
  width: min(44cqi, 33rem);
  padding: 0;
  border: 0;
  background: none;
}

.plate--open::before {
  inset: -44px -52px;
  border-radius: 0;
  box-shadow: none;
  background: radial-gradient(
    ellipse 78% 72% at 38% 50%,
    rgba(4, 13, 20, 0.58) 0%,
    rgba(4, 13, 20, 0.24) 58%,
    transparent 82%
  );
}

.open-eyebrow {
  margin: 0 0 1.125rem;
  color: #8fb3d1;
  font: 0.6875rem/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.open-display {
  margin: 0 0 1.75rem;
  font: 300 clamp(2.2rem, 1.25rem + 2.8vw, 3.8rem)/1.02 var(--serif);
  letter-spacing: -0.04em;
  color: var(--paper);
  text-shadow: 0 4px 28px rgba(4, 13, 20, 0.78);
}

.open-lines {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 28rem;
}

.open-lines p {
  margin: 0;
  color: #d2e0ee;
  font: 1rem/1.68 var(--sans);
  letter-spacing: 0.008em;
  text-shadow: 0 2px 18px rgba(4, 13, 20, 0.85);
}

.plate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: 1.25rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(157, 206, 218, 0.42);
  color: var(--bio);
  font: 0.8125rem/1.4 var(--sans);
  letter-spacing: 0.03em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.plate-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.lens-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(157, 206, 218, 0.45);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.section-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  margin: 0;
  border-top: 1px solid var(--line);
  color: #8fb3d1;
  font: 0.625rem/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-rule a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper-dim);
  transition: color 0.25s ease;
}

.section-rule a:hover {
  color: var(--paper);
}

.plate h2 {
  margin: 1.5rem 0 1.125rem;
  font: 300 clamp(1.875rem, 1.15rem + 1.8vw, 3.25rem)/1.04 var(--serif);
  letter-spacing: -0.04em;
  color: var(--paper);
}

.plate p:not(.section-rule) {
  margin: 0;
  color: #c6d4e3;
  font: 0.9375rem/1.75 var(--sans);
  letter-spacing: 0.012em;
}

/* Contact Section */
.contact-section {
  position: relative;
  z-index: 3;
  container-type: inline-size;
  container-name: contact;
  isolation: isolate;
  overflow: clip;
  padding: 4.5rem var(--gutter) 5.5rem;
  scroll-margin-top: 4.5rem;
  background: linear-gradient(180deg, transparent, rgba(4, 13, 20, 0.65) 26%, rgba(5, 10, 22, 0.92));
}

.contact-watermark {
  position: absolute;
  left: var(--gutter);
  bottom: -0.08em;
  z-index: -1;
  font: 400 23cqi/0.85 var(--serif);
  letter-spacing: -0.055em;
  white-space: nowrap;
  pointer-events: none;
  color: rgba(77, 146, 169, 0.22);
  -webkit-text-stroke: 1px rgba(145, 194, 211, 0.14);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: clamp(1.75rem, 4cqi, 3.5rem);
  margin-top: 3.5rem;
}

.contact-layout h2 {
  margin: 0;
  font: 300 clamp(2.5rem, 1.25rem + 3vw, 4.25rem)/1.02 var(--serif);
  letter-spacing: -0.04em;
  color: var(--paper);
}

.contact-copy .contact-lead {
  margin: 0 0 0.75rem;
  color: #e6f2fa;
  font: 300 clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem)/1.35 var(--serif);
}

.contact-copy .contact-qualifier {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: #aec2d7;
  font: 0.9375rem/1.7 var(--sans);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 44px;
  padding: 4px 0;
  border-bottom: 1px solid #9dceda;
  font: 400 clamp(1.125rem, 0.95rem + 0.5vw, 1.4375rem)/1.4 var(--sans);
  letter-spacing: 0.015em;
  color: #e8f5ff;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffffff;
  border-color: #ffffff;
}

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(157, 206, 218, 0.34);
  border-radius: 999px;
  background: rgba(8, 22, 34, 0.65);
  color: #c2dce4;
  font: 0.75rem/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.copy-email-btn:hover {
  color: #ffffff;
  border-color: rgba(181, 232, 237, 0.7);
  background: rgba(20, 58, 78, 0.55);
}

.copy-email-btn[data-copied="true"] {
  color: #e6fcff;
  border-color: rgba(142, 240, 255, 0.7);
  background: rgba(34, 118, 146, 0.36);
}

.footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 1.625rem var(--gutter) calc(1.875rem + env(safe-area-inset-bottom, 0px));
  background: var(--abyss);
  color: var(--muted);
  font: 0.6875rem/1.5 var(--sans);
  letter-spacing: 0.035em;
}

.footer-mid {
  color: #7e97b0;
}

/* Subpages (name.html, about.html) */
.page {
  flex: 1;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  padding: calc(7.5rem + env(safe-area-inset-top, 0px)) var(--gutter) 5.5rem;
  container-type: inline-size;
  container-name: page;
}

.page .section-rule {
  margin-bottom: 2.25rem;
}

.dossier-head {
  max-width: 44rem;
}

.page h1 {
  margin: 0 0 1.5rem;
  font: 300 clamp(2.25rem, 1.15rem + 3vw, 4.25rem)/1.03 var(--serif);
  letter-spacing: -0.04em;
  color: var(--paper);
}

.page h1 em {
  display: block;
  color: #b9e2eb;
}

.dossier-lead {
  margin: 0;
  color: #cedbe9;
  font: 1.0625rem/1.75 var(--sans);
}

.specimen-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 0;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.specimen-strip > div {
  min-width: 0;
}

.specimen-strip dt {
  margin: 0 0 0.35rem;
  color: #82a4c2;
  font: 0.625rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.specimen-strip dd {
  margin: 0;
  color: #e7f2fc;
  font: 0.9375rem/1.45 var(--sans);
}

.dossier-section {
  margin-top: 4rem;
}

.page h2 {
  margin: 0 0 1.25rem;
  font: 300 clamp(1.625rem, 1.1rem + 1.4vw, 2.5rem)/1.08 var(--serif);
  letter-spacing: -0.03em;
  color: var(--paper);
}

.page p {
  margin: 0 0 1.125rem;
  color: #c4d3e3;
  font: 1rem/1.75 var(--sans);
}

.dossier-split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: start;
  gap: 2.5rem;
}

.pull-quote {
  margin: 0;
  padding: 0.35rem 0 0.35rem 1.5rem;
  border-left: 1px solid rgba(157, 206, 218, 0.45);
}

.pull-quote p {
  margin: 0;
  color: #d6eef4;
  font: 300 italic clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem)/1.32 var(--serif);
  letter-spacing: -0.015em;
}

.dossier-intro {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.sim-card {
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}

.sim-card-label {
  margin: 0 0 0.65rem;
  color: var(--bio);
  font: 0.6875rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sim-card p:not(.sim-card-label) {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #bfd0e2;
}

.founded-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.75rem 0 0;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founded-strip dt {
  margin: 0 0 0.35rem;
  color: #82a4c2;
  font: 0.625rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founded-strip dd {
  margin: 0;
  color: #e7f2fc;
  font: 0.9375rem/1.45 var(--sans);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 3.25rem;
}

.studio-col {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.studio-col h2 {
  font-size: clamp(1.375rem, 1.05rem + 0.9vw, 1.875rem);
  margin-bottom: 0.9rem;
}

.studio-col p:not(.sim-card-label) {
  margin: 0;
  font-size: 0.95rem;
}

.audience-band {
  margin-top: 3.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience-copy {
  max-width: 44rem;
  margin: 0 0 1.5rem;
  color: #ddeaf5;
  font: 300 clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem)/1.45 var(--serif);
}

.dossier-footer-nav {
  margin-top: 3.25rem;
}

.return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--bio);
  font: 0.875rem/1.4 var(--sans);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.return-link:hover {
  color: #ffffff;
}

@container page (max-width: 720px) {
  .specimen-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founded-strip,
  .dossier-split,
  .sim-grid,
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Component-driven Container Queries (replacing 145-line inline resize JS) */
@container hero (max-width: 760px) {
  .hero-caption {
    width: 100%;
    max-width: 30rem;
    margin-top: 0;
    align-self: flex-start;
    padding: 0.75rem 0;
    background: radial-gradient(ellipse 80% 60% at 32% 50%, rgba(4, 13, 20, 0.72), transparent 72%);
  }

  .interaction-note {
    bottom: calc(6svh + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
  }

  .interaction-hint {
    font-size: 0.6875rem;
  }
}

@container notes (max-width: 820px) {
  .plate {
    --plate-top: calc(5.5rem + env(safe-area-inset-top, 0px));
    width: auto;
    max-width: 32rem;
    margin-right: var(--gutter);
  }

  .plate::before {
    inset: -28px calc(-1 * var(--gutter)) -36px;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(
      rgba(4, 13, 20, 0),
      rgba(4, 13, 20, 0.82) 28px,
      rgba(4, 13, 20, 0.82) calc(100% - 36px),
      rgba(4, 13, 20, 0)
    );
  }
}

@container contact (max-width: 680px) {
  .contact-layout {
    grid-template-columns: 1fr;
    margin-top: 2.25rem;
  }

  .contact-watermark {
    font-size: 27cqi;
    bottom: 0;
  }
}

/* Viewport-level refinements for narrow portrait & short landscape phones */
@media (max-width: 700px) {
  .topbar {
    padding: 0.875rem var(--gutter);
    padding-top: calc(0.875rem + env(safe-area-inset-top, 0px));
  }

  .mark {
    width: 26px;
    height: 23px;
  }

  .brand-word {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .site-nav > a {
    font-size: 0.6875rem;
  }

  .motion-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .motion-toggle { min-width: 44px; min-height: 44px; justify-content: center; }

  .hero {
    justify-content: flex-start;
    padding-top: calc(29svh + env(safe-area-inset-top, 0px));
  }

  .sculpture-fallback {
    inset: 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 380px) {
  .topbar .mark {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .topbar {
    padding-block: 0.5rem;
  }

  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .hero-caption {
    margin-top: 2svh;
  }

  .interaction-note {
    bottom: 6svh;
  }


}

/* CSS Scroll-Driven Animations (guarded with both scroll() and animation-range) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  html {
    timeline-scope: --tl-plate, --tl-contact;
  }

  .plate-slot {
    view-timeline: --tl-plate block;
  }

  .contact-section {
    view-timeline: --tl-contact block;
  }

  @keyframes topbar-scroll {
    from {
      background-color: rgba(4, 13, 20, 0);
      border-bottom-color: transparent;
    }
    to {
      background-color: rgba(4, 13, 20, 0.88);
      backdrop-filter: blur(12px);
      border-bottom-color: rgba(168, 193, 220, 0.2);
    }
  }

  @keyframes stage-sink {
    from {
      translate: 0 0;
      opacity: 1;
    }
    to {
      translate: 0 8svh;
      opacity: 0.34;
    }
  }

  @keyframes plate-reveal {
    from {
      opacity: 0;
      translate: 0 1.5rem;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  @keyframes watermark-ink {
    from {
      opacity: 0.08;
      translate: 0 1.25rem;
      clip-path: inset(0 100% 0 0);
    }
    to {
      opacity: 1;
      translate: 0 0;
      clip-path: inset(0 0 0 0);
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    body:not(.subpage) .topbar {
      animation: topbar-scroll auto linear both;
      animation-timeline: scroll(root block);
      animation-range: 0px 80px;
    }

    html:not(.motion-off) .sculpture-stage {
      animation: stage-sink auto linear both;
      animation-timeline: --tl-contact;
      animation-range: entry 0% entry 85%;
    }

    html:not(.motion-off) .plate {
      animation: plate-reveal auto linear both;
      animation-timeline: --tl-plate;
      animation-range: entry 5% cover 28%;
    }

    html:not(.motion-off) .contact-watermark {
      animation: watermark-ink auto linear both;
      animation-timeline: --tl-contact;
      animation-range: entry 5% entry 95%;
    }
  }
}

/* IntersectionObserver fallback states (applied ONLY when CSS Scroll-Driven Animations are unsupported) */
.scroll-fallback .plate {
  opacity: 0;
  translate: 0 1.25rem;
  transition: opacity 0.45s ease, translate 0.45s ease;
}

.scroll-fallback .plate.is-visible {
  opacity: 1;
  translate: 0 0;
}

.scroll-fallback .contact-watermark {
  opacity: 0.14;
  transition: opacity 0.6s ease;
}

.scroll-fallback .contact-watermark.is-visible {
  opacity: 1;
}

/* MANDATORY Reduced-Motion & User Motion-Off Safety */
html.motion-off .sculpture-stage,
html.motion-off .plate,
html.motion-off .contact-watermark {
  animation: none !important;
  opacity: 1 !important;
  translate: 0 0 !important;
  clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .sculpture-stage,
  .plate,
  .contact-watermark,
  .topbar {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
    clip-path: none !important;
  }

  .sculpture-revealing .sculpture-fallback,
  .topbar,
  .site-nav > a,
  .motion-toggle,
  .contact-link {
    transition: none;
  }
}

/* Optional ?debug=1 Live Performance HUD (injected only when ?debug=1 is present) */
.v2-debug-hud {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 248px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(138, 206, 232, 0.26);
  background: rgba(4, 13, 22, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
  color: #e2f5ff;
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 0.72rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  pointer-events: auto;
}

.v2-debug-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.v2-debug-fps {
  font-size: 0.84rem;
  font-weight: 600;
  color: #9bf2ff;
}

.v2-debug-meta {
  color: #9bb8cc;
  font-size: 0.68rem;
}

.v2-debug-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid rgba(138, 206, 232, 0.14);
}

.v2-debug-pill {
  flex: 1;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(138, 206, 232, 0.25);
  background: rgba(14, 30, 46, 0.7);
  color: #9ab3c7;
  font: inherit;
  font-size: 0.68rem;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.v2-debug-pill[aria-pressed="true"] {
  border-color: rgba(142, 240, 255, 0.55);
  background: rgba(34, 118, 146, 0.34);
  color: #dffbff;
}

.v2-debug-pill:hover {
  border-color: rgba(181, 232, 237, 0.65);
  color: #ffffff;
}

.topbar.is-scrolled { background: rgba(4, 13, 20, 0.88); backdrop-filter: blur(12px); }
.lens-reticle { position: fixed; pointer-events: none; z-index: 4; border-radius: 50%; border: 1px solid rgba(181, 232, 237, 0.42); box-shadow: 0 0 0 1px rgba(4, 13, 20, 0.45), inset 0 0 18px rgba(129, 202, 255, 0.12); transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.18s ease; }
.lens-reticle.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lens-reticle { transition: none; } }
.copy-status:not(:empty) { position: static; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; overflow: visible; }
