/* ==========================================================================
   Zentrivora — soft futurism for agent systems
   Midnight, iris, apricot, mint; orbital systems; editorial serif.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight: #0c0e1a;
  --midnight-2: #111426;
  --panel: #14172a;
  --iris: #7867f2;
  --apricot: #ffb86b;
  --mint: #9ef0d0;
  --bone: #f4f0e8;
  --ink: #15162a;
  --muted: #9a9bb5;
  --faint: #666a85;
  --line: rgba(244, 240, 232, 0.14);
  --line-strong: rgba(244, 240, 232, 0.24);
  --ink-line: rgba(21, 22, 42, 0.2);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif SC", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(20px, 4.4vw, 68px);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 84% 6%, rgba(120, 103, 242, 0.3), transparent 62%),
    radial-gradient(ellipse 45% 40% at 8% 72%, rgba(158, 240, 208, 0.1), transparent 65%),
    radial-gradient(ellipse 45% 40% at 58% 108%, rgba(255, 184, 107, 0.08), transparent 65%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 22% 18%, rgba(244, 240, 232, 0.5), transparent),
    radial-gradient(1px 1px at 68% 32%, rgba(244, 240, 232, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 84% 74%, rgba(255, 184, 107, 0.4), transparent),
    radial-gradient(1px 1px at 42% 86%, rgba(158, 240, 208, 0.35), transparent),
    url("/assets/grain.svg");
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 180px 180px;
  opacity: 0.09;
  mix-blend-mode: screen;
}

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

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--apricot);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   Type and controls
   -------------------------------------------------------------------------- */

.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(2.9rem, 5.6vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.display--wide {
  max-width: 15ch;
}
.display--contact {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
}
.display--ink {
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.66;
  color: var(--muted);
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-dot {
  position: relative;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(158, 240, 208, 0.4);
  border-radius: 50%;
  animation: pulse 3s var(--ease) infinite;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--apricot);
  border-radius: 999px;
  background: var(--apricot);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.button svg {
  width: 13px;
  height: 13px;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}
.button:hover {
  background: var(--bone);
  border-color: var(--bone);
}
.button:hover svg {
  transform: translate(3px, -3px);
}
.button--small {
  padding: 10px 16px;
  font-size: 10.5px;
}
.button[disabled] {
  opacity: 0.55;
  cursor: progress;
}
.button[disabled]:hover svg {
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link svg {
  width: 22px;
  height: 11px;
  transition: transform 0.35s var(--ease-out);
}
.text-link:hover {
  color: var(--apricot);
  border-color: var(--apricot);
}
.text-link:hover svg {
  transform: translateX(4px);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-switch button {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.lang-switch button:hover {
  color: var(--apricot);
}
.lang-switch button[aria-pressed="true"] {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-color: var(--apricot);
  text-underline-offset: 4px;
}
.lang-divider {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: var(--midnight);
  border-bottom-color: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 14px var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  text-decoration: none;
}
.wordmark-mark {
  width: 32px;
  height: 32px;
  flex: none;
  color: var(--bone);
  transition: transform 0.6s var(--ease-out);
}
.wordmark:hover .wordmark-mark {
  transform: rotate(18deg);
}
.wordmark-text {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  gap: clamp(15px, 1.7vw, 26px);
}
.primary-nav a {
  position: relative;
  padding: 5px 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--apricot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--bone);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.menu-toggle-bars i {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile menu ------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 104px var(--gutter) 32px;
  background: var(--midnight);
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease-out), visibility 0.55s;
}
.mobile-menu.is-open {
  visibility: visible;
  transform: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9.4vw, 3.4rem);
  font-weight: 380;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-decoration: none;
}
.mobile-nav a span:first-child {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--apricot);
}
.mobile-nav a:active {
  color: var(--apricot);
}
.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  padding: clamp(118px, 14vh, 158px) var(--gutter) 0;
}
.hero-aurora {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 103, 242, 0.28), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
  animation: drift 16s var(--ease) infinite alternate;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(18px, 2.4vw, 40px);
  row-gap: 44px;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 1660px;
  margin: 0 auto;
}
.hero-copy {
  grid-column: 1 / 9;
}
.hero-title {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 370;
  font-size: clamp(3.7rem, 8.2vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero-title em {
  color: var(--apricot);
  font-style: italic;
  font-weight: 330;
}
.hero-lead {
  max-width: 50ch;
  margin: 0 0 30px;
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.68;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 32px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-tags li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Agent panel ------------------------------------------------------------- */

.agent-panel {
  grid-column: 9 / 13;
  align-self: center;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(30, 33, 60, 0.86), rgba(15, 17, 33, 0.94));
  box-shadow: 0 40px 100px rgba(4, 5, 14, 0.5);
  overflow: hidden;
}
.panel-head,
.panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.11em;
  color: var(--muted);
}
.panel-head {
  border-bottom: 1px solid var(--line);
}
.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
}
.panel-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  animation: blink 2.2s steps(1) infinite;
}
.panel-foot {
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.orbit-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 420px;
  margin: 4px auto 0;
}
.orbit-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.orbit-ring--a {
  inset: 6%;
  border-style: dashed;
}
.orbit-ring--b {
  inset: 19%;
}
.orbit-ring--c {
  inset: 31%;
  border-style: dashed;
  border-color: rgba(244, 240, 232, 0.08);
}
.orbit-axis {
  position: absolute;
  background: var(--line);
}
.orbit-axis--x {
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
}
.orbit-axis--y {
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 1px;
}
.orbit-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #a99bff, #7867f2 46%, #4d3fc7 100%);
  box-shadow: 0 0 60px rgba(120, 103, 242, 0.45);
  color: var(--bone);
}
.orbit-core i {
  width: 7px;
  height: 7px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(158, 240, 208, 0.12);
}
.orbit-core strong {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
}
.orbit-core small {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(244, 240, 232, 0.65);
}
.orbit-node {
  position: absolute;
  z-index: 3;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 14, 26, 0.76);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.node--observe {
  top: 5%;
  left: 48%;
  transform: translateX(-50%);
  color: var(--mint);
  border-color: rgba(158, 240, 208, 0.4);
}
.node--decide {
  top: 44%;
  right: 1%;
  color: var(--apricot);
  border-color: rgba(255, 184, 107, 0.4);
}
.node--act {
  bottom: 5%;
  left: 48%;
  transform: translateX(-50%);
}
.node--escalate {
  top: 44%;
  left: 1%;
  border-color: rgba(120, 103, 242, 0.6);
  color: #b8adff;
}
.orbit-satellite {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orbit-satellite::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(158, 240, 208, 0.12);
}
.orbit-human {
  position: absolute;
  right: 4%;
  bottom: 12%;
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: right;
  color: var(--faint);
}
.panel-log {
  padding: 0 16px 14px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.panel-log div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 0;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
}
.panel-log div span {
  color: var(--faint);
}
.panel-log b {
  margin-left: auto;
  color: var(--bone);
  font-weight: 400;
}
.panel-log em {
  color: var(--mint);
  font-style: normal;
}
.panel-log em.warm {
  color: var(--apricot);
}
.autonomy {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 16px 14px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.autonomy-track {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(244, 240, 232, 0.14);
}
.autonomy-track i {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--iris), var(--apricot));
}
.autonomy-track b {
  position: absolute;
  top: 50%;
  left: 60%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 0 4px rgba(255, 184, 107, 0.12);
}
.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: 1660px;
  margin: 42px auto 0;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-foot span:nth-child(2) {
  text-align: center;
}
.hero-foot span:last-child {
  text-align: right;
}

/* Ticker ------------------------------------------------------------------ */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 23, 42, 0.38);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.ticker-track i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  color: var(--apricot);
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.section {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(82px, 10vw, 146px) var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 13px;
  margin-bottom: clamp(42px, 6vw, 80px);
  border-top: 1px solid var(--line-strong);
}
.section-index {
  margin: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.section-index .slash {
  margin: 0 4px;
  color: var(--apricot);
}
.section-aside {
  justify-self: end;
  margin: 0;
  max-width: 36ch;
  text-align: right;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.section-intro {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-intro .lede {
  padding-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Build
   -------------------------------------------------------------------------- */

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
}
.build-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.build-card:hover {
  border-color: rgba(120, 103, 242, 0.7);
  transform: translateY(-4px);
}
.build-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 3px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.build-num {
  color: var(--apricot);
}
.build-art {
  overflow: hidden;
  border: 1px solid rgba(244, 240, 232, 0.08);
  border-radius: 14px;
  background: rgba(12, 14, 26, 0.62);
}
.build-art svg {
  width: 100%;
  height: auto;
  color: var(--bone);
  transition: transform 0.7s var(--ease-out);
}
.build-card:hover .build-art svg {
  transform: scale(1.02);
}
.build-card h3 {
  margin: 3px 3px 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.build-card p {
  margin: 0 3px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 3px;
  padding: 0;
  list-style: none;
}
.tag-list li {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Method
   -------------------------------------------------------------------------- */

.method-top {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.method-note {
  padding-top: 6px;
}
.mandate {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.mandate-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.mandate div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
}
.mandate b {
  font-weight: 500;
  color: var(--mint);
}
.mandate div:nth-child(3) b {
  color: var(--apricot);
}
.mandate div:nth-child(4) b {
  color: #ff8c8c;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.method-grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid var(--line);
}
.method-grid li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}
.method-grid li:nth-child(even) {
  padding-left: 32px;
}
.method-num {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--apricot);
}
.method-name {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.method-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 380;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.method-grid p {
  margin: 0;
  max-width: 40ch;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}
.method-quote {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 6vw, 100px);
  margin: clamp(52px, 7vw, 92px) 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.method-quote p {
  grid-column: 2;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 3.7rem);
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-style: italic;
}
.method-quote cite {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Patterns
   -------------------------------------------------------------------------- */

.patterns-head {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.patterns-head .lede {
  justify-self: end;
}
.patterns-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4.6vw, 64px) clamp(18px, 2.4vw, 32px);
}
.pattern-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
}
.pattern-card--wide {
  grid-column: span 7;
}
.pattern-card--center {
  grid-column: 3 / 11;
}
.pattern-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease-out);
}
.pattern-card--wide .pattern-art {
  aspect-ratio: 16 / 10;
}
.pattern-card--center .pattern-art {
  aspect-ratio: 16 / 9;
}
.pattern-card:hover .pattern-art {
  border-color: rgba(255, 184, 107, 0.6);
  transform: translateY(-3px);
}
.pattern-body {
  padding-top: 14px;
}
.pattern-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.pattern-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.pattern-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}
.pattern-body h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 380;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.25s var(--ease);
}
.pattern-card:hover .pattern-body h3 {
  color: var(--apricot);
}
.pattern-body p {
  margin: 0;
  max-width: 48ch;
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
}
.pattern-tags {
  margin-top: 10px !important;
  font-family: var(--mono);
  font-size: 7px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint) !important;
}

/* Triage art */
.pattern-art--triage {
  background:
    radial-gradient(circle at 70% 18%, rgba(120, 103, 242, 0.2), transparent 48%),
    var(--panel);
}
.triage-head {
  position: absolute;
  top: 6%;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.triage-head span:last-child {
  color: var(--mint);
}
.triage-list {
  position: absolute;
  top: 20%;
  left: 6%;
  right: 6%;
}
.triage-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid rgba(244, 240, 232, 0.1);
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
}
.triage-list b {
  color: var(--bone);
  font-weight: 400;
}
.triage-list em {
  margin-left: auto;
  font-style: normal;
  color: var(--mint);
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
}
.dot--mint {
  background: var(--mint);
}
.dot--warm {
  background: var(--apricot);
}
.triage-meter {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 66%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.triage-meter > i {
  flex: 1;
  height: 2px;
  background: rgba(244, 240, 232, 0.12);
}
.triage-meter > i b {
  display: block;
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, var(--iris), var(--mint));
}
.triage-meter > b {
  color: var(--mint);
  font-weight: 400;
}
.triage-foot {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 6%;
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.triage-foot span:nth-child(2) {
  color: var(--apricot);
}

/* Research art */
.pattern-art--research {
  background:
    radial-gradient(circle at 22% 82%, rgba(158, 240, 208, 0.14), transparent 48%),
    var(--panel);
}
.research-head {
  position: absolute;
  top: 6%;
  left: 7%;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.research-sheet {
  position: absolute;
  top: 20%;
  left: 7%;
  right: 7%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 14, 26, 0.5);
}
.research-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(244, 240, 232, 0.22);
}
.research-line.w90 { width: 90%; }
.research-line.w72 { width: 72%; }
.research-line.w84 { width: 84%; }
.research-line.w56 { width: 56%; }
.research-cites {
  position: absolute;
  left: 7%;
  bottom: 18%;
  display: flex;
  gap: 5px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--apricot);
}
.research-note {
  position: absolute;
  left: 7%;
  bottom: 7%;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: var(--mint);
}

/* Ops art */
.pattern-art--ops {
  background:
    linear-gradient(rgba(244, 240, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.035) 1px, transparent 1px),
    var(--panel);
  background-size: 44px 44px;
}
.ops-head {
  position: absolute;
  top: 6%;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.ops-head span:last-child {
  color: var(--mint);
}
.pattern-art--ops svg {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 18%;
  width: 92%;
  height: 50%;
  color: var(--bone);
}
.ops-readout {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 16%;
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.ops-readout b {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--bone);
}
.ops-note {
  position: absolute;
  left: 4%;
  bottom: 6%;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: var(--apricot);
}
.patterns-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: clamp(42px, 5vw, 64px) 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principles {
  position: relative;
  overflow: hidden;
  margin-top: clamp(18px, 3vw, 36px);
  background: var(--bone);
  color: var(--ink);
}
.principles::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 184, 107, 0.36), transparent 38%),
    radial-gradient(circle at 8% 92%, rgba(120, 103, 242, 0.12), transparent 38%);
}
.principles-inner {
  position: relative;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 128px) var(--gutter);
}
.section-head--ink {
  border-top-color: var(--ink-line);
}
.section-head--ink .section-index {
  color: rgba(21, 22, 42, 0.6);
}
.section-head--ink .section-index .slash {
  color: #c26a1c;
}
.section-head--ink .section-aside {
  color: rgba(21, 22, 42, 0.55);
}
.principles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.principles-head .display {
  max-width: 13ch;
}
.autonomy-dial {
  width: clamp(140px, 18vw, 220px);
  flex: none;
  color: var(--ink);
  opacity: 0.85;
}
.principles-statement {
  max-width: 58ch;
  margin: clamp(30px, 4vw, 48px) 0 clamp(42px, 6vw, 70px);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(21, 22, 42, 0.75);
}
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-line);
}
.values li {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 18px 8px 0;
  border-right: 1px solid var(--ink-line);
}
.values li:last-child {
  border-right: 0;
}
.values li > span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: rgba(21, 22, 42, 0.45);
}
.values h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.values p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(21, 22, 42, 0.65);
}
.principles-quote {
  margin: clamp(48px, 7vw, 84px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  font-style: italic;
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 130px);
  align-items: start;
}
.contact-intro .display {
  margin-bottom: 24px;
}
.contact-detail {
  max-width: 38ch;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-detail-label {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
}
.contact-detail p:last-child {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-form-wrap {
  padding-top: 4px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.req {
  color: var(--apricot);
}
.optional {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}
.field input,
.field textarea {
  width: 100%;
  padding: 9px 0 11px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--bone);
  transition: border-color 0.25s var(--ease);
}
.field textarea {
  min-height: 118px;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  border-bottom-color: var(--muted);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--apricot);
  padding-bottom: 10px;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #ff7a7a;
}
.field-error {
  margin: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  color: #ff9d9d;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--apricot);
}
.consent input[aria-invalid="true"] {
  outline: 2px solid #ff7a7a;
  outline-offset: 2px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.button--submit {
  min-width: 150px;
}
.form-note {
  margin: 0;
  max-width: 26ch;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.5;
  color: var(--faint);
}
.form-status {
  min-height: 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  color: #ff9d9d;
}
.form-status:not(:empty) {
  min-height: 18px;
}
.form-success {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 184, 107, 0.55);
  border-radius: 20px;
  background: rgba(255, 184, 107, 0.05);
}
.form-success-mark {
  display: block;
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--apricot);
}
.form-success h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 380;
  line-height: 1;
  letter-spacing: -0.04em;
}
.form-success p {
  margin: 0 0 22px;
  max-width: 40ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  padding: clamp(58px, 7vw, 96px) var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: rgba(8, 9, 18, 0.72);
}
.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(34px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
}
.footer-kicker {
  max-width: 15ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  font-weight: 360;
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-style: italic;
  text-wrap: balance;
}
.footer-arrow {
  flex: none;
  color: var(--apricot);
  transition: color 0.3s var(--ease), transform 0.5s var(--ease-out);
}
.footer-arrow svg {
  width: clamp(52px, 5.6vw, 86px);
  height: auto;
}
.footer-arrow:hover {
  color: var(--bone);
  transform: translate(5px, -5px);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: clamp(30px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-mark {
  width: 34px;
  height: 34px;
  color: var(--bone);
  margin-bottom: 4px;
}
.footer-wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.03em;
}
.footer-tagline {
  margin: 0;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: center;
}
.footer-nav a {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover {
  color: var(--apricot);
}
.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  justify-self: end;
}
.lang-switch--footer button {
  color: var(--faint);
}
.lang-switch--footer button[aria-pressed="true"] {
  color: var(--bone);
}
.admin-link {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}
.admin-link:hover {
  color: var(--bone);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.footer-bottom p {
  margin: 0;
}

.noscript {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  padding: 10px 20px;
  background: var(--apricot);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease-out);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.hero-grid > [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.6);
    opacity: 0;
  }
}
@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-4%, 3%, 0) scale(1.08);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-title {
    font-size: clamp(3.5rem, 8.2vw, 7.2rem);
  }
  .agent-panel {
    min-height: 500px;
  }
}

@media (max-width: 980px) {
  .primary-nav,
  .header-cta {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    gap: 18px;
  }
  .hero {
    min-height: auto;
    padding-top: 116px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy,
  .agent-panel {
    grid-column: 1 / -1;
  }
  .agent-panel {
    max-width: 560px;
    min-height: 0;
  }
  .hero-title {
    font-size: clamp(4rem, 11.5vw, 7rem);
  }
  .hero-foot {
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
  }
  .hero-foot span:nth-child(2) {
    display: none;
  }
  .section-intro,
  .method-top,
  .patterns-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .section-intro .lede,
  .patterns-head .lede {
    justify-self: start;
  }
  .build-grid {
    grid-template-columns: 1fr 1fr;
  }
  .build-card:last-child {
    grid-column: 1 / -1;
  }
  .method-grid li:nth-child(odd) {
    padding-right: 22px;
  }
  .method-grid li:nth-child(even) {
    padding-left: 22px;
  }
  .method-quote {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .method-quote p,
  .method-quote cite {
    grid-column: 1;
  }
  .pattern-card,
  .pattern-card--wide {
    grid-column: span 6;
  }
  .pattern-card--center {
    grid-column: 1 / -1;
    max-width: 680px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .values li:nth-child(2) {
    border-right: 0;
  }
  .values li:nth-child(1),
  .values li:nth-child(2) {
    border-bottom: 1px solid var(--ink-line);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-intro {
    max-width: 640px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-nav {
    justify-self: end;
  }
  .footer-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }
  body {
    font-size: 15px;
  }
  .header-inner {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .wordmark-text {
    font-size: 20px;
  }
  .hero {
    padding-top: 102px;
  }
  .hero-title {
    font-size: clamp(3rem, 13.6vw, 5.2rem);
  }
  .hero-lead {
    font-size: 14.5px;
  }
  .hero-tags li {
    font-size: 7px;
  }
  .agent-panel {
    min-height: 0;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 36px;
  }
  .section-aside {
    justify-self: start;
    text-align: left;
  }
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .build-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .build-card:last-child {
    grid-column: auto;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-grid li,
  .method-grid li:nth-child(odd),
  .method-grid li:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }
  .patterns-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pattern-card,
  .pattern-card--wide,
  .pattern-card--center {
    grid-column: 1 / -1;
    max-width: none;
  }
  .pattern-card--wide .pattern-art,
  .pattern-card--center .pattern-art {
    aspect-ratio: 16 / 11;
  }
  .triage-list div:nth-child(n + 5) {
    display: none;
  }
  .triage-meter {
    top: 60%;
  }
  .principles-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .autonomy-dial {
    width: 150px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .values li,
  .values li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ink-line);
    padding: 17px 0;
  }
  .values li:last-child {
    border-bottom: 0;
  }
  .principles-quote {
    text-align: left;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .footer-kicker {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-nav {
    justify-self: start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .footer-side {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 460px) {
  .hero-title {
    font-size: clamp(2.8rem, 13.8vw, 4.2rem);
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .orbit-node {
    font-size: 6px;
    padding: 4px 6px;
  }
  .panel-log {
    font-size: 6.5px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-arrow svg {
    width: 48px;
  }
}

[data-lang="zh"] .hero-title,
[data-lang="zh"] .display,
[data-lang="zh"] .footer-kicker,
[data-lang="zh"] .method-quote p,
[data-lang="zh"] .principles-quote {
  font-family: "Songti SC", "Noto Serif SC", "Source Han Serif SC", var(--serif);
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
[data-lang="zh"] .hero-title {
  font-size: clamp(2.8rem, 7.4vw, 6.8rem);
}
[data-lang="zh"] .hero-title em {
  font-style: normal;
  color: var(--apricot);
}
[data-lang="zh"] .section-aside,
[data-lang="zh"] .method-cite {
  letter-spacing: 0.02em;
}
[data-lang="zh"] .section-aside {
  text-transform: none;
}

@media (max-width: 720px) {
  [data-lang="zh"] .hero-title {
    font-size: clamp(2.5rem, 11.4vw, 4rem);
  }
}

@media print {
  .site-header,
  .ticker,
  .agent-panel,
  .mobile-menu,
  .footer-arrow {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .principles {
    background: #fff;
    color: #000;
  }
}
