:root {
  color-scheme: dark;
  --void: #050403;
  --indigo: #0b0906;
  --raised: #151007;
  --text: #f7f3ea;
  --muted: #b9b0a1;
  --accent: #C28221;
  --accent-deep: #322712;
  --hairline: rgba(194, 130, 33, 0.18);
  --hairline-strong: rgba(194, 130, 33, 0.34);
  --display: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1.5rem, 4.5vw, 4rem);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--void);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(194, 130, 33, 0.24);
  color: var(--text);
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--void);
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(75rem, calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.line-icon {
  flex: 0 0 24px;
  color: var(--accent);
}

.neural-atmosphere {
  position: fixed;

  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.neural-canvas,
.neural-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.neural-canvas {
  display: block;
  opacity: 0.92;
}

.neural-fallback {
  color: var(--accent);
  opacity: 0.88;
  animation: field-drift 34s ease-in-out infinite alternate;
  transition: opacity 240ms ease;
}

.canvas-neural-ready .neural-fallback { opacity: 0; }

.field-lines {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.28;
}

.field-nodes {
  fill: currentColor;
  opacity: 0.52;
}

.field-warm {
  fill: var(--accent);
  opacity: 0.72;
  filter: drop-shadow(0 0 8px rgba(194, 130, 33, 0.68));
}

.site-header {
  position: absolute;

  inset: 0 0 auto;
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--hairline);
}

.brand,
.desktop-nav a,
.mobile-nav {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: 650 0.69rem/1 var(--mono);
  letter-spacing: 0.17em;
  text-decoration: none;
}

.brand {
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.brand-mark {
  position: relative;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(194, 130, 33, 0.65);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -0.08rem;
  right: 0.02rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.8rem rgba(194, 130, 33, 0.7);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.desktop-nav a,
.mobile-nav {
  color: var(--muted);
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav:hover { color: var(--text); }

.mobile-nav { display: none; }

main,
.site-footer {
  position: relative;

}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(56.25rem, 100svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  background: radial-gradient(circle at 78% 42%, var(--accent-deep), var(--indigo) 54%);
}

.hero-art,
.hero-art picture,
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {

  background: linear-gradient(135deg, var(--accent-deep), var(--indigo) 58%);
}

.hero-art img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.03);
  animation: orbital-drift 22s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;

  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.98) 0%, rgba(5, 4, 3, 0.89) 32%, rgba(5, 4, 3, 0.44) 56%, rgba(5, 4, 3, 0.08) 78%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.5), transparent 27%, transparent 75%, rgba(5, 4, 3, 0.7));
}

.hero-layout {
  width: min(75rem, calc(100% - (2 * var(--gutter))));
  padding-block: clamp(7rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.section-label {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font: 650 0.7rem/1.3 var(--mono);
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.gardener h2,
.creator h2 {
  font-family: var(--display);
  font-weight: 500;
  text-wrap: balance;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 8.8vw, 7.75rem);
  line-height: 0.92;
  letter-spacing: -0.062em;
}

.hero-lede {
  max-width: 38rem;
  margin: clamp(1.75rem, 4vh, 2.75rem) 0 0;
  color: #ded7cc;
  font-size: clamp(1.06rem, 1.55vw, 1.2rem);
  line-height: 1.6;
}

.hero-attribution {
  margin: 1.25rem 0 0;
  color: var(--accent);
  font: 600 0.78rem/1.4 var(--mono);
  letter-spacing: 0.11em;
}

.primary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(245, 247, 255, 0.52);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5, 4, 3, 0.68), var(--accent-deep));
  font: 650 0.72rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease;
}

.primary-link span {
  color: var(--accent);
  transition: transform 180ms ease;
}

.primary-link:hover {
  border-color: var(--accent);
  background: rgba(194, 130, 33, 0.07);
}

.primary-link:hover span { transform: translateY(3px); }

.section { padding-block: clamp(5rem, 10vw, 9rem); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(18rem, 1.35fr);
  column-gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.section-heading .section-label {
  grid-row: span 2;
  margin-top: 0.65rem;
}

.section-heading h2,
.gardener h2,
.creator h2 {
  margin: 0;
  font-size: clamp(2.75rem, 5.4vw, 4.65rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.section-heading > p:last-child {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
}

.role {
  background:
    radial-gradient(circle at 12% 50%, rgba(194, 130, 33, 0.055), transparent 24rem),
    rgba(5, 4, 3, 0.72);
}

.orchestration {
  position: relative;
  min-height: 29rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.flow-lines {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 22.5rem;
  overflow: visible;
  pointer-events: none;
}

.flow-lines-mobile { display: none; }

.flow-path {
  stroke: rgba(194, 130, 33, 0.46);
  stroke-width: 1.5;
}

.flow-path + .flow-path { stroke-width: 1.35; }

.branch-path {
  stroke: rgba(194, 130, 33, 0.52);
  stroke-width: 1.25;
  stroke-dasharray: 6 7;
}

.flow-lines marker path { fill: rgba(194, 130, 33, 0.62); }
.flow-lines marker[id^="branch"] path { fill: var(--accent); }

.flow-nodes {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.75rem;
  margin: 0;
  padding: 0;
}

.flow-node {
  position: relative;
  min-width: 0;
  min-height: 10.9rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.65rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(11, 9, 6, 0.98), var(--accent-deep));
}

.flow-node h3,
.subtask-heading,
.roster-item h3,
.method-rail h3,
.care-step strong {
  margin: 0;
  color: var(--text);
  font: 650 0.7rem/1.4 var(--mono);
  letter-spacing: 0.12em;
}

.flow-node p,
.roster-item p,
.method-rail p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.node-axion { border-color: rgba(194, 130, 33, 0.5); }

.subtasks {
  position: absolute;
  top: 13.8rem;
  left: 50%;
  width: 13rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
}

.subtask-heading {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  white-space: nowrap;
}

.subtask-leaf {
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(194, 130, 33, 0.7);
  border-radius: 50%;
  background: var(--raised);
}

.branch-explanation {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  max-width: 52rem;
  margin: 0;
  padding-left: 1.1rem;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  font-size: 0.92rem;
}

.team { background: linear-gradient(180deg, rgba(11, 9, 6, 0.9), rgba(50, 39, 18, 0.88) 160%); }

.roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.roster-item {
  min-height: 12rem;
  padding: 2rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.roster-item .line-icon { margin-bottom: 1.25rem; }
.roster-item p { max-width: 26rem; line-height: 1.6; }

.gardener {
  position: relative;
  background: rgba(5, 4, 3, 0.9);
}

.gardener-band {
  position: relative;
  min-height: 31rem;
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(25rem, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(3rem, 7vw, 5rem);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(115deg, rgba(21, 16, 7, 0.93), rgba(11, 9, 6, 0.54)),
    var(--accent-deep);
}

.gardener-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.gardener-kicker .section-label { margin: 0; }

.gardener-copy > p:last-child {
  max-width: 35rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.care-loop {
  position: relative;
  min-height: 22rem;
}

.care-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.care-path > path {
  stroke: rgba(194, 130, 33, 0.28);
  stroke-width: 1.3;
}

.care-path marker path { fill: var(--accent); }

.care-path > path {
  stroke-dasharray: 12 10;
  animation: care-route 5.2s linear infinite;
}

.care-core {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 7.25rem;
  min-height: 4rem;
  display: grid;
  place-content: center;
  gap: 0.25rem;
  border: 1px solid rgba(194, 130, 33, 0.42);
  border-radius: 999px;
  background: rgba(5, 4, 3, 0.78);
  box-shadow: 0 0 2rem rgba(194, 130, 33, 0.08);
  text-align: center;
  transform: translate(-50%, -50%);
}

.care-core strong {
  color: var(--accent);
  font: 700 0.82rem/1 var(--mono);
  letter-spacing: 0.16em;
}

.care-core span {
  color: var(--muted);
  font: 650 0.5rem/1.2 var(--mono);
  letter-spacing: 0.11em;
}

.care-loop ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-step {
  position: absolute;
  width: 9.8rem;
  min-height: 5.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 0.5rem;
  background: linear-gradient(145deg, rgba(11, 9, 6, 0.98), var(--accent-deep));
  animation: care-signal 5.2s ease-in-out infinite;
}

.care-step strong { color: var(--accent); }

.care-step span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.35;
}

.care-observe { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.care-tend { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1.3s; }
.care-verify { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 2.6s; }
.care-repeat { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 3.9s; }

.tech {
  background:
    radial-gradient(circle at 86% 62%, rgba(194, 130, 33, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(11, 9, 6, 0.80), rgba(50, 39, 18, 0.78) 175%);
}

.tech-layout { display: grid; gap: clamp(4rem, 8vw, 7rem); }

.tech-intro {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.tech .section-heading { display: block; }
.tech .section-heading .section-label { margin-top: 0; }

.tech-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.16rem);
}

.tech-copy p { margin: 0; }
.tech-copy p + p { margin-top: 1.2rem; }

.method-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.method-rail li {
  min-height: 9.4rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.65rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.method-rail p { font-size: 0.94rem; line-height: 1.5; }

.creator {
  position: relative;
  overflow: hidden;
  min-height: min(49rem, 88svh);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 68% 48%, rgba(194, 130, 33, 0.11), transparent 25rem),
    linear-gradient(145deg, rgba(5, 4, 3, 0.9), rgba(50, 39, 18, 0.86) 170%);
}

.creator::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -10rem;
  width: min(58vw, 44rem);
  aspect-ratio: 1;
  border: 1px solid rgba(194, 130, 33, 0.1);
  border-radius: 50%;
  transform: translateY(-50%);
}

.creator-inner {
  position: relative;
  z-index: 1;
}

.creator h2 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 7.5vw, 7rem);
}

.creator-support {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.45vw, 1.18rem);
}

.creator-attribution {
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  color: var(--accent);
  font: 600 clamp(0.82rem, 1.2vw, 0.96rem)/1.5 var(--mono);
  letter-spacing: 0.09em;
}

.site-footer { background: var(--void); }

.footer-inner {
  min-height: 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font: 600 0.68rem/1.4 var(--mono);
  letter-spacing: 0.11em;
}

.footer-brand {
  color: var(--text);
  letter-spacing: 0.2em;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease-out, transform 260ms ease-out;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.motion-ready .orchestration.is-pending .flow-path,
.motion-ready .orchestration.is-pending .branch-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.motion-ready .orchestration.is-pending .flow-node,
.motion-ready .orchestration.is-pending .subtasks {
  opacity: 0;
  transform: translateY(4px);
}

.motion-ready .orchestration.is-pending .subtasks { transform: translate(-50%, 4px); }

.orchestration.is-playing .path-1 { animation: trace-line 280ms ease-out 20ms both; }
.orchestration.is-playing .node-input { animation: enter-node 220ms ease-out 180ms both; }
.orchestration.is-playing .path-2 { animation: trace-line 280ms ease-out 300ms both; }
.orchestration.is-playing .node-axion { animation: enter-node 220ms ease-out 460ms both; }
.orchestration.is-playing .path-3 { animation: trace-line 300ms ease-out 620ms both; }
.orchestration.is-playing .node-specialist { animation: enter-node 240ms ease-out 800ms both; }
.orchestration.is-playing .branch-down { animation: trace-branch 240ms ease-out 980ms both; }
.orchestration.is-playing .branch-leaves { animation: trace-branch 240ms ease-out 1120ms both; }
.orchestration.is-playing .subtasks { animation: enter-subtasks 220ms ease-out 1200ms both; }
.orchestration.is-playing .branch-return { animation: trace-branch 320ms ease-out 1380ms both; }
.orchestration.is-playing .node-result { animation: enter-node 280ms ease-out 1620ms both; }

@keyframes orbital-drift {
  from { transform: translate3d(-2px, -2px, 0) rotate(-0.2deg) scale(1.006); }
  to { transform: translate3d(3px, 3px, 0) rotate(0.2deg) scale(1.012); }
}

@keyframes field-drift {
  from { transform: translate3d(-1px, -1px, 0); opacity: 0.82; }
  to { transform: translate3d(2px, 2px, 0); opacity: 1; }
}

@keyframes care-route {
  to { stroke-dashoffset: -44; }
}

@keyframes care-signal {
  0%, 22%, 100% { border-color: var(--hairline-strong); box-shadow: none; transform-origin: center; }
  5%, 16% { border-color: rgba(244, 188, 92, 0.88); box-shadow: 0 0 0 3px rgba(194, 130, 33, 0.08), 0 0 1.5rem rgba(194, 130, 33, 0.16); }
}

@keyframes system-gardener-route {
  to { stroke-dashoffset: -1; }
}

@keyframes trace-line {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; }
}

@keyframes trace-branch {
  from { stroke-dasharray: 0.01 0.99; stroke-dashoffset: 1; opacity: 0; }
  to { stroke-dasharray: 0.04 0.035; stroke-dashoffset: 0; opacity: 1; }
}

@keyframes enter-node {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes enter-subtasks {
  from { opacity: 0; transform: translate(-50%, 4px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal-ready .reveal,
  .motion-ready .orchestration.is-pending .flow-node,
  .motion-ready .orchestration.is-pending .subtasks {
    opacity: 1;
    transform: none;
  }

  .motion-ready .orchestration.is-pending .subtasks { transform: translateX(-50%); }

  .motion-ready .orchestration.is-pending .flow-path,
  .motion-ready .orchestration.is-pending .branch-path {
    stroke-dasharray: revert;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* ==========================================================================
   Axis One motion layer — launch, global nodes, interactive surfaces
   ========================================================================== */
.launch-screen {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(194, 130, 33, 0.13), transparent 28rem),
    #050403;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.launch-screen::before,
.launch-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.launch-screen::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(194, 130, 33, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 130, 33, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(700px) rotateX(58deg) scale(1.7) translateY(18%);
  transform-origin: 50% 70%;
  animation: launch-grid 1.8s ease-out both;
}

.launch-screen::after {
  background: linear-gradient(90deg, transparent 0 49.94%, rgba(224, 158, 55, 0.9) 50%, transparent 50.06%);
  transform: scaleY(0);
  animation: launch-seam 1.25s 160ms cubic-bezier(.2,.75,.2,1) both;
}

.launch-mark {
  position: relative;
  width: min(34rem, 82vw);
  height: clamp(9rem, 25vw, 15rem);
  overflow: hidden;
  filter: drop-shadow(0 0 2.4rem rgba(194, 130, 33, 0.22));
  animation: launch-mark-in 900ms 180ms cubic-bezier(.16,.82,.26,1) both;
}

.launch-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
}

.launch-scan {
  position: absolute;
  inset: 0 auto 0 -20%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 219, 146, 0.28), transparent);
  transform: skewX(-12deg);
  animation: launch-scan 1.15s 280ms ease-in-out both;
}

.launch-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: rgba(247, 243, 234, 0.46);
  font: 650 0.6rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: launch-status-in 500ms 520ms ease both;
}

.launch-status i {
  width: 4.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(194, 130, 33, 0.18);
}

.launch-status i::after {
  content: "";
  display: block;
  width: 48%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 0.8rem rgba(194, 130, 33, 0.8);
  animation: launch-progress 1s 520ms ease-in-out both;
}

.launch-complete .launch-screen { opacity: 0; visibility: hidden; pointer-events: none; }
.no-js .launch-screen { display: none; }

.scroll-progress {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: rgba(194, 130, 33, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #80500e, #f0bd5b);
  box-shadow: 0 0 1rem rgba(194, 130, 33, 0.74);
  transform: scaleX(0);
  transform-origin: left center;
}

.global-neural {
  z-index: 0;
  opacity: 0.56;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 35%, rgba(194, 130, 33, 0.055), transparent 48%);
}

main,
.site-footer { z-index: 3; }
.site-header { z-index: 50; }

.brand-axis {
  position: relative;
  width: clamp(9.5rem, 14vw, 12.5rem);
  height: 3.35rem;
  overflow: hidden;
}

.brand-axis img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112% !important;
  max-width: none;
  transform: translate(-50%, -50%);
  transition: filter 250ms ease, transform 250ms ease;
}

.brand-axis:hover img {
  filter: brightness(1.18) drop-shadow(0 0 0.8rem rgba(194, 130, 33, 0.35));
  transform: translate(-50%, -50%) scale(1.025);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(5, 4, 3, 0.76);
  border-bottom: 1px solid rgba(194, 130, 33, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: header-drop 320ms ease both;
}

.site-header.is-scrolled .header-inner { min-height: 4.25rem; border-bottom-color: transparent; }

.btn,
.desktop-nav a,
.lang button { position: relative; overflow: hidden; }

.btn::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-17deg);
  transition: left 620ms ease;
}

.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(0) scale(0.985); }

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.axion-profile-card {
  position: absolute;
  z-index: 5;
  right: max(var(--gutter), calc((100vw - 75rem) / 2));
  bottom: clamp(2rem, 5vh, 4rem);
  display: grid;
  grid-template-columns: 3.8rem auto 0.5rem;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  border: 1px solid rgba(194, 130, 33, 0.34);
  background: rgba(5, 4, 3, 0.62);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: profile-float 5s ease-in-out infinite;
}

.axion-profile-card img {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(240, 189, 91, 0.55);
  box-shadow: 0 0 1.5rem rgba(194, 130, 33, 0.2);
}

.axion-profile-card span { display: grid; gap: 0.26rem; }
.axion-profile-card b { color: var(--text); font: 700 0.7rem/1 var(--mono); letter-spacing: 0.14em; }
.axion-profile-card small { color: var(--muted); font: 600 0.54rem/1 var(--mono); letter-spacing: 0.1em; }
.axion-profile-card > i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0.8rem var(--accent); animation: axion-status 1.8s ease-in-out infinite; }

.fleet .glyph {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194, 130, 33, 0.28);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(194, 130, 33, 0.04);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.fleet .glyph .line-icon { width: 1.25rem; height: 1.25rem; margin: 0; }
.fleet article:hover .glyph { transform: rotate(-4deg) scale(1.06); border-color: rgba(194,130,33,.7); box-shadow: 0 0 1.5rem rgba(194,130,33,.16); }

.interactive-card,
.ax-card,
.ax-flow article,
.directives article,
.verdicts article {
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(.2,.75,.2,1), background 260ms ease, border-color 260ms ease;
}

/* Cortex — one clear animated control surface instead of mode cards. */
.cortex-console {
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(20rem, 1.18fr);
  gap: 1px;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  border: 1px solid var(--hairline-strong);
  background: var(--hairline);
  overflow: hidden;
}

.cortex-radar,
.cortex-trace {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: rgba(8, 6, 4, 0.94);
}

.cortex-radar { display: grid; place-content: center; text-align: center; }
.cortex-radar::before,
.cortex-radar::after { content: ""; position: absolute; inset: 50% auto auto 50%; background: rgba(194,130,33,.14); transform: translate(-50%,-50%); }
.cortex-radar::before { width: 1px; height: 82%; }
.cortex-radar::after { width: 82%; height: 1px; }
.cortex-radar strong { z-index: 2; color: var(--text); font: 700 1rem/1 var(--mono); letter-spacing: .18em; }
.cortex-radar small { z-index: 2; margin-top: .55rem; color: var(--accent); font: 600 .55rem/1 var(--mono); letter-spacing: .14em; }
.radar-ring { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(194,130,33,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.ring-a { width: 7rem; height: 7rem; }
.ring-b { width: 12rem; height: 12rem; }
.ring-c { width: 18rem; height: 18rem; }
.radar-sweep { position: absolute; inset: 50% 50% auto auto; width: 9rem; height: 9rem; transform-origin: 100% 100%; background: conic-gradient(from 270deg at 100% 100%, rgba(240,189,91,.32), transparent 24%); animation: radar-sweep 4.2s linear infinite; }
.radar-node { position: absolute; width: .42rem; height: .42rem; border-radius: 50%; background: #f0bd5b; box-shadow: 0 0 1rem #c28221; animation: radar-node 2.2s ease-in-out infinite; }
.rn-1 { left: 28%; top: 32%; }
.rn-2 { right: 24%; top: 45%; animation-delay: -.7s; }
.rn-3 { left: 44%; bottom: 20%; animation-delay: -1.2s; }

.cortex-trace { display: grid; align-content: center; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 3rem); }
.cortex-trace p { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin: 0; color: var(--muted); font: 650 .66rem/1 var(--mono); letter-spacing: .14em; }
.cortex-trace p i { height: 1px; overflow: hidden; background: rgba(194,130,33,.16); }
.cortex-trace p i::after { content: ""; display: block; width: 45%; height: 100%; background: var(--accent); animation: trace-run 2.8s ease-in-out infinite; }
.cortex-trace p:nth-child(2) i::after { animation-delay: -.8s; }
.cortex-trace p:nth-child(3) i::after { animation-delay: -1.6s; }
.cortex-trace p b { color: rgba(247,243,234,.28); font-weight: 500; }
.trace-wave { height: 5.5rem; margin-top: .75rem; overflow: hidden; border-block: 1px solid rgba(194,130,33,.1); background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(194,130,33,.055) 15px 16px); }
.trace-wave span { display: block; width: 140%; height: 100%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 100'%3E%3Cpath d='M0 50h80l12-30 18 62 20-32h74l14-12 13 24 18-12h70l15-38 17 76 20-38h92l18-20 20 40 18-20h90' fill='none' stroke='%23c28221' stroke-width='2'/%3E%3C/svg%3E") center/auto 100% repeat-x; filter: drop-shadow(0 0 .4rem rgba(194,130,33,.6)); animation: wave-slide 6s linear infinite; }

/* Contin — a living memory graph / dreaming brain. */
.contin-layout { display: grid; grid-template-columns: minmax(22rem, 1.08fr) minmax(18rem, .92fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.memory-brain { position: relative; min-height: clamp(27rem, 48vw, 37rem); display: grid; place-items: center; }
.memory-brain::before { content: ""; position: absolute; inset: 10% 6%; border: 1px solid rgba(194,130,33,.12); border-radius: 50%; filter: blur(.2px); }
.brain-map { position: relative; z-index: 2; width: min(100%, 38rem); height: auto; overflow: visible; filter: drop-shadow(0 0 1.4rem rgba(194,130,33,.16)); }
.brain-links { fill: none; stroke: rgba(194,130,33,.48); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 8; animation: brain-flow 9s linear infinite; }
.brain-nodes { fill: #c28221; }
.brain-nodes circle { transform-box: fill-box; transform-origin: center; animation: memory-spark 3s ease-in-out infinite; }
.brain-nodes circle:nth-child(3n) { animation-delay: -1s; }
.brain-nodes circle:nth-child(3n+2) { animation-delay: -2s; }
.brain-core { position: absolute; z-index: 3; display: grid; place-content: center; gap: .5rem; width: 8rem; height: 8rem; border: 1px solid rgba(240,189,91,.42); border-radius: 50%; background: radial-gradient(circle, rgba(50,39,18,.94), rgba(5,4,3,.92)); box-shadow: 0 0 3rem rgba(194,130,33,.24), inset 0 0 2rem rgba(194,130,33,.1); text-align: center; }
.brain-core strong { color: var(--text); font: 700 .85rem/1 var(--mono); letter-spacing: .16em; }
.brain-core span { color: var(--accent); font: 650 .56rem/1 var(--mono); letter-spacing: .13em; animation: dreaming-text 2.4s ease-in-out infinite; }
.brain-halo { position: absolute; border-radius: 50%; border: 1px solid rgba(194,130,33,.14); }
.halo-a { width: 68%; aspect-ratio: 1; animation: halo-turn 24s linear infinite; }
.halo-b { width: 88%; aspect-ratio: 1; border-style: dashed; animation: halo-turn 36s linear reverse infinite; }
.memory-chip { position: absolute; z-index: 4; padding: .4rem .65rem; border: 1px solid rgba(194,130,33,.24); background: rgba(5,4,3,.76); color: var(--muted); font: 650 .54rem/1 var(--mono); letter-spacing: .12em; backdrop-filter: blur(8px); }
.chip-1 { left: 3%; top: 24%; }
.chip-2 { right: 4%; top: 20%; }
.chip-3 { right: 1%; bottom: 24%; }
.chip-4 { left: 5%; bottom: 20%; }
.contin-copy { max-width: 34rem; }
.dream-sequence { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: .75rem; margin-top: 2.2rem; }
.dream-sequence span { display: grid; gap: .35rem; }
.dream-sequence b { color: var(--accent); font: 700 .58rem/1 var(--mono); }
.dream-sequence em { color: var(--muted); font: 650 .53rem/1 var(--mono); letter-spacing: .1em; font-style: normal; }
.dream-sequence > i { height: 1px; min-width: 1rem; background: linear-gradient(90deg, rgba(194,130,33,.12), var(--accent), rgba(194,130,33,.12)); background-size: 200% 100%; animation: sequence-run 2.2s linear infinite; }

/* Gardener — show the recurring loop and its operating boundary at a glance. */
.gardener-band { overflow: hidden; box-shadow: inset 0 0 6rem rgba(194,130,33,.035); }
.gardener-band::before { content: ""; position: absolute; inset: -40% -10%; pointer-events: none; background: radial-gradient(circle at 78% 50%, rgba(194,130,33,.11), transparent 28rem); animation: gardener-breathe 7s ease-in-out infinite; }
.care-loop { min-height: 28rem; }
.care-loop::before,
.care-loop::after { content: ""; position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(194,130,33,.1); border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.care-loop::before { width: 12rem; height: 12rem; animation: care-orbit 18s linear infinite; }
.care-loop::after { width: 16rem; height: 16rem; border-style: dashed; animation: care-orbit 25s linear reverse infinite; }
.care-step { z-index: 2; backdrop-filter: blur(10px); transition: border-color 240ms ease, box-shadow 240ms ease; }
.care-step:hover { border-color: rgba(240,189,91,.72); box-shadow: 0 0 2rem rgba(194,130,33,.12); }
.care-core { z-index: 3; }
.care-activity { position: absolute; z-index: 4; inset: auto 0 -1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(194,130,33,.18); background: rgba(194,130,33,.12); }
.care-activity span { display: grid; grid-template-columns: .45rem 1fr; gap: .35rem .6rem; align-items: center; padding: .65rem .75rem; background: rgba(5,4,3,.92); }
.care-activity i { grid-row: 1 / span 2; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 .7rem rgba(194,130,33,.7); animation: care-light 2.4s ease-in-out infinite; }
.care-activity b { color: var(--text); font: 650 .48rem/1 var(--mono); letter-spacing: .08em; }
.care-activity small { color: rgba(247,243,234,.36); font: 550 .44rem/1 var(--mono); letter-spacing: .06em; }
.care-activity span:nth-child(2) i { animation-delay: -.8s; }
.care-activity span:nth-child(3) i { animation-delay: -1.6s; }

@keyframes launch-grid { from { opacity: 0; transform: perspective(700px) rotateX(72deg) scale(2.4) translateY(28%); } to { opacity: .28; } }
@keyframes launch-seam { 0% { transform: scaleY(0); opacity: 0; } 42% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.08); opacity: 0; } }
@keyframes launch-mark-in { from { opacity: 0; clip-path: inset(48% 0 48% 0); transform: scale(.96); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes launch-scan { from { left: -20%; opacity: 0; } 25% { opacity: 1; } to { left: 112%; opacity: 0; } }
@keyframes launch-status-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@keyframes launch-progress { from { transform: translateX(-110%); } to { transform: translateX(215%); } }
@keyframes header-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes profile-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes axion-status { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes radar-node { 0%,100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes trace-run { 0% { transform: translateX(-110%); } 55%,100% { transform: translateX(230%); } }
@keyframes wave-slide { to { transform: translateX(-42.8%); } }
@keyframes brain-flow { to { stroke-dashoffset: -140; } }
@keyframes memory-spark { 0%,100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.5); filter: drop-shadow(0 0 .5rem #c28221); } }
@keyframes halo-turn { to { transform: rotate(360deg); } }
@keyframes dreaming-text { 0%,100% { opacity: .35; } 50% { opacity: 1; text-shadow: 0 0 .8rem #c28221; } }
@keyframes sequence-run { to { background-position: -200% 0; } }
@keyframes gardener-breathe { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes care-orbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes care-light { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

@media (max-width: 900px) {
  .axion-profile-card { right: var(--gutter); }
  .cortex-console { grid-template-columns: 1fr; }
  .cortex-radar { min-height: 19rem; }
  .cortex-trace { min-height: 17rem; }
  .contin-layout { grid-template-columns: 1fr; }
  .contin-copy { max-width: 46rem; }
  .memory-brain { order: 2; min-height: 30rem; }
}

@media (max-width: 680px) {
  .launch-mark { width: 92vw; height: 10rem; }
  .launch-status { gap: .55rem; font-size: .48rem; letter-spacing: .1em; }
  .launch-status i { width: 2.5rem; }
  .brand-axis { width: 8.8rem; height: 2.9rem; }
  .site-header.is-scrolled .header-inner { min-height: calc(4.2rem + env(safe-area-inset-top)); }
  .axion-profile-card { right: var(--gutter); bottom: calc(1.25rem + env(safe-area-inset-bottom)); grid-template-columns: 2.85rem auto .4rem; padding: .5rem .65rem .5rem .5rem; }
  .axion-profile-card img { width: 2.85rem; height: 2.85rem; }
  .axion-profile-card b { font-size: .6rem; }
  .axion-profile-card small { font-size: .46rem; }
  .global-neural { opacity: .38; }
  .cortex-radar, .cortex-trace { min-height: 16rem; }
  .ring-c { width: 14rem; height: 14rem; }
  .radar-sweep { width: 7rem; height: 7rem; }
  .contin-layout { gap: 1.5rem; }
  .memory-brain { min-height: 24rem; }
  .brain-core { width: 6.5rem; height: 6.5rem; }
  .memory-chip { font-size: .45rem; }
  .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { right: 0; } .chip-4 { left: 0; }
  .dream-sequence { grid-template-columns: repeat(4, 1fr); gap: .45rem; }
  .dream-sequence > i { display: none; }
  .care-loop { min-height: 0; padding-bottom: 7.5rem; }
  .care-activity { inset: auto 0 0; grid-template-columns: 1fr; }
  .care-activity span { min-height: 2.25rem; }
  .care-loop::before, .care-loop::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-screen { display: none; }
  .radar-sweep,
  .radar-node,
  .cortex-trace p i::after,
  .trace-wave span,
  .brain-links,
  .brain-nodes circle,
  .brain-halo,
  .brain-core span,
  .dream-sequence > i,
  .gardener-band::before,
  .care-loop::before,
  .care-loop::after,
  .care-activity i,
  .axion-profile-card { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  .motion-ready .orchestration.is-pending .subtasks { transform: none; }
}


/* AXION V8: isolated scene contract, inverse vault and local hero activity */
.neural-atmosphere {
  z-index: 0;
  opacity: 1;
}

.neural-canvas { opacity: 0.92; pointer-events: none; }

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header { z-index: 10; }

.hero,
.section,
.site-footer {
  position: relative;
  isolation: isolate;
}

.hero {
  z-index: 0;
  perspective: 1100px;
}

.hero-mascot-reveal,
.hero-mascot-parallax,
.hero-art,
.hero-art picture,
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-mascot-reveal { z-index: 0; }

.hero-mascot-parallax {
  transform-style: preserve-3d;
  transform-origin: 70% 46%;
}

.hero-mascot-parallax.is-pointer-active { will-change: transform; }

.hero-art {
  z-index: 0;
  background: linear-gradient(135deg, var(--accent-deep), var(--indigo) 58%);
}

.hero-neural {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.96;
}

.hero-neural-canvas,
.hero-neural-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-neural-canvas { display: block; pointer-events: none; }

.hero-neural-fallback {
  color: var(--accent);
  opacity: 0.84;
  transition: opacity 180ms ease;
}

.hero-neural-fallback path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.52;
}

.hero-neural-fallback circle {
  fill: currentColor;
  opacity: 0.88;
}

.canvas-hero-ready .hero-neural-fallback { opacity: 0; }

.hero-veil {
  position: absolute;
  z-index: 2;
}

.hero-layout {
  position: relative;
  z-index: 3;
}

.section { z-index: 0; }

.section:not(.creator)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: rgba(5, 4, 3, 0.22);
}

.creator::before { z-index: 0; }

.section > .shell,
.creator-inner,
.footer-inner {
  position: relative;
  z-index: 1;
}

.hero-assembly {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.hero-intro-active .hero-assembly { display: block; }
.hero-intro-settled .hero-assembly { display: none; }

.assembly-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.995), rgba(50, 39, 18, 0.97)),
    var(--void);
  opacity: 1;
  will-change: transform, opacity;
}

.assembly-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(194, 130, 33, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 130, 33, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.assembly-left {
  left: 0;
  transform: translate3d(-102%, 0, 0);
}

.assembly-right {
  right: 0;
  transform: translate3d(102%, 0, 0);
}

.assembly-seam {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  opacity: 0;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(194, 130, 33, 0.78);
  transform: translateX(-50%);
}

.hero-intro-closing .assembly-left {
  animation: vault-close-left 330ms cubic-bezier(.72, 0, .18, 1) both;
}

.hero-intro-closing .assembly-right {
  animation: vault-close-right 330ms cubic-bezier(.72, 0, .18, 1) both;
}

.hero-intro-sealed .assembly-panel { transform: translate3d(0, 0, 0); }
.hero-intro-sealed .assembly-seam { opacity: 1; }

.hero-intro-reveal .assembly-left {
  animation: vault-clear-left 130ms cubic-bezier(.16, .82, .26, 1) both;
}

.hero-intro-reveal .assembly-right {
  animation: vault-clear-right 130ms cubic-bezier(.16, .82, .26, 1) both;
}

.hero-intro-reveal .assembly-seam {
  animation: seam-clear 130ms ease-out both;
}

.js.hero-intro-active .hero-mascot-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.js.hero-intro-art .hero-mascot-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(.16, .82, .26, 1);
}

.js.hero-intro-active .hero-copy {
  opacity: 0;
  transform: translate3d(-12px, 8px, 0);
}

.js.hero-intro-copy .hero-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 310ms ease, transform 310ms cubic-bezier(.16, .82, .26, 1);
}

.system-axion .system-title { letter-spacing: .14em; }
.system-team .system-title { letter-spacing: .12em; }
.system-gardener .system-title { letter-spacing: .12em; }
.system-subtasks .system-title { font-size: 20px; letter-spacing: .10em; }
.system-result .system-title { font-size: 19px; letter-spacing: .09em; }
.system-title-tracked { text-anchor: middle; }

.system {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(194, 130, 33, 0.075), transparent 34rem),
    linear-gradient(180deg, rgba(5, 4, 3, 0.78), rgba(11, 9, 6, 0.74));
}

.system-map {
  position: relative;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(1rem, 2.8vw, 2rem);
  border: 1px solid var(--hairline);
  border-radius: 0.8rem;
  background: rgba(5, 4, 3, 0.76);
  overflow: hidden;
}

.system-diagram {
  width: 100%;
  height: auto;
  display: block;
  color: var(--text);
}

.system-connectors { pointer-events: none; }

.system-edge {
  stroke: rgba(194, 130, 33, 0.64);
  stroke-width: 2;
  fill: none;
}

.system-edge-muted {
  stroke: rgba(185, 176, 161, 0.38);
  stroke-dasharray: 7 8;
}

#system-arrow path { fill: var(--accent); }
#system-arrow-muted path { fill: var(--muted); }

.system-edge-labels text {
  fill: var(--accent);
  font: 650 13px/1 var(--mono);
  letter-spacing: 1.2px;
}

.system-card rect {
  fill: #0b0906;
  stroke: rgba(194, 130, 33, 0.36);
  stroke-width: 1.5;
}

.system-person rect,
.system-foundation rect {
  fill: #151007;
}

.system-axion rect {
  fill: #322712;
  stroke: #C28221;
  stroke-width: 2;
}

.system-gardener rect {
  fill: #151007;
  stroke-dasharray: 7 6;
}

.system-gardener .system-gardener-route {
  fill: none;
  stroke: rgba(244, 188, 92, 0.9);
  stroke-width: 2.2;
  stroke-dasharray: .09 .035;
  animation: system-gardener-route 5.2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(194, 130, 33, 0.38));
}

.system-kicker {
  fill: #C28221;
  font: 650 14px/1 var(--mono);
  letter-spacing: 1.6px;
}

.system-title {
  fill: #f7f3ea;
  font: 650 22px/1 var(--display);
  letter-spacing: -0.3px;
}

.system-title-large {
  font-size: 38px;
  letter-spacing: -1.5px;
}

.system-foundation .system-title {
  font: 650 16px/1 var(--mono);
  letter-spacing: 0.3px;
}

.system-body {
  fill: #b9b0a1;
  font: 500 16px/1.4 var(--mono);
}

.system-badges rect {
  fill: #151007;
  stroke: rgba(194, 130, 33, 0.28);
  stroke-width: 1;
}

.system-badges text {
  fill: #ded7cc;
  text-anchor: middle;
  font: 650 11px/1 var(--mono);
  letter-spacing: 0.4px;
}

.system-mobile,
.system-mobile-foundation,
.system-mobile-gardener { display: none; }

.motion-ready .system-map.is-pending .system-edge {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.28;
}

.motion-ready .system-map.is-pending .system-card {
  opacity: 0.52;
}

.system-map.is-playing .system-edge {
  animation: system-trace 420ms ease-out both;
}

.system-map.is-playing .edge-2 { animation-delay: 220ms; }
.system-map.is-playing .edge-3,
.system-map.is-playing .edge-6 { animation-delay: 460ms; }
.system-map.is-playing .edge-4,
.system-map.is-playing .edge-5 { animation-delay: 700ms; }
.system-map.is-playing .edge-8,
.system-map.is-playing .edge-9,
.system-map.is-playing .edge-10 { animation-delay: 920ms; }
.system-map.is-playing .edge-7 { animation-delay: 1280ms; }

.system-map.is-playing .system-card {
  animation: system-node-on 320ms ease-out both;
}

.system-map.is-playing .seq-2 { animation-delay: 200ms; }
.system-map.is-playing .seq-3 { animation-delay: 430ms; }
.system-map.is-playing .seq-4,
.system-map.is-playing .seq-6 { animation-delay: 680ms; }
.system-map.is-playing .seq-5 { animation-delay: 1050ms; }
.system-map.is-playing .seq-7 { animation-delay: 850ms; }

.stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.stack-card {
  position: relative;
  min-height: 16rem;
  padding: 2rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(11, 9, 6, 0.72);
}

.stack-card .line-icon { margin-bottom: 1.5rem; }

.stack-index {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font: 650 0.67rem/1.3 var(--mono);
  letter-spacing: 0.12em;
}

.stack-card h3 {
  margin: 0;
  color: var(--text);
  font: 650 0.74rem/1.4 var(--mono);
  letter-spacing: 0.1em;
}

.stack-card > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

@keyframes vault-close-left {
  from { transform: translate3d(-102%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes vault-close-right {
  from { transform: translate3d(102%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes vault-clear-left {
  from { transform: translate3d(0, 0, 0) scaleX(1); transform-origin: right; opacity: 1; }
  to { transform: translate3d(0, 0, 0) scaleX(0); transform-origin: right; opacity: 0; }
}

@keyframes vault-clear-right {
  from { transform: translate3d(0, 0, 0) scaleX(1); transform-origin: left; opacity: 1; }
  to { transform: translate3d(0, 0, 0) scaleX(0); transform-origin: left; opacity: 0; }
}

@keyframes seam-clear {
  from { opacity: 1; transform: translateX(-50%) scaleY(1); }
  to { opacity: 0; transform: translateX(-50%) scaleY(0.18); }
}

@keyframes system-trace {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0.28; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; }
}

@keyframes system-node-on {
  0% { opacity: 0.34; transform: translateY(5px); }
  58% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-assembly { display: none !important; }

  .js .hero-mascot-reveal,
  .js .hero-copy,
  .hero-mascot-parallax {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .motion-ready .system-map.is-pending .system-edge,
  .motion-ready .system-map.is-pending .system-card {
    opacity: 1;
    stroke-dasharray: revert;
    stroke-dashoffset: 0;
    transform: none;
  }
}
