:root {
  color-scheme: light;
  --paper: #f3f0eb;
  --paper-2: #ebe6df;
  --paper-3: #dfd8cf;
  --ink: #111111;
  --ink-soft: #3e3a37;
  --muted: #6f6963;
  --quiet: #989088;
  --line: #d5cec6;
  --line-dark: #c4bbb2;
  --red: #9b173b;
  --red-2: #c52655;
  --red-3: #6f0e2d;
  --rose: #f2d7de;
  --black: #0b0b0b;
  --white: #faf8f4;
  --max: 1380px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  letter-spacing: -.018em;
  overflow-x: hidden;
}

::selection {
  color: var(--white);
  background: var(--red-2);
}

a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.shell,
.wrap {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.mono { font-family: var(--mono); }

.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10000;
  transform: translateY(-180%);
  padding: 10px 13px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font: 700 11px/1 var(--mono);
}
.skip:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17,17,17,.12);
  background: rgba(243,240,235,.88);
  backdrop-filter: blur(18px);
}
.site-header.light { color: var(--ink); }
.site-header,
.site-header .brand-word span,
.site-header .nav-links a,
.site-header .nav-status {
  transition: background-color .42s ease, border-color .42s ease, color .42s ease;
}
.site-header.dark-theme {
  border-bottom-color: rgba(255,255,255,.13);
  background: rgba(11,11,11,.9);
  color: var(--white);
}
.site-header.dark-theme .brand-word span,
.site-header.dark-theme .nav-links a,
.site-header.dark-theme .nav-status { color: #b8b0ac; }
.site-header.dark-theme .nav-links a::after { background: var(--white); }
.site-header.dark-theme .mobile-nav summary { color: var(--white); }
.site-header.dark-theme .mobile-nav-panel {
  border-color: #393333;
  background: rgba(17,17,17,.97);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.site-header.dark-theme .mobile-nav-panel a {
  border-color: #302b29;
  color: #e9e1dd;
}
.site-header.dark-theme .nav-status i {
  background: #ef7e9e;
  box-shadow: 0 0 0 4px rgba(239,126,158,.12);
}
.site-header.has-scrolled {
  box-shadow:0 10px 28px rgba(30,22,24,.035);
}
.reading-progress {
  position:fixed;
  z-index:1000;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:var(--red-2);
  transform:scaleX(0);
  transform-origin:left center;
  pointer-events:none;
}

.nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.045em;
}
.brand img { width: 30px; height: 30px; }
.brand-word { font-size: 16px; white-space: nowrap; }
.brand-word span { color: var(--muted); font-weight: 520; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right .28s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }
.nav-links .nav-cta {
  margin-left: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
}

.mobile-nav { display: none; position: relative; }

.nav-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font: 680 10px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.nav-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 4px rgba(197,38,85,.1);
}

/* HOME */
.home-page { background: var(--paper); }

.hero-editorial {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 52%, rgba(165,31,72,.07), transparent 28rem),
    linear-gradient(180deg, #f7f4ef, #f1ede7);
}

.hero-layout {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  grid-template-rows: 1fr auto;
  gap: 36px 48px;
  align-items: center;
  padding: 8vh 0 42px;
  pointer-events: none;
}

.hero-type {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 850px;
  pointer-events: auto;
}

.micro-label {
  margin: 0 0 22px;
  color: var(--muted);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-type h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.7rem, 8.6vw, 9.3rem);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.072em;
}
.hero-type h1 em {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
}

.gem-portal {
  position: fixed;
  z-index: 2;
  inset: 74px 0 0 0;
  height: calc(100vh - 74px);
  pointer-events: none;
  opacity: 1;
  transition: opacity .55s ease;
  will-change: opacity;
}
.gem-portal.is-hidden { opacity: 0; }
#spinel-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.fallback-gem {
  position: absolute;
  z-index: 1;
  width: min(46vw, 560px);
  left: 72%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: .82;
  filter: saturate(.86) drop-shadow(0 44px 45px rgba(87,14,41,.18));
  transition: left .75s cubic-bezier(.2,.7,.2,1), opacity .55s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.gem-portal[data-mode="story"] .fallback-gem {
  left: 21%;
  transform: translate(-50%, -50%) rotate(-2deg) scale(.82);
}
.gem-portal[data-mode="intro"] .fallback-gem {
  left: 78%;
  opacity: .3;
  transform: translate(-50%, -50%) rotate(-5deg) scale(.72);
}
.gem-portal[data-mode="closing"] .fallback-gem {
  left: 23%;
  transform: translate(-50%, -50%) rotate(-4deg) scale(.88);
}
.webgl-ready .fallback-gem { opacity: 0; transition: opacity .7s ease; }

.object-caption {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 28px;
  display: flex;
  gap: 28px;
  color: rgba(17,17,17,.5);
  font-size: 9px;
  letter-spacing: .09em;
  transition: opacity .35s ease;
}
.gem-portal[data-mode="story"] .object-caption,
.gem-portal[data-mode="intro"] .object-caption,
.gem-portal[data-mode="closing"] .object-caption { opacity: 0; }

.hero-foot {
  position: relative;
  z-index: 5;
  grid-column: 1;
  max-width: 660px;
  pointer-events: auto;
}
.hero-deck {
  margin: 0;
  max-width: 610px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.85vw, 1.65rem);
  line-height: 1.32;
  letter-spacing: -.025em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 26px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.text-link span { font-size: 11px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px,-2px); }
.text-link.subtle {
  border-bottom-color: var(--line-dark);
  color: var(--muted);
}

.scroll-cue {
  position: relative;
  z-index: 5;
  grid-column: 2;
  justify-self: end;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.scroll-cue i {
  width: 42px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  animation: pulse-line 2.2s ease-in-out infinite;
}

.experience-rail {
  position: fixed;
  z-index: 82;
  right: 18px;
  top: 50%;
  width: 24px;
  height: min(52vh, 420px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.rail-number,
.rail-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(17,17,17,.44);
  font-size: 8px;
  letter-spacing: .11em;
}
.rail-label { transform: rotate(180deg); }
.rail-track {
  position: relative;
  width: 1px;
  height: 100%;
  overflow: hidden;
  background: rgba(17,17,17,.14);
}
.rail-track i {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
}
.site-header.dark-theme ~ .experience-rail {
  mix-blend-mode: normal;
}
.site-header.dark-theme ~ .experience-rail .rail-number,
.site-header.dark-theme ~ .experience-rail .rail-label {
  color: rgba(255,255,255,.5);
}
.site-header.dark-theme ~ .experience-rail .rail-track {
  background: rgba(255,255,255,.16);
}

@keyframes pulse-line {
  0%,100% { transform: scaleX(.4); opacity: .32; }
  50% { transform: scaleX(1); opacity: 1; }
}

.intro-statement {
  padding: clamp(110px, 14vw, 220px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.display-statement {
  position: relative;
  z-index: 4;
  max-width: 1120px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6.4vw, 7.2rem);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.052em;
}
.display-statement span {
  color: var(--red);
  font-style: italic;
}

.story {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 300vh;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.story-visual {
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(177,36,76,.15), transparent 32%),
    linear-gradient(145deg, #efe7e1, #f7f4ef);
  transition: background 1s cubic-bezier(.2,.7,.2,1), border-color .8s ease;
}
.story-visual[data-chapter="1"] {
  border-right-color:#302b2d;
  background:
    radial-gradient(circle at 50% 43%, rgba(173,31,76,.22), transparent 29%),
    #0b0b0b;
}
.story-visual[data-chapter="2"] {
  border-right-color:#d9c5cb;
  background:
    radial-gradient(circle at 52% 42%, rgba(167,31,72,.18), transparent 30%),
    linear-gradient(145deg,#ead7dd,#f5ecee);
}
.story-scene-number {
  position:absolute;
  z-index:1;
  left:50%;
  top:50%;
  transform:translate(-50%,-52%);
  color:rgba(17,17,17,.035);
  font-family:var(--serif);
  font-size:clamp(18rem,38vw,38rem);
  font-style:italic;
  line-height:.7;
  letter-spacing:-.08em;
  transition:color .8s ease;
  pointer-events:none;
}
.story-visual[data-chapter="1"] .story-scene-number { color:rgba(255,255,255,.025); }
.story-visual[data-chapter="2"] .story-scene-number { color:rgba(111,14,45,.05); }
.story-visual::before {
  content: "";
  position: absolute;
  inset: 7%;
  background: url("/assets/spinel-lattice.svg") center / contain no-repeat;
  opacity: .56;
  transition: opacity .8s ease, filter .8s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
.story-visual[data-chapter="1"]::before {
  opacity:.28;
  filter:invert(1) grayscale(1);
  transform:scale(.93) rotate(7deg);
}
.story-visual[data-chapter="2"]::before {
  opacity:.38;
  transform:scale(1.06) rotate(-5deg);
}
.story-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9%;
  bottom: 9%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(17,17,17,.12) 20%, rgba(17,17,17,.12) 80%, transparent);
  transition:background .8s ease;
}
.story-visual[data-chapter="1"]::after {
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.13) 20%,rgba(255,255,255,.13) 80%,transparent);
}

.story-mineral-notes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.mineral-note {
  position: absolute;
  color: rgba(17,17,17,.5);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition:color .7s ease;
}
.story-visual[data-chapter="1"] .mineral-note { color:rgba(255,255,255,.47); }
.story-visual[data-chapter="1"] .note-bottom { color:#ee93ad; }
.story-visual[data-chapter="2"] .mineral-note { color:rgba(79,48,59,.6); }
.story-visual[data-chapter="2"] .note-bottom { color:var(--red); }
.note-top { left: 30px; top: 30px; }
.note-left { left: 30px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }
.note-right { right: 30px; top: 50%; transform: rotate(90deg) translateX(50%); transform-origin: right top; }
.note-bottom { left: 50%; bottom: 31px; transform: translateX(-50%); color: var(--red); }

.story-index {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.story-index button {
  width: 37px; height: 37px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(250,248,244,.65);
  color: var(--quiet);
  font: 700 9px/1 var(--mono);
  cursor: pointer;
  transition: .24s ease;
}
.story-index button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.story-visual[data-chapter="1"] .story-index button {
  border-color:#4a4346;
  background:rgba(11,11,11,.5);
  color:#8f8589;
}
.story-visual[data-chapter="1"] .story-index button.active {
  border-color:#f1dbe1;
  background:#f1dbe1;
  color:#111;
}

.story-copy { position: relative; z-index: 3; background: var(--white); }
.story-chapter {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 9vw 9vw 9vw 8vw;
  border-bottom: 1px solid var(--line);
}
.story-chapter:last-child { border-bottom: 0; }
.story-chapter.inverse {
  background: var(--black);
  color: var(--white);
}
.chapter-inner { max-width: 680px; }
.story-chapter .micro-label { margin-bottom: 42px; }
.story-chapter.inverse .micro-label { color: #958a8f; }
.story-chapter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.6vw, 6.4rem);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.052em;
}
.story-chapter > .chapter-inner > p:not(.micro-label):not(.chapter-aside) {
  margin: 40px 0 0;
  max-width: 570px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.story-chapter.inverse > .chapter-inner > p:not(.micro-label):not(.chapter-aside) {
  color: #c9c3c1;
}
.chapter-aside {
  margin: 64px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
}
.inverse .chapter-aside {
  border-color: #343131;
  color: #f0a8bd;
}

.research-feature,
.roadmap-editorial {
  padding: clamp(100px, 12vw, 180px) 0;
  border-bottom: 1px solid var(--line);
}
.research-feature { position: relative; z-index: 4; background: var(--paper); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 68px;
}
.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.1vw, 7rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.052em;
}
.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.editorial-card {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(55,41,41,.08);
}
.editorial-card.wide { grid-column: 1 / -1; min-height: 350px; }
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
}
.card-art {
  min-height: 310px;
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eee9e3;
}
.card-copy {
  padding: 28px 28px 31px;
  border-top: 1px solid var(--line);
}
.card-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.045em;
}
.card-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.art-fp8 {
  color: var(--white);
  background: var(--red);
}
.art-fp8 > span {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(11rem, 22vw, 22rem);
  font-style: italic;
  line-height: .7;
  transform: translateY(-1%);
}
.art-fp8 i {
  position: absolute;
  width: 2px;
  height: 140%;
  background: rgba(255,255,255,.18);
  transform: rotate(28deg);
}
.art-fp8 i:nth-of-type(1){ left:18%; }
.art-fp8 i:nth-of-type(2){ left:39%; }
.art-fp8 i:nth-of-type(3){ left:62%; }
.art-fp8 i:nth-of-type(4){ left:81%; }

.art-fp4 { background: #171717; }
.bit-grid {
  width: min(76%, 390px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid #3d3938;
}
.bit-grid b {
  display: grid;
  place-items: center;
  border-right: 1px solid #3d3938;
  border-bottom: 1px solid #3d3938;
  color: #8b8582;
  font: 400 clamp(2rem,4vw,4rem)/1 var(--serif);
}
.bit-grid b:nth-child(4n){ border-right:0; }
.bit-grid b:nth-last-child(-n+4){ border-bottom:0; }
.bit-grid b:nth-child(3n+1) { color:#f4d7df; background:#431122; }

.art-parity { background: #f8f5f0; }
.parity-ring {
  position: absolute;
  width: 240px; height: 240px;
  border: 1px solid var(--red-2);
  border-radius: 50%;
}
.art-parity::before,
.art-parity::after {
  content:"";
  position:absolute;
  width:240px; height:240px;
  border:1px solid rgba(17,17,17,.22);
  border-radius:50%;
}
.art-parity::before { transform:translateX(-92px); }
.art-parity::after { transform:translateX(92px); }
.art-parity strong {
  position:absolute;
  font:700 10px/1 var(--mono);
  letter-spacing:.08em;
}
.art-parity strong:nth-of-type(1){ left:22%; top:50%; }
.art-parity strong:nth-of-type(2){ left:50%; top:26%; transform:translateX(-50%); color:var(--red); }
.art-parity strong:nth-of-type(3){ right:20%; top:50%; }

.hardware-line {
  flex: 1;
  min-height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 30px;
  color: var(--ink);
  font-size: clamp(.75rem,1.2vw,1rem);
  letter-spacing: .07em;
}
.hardware-line i {
  width: min(16vw, 190px);
  height: 1px;
  background: var(--red-2);
  position: relative;
}
.hardware-line i::after {
  content:"";
  position:absolute;
  right:-1px; top:-3px;
  width:7px; height:7px;
  border-radius:50%;
  background:var(--red-2);
}

.notebook-section {
  position: relative;
  z-index: 4;
  padding: clamp(100px, 12vw, 180px) 0;
  border-bottom: 1px solid var(--line);
  background: #e9e3dc;
}
.notebook-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}
.notebook-heading .micro-label {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}
.notebook-heading h2 {
  margin: 0;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6.3vw, 7.1rem);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.056em;
}
.notebook-heading > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.notebook-list {
  border-top: 1px solid var(--ink);
}
.notebook-entry {
  display: grid;
  grid-template-columns: 100px 1fr 38px;
  gap: 32px;
  align-items: center;
  min-height: 185px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink);
  text-decoration: none;
  transition: background .28s ease, padding .28s ease;
}
.notebook-entry:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: rgba(250,248,244,.54);
}
.entry-number {
  color: var(--red);
  font-size: 9px;
  letter-spacing: .08em;
}
.entry-kicker {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .09em;
}
.notebook-entry h3 {
  margin: 0;
  max-width: 940px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.046em;
}
.entry-arrow {
  justify-self: end;
  font-size: 18px;
  transition: transform .22s ease;
}
.notebook-entry:hover .entry-arrow {
  transform: translate(3px,-3px);
}
.artifact-line {
  display: grid;
  grid-template-columns: 170px minmax(200px,.8fr) minmax(300px,1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 12px;
}
.artifact-line > span:first-child {
  color: var(--red);
  font-size: 9px;
  letter-spacing: .08em;
}
.artifact-line strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.protocol-canvas {
  position: relative;
  z-index: 4;
  padding: clamp(110px,13vw,190px) 0;
  background: var(--black);
  color: var(--white);
}
.protocol-title {
  display:grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas:
    "label link"
    "title link";
  align-items:end;
  gap:20px 60px;
}
.protocol-title .micro-label { grid-area:label; margin:0; }
.light-label { color:#8f8884; }
.protocol-title h2 {
  grid-area:title;
  margin:22px 0 0;
  font-family:var(--serif);
  font-size:clamp(3.8rem,7.3vw,8rem);
  font-weight:400;
  line-height:.9;
  letter-spacing:-.055em;
}
.protocol-title .text-link { grid-area:link; margin-bottom:12px; }
.on-dark {
  border-color:#918783;
  color:#dfd8d4;
}

.protocol-flow {
  display:grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr 44px 1fr 44px 1fr;
  align-items:center;
  margin-top:110px;
}
.flow-node { min-height:210px; padding:20px 0; }
.flow-node > span {
  color:#706a67;
  font-size:9px;
  letter-spacing:.1em;
}
.flow-node h3 {
  margin:78px 0 10px;
  font-family:var(--serif);
  font-size:1.75rem;
  font-weight:400;
}
.flow-node p {
  margin:0;
  color:#908986;
  font-size:12px;
  line-height:1.55;
}
.flow-node.accent h3 { color:#f5b5c8; }
.flow-rule { position:relative; height:1px; background:#393535; }
.flow-rule i {
  position:absolute;
  right:-1px; top:-2px;
  width:5px; height:5px;
  border-radius:50%;
  background:#b34967;
}

.manifesto {
  position: relative;
  z-index: 4;
  padding: clamp(130px,16vw,250px) 0;
  background:#f7f4ef;
  border-bottom:1px solid var(--line);
}
.manifesto-number {
  color:var(--red);
  font-size:10px;
  letter-spacing:.1em;
}
.manifesto blockquote {
  margin:70px 0 0;
  max-width:1100px;
  font-family:var(--serif);
  font-size:clamp(4.3rem,8vw,9rem);
  font-weight:400;
  line-height:.86;
  letter-spacing:-.065em;
}
.manifesto-copy {
  max-width:760px;
  margin:80px 0 0 auto;
  font-family:var(--serif);
  font-size:clamp(1.45rem,2.5vw,2.3rem);
  line-height:1.28;
}
.manifesto-copy p { margin:0; }
.manifesto-copy p + p { margin-top:13px; color:var(--red); font-style:italic; }

.roadmap-editorial { background:var(--paper); }
.roadmap-list {
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--ink);
}
.roadmap-list li {
  display:grid;
  grid-template-columns:90px 1fr 130px;
  gap:34px;
  align-items:center;
  min-height:154px;
  border-bottom:1px solid var(--line-dark);
  transition:background .25s ease;
}
.roadmap-list li:hover { background:rgba(255,255,255,.44); }
.roadmap-index {
  color:var(--red);
  font-size:10px;
  letter-spacing:.08em;
}
.roadmap-list h3 {
  display:inline;
  margin:0;
  font-family:var(--serif);
  font-size:clamp(2rem,3vw,3.2rem);
  font-weight:400;
  letter-spacing:-.04em;
}
.roadmap-list p {
  display:inline;
  margin:0 0 0 25px;
  color:var(--muted);
  font-size:13px;
}
.roadmap-state {
  justify-self:end;
  color:var(--quiet);
  font-size:9px;
  letter-spacing:.08em;
}
.roadmap-state.active { color:var(--red); }

.closing-object {
  position:relative;
  z-index:1;
  padding:clamp(100px,12vw,180px) 0;
  background:var(--white);
}
.closing-grid {
  display:grid;
  grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);
  align-items:center;
  gap:8vw;
}
.closing-stone {
  position:relative;
  min-height:520px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    url("/assets/spinel-lattice.svg") center / 88% auto no-repeat,
    linear-gradient(145deg,#eaded8,#f7f4ef);
}
.closing-stone::after {
  content:"";
  position:absolute;
  inset:9%;
  border:1px solid rgba(17,17,17,.08);
}
.closing-specimen-label,
.closing-specimen-index {
  position:absolute;
  z-index:4;
  color:rgba(17,17,17,.48);
  font-size:8px;
  letter-spacing:.11em;
}
.closing-specimen-label { left:18px; bottom:18px; }
.closing-specimen-index { right:18px; top:18px; color:var(--red); }
.closing-copy {
  position:relative;
  z-index:4;
}
.closing-copy h2 {
  margin:0;
  max-width:720px;
  font-family:var(--serif);
  font-size:clamp(3.8rem,6.8vw,7.5rem);
  font-weight:400;
  line-height:.9;
  letter-spacing:-.057em;
}
.closing-copy > p:not(.micro-label) {
  max-width:570px;
  margin:34px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

.footer-editorial,
.footer {
  background:var(--black);
  color:var(--white);
}
.footer-top {
  min-height:160px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.footer-editorial .brand-word span,
.footer .brand-word span { color:#8e8783; }
.footer-nav { display:flex; gap:28px; }
.footer-nav a {
  color:#c9c2be;
  text-decoration:none;
  font-size:12px;
}
.footer-nav a:hover { color:var(--white); }
.footer-signature {
  width: 100%;
  overflow: hidden;
  padding: 6px 0 18px;
  border-top: 1px solid #242121;
  color: #171515;
  font-family: var(--serif);
  font-size: clamp(8rem, 20.5vw, 25rem);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.075em;
  text-align: center;
  user-select: none;
}
.footer-bottom {
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid #2c2928;
  color:#77706d;
  font:650 9px/1.4 var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* REVEALS */
[data-reveal] {
  opacity: 1;
  transform: none;
}
.js-reveal [data-reveal] {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}
.js-reveal [data-reveal].is-visible {
  opacity:1;
  transform:translateY(0);
}

/* INNER PAGES */
.statusbar {
  border-bottom:1px solid var(--line);
  background:#eae4dc;
}
.statusbar-inner {
  min-height:32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font:700 9px/1 var(--mono);
  letter-spacing:.11em;
  text-transform:uppercase;
}
.status-live { display:flex; align-items:center; gap:8px; }
.status-live::before {
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:var(--red-2);
}

.page-hero {
  padding:clamp(72px,8vw,118px) 0;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#f8f5f0,#f1ede7);
}
.inner-hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);
  align-items:stretch;
  gap:clamp(50px,7vw,110px);
}
.inner-hero-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:570px;
}
.inner-hero-art {
  --plate-rx:0deg;
  --plate-ry:0deg;
  position:relative;
  min-height:570px;
  overflow:hidden;
  border-left:1px solid var(--line-dark);
  background:#eee8e1;
  transform:perspective(1400px) rotateX(var(--plate-rx)) rotateY(var(--plate-ry));
  transform-style:preserve-3d;
  transition:box-shadow .3s ease;
  will-change:transform;
}
.inner-hero-art:hover {
  box-shadow:0 28px 70px rgba(56,39,45,.08);
}
.research-plate img {
  position:absolute;
  inset:5%;
  width:90%;
  height:90%;
  object-fit:contain;
  opacity:.72;
}
.plate-code {
  position:absolute;
  left:28px;
  right:28px;
  bottom:26px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}
.plate-code span {
  color:var(--red);
  font-family:var(--serif);
  font-size:clamp(6rem,10vw,11rem);
  font-style:italic;
  line-height:.7;
}
.plate-code small,
.plate-caption {
  color:var(--muted);
  font-size:8px;
  letter-spacing:.1em;
}
.protocol-plate {
  display:grid;
  place-items:center;
  background:var(--black);
  color:var(--white);
}
.protocol-glyph {
  width:min(82%,480px);
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items:center;
  gap:0;
}
.protocol-glyph i {
  height:1px;
  background:#5a5053;
}
.protocol-glyph b {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #6d545e;
  border-radius:50%;
  color:#eeb0c3;
  font:700 9px/1 var(--mono);
}
.protocol-plate .plate-caption {
  position:absolute;
  left:26px;
  bottom:25px;
  color:#89807c;
}
.mining-plate {
  display:grid;
  place-items:center;
  background:var(--red);
  color:var(--white);
}
.mine-number {
  font-family:var(--serif);
  font-size:clamp(14rem,25vw,28rem);
  font-style:italic;
  line-height:.65;
}
.mine-meta {
  position:absolute;
  left:26px;
  right:26px;
  bottom:24px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:#f4dbe3;
  font-size:8px;
  letter-spacing:.09em;
}
.mineral-plate {
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 50% 45%, rgba(171,34,77,.15), transparent 34%),
    #eee7e0;
}
.mineral-plate > img {
  width:min(68%,410px);
  transform:rotate(-7deg);
  filter:drop-shadow(0 38px 42px rgba(92,14,44,.17));
}
.mineral-meta {
  position:absolute;
  left:26px;
  right:26px;
  bottom:24px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  color:var(--muted);
  font-size:8px;
  letter-spacing:.09em;
}
.page-hero .eyebrow,
.eyebrow,
.section-kicker {
  margin:0 0 22px;
  color:var(--red);
  font:700 10px/1.2 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.page-hero h1 {
  margin:0;
  max-width:1100px;
  font-family:var(--serif);
  font-size:clamp(4.2rem,8.6vw,9rem);
  font-weight:400;
  line-height:.86;
  letter-spacing:-.063em;
}
.page-hero h1 em { color:var(--red); font-style:italic; }
.page-hero .intro {
  max-width:820px;
  margin:42px 0 0;
  color:var(--ink-soft);
  font-family:var(--serif);
  font-size:clamp(1.25rem,2vw,1.75rem);
  line-height:1.45;
}
.page-hero .intro strong { color:var(--ink); }

.section {
  padding:clamp(90px,11vw,150px) 0;
  border-top:0;
  border-bottom:1px solid var(--line);
  background:var(--paper);
}
.section-head {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);
  align-items:end;
  gap:70px;
  margin-bottom:56px;
}
.section-head h2 {
  margin:0;
  font-family:var(--serif);
  font-size:clamp(3.1rem,5.7vw,6.3rem);
  font-weight:400;
  line-height:.93;
  letter-spacing:-.055em;
}
.section-head > p {
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.section-head > p strong { color:var(--ink); }

.article-grid {
  display:grid;
  grid-template-columns:minmax(220px,.34fr) minmax(0,.66fr);
  gap:8vw;
}
.toc {
  position:sticky;
  top:108px;
  align-self:start;
  padding:0;
  border:0;
  border-top:1px solid var(--ink);
  border-radius:0;
  background:transparent;
}
.toc b {
  display:block;
  padding:16px 0 14px;
  border-bottom:1px solid var(--line);
  color:var(--ink);
  font:700 9px/1 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
}
.toc a {
  display:block;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  text-decoration:none;
  font-size:12px;
}
.toc a:hover { color:var(--red); }
.toc a.active {
  color:var(--red);
  padding-left:14px;
  position:relative;
}
.toc a.active::before {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:7px;
  height:1px;
  background:var(--red);
}

.prose { max-width:860px; }
.inner-reveal {
  opacity:1;
  transform:none;
}
.js-inner .inner-reveal {
  opacity:1;
  transform:translateY(14px);
  transition:transform .72s cubic-bezier(.2,.7,.2,1);
}
.js-inner .inner-reveal.is-visible {
  transform:translateY(0);
}
.prose h2 {
  margin:90px 0 24px;
  font-family:var(--serif);
  font-size:clamp(2.8rem,4.8vw,5.1rem);
  font-weight:400;
  line-height:.96;
  letter-spacing:-.05em;
}
.prose h2:first-child { margin-top:0; }
.prose h3 {
  margin:50px 0 14px;
  font-family:var(--serif);
  font-size:1.65rem;
  font-weight:400;
  letter-spacing:-.035em;
}
.prose p,
.prose li {
  color:var(--ink-soft);
  font-size:15px;
  line-height:1.75;
}
.prose strong { color:var(--ink); }
.prose ul { padding-left:19px; }
.prose a { color:var(--red); text-decoration-color:#cda7b2; }

.codebox {
  margin:28px 0;
  overflow-x:auto;
  border:1px solid #2e2c2b;
  border-radius:0;
  background:var(--black);
  padding:26px;
  color:#ddd5d1;
  font:650 11px/1.8 var(--mono);
  white-space:pre;
}
.note {
  margin:30px 0;
  padding:22px 24px;
  border:0;
  border-left:2px solid var(--red-2);
  border-radius:0;
  background:#eadfe2;
  color:#51454a;
  line-height:1.6;
}

.table-wrap {
  overflow-x:auto;
  border:1px solid var(--line-dark);
  border-radius:0;
}
.tech-table { width:100%; border-collapse:collapse; min-width:680px; }
.tech-table th,
.tech-table td {
  padding:16px;
  border-bottom:1px solid var(--line);
  text-align:left;
}
.tech-table tr:last-child td { border-bottom:0; }
.tech-table th {
  background:#e7e1da;
  color:var(--muted);
  font:700 9px/1 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tech-table td {
  background:#f8f5f0;
  color:var(--ink-soft);
  font-size:13px;
}
.tech-table td:first-child { color:var(--ink); font-weight:700; }

.research-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.research-card {
  min-height:350px;
  padding:22px;
  border:1px solid var(--line-dark);
  border-radius:0;
  background:#f8f5f0;
}
.card-index {
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--muted);
  font:700 9px/1 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.card-index .state { color:var(--red); }
.research-card h3 {
  margin:110px 0 12px;
  font-family:var(--serif);
  font-size:1.9rem;
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.04em;
}
.research-card p {
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.card-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:22px;
}
.card-tags span {
  padding:6px 8px;
  border:1px solid var(--line-dark);
  border-radius:0;
  color:var(--muted);
  background:transparent;
  font:650 9px/1 var(--mono);
}

.protocol-shell {
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:12px;
}
.protocol-copy,
.protocol-diagram {
  border:1px solid var(--line-dark);
  border-radius:0;
}
.protocol-copy { padding:34px; background:#f7f3ee; }
.protocol-copy h3 {
  margin:0;
  font-family:var(--serif);
  font-size:clamp(2.4rem,4vw,4rem);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.05em;
}
.protocol-copy p { color:var(--muted); line-height:1.65; }
.protocol-copy .callout {
  margin-top:28px;
  padding:17px 0 17px 18px;
  border-left:2px solid var(--red);
  background:transparent;
  color:var(--ink-soft);
  font-size:13px;
}
.protocol-diagram {
  min-height:440px;
  padding:26px;
  background:var(--black);
  color:var(--white);
}
.pipeline { height:100%; display:grid; align-content:center; gap:10px; }
.pipe-row { display:grid; grid-template-columns:1fr 34px 1fr; align-items:stretch; }
.pipe-node {
  min-height:72px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:14px 16px;
  border:1px solid #3a3736;
  border-radius:0;
  background:#141414;
}
.pipe-node b { font-size:13px; }
.pipe-node span { margin-top:5px; color:#8c8581; font:650 9px/1.4 var(--mono); }
.pipe-node.hot { border-color:#783049; background:#1c1015; }
.pipe-node.hot b { color:#f3b1c4; }
.pipe-arrow,.pipe-down { display:grid; place-items:center; color:#6c5a61; font-family:var(--mono); }
.pipe-down { margin-left:calc(50% - 17px); width:34px; }

.pill {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border:1px solid #ad7c8c;
  border-radius:0;
  color:var(--red);
  background:transparent;
  font:700 8px/1 var(--mono);
  letter-spacing:.06em;
  text-transform:uppercase;
}
.pill.planned { border-color:#b7aea5; color:#7f776f; }
.pill.open { border-color:#7a9e85; color:#356443; }

.timeline { display:grid; gap:0; border-top:1px solid var(--ink); }
.timeline-item {
  display:grid;
  grid-template-columns:135px 1fr auto;
  gap:22px;
  align-items:start;
  padding:22px 0;
  border:0;
  border-bottom:1px solid var(--line-dark);
  border-radius:0;
  background:transparent;
}
.timeline-item .phase {
  color:var(--red);
  font:700 9px/1.35 var(--mono);
  letter-spacing:.07em;
  text-transform:uppercase;
}
.timeline-item h3 {
  margin:0 0 8px;
  font-family:var(--serif);
  font-size:1.25rem;
  font-weight:400;
}
.timeline-item p {
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.quote-section {
  position:relative;
  padding:clamp(110px,14vw,200px) 0;
  border-top:0;
  border-bottom:1px solid var(--line);
  background:#f8f5f0;
}
.big-quote {
  margin:0;
  max-width:1100px;
  font-family:var(--serif);
  font-size:clamp(3.7rem,7vw,7.7rem);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.06em;
}
.big-quote span { color:var(--red); font-style:italic; }

.actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:30px;
}
.btn {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border:1px solid var(--ink);
  border-radius:0;
  background:var(--ink);
  color:var(--white);
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}
.btn.secondary {
  border-color:var(--line-dark);
  background:transparent;
  color:var(--ink-soft);
}
.btn:hover { filter:none; background:var(--red); border-color:var(--red); color:var(--white); }

.footer-grid {
  width:min(var(--max),calc(100% - 72px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1.4fr repeat(3,.6fr);
  gap:35px;
  padding:56px 0;
}
.footer-brand p {
  max-width:410px;
  color:#817a76;
  font-size:12px;
  line-height:1.55;
}
.footer-col b {
  display:block;
  margin-bottom:14px;
  color:#817a76;
  font:700 9px/1 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
}
.footer-col a,
.footer-col span {
  display:block;
  padding:6px 0;
  color:#bcb5b1;
  text-decoration:none;
  font-size:12px;
}
.footer-col a:hover { color:var(--white); }
.footer .footer-bottom {
  width:min(var(--max),calc(100% - 72px));
  margin:0 auto;
}

/* Responsive */
@media (max-width: 1080px) {
  .shell,.wrap { width:min(var(--max),calc(100% - 44px)); }
  .hero-layout { grid-template-columns:1fr 1fr; }
  .gem-portal { inset:74px 0 0 0; }
  .hero-type h1 { font-size:clamp(4.4rem,9vw,7.2rem); }
  .story { grid-template-columns:38% 62%; }
  .section-heading,.section-head { gap:40px; }
  .research-grid { grid-template-columns:repeat(2,1fr); }
  .protocol-flow { grid-template-columns:1fr; gap:0; }
  .flow-rule { width:1px; height:28px; margin-left:12px; }
  .flow-rule i { right:-2px; top:auto; bottom:0; }
  .flow-node { min-height:120px; padding:12px 0; border-bottom:1px solid #282525; }
  .flow-node h3 { margin:35px 0 8px; }
}

@media (max-width: 820px) {
  .nav { grid-template-columns:1fr auto auto; min-height:66px; gap:14px; }
  .nav-links { display:none; }
  .mobile-nav { display:block; justify-self:end; }
  .mobile-nav summary {
    list-style:none;
    cursor:pointer;
    padding:8px 0;
    font:700 9px/1 var(--mono);
    letter-spacing:.09em;
    text-transform:uppercase;
  }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-nav-panel {
    position:absolute;
    right:0;
    top:38px;
    width:min(76vw,260px);
    padding:10px;
    border:1px solid var(--line-dark);
    background:rgba(248,245,240,.97);
    box-shadow:0 22px 60px rgba(30,20,20,.12);
    backdrop-filter:blur(18px);
  }
  .mobile-nav-panel a {
    display:block;
    padding:13px 12px;
    border-bottom:1px solid var(--line);
    text-decoration:none;
    color:var(--ink);
    font:600 13px/1 var(--sans);
  }
  .mobile-nav-panel a:last-child { border-bottom:0; }
  .nav-status { grid-column:3; }
  .experience-rail { display:none; }
  .shell,.wrap { width:calc(100% - 28px); }
  .hero-editorial,.hero-layout { min-height:calc(100svh - 66px); }
  .hero-layout {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-end;
    padding:15vh 0 28px;
  }
  .hero-type { margin-top:auto; }
  .hero-type h1 { font-size:clamp(3.7rem,15vw,6rem); }
  .gem-portal { inset:66px 0 0 0; height:calc(100svh - 66px); opacity:.95; }
  .gem-portal[data-mode="story"] { opacity:.9; }
  .object-caption { display:none; }
  .hero-foot { max-width:520px; margin-top:34px; }
  .scroll-cue { display:none; }
  .intro-statement { padding:100px 0; }
  .display-statement { font-size:clamp(2.7rem,10vw,4.7rem); }
  .story {
    display:block;
    min-height:auto;
  }
  .story-visual {
    position:relative;
    top:auto;
    height:76vh;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .story-stone-mark img { width:min(60vw,340px); }
  .story-chapter { min-height:75vh; padding:80px 28px; }
  .section-heading,.section-head,.notebook-heading { grid-template-columns:1fr; gap:28px; }
  .notebook-heading .micro-label { grid-column:auto; margin-bottom:0; }
  .notebook-entry { grid-template-columns:64px 1fr 28px; gap:18px; min-height:150px; }
  .notebook-entry h3 { font-size:clamp(1.8rem,7vw,3rem); }
  .artifact-line { grid-template-columns:1fr; gap:9px; }
  .editorial-grid { grid-template-columns:1fr; }
  .editorial-card.wide { grid-column:auto; }
  .protocol-title { display:block; }
  .protocol-title .text-link { margin-top:32px; }
  .protocol-flow { margin-top:70px; }
  .manifesto blockquote { font-size:clamp(3.6rem,14vw,6.2rem); }
  .manifesto-copy { margin-top:54px; }
  .roadmap-list li { grid-template-columns:55px 1fr; gap:20px; padding:24px 0; }
  .roadmap-state { grid-column:2; justify-self:start; }
  .roadmap-list p { display:block; margin:9px 0 0; }
  .closing-grid { grid-template-columns:1fr; }
  .closing-stone { min-height:420px; }
  .footer-top { min-height:130px; }
  .footer-nav { display:none; }

  .inner-hero-grid { grid-template-columns:1fr; gap:28px; }
  .inner-hero-copy { min-height:auto; }
  .inner-hero-art { min-height:430px; border-left:0; border-top:1px solid var(--line-dark); }
  .article-grid,.section-head,.protocol-shell { grid-template-columns:1fr; }
  .toc { position:static; }
  .research-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; width:calc(100% - 28px); }
  .footer-brand { grid-column:1/-1; }
  .footer .footer-bottom { width:calc(100% - 28px); }
}

@media (max-width: 540px) {
  .nav { grid-template-columns:1fr auto; }
  .nav-status { display:none; }
  .mobile-nav { grid-column:2; }
  .gem-portal { inset:66px 0 0 0; }
  .hero-layout { padding-top:10vh; }
  .hero-type h1 { font-size:clamp(3.15rem,15.5vw,5rem); }
  .hero-deck { font-size:1.04rem; }
  .hero-actions { gap:14px 24px; }
  .story-chapter { padding:68px 20px; }
  .story-chapter h2 { font-size:clamp(2.8rem,13vw,4.5rem); }
  .editorial-card { min-height:500px; }
  .card-art { min-height:260px; }
  .hardware-line { gap:10px; padding:18px; }
  .hardware-line i { width:12vw; }
  .manifesto { padding:110px 0; }
  .closing-stone { min-height:330px; }
  .footer-bottom { align-items:flex-start; flex-direction:column; padding:18px 0; }
  .footer-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  .js-reveal [data-reveal] { opacity:1; transform:none; }
  .js-inner .inner-reveal { opacity:1; transform:none; }
}
