/* src/styles/site.css */
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/jost-var.woff2) format("woff2");
}
:root {
  --night: #07070d;
  --surface: #0d0d18;
  --surface-raised: #151529;
  --surface-strong: #26204f;
  --text: #f4f3fb;
  --text-muted: #aaa9bd;
  --brand-violet: #737bff;
  --brand-violet-light: #adb3ff;
  --line: #2b2a45;
  --line-strong: #67648a;
  --font-display:
    Jost,
    "Avenir Next",
    "Century Gothic",
    sans-serif;
  --font-body:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  --font-mono:
    "SFMono-Regular",
    Menlo,
    Monaco,
    Consolas,
    monospace;
  --container: 1240px;
  --reading: 760px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  color-scheme: dark;
  color: var(--text);
  background: var(--night);
  font-family: var(--font-body);
  font-synthesis: none;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  background: var(--night);
  color: var(--text);
}
::selection {
  background: rgb(115 123 255 / 34%);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
summary {
  font: inherit;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(3.15rem, 5.8vw, 5.35rem);
}
h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}
p {
  color: var(--text-muted);
  font-size: 1rem;
}
:focus-visible {
  outline: 3px solid var(--brand-violet-light);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  border-radius: 6px;
  background: var(--brand-violet);
  color: var(--night);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--night);
}
.site-header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100%, var(--container));
  min-height: 78px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: max-content;
  text-decoration: none;
}
.brand__symbol {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.brand__wordmark {
  color: #f4f4f6;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 620;
  letter-spacing: -.035em;
  line-height: 1;
}
.brand__wordmark-final-i {
  position: relative;
  display: inline-block;
}
.brand__wordmark-final-i::after {
  position: absolute;
  top: .025em;
  left: 55%;
  width: .27em;
  height: .27em;
  border-radius: 50%;
  background: var(--brand-violet);
  content: "";
  transform: translateX(-50%);
}
.site-nav {
  justify-self: end;
}
.site-nav ul,
.mobile-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.2vw, 1.9rem);
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 1.7rem 0;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  height: 2px;
  background: var(--brand-violet);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.site-nav a:hover,
.site-nav a[aria-current=page] {
  color: var(--text);
}
.site-nav a:hover::after,
.site-nav a[aria-current=page]::after {
  transform: scaleX(1);
}
.language-switch {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-left: clamp(1rem, 2.5vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand-violet-light);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease;
}
.language-switch:hover {
  border-color: var(--brand-violet);
  background: rgb(115 123 255 / 10%);
}
.mobile-nav {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.2rem;
  color: var(--brand-violet);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}
.eyebrow > span {
  display: block;
  width: 24px;
  height: 2px;
  overflow: hidden;
  background: currentColor;
  color: transparent;
}
.eyebrow--light {
  color: var(--brand-violet-light);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  min-height: 52px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--signal {
  background: var(--brand-violet);
  color: var(--night);
}
.button--signal:hover {
  background: #55c27b;
}
.button--paper {
  border-color: var(--brand-violet-light);
  background: var(--text);
  color: var(--night);
}
.button--paper:hover {
  border-color: var(--text);
  background: var(--brand-violet-light);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--brand-violet-light);
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: rgb(115 123 255 / 48%);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover {
  color: var(--brand-violet);
  text-decoration-color: currentColor;
}
.text-link--light {
  color: var(--text);
  text-decoration-color: rgb(241 245 242 / 38%);
}
.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-heading h2 {
  margin-bottom: 1.25rem;
}
.section-heading__summary {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
}
.section-heading--center {
  margin-inline: auto;
  text-align: center;
}
.section-heading--center .eyebrow {
  justify-content: center;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 4.5rem);
  width: min(100%, var(--container));
  min-height: min(780px, calc(100vh - 78px));
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
}
.hero__copy {
  max-width: 760px;
}
.hero h1 {
  max-width: 780px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.35rem, 4.65vw, 4.7rem);
  line-height: 1.03;
}
.hero__summary {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero__visual,
.operation-flow {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
}
.operation-flow::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  border-radius: 16px 0 0 16px;
  background: var(--brand-violet);
  content: "";
}
.operation-flow__intro {
  max-width: 390px;
  margin-bottom: 2rem;
  padding-left: .5rem;
  color: var(--brand-violet-light);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.operation-flow__sequence {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.operation-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.25rem;
  padding: 1.35rem .5rem;
  border-top: 1px solid var(--line);
}
.operation-flow__step strong,
.operation-flow__step p {
  grid-column: 2;
}
.operation-flow__step strong {
  color: var(--text);
  line-height: 1.35;
}
.operation-flow__step--result {
  padding-bottom: .5rem;
}
.operation-flow__label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: .67rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.operation-flow__step p {
  margin: 0;
  color: var(--text);
  font-weight: 570;
  line-height: 1.45;
}
.operation-flow__step--system p {
  color: var(--brand-violet);
}
.operation-flow__step--result p {
  color: var(--brand-violet-light);
}
.operation-flow__connector {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -14px 0 -14px 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--brand-violet-light);
  font-size: .8rem;
  font-weight: 760;
  transform: rotate(90deg);
}
.tuner-section,
.approach-section,
.insights-section,
.capability-ledger,
.principles-panel {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}
.tuner-section {
  position: relative;
}
.tuner-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  background: var(--surface);
  content: "";
}
.systems-tuner {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-raised);
}
.systems-tuner__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.systems-tuner__tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .75rem;
  min-height: 80px;
  min-width: 0;
  padding: 1.25rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--night);
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition:
    background 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}
.systems-tuner__tabs button:last-child {
  border-right: 0;
}
.systems-tuner__tabs button:hover {
  background: rgb(115 123 255 / 9%);
  color: var(--brand-violet-light);
}
.systems-tuner__tabs button[aria-selected=true] {
  background: var(--surface-raised);
  box-shadow: inset 0 -4px 0 var(--brand-violet);
  color: var(--text);
}
.systems-tuner__tabs button:focus-visible,
.mobile-nav a:focus-visible {
  outline-offset: -3px;
}
.systems-tuner__tab-number {
  color: var(--brand-violet);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 720;
}
.systems-tuner__tab-label {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 620;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.systems-tuner__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  min-height: 460px;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.systems-tuner__panel:focus {
  outline-offset: -4px;
}
.systems-tuner__readout {
  align-self: center;
}
.systems-tuner__readout h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
}
.systems-tuner__readout > p {
  max-width: 620px;
  font-size: 1.08rem;
}
.systems-tuner__outcome {
  margin-top: 2rem;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 4px solid var(--brand-violet-light);
}
.systems-tuner__outcome span,
.systems-tuner__signals > span {
  display: block;
  margin-bottom: .45rem;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.systems-tuner__outcome p {
  margin: 0;
  color: var(--brand-violet-light);
  font-weight: 620;
}
.systems-tuner__signals {
  margin-top: 2rem;
}
.systems-tuner__signals ul,
.capability-entry__copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  margin: .75rem 0 0;
  list-style: none;
}
.systems-tuner__signals li,
.capability-entry__copy li {
  padding: .38rem .65rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--night);
  color: var(--brand-violet-light);
  font-size: .75rem;
  font-weight: 590;
}
.systems-tuner__diagram,
.capability-entry__diagram {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 300px;
  padding: clamp(1rem, 3vw, 2.25rem);
  border-radius: 12px;
  background: var(--night);
  color: var(--brand-violet);
}
.system-diagram {
  width: 100%;
  max-width: 520px;
  color: var(--brand-violet);
}
.system-diagram__wires {
  color: var(--line-strong);
}
.system-diagram__nodes .system-diagram__node {
  fill: var(--surface-raised);
  stroke: currentColor;
  stroke-width: 2;
}
.system-diagram__node--source {
  color: var(--text-muted);
}
.system-diagram__node--core {
  color: var(--brand-violet);
}
.system-diagram__node--result {
  color: var(--brand-violet-light);
}
.system-diagram__points {
  fill: var(--brand-violet);
}
.approach-section {
  position: relative;
}
.approach-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  background: var(--surface-raised);
  content: "";
}
.approach-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
  list-style: none;
}
.approach-timeline li {
  min-height: 310px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
}
.approach-timeline__number {
  display: block;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  color: var(--brand-violet);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 720;
}
.approach-timeline :is(h2, h3) {
  margin-bottom: .85rem;
  font-size: 1.45rem;
}
.approach-timeline p {
  margin-bottom: 0;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}
.insight-card {
  min-height: 310px;
  padding: clamp(1.75rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--line-strong);
}
.insight-card:nth-child(odd) {
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line-strong);
}
.insight-card:nth-child(even) {
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}
.insight-card:only-child {
  grid-column: 1 / -1;
  padding-right: 0;
  border-right: 0;
}
.insight-card:only-child :is(h2, h3),
.insight-card:only-child p {
  max-width: 760px;
}
.insight-card :is(h2, h3) {
  max-width: 560px;
  margin: 0 0 1rem;
}
.insight-card p {
  max-width: 580px;
  margin-bottom: 0;
}
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  width: 100%;
  padding: clamp(4.5rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: var(--surface-strong);
  color: var(--text);
}
.contact-band h2 {
  max-width: 840px;
  margin-bottom: 1.2rem;
}
.contact-band p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgb(241 245 242 / 74%);
  font-size: 1.08rem;
}
.page-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 860px) 1fr;
  align-items: end;
  gap: 4rem;
  width: min(100%, var(--container));
  min-height: 470px;
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  border-bottom: 1px solid var(--line-strong);
}
.page-intro::after {
  justify-self: end;
  width: min(100%, 240px);
  height: 7px;
  margin-bottom: .8rem;
  border-right: 56px solid var(--brand-violet-light);
  background: var(--brand-violet);
  content: "";
}
.page-intro h1 {
  margin-bottom: 1.4rem;
}
.page-intro__copy > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}
.capability-ledger {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.capability-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  border-top: 1px solid var(--line-strong);
}
.capability-entry:last-child {
  border-bottom: 1px solid var(--line-strong);
}
.capability-entry__copy {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem) 0;
}
.capability-entry__copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}
.capability-entry__copy > p {
  max-width: 650px;
  font-size: 1.08rem;
}
.capability-entry__copy > div {
  max-width: 650px;
  margin-top: 2rem;
  padding-left: 1.1rem;
  border-left: 4px solid var(--brand-violet-light);
}
.capability-entry__copy > div span {
  display: block;
  margin-bottom: .4rem;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.capability-entry__copy > div strong {
  color: var(--brand-violet-light);
  font-weight: 650;
}
.capability-entry__diagram {
  min-height: 360px;
  margin-block: clamp(2rem, 5vw, 4rem);
}
.insights-section--page,
.approach-section--page {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.principles-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 0;
  padding-top: 0;
}
.principles-panel > div {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 12px 0 0 12px;
  background: var(--surface-strong);
  color: var(--text);
}
.principles-panel__eyebrow {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--brand-violet-light);
  font-size: .74rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.principles-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.principles-panel ul {
  display: grid;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  background: var(--surface);
  list-style: none;
}
.principles-panel li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.45rem clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 560;
}
.principles-panel li:last-child {
  border-bottom: 0;
}
.principles-panel li i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-violet);
}
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: clamp(3rem, 8vw, 7rem);
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
}
.contact-page__intro {
  align-self: start;
  position: sticky;
  top: 130px;
}
.contact-page__intro h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 5.2vw, 5rem);
}
.contact-page__intro > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 1.1rem;
}
.contact-page__intro > a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand-violet-light);
  font-weight: 680;
  text-underline-offset: 4px;
}
.contact-page__form {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
}
.contact-page__form-heading {
  margin: 0;
  padding: 1.1rem clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  color: var(--brand-violet-light);
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.inquiry-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.inquiry-form__required {
  margin: 0;
  color: var(--text-muted);
  font-size: .82rem;
}
.inquiry-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.form-field {
  display: grid;
  gap: .5rem;
}
.form-field label {
  color: var(--brand-violet-light);
  font-size: .86rem;
  font-weight: 650;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text);
  appearance: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-field input:-webkit-autofill,
.form-field textarea:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--surface-raised) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}
.form-field input {
  height: 52px;
  padding: 0 .85rem;
}
.form-field textarea {
  min-height: 180px;
  padding: .85rem;
  resize: vertical;
}
.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--brand-violet-light);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-violet);
  outline: 0;
  box-shadow: 0 0 0 4px rgb(115 123 255 / 18%);
}
.form-field input[aria-invalid=true],
.form-field textarea[aria-invalid=true] {
  border-color: #f08d8d;
  box-shadow: 0 0 0 4px rgb(240 141 141 / 14%);
}
.form-field small {
  color: var(--text-muted);
  font-size: .78rem;
}
.form-field .form-field__error {
  color: #ffc2c2;
  font-weight: 600;
}
.form-alert {
  padding: .85rem 1rem;
  border-left: 4px solid #f08d8d;
  border-radius: 4px;
  background: rgb(240 141 141 / 10%);
  color: #ffc2c2;
  font-weight: 600;
}
.inquiry-form .button {
  justify-self: start;
  margin-top: .5rem;
  cursor: pointer;
}
.inquiry-form .button:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}
.inquiry-success {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 1.5rem;
  min-height: 340px;
  padding: clamp(2rem, 6vw, 4rem);
}
.inquiry-success:focus {
  outline-offset: -4px;
}
.inquiry-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-violet);
  color: var(--night);
  font-size: 1.5rem;
  font-weight: 750;
}
.inquiry-success__copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.site-footer {
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: #050706;
  color: var(--text);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 4rem;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.brand--footer {
  margin-bottom: 1.5rem;
  color: var(--text);
}
.site-footer__grid > div > p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgb(241 245 242 / 62%);
}
.site-footer__contact {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 1.1rem;
}
.site-footer__contact > a:not(.text-link) {
  color: rgb(241 245 242 / 76%);
  font-weight: 580;
}
.site-footer__contact small {
  color: rgb(241 245 242 / 48%);
}
.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgb(241 245 242 / 15%);
  color: rgb(241 245 242 / 58%);
  font-size: .72rem;
}
@media (max-width: 1080px) {
  .site-header__main {
    grid-template-columns: 1fr auto auto;
  }
  .site-nav {
    display: none;
  }
  .mobile-nav {
    position: relative;
    display: block;
    margin-left: .65rem;
  }
  .mobile-nav summary {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    color: var(--brand-violet-light);
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav__icon {
    width: 24px;
    height: 24px;
    color: var(--brand-violet-light);
  }
  .mobile-nav__icon-line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 160ms ease;
  }
  .mobile-nav[open] .mobile-nav__icon-line--top {
    transform: translateY(5px) rotate(45deg);
  }
  .mobile-nav[open] .mobile-nav__icon-line--bottom {
    transform: translateY(-5px) rotate(-45deg);
  }
  .mobile-nav[open] nav {
    position: absolute;
    z-index: 35;
    top: calc(100% + .75rem);
    right: 0;
    width: min(86vw, 380px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-raised);
    box-shadow: 0 18px 50px rgb(0 0 0 / 35%);
  }
  .mobile-nav ul {
    display: grid;
    gap: 0;
  }
  .mobile-nav li + li {
    border-top: 1px solid var(--line);
  }
  .mobile-nav a {
    display: block;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-nav a[aria-current=page] {
    background: rgb(115 123 255 / 12%);
    color: var(--brand-violet);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr);
    gap: 3rem;
  }
  .systems-tuner__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .systems-tuner__tabs button:nth-child(2) {
    border-right: 0;
  }
  .systems-tuner__tabs button:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .systems-tuner__panel {
    grid-template-columns: 1fr 1fr;
  }
  .approach-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .capability-entry {
    grid-template-columns: 1fr;
  }
  .capability-entry__diagram {
    grid-column: 1;
    margin-top: 0;
  }
  .contact-page {
    grid-template-columns: .8fr 1.2fr;
    gap: 3rem;
  }
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }
  .hero__visual,
  .operation-flow {
    min-height: 0;
  }
  .systems-tuner__panel {
    grid-template-columns: 1fr;
  }
  .systems-tuner__diagram {
    min-height: 260px;
  }
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .insight-card:nth-child(odd),
  .insight-card:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }
  .contact-band {
    grid-template-columns: 1fr;
  }
  .page-intro {
    grid-template-columns: 1fr;
    min-height: 390px;
  }
  .page-intro::after {
    justify-self: start;
    width: 180px;
  }
  .principles-panel {
    grid-template-columns: 1fr;
  }
  .principles-panel > div {
    border-radius: 12px 12px 0 0;
  }
  .principles-panel ul {
    border-top: 0;
    border-left: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
  }
  .contact-page {
    grid-template-columns: 1fr;
  }
  .contact-page__intro {
    position: static;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .site-header__main {
    min-height: 68px;
  }
  .brand__symbol {
    width: 34px;
    height: 34px;
  }
  .brand__wordmark {
    font-size: 1.22rem;
  }
  .language-switch {
    min-width: 44px;
    height: 44px;
    margin-left: .5rem;
  }
  .mobile-nav {
    margin-left: .4rem;
  }
  .mobile-nav summary {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }
  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
  .hero {
    padding-top: 3.75rem;
    padding-bottom: 4.5rem;
  }
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero__actions .button,
  .hero__actions .text-link {
    justify-content: center;
  }
  .operation-flow {
    padding: 1.4rem;
    border-radius: 12px;
  }
  .operation-flow__step {
    grid-template-columns: 1fr;
    gap: .4rem;
  }
  .operation-flow__step strong,
  .operation-flow__step p {
    grid-column: 1;
  }
  .operation-flow__connector {
    margin-left: 0;
  }
  .tuner-section,
  .approach-section,
  .insights-section,
  .capability-ledger,
  .principles-panel {
    padding-block: 4.25rem;
  }
  .systems-tuner__tabs button[aria-selected=true] {
    box-shadow: inset 0 -4px 0 var(--brand-violet);
  }
  .systems-tuner__panel {
    padding: 1.4rem;
  }
  .systems-tuner__diagram {
    min-height: 220px;
    padding: .75rem;
  }
  .approach-timeline {
    grid-template-columns: 1fr;
  }
  .approach-timeline li {
    min-height: 230px;
  }
  .approach-timeline__number {
    margin-bottom: 2.5rem;
  }
  .page-intro {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .capability-entry {
    grid-template-columns: 1fr;
  }
  .capability-entry__copy {
    padding-right: 0;
  }
  .capability-entry__diagram {
    min-height: 240px;
    padding: .6rem;
  }
  .inquiry-form__row {
    grid-template-columns: 1fr;
  }
  .inquiry-success {
    grid-template-columns: 1fr;
  }
  .site-footer__base {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: enter-up 460ms both;
  }
  .hero__copy > :nth-child(2) {
    animation-delay: 60ms;
  }
  .hero__copy > :nth-child(3) {
    animation-delay: 110ms;
  }
  .hero__copy > :nth-child(4) {
    animation-delay: 160ms;
  }
  .operation-flow {
    animation: enter-up 560ms 100ms both;
  }
  @keyframes enter-up {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media (forced-colors: active) {
  .hero__visual,
  .systems-tuner,
  .contact-page__form {
    box-shadow: none;
  }
  .operation-flow::before,
  .page-intro::after,
  .principles-panel li i,
  .inquiry-success__icon {
    forced-color-adjust: none;
  }
}
