:root {
  --bg: #f2f0ea;
  --paper: #f8f6f0;
  --ink: #10110f;
  --muted: #74756f;
  --soft: #a2a39d;
  --line: rgba(16, 17, 15, .13);
  --line-strong: rgba(16, 17, 15, .28);
  --ghost: rgba(16, 17, 15, .045);
  --glass: rgba(242, 240, 234, .78);
  --shadow: 0 24px 80px rgba(25, 24, 20, .08);
  --max: 1280px;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg: #0b0c0d;
  --paper: #111315;
  --ink: #f1efe9;
  --muted: #96978f;
  --soft: #666862;
  --line: rgba(241, 239, 233, .13);
  --line-strong: rgba(241, 239, 233, .27);
  --ghost: rgba(241, 239, 233, .05);
  --glass: rgba(11, 12, 13, .78);
  --shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  letter-spacing: -.006em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
section { scroll-margin-top: 104px; }
::selection { background: var(--ink); color: var(--bg); }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 1200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(-150%); }
.skip-link:focus-visible { transform: translateY(0); }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .034;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .025; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .48;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: min(25vw, 320px) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  width: min(calc(100% - 64px), var(--max));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg), color-mix(in srgb, var(--bg) 92%, transparent));
  transition: height .25s ease, border-color .25s ease, background .25s ease, width .25s ease;
}
.site-header.is-scrolled {
  width: 100%;
  height: 64px;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  border-color: var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  font-size: 1.08rem;
  font-weight: 790;
  letter-spacing: -.055em;
}
.brand-slash { color: var(--muted); font-weight: 350; margin: 0 .12em; transition: transform .25s ease; }
.brand:hover .brand-slash { transform: rotate(16deg); }
.nav { display: flex; align-items: center; gap: 30px; font-size: .81rem; color: var(--muted); }
.nav a { position: relative; padding: 10px 0; transition: color .18s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .22s ease;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.header-actions { justify-self: end; display: flex; gap: 8px; }
.icon-button, .kbd-button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 35%, transparent);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.icon-button:hover, .kbd-button:hover { border-color: var(--line-strong); background: var(--ghost); transform: translateY(-1px); }
.icon-button { width: 34px; display: grid; place-items: center; }
.kbd-button { padding: 0 12px; display: flex; align-items: center; gap: 3px; font-size: .73rem; }
.shortcut { display: inline-flex; gap: 2px; }
.menu-label { display: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.hero {
  position: relative;
  min-height: max(700px, calc(100svh - 82px));
  padding: clamp(72px, 8vw, 124px) 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .58fr);
  align-items: center;
  gap: clamp(50px, 8vw, 112px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 940px; }
.eyebrow, .kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .64rem;
  line-height: 1.3;
  font-weight: 760;
  color: var(--muted);
}
.availability {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .67rem;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--ghost);
}
.hero-title { margin: clamp(34px, 5vw, 60px) 0 0; }
h1 {
  margin: 0;
  font-size: clamp(4.25rem, 9.6vw, 9.5rem);
  line-height: .79;
  letter-spacing: -.085em;
  font-weight: 660;
  max-width: 1040px;
}
.hero-name { display: block; }

.lede {
  max-width: 890px;
  margin: clamp(34px, 4vw, 50px) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.62rem, 2.55vw, 2.35rem);
  line-height: 1.17;
  letter-spacing: -.033em;
}
.lede em { font-style: italic; color: var(--muted); }
.hero-lower { max-width: 930px; }
.hero-focus {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .025em;
}
.hero-focus span { color: var(--soft); padding: 0 .25em; }

.hero-now {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  gap: 7px;
  margin-top: 24px;
  width: min(100%, 660px);
}
.hero-now[hidden] { display: none; }
.hero-now-index {
  margin: 0 0 2px 1px;
  color: var(--soft);
  font: 750 .62rem/1 var(--sans);
  letter-spacing: .12em;
}
.hero-now-chip {
  width: min(100%, 620px);
  min-height: 34px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  border-radius: 7px;
  background: var(--ghost);
  font-size: .7rem;
  line-height: 1;
  transition:
    transform .18s var(--ease-out),
    border-color .18s ease,
    background .18s ease;
}
.hero-now-chip:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}
.hero-now-kicker {
  color: var(--soft);
  font-size: .58rem;
  font-weight: 760;
  letter-spacing: .08em;
}
.hero-now-chip b {
  font-weight: 720;
  letter-spacing: -.01em;
}
.hero-now-chip time {
  color: var(--soft);
  font: 600 .58rem/1 var(--mono);
  white-space: nowrap;
}

@media (max-width: 620px) {
  .hero-now-chip {
    width: 100%;
    grid-template-columns: 82px minmax(0, 1fr);
    row-gap: 5px;
  }

  .hero-now-chip time {
    grid-column: 2;
  }
}

.hero-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.text-link, .identity-links a, .back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.text-link span, .identity-links a span, .back-top span { transition: transform .18s ease; }
.text-link:hover, .identity-links a:hover, .back-top:hover { border-color: var(--ink); }
.text-link:hover span, .identity-links a:hover span { transform: translate(2px, -2px); }
.back-top:hover span { transform: translateY(-2px); }

.hero-visual { justify-self: end; width: min(34vw, 405px); }
.hero-mark {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .22s ease-out;
  will-change: transform;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 2%;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: .45;
}
.crosshair { position: absolute; background: var(--line); }
.crosshair-x { width: 114%; height: 1px; }
.crosshair-y { width: 1px; height: 114%; }
.orbit { position: absolute; inset: 12%; border: 1px solid var(--line-strong); border-radius: 50%; }
.orbit i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); top: 50%; left: -3px; margin-top: -3px; }
.orbit-a { transform: rotate(18deg) scaleY(.39); animation: orbit-a 24s linear infinite; }
.orbit-b { transform: rotate(76deg) scaleY(.39); animation: orbit-b 31s linear infinite reverse; }
.orbit-c { transform: rotate(136deg) scaleY(.39); animation: orbit-c 39s linear infinite; }
.origin {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -.08em;
  text-shadow: 0 0 40px var(--bg);
}
.axis { position: absolute; color: var(--muted); font-size: .57rem; letter-spacing: .14em; text-transform: uppercase; }
.axis-x { top: 10%; left: -2%; }
.axis-y { right: -1%; bottom: 26%; font-family: var(--serif); font-size: 1.08rem; text-transform: none; }
.axis-z { bottom: 7%; left: 24%; }
.axis-a { top: 30%; right: -3%; }
.visual-caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .57rem; text-transform: uppercase; letter-spacing: .14em; }
.visual-caption i { width: 18px; height: 1px; background: var(--line-strong); }
.hero-scroll {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.hero-scroll span { width: 40px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: scanline 2.8s ease-in-out infinite; }

.thesis-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 38%, transparent); }
.thesis-grid { min-height: 178px; display: grid; grid-template-columns: 185px 1fr; gap: 64px; align-items: center; }
.thesis-label-wrap { align-self: stretch; padding: 46px 0; display: flex; flex-direction: column; justify-content: space-between; }
.thesis-label { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; font-weight: 720; }
.thesis-coordinate { color: var(--soft); font-size: .57rem; text-transform: uppercase; letter-spacing: .14em; }
.thesis-copy { margin: 0; max-width: 970px; font-family: var(--serif); font-size: clamp(1.46rem, 2.5vw, 2.18rem); line-height: 1.22; letter-spacing: -.025em; }
.thesis-copy em { font-style: italic; }
.thesis-copy strong { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; text-decoration-color: var(--line-strong); }

.section { position: relative; padding: clamp(108px, 10vw, 154px) 0; border-bottom: 1px solid var(--line); }
.section-index { position: absolute; top: 132px; right: 0; color: var(--muted); font: 660 .61rem/1 var(--sans); letter-spacing: .17em; }
.section-head { max-width: 1020px; margin-bottom: clamp(56px, 6vw, 82px); }
.split-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 76px; align-items: end; }
.kicker { margin-bottom: 24px; }
.section-deck, .section-side { margin: 0 80px 5px 0; color: var(--muted); font-size: .9rem; line-height: 1.72; max-width: 430px; justify-self: end; }
.section-side .text-link { margin-top: 24px; }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6.2vw, 5.9rem); line-height: .94; letter-spacing: -.055em; }















.work-section { overflow: clip; }
.work-heading { position: relative; }
.work-heading::after {
  content: "03 / systems";
  position: absolute;
  right: 0;
  top: -38px;
  color: var(--soft);
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.project-list { border-top: 1px solid var(--line); }
.project {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-height: 286px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 118px;
  gap: 42px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--ink) 7%, transparent), transparent 62%),
    linear-gradient(90deg, color-mix(in srgb, var(--ghost) 90%, transparent), transparent 72%);
  transition: opacity .42s ease;
}
.project::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .52s cubic-bezier(.16,.8,.24,1);
}
.project:hover::before, .project:focus-visible::before { opacity: 1; }
.project:hover::after, .project:focus-visible::after { transform: scaleX(1); }
.project:focus-visible { outline-offset: -4px; }

.project-wordmark {
  position: absolute;
  z-index: -1;
  left: 126px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--ink) 3.2%, transparent);
  font-size: clamp(4.8rem, 10.2vw, 9.6rem);
  line-height: .76;
  font-weight: 820;
  letter-spacing: -.085em;
  white-space: nowrap;
  pointer-events: none;
  transition: transform .7s cubic-bezier(.16,.8,.24,1), color .42s ease;
}
.project:hover .project-wordmark {
  transform: translate(12px, -50%);
  color: color-mix(in srgb, var(--ink) 5.3%, transparent);
}

.project-meta {
  align-self: stretch;
  padding: 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--muted);
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .135em;
}
.project-meta span:first-child { color: var(--ink); }
.project-code b, .project-code i { font: inherit; }
.project-code i { font-style: normal; color: var(--muted); }
.project-main {
  max-width: 900px;
  padding: 46px 0;
  transition: transform .42s cubic-bezier(.16,.8,.24,1);
}
.project:hover .project-main { transform: translateX(10px); }
.project-title-row { display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.project-main h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.25vw, 5.15rem);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.058em;
  transition: letter-spacing .42s cubic-bezier(.16,.8,.24,1);
}
.project:hover .project-main h3 { letter-spacing: -.07em; }
.project-state {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px 3px;
  font-size: .53rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  transform: translateY(-3px);
}
.project-main > p {
  margin: 21px 0 0;
  color: var(--muted);
  max-width: 820px;
  font-size: .91rem;
  line-height: 1.72;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.project-tags span { color: var(--muted); font-size: .6rem; letter-spacing: .06em; }
.project-tags span:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--line-strong); }

.project-aside {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: end;
  padding: 28px 0 30px;
}
.project-sigil {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform .5s cubic-bezier(.16,.8,.24,1), border-color .32s ease, color .32s ease;
}
.project-sigil::before,
.project-sigil::after {
  content: "";
  position: absolute;
  background: var(--line);
}
.project-sigil::before { width: 112%; height: 1px; }
.project-sigil::after { width: 1px; height: 112%; }
.project-sigil span {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--ink);
  transition: background .32s ease, color .32s ease;
}
.project-sigil i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}
.project-sigil i:nth-of-type(1) { top: 8px; right: 18px; }
.project-sigil i:nth-of-type(2) { left: 11px; bottom: 16px; opacity: .48; }
.project:hover .project-sigil {
  transform: rotate(12deg) scale(1.03);
  border-color: var(--line-strong);
}

.project-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform .34s ease, background .34s ease, color .34s ease, border-color .34s ease;
}
.project-arrow span { transition: transform .34s ease; }
.project:hover .project-arrow { transform: rotate(10deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.project:hover .project-arrow span { transform: translate(1px, -1px); }










.about-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 100px; }
.about-mark { margin-top: 68px; color: var(--soft); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-style: italic; letter-spacing: -.04em; }
.about-copy { padding-top: 29px; font-family: var(--serif); font-size: 1.23rem; line-height: 1.5; }
.about-copy > p { margin: 0 0 1.2em; }
.about-lead { font-size: clamp(1.34rem, 2vw, 1.72rem); line-height: 1.42; letter-spacing: -.02em; }
.about-lead em { color: var(--muted); }
.identity-links { display: flex; gap: 24px; flex-wrap: wrap; margin: 34px 0 0; font-family: var(--sans); font-size: .82rem; }
.name-story { margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .84rem; }
.name-story summary { cursor: pointer; list-style: none; min-height: 58px; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; color: var(--muted); }
.name-story summary::-webkit-details-marker { display: none; }
.name-story summary::after { content: "+"; color: var(--ink); font-size: 1rem; transition: transform .2s ease; }
.name-story[open] summary::after { transform: rotate(45deg); }
.summary-hint { color: var(--soft); font-size: .57rem; text-transform: uppercase; letter-spacing: .13em; }
.name-story > div { padding: 12px 0 28px; font-family: var(--serif); font-size: 1.05rem; max-width: 700px; }
.name-story p { margin: 0 0 1em; }
.name-story code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; padding: .05em .25em; border: 1px solid var(--line); border-radius: 4px; }

.footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto auto; gap: 34px; align-items: center; color: var(--muted); font-size: .68rem; }
.back-top { color: var(--ink); }

.palette {
  width: min(540px, calc(100vw - 32px));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 10px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.palette::backdrop { background: rgba(0, 0, 0, .26); backdrop-filter: blur(7px); }
.palette-top { display: flex; justify-content: space-between; padding: 8px 10px 14px; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.palette-top button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.palette a { display: flex; justify-content: space-between; padding: 14px 12px; border-radius: 10px; transition: background .16s ease, transform .16s ease; }
.palette a:hover, .palette a:focus-visible { background: var(--ghost); transform: translateX(2px); }
kbd { font: inherit; font-size: .65rem; color: var(--muted); }

.no-js .reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .74s cubic-bezier(.16,.8,.24,1),
    transform .74s cubic-bezier(.16,.8,.24,1);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.js .hero-title.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.08s cubic-bezier(.16,.8,.24,1);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
.js .hero-title.reveal.visible { clip-path: inset(-4% -4% -8% -4%); }
.js .hero-visual.reveal {
  transform: translateY(10px) scale(.975);
  transition: opacity .9s cubic-bezier(.16,.8,.24,1), transform 1.05s cubic-bezier(.16,.8,.24,1);
}
.js .hero-visual.reveal.visible { transform: translateY(0) scale(1); }

@keyframes orbit-a {
  from { transform: rotate(18deg) scaleY(.39) rotate(0deg); }
  to { transform: rotate(378deg) scaleY(.39) rotate(-360deg); }
}
@keyframes orbit-b {
  from { transform: rotate(76deg) scaleY(.39) rotate(0deg); }
  to { transform: rotate(436deg) scaleY(.39) rotate(-360deg); }
}
@keyframes orbit-c {
  from { transform: rotate(136deg) scaleY(.39) rotate(0deg); }
  to { transform: rotate(496deg) scaleY(.39) rotate(-360deg); }
}
@keyframes scanline {
  0%, 20% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(290px, .55fr); gap: 50px; }
  .split-head { grid-template-columns: 1fr; gap: 36px; }
  .section-deck, .section-side { justify-self: start; margin-right: 0; max-width: 650px; }
  .section-side .text-link { margin-top: 18px; }
}

@media (max-width: 860px) {
  .shell, .site-header { width: min(calc(100% - 32px), var(--max)); }
  .site-header { grid-template-columns: 1fr auto; height: 68px; }
  .site-header.is-scrolled { width: 100%; padding-inline: 16px; height: 58px; }
  .nav { display: none; }
  .shortcut { display: none; }
  .menu-label { display: inline; }
  .hero { min-height: auto; padding: 72px 0 68px; grid-template-columns: 1fr; gap: 54px; }
  .hero-meta { align-items: flex-start; }
  .availability { display: none; }
  .hero-visual { width: min(72vw, 360px); justify-self: center; }
  .hero-scroll { display: none; }
  .thesis-grid { grid-template-columns: 1fr; gap: 16px; padding: 36px 0 42px; }
  .thesis-label-wrap { padding: 0; display: flex; flex-direction: row; }
  .section { padding: 100px 0; }
  .section-index { top: 103px; }
  
  
  .project { grid-template-columns: 74px 1fr 72px; gap: 20px; min-height: 230px; }
  .project-meta span:last-child { display: none; }
  .project-wordmark { left: 58px; font-size: clamp(4.5rem, 14vw, 7.5rem); }
  .project-sigil { width: 58px; height: 58px; }
  .project-sigil span { width: 30px; height: 30px; font-size: 1.05rem; }
  
  
  
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-copy { padding-top: 0; }
  .about-mark { margin-top: 42px; }
  .footer { grid-template-columns: 1fr auto; padding: 46px 0; }
  .footer-line { display: none; }
  .desktop-only { display: none !important; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  section { scroll-margin-top: 76px; }
  .hero { padding-top: 56px; }
  .grain::after { opacity: .24; background-size: 25vw 100%; }
  .hero-meta { display: block; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.6rem); line-height: .82; }
  
  .lede { font-size: 1.48rem; }
  .hero-focus { line-height: 1.8; }
  .hero-links { gap: 15px 22px; }
  .hero-visual { width: min(82vw, 330px); }
  .visual-caption { font-size: .51rem; gap: 7px; }
  .visual-caption i { width: 12px; }
  .section { padding: 84px 0; }
  .section-index { display: none; }
  h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  
  
  
  .project { grid-template-columns: 34px 1fr 38px; gap: 11px; min-height: 212px; padding: 5px 0; }
  .project-wordmark { left: 26px; top: 31%; font-size: 18vw; }
  .project-meta { padding: 24px 0; font-size: .54rem; }
  .project-code i { display: none; }
  .project-main { padding: 28px 0; }
  .project-main h3 { font-size: 2.35rem; }
  .project-main > p { font-size: .82rem; line-height: 1.62; margin-top: 15px; }
  .project-state, .project-tags { display: none; }
  .project-aside { padding: 22px 0 24px; }
  .project-sigil { display: none; }
  .project-arrow { width: 32px; height: 32px; font-size: .82rem; align-self: end; }
  
  .about-mark { font-size: 2.2rem; }
  .name-story summary { grid-template-columns: 1fr auto; }
  .summary-hint { display: none; }
  .footer { min-height: 150px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; clip-path: none; }
  .hero-mark { transform: none !important; }
}

/* V5 — editorial polish, spatial navigation, and restrained interaction */
html { overscroll-behavior-y: none; }
body { min-height: 100dvh; }
h1, h2, h3, .lede, .thesis-copy { text-wrap: balance; }
p { text-wrap: pretty; }

.section-rail {
  position: fixed;
  z-index: 820;
  left: max(14px, calc((100vw - var(--max)) / 2 - 42px));
  top: 50%;
  width: 18px;
  display: grid;
  justify-items: center;
  gap: 11px;
  transform: translateY(-50%);
  color: var(--soft);
  pointer-events: none;
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .section-rail { mix-blend-mode: screen; }
.rail-index, .rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .49rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rail-index { color: var(--ink); font-weight: 760; }
.rail-line { width: 1px; height: 88px; background: var(--line); overflow: hidden; position: relative; }
.rail-line i { position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); transition: transform .52s cubic-bezier(.16,.8,.24,1); }
.rail-label { min-height: 50px; }

.site-header { padding-top: env(safe-area-inset-top); }
.site-header.is-scrolled { padding-top: env(safe-area-inset-top); }
.header-actions [data-magnetic], .brand[data-magnetic], .hero-links [data-magnetic] { will-change: transform; }

.hero::before {
  content: "";
  position: absolute;
  inset: 10% -4vw auto 42%;
  height: 46%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ink) 4.2%, transparent), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
  opacity: .7;
}
.hero-title { position: relative; }
.hero-name { position: relative; z-index: 1; }
.hero-name::after {
  content: "";
  display: inline-block;
  width: .095em;
  height: .095em;
  margin-left: .12em;
  border-radius: 50%;
  background: var(--ink);
  vertical-align: .56em;
  opacity: .82;
}

.visual-meta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--soft);
  font-size: .48rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.visual-meta span:nth-child(2) { text-align: center; }

.hero-mark::after {
  content: "";
  position: absolute;
  inset: 24%;
  border: 1px dashed var(--line);
  border-radius: 50%;
  opacity: .55;
  animation: orbit-d 58s linear infinite reverse;
}
.origin::after {
  content: "0";
  position: absolute;
  right: -.38em;
  bottom: -.16em;
  color: var(--soft);
  font-family: var(--sans);
  font-style: normal;
  font-size: .12em;
  font-weight: 650;
  letter-spacing: .04em;
}

.thesis-band { position: relative; overflow: hidden; }
.thesis-band::after {
  content: "SYSTEMS · MODELING · INTELLIGENCE · ENGINEERING";
  position: absolute;
  right: -1.5vw;
  bottom: -0.25em;
  color: color-mix(in srgb, var(--ink) 3.4%, transparent);
  font-size: clamp(3.6rem, 8vw, 8.2rem);
  font-weight: 830;
  line-height: .76;
  letter-spacing: -.08em;
  white-space: nowrap;
  pointer-events: none;
}
.thesis-grid { position: relative; z-index: 1; }

.section { content-visibility: auto; contain-intrinsic-size: 900px; }
.hero, .thesis-band { content-visibility: visible; }
.section-head h2 { max-width: 14ch; }
.section-deck, .section-side { position: relative; padding-left: 24px; }
.section-deck::before, .section-side::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  bottom: .4em;
  width: 1px;
  background: var(--line-strong);
}







.project-list { position: relative; }
.project-list::before {
  content: "";
  position: absolute;
  left: 149px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
.project { min-height: clamp(270px, 24vw, 320px); }
.project-main { max-width: 840px; }
.project-main > p { max-width: 760px; }
.project-meta { position: relative; z-index: 2; }
.project-code b { font-size: .72rem; letter-spacing: .08em; }
.project-wordmark { top: 47%; opacity: .95; }
.project:hover .project-wordmark { transform: translate(18px, -50%) scale(1.01); }
.project-title-row { align-items: center; }
.project-state { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Each flagship system gets a distinct monochrome geometric signature. */
.project[data-project="noetrium"] .project-sigil::before { width: 116%; transform: rotate(0deg); }
.project[data-project="noetrium"] .project-sigil::after { height: 116%; transform: rotate(0deg); }
.project[data-project="noetrium"] .project-sigil i:nth-of-type(1) { top: 5px; right: 50%; margin-right: -2px; }
.project[data-project="noetrium"] .project-sigil i:nth-of-type(2) { left: 50%; bottom: 5px; margin-left: -2px; }
.project[data-project="noetrium"] .project-sigil { box-shadow: inset 0 0 0 12px color-mix(in srgb, var(--bg) 92%, transparent); }

.project[data-project="anchorbell"] .project-sigil { border-radius: 50% 50% 46% 46%; }
.project[data-project="anchorbell"] .project-sigil::before { width: 1px; height: 124%; transform: rotate(0); }
.project[data-project="anchorbell"] .project-sigil::after { width: 64%; height: 1px; top: 26%; }
.project[data-project="anchorbell"] .project-sigil i:nth-of-type(1) { top: 8px; left: 50%; margin-left: -2px; }
.project[data-project="anchorbell"] .project-sigil i:nth-of-type(2) { left: 50%; bottom: -3px; margin-left: -2px; width: 7px; height: 7px; }

.project[data-project="charterion"] .project-sigil::before { width: 92%; transform: rotate(30deg); }
.project[data-project="charterion"] .project-sigil::after { height: 92%; transform: rotate(30deg); }
.project[data-project="charterion"] .project-sigil i:nth-of-type(1) { top: 10px; right: 11px; }
.project[data-project="charterion"] .project-sigil i:nth-of-type(2) { left: 9px; bottom: 11px; }
.project[data-project="charterion"] .project-sigil span { border: 1px solid var(--line); }

.project-aside { position: relative; }
.project-aside::before {
  content: "";
  position: absolute;
  right: 40px;
  top: 31px;
  bottom: 78px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line-strong), var(--line), transparent);
  z-index: -1;
}
.project:hover .project-sigil { color: var(--ink); }





.about { overflow: hidden; }
.about::after {
  content: "∞";
  position: absolute;
  right: -0.05em;
  bottom: -0.32em;
  color: color-mix(in srgb, var(--ink) 2.7%, transparent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15rem, 34vw, 34rem);
  line-height: 1;
  pointer-events: none;
}
.about-grid { position: relative; z-index: 1; }

.palette { transform-origin: 50% 10%; }
.palette[open] { animation: palette-in .22s cubic-bezier(.16,.8,.24,1); }

@keyframes orbit-d { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes palette-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1420px) {
  .section-rail { display: none; }
}
@media (max-width: 860px) {
  .section-deck, .section-side { padding-left: 18px; }
  .project-list::before { left: 73px; }
  .visual-meta { max-width: 360px; margin-inline: auto; }
  .hero::before { inset: 38% 0 auto 0; height: 35%; }
}
@media (max-width: 560px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .hero-name::after { width: .11em; height: .11em; margin-left: .1em; }
  .visual-meta { font-size: .44rem; gap: 8px; }
  .thesis-band::after { font-size: 17vw; }
  .section-deck, .section-side { padding-left: 14px; }
  .project-list::before { left: 33px; }
  .project::before { display: none; }
  .project-aside::before { right: 16px; top: 20px; bottom: 52px; }
  .about::after { font-size: 68vw; bottom: -.18em; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark::after, .palette[open] { animation: none !important; }
}

/* V6 — spatial polish, material depth, and motion hierarchy */
:root {
  --ease-out: cubic-bezier(.16,.8,.24,1);
  --ease-spring: cubic-bezier(.2,.9,.2,1.08);
  --header-h: 72px;
  --cursor-x: 50vw;
  --cursor-y: 18vh;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

html {
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
}

body {
  background:
    radial-gradient(920px 520px at var(--cursor-x) var(--cursor-y), color-mix(in srgb, var(--ink) 2.2%, transparent), transparent 72%),
    var(--bg);
  transition: background-color .35s ease, color .35s ease;
}

html[data-theme="dark"] {
  --bg: #0a0b0c;
  --paper: #101214;
  --ink: #ece9e0;
  --muted: #9b9c97;
  --soft: #6e706c;
  --line: rgba(236, 233, 224, .12);
  --line-strong: rgba(236, 233, 224, .26);
  --ghost: rgba(236, 233, 224, .045);
  --glass: rgba(10, 11, 12, .72);
  --shadow: 0 30px 90px rgba(0,0,0,.32);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(980px 580px at var(--cursor-x) var(--cursor-y), rgba(255,255,255,.026), transparent 72%),
    linear-gradient(180deg, #0a0b0c 0%, #0b0c0d 46%, #090a0b 100%);
}

.site-header {
  transition:
    transform .45s var(--ease-out),
    background-color .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - env(safe-area-inset-top)));
}

.site-header.is-scrolled {
  box-shadow: 0 14px 40px color-mix(in srgb, var(--ink) 5%, transparent);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.52rem;
  height: 1px;
  background: var(--ink);
  transition: right .38s var(--ease-out);
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  right: 0;
}

.brand-x,
.brand-z {
  display: inline-block;
  transition: transform .4s var(--ease-spring), opacity .25s ease;
}

.brand:hover .brand-x {
  transform: translate(-1px,-1px) rotate(-5deg);
}

.brand:hover .brand-z {
  transform: translate(1px,1px) rotate(5deg);
}

.hero {
  min-height: min(960px, calc(100svh - 10px));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 8.333% 100%, 100% 12.5%;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.36), transparent 82%);
  opacity: .16;
}

.hero-copy,
.hero-visual,
.hero-scroll {
  position: relative;
  z-index: 1;
}

.hero-name {
  letter-spacing: -.072em;
}





.hero-visual {
  perspective: 900px;
}

.hero-mark {
  transform-style: preserve-3d;
  filter: drop-shadow(0 26px 45px color-mix(in srgb, var(--ink) 7%, transparent));
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 48%, color-mix(in srgb, var(--ink) 2.2%, transparent) 49%, transparent 66%);
  transform: translateZ(-1px);
}

.hero-scroll span {
  animation: scroll-pulse 2.1s ease-in-out infinite;
}

.thesis-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 1.4%, transparent) 50%, transparent);
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%) scaleX(.15);
  transform-origin: left;
  background: var(--line);
  opacity: .65;
  transition: transform .9s var(--ease-out);
}

.section:has(.visible)::before {
  transform: translateX(-50%) scaleX(1);
}

.section-head h2 {
  letter-spacing: -.055em;
}

.section-index {
  transition: transform .6s var(--ease-out), color .3s ease;
}

.section:hover > .section-index {
  transform: translateY(-4px);
  color: var(--line-strong);
}









.project {
  --sigil-rx: 0deg;
  --sigil-ry: 0deg;
  --sigil-tx: 0px;
  --sigil-ty: 0px;
  isolation: isolate;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 4.4%, transparent), transparent 44%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.project:hover::after {
  opacity: 1;
}

.project-main h3 {
  transition: letter-spacing .42s var(--ease-out), transform .42s var(--ease-out);
}

.project:hover .project-main h3 {
  letter-spacing: -.058em;
  transform: translateX(4px);
}

.project-sigil {
  transform:
    perspective(520px)
    translate3d(var(--sigil-tx), var(--sigil-ty), 0)
    rotateX(var(--sigil-rx))
    rotateY(var(--sigil-ry));
  transition:
    transform .2s ease-out,
    border-color .3s ease,
    color .3s ease,
    box-shadow .35s ease;
  will-change: transform;
}

.project:hover .project-sigil {
  box-shadow:
    0 18px 50px color-mix(in srgb, var(--ink) 7%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--ink) 4%, transparent);
}

.project[data-project="noetrium"]:hover .project-sigil {
  animation: sigil-orbit 10s linear infinite;
}

.project[data-project="anchorbell"]:hover .project-sigil i:nth-of-type(2) {
  animation: bell-swing 1.8s ease-in-out infinite;
  transform-origin: 50% -24px;
}

.project[data-project="charterion"]:hover .project-sigil i {
  animation: node-pulse 1.6s ease-in-out infinite alternate;
}

.project[data-project="charterion"]:hover .project-sigil i:nth-of-type(2) {
  animation-delay: .35s;
}

.project-arrow {
  transition: transform .4s var(--ease-spring), background-color .3s ease, color .3s ease;
}

.project:hover .project-arrow {
  transform: translate(4px,-4px) rotate(4deg);
}

.project:hover .project-arrow span {
  display: inline-block;
  transform: rotate(-4deg);
}





.name-story {
  transition: border-color .3s ease, background-color .3s ease;
}

.name-story[open] {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
}

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "Xalzeroph";
  position: absolute;
  right: 0;
  bottom: -.22em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(5rem, 12vw, 10rem);
  color: color-mix(in srgb, var(--ink) 2.6%, transparent);
  pointer-events: none;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.45); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

@keyframes sigil-orbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes bell-swing {
  0%,100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}

@keyframes node-pulse {
  from { transform: scale(.8); opacity: .55; }
  to { transform: scale(1.25); opacity: 1; }
}

@supports (animation-timeline: view()) {
  .thesis-band::after {
    animation: thesis-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  .section-index {
    animation: index-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  .project-wordmark {
    animation: wordmark-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  @keyframes thesis-drift {
    from { transform: translateX(5vw); }
    to { transform: translateX(-5vw); }
  }

  @keyframes index-drift {
    from { transform: translateY(22px); }
    to { transform: translateY(-22px); }
  }

  @keyframes wordmark-drift {
    from { translate: 22px -50%; }
    to { translate: -22px -50%; }
  }
}

@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: calc(100svh - env(safe-area-inset-top));
  }

  .site-header {
    backdrop-filter: saturate(135%) blur(18px);
    -webkit-backdrop-filter: saturate(135%) blur(18px);
  }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .site-header.is-hidden {
    transform: translateY(calc(-100% - env(safe-area-inset-top) - 8px));
  }

  .hero {
    min-height: auto;
  }

  .project:hover .project-main h3 {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero::after {
    background-size: 25% 100%, 100% 12.5%;
    opacity: .11;
  }

  

  .project::after {
    display: none;
  }

  .footer::before {
    right: -1.4rem;
    font-size: 5.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll span,
  .project[data-project="noetrium"]:hover .project-sigil,
  .project[data-project="anchorbell"]:hover .project-sigil i:nth-of-type(2),
  .project[data-project="charterion"]:hover .project-sigil i {
    animation: none !important;
  }

  .site-header {
    transform: none !important;
  }
}


/* V6.1 — scroll-timeline composition fix */
@supports (animation-timeline: view()) {
  .project-wordmark {
    animation-name: wordmark-drift-v6;
  }

  @keyframes wordmark-drift-v6 {
    from { translate: 22px 0; }
    to { translate: -22px 0; }
  }
}


/* V6.2 — project motion composition and touch-state polish */
.project:hover .project-sigil,
.project:focus-visible .project-sigil {
  transform:
    perspective(520px)
    translate3d(var(--sigil-tx), var(--sigil-ty), 0)
    rotateX(var(--sigil-rx))
    rotateY(var(--sigil-ry))
    scale(1.035);
  border-color: var(--line-strong);
}

.project[data-project="noetrium"]:hover .project-sigil {
  animation: none;
}

.project[data-project="noetrium"]:hover .project-sigil i:nth-of-type(1),
.project[data-project="noetrium"]:focus-visible .project-sigil i:nth-of-type(1) {
  animation: noe-node-a 1.7s ease-in-out infinite;
}

.project[data-project="noetrium"]:hover .project-sigil i:nth-of-type(2),
.project[data-project="noetrium"]:focus-visible .project-sigil i:nth-of-type(2) {
  animation: noe-node-b 1.7s .22s ease-in-out infinite;
}

@keyframes noe-node-a {
  0%,100% { transform: scale(.72); opacity: .42; }
  50% { transform: scale(1.38); opacity: 1; }
}

@keyframes noe-node-b {
  0%,100% { transform: scale(1.25); opacity: .86; }
  50% { transform: scale(.68); opacity: .32; }
}

@media (hover: none) {
  .project:hover .project-main,
  .project:hover .project-main h3,
  .project:hover .project-wordmark,
  .project:hover .project-arrow,
  .project:hover .project-sigil,
  .brand:hover .brand-x,
  .brand:hover .brand-z {
    transform: none;
  }

  .project:hover::after{
    opacity: 0;
  }

  .project[data-project="noetrium"]:hover .project-sigil i,
  .project[data-project="anchorbell"]:hover .project-sigil i,
  .project[data-project="charterion"]:hover .project-sigil i {
    animation: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: color-mix(in srgb, var(--ink) 28%, transparent);
    --line-strong: color-mix(in srgb, var(--ink) 48%, transparent);
  }

  .muted,
  .section-deck,
  .section-side,
  .project-main > p{
    color: var(--ink);
  }
}

@media (forced-colors: active) {
  .grain,
  .hero::before,
  .hero::after,
  .thesis-band::after,
  .project-wordmark,
  .about::after,
  .footer::before {
    display: none;
  }

  .project,
  .name-story {
    border: 1px solid CanvasText;
  }
}


/* V7 — absolute monochrome and bilingual typography */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #000000;
  --muted: #555555;
  --soft: #8a8a8a;
  --line: rgba(0,0,0,.12);
  --line-strong: rgba(0,0,0,.32);
  --ghost: rgba(0,0,0,.035);
  --glass: rgba(255,255,255,.88);
  --shadow: 0 26px 80px rgba(0,0,0,.08);
  --serif-zh: "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans-zh: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", ui-sans-serif, sans-serif;
}

html[data-theme="dark"] {
  --bg: #000000;
  --paper: #050505;
  --ink: #ffffff;
  --muted: #a6a6a6;
  --soft: #777777;
  --line: rgba(255,255,255,.14);
  --line-strong: rgba(255,255,255,.34);
  --ghost: rgba(255,255,255,.05);
  --glass: rgba(0,0,0,.88);
  --shadow: 0 30px 90px rgba(0,0,0,.56);
}

body {
  background:
    radial-gradient(860px 500px at var(--cursor-x) var(--cursor-y), color-mix(in srgb, var(--ink) 2.3%, transparent), transparent 72%),
    var(--bg);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(900px 540px at var(--cursor-x) var(--cursor-y), rgba(255,255,255,.035), transparent 72%),
    #000000;
}

.grain {
  opacity: .02;
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .grain {
  opacity: .018;
  mix-blend-mode: screen;
}

.site-header {
  background: linear-gradient(to bottom, var(--bg), color-mix(in srgb, var(--bg) 96%, transparent));
}
.site-header.is-scrolled {
  background: var(--glass);
  box-shadow: 0 1px 0 var(--line), 0 10px 38px rgba(0,0,0,.035);
}
html[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 40px rgba(0,0,0,.7);
}

.lang-button {
  height: 34px;
  min-width: 60px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-size: .64rem;
  line-height: 1;
  letter-spacing: .04em;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.lang-button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--ghost);
}
.lang-button i {
  color: var(--soft);
  font-style: normal;
  opacity: .65;
}
html[data-lang="zh"] .lang-zh,
html[data-lang="en"] .lang-en {
  color: var(--ink);
  font-weight: 760;
}
html[data-lang="zh"] .lang-en,
html[data-lang="en"] .lang-zh {
  opacity: .5;
}

html[data-lang="zh"] body {
  font-family: var(--sans-zh);
  letter-spacing: 0;
}
html[data-lang="zh"] h1,
html[data-lang="zh"] h2,
html[data-lang="zh"] h3,
html[data-lang="zh"] .lede,
html[data-lang="zh"] .thesis-copy,
html[data-lang="zh"] .about-lead{
  font-family: var(--serif-zh);
}
html[data-lang="zh"] h1 {
  letter-spacing: -.055em;
}
html[data-lang="zh"] .hero-name {
  font-family: var(--sans);
  letter-spacing: -.07em;
}

html[data-lang="zh"] .lede {
  line-height: 1.32;
  letter-spacing: -.015em;
}
html[data-lang="zh"] .thesis-copy,
html[data-lang="zh"] .section-deck,
html[data-lang="zh"] .section-side,
html[data-lang="zh"] .project-main > p,
html[data-lang="zh"] .about-copy p {
  line-height: 1.8;
}
html[data-lang="zh"] .section-head h2 {
  letter-spacing: -.045em;
}
html[data-lang="zh"] .project-main h3 {
  font-family: var(--serif);
}

html[data-lang="zh"] .eyebrow,
html[data-lang="zh"] .kicker,
html[data-lang="zh"] .project-meta,
html[data-lang="zh"] .thesis-label,
html[data-lang="zh"] .summary-hint {
  letter-spacing: .08em;
}

.project-state,
.project-sigil span,
.status-dot,
.scroll-progress span {
  background-color: var(--ink);
}
.project-sigil span {
  background: var(--bg);
  color: var(--ink);
}

::selection {
  background: #000;
  color: #fff;
}
html[data-theme="dark"] ::selection {
  background: #fff;
  color: #000;
}

@media (max-width: 560px) {
  .header-actions { gap: 5px; }
  .lang-button { min-width: 54px; padding-inline: 8px; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #333333;
    --soft: #555555;
  }
  html[data-theme="dark"] {
    --muted: #d0d0d0;
    --soft: #b0b0b0;
  }
}


/* V7.1 — monochrome contrast corrections */
.project-state {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.icon-button,
.kbd-button,
.lang-button {
  background: transparent;
}

.icon-button:hover,
.kbd-button:hover,
.lang-button:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

html[data-theme="dark"] .project-state {
  background: #ffffff;
  color: #000000;
}

html[data-theme="light"] .project-state {
  background: #000000;
  color: #ffffff;
}

html[data-theme="dark"] .project-wordmark,
html[data-theme="light"] .project-wordmark {
  color: color-mix(in srgb, var(--ink) 3.2%, transparent);
}

html[data-theme="dark"] .project:hover .project-wordmark,
html[data-theme="light"] .project:hover .project-wordmark {
  color: color-mix(in srgb, var(--ink) 5.2%, transparent);
}


/* V8 — editorial rhythm, visual density, and unified type scale */
:root {
  --text-xs: .72rem;
  --text-sm: .89rem;
  --text-base: 1rem;
  --text-lg: clamp(1.24rem, 1.55vw, 1.46rem);
  --text-xl: clamp(2.75rem, 4.7vw, 4.55rem);
  --text-display: clamp(4.2rem, 8vw, 7.9rem);
}

body {
  font-size: var(--text-base);
}

.eyebrow,
.kicker,
.project-meta,
.thesis-label,
.thesis-coordinate,
.section-index,
.summary-hint,
.rail-index,
.rail-label {
  font-size: var(--text-xs);
}

h1 {
  font-size: var(--text-display);
  line-height: .82;
}



.lede {
  max-width: 760px;
  font-size: var(--text-lg);
  line-height: 1.3;
}

.hero-focus,
.section-deck,
.section-side,
.project-main > p,
.name-story,
.identity-links,
.text-link,
.back-top {
  font-size: var(--text-sm);
}

h2,
.section-head h2 {
  font-size: var(--text-xl);
  line-height: .98;
  letter-spacing: -.045em;
}

.section {
  padding: clamp(94px, 8vw, 126px) 0;
}

.section-head {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.split-head {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(44px, 6vw, 84px);
}

.section-deck,
.section-side {
  margin-right: 0;
  max-width: 360px;
  line-height: 1.65;
}

.thesis-grid {
  align-items: center;
}

.thesis-copy {
  font-family: var(--serif);
  font-size: clamp(1.32rem, 2vw, 1.85rem);
  line-height: 1.28;
}

.thesis-copy > p {
  margin: 0;
}

.thesis-triad {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--muted);
}

.thesis-triad span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.thesis-triad i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.research-constellation {
  position: relative;
  width: 100%;
  height: clamp(220px, 25vw, 330px);
  margin: 0 0 clamp(42px, 5vw, 70px);
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.constellation-ring,
.constellation-axis,
.constellation-core,
.constellation-node {
  position: absolute;
}

.constellation-ring {
  left: 50%;
  top: 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: min(38vw, 430px);
  aspect-ratio: 1;
}

.ring-two {
  width: min(21vw, 230px);
  aspect-ratio: 1;
  border-style: dashed;
}

.constellation-axis {
  background: var(--line);
}

.axis-h {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}

.axis-v {
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
}

.constellation-core {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  z-index: 2;
}

.constellation-node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-xs);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.constellation-node i {
  width: 9px;
  height: 9px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ghost);
}

.constellation-node b {
  font-weight: 650;
}

.node-model { left: 10%; top: 30%; }
.node-memory { right: 11%; top: 27%; }
.node-world { left: 17%; bottom: 24%; }
.node-evidence { right: 13%; bottom: 22%; }















.project {
  min-height: 250px;
  grid-template-columns: 118px minmax(0, 1fr) 210px;
  gap: clamp(28px, 4vw, 52px);
}

.project-wordmark {
  left: 105px;
  font-size: clamp(4rem, 8.4vw, 7.8rem);
}

.project-meta {
  padding: 30px 0;
}

.project-main {
  max-width: 760px;
  padding: 38px 0;
}

.project-main h3 {
  font-size: clamp(2.6rem, 4.2vw, 4.1rem);
  line-height: .96;
}

.project-main > p {
  margin-top: 16px;
  max-width: 58ch;
  line-height: 1.62;
}

.project-tags {
  margin-top: 20px;
}

.project-tags span {
  font-size: var(--text-xs);
}

.project-aside {
  padding: 22px 0;
  justify-items: stretch;
}

.project-canvas {
  position: relative;
  width: 180px;
  height: 150px;
  justify-self: end;
  align-self: center;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 25% 100%, 100% 25%;
}

.project-canvas .project-sigil {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.project:hover .project-canvas .project-sigil,
.project:focus-visible .project-canvas .project-sigil {
  transform:
    translate(-50%, -50%)
    perspective(520px)
    translate3d(var(--sigil-tx), var(--sigil-ty), 0)
    rotateX(var(--sigil-rx))
    rotateY(var(--sigil-ry))
    scale(1.035);
}

.canvas-line,
.canvas-node,
.canvas-arc,
.canvas-tick,
.canvas-edge {
  position: absolute;
  display: block;
}

.canvas-noetrium .canvas-line {
  left: 18%;
  right: 18%;
  height: 1px;
  background: var(--line-strong);
  transform-origin: center;
}

.canvas-noetrium .l1 { top: 36%; transform: rotate(17deg); }
.canvas-noetrium .l2 { top: 64%; transform: rotate(-17deg); }

.canvas-node {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.canvas-noetrium .n1 { left: 14%; top: 27%; }
.canvas-noetrium .n2 { right: 14%; top: 33%; }
.canvas-noetrium .n3 { left: 28%; bottom: 18%; }

.canvas-anchorbell .canvas-arc {
  left: 50%;
  top: 50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.canvas-anchorbell .a1 { width: 118px; height: 118px; }
.canvas-anchorbell .a2 { width: 150px; height: 72px; }

.canvas-anchorbell .canvas-tick {
  width: 1px;
  height: 18px;
  background: var(--ink);
  left: 50%;
  top: 8px;
}

.canvas-anchorbell .t2 { transform: rotate(55deg); transform-origin: 0 67px; }
.canvas-anchorbell .t3 { transform: rotate(-55deg); transform-origin: 0 67px; }

.canvas-charterion .canvas-node { z-index: 2; }
.canvas-charterion .n1 { left: 14%; top: 18%; }
.canvas-charterion .n2 { right: 14%; top: 22%; }
.canvas-charterion .n3 { left: 20%; bottom: 18%; }
.canvas-charterion .n4 { right: 17%; bottom: 16%; }

.canvas-charterion .canvas-edge {
  left: 18%;
  right: 18%;
  height: 1px;
  background: var(--line-strong);
  top: 50%;
  transform-origin: center;
}

.canvas-charterion .e1 { transform: rotate(24deg); }
.canvas-charterion .e2 { transform: rotate(-29deg); }
.canvas-charterion .e3 { transform: rotate(90deg); }

.project-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
}





.method-glyph {
  position: relative;
  width: 112px;
  height: 82px;
  margin: 50px 0 26px;
}

.method-glyph i,
.method-glyph span {
  position: absolute;
  display: block;
}

.glyph-compose i {
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.glyph-compose i:nth-child(1) { left: 0; top: 29px; }
.glyph-compose i:nth-child(2) { left: 45px; top: 0; }
.glyph-compose i:nth-child(3) { right: 0; top: 42px; }
.glyph-compose span {
  left: 12px;
  right: 11px;
  top: 40px;
  height: 1px;
  background: var(--line-strong);
  transform: rotate(-8deg);
}

.glyph-measure {
  display: flex;
  align-items: end;
  gap: 8px;
}
.glyph-measure i {
  position: relative;
  width: 12px;
  border: 1px solid var(--ink);
  border-bottom: 0;
}
.glyph-measure i:nth-child(1) { height: 24px; }
.glyph-measure i:nth-child(2) { height: 46px; }
.glyph-measure i:nth-child(3) { height: 68px; }
.glyph-measure i:nth-child(4) { height: 38px; }
.glyph-measure span {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

.glyph-verify {
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.glyph-verify::before,
.glyph-verify::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.glyph-verify::before { inset: 10px; }
.glyph-verify::after { inset: 22px; }
.glyph-verify span {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.3rem;
}





.about-copy {
  font-size: var(--text-base);
}

.about-lead {
  font-size: var(--text-lg);
  line-height: 1.5;
}

.name-story > div {
  font-size: var(--text-base);
  line-height: 1.65;
}

@keyframes constellation-breathe {
  0%, 100% { transform: scale(.78); opacity: .5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.research-constellation .constellation-node i {
  animation: constellation-breathe 3.4s ease-in-out infinite;
}
.research-constellation .node-memory i { animation-delay: .6s; }
.research-constellation .node-world i { animation-delay: 1.2s; }
.research-constellation .node-evidence i { animation-delay: 1.8s; }

@media (max-width: 860px) {
  .research-constellation {
    height: 260px;
  }
  .ring-one { width: 320px; }
  .ring-two { width: 170px; }

  .project {
    grid-template-columns: 74px minmax(0,1fr) 150px;
    gap: 24px;
  }

  .project-canvas {
    width: 136px;
    height: 122px;
  }
}

@media (max-width: 650px) {
  .research-constellation {
    height: 230px;
  }
  .ring-one { width: 250px; }
  .ring-two { width: 130px; }

  .constellation-node b { display: none; }
  .node-model { left: 9%; top: 28%; }
  .node-memory { right: 10%; top: 28%; }
  .node-world { left: 14%; bottom: 20%; }
  .node-evidence { right: 13%; bottom: 20%; }

  

  

  .project {
    grid-template-columns: 42px minmax(0,1fr);
    gap: 16px;
    min-height: 250px;
  }

  .project-aside {
    display: none;
  }

  .project-main h3 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .project-wordmark {
    left: 38px;
    font-size: 17vw;
  }

  .method-glyph {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-constellation .constellation-node i {
    animation: none !important;
  }
}


/* V9 — visual-first hero and spatial rhythm */
.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  gap: clamp(48px, 6vw, 92px);
  padding-top: clamp(62px, 7vw, 96px);
}

.hero-copy {
  max-width: 780px;
}

.hero-meta {
  max-width: 760px;
}

.hero-title {
  margin-top: clamp(30px, 4vw, 48px);
}

.hero-name {
  max-width: 6ch;
}

.lede {
  max-width: 650px;
  margin-top: clamp(28px, 3vw, 40px);
}

.hero-focus {
  margin-top: 22px;
}

.idea-flow {
  display: grid;
  grid-template-columns: auto minmax(28px,1fr) auto minmax(28px,1fr) auto minmax(28px,1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 650px);
  margin-top: 28px;
}

.idea-flow > span {
  display: grid;
  gap: 3px;
  min-width: 74px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.1;
}

.idea-flow > span b {
  color: var(--soft);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: .12em;
}

.idea-flow > i {
  position: relative;
  display: block;
  height: 1px;
  background: var(--line-strong);
}

.idea-flow > i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.idea-flow .flow-final {
  font-style: italic;
}

.hero-links {
  margin-top: 28px;
}

.hero-visual {
  width: min(41vw, 510px);
  justify-self: end;
}

.hero-mark {
  filter: none;
}

.hero-mark::before {
  inset: -2%;
  opacity: .62;
}

.hero-mark::after {
  inset: 21%;
}

.origin {
  font-size: clamp(5rem, 10vw, 9.2rem);
}

.visual-caption {
  margin-top: 18px;
}

.visual-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.visual-scale {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 9px;
  color: var(--soft);
  font-size: var(--text-xs);
  font-family: var(--serif);
  font-style: italic;
}

.visual-scale i {
  height: 1px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--line-strong) 0 1px,
      transparent 1px 8px
    );
}

.hero-scroll {
  opacity: .72;
}

/* Give each major section one dominant visual anchor instead of competing text. */
.research-constellation {
  background:
    radial-gradient(circle at center, var(--ghost), transparent 43%);
}

.constellation-core {
  transition: transform .5s var(--ease-out), background-color .3s ease, color .3s ease;
}

.research-constellation:hover .constellation-core {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--ink);
  color: var(--bg);
}

.project-canvas {
  transition: border-color .3s ease, transform .45s var(--ease-out);
}

.project:hover .project-canvas {
  border-color: var(--line-strong);
  transform: translateX(-4px);
}

.canvas-noetrium .canvas-node,
.canvas-charterion .canvas-node {
  transition: transform .35s ease, opacity .35s ease;
}

.project[data-project="noetrium"]:hover .canvas-noetrium .n1 { transform: scale(1.6); }
.project[data-project="noetrium"]:hover .canvas-noetrium .n2 { transform: scale(.7); opacity: .4; }
.project[data-project="noetrium"]:hover .canvas-noetrium .n3 { transform: scale(1.25); }

.project[data-project="charterion"]:hover .canvas-charterion .n1 { transform: translate(4px,3px); }
.project[data-project="charterion"]:hover .canvas-charterion .n2 { transform: translate(-4px,4px); }
.project[data-project="charterion"]:hover .canvas-charterion .n3 { transform: translate(5px,-4px); }
.project[data-project="charterion"]:hover .canvas-charterion .n4 { transform: translate(-3px,-4px); }

.canvas-anchorbell .a1,
.canvas-anchorbell .a2 {
  transition: transform .7s var(--ease-out);
}

.project[data-project="anchorbell"]:hover .canvas-anchorbell .a1 {
  transform: translate(-50%, -50%) rotate(8deg);
}
.project[data-project="anchorbell"]:hover .canvas-anchorbell .a2 {
  transform: translate(-50%, -50%) rotate(-8deg);
}

.method-glyph {
  transition: transform .45s var(--ease-out);
}



.footer-line {
  letter-spacing: .02em;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
  }

  .hero-visual {
    width: min(39vw, 430px);
  }

  .idea-flow {
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-name {
    max-width: none;
  }

  .hero-visual {
    width: min(88vw, 430px);
    justify-self: center;
  }

  .idea-flow {
    grid-template-columns: 1fr 26px 1fr;
    gap: 12px;
    max-width: 420px;
  }

  .idea-flow > i:nth-of-type(2) {
    display: none;
  }

  .idea-flow > span:nth-of-type(3) {
    grid-column: 1;
    margin-top: 8px;
  }

  .idea-flow > i:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .idea-flow > span:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 52px;
  }

  .hero-meta {
    align-items: flex-start;
  }

  .availability {
    white-space: normal;
    max-width: 150px;
    text-align: right;
  }

  .idea-flow > span {
    min-width: 0;
    font-size: .98rem;
  }

  .visual-meta,
  .visual-scale {
    width: 92%;
    margin-inline: auto;
  }
}

@media (hover: none) {
  .project:hover .project-canvas{
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-constellation:hover .constellation-core,
  .project:hover .project-canvas{
    transform: none !important;
  }
}


/* V10 — curated home and growing archive gateway */
.nav-archive {
  color: var(--ink) !important;
}

.nav-archive::before {
  content: "↗";
  margin-right: .35em;
  color: var(--soft);
  font-size: .72em;
}

.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.work-links .text-link {
  margin-top: 0;
}

.archive-gateway {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
}

.archive-gateway::before {
  content: "ARCHIVE";
  position: absolute;
  right: -.02em;
  bottom: -.23em;
  color: color-mix(in srgb, var(--bg) 5%, transparent);
  font: 800 clamp(6rem,18vw,18rem)/.8 var(--sans);
  letter-spacing: -.085em;
  pointer-events: none;
}

.archive-gateway-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(520px,62vw,720px);
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(380px,1.22fr);
  gap: clamp(60px,8vw,130px);
  align-items: center;
  padding-block: clamp(86px,9vw,132px);
}

.archive-gateway .kicker {
  color: color-mix(in srgb,var(--bg) 58%,transparent);
}

.archive-gateway-title {
  margin: 22px 0 0;
  max-width: 8ch;
  color: var(--bg);
  font-size: clamp(3.6rem,7vw,7rem);
  line-height: .88;
}

.archive-gateway-deck {
  max-width: 30ch;
  margin: 28px 0 0;
  color: color-mix(in srgb,var(--bg) 65%,transparent);
  font-size: var(--text-base);
  line-height: 1.6;
}

.archive-gateway-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb,var(--bg) 48%,transparent);
  color: var(--bg);
  font-size: var(--text-sm);
}

.archive-gateway-link b {
  font-weight: 400;
  transition: transform .28s var(--ease-out);
}

.archive-gateway-inner:hover .archive-gateway-link b {
  transform: translate(4px,-4px);
}

.archive-gateway-visual {
  display: grid;
  gap: 46px;
}

.archive-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid color-mix(in srgb,var(--bg) 20%,transparent);
  border-left: 1px solid color-mix(in srgb,var(--bg) 20%,transparent);
}

.archive-metrics span {
  min-height: 130px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid color-mix(in srgb,var(--bg) 20%,transparent);
  border-bottom: 1px solid color-mix(in srgb,var(--bg) 20%,transparent);
}

.archive-metrics b {
  color: var(--bg);
  font: 400 clamp(2.8rem,5vw,5rem)/1 var(--serif);
  font-style: italic;
}

.archive-metrics i {
  color: color-mix(in srgb,var(--bg) 48%,transparent);
  font: 650 .68rem/1 var(--sans);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.archive-stack {
  border-top: 1px solid color-mix(in srgb,var(--bg) 22%,transparent);
}

.archive-stack span {
  position: relative;
  min-height: 52px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid color-mix(in srgb,var(--bg) 22%,transparent);
  color: color-mix(in srgb,var(--bg) 62%,transparent);
  transition: padding .34s var(--ease-out), color .25s ease;
}

.archive-stack span::before {
  content: attr(data-stack);
  font-size: .65rem;
  letter-spacing: .12em;
}

.archive-stack span i {
  height: 1px;
  background: color-mix(in srgb,var(--bg) 28%,transparent);
}

.archive-stack span b {
  font: 500 .76rem/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.archive-gateway-inner:hover .archive-stack span:nth-child(1) { padding-left: 8px; color: var(--bg); }
.archive-gateway-inner:hover .archive-stack span:nth-child(2) { padding-left: 18px; }
.archive-gateway-inner:hover .archive-stack span:nth-child(3) { padding-left: 28px; }
.archive-gateway-inner:hover .archive-stack span:nth-child(4) { padding-left: 38px; }
.archive-gateway-inner:hover .archive-stack span:nth-child(5) { padding-left: 48px; }

@media (max-width: 900px) {
  .archive-gateway-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .archive-gateway-copy {
    max-width: 600px;
  }
}

@media (max-width: 620px) {
  .hero-now { gap: 6px; margin-top: 20px; }
  .hero-now-chip { min-height: 30px; padding: 6px 8px; }
  .hero-now-chip time { display: none; }

  .archive-gateway-inner {
    gap: 52px;
    padding-block: 76px;
  }

  .archive-metrics span {
    min-height: 105px;
    padding: 14px;
  }

  .archive-metrics b {
    font-size: 2.7rem;
  }

  .archive-metrics i {
    font-size: .58rem;
  }

  .archive-stack span {
    grid-template-columns: 34px 1fr auto;
  }
}

@media (hover: none) {
  .archive-gateway-inner:hover .archive-stack span {
    padding-left: 0;
  }
}


/* V10.1 — future featured milestones */
.future-highlights[hidden] { display: none; }

.highlight-rows {
  border-top: 1px solid var(--line);
}

.highlight-row {
  display: grid;
  grid-template-columns: 120px minmax(0,1fr) auto;
  gap: clamp(24px,4vw,60px);
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
}

.highlight-row-meta {
  color: var(--soft);
  font-size: var(--text-xs);
  letter-spacing: .08em;
}

.highlight-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem,2.5vw,2.35rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.highlight-row p {
  margin: 8px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--text-sm);
}

.highlight-row-arrow {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 620px) {
  .highlight-row {
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    padding-block: 22px;
  }

  .highlight-row-meta {
    grid-column: 1 / -1;
  }
}


/* V11 — Xalzeroph-first identity and broad research framing */
.hero {
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  gap: clamp(42px, 5vw, 76px);
}

.hero-copy {
  max-width: none;
}

.hero-meta {
  max-width: 880px;
}

.hero-title {
  margin-top: clamp(34px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-wordmark {
  display: block;
  margin-left: -.035em;
  font-family: "Helvetica Neue","Arial Nova",Helvetica,Arial,var(--sans);
  font-size: clamp(5.35rem, 10.45vw, 10.8rem);
  font-style: normal;
  font-weight: 760;
  line-height: .78;
  letter-spacing: -.073em;
  white-space: nowrap;
  color: var(--ink);
  background:
    linear-gradient(
      105deg,
      var(--ink) 0 42%,
      color-mix(in srgb,var(--ink) 38%,var(--muted)) 47%,
      var(--ink) 52% 100%
    );
  background-size: 230% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wordmark-sweep 9.6s cubic-bezier(.4,0,.2,1) infinite;
}

.hero-name {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: none;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 720;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-name::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ink);
}

.hero-name::after {
  content: "/ Zihan Xu";
  font: inherit;
  letter-spacing: inherit;
  color: transparent;
  display: none;
}

.hero-signature {
  max-width: 720px;
  margin-top: clamp(30px, 3vw, 42px);
  font-family: var(--serif);
  font-size: clamp(1.34rem, 2vw, 1.78rem);
  line-height: 1.38;
  letter-spacing: -.025em;
}

.hero-signature strong {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .17em;
  text-decoration-color: var(--line-strong);
}

.hero-focus {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .06em;
}

.hero-visual {
  width: min(36vw, 450px);
  align-self: center;
}

.origin {
  font-size: clamp(4.7rem, 9vw, 8rem);
}

.idea-flow {
  width: min(100%, 700px);
}

.thesis-band {
  min-height: 250px;
}

.thesis-copy {
  max-width: 840px;
}

.research-constellation {
  height: clamp(240px, 26vw, 340px);
}

.node-model { left: 9%; top: 29%; }
.node-memory { right: 12%; top: 26%; }
.node-world { left: 15%; bottom: 22%; }
.node-evidence { right: 10%; bottom: 20%; }

html[data-lang="zh"] .hero-wordmark {
  font-family: "Helvetica Neue","Arial Nova",Helvetica,Arial,var(--sans);
  letter-spacing: -.073em;
}

html[data-lang="zh"] .hero-name {
  font-family: var(--sans);
  letter-spacing: .12em;
}

html[data-lang="zh"] .hero-signature {
  font-family: var(--serif-zh);
  line-height: 1.55;
  letter-spacing: -.015em;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  }

  .hero-wordmark {
    font-size: clamp(5rem, 10vw, 8rem);
  }

  .hero-visual {
    width: min(35vw, 390px);
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-wordmark {
    font-size: clamp(4.5rem, 19vw, 7.2rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-name {
    font-size: .74rem;
  }

  .hero-signature {
    max-width: 34ch;
  }

  .hero-visual {
    width: min(86vw, 410px);
  }
}

@media (max-width: 480px) {
  .hero-wordmark {
    font-size: 17.5vw;
    letter-spacing: -.075em;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .availability {
    max-width: none;
    text-align: left;
  }
}


@keyframes wordmark-sweep {
  0%, 72%, 100% { background-position: 100% 0; }
  82% { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wordmark {
    animation: none;
    background-position: 0 0;
  }
}

/* V11.1 — identity story finish */
.name-story-line {
  margin-top: 1.5em !important;
  color: var(--ink);
  font-size: 1.12em;
}

.name-story-line em {
  font-family: var(--serif);
  letter-spacing: -.015em;
}

html[data-lang="zh"] .name-story-line em {
  font-family: var(--serif-zh);
}


/* V11.2 — X zero infinity visual closure */
.about #about-title {
  max-width: 10ch;
}

.visual-caption {
  letter-spacing: .065em;
}

.visual-meta span:first-child {
  letter-spacing: .1em;
}

html[data-lang="zh"] .visual-caption {
  letter-spacing: .12em;
}


/* V12 — Xalzeroph wordmark and research domain matrix */
.brand-wordmark {
  align-items: center;
  letter-spacing: 0;
}

.brand-word {
  display: inline-block;
  font-family: "Helvetica Neue","Arial Nova",Helvetica,Arial,var(--sans);
  font-size: 1.03rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.055em;
  transition: opacity .22s ease, transform .35s var(--ease-out);
}

.brand-wordmark:hover .brand-word {
  transform: translateX(2px);
  opacity: .72;
}

/* Remove the old monogram language from visible footer branding. */
.footer::before {
  content: "Xalzeroph";
  right: -.03em;
  bottom: -.2em;
  font-family: "Helvetica Neue","Arial Nova",Helvetica,Arial,var(--sans);
  font-style: normal;
  font-weight: 760;
  font-size: clamp(4.4rem, 11vw, 9rem);
  letter-spacing: -.072em;
}

.research-domains {
  position: relative;
  margin: 0 0 clamp(52px, 6vw, 82px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.domains-head {
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.domains-head .kicker {
  margin: 0;
}

.domains-coordinate {
  color: var(--soft);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.domain {
  position: relative;
  min-height: 172px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .28s ease, color .28s ease, padding .35s var(--ease-out);
}

.domain::after {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  right: -35px;
  top: -38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .48s var(--ease-out), border-color .28s ease;
}

.domain > i {
  position: absolute;
  left: 24px;
  top: 20px;
  color: var(--soft);
  font: 600 var(--text-xs)/1 var(--sans);
  font-style: normal;
  letter-spacing: .12em;
}

.domain > b {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.domain > em {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: var(--muted);
  font: 500 .68rem/1.45 var(--sans);
  font-style: normal;
  letter-spacing: .045em;
}

.domain:hover {
  padding-left: 30px;
  background: var(--ink);
}

.domain:hover::after {
  border-color: color-mix(in srgb,var(--bg) 28%,transparent);
  transform: scale(1.35);
}

.domain:hover > i,
.domain:hover > b,
.domain:hover > em {
  color: var(--bg);
}

.domain-agent::before,
.domain-quant::before,
.domain-embodied::before,
.domain-multimodal::before,
.domain-memory::before,
.domain-science::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ghost);
  transition: background .28s ease, transform .35s ease;
}

.domain:hover::before {
  background: var(--bg);
  transform: scale(1.35);
}

html[data-lang="zh"] .domain > b {
  font-family: var(--serif-zh);
  letter-spacing: -.02em;
}

html[data-lang="zh"] .domain > em {
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .brand-word {
    font-size: 1rem;
  }

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

@media (max-width: 620px) {
  .brand-word {
    font-size: .92rem;
  }

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

  .domain {
    min-height: 138px;
  }

  .domain > b {
    font-size: 1.5rem;
  }

  .footer::before {
    font-size: 18vw;
  }
}

@media (hover: none) {
  .domain:hover {
    padding-left: 24px;
    background: transparent;
  }

  .domain:hover > i,
  .domain:hover > b {
    color: var(--ink);
  }

  .domain:hover > em {
    color: var(--muted);
  }

  .domain:hover::before {
    background: var(--ink);
    transform: none;
  }

  .domain:hover::after {
    border-color: var(--line);
    transform: none;
  }
}


/* V13 — editorial research axes and scalable domains */
.research-axes {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(60px, 7vw, 92px);
}

.research-axis {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(210px,.72fr) minmax(240px,1fr) minmax(260px,.92fr);
  gap: clamp(20px,3vw,42px);
  align-items: start;
  min-height: 152px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease-out), background .25s ease;
}

.research-axis::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}

.research-axis:hover {
  padding-inline: 14px;
  background: var(--ghost);
}

.research-axis:hover::after {
  transform: scaleX(1);
}

.axis-index {
  color: var(--soft);
  font-size: var(--text-xs);
  letter-spacing: .13em;
  text-transform: uppercase;
}

.axis-title > span,
.axis-question > span {
  display: block;
  margin-bottom: 9px;
  color: var(--soft);
  font-size: .64rem;
  font-weight: 680;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.axis-title h3 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.axis-summary,
.axis-question {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.65;
}

.axis-question {
  color: var(--ink);
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.5;
}

.research-domains {
  margin-bottom: 0;
}

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

.domain {
  text-decoration: none;
  color: inherit;
}

.domain-symbol {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  opacity: .78;
}

.domain-symbol::before,
.domain-symbol::after,
.domain-symbol i {
  content: "";
  position: absolute;
  display: block;
  border: 1px solid var(--line-strong);
}

.domain-symbol::before {
  inset: 4px;
  border-radius: 50%;
}

.domain-symbol::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  border: 0;
  background: var(--line-strong);
}

.domain-symbol i {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--line-strong);
}

.domain[data-domain="quant"] .domain-symbol::before {
  border-radius: 0;
  transform: rotate(45deg) scale(.68);
}

.domain[data-domain="embodied"] .domain-symbol::before {
  border-radius: 50% 50% 8px 8px;
}

.domain[data-domain="multimodal"] .domain-symbol::before {
  inset: 7px 2px;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.domain[data-domain="memory"] .domain-symbol::before {
  inset: 3px 10px;
  border-radius: 999px;
}

.domain[data-domain="science"] .domain-symbol::before {
  inset: 7px;
  border-radius: 0;
  transform: rotate(45deg);
}

.domain:hover .domain-symbol::before,
.domain:hover .domain-symbol::after,
.domain:hover .domain-symbol i {
  border-color: color-mix(in srgb,var(--bg) 55%,transparent);
  background-color: color-mix(in srgb,var(--bg) 55%,transparent);
}

html[data-lang="zh"] .axis-title h3,
html[data-lang="zh"] .axis-question {
  font-family: var(--serif-zh);
}

@media (max-width: 980px) {
  .research-axis {
    grid-template-columns: 54px minmax(190px,.72fr) minmax(0,1fr);
  }

  .axis-question {
    grid-column: 2 / -1;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .research-axis {
    grid-template-columns: 34px 1fr;
    gap: 12px 18px;
    min-height: 0;
    padding-block: 24px;
  }

  .axis-summary,
  .axis-question {
    grid-column: 2;
  }

  .axis-question {
    margin-top: 5px;
  }

  .research-axis:hover {
    padding-inline: 0;
    background: transparent;
  }

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

  .domain {
    min-height: 132px;
  }
}

@media (hover: none) {
  .research-axis:hover {
    padding-inline: 0;
    background: transparent;
  }
}


/* V13.1 — domain coverage and linked research navigation */
.domain-project-count {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--soft);
  font: 650 .62rem/1 var(--sans);
  letter-spacing: .12em;
}

.domain[href] {
  cursor: pointer;
}

.domain[href] .domain-project-count::after {
  content: " ↗";
}

.domain:hover .domain-project-count {
  color: var(--bg);
}

@media (hover: none) {
  .domain:hover .domain-project-count {
    color: var(--soft);
  }
}


/* V14 — continuous method flow */
.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 72px;
  height: 1px;
  background: var(--line-strong);
  z-index: 2;
}

.method-rail i {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%,-50%);
}

.method-rail i:nth-child(1) { left: 16.66%; }
.method-rail i:nth-child(2) { left: 50%; }
.method-rail i:nth-child(3) { left: 83.33%; }

.method-step {
  position: relative;
  min-height: 360px;
  padding: 28px 30px 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, transform .4s var(--ease-out);
}

.method-step:hover {
  background: var(--ghost);
  transform: translateY(-4px);
}

.method-step-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--soft);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .11em;
}

.method-step-meta b {
  font-weight: 680;
  color: var(--muted);
}

.method-step .method-glyph {
  align-self: center;
  margin: 0;
  width: 120px;
  height: 88px;
}

.method-step-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem,3.2vw,3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.method-step-copy p {
  margin: 13px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.method-loop {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: var(--soft);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.method-loop i {
  position: relative;
  height: 1px;
  background: var(--line-strong);
}

.method-loop i::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

html[data-lang="zh"] .method-step-copy h3 {
  font-family: var(--serif-zh);
}

@media (max-width: 820px) {
  .method-flow {
    grid-template-columns: 1fr;
  }

  .method-rail {
    top: 36px;
    bottom: 36px;
    left: 30px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .method-rail i {
    left: 50% !important;
  }

  .method-rail i:nth-child(1) { top: 16.66%; }
  .method-rail i:nth-child(2) { top: 50%; }
  .method-rail i:nth-child(3) { top: 83.33%; }

  .method-step {
    min-height: 240px;
    grid-template-columns: 74px 120px 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 22px;
    padding-left: 56px;
  }

  .method-step-meta {
    flex-direction: column;
    justify-content: center;
  }

  .method-loop {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-left: 56px;
  }

  .method-loop i {
    width: 1px;
    height: 18px;
    margin-left: 5px;
  }

  .method-loop i::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 560px) {
  .method-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 24px 26px 46px;
  }

  .method-step .method-glyph {
    width: 96px;
    height: 70px;
  }

  .method-step-meta {
    flex-direction: row;
    justify-content: flex-start;
    gap: 18px;
  }
}

@media (hover: none) {
  .method-step:hover {
    background: transparent;
    transform: none;
  }
}


/* V14.1 — Xalzeroph name anatomy */
.name-anatomy {
  margin-top: clamp(34px,4vw,54px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.name-letters {
  display: grid;
  grid-template-columns: repeat(9,minmax(0,1fr));
  gap: 0;
  max-width: 620px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.name-letters span {
  min-height: clamp(58px,6vw,82px);
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem,2.4vw,2.5rem);
  font-style: italic;
  transition: background .25s ease, color .25s ease;
}

.name-letters .letter-zero {
  background: color-mix(in srgb,var(--ink) 4%,transparent);
}

.name-letters .letter-shared {
  background: var(--ink);
  color: var(--bg);
}

.name-traces {
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}

.trace {
  display: grid;
  grid-template-columns: minmax(20px,1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--soft);
  font-size: .62rem;
  letter-spacing: .12em;
}

.trace i {
  height: 1px;
  background: var(--line-strong);
}

.trace-zero i {
  background: repeating-linear-gradient(90deg,var(--line-strong) 0 9px,transparent 9px 14px);
}

.trace-aleph i {
  background: repeating-linear-gradient(90deg,var(--line-strong) 0 1px,transparent 1px 7px);
}

.trace b {
  font-weight: 700;
}

.trace-aleph-zero {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0;
}

@media (max-width: 680px) {
  .name-letters {
    max-width: 100%;
  }

  .name-letters span {
    min-height: 52px;
    font-size: 1.4rem;
  }

  .name-traces {
    grid-template-columns: repeat(2,1fr);
  }
}


/* V15 — domain coverage collision fix */
.domain-agent::before,
.domain-quant::before,
.domain-embodied::before,
.domain-multimodal::before,
.domain-memory::before,
.domain-science::before {
  display: none;
}


/* V15.1 — no-JS graceful degradation */
.research-noscript {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: clamp(48px,6vw,76px);
}

.research-noscript > div {
  min-height: 120px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-noscript b {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.research-noscript span {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.research-noscript-domains {
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0;
}

@media (max-width: 680px) {
  .research-noscript,
  .research-noscript-domains {
    grid-template-columns: 1fr;
  }
}


/* V16 — project × domain research map */
.project-domain-map {
  margin: 0 0 clamp(42px, 5vw, 64px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}

.project-domain-map-viewport {
  min-width: 760px;
}

.project-domain-map-head,
.project-domain-map-row {
  display: grid;
  grid-template-columns: 190px repeat(var(--domain-count), minmax(74px,1fr));
}

.project-domain-map-head {
  min-height: 92px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb,var(--ink) 1.6%,transparent);
}

.map-corner,
.map-domain-head,
.map-project-label,
.map-cell {
  position: relative;
  border-right: 1px solid var(--line);
}

.map-corner,
.map-domain-head {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.map-corner span,
.map-domain-head span,
.map-project-label span {
  color: var(--soft);
  font-size: .61rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-corner b {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 680;
}

.map-domain-head {
  color: var(--muted);
  transition: background .24s ease, color .24s ease;
}

.map-domain-head:last-child,
.map-cell:last-child {
  border-right: 0;
}

.map-domain-head b {
  max-width: 9ch;
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.map-domain-head:hover,
.map-domain-head:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.map-domain-head:hover span,
.map-domain-head:focus-visible span {
  color: color-mix(in srgb,var(--bg) 62%,transparent);
}

.project-domain-map-row {
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

.project-domain-map-row:last-child {
  border-bottom: 0;
}

.map-project-label {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: background .24s ease;
}

.map-project-label b {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -.03em;
}

.map-project-label:hover,
.map-project-label:focus-visible {
  background: var(--ghost);
}

.map-cell {
  display: grid;
  place-items: center;
}

.map-cell i {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.map-cell.is-linked i {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 0 0 5px var(--ghost);
}

.project-domain-map-row:hover .map-cell.is-linked i {
  transform: scale(1.2);
}

.project-domain-map-row:hover .map-project-label b {
  color: var(--ink);
}

html[data-theme="dark"] .project-domain-map-head {
  background: rgba(255,255,255,.018);
}

html[data-lang="zh"] .map-domain-head b,
html[data-lang="zh"] .map-project-label b {
  font-family: var(--serif-zh);
}

@media (max-width: 860px) {
  .project-domain-map {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .project-domain-map-viewport {
    min-width: 720px;
  }
}

@media (max-width: 560px) {
  .project-domain-map {
    margin-bottom: 36px;
  }

  .project-domain-map-viewport {
    min-width: 680px;
  }

  .project-domain-map-head,
  .project-domain-map-row {
    grid-template-columns: 150px repeat(var(--domain-count), minmax(70px,1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-domain-map * {
    transition: none !important;
  }
}


/* V16.1 — domain ↔ research-axis notation */
.domain-axes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-right: 48px;
}

.domain-axes > span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font: 700 .58rem/1 var(--sans);
  letter-spacing: .04em;
  transition: border-color .24s ease, color .24s ease, background .24s ease;
}

.domain:hover .domain-axes > span {
  border-color: color-mix(in srgb,var(--bg) 30%,transparent);
  color: var(--bg);
}

@media (hover: none) {
  .domain:hover .domain-axes > span {
    border-color: var(--line);
    color: var(--soft);
  }
}


/* V16.2 — identity must never depend on scroll reveal */
.js .hero-title.reveal,
.js .hero-title.reveal.visible {
  opacity: 1;
  transform: none;
  clip-path: none;
  transition: none;
}

.hero-wordmark {
  opacity: 1;
  visibility: visible;
}


/* V16.3 — skip-link focus discipline */
.skip-link:not(:focus-visible) {
  transform: translateY(-150%);
}


/* V17 — mobile editorial simplification */
/* Keep the accessibility shortcut completely out of normal visual flow. */
.skip-link {
  top: -120px;
  transform: none;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Mobile is a separate composition, not a shrunken desktop. */
@media (max-width: 680px) {
  .split-head {
    display: block;
  }

  .split-head > .section-side,
  .split-head > .section-deck {
    display: block;
    width: 100%;
    max-width: 34rem;
    margin: 28px 0 0;
    justify-self: auto;
  }

  .split-head > .section-side .work-links {
    margin-top: 18px;
  }

  #work .section-head {
    margin-bottom: 42px;
  }

  #work .project-domain-map {
    display: none;
  }

  .research-domains {
    margin-top: 8px;
  }

  .domain {
    min-height: 126px;
    padding: 20px 20px 18px;
  }

  .domain > b {
    max-width: 15ch;
    font-size: 1.42rem;
  }

  .domain > em {
    max-width: 28ch;
    font-size: .66rem;
  }

  .domain-axes {
    margin-top: 10px;
  }

  .domain-project-count {
    bottom: 18px;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: 84px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .axis-summary,
  .axis-question {
    font-size: .91rem;
  }

  .research-axis {
    padding-block: 26px;
  }

  #work .section-side {
    color: var(--muted);
    line-height: 1.7;
  }
}


/* V16.4 — responsive consolidation and current identity rhythm */
/* Late-version rules intentionally live at the end of the cascade so older
   breakpoint declarations cannot re-introduce narrow two-column headings. */
@media (max-width: 860px) {
  .split-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .section-deck,
  .section-side {
    justify-self: start;
    width: min(100%, 38rem);
    max-width: 38rem;
    margin: 0;
  }

  .section-head h2 {
    max-width: 12ch;
  }

  #research-title {
    max-width: 10ch;
  }

  #work-title {
    max-width: 12ch;
  }

  #method-title {
    max-width: 14ch;
  }

  .work-links {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2,
  #method-title {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
    line-height: .96;
  }

  #research-title,
  #work-title {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
  }

  .section-deck,
  .section-side {
    max-width: 34ch;
    font-size: .82rem;
    line-height: 1.65;
  }

  .project-domain-map {
    position: relative;
    scrollbar-color: var(--line-strong) transparent;
  }

  .project-domain-map::after {
    content: "↔";
    position: sticky;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    float: right;
    width: 28px;
    height: 28px;
    margin: -36px 8px 8px 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    color: var(--soft);
    font-size: .68rem;
    pointer-events: none;
  }
}


/* V17.1 — compact mobile research mosaic */
@media (max-width: 680px) {
  .split-head {
    display: block;
  }

  .split-head > .section-deck,
  .split-head > .section-side {
    display: block;
    width: 100%;
    max-width: 34rem;
    margin: 22px 0 0;
  }

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

  .domain {
    min-height: 158px;
    padding: 17px 16px 15px;
  }

  .domain > i {
    left: 16px;
    top: 15px;
  }

  .domain-symbol {
    right: 12px;
    top: 13px;
    width: 34px;
    height: 34px;
  }

  .domain > b {
    max-width: 12ch;
    font-size: 1.12rem;
    line-height: 1.08;
  }

  .domain > em {
    max-width: 18ch;
    margin-top: 8px;
    font-size: .58rem;
    line-height: 1.45;
  }

  .domain-axes {
    gap: 4px;
    margin-top: 9px;
    padding-right: 30px;
  }

  .domain-axes > span {
    min-width: 19px;
    height: 19px;
    font-size: .52rem;
  }

  .domain-project-count {
    right: 14px;
    bottom: 15px;
    font-size: .56rem;
  }

  #method {
    padding-bottom: 68px;
  }

  .method-loop {
    margin-bottom: 0;
  }
}

@media (max-width: 360px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }

  .domain {
    min-height: 126px;
  }
}


/* V17.1 — scalable identity links */
.identity-links-extra {
  display: contents;
}


/* V17.3 — editorial readability floor */
.map-corner span,
.map-domain-head span,
.map-project-label span,
.archive-project-index,
.archive-row-meta,
.archive-project-tags span,
.archive-row-tags span {
  font-size: max(.66rem, var(--text-xs));
}

.project-main > p,
.axis-summary,
.section-deck,
.section-side,
.about-copy > p:not(.about-lead),
.method-step-copy p {
  line-height: 1.68;
}

@media (max-width: 560px) {
  .project-main > p,
  .axis-summary,
  .axis-question,
  .section-deck,
  .section-side,
  .about-copy > p:not(.about-lead),
  .method-step-copy p {
    font-size: .9rem;
  }
}


/* V13 — editorial cosmos, Primer-readable microtype, and identity alignment */
:root {
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --display-serif: Didot, "Bodoni 72", "Bodoni MT", "Iowan Old Style", "Times New Roman", serif;
}

.hero-wordmark {
  margin-left: -.018em;
  font-family: var(--display-serif);
  font-size: clamp(5.5rem, 10.8vw, 11.15rem);
  font-weight: 600;
  line-height: .79;
  letter-spacing: -.028em;
  background:
    linear-gradient(
      108deg,
      var(--ink) 0 39%,
      color-mix(in srgb, #2f81f7 74%, var(--ink)) 45%,
      color-mix(in srgb, #8b5cf6 68%, var(--ink)) 49%,
      var(--ink) 55% 100%
    );
  background-size: 240% 100%;
  background-position: 100% 0;
}

.brand-word,
.footer::before {
  font-family: var(--display-serif);
  font-weight: 600;
  letter-spacing: -.025em;
}

.brand-word {
  font-size: 1.08rem;
}

.eyebrow,
.kicker,
.availability,
.hero-now-index,
.hero-now-kicker,
.hero-now-chip time,
.axis,
.visual-caption,
.hero-scroll,
.thesis-label,
.thesis-coordinate,
.section-index,
.work-heading::after,
.project-meta,
.project-tags span,
.domain > i,
.domain > em,
.domains-coordinate,
.summary-hint,
.rail-index,
.rail-label {
  font-size: .75rem;
}

.nav,
.kbd-button {
  font-size: .875rem;
}

.hero-focus,
.text-link,
.identity-links a,
.back-top,
.section-deck,
.section-side,
.project-main > p {
  font-size: .875rem;
}

.hero-now {
  gap: 0;
  width: min(100%, 690px);
  margin-top: 30px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.hero-now-index {
  width: 100%;
  margin: 0;
  padding: 12px 0 11px;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--line);
}

.hero-now-index::after {
  content: " / LIVE WORK POINTERS";
  color: var(--soft);
  font-weight: 500;
  letter-spacing: .08em;
}

.hero-now-chip {
  position: relative;
  width: 100%;
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 8px 18px;
  padding: 13px 0 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: .875rem;
  line-height: 1.25;
}

.hero-now-chip:last-child {
  border-bottom: 0;
}

.hero-now-chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--line-strong);
  transition: background .2s ease, transform .28s var(--ease-out);
}

.hero-now-chip:hover {
  transform: none;
  border-color: var(--line);
  background: color-mix(in srgb, var(--ink) 2.6%, transparent);
}

.hero-now-chip:hover::before {
  background: var(--ink);
  transform: scaleY(1.2);
}

.hero-now-kicker {
  grid-column: 1 / -1;
  color: var(--muted);
  letter-spacing: .13em;
}

.hero-now-chip b {
  grid-column: 1;
  font-size: .875rem;
  font-weight: 720;
  line-height: 1.35;
}

.hero-now-chip time {
  grid-column: 2;
  align-self: end;
  color: var(--soft);
  letter-spacing: .03em;
}

.hero-visual {
  width: min(38vw, 470px);
}

.hero-cosmos {
  isolation: isolate;
}

.hero-cosmos::before {
  inset: 5%;
  border-color: color-mix(in srgb, var(--line-strong) 48%, transparent);
  opacity: .38;
}

.cosmos-halo {
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      color-mix(in srgb, #8b5cf6 11%, transparent) 0,
      color-mix(in srgb, #2f81f7 6%, transparent) 34%,
      transparent 70%);
  filter: blur(2px);
}

.cosmos-starfield {
  position: absolute;
  inset: 4%;
}

.cosmos-starfield i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .42;
}

.cosmos-starfield i:nth-child(1) { left: 8%; top: 28%; }
.cosmos-starfield i:nth-child(2) { left: 18%; top: 69%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(3) { left: 31%; top: 12%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(4) { left: 36%; top: 84%; }
.cosmos-starfield i:nth-child(5) { left: 52%; top: 8%; }
.cosmos-starfield i:nth-child(6) { left: 58%; top: 91%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(7) { left: 72%; top: 18%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(8) { left: 80%; top: 76%; }
.cosmos-starfield i:nth-child(9) { left: 91%; top: 39%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(10) { left: 11%; top: 48%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(11) { left: 68%; top: 58%; width: 2px; height: 2px; }
.cosmos-starfield i:nth-child(12) { left: 42%; top: 24%; width: 2px; height: 2px; }

.cosmos-starfield i:nth-child(1),
.cosmos-starfield i:nth-child(5),
.cosmos-starfield i:nth-child(8) {
  animation: star-breathe 5.8s ease-in-out infinite;
}

.cosmos-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform-origin: center;
}

.orbit-inner {
  width: 32%;
  height: 13%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit-mid {
  width: 51%;
  height: 20%;
  transform: translate(-50%, -50%) rotate(18deg);
}

.orbit-outer {
  width: 70%;
  height: 27%;
  transform: translate(-50%, -50%) rotate(-28deg);
}

.orbit-far {
  width: 88%;
  height: 35%;
  transform: translate(-50%, -50%) rotate(9deg);
  opacity: .58;
}

.planet {
  position: absolute;
  left: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg) 75%, transparent);
}

.planet-gold { background: #d4a72c; }
.planet-cyan { background: #00a7c4; }
.planet-violet { background: #8b5cf6; }
.planet-blue { background: #2f81f7; }

.planet-violet b {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 19px;
  height: 5px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(17deg);
  opacity: .65;
}

.orbit-inner .planet { animation: planet-inner 8.8s linear infinite; }
.orbit-mid .planet { animation: planet-mid 12.6s linear infinite; }
.orbit-outer .planet { animation: planet-outer 17.4s linear infinite; }
.orbit-far .planet { animation: planet-far 23.8s linear infinite; }

.cosmos-core {
  position: relative;
  z-index: 4;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 13px color-mix(in srgb, #d4a72c 10%, transparent),
    0 0 0 26px color-mix(in srgb, #8b5cf6 5%, transparent);
}

.cosmos-core::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid color-mix(in srgb, #d4a72c 55%, var(--line));
  border-radius: 50%;
  animation: core-breathe 5.6s ease-in-out infinite;
}

.cosmos-core span {
  color: var(--bg);
  font-family: var(--display-serif);
  font-size: 1.65rem;
  font-weight: 600;
}

.cosmos-comet {
  position: absolute;
  inset: 7%;
  border: 1px solid transparent;
  border-radius: 50%;
  animation: comet-orbit 14s linear infinite;
}

.cosmos-comet i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #d4a72c;
  box-shadow:
    8px 0 12px color-mix(in srgb, #d4a72c 38%, transparent),
    18px 0 20px color-mix(in srgb, #d4a72c 16%, transparent);
}

.cosmos-label {
  position: absolute;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.label-systems { left: -1%; top: 22%; }
.label-models { right: -1%; top: 28%; }
.label-intelligence { left: 2%; bottom: 20%; }
.label-engineering { right: -3%; bottom: 18%; }

.visual-caption,
.visual-meta,
.visual-scale {
  font-size: .75rem;
}

@keyframes star-breathe {
  0%, 100% { opacity: .22; transform: scale(.8); }
  50% { opacity: .72; transform: scale(1.3); }
}

@keyframes planet-inner {
  from { transform: rotate(0deg) translateX(50%) rotate(0deg); }
  to { transform: rotate(360deg) translateX(50%) rotate(-360deg); }
}

@keyframes planet-mid {
  from { transform: translateX(0); }
  50% { transform: translateX(calc(51% * 4.4)); }
  100% { transform: translateX(0); }
}

@keyframes planet-outer {
  from { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(calc(70% * 3.6)) rotate(180deg); }
  to { transform: translateX(0) rotate(360deg); }
}

@keyframes planet-far {
  from { transform: translateX(0); }
  50% { transform: translateX(calc(88% * 3.3)); }
  to { transform: translateX(0); }
}

@keyframes comet-orbit {
  to { transform: rotate(360deg); }
}

@keyframes core-breathe {
  0%, 100% { transform: scale(.9); opacity: .35; }
  50% { transform: scale(1.1); opacity: .7; }
}

@media (max-width: 760px) {
  .hero-wordmark {
    font-family: var(--display-serif);
    font-size: clamp(4.7rem, 19vw, 7.4rem);
    letter-spacing: -.035em;
  }

  .hero-visual {
    width: min(88vw, 430px);
  }

  .hero-now-chip {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-left: 16px;
  }

  .cosmos-label {
    font-size: .75rem;
  }
}

@media (max-width: 480px) {
  .hero-wordmark {
    font-size: 18.2vw;
    letter-spacing: -.038em;
  }

  .hero-cosmos {
    width: min(88vw, 390px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cosmos-starfield i,
  .planet,
  .cosmos-comet,
  .cosmos-core::before {
    animation: none !important;
  }
}


/* V13.1 — complete readable-caption pass and physically coherent orbit motion */
.project-state,
.footer,
.palette-top,
kbd,
.visual-meta,
.lang-button,
.axis-title > span,
.axis-question > span,
.method-loop,
.trace,
.map-corner span,
.map-domain-head span,
.map-project-label span,
.map-corner b,
.domain-axes > span,
.domain-project-count,
.archive-stack span::before,
.archive-metrics i,
.project-code b {
  font-size: .75rem;
}

@media (max-width: 760px) {
  .hero-name,
  .visual-caption,
  .project-meta,
  .footer {
    font-size: .75rem;
  }
}

@media (max-width: 680px) {
  .domain > em,
  .domain-axes > span,
  .domain-project-count {
    font-size: .75rem;
  }
}

.orbit-inner {
  animation: cosmos-orbit-inner 8.8s linear infinite;
}
.orbit-mid {
  animation: cosmos-orbit-mid 12.6s linear infinite reverse;
}
.orbit-outer {
  animation: cosmos-orbit-outer 17.4s linear infinite;
}
.orbit-far {
  animation: cosmos-orbit-far 23.8s linear infinite reverse;
}

.orbit-inner .planet,
.orbit-mid .planet,
.orbit-outer .planet,
.orbit-far .planet {
  animation: planet-pulse 3.8s ease-in-out infinite;
}

@keyframes cosmos-orbit-inner {
  from { transform: translate(-50%, -50%) rotate(-12deg); }
  to { transform: translate(-50%, -50%) rotate(348deg); }
}
@keyframes cosmos-orbit-mid {
  from { transform: translate(-50%, -50%) rotate(18deg); }
  to { transform: translate(-50%, -50%) rotate(378deg); }
}
@keyframes cosmos-orbit-outer {
  from { transform: translate(-50%, -50%) rotate(-28deg); }
  to { transform: translate(-50%, -50%) rotate(332deg); }
}
@keyframes cosmos-orbit-far {
  from { transform: translate(-50%, -50%) rotate(9deg); }
  to { transform: translate(-50%, -50%) rotate(369deg); }
}
@keyframes planet-pulse {
  0%, 100% { scale: .9; opacity: .76; }
  50% { scale: 1.18; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cosmos-orbit {
    animation: none !important;
  }
}
