:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --bg-elevated: #101310;
  --surface: #141714;
  --text: #f1f4ee;
  --muted: #9ca39a;
  --faint: #5e655d;
  --line: rgba(232, 239, 228, 0.14);
  --line-strong: rgba(232, 239, 228, 0.28);
  --accent: #bddf69;
  --accent-deep: #9fbd52;
  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 12, 0.88);
  backdrop-filter: blur(14px);
}
.wordmark {
  justify-self: start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .14em;
}
.wordmark__slash { color: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 32px); }
.desktop-nav a, .header-cta, .text-link, .eyebrow, .hero__domains, figcaption, .system-visual__status {
  font-size: 10px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: .13em;
}
.desktop-nav a { color: var(--muted); transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--text); }
.header-cta { justify-self: end; border-bottom: 1px solid var(--text); padding-block: 6px; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(52px, 7vh, 92px)) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(40px, 7vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: var(--header-h) 0 0;
  background-image:
    linear-gradient(to right, transparent calc(50% - .5px), rgba(255,255,255,.035) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at 74% 41%, rgba(189,223,105,.045), transparent 30%);
  pointer-events: none;
}
.hero__copy { align-self: center; padding-bottom: 6vh; }
.eyebrow { margin: 0 0 clamp(30px, 5vh, 62px); color: var(--muted); }
.eyebrow > span:last-child { color: var(--faint); }
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(189,223,105,.08);
}
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(56px, 7.15vw, 118px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 560;
}
h1 span { color: var(--muted); }
.hero__lead {
  max-width: 700px;
  margin: clamp(36px, 5vh, 64px) 0 0;
  color: #c4cac0;
  font-size: clamp(16px, 1.16vw, 20px);
  line-height: 1.62;
}
.hero__actions { display: flex; align-items: center; gap: clamp(28px, 4vw, 58px); margin-top: clamp(34px, 5vh, 58px); }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button--primary { min-width: 218px; background: var(--accent); color: #11150d; }
.button--primary:hover { background: var(--text); }
.text-link { color: var(--muted); padding-block: 10px; border-bottom: 1px solid var(--line-strong); }

.system-visual { align-self: center; margin: 0; min-width: 0; padding: 0 0 5vh; }
.system-visual figcaption, .system-visual__status { display: flex; justify-content: space-between; color: var(--faint); }
.system-visual figcaption { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.flow-map { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.flow-grid path { fill: none; stroke: rgba(232,239,228,.055); stroke-width: 1; }
.flow-paths .line { fill: none; stroke: rgba(232,239,228,.2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.flow-paths .line--active { stroke: rgba(189,223,105,.42); }
.signal { fill: var(--accent); filter: drop-shadow(0 0 5px rgba(189,223,105,.5)); }
.signal--two { opacity: .55; }
.node rect { fill: #0e110f; stroke: rgba(232,239,228,.28); }
.node circle { fill: var(--faint); }
.node text { fill: #aeb5aa; font-size: 10px; font-family: inherit; font-weight: 700; letter-spacing: .12em; }
.node--accent rect, .node--result rect { stroke: rgba(189,223,105,.66); }
.node--accent circle, .node--result circle { fill: var(--accent); }
.node--accent text, .node--result text { fill: var(--text); }
.map-note { fill: var(--faint); font-family: inherit; font-size: 9px; font-weight: 650; letter-spacing: .12em; }
.map-note--end { fill: var(--accent); }
.system-visual__status { align-items: center; gap: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.system-visual__status span:first-child { color: var(--muted); }
.system-visual__status i { display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--accent); }

.hero__domains {
  grid-column: 1 / -1;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  white-space: nowrap;
}
.hero__domains span::before { content: "/"; margin-right: 10px; color: rgba(189,223,105,.55); }

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

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); column-gap: 34px; }
  .desktop-nav { gap: 20px; }
  h1 { font-size: clamp(58px, 7.9vw, 86px); }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 6px; width: 34px; height: 34px; padding: 10px 5px; border: 0; background: none; color: inherit; }
  .menu-toggle span { display: block; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    z-index: 90;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    padding: 38px var(--gutter);
    background: #0b0d0c;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; letter-spacing: -.02em; }
  .mobile-nav a:last-child { margin-top: auto; display: flex; justify-content: space-between; color: var(--accent); }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 60px); grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero::before { background-position: 0 0; }
  .hero__copy { padding: 0; }
  .eyebrow { margin-bottom: 38px; }
  h1 { font-size: clamp(58px, 13vw, 94px); }
  .hero__lead { max-width: 650px; }
  .system-visual { width: min(100%, 620px); margin: 74px auto 0; padding-bottom: 58px; }
  .hero__domains { overflow: hidden; gap: 38px; justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero { padding-top: calc(var(--header-h) + 42px); }
  .eyebrow { font-size: 9px; }
  h1 { font-size: clamp(51px, 14.5vw, 72px); line-height: .92; }
  .hero__lead { margin-top: 32px; font-size: 15px; line-height: 1.55; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button--primary { width: 100%; }
  .text-link { align-self: flex-start; }
  .system-visual { margin-top: 58px; }
  .system-visual__status span:nth-child(2) { display: none; }
  .hero__domains { min-height: 56px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .signal { display: none; }
}
/* Core section system */
.section,
.contact,
.principle {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(112px, 14vw, 220px) var(--gutter);
}
.section { border-top: 1px solid var(--line); }
.section-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(58px, 8vw, 112px);
  color: var(--faint);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .14em;
}
.section-index span:first-child { color: var(--accent); }
.section-heading { margin-bottom: clamp(64px, 9vw, 130px); }
.section-heading h2,
.logic-copy h2,
.project-filter h2,
.contact__heading h2 {
  max-width: 1160px;
  margin: 0;
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: .96;
  letter-spacing: -.058em;
  font-weight: 540;
}
.section-heading > p {
  max-width: 570px;
  margin: 34px 0 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.6;
}
.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: clamp(50px, 9vw, 160px);
  align-items: end;
}
.section-heading--split > p { margin: 0; }
.section-copy { max-width: 650px; }
.section-copy p { margin: 0 0 24px; color: var(--muted); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.65; }
.section-copy__strong { color: var(--text) !important; font-weight: 580; }

/* Operations comparison */
.problem { background: #0d0f0e; }
.comparison { border: 1px solid var(--line); }
.comparison-row { padding: clamp(24px, 3vw, 46px); }
.comparison-row + .comparison-row { border-top: 1px solid var(--line); }
.comparison-row header,
.architecture__meta,
.case__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .14em;
}
.comparison-row header span:first-child { color: var(--muted); }
.comparison-row--after header span:first-child { color: var(--accent); }
.manual-chain,
.autonomous-chain {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.5vw, 24px);
}
.manual-chain > span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 clamp(10px, 1.6vw, 24px);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.manual-chain i,
.autonomous-chain > i { color: var(--faint); font-style: normal; }
.manual-chain .chain-human {
  border-color: rgba(232,239,228,.08);
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.025), rgba(255,255,255,.025) 4px, transparent 4px, transparent 8px);
  color: #6e746d;
}
.source-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.source-cluster span,
.logic-core,
.action-node {
  min-width: 75px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
}
.source-cluster span { align-items: center; color: var(--muted); }
.logic-core { min-width: min(280px, 28vw); border-color: rgba(189,223,105,.45); }
.logic-core small,
.action-node small { margin-top: 8px; color: var(--faint); font-size: 8px; }
.action-node { min-width: 148px; background: var(--accent); border-color: var(--accent); color: var(--bg); }
.action-node small { color: #43502e; }

/* Systems list */
.systems { background: var(--bg); }
.systems-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.systems-list li {
  min-height: 190px;
  display: grid;
  grid-template-columns: 70px minmax(260px, .8fr) minmax(300px, 1.2fr) 190px;
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}
.systems-list li:hover { padding-inline: 22px; background: rgba(255,255,255,.018); }
.systems-list__number { color: var(--faint); font-size: 10px; letter-spacing: .14em; }
.systems-list h3 { margin: 0; font-size: clamp(27px, 3vw, 48px); line-height: .94; letter-spacing: -.04em; font-weight: 520; }
.systems-list p { max-width: 540px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.systems-list__output { justify-self: end; color: var(--faint); font-size: 9px; font-weight: 700; letter-spacing: .12em; }

/* Logic */
.logic { background: var(--bg-elevated); overflow: clip; }
.logic::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
  background: rgba(255,255,255,.035);
}
.logic-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .75fr); gap: clamp(70px, 12vw, 190px); align-items: start; }
.logic-copy { position: sticky; top: calc(var(--header-h) + 42px); }
.logic-copy h2 { max-width: 830px; }
.logic-copy p { max-width: 640px; margin: 52px 0 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.65; }
.logic-sequence ol { position: relative; margin: 0; padding: 0; list-style: none; }
.logic-sequence ol::before { content: ""; position: absolute; top: 0; bottom: 0; left: 24px; width: 1px; background: linear-gradient(var(--accent), var(--line) 88%); }
.logic-sequence li {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.logic-sequence li > span {
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--faint);
  font-size: 9px;
  letter-spacing: .1em;
}
.logic-sequence li:first-child > span,
.logic-sequence li:last-child > span { border-color: var(--accent); color: var(--accent); }
.logic-sequence b { font-size: clamp(22px, 2.3vw, 38px); letter-spacing: -.03em; font-weight: 520; }
.logic-sequence small { color: var(--faint); font-size: 11px; }

/* Cases */
.cases { background: #0c0e0d; }
.case { --pointer-x: 50%; --pointer-y: 50%; position: relative; padding-top: 34px; border-top: 1px solid var(--line-strong); }
.case + .case { margin-top: clamp(120px, 15vw, 220px); }
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), rgba(189,223,105,.035), transparent 60%);
  transition: opacity .3s ease;
}
.case:hover::before { opacity: 1; }
.case__header { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.case__header div { display: flex; gap: clamp(30px, 6vw, 100px); }
.case__header > span { color: var(--accent); }
.case__intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: clamp(60px, 10vw, 160px); align-items: end; padding: clamp(58px, 8vw, 110px) 0; }
.case__intro h3,
.case-two-copy h3 {
  margin: 0;
  font-size: clamp(50px, 7.6vw, 122px);
  line-height: .87;
  letter-spacing: -.068em;
  font-weight: 520;
}
.case__intro > div > p,
.case-two-copy > p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.case__subtitle { color: var(--text) !important; font-size: clamp(19px, 1.7vw, 26px) !important; line-height: 1.4 !important; }
.architecture {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background-color: #0a0c0b;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  overflow: hidden;
}
.architecture__meta { margin-bottom: 56px; }
.architecture__meta span:first-child { color: var(--muted); }
.architecture ol { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; }
.architecture--physical ol {
  min-height: 290px;
  display: grid;
  grid-template-columns: repeat(7, minmax(108px, 1fr));
  gap: clamp(12px, 1.8vw, 28px);
  align-items: center;
}
.architecture--physical ol::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: rgba(189,223,105,.32);
}
.architecture li {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: #0d100e;
}
.architecture li > span,
.architecture li small { color: var(--faint); font-size: 8px; line-height: 1; letter-spacing: .11em; }
.architecture li b { font-size: 11px; line-height: 1.3; letter-spacing: .09em; font-weight: 650; }
.architecture li small { color: #747b72; }
.architecture li.architecture__core { min-height: 150px; border-color: rgba(189,223,105,.5); }
.architecture li.architecture__result { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.architecture li.architecture__result > span,
.architecture li.architecture__result small { color: #4a5737; }
.architecture__signal { position: absolute; left: 7%; right: 7%; top: calc(50% + 26px); height: 1px; }
.architecture__signal i {
  position: absolute;
  width: 7px;
  height: 7px;
  top: -3px;
  left: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(189,223,105,.7);
  animation: architecture-flow 7s linear infinite;
}
@keyframes architecture-flow { to { left: 100%; } }
.case__details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 160px); padding-top: 54px; }
.case__result { margin: 0; font-size: clamp(25px, 3.25vw, 50px); line-height: 1.1; letter-spacing: -.04em; }
.case__details ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.case__details li { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.case__details li::before { content: "↳"; margin-right: 12px; color: var(--accent); }
.case-two-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 9vw, 140px); padding: clamp(58px, 8vw, 110px) 0; }
.case-two-copy h3 { margin-bottom: 52px; }
.case-two-copy > p:not(.case__subtitle) { max-width: 560px; }
.architecture--sales { min-height: 680px; }
.architecture--sales ol { display: grid; gap: 14px; }
.architecture--sales li {
  position: relative;
  min-height: 60px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  padding: 0 16px;
}
.architecture--sales li.architecture__core { min-height: 60px; }
.architecture--sales li b { font-size: 12px; }
.architecture--sales li + li::before {
  content: "↓";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--faint);
  font-size: 10px;
}
.delivery-note {
  display: grid;
  grid-template-columns: .5fr .75fr 1fr;
  align-items: end;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.delivery-note > span { align-self: start; color: var(--faint); font-size: 9px; letter-spacing: .12em; }
.delivery-note strong { color: var(--accent); font-size: clamp(70px, 9vw, 138px); line-height: .75; letter-spacing: -.06em; font-weight: 520; }
.delivery-note strong small { display: block; margin-top: 22px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.delivery-note p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Capabilities */
.capability-matrix { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.capability-matrix li {
  min-height: clamp(115px, 12vw, 190px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.8vw, 28px);
  letter-spacing: -.025em;
  transition: background .2s ease, color .2s ease;
}
.capability-matrix li:hover { background: var(--accent); color: var(--bg); }
.capability-matrix li span { color: var(--faint); font-size: 8px; letter-spacing: .12em; }
.capability-matrix li:hover span { color: #4a5737; }
.tech-stack { margin: 40px 0 0; color: var(--faint); font-size: 9px; line-height: 1.8; letter-spacing: .12em; }
.tech-stack span { margin-right: 40px; color: var(--accent); }

/* Principle */
.principle { isolation: isolate; min-height: 100svh; overflow: hidden; background: #0f1210; color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .55;
  background-image: linear-gradient(rgba(232,239,228,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(232,239,228,.035) 1px, transparent 1px);
  background-size: 88px 88px;
}
.principle .section-index { color: var(--faint); }
.principle .section-index span:first-child { color: var(--accent); }
.principle h2 {
  margin: 0;
  font-size: clamp(64px, 10vw, 166px);
  line-height: .81;
  letter-spacing: -.075em;
  font-weight: 580;
}
.principle h2 span { color: var(--accent); }
.principle__statement { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); margin-top: clamp(80px, 10vw, 150px); }
.principle__statement p:first-child { margin: 0; font-size: clamp(24px, 2.8vw, 44px); line-height: 1.25; letter-spacing: -.035em; }
.principle__statement p:last-child { max-width: 590px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(80px, 10vw, 150px) 0 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.outcomes li { min-height: 95px; display: flex; align-items: center; gap: 16px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #c3c9bf; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.outcomes li span { color: var(--accent); font-size: 18px; }

/* Process */
.process-pipeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.process-pipeline::before { content: ""; position: absolute; top: 24px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.process-pipeline li { position: relative; min-height: 250px; padding: 70px clamp(18px, 2vw, 34px) 0 0; border-right: 1px solid var(--line); }
.process-pipeline li::before { content: ""; position: absolute; top: 19px; left: 0; width: 10px; height: 10px; border: 1px solid var(--accent); background: var(--bg); }
.process-pipeline li:first-child::before,
.process-pipeline li:last-child::before { background: var(--accent); }
.process-pipeline span { color: var(--faint); font-size: 9px; letter-spacing: .12em; }
.process-pipeline b { display: block; margin-top: 22px; font-size: clamp(16px, 1.55vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.process-pipeline p { margin: 26px 0 0; max-width: 190px; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* Project filter */
.project-filter { background: var(--bg-elevated); }
.project-filter__layout { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(70px, 12vw, 190px); }
.project-filter h2 { max-width: 860px; }
.project-filter__layout > div:first-child > p { max-width: 650px; margin: 58px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.fit-list > p { margin: 0 0 32px; color: var(--accent); font-size: 9px; letter-spacing: .13em; }
.fit-list ul { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.fit-list li { min-height: 64px; display: grid; grid-template-columns: 46px 1fr; align-items: center; border-bottom: 1px solid var(--line); color: #c4cac0; font-size: 14px; }
.fit-list li span { color: var(--faint); font-size: 8px; letter-spacing: .1em; }

/* Contact and footer */
.contact { background: #0a0c0b; border-top: 1px solid var(--line); }
.contact__heading h2 { max-width: 1340px; }
.contact__heading h2 span { color: var(--muted); }
.contact__heading > p { max-width: 620px; margin: 54px 0 0 auto; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.field { min-width: 0; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 22px; color: var(--faint); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.field label span { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  resize: vertical;
}
.field input { height: 44px; }
.field input::placeholder,
.field textarea::placeholder { color: #4d534d; opacity: 1; }
.field:focus-within { background: rgba(189,223,105,.025); box-shadow: inset 0 -1px var(--accent); }
.honeypot-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: .01; pointer-events: none; }
.consent-field { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.consent-control { display: flex; align-items: flex-start; gap: 14px; width: fit-content; max-width: 790px; color: var(--muted); font-size: 12px; line-height: 1.55; cursor: pointer; }
.consent-control input { appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg); cursor: pointer; }
.consent-control input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--bg); }
.consent-control input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent-control a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.consent-control a:hover { border-color: var(--accent); }
.form-action { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.form-direct-contacts { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--faint); font-size: 11px; line-height: 1.55; }
.form-direct-contacts span { display: inline-flex; gap: 8px; }
.form-direct-contacts a { color: var(--muted); border-bottom: 1px solid var(--line-strong); overflow-wrap: anywhere; }
.form-direct-contacts a:hover { color: var(--text); border-color: var(--accent); }
.button--submit { min-width: 245px; background: var(--accent); color: var(--bg); cursor: pointer; }
.button--submit:hover { background: var(--text); }
.button--submit:disabled { opacity: .68; cursor: wait; }
.form-status { margin: 0; padding: 22px 24px; color: var(--accent); font-size: 13px; line-height: 1.55; }
.form-status strong,
.form-status > span { display: block; }
.form-status > span { margin-top: 4px; color: var(--muted); }
.form-status[data-state="error"] strong { color: var(--text); }
.form-status a { color: var(--accent); border-bottom: 1px solid rgba(189,223,105,.45); }
.form-status a:hover { border-color: var(--accent); }
.form-status[hidden] { display: none; }
.site-footer {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(68px, 8vw, 110px) var(--gutter) 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.footer-main { display: grid; grid-template-columns: 1.05fr .8fr .95fr 1.2fr; gap: clamp(34px, 5vw, 82px); padding-bottom: clamp(64px, 7vw, 100px); }
.footer-brand .wordmark { color: var(--text); }
.footer-brand p { max-width: 270px; margin: 28px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.footer-column { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; font-size: 11px; line-height: 1.45; }
.footer-column h2 { margin: 0 0 13px; color: var(--faint); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.footer-column address { width: 100%; display: grid; gap: 13px; font-style: normal; }
.footer-column address span { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.footer-column address b { color: var(--muted); font-weight: 500; }
.footer-legal span { color: var(--muted); }
.footer-column span,
.footer-column a { overflow-wrap: anywhere; }
.footer-column a { color: var(--muted); border-bottom: 1px solid transparent; }
.footer-column a:hover { color: var(--text); border-color: var(--line-strong); }
.footer-bottom { min-height: 54px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .11em; }
.footer-bottom p { margin: 0; }


/* Legal pages */
.legal-page { background: var(--bg); }
.legal-page .site-header { position: sticky; }
.legal-shell { max-width: var(--max); margin-inline: auto; padding: clamp(74px, 9vw, 130px) var(--gutter) clamp(110px, 13vw, 190px); }
.legal-back { display: inline-flex; gap: 12px; align-items: center; margin-bottom: clamp(60px, 8vw, 110px); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.legal-back:hover { color: var(--text); }
.legal-hero { padding-bottom: clamp(70px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { margin-bottom: 34px; }
.legal-hero h1 { max-width: 1250px; font-size: clamp(48px, 7.5vw, 112px); line-height: .92; }
.legal-hero > p:last-child { max-width: 720px; margin: 42px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal-document { display: grid; grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr); gap: clamp(60px, 11vw, 180px); padding-top: clamp(70px, 9vw, 130px); }
.legal-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 36px); }
.legal-aside p { margin: 0 0 24px; color: var(--faint); font-size: 9px; line-height: 1.6; letter-spacing: .1em; }
.legal-aside a { display: block; width: fit-content; margin-top: 12px; color: var(--muted); font-size: 11px; border-bottom: 1px solid var(--line); }
.legal-content { max-width: 860px; }
.legal-notice { margin: 0 0 70px; padding: 24px; border: 1px solid rgba(189,223,105,.38); color: #c9cec5; font-size: 13px; line-height: 1.65; }
.legal-section { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { margin: 0 0 30px; font-size: clamp(25px, 2.8vw, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 540; }
.legal-section h3 { margin: 32px 0 14px; font-size: 16px; font-weight: 580; }
.legal-section p,
.legal-section li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-section p { margin: 0 0 18px; }
.legal-section ul,
.legal-section ol { margin: 20px 0; padding-left: 22px; }
.legal-section li + li { margin-top: 9px; }
.legal-section strong { color: var(--text); font-weight: 580; }
.legal-simple-footer { max-width: var(--max); min-height: 92px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px var(--gutter); border-top: 1px solid var(--line); color: var(--faint); font-size: 9px; letter-spacing: .1em; }

@media (max-width: 760px) {
  .legal-document { grid-template-columns: 1fr; gap: 48px; }
  .legal-aside { position: static; }
  .legal-hero h1 { font-size: clamp(43px, 12vw, 66px); }
  .legal-simple-footer { align-items: flex-start; flex-direction: column; }
}

/* Motion */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: calc(var(--scroll-progress, 0) * 100%); height: 1px; background: var(--accent); }
.site-header.is-scrolled { background: rgba(11,13,12,.96); }

/* Responsive */
@media (max-width: 1200px) {
  .systems-list li { grid-template-columns: 50px minmax(220px, .8fr) 1.2fr; }
  .systems-list__output { display: none; }
  .architecture--physical ol { grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 10px; }
  .architecture--physical { overflow-x: auto; }
  .process-pipeline { grid-template-columns: repeat(3, 1fr); }
  .process-pipeline::before { display: none; }
  .process-pipeline li { min-height: 220px; padding: 60px 28px 24px 0; border-top: 1px solid var(--line); }
  .process-pipeline li::before { top: 22px; }
}

@media (max-width: 900px) {
  .section-heading--split,
  .logic-layout,
  .case__intro,
  .case__details,
  .case-two-layout,
  .principle__statement,
  .project-filter__layout { grid-template-columns: 1fr; }
  .section-heading--split { align-items: start; }
  .section-heading--split > p { max-width: 620px; }
  .section-copy { max-width: 680px; }
  .manual-chain { flex-wrap: wrap; justify-content: flex-start; padding: 34px 0; }
  .autonomous-chain { justify-content: flex-start; flex-wrap: wrap; padding: 34px 0; }
  .logic::after { display: none; }
  .logic-copy { position: static; }
  .logic-sequence { max-width: 620px; }
  .case__intro { align-items: start; }
  .case__intro > div { max-width: 620px; }
  .architecture--physical ol { min-width: 920px; }
  .case__details { gap: 54px; }
  .case-two-layout { gap: 70px; }
  .case-two-copy { max-width: 700px; }
  .architecture--sales { min-height: auto; }
  .delivery-note { grid-template-columns: .6fr .8fr 1fr; }
  .capability-matrix { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .form-action { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .section,
  .contact,
  .principle { padding-block: 104px; }
  .section-index { margin-bottom: 58px; font-size: 8px; }
  .section-index span:last-child { text-align: right; }
  .section-heading { margin-bottom: 64px; }
  .section-heading h2,
  .logic-copy h2,
  .project-filter h2,
  .contact__heading h2 { font-size: clamp(44px, 12vw, 66px); line-height: .96; }
  .comparison-row { padding: 20px; }
  .comparison-row header span:last-child { display: none; }
  .manual-chain { gap: 7px; }
  .manual-chain > span { min-height: 42px; padding-inline: 10px; font-size: 8px; }
  .manual-chain i { font-size: 10px; }
  .autonomous-chain { display: grid; grid-template-columns: 1fr; }
  .autonomous-chain > i { transform: rotate(90deg); justify-self: center; }
  .source-cluster,
  .logic-core,
  .action-node { width: 100%; min-width: 0; }
  .action-node { min-height: 62px; }
  .systems-list li { min-height: 0; grid-template-columns: 38px 1fr; gap: 10px 18px; padding: 34px 0; }
  .systems-list h3 { grid-column: 2; }
  .systems-list p { grid-column: 2; font-size: 14px; }
  .systems-list li:hover { padding-inline: 0; background: transparent; }
  .logic-layout { gap: 70px; }
  .logic-copy p { margin-top: 34px; }
  .logic-sequence li { grid-template-columns: 42px 1fr auto; gap: 16px; }
  .logic-sequence ol::before { left: 21px; }
  .logic-sequence li > span { width: 42px; height: 42px; }
  .case__header div span:last-child { display: none; }
  .case__intro { padding-block: 60px; }
  .case__intro h3,
  .case-two-copy h3 { font-size: clamp(48px, 13.5vw, 74px); }
  .architecture { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-inline: 0; }
  .architecture__meta { margin-bottom: 36px; }
  .architecture--physical ol { min-width: 0; grid-template-columns: 1fr; gap: 12px; }
  .architecture--physical ol::before { left: 50%; top: 20px; bottom: 20px; width: 1px; height: auto; }
  .architecture--physical li { min-height: 76px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; }
  .architecture--physical li.architecture__core { min-height: 88px; }
  .architecture--physical li b br { display: none; }
  .architecture__signal { display: none; }
  .case__details { padding-top: 44px; }
  .case__result { font-size: 31px; }
  .delivery-note { grid-template-columns: 1fr 1fr; }
  .delivery-note p { grid-column: 1 / -1; }
  .capability-matrix li { min-height: 115px; }
  .tech-stack span { display: block; margin: 0 0 14px; }
  .principle h2 { font-size: clamp(64px, 18vw, 92px); line-height: .84; }
  .principle__statement { gap: 46px; margin-top: 70px; }
  .outcomes { grid-template-columns: 1fr; margin-top: 72px; }
  .outcomes li { min-height: 68px; }
  .process-pipeline { grid-template-columns: 1fr; }
  .process-pipeline li { min-height: 0; display: grid; grid-template-columns: 45px 1fr; gap: 0 16px; padding: 30px 0; border-right: 0; }
  .process-pipeline li::before { top: 33px; left: 0; width: 7px; height: 7px; }
  .process-pipeline span { padding-left: 18px; }
  .process-pipeline b { margin: 0; }
  .process-pipeline p { grid-column: 2; margin-top: 14px; max-width: none; }
  .project-filter__layout { gap: 70px; }
  .project-filter__layout > div:first-child > p { margin-top: 34px; }
  .contact__heading > p { margin-top: 34px; }
  .contact-form { margin-top: 70px; }
  .field { padding: 22px 18px; }
  .button--submit { width: 100%; }
}

@media (max-width: 430px) {
  .section-index { align-items: flex-start; }
  .section-heading h2,
  .logic-copy h2,
  .project-filter h2,
  .contact__heading h2 { font-size: clamp(41px, 11.8vw, 52px); }
  .manual-chain .chain-human { color: #929890; }
  .logic-sequence small { display: none; }
  .capability-matrix li { padding: 16px; font-size: 15px; }
  .delivery-note strong { font-size: 76px; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
  .architecture__signal i { animation: none; left: 50%; }
  .case::before { display: none; }
}
