:root {
  --ink: #151411;
  --paper: #ece5d8;
  --panel: #201d18;
  --signal: #a66a43;
  --accent-on-paper: #151411;
  --accent-on-panel: #ece5d8;
  --text-on-signal: #151411;
  --text-on-accent-paper: #ece5d8;
  --text-on-accent-panel: #151411;
  --sand: #b79a6b;
  --text-on-paper: #151411;
  --text-on-panel: #ece5d8;
  --logo-field: #151411;
  --logo-signal: #a66a43;
  --line: rgba(21, 20, 17, 0.24);
  --line-dark: rgba(236, 229, 216, 0.22);
  --copy: rgba(21, 20, 17, 0.72);
  --copy-dark: rgba(236, 229, 216, 0.70);
  --pill-radius: 999px;
  --switch-speed: 220ms;
}

*, *::before, *::after {
  box-sizing: border-box;
  cursor: default !important;
}

a,
button,
[role="button"],
.button,
.control-trigger,
.control-options button {
  cursor: pointer !important;
}

a *,
button *,
[role="button"] *,
.button *,
.control-trigger *,
.control-options button * {
  cursor: pointer !important;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-on-paper);
  background: var(--paper);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.45;
  transition: color var(--switch-speed) ease, background-color var(--switch-speed) ease;
}

.site,
.topbar,
.hero,
.cred-strip,
.cred,
.section,
.dark-section,
.flow-step,
.project-journey,
.aec-parallel > div,
.mechanic,
.proof-item,
.cta,
.footer,
.control-trigger,
.control-options,
.control-options button,
.button,
.journey-replay {
  transition:
    color var(--switch-speed) ease,
    background-color var(--switch-speed) ease,
    border-color var(--switch-speed) ease,
    opacity 160ms ease,
    filter 160ms ease;
}

[data-i18n],
[data-current-lang],
[data-current-theme],
[data-current-logo],
[data-journey-text],
.brand-mark,
.cta-brand-mark {
  transition: opacity 160ms ease, filter 160ms ease;
}

html.is-theme-switching .site > :not(.topbar),
html.is-language-switching .site > :not(.topbar) {
  opacity: 0.72;
  filter: blur(0.6px);
}

html.is-language-switching .site > :not(.topbar) [data-i18n],
html.is-language-switching .site > :not(.topbar) [data-current-lang],
html.is-language-switching .site > :not(.topbar) [data-journey-text] {
  opacity: 0;
}
button, input, textarea, select { font: inherit; }
button,
.button {
  border-radius: var(--pill-radius);
}
a { color: inherit; text-decoration: none; }

.site {
  min-height: 100vh;
  background: var(--paper);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--text-on-paper);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.wordmark {
  color: var(--text-on-paper);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-on-paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.nav a:hover { color: var(--accent-on-paper); }

.control-menu {
  position: relative;
  min-width: 78px;
}

.control-trigger {
  height: 34px;
  width: 100%;
  border: 1px solid var(--text-on-paper);
  background: transparent;
  color: var(--text-on-paper);
  padding: 0 30px 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--pill-radius);
  text-align: left;
  position: relative;
}

.control-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.control-menu.is-open .control-trigger {
  color: var(--paper);
  background: var(--text-on-paper);
}

.control-options {
  position: absolute;
  z-index: 80;
  display: grid;
  gap: 6px;
  top: calc(100% + 7px);
  right: 0;
  min-width: 100%;
  padding: 7px;
  border: 1px solid var(--text-on-paper);
  background: var(--paper);
  border-radius: 28px;
  transform: translateY(-4px);
  opacity: 0;
  pointer-events: none;
}

.control-menu.is-open .control-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.control-options button {
  display: block;
  width: 100%;
  min-width: 72px;
  border: 0;
  color: var(--text-on-paper);
  background: transparent;
  padding: 10px 14px;
  border-radius: var(--pill-radius);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.control-options button:hover,
.control-options button[aria-pressed="true"] {
  color: var(--text-on-accent-paper);
  background: var(--accent-on-paper);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
  padding: 104px clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
  color: var(--text-on-paper);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 1;
  overflow: hidden;
}

#field {
  width: min(110vw, 1200px);
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: none;
  pointer-events: auto;
  transform: translate(20vw, -8vh);
}

#field.dragging { cursor: default !important; }

.hero::after { content: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  align-self: center;
  padding-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--text-on-paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent-on-paper);
}

h1 {
  margin: 0;
  max-width: 960px;
  color: var(--text-on-paper);
  font-size: clamp(72px, 12.5vw, 196px);
  line-height: 0.78;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--text-on-paper);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-lede::first-letter { color: inherit; }

.hero-copy {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--copy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions-center { justify-content: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--text-on-paper);
  color: var(--paper);
  background: var(--text-on-paper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.button.secondary {
  color: var(--text-on-paper);
  background: transparent;
}

.button:hover {
  border-color: var(--accent-on-paper);
  color: var(--text-on-accent-paper);
  background: var(--accent-on-paper);
}

.cta .button {
  border-color: var(--text-on-panel);
  color: var(--panel);
  background: var(--text-on-panel);
}

.cta .button:hover {
  border-color: var(--accent-on-panel);
  color: var(--text-on-accent-panel);
  background: var(--accent-on-panel);
}

.cred-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: end;
  margin-inline: calc(clamp(18px, 4vw, 56px) * -1);
  color: var(--text-on-panel);
  background: var(--panel);
  border-bottom: 1px solid var(--panel);
}

.cred {
  min-height: 122px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line-dark);
}

.cred:last-child { border-right: 0; }

.cred strong {
  display: block;
  color: var(--text-on-panel);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.cred-title-with-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cred-title-with-icon img {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  margin-right: 6px;
  object-fit: contain;
}

.cred span {
  display: block;
  max-width: 220px;
  margin-top: 10px;
  color: var(--copy-dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

.cred .cred-title-with-icon span {
  display: inline;
  max-width: none;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

section {
  padding: 88px clamp(18px, 4vw, 56px);
  background: var(--paper);
  color: var(--text-on-paper);
  border-bottom: 1px solid var(--line);
}

.dark-section {
  background: var(--panel);
  color: var(--text-on-panel);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.section-grid > * { min-width: 0; }

.section-kicker {
  margin: 0 0 14px;
  color: var(--text-on-paper);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-kicker::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 18px;
  background: var(--accent-on-paper);
}

.dark-section .section-kicker { color: var(--text-on-panel); }
.dark-section .section-kicker::after,
.cta .section-kicker::after {
  background: var(--accent-on-panel);
}

h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 6.4vw, 94px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.section-copy {
  margin: 0;
  color: var(--copy);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.34;
}

.dark-section .section-copy { color: var(--copy-dark); }

.proof-visual-copy {
  display: grid;
  gap: 34px;
  align-content: center;
  min-height: 100%;
}

.proof-machine-block {
  display: grid;
  justify-items: center;
  align-self: center;
  justify-self: center;
  gap: 16px;
  margin: 0;
  width: min(390px, 100%);
  max-width: 100%;
  min-width: 0;
}

.proof-machine {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.proof-machine-block figcaption {
  max-width: 360px;
  margin: 0;
  color: var(--copy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.1px;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.signal-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.signal {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.signal strong {
  color: var(--accent-on-paper);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.signal span {
  color: var(--copy);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.55;
}

.signal-content {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.dark-section .signal { border-color: var(--line-dark); }
.dark-section .signal strong { color: var(--accent-on-panel); }
.dark-section .signal span { color: var(--copy-dark); }

.architecture {
  max-width: 1280px;
  margin: 0 auto;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border: 1px solid var(--line-dark);
}

.flow-step {
  min-height: 164px;
  padding: 18px;
  background: var(--panel);
  border-right: 1px solid var(--line-dark);
}

.flow-step:last-child { border-right: 0; }

.flow-step small {
  display: block;
  color: var(--accent-on-panel);
  font-weight: 900;
  margin-bottom: 24px;
}

.flow-step span {
  display: block;
  color: var(--copy-dark);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.55;
}

.project-journey {
  margin-top: 28px;
  border: 1px solid var(--line-dark);
  background: var(--panel);
}

.journey-head,
.journey-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--text-on-panel);
  border-bottom: 1px solid var(--line-dark);
}

.journey-foot {
  border-top: 1px solid var(--line-dark);
  border-bottom: 0;
}

.journey-head small {
  display: block;
  color: var(--accent-on-panel);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.journey-head strong {
  display: block;
  margin-top: 8px;
  color: var(--text-on-panel);
  font-size: clamp(22px, 3vw, 42px);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.journey-replay {
  min-height: 38px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--text-on-panel);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.journey-canvas {
  display: block;
  width: 100%;
  height: clamp(280px, 41vw, 430px);
  background: transparent;
}

.journey-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.journey-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-on-panel);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.74;
}

.journey-legend-item i {
  position: relative;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.journey-legend-item i::before,
.journey-legend-item i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.journey-legend-item i::before { right: 100%; }
.journey-legend-item i::after { left: 100%; }

.journey-foot > span {
  color: var(--copy-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.aec-parallel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border: 1px solid var(--line-dark);
  border-bottom: 0;
}

.aec-parallel > div {
  padding: 20px;
  background: var(--panel);
  border-right: 1px solid var(--line-dark);
}

.aec-parallel > div:last-child { border-right: 0; }

.aec-parallel small,
.mechanic strong {
  display: block;
  color: var(--accent-on-panel);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.aec-parallel strong {
  display: block;
  margin-top: 12px;
  color: var(--text-on-panel);
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.mechanics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
}

.mechanic {
  min-height: 150px;
  padding: 20px;
  background: var(--panel);
  border-right: 1px solid var(--line-dark);
}

.mechanic:last-child { border-right: 0; }

.mechanic span {
  display: block;
  margin-top: 18px;
  color: var(--copy-dark);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.55;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1280px;
  margin: 42px auto 0;
  border: 1px solid var(--line);
  border-right: 0;
}

.proof-item {
  min-height: 210px;
  padding: 24px;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.proof-item h3 {
  margin: 0 0 16px;
  color: var(--text-on-paper);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.proof-item p {
  margin: 0;
  color: var(--copy);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.55;
}

.cta {
  text-align: center;
  background: var(--panel);
  color: var(--text-on-panel);
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.cta-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  color: var(--text-on-panel);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.cta-brand-mark {
  width: clamp(54px, 6vw, 86px);
  height: clamp(54px, 6vw, 86px);
  flex: 0 0 auto;
}

.cta .section-kicker { color: var(--text-on-panel); }

.cta p {
  margin: 26px auto 0;
  max-width: 620px;
  color: var(--copy-dark);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.55;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--copy-dark);
  background: var(--panel);
  border-top: 1px solid var(--line-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .topbar { align-items: flex-start; }
  .nav a { display: none; }
  .wordmark { font-size: 16px; }
  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 0;
  }
  #field {
    width: 158vw;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
    transform: translate(24vw, -1vh);
    opacity: 0.76;
  }
  .hero-content {
    width: min(620px, 100%);
  }
  .cred-strip,
  .section-grid,
  .flow,
  .proof,
  .aec-parallel,
  .mechanics {
    grid-template-columns: 1fr;
  }
  .journey-head,
  .journey-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .journey-canvas {
    height: 360px;
  }
  .journey-foot > span {
    white-space: normal;
  }
  .cred-strip {
    margin-inline: calc(clamp(18px, 4vw, 56px) * -1);
  }
  .cred,
  .flow-step,
  .proof-item {
    min-height: auto;
  }
  .cred {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .flow-step {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .aec-parallel > div,
  .mechanic {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .signal {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  section { padding-block: 64px; }
  .footer { flex-direction: column; }
}
