/* ==========================================================================
   95 Alpha — Design tokens
   ========================================================================== */
:root {
  --color-bg: #000000;
  --color-fg: #ffffff;
  --color-fg-muted: rgba(255, 255, 255, 0.72);

  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --page-pad: clamp(3.5rem, 11.5vw, 11rem);
  --container-max: 100%;
  --content-max: 42ch;
  --section-body-size: clamp(0.95rem, 1.62vw, 1.26rem);
  --section-body-line: 1.68;
  --section-content-max: 54ch;

  --heading-size: clamp(1.85rem, 3.4vw, 2.85rem);
  --subheading-inline-size: clamp(0.58rem, 1vw, 0.76rem);
  --body-size: clamp(0.58rem, 0.95vw, 0.74rem);
  --hero-quote-size: clamp(2rem, 6.5vw, 5.25rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-reveal: 1.1s;

  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.32);
  --glass-blur: 20px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  font-family: var(--font-display);
  color: var(--color-fg);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Site header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.2vw, 1.65rem) var(--page-pad);
  pointer-events: none;
}

.site-header__logo,
.site-header__nav {
  pointer-events: auto;
}

.site-header__logo {
  display: block;
  line-height: 0;
}

.site-header__logo-img {
  display: block;
  width: auto;
  height: clamp(48px, 7.8vw, 80px);
  object-fit: contain;
}

.site-header__nav {
  position: relative;
}

.glass-surface {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.65);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.65);
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 1px 0 0 rgba(255, 255, 255, 0.18);
  isolation: isolate;
  transform: translateZ(0);
}

.glass-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    transparent 58%
  );
  pointer-events: none;
}

.nav-glass-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: clamp(2.65rem, 4.5vw, 3.1rem);
  height: clamp(2.65rem, 4.5vw, 3.1rem);
  padding: 0;
  border: none;
  border-radius: clamp(8px, 1.1vw, 12px);
  cursor: pointer;
  color: var(--color-fg);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-glass-btn__bar {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(1rem, 1.6vw, 1.2rem);
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav-glass-btn[aria-expanded="true"] .nav-glass-btn__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-glass-btn[aria-expanded="true"] .nav-glass-btn__bar:nth-child(2) {
  opacity: 0;
}

.nav-glass-btn[aria-expanded="true"] .nav-glass-btn__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: clamp(11rem, 18vw, 14rem);
  padding: 0.45rem;
  border-radius: clamp(10px, 1.4vw, 14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    visibility 0.28s;
}

.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown[hidden]:not(.is-open) {
  display: none;
}

.nav-dropdown__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0.62rem 0.85rem;
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 0.95vw, 0.74rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
  border-radius: clamp(6px, 0.9vw, 8px);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown__link:hover,
.nav-dropdown__link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  padding-inline: var(--page-pad);
  margin-inline: auto;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.section-heading {
  font-family: var(--font-display);
  font-size: var(--heading-size);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-subheading {
  font-family: var(--font-display);
  font-size: var(--subheading-inline-size);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.heading-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1rem, 2.8vw, 2.75rem);
  max-width: 100%;
}

.section-subheading--inline {
  font-family: var(--font-mono);
  font-size: var(--body-size);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}

.body-mono {
  font-family: var(--font-mono);
  font-size: var(--body-size);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.045em;
  color: var(--color-fg);
  text-transform: uppercase;
}

.body-mono--wide {
  max-width: var(--content-max);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* --- Scroll video stage (hero + map) --- */
.scroll-video-stage {
  position: relative;
  isolation: isolate;
}

.scroll-video-bg {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100svh + 2px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: calc(-100svh - 2px);
  isolation: isolate;
}

.scroll-video-canvas,
.scroll-video-fallback {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  display: block;
}

[data-parallax] {
  will-change: transform;
}

.scroll-video-canvas {
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.scroll-video-fallback {
  object-fit: cover;
  object-position: center center;
  transition: opacity 0.35s ease;
}

.scroll-video-bg.is-ready .scroll-video-fallback {
  opacity: 0;
  pointer-events: none;
}

.scroll-video-bg.is-ready .scroll-video-canvas {
  opacity: 1;
}

.scroll-video-stage .section--hero,
.scroll-video-stage .section--map,
.scroll-video-stage .section--execution,
.scroll-video-stage .section--edge {
  position: relative;
  z-index: 1;
  background: transparent;
  overflow: visible;
}

.scroll-video-stage .section--interface {
  position: relative;
  z-index: 2;
  background: var(--color-bg);
}

/* --- Hero --- */
.section--hero {
  min-height: 100svh;
  background: transparent;
}

.parallax-layer--hero {
  inset: -12% 0 0;
}

/* --- Map / Philosophy --- */
.section--map {
  margin-top: -16vh;
  padding: clamp(2.5rem, 5vh, 4rem) 0 clamp(9rem, 18vh, 13rem);
  background: transparent;
}

.parallax-layer--map {
  inset: -18% 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding-inline: var(--page-pad);
  will-change: opacity, transform;
}

.hero-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(340px, 55vh, 560px);
}

.hero-quote {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  font-size: var(--hero-quote-size);
  font-weight: 200;
  letter-spacing: 0.22em;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.6;
  margin: 0;
  padding-inline: var(--page-pad);
  white-space: nowrap;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: clamp(280px, 44vw, 540px);
  height: auto;
  mix-blend-mode: screen;
}

.hero-quote-mark {
  font-weight: 200;
  opacity: 0.92;
}

.hero-quote-text {
  letter-spacing: 0.24em;
  padding-inline: 0.1em;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.52rem, 0.82vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  position: absolute;
  bottom: clamp(2.5rem, 7vh, 4.5rem);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* --- Map / Philosophy --- */
[data-scroll-in] {
  opacity: 0;
  will-change: opacity, transform;
}

.philosophy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: clamp(9rem, 18vh, 15rem);
  column-gap: clamp(1.5rem, 4vw, 3rem);
}

.philosophy-block--ontology {
  grid-column: 1 / 6;
  grid-row: 1;
  max-width: 56ch;
  align-self: start;
}

.philosophy-block--ontology .section-heading {
  margin-bottom: clamp(1.25rem, 2.5vh, 1.85rem);
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
}

.philosophy-block--ontology .body-mono {
  text-align: left;
  font-size: var(--section-body-size);
  line-height: var(--section-body-line);
  letter-spacing: 0.048em;
}

.binary-cluster {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.4vh, 1.1rem);
  position: relative;
}

.binary-cluster--right {
  grid-column: 9 / 13;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  padding-right: clamp(1.75rem, 3vw, 2.75rem);
}

.binary-cluster--left {
  grid-column: 1 / 4;
  grid-row: 2;
  align-self: center;
  padding-left: clamp(1.75rem, 3vw, 2.75rem);
}

.philosophy-block--epistemology {
  grid-column: 8 / 13;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  text-align: right;
  max-width: 56ch;
}

.philosophy-block--epistemology .section-heading {
  margin-bottom: clamp(1.25rem, 2.5vh, 1.85rem);
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
}

.philosophy-block--epistemology .body-mono {
  text-align: right;
  font-size: var(--section-body-size);
  line-height: var(--section-body-line);
  letter-spacing: 0.048em;
}

.binary-line {
  font-family: var(--font-mono);
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
  white-space: nowrap;
}

.binary-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: var(--color-fg);
}

.binary-rule--left {
  right: auto;
  left: 0;
}

/* --- Interface --- */
.section--interface {
  padding: clamp(6rem, 13vh, 9rem) 0 clamp(4rem, 9vh, 6rem);
}

.scroll-video-stage .section--interface {
  background: var(--color-bg);
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.split-row__left {
  justify-self: start;
  align-self: start;
}

.split-row__right {
  display: flex;
  justify-content: flex-end;
  justify-self: end;
  align-self: start;
  width: 100%;
}

/* Sections 2–4: larger body copy, fewer lines, top-aligned */
.section--map .body-mono,
.section--interface .body-mono--wide,
.section--execution .body-mono--wide,
.section--edge .body-mono--wide {
  font-size: var(--section-body-size);
  line-height: var(--section-body-line);
  letter-spacing: 0.048em;
  max-width: var(--section-content-max);
}

.section--interface .section-heading,
.section--execution .section-heading,
.section--edge .section-heading {
  font-size: clamp(2.1rem, 3.85vw, 3.25rem);
  line-height: 1.08;
}

.section--interface .section-subheading--inline,
.section--edge .section-subheading--inline {
  font-size: clamp(0.88rem, 1.38vw, 1.08rem);
  line-height: 1.45;
  padding-top: 0.2em;
}

.split-row__right .body-mono {
  text-align: right;
  margin-left: auto;
}

.mesh-wrap {
  position: relative;
  width: min(1180px, 100% - var(--page-pad) * 2);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.parallax-layer--mesh {
  position: relative;
  inset: unset;
  height: 100%;
}

.interface-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
}

/* --- Execution & Edge --- */
.section--execution,
.section--edge {
  padding: clamp(5rem, 11vh, 8rem) 0;
  background: transparent;
}

.scroll-video-stage .section--execution {
  min-height: 55svh;
  padding-top: clamp(6rem, 14vh, 10rem);
}

.scroll-video-stage .section--edge {
  min-height: 75svh;
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

.section--edge {
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

/* --- Performance graph --- */
.graph-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: clamp(2.5rem, 5vh, 3.5rem) auto 0;
  padding-inline: var(--page-pad);
}

.glass-card {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  border-radius: clamp(12px, 1.6vw, 18px);
  padding: clamp(0.5rem, 0.9vw, 0.75rem);
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 1px 0 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transform: translateZ(0);
}

.glass-card__frost {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.65);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.65);
  pointer-events: none;
}

.glass-card__frost::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    transparent 58%
  );
  pointer-events: none;
}

.glass-card__body {
  position: relative;
  z-index: 1;
}

.equity-chart {
  position: relative;
  z-index: 1;
  display: block;
  width: min(920px, calc(100vw - var(--page-pad) * 2 - 1.5rem));
  max-width: 100%;
  height: auto;
}

/* --- Access --- */
.section--access {
  padding: 0;
  background: var(--color-bg);
  overflow: hidden;
}

.access-stage {
  position: relative;
  min-height: clamp(760px, 100svh, 1040px);
}

.access-swirl {
  position: absolute;
  left: clamp(-3rem, -4vw, -1rem);
  bottom: clamp(-3rem, -5vh, -1rem);
  z-index: 1;
  width: clamp(620px, 88vw, 1280px);
  pointer-events: none;
  will-change: transform;
}

.swirl-geometry {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left bottom;
  opacity: 0.96;
}

.access-layout {
  position: relative;
  z-index: 2;
  min-height: clamp(760px, 100svh, 1040px);
  pointer-events: none;
}

.access-layout > * {
  pointer-events: auto;
}

.access-titles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.access-title {
  position: absolute;
  font-size: clamp(2.4rem, 6.2vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.access-title--access {
  left: var(--page-pad);
  top: clamp(11%, 17vh, 21%);
}

.access-title--protocols {
  left: clamp(36%, 40vw, 44%);
  top: clamp(11%, 17vh, 21%);
}

.access-meta {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.access-meta > * {
  pointer-events: auto;
}

.access-info {
  position: absolute;
  right: var(--page-pad);
  top: clamp(43%, 49vh, 53%);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.access-line {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.05vw, 0.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.65;
}

.access-line--email {
  transition: opacity 0.25s ease;
}

.access-line--email:hover {
  opacity: 0.65;
}

.access-line--indices {
  position: absolute;
  right: var(--page-pad);
  top: clamp(60%, 66vh, 70%);
  margin: 0;
  letter-spacing: 0.14em;
}

.back-to-top {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 0.9vw, 0.7rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: absolute;
  right: var(--page-pad);
  bottom: clamp(1.5rem, 4vh, 3rem);
  margin: 0;
  transition: opacity 0.25s ease;
}

.back-to-top:hover {
  opacity: 0.65;
}

/* ==========================================================================
   Scroll reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 120ms);
}

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

.reveal--hero {
  transform: translateY(20px);
}

.reveal--hero.is-visible {
  transform: translateY(0);
}

.reveal--hero.hero-quote {
  opacity: 0;
}

.reveal--hero.hero-quote.is-visible {
  opacity: 0.6;
  transform: none;
}

.reveal--hero.hero-tagline {
  transform: translateX(-50%) translateY(20px);
}

.reveal--hero.hero-tagline.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Binary flicker */
.binary-line.is-flickering {
  animation: binary-flicker 4s infinite;
  animation-delay: calc(var(--flicker-delay, 0) * 0.7s);
}

@keyframes binary-flicker {
  0%, 92%, 100% { opacity: 1; }
  93% { opacity: 0.35; }
  94% { opacity: 1; }
  96% { opacity: 0.5; }
  97% { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root {
    --page-pad: clamp(1.35rem, 5.5vw, 2.25rem);
    --hero-quote-size: clamp(1.4rem, 7.2vw, 2.75rem);
    --section-body-size: clamp(0.82rem, 3.4vw, 1rem);
    --section-content-max: 100%;
  }

  .site-header {
    padding: clamp(0.85rem, 2.5vw, 1.15rem) var(--page-pad);
  }

  .site-header__logo-img {
    height: clamp(38px, 11vw, 52px);
  }

  .nav-dropdown {
    min-width: clamp(10.5rem, 42vw, 13rem);
  }

  /* Hero */
  .section--hero {
    overflow: visible;
  }

  .hero-content {
    min-height: 100svh;
    padding-top: clamp(5.5rem, 15vh, 7rem);
    padding-bottom: clamp(2rem, 6vh, 3rem);
    justify-content: center;
  }

  .hero-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    min-height: clamp(280px, 50svh, 400px);
    width: 100%;
    overflow: visible;
  }

  .hero-quote {
    position: relative;
    grid-area: 1 / 1;
    inset: auto;
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
    font-size: clamp(0.9rem, 4.8vw, 1.5rem);
    letter-spacing: 0.08em;
    line-height: 1.3;
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 0.2em;
  }

  .hero-quote-mark {
    display: none;
  }

  .hero-quote-text {
    letter-spacing: 0.1em;
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-logo {
    grid-area: 1 / 1;
    z-index: 2;
    width: clamp(210px, 64vw, 340px);
  }

  .hero-tagline {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: clamp(1.25rem, 4vh, 2rem);
    font-size: clamp(0.58rem, 2.9vw, 0.72rem);
    line-height: 1.65;
    letter-spacing: 0.1em;
    white-space: normal;
    max-width: 28ch;
    padding-inline: 0.25rem;
  }

  .reveal--hero.hero-tagline {
    transform: translateY(20px);
  }

  .reveal--hero.hero-tagline.is-visible {
    transform: translateY(0);
  }

  /* Philosophy */
  .section--map {
    margin-top: -8vh;
    padding: clamp(2rem, 5vh, 3rem) 0 clamp(5rem, 12vh, 8rem);
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    row-gap: clamp(2.5rem, 7vh, 3.5rem);
  }

  .philosophy-block--ontology,
  .philosophy-block--epistemology,
  .binary-cluster--right,
  .binary-cluster--left {
    grid-column: 1;
    justify-self: start;
    max-width: none;
    padding-inline: 0;
  }

  .philosophy-block--ontology { grid-row: 1; }
  .binary-cluster--right { grid-row: 2; }
  .binary-cluster--left { grid-row: 3; }
  .philosophy-block--epistemology {
    grid-row: 4;
    text-align: left;
  }

  .philosophy-block--epistemology .body-mono,
  .philosophy-block--ontology .body-mono {
    text-align: left;
  }

  .philosophy-block--ontology .section-heading,
  .philosophy-block--epistemology .section-heading {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  }

  .binary-line {
    font-size: clamp(1.4rem, 5.8vw, 2rem);
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .binary-rule {
    display: none;
  }

  /* Split sections */
  .section--interface {
    padding: clamp(4.5rem, 11vh, 6.5rem) 0 clamp(3rem, 8vh, 4.5rem);
  }

  .section--execution,
  .section--edge {
    padding: clamp(3.5rem, 9vh, 5.5rem) 0;
  }

  .scroll-video-stage .section--execution {
    min-height: auto;
    padding-top: clamp(4rem, 10vh, 6rem);
  }

  .scroll-video-stage .section--edge {
    min-height: auto;
    padding-bottom: clamp(3.5rem, 9vh, 5.5rem);
  }

  .split-row {
    grid-template-columns: 1fr;
    gap: clamp(1.15rem, 3.5vh, 1.75rem);
    margin-bottom: clamp(1.75rem, 5vh, 2.5rem);
  }

  .split-row__right {
    justify-content: flex-start;
    justify-self: start;
  }

  .split-row__right .body-mono {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
  }

  .section--interface .section-heading,
  .section--execution .section-heading,
  .section--edge .section-heading {
    font-size: clamp(1.85rem, 7.8vw, 2.5rem);
  }

  .section--interface .section-subheading--inline,
  .section--edge .section-subheading--inline {
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
    white-space: normal;
    padding-top: 0;
  }

  .heading-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section-subheading--inline {
    white-space: normal;
  }

  .mesh-wrap {
    width: 100%;
    margin-inline: 0;
    padding-inline: var(--page-pad);
  }

  .graph-wrap {
    margin-top: clamp(1.75rem, 5vh, 2.5rem);
    padding-inline: var(--page-pad);
  }

  .glass-card {
    width: 100%;
  }

  .equity-chart {
    width: 100%;
  }

  /* Access — stacked mobile layout */
  .access-stage {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: clamp(4rem, 11vh, 6rem);
    padding-bottom: 0;
  }

  .access-layout {
    position: relative;
    order: 1;
    min-height: auto;
    padding-bottom: clamp(1.5rem, 4vh, 2rem);
  }

  .access-titles {
    position: relative;
    inset: auto;
    display: block;
    margin-bottom: clamp(2.5rem, 8vh, 3.5rem);
    pointer-events: auto;
  }

  .access-title {
    position: static;
    display: block;
    white-space: normal;
    font-size: clamp(2.1rem, 11vw, 3.25rem);
    letter-spacing: 0.08em;
  }

  .access-title--access,
  .access-title--protocols {
    left: auto;
    top: auto;
  }

  .access-title--protocols {
    margin-top: 0.1em;
  }

  .access-meta {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4.5vh, 2.25rem);
    pointer-events: auto;
  }

  .access-info,
  .access-line--indices,
  .back-to-top {
    position: static;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .access-info {
    text-align: left;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .access-line {
    font-size: clamp(0.72rem, 3.2vw, 0.88rem);
    line-height: 1.7;
  }

  .back-to-top {
    align-self: flex-start;
    margin-top: 0.25rem;
    font-size: clamp(0.62rem, 2.8vw, 0.75rem);
  }

  .access-swirl {
    order: 2;
    position: relative;
    left: -12%;
    bottom: auto;
    width: 124%;
    max-width: none;
    margin-top: clamp(0.5rem, 2vh, 1rem);
    margin-bottom: -2rem;
    align-self: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 1.25rem;
    --hero-quote-size: clamp(1.15rem, 6.8vw, 1.85rem);
  }

  .hero-content {
    padding-top: clamp(4.75rem, 13vh, 5.75rem);
  }

  .hero-stack {
    min-height: clamp(240px, 44svh, 320px);
  }

  .hero-logo {
    width: clamp(185px, 72vw, 270px);
  }

  .hero-quote {
    font-size: clamp(0.78rem, 4.2vw, 1.15rem);
    letter-spacing: 0.06em;
  }

  .hero-quote-text {
    letter-spacing: 0.08em;
  }

  .hero-tagline {
    font-size: clamp(0.54rem, 2.65vw, 0.65rem);
    max-width: 100%;
  }

  .philosophy-block--ontology .section-heading,
  .philosophy-block--epistemology .section-heading {
    font-size: clamp(1.65rem, 9vw, 2.1rem);
  }

  .philosophy-block--ontology .body-mono,
  .philosophy-block--epistemology .body-mono,
  .section--interface .body-mono--wide,
  .section--execution .body-mono--wide,
  .section--edge .body-mono--wide {
    font-size: clamp(0.8rem, 3.5vw, 0.92rem);
    line-height: 1.62;
  }

  .section--interface .section-heading,
  .section--execution .section-heading,
  .section--edge .section-heading {
    font-size: clamp(1.6rem, 8.2vw, 2rem);
  }

  .access-title {
    font-size: clamp(1.85rem, 12vw, 2.75rem);
  }

  .access-line {
    font-size: clamp(0.68rem, 3.1vw, 0.8rem);
    letter-spacing: 0.08em;
  }

  .access-line--indices {
    line-height: 1.8;
  }

  .access-swirl {
    left: -18%;
    width: 136%;
  }

  .nav-glass-btn {
    width: 2.55rem;
    height: 2.55rem;
  }
}

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

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

  .binary-line.is-flickering,
  .mesh-wrap .interface-video {
    animation: none;
  }

  .parallax-layer {
    transform: none !important;
  }

  [data-scroll-in],
  [data-scroll-fade="hero"] {
    opacity: 1 !important;
    transform: none !important;
  }
}
