/*
   OS4 Solutions
   Original static identity and interface system
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-500-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #0b0d0c;
  --ink-soft: #151816;
  --paper: #f4f2eb;
  --paper-deep: #e9e6dc;
  --white: #fffefa;
  --muted: #676b65;
  --muted-dark: #a7aaa2;
  --line: rgba(11, 13, 12, 0.16);
  --line-dark: rgba(244, 242, 235, 0.17);
  --signal: #ff4f78;
  --signal-deep: #e73262;
  --periwinkle: #aebcff;
  --periwinkle-soft: #dce2ff;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1280px, calc(100vw - 80px));
  --header-height: 88px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(104px, 11vw, 176px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--signal);
  color: var(--ink);
  font-weight: 800;
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--periwinkle);
  outline-offset: 4px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  transition:
    transform 240ms var(--ease-out),
    background-color 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-small {
  min-height: 46px;
  gap: 15px;
  padding-inline: 20px;
  font-size: 13px;
}

.button-accent {
  background: var(--signal);
  color: var(--ink);
}

.button-accent:hover {
  background: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #252925;
}

.button-arrow {
  font-size: 18px;
  transition: transform 240ms var(--ease-out);
}

.button:hover .button-arrow {
  transform: translate(3px, -3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-block: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  transition: gap 220ms var(--ease-out), opacity 220ms ease;
}

.text-link:hover {
  gap: 25px;
  opacity: 0.68;
}

.section-index,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: end;
  gap: clamp(48px, 8vw, 128px);
  margin-bottom: clamp(56px, 7vw, 104px);
}

.section-heading h2 {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: clamp(52px, 6vw, 90px);
}

.section-heading > p {
  max-width: 480px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.section-heading-light > p {
  color: var(--muted-dark);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--paper);
  transition:
    height 300ms var(--ease-out),
    background-color 300ms ease,
    color 300ms ease,
    box-shadow 300ms ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(244, 242, 235, 0.9);
  box-shadow: 0 1px 0 rgba(11, 13, 12, 0.1);
  color: var(--ink);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1;
}

.brand-mark {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-mark-orbit {
  stroke: currentColor;
  stroke-width: 3.5;
}

.brand-mark-accent {
  stroke: var(--signal);
  stroke-width: 3.5;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-rule {
  width: 1px;
  height: 19px;
  background: currentColor;
  opacity: 0.28;
}

.brand-subtitle {
  opacity: 0.72;
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding-block: 10px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.74;
  transition: opacity 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 240ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  opacity: 1;
}

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

.header-cta {
  margin-left: 12px;
  background: var(--paper);
  color: var(--ink);
}

.site-header.is-scrolled .header-cta {
  background: var(--ink);
  color: var(--paper);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(980px, 100svh);
  padding-top: var(--header-height);
  background:
    radial-gradient(circle at 84% 18%, rgba(174, 188, 255, 0.12), transparent 28%),
    radial-gradient(circle at 54% 88%, rgba(255, 79, 120, 0.07), transparent 26%),
    var(--ink);
  color: var(--paper);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(244, 242, 235, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 235, 0.13) 1px, transparent 1px);
  background-position: center center;
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 74%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(min(980px, 100svh) - var(--header-height) - 78px);
  grid-template-columns: minmax(0, 0.96fr) minmax(460px, 0.84fr);
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
  padding-block: 80px 94px;
}

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

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(35px, 5vh, 68px);
  color: #bdc0b9;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 79, 120, 0.35);
  animation: signal-pulse 2.4s infinite;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 79, 120, 0.4); }
  70% { box-shadow: 0 0 0 9px rgba(255, 79, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 79, 120, 0); }
}

.hero h1 {
  margin-bottom: 34px;
  font-size: clamp(70px, 7.7vw, 118px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero h1 span {
  display: inline-block;
  color: var(--signal);
}

.hero-lede {
  max-width: 670px;
  margin-bottom: 36px;
  color: #b9bdb6;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 64px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-dark);
  color: #7f837e;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  list-style: none;
  text-transform: uppercase;
}

.hero-visual {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: 100%;
  max-width: 620px;
  min-height: 610px;
  justify-self: end;
  perspective: 1300px;
}

.release-window {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(100%, 540px);
  overflow: hidden;
  transform: translate(-50%, -50%) rotateX(var(--rx)) rotateY(var(--ry));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(20, 23, 21, 0.9);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 600ms var(--ease-out);
}

.window-bar {
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-dark);
  color: #8b9089;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.window-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-logo {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.window-state {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.window-body {
  padding: 27px 27px 25px;
}

.release-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 37px;
}

.release-heading span {
  display: block;
  margin-bottom: 7px;
  color: #7a7e78;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.release-heading strong {
  display: block;
  color: var(--paper);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.release-badge {
  padding: 7px 10px;
  border: 1px solid rgba(255, 79, 120, 0.4);
  border-radius: 999px;
  background: rgba(255, 79, 120, 0.09);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 31px;
}

.pipeline-line {
  position: absolute;
  z-index: 0;
  top: 13px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: #343934;
}

.pipeline-line::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 1px;
  background: var(--signal);
  content: "";
}

.pipeline-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.stage-node {
  display: grid;
  width: 27px;
  height: 27px;
  margin: 0 auto 12px;
  place-items: center;
  border: 1px solid #3e433f;
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--ink);
  font-size: 10px;
}

.pipeline-stage.is-complete .stage-node {
  border-color: var(--signal);
  background: var(--signal);
}

.pipeline-stage.is-active .stage-node {
  border-color: var(--signal);
  box-shadow: 0 0 0 6px rgba(255, 79, 120, 0.08);
}

.pipeline-stage.is-active .stage-node i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: stage-blink 1.5s infinite;
}

@keyframes stage-blink {
  50% { opacity: 0.3; transform: scale(0.72); }
}

.pipeline-stage strong,
.pipeline-stage small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-stage strong {
  margin-bottom: 3px;
  color: #d7d9d3;
  font-size: 10px;
  font-weight: 700;
}

.pipeline-stage small {
  color: #6c716b;
  font-family: var(--font-mono);
  font-size: 7px;
}

.terminal-line {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  background: #0d0f0e;
  color: #9da29a;
  font-size: 10px;
}

.terminal-prompt {
  margin-right: 10px;
  color: var(--signal);
}

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

.terminal-cursor {
  width: 6px;
  height: 13px;
  margin-left: 5px;
  background: var(--periwinkle);
  animation: cursor-blink 1.05s steps(2) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 11px;
}

.signal-grid div {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-grid span,
.signal-grid strong {
  display: block;
}

.signal-grid span {
  margin-bottom: 5px;
  color: #666b65;
  font-family: var(--font-mono);
  font-size: 7px;
  text-transform: uppercase;
}

.signal-grid strong {
  color: #c4c7c0;
  font-size: 9px;
  font-weight: 700;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(174, 188, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 18px var(--periwinkle);
  content: "";
}

.orbit-one {
  width: 600px;
  height: 600px;
  animation: orbit-spin 30s linear infinite;
}

.orbit-one::before { top: 44px; left: 115px; }
.orbit-one::after { right: 36px; bottom: 151px; background: var(--signal); }

.orbit-two {
  width: 450px;
  height: 450px;
  border-style: dashed;
  animation: orbit-spin-reverse 25s linear infinite;
}

.orbit-two::before { top: 86px; right: 23px; width: 4px; height: 4px; }
.orbit-two::after { bottom: 51px; left: 76px; width: 4px; height: 4px; }

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.floating-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(11, 13, 12, 0.82);
  color: #a6aaa3;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.note-top {
  top: 70px;
  right: -20px;
  gap: 9px;
  padding: 10px 14px;
  animation: float-note 4.5s ease-in-out infinite;
}

.note-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.note-bottom {
  bottom: 68px;
  left: -21px;
  padding: 10px 15px;
  color: var(--periwinkle);
  animation: float-note 4.5s 1.2s ease-in-out infinite;
}

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

@keyframes float-note {
  50% { transform: translateY(-8px); }
}

.hero-ticker {
  position: relative;
  z-index: 4;
  height: 78px;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.ticker-track,
.ticker-set {
  display: flex;
  height: 100%;
  align-items: center;
  flex-shrink: 0;
}

.ticker-track {
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-set span {
  margin-inline: 28px;
  color: #858a83;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ticker-set i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--signal);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Manifesto */

.manifesto {
  background: var(--paper);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.24fr 1fr;
  gap: clamp(40px, 8vw, 130px);
}

.display-heading {
  max-width: 1040px;
  margin-bottom: 72px;
  font-size: clamp(50px, 6.6vw, 98px);
  font-weight: 500;
  line-height: 1.02;
}

.display-heading em {
  font-style: normal;
  background-image: linear-gradient(var(--periwinkle-soft), var(--periwinkle-soft));
  background-position: 0 89%;
  background-repeat: no-repeat;
  background-size: 100% 19%;
}

.manifesto-foot {
  display: grid;
  grid-template-columns: minmax(0, 580px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.manifesto-foot p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.round-link {
  display: flex;
  width: 92px;
  height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}

.round-link:hover {
  transform: rotate(8deg) scale(1.05);
  background: var(--signal);
}

/* Services */

.services {
  padding-top: 0;
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  min-height: 570px;
  flex-direction: column;
  padding: clamp(30px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 25px 60px rgba(11, 13, 12, 0.09);
}

.service-card-accent {
  border-color: transparent;
  background: var(--periwinkle-soft);
}

.service-card-dark {
  border-color: transparent;
  background: var(--ink);
  color: var(--paper);
}

.service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.service-card-dark .service-topline {
  color: var(--muted-dark);
}

.service-topline svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-card h3 {
  max-width: 340px;
  margin: 58px 0 22px;
  font-size: clamp(36px, 3.1vw, 49px);
  line-height: 1.02;
}

.service-card > p {
  min-height: 78px;
  margin-bottom: 27px;
  color: var(--muted);
  line-height: 1.6;
}

.service-card-dark > p {
  color: var(--muted-dark);
}

.service-card ul {
  margin: 0 0 38px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card-dark ul {
  border-color: var(--line-dark);
}

.service-card li {
  position: relative;
  padding: 5px 0 5px 17px;
  color: var(--muted);
  font-size: 13px;
}

.service-card-dark li {
  color: #aeb2aa;
}

.service-card li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-deep);
  content: "";
}

.service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.service-card-dark > a {
  border-color: var(--line-dark);
}

.service-card > a span {
  transition: transform 220ms var(--ease-out);
}

.service-card > a:hover span {
  transform: translate(4px, -4px);
}

/* Missions / tabs */

.missions {
  background: var(--ink);
  color: var(--paper);
}

.mission-tabs {
  border-top: 1px solid var(--line-dark);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-dark);
}

.tab-list button {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 0 27px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: #7f847d;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  text-align: left;
  transition: color 240ms ease, background-color 240ms ease;
}

.tab-list button:last-child {
  border-right: 0;
}

.tab-list button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  transform: scaleX(0);
  background: var(--signal);
  content: "";
  transition: transform 320ms var(--ease-out);
}

.tab-list button span {
  font-family: var(--font-mono);
  font-size: 9px;
}

.tab-list button:hover,
.tab-list button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper);
}

.tab-list button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.tab-panels > section {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1fr);
  gap: clamp(70px, 10vw, 150px);
  align-items: center;
  padding: clamp(60px, 7vw, 100px) clamp(0px, 2vw, 26px);
}

.tab-panels > section[hidden] {
  display: none;
}

.js:not(.is-ready) .tab-panels > section:not(:first-child) {
  display: none;
}

.mission-copy {
  animation: panel-enter 500ms var(--ease-out) both;
}

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

.mission-label {
  margin-bottom: 24px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mission-copy h3 {
  max-width: 580px;
  margin-bottom: 29px;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
}

.mission-copy > p:not(.mission-label) {
  max-width: 560px;
  color: var(--muted-dark);
  font-size: 17px;
}

.outcome-list {
  margin: 35px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.outcome-list li {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  color: #c9cbc5;
  font-size: 13px;
}

.outcome-list span {
  color: var(--signal);
}

.mission-diagram {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #111411;
  background-size: 36px 36px;
  animation: panel-enter 550ms 70ms var(--ease-out) both;
}

.diagram-label {
  display: flex;
  justify-content: space-between;
  color: #70756e;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.route {
  position: absolute;
  top: 50%;
  right: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transform: translateY(-50%);
}

.route-line {
  position: absolute;
  top: 22px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: #323731;
}

.route-line::after {
  display: block;
  width: 67%;
  height: 100%;
  background: var(--signal);
  content: "";
}

.route-node {
  position: relative;
  z-index: 2;
  text-align: center;
}

.route-node b {
  display: grid;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  place-items: center;
  border: 1px solid #3c413b;
  border-radius: 50%;
  background: #111411;
  color: #656a64;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
}

.route-node.is-done b {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.route-node.is-active b {
  border-color: var(--signal);
  color: var(--signal);
  box-shadow: 0 0 0 8px rgba(255, 79, 120, 0.08);
}

.route-node span {
  color: #8a8f88;
  font-size: 10px;
}

.diagram-readout {
  position: absolute;
  right: 30px;
  bottom: 26px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  border-top: 1px solid var(--line-dark);
}

.diagram-readout span {
  color: #686d66;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.diagram-readout strong {
  color: #c5c8c1;
  font-size: 10px;
  font-weight: 600;
}

.risk-bars {
  position: absolute;
  top: 89px;
  right: 30px;
  left: 30px;
}

.risk-bars div {
  display: grid;
  grid-template-columns: 105px 1fr 18px;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.risk-bars span {
  color: #8d918b;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.risk-bars i {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #292d29;
}

.risk-bars i::after {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--signal);
  content: "";
}

.risk-bars b {
  color: var(--signal);
  font-size: 11px;
}

.capacity-graph {
  position: absolute;
  top: 84px;
  right: 30px;
  left: 30px;
  height: 230px;
}

.capacity-graph svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
}

.graph-grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.graph-line-shadow {
  stroke: rgba(255, 79, 120, 0.1);
  stroke-width: 18;
}

.graph-line {
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-width: 2.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: graph-draw 2s 200ms var(--ease-out) forwards;
}

@keyframes graph-draw {
  to { stroke-dashoffset: 0; }
}

/* Systems visual */

.systems-story {
  background: var(--paper);
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.68fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: clamp(60px, 9vw, 138px);
}

.systems-copy h2 {
  margin: 26px 0 31px;
  font-size: clamp(50px, 5.5vw, 82px);
  font-weight: 500;
  line-height: 1.03;
}

.systems-copy > p:not(.section-index) {
  max-width: 555px;
  color: var(--muted);
  font-size: 17px;
}

.system-principles {
  margin-top: 51px;
  border-top: 1px solid var(--line);
}

.system-principles div {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.system-principles span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.system-principles p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.systems-figure {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: 0 35px 80px rgba(11, 13, 12, 0.18);
}

.systems-figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.06), transparent 50%, rgba(0, 0, 0, 0.7));
  content: "";
  pointer-events: none;
}

.systems-figure img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  object-position: 57% center;
  transition: transform 1s var(--ease-out);
}

.systems-figure:hover img {
  transform: scale(1.025);
}

.figure-topline,
.systems-figure figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  left: 28px;
  color: #a7aba4;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.figure-topline {
  top: 25px;
  display: flex;
  justify-content: space-between;
}

.systems-figure figcaption {
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.figure-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 17px var(--signal);
}

/* Approach */

.approach {
  background: var(--periwinkle-soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(500px, 1fr);
  align-items: start;
  gap: clamp(70px, 11vw, 175px);
}

.approach-intro {
  position: sticky;
  top: 130px;
}

.approach-intro h2 {
  margin: 27px 0 35px;
  font-size: clamp(53px, 5.9vw, 86px);
  font-weight: 500;
  line-height: 0.98;
}

.approach-intro > p:not(.section-index) {
  max-width: 460px;
  margin-bottom: 35px;
  color: #535a68;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(11, 13, 12, 0.19);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 25px;
  padding: 45px 0 49px;
  border-bottom: 1px solid rgba(11, 13, 12, 0.19);
}

.process-number {
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
}

.process-list h3 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.process-list p {
  max-width: 600px;
  margin-bottom: 23px;
  color: #555c69;
}

.process-output {
  color: #696f7c;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

/* About */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(450px, 0.92fr) minmax(400px, 0.75fr);
  align-items: center;
  gap: clamp(70px, 11vw, 170px);
}

.identity-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
}

.identity-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.identity-card::before {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(174, 188, 255, 0.3);
  border-radius: 50%;
  content: "";
}

.identity-topline,
.identity-footer {
  position: absolute;
  z-index: 3;
  right: 28px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.identity-topline { top: 26px; color: #868b84; }
.identity-footer { bottom: 25px; color: #aeb2aa; }

.identity-monogram {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--paper);
  font-size: clamp(140px, 16vw, 240px);
  font-weight: 500;
  letter-spacing: -0.14em;
  line-height: 1;
}

.identity-monogram::after {
  position: absolute;
  right: 3%;
  bottom: 6%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 30px rgba(255, 79, 120, 0.7);
  content: "";
}

.identity-orbit {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  animation: orbit-spin 25s linear infinite;
}

.identity-orbit i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--periwinkle);
  box-shadow: 0 0 16px var(--periwinkle);
}

.identity-orbit i:nth-child(1) { top: -3px; left: 50%; }
.identity-orbit i:nth-child(2) { right: 7%; bottom: 22%; background: var(--signal); }
.identity-orbit i:nth-child(3) { bottom: 8%; left: 16%; width: 4px; height: 4px; }

.about-copy h2 {
  max-width: 600px;
  margin: 26px 0 33px;
  font-size: clamp(52px, 5.7vw, 84px);
  font-weight: 500;
  line-height: 1.01;
}

.about-copy > p {
  max-width: 620px;
  color: var(--muted);
}

.about-copy .about-lede {
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.58;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 43px 0 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
  overflow: hidden;
}

.about-facts div {
  min-width: 0;
  padding: 20px 16px;
  background: var(--paper);
}

.about-facts dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.07em;
}

.about-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.about-copy blockquote {
  margin: 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}

/* Fit */

.fit {
  background: var(--paper-deep);
}

.fit-heading {
  display: grid;
  grid-template-columns: 0.25fr 1fr;
  align-items: start;
  gap: 60px;
  margin-bottom: clamp(56px, 7vw, 95px);
}

.fit-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(55px, 6.5vw, 94px);
  font-weight: 500;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.fit-grid article {
  min-height: 365px;
  padding: 31px 35px 25px 0;
  border-right: 1px solid var(--line);
}

.fit-grid article:not(:first-child) {
  padding-left: 35px;
}

.fit-grid article:last-child {
  border-right: 0;
}

.fit-grid article > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.fit-grid h3 {
  max-width: 390px;
  margin: 85px 0 22px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.08;
}

.fit-grid p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(550px, 1fr);
  align-items: start;
  gap: clamp(80px, 12vw, 185px);
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro h2 {
  margin: 26px 0 28px;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
}

.faq-intro > p:not(.section-index) {
  max-width: 430px;
  margin-bottom: 28px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  cursor: pointer;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.025em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  content: "";
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: var(--signal);
}

.faq-list details p {
  max-width: 710px;
  margin: -8px 65px 36px 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Contact */

.contact {
  background: var(--signal);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(330px, 0.75fr) minmax(550px, 1fr);
  align-items: start;
  gap: clamp(80px, 10vw, 155px);
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy h2 {
  max-width: 610px;
  margin: 28px 0 33px;
  font-size: clamp(55px, 6vw, 90px);
  font-weight: 500;
  line-height: 0.98;
}

.contact-copy > p:not(.section-index) {
  max-width: 530px;
  font-size: 17px;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 17px;
  margin-top: 52px;
  padding-top: 21px;
  border-top: 1px solid rgba(11, 13, 12, 0.25);
  font-size: 12px;
}

.contact-direct > span:first-child {
  color: rgba(11, 13, 12, 0.58);
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
}

.contact-direct a {
  font-weight: 800;
}

.contact-direct button {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.copy-status {
  width: 100%;
  min-height: 1.4em;
  color: rgba(11, 13, 12, 0.65);
  font-size: 10px;
}

.contact-form {
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 35px 80px rgba(43, 53, 20, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.field {
  position: relative;
  margin-bottom: 24px;
}

.field label,
.project-choice legend {
  display: block;
  margin-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field label span {
  color: var(--muted);
  text-transform: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input {
  height: 58px;
  padding-inline: 17px;
}

.field textarea {
  min-height: 150px;
  padding: 16px 17px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #999d96;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(174, 188, 255, 0.35);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #b62626;
}

.field-error {
  display: block;
  min-height: 17px;
  padding-top: 4px;
  color: #a32626;
  font-size: 10px;
}

.project-choice {
  margin: 0 0 27px;
  padding: 0;
  border: 0;
}

.project-choice > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.project-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.project-choice label {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.project-choice input:focus-visible + label {
  outline: 3px solid var(--periwinkle);
  outline-offset: 2px;
}

.project-choice input:checked + label {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 8px;
}

.form-footer p {
  max-width: 245px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.form-footer .button {
  flex: 0 0 auto;
}

.form-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
}

/* Footer */

.site-footer {
  padding: 80px 0 27px;
  background: var(--ink);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 50px;
  padding-bottom: 88px;
}

.brand-footer {
  justify-self: start;
}

.footer-top > p {
  margin: 0;
  color: #989d95;
  font-size: 13px;
  line-height: 1.55;
}

.footer-up {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: #80857e;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #aeb2aa;
}

/* Reveal system */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}

.js .reveal[data-reveal-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-reveal-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-reveal-delay="3"] { transition-delay: 270ms; }
.js .reveal[data-reveal-delay="4"] { transition-delay: 360ms; }

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1180px) {
  :root {
    --shell: min(1120px, calc(100vw - 56px));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(410px, 0.8fr);
    gap: 36px;
  }

  .hero-visual {
    min-height: 550px;
  }

  .orbit-one { width: 520px; height: 520px; }
  .orbit-two { width: 400px; height: 400px; }

  .service-card {
    min-height: 600px;
  }

  .systems-grid,
  .about-grid {
    gap: 70px;
  }

  .systems-figure,
  .systems-figure img {
    min-height: 590px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 300ms var(--ease-out);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: block;
    visibility: hidden;
    transform: translateY(-100%);
    background: var(--ink);
    color: var(--paper);
    opacity: 0;
    transition:
      transform 500ms var(--ease-out),
      opacity 350ms ease,
      visibility 0s 500ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0s;
  }

  .mobile-menu-inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
  }

  .mobile-menu-inner > a:not(.button) {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: clamp(34px, 7vw, 55px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.1;
  }

  .mobile-menu-inner > a:not(.button) span {
    color: #737871;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0;
  }

  .mobile-menu-inner .button {
    align-self: flex-start;
    margin-top: 37px;
  }

  .mobile-menu-inner p {
    margin: auto 0 30px;
    color: #7d827b;
    font-size: 11px;
  }

  .site-header.menu-active {
    color: var(--paper);
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .desktop-nav {
    position: absolute;
    top: 100%;
    right: 28px;
    left: 28px;
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 7px 0 11px;
    border-bottom: 1px solid var(--line-dark);
    background: var(--ink);
    color: var(--paper);
    white-space: nowrap;
    scrollbar-width: none;
  }

  .no-js .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 105px 0 70px;
  }

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

  .hero h1 {
    font-size: clamp(75px, 12vw, 112px);
  }

  .hero-lede {
    max-width: 630px;
  }

  .hero-visual {
    width: min(100%, 680px);
    min-height: 590px;
    justify-self: center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading > p {
    margin: 0;
  }

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

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

  .service-card:last-child {
    min-height: 500px;
    grid-column: 1 / -1;
  }

  .tab-panels > section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .mission-copy {
    max-width: 680px;
  }

  .systems-grid,
  .approach-grid,
  .about-grid,
  .faq-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .systems-copy {
    max-width: 720px;
  }

  .systems-figure {
    min-height: 680px;
  }

  .systems-figure img {
    min-height: 680px;
  }

  .approach-intro,
  .faq-intro,
  .contact-copy {
    position: static;
    max-width: 720px;
  }

  .identity-card {
    min-height: 700px;
  }

  .about-copy {
    max-width: 750px;
  }

  .fit-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .fit-grid article,
  .fit-grid article:not(:first-child) {
    min-height: auto;
    padding: 30px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fit-grid h3 {
    max-width: 700px;
    margin-top: 45px;
  }

  .fit-grid p {
    max-width: 620px;
  }

  .contact-form {
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100vw - 36px);
    --radius: 16px;
    --radius-lg: 23px;
  }

  .section-pad {
    padding-block: 94px;
  }

  .brand-subtitle,
  .brand-rule {
    display: none;
  }

  .hero-inner {
    padding-top: 85px;
  }

  .hero .eyebrow {
    align-items: flex-start;
    margin-bottom: 36px;
    font-size: 9px;
  }

  .status-dot {
    margin-top: 3px;
  }

  .hero h1 {
    margin-bottom: 27px;
    font-size: clamp(57px, 18vw, 84px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-meta {
    gap: 10px 17px;
    margin-top: 47px;
  }

  .hero-visual {
    min-height: 460px;
    margin-top: 20px;
  }

  .release-window {
    width: calc(100% - 6px);
    border-radius: 17px;
  }

  .window-bar {
    height: 57px;
    padding-inline: 16px;
  }

  .window-body {
    padding: 22px 16px 18px;
  }

  .release-heading {
    margin-bottom: 27px;
  }

  .release-heading strong {
    font-size: 21px;
  }

  .release-badge {
    font-size: 7px;
  }

  .pipeline-stage small {
    display: none;
  }

  .pipeline-stage strong {
    font-size: 8px;
  }

  .terminal-line {
    min-height: 46px;
  }

  .signal-grid div {
    padding: 9px 7px;
  }

  .signal-grid strong {
    font-size: 7px;
  }

  .signal-grid span {
    font-size: 6px;
  }

  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 340px; height: 340px; }

  .note-top { top: 14px; right: -5px; }
  .note-bottom { bottom: 2px; left: 4px; }

  .hero-ticker {
    height: 64px;
  }

  .display-heading {
    margin-bottom: 46px;
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .manifesto-foot {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .round-link {
    width: 78px;
    height: 78px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2 {
    font-size: clamp(45px, 13vw, 64px);
  }

  .section-heading > p {
    font-size: 15px;
  }

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

  .service-card,
  .service-card:last-child {
    min-height: 530px;
    grid-column: auto;
  }

  .service-card h3 {
    font-size: 40px;
  }

  .tab-list button {
    min-height: 72px;
    justify-content: center;
    gap: 7px;
    padding-inline: 8px;
    font-size: 14px;
  }

  .tab-list button span {
    display: none;
  }

  .tab-panels > section {
    min-height: 0;
    padding-block: 55px;
  }

  .mission-copy h3 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .mission-diagram {
    min-height: 390px;
    padding: 22px 18px;
  }

  .route {
    right: 18px;
    left: 18px;
  }

  .route-node b {
    width: 38px;
    height: 38px;
  }

  .route-line {
    top: 18px;
  }

  .route-node span {
    font-size: 8px;
  }

  .diagram-readout {
    right: 18px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .risk-bars {
    right: 18px;
    left: 18px;
  }

  .risk-bars div {
    grid-template-columns: 76px 1fr 15px;
    gap: 10px;
  }

  .capacity-graph {
    right: 18px;
    left: 18px;
  }

  .systems-copy h2,
  .approach-intro h2,
  .about-copy h2,
  .fit-heading h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(45px, 13vw, 62px);
  }

  .systems-figure,
  .systems-figure img {
    min-height: 510px;
  }

  .systems-figure img {
    object-position: 63% center;
  }

  .process-list li {
    grid-template-columns: 43px 1fr;
    gap: 13px;
    padding-block: 37px;
  }

  .process-list h3 {
    font-size: 31px;
  }

  .identity-card {
    min-height: 510px;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .about-facts dt {
    margin-bottom: 0;
  }

  .fit-grid h3 {
    font-size: 32px;
  }

  .faq-list summary {
    min-height: 96px;
    font-size: 18px;
  }

  .faq-list details p {
    margin-right: 5px;
  }

  .contact-form {
    padding: 27px 19px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-choice > div {
    grid-template-columns: 1fr 1fr;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 30px;
    padding-bottom: 60px;
  }

  .footer-up {
    justify-self: start;
  }

  .footer-bottom {
    gap: 12px;
  }
}

.no-js .tab-list {
  display: none;
}

.no-js .tab-panels > section + section {
  border-top: 1px solid var(--line-dark);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-track {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .service-card,
  .contact-form,
  .release-window {
    border: 1px solid CanvasText;
  }

  .status-dot,
  .figure-signal,
  .stage-node,
  .brand-mark-accent {
    forced-color-adjust: auto;
  }
}
