@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #090a08;
  --surface: #10120f;
  --surface-2: #151813;
  --text: #f0f2eb;
  --muted: #969c91;
  --dim: #62685f;
  --line: rgba(240, 242, 235, 0.17);
  --line-strong: rgba(240, 242, 235, 0.36);
  --signal: #b8f35a;
  --max: 1340px;
  --gutter: 42px;
  color-scheme: dark;
  background: var(--ink);
  color: var(--text);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--ink);
  transform: translateY(-160%);
}

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

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: background 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 10, 8, 0.86);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-decoration: none;
}

.signal {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(184, 243, 90, 0.42);
}

.site-header nav {
  display: flex;
  gap: 36px;
}

.site-header nav a,
.header-contact {
  font-size: 11px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.header-contact:hover,
.header-contact:focus-visible {
  color: var(--signal);
}

.header-contact {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: calc(100svh - 10px);
  max-height: 1080px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: -4%;
  background-image: linear-gradient(180deg, rgba(9, 10, 8, 0.18) 0%, rgba(9, 10, 8, 0.06) 42%, rgba(9, 10, 8, 0.9) 100%), url("/assets/hero-infrastructure.jpg");
  background-position: center;
  background-size: cover;
  will-change: transform;
  animation: hero-drift 20s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(-0.6%, -0.4%, 0); }
  to { transform: scale(1.08) translate3d(0.8%, 0.5%, 0); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-content {
  position: relative;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  min-height: calc(100svh - 10px);
  max-height: 1080px;
  margin: 0 auto;
  padding: 105px 0 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.hero-title-wrap {
  margin-top: auto;
  padding: 90px 0 62px;
}

.hero-kicker {
  margin: 0 0 25px;
  color: #cdd1c8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 86px;
  font-weight: 400;
  line-height: 0.96;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line i {
  display: block;
  font-style: normal;
  transform: translateY(110%);
  animation: title-in 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(2) i {
  animation-delay: 130ms;
}

.title-line-accent {
  color: var(--signal);
}

@keyframes title-in {
  to { transform: translateY(0); }
}

.hero-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-reveal 750ms 280ms ease forwards;
}

@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.hero-foot p {
  max-width: 560px;
  margin: 0;
  color: #d4d7d0;
  font-size: 16px;
}

.hero-foot a {
  display: inline-flex;
  gap: 70px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text);
  font-size: 12px;
  text-decoration: none;
}

.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 243, 90, 0.75), transparent);
  opacity: 0.5;
  animation: scan 8s linear infinite;
}

@keyframes scan {
  from { transform: translateY(70px); }
  to { transform: translateY(100svh); }
}

.full-section {
  min-height: 92svh;
  display: flex;
  align-items: center;
}

.section-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
}

.section-code,
.chapter-overline,
.engage-index {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.position {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.position-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: start;
}

.position h2 {
  max-width: 760px;
  margin: 0;
  font-size: 62px;
  font-weight: 400;
  line-height: 1.03;
}

.position-copy p {
  margin: 0 0 25px;
  color: var(--muted);
}

.chapter {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.chapter-ai {
  background: var(--ink);
}

.chapter-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 72px;
}

.chapter-rail {
  position: relative;
  padding-top: 126px;
  border-right: 1px solid var(--line);
}

.chapter-rail > p {
  position: sticky;
  top: 110px;
}

.chapter-marker {
  position: absolute;
  top: 126px;
  right: -4px;
  bottom: 0;
  width: 7px;
}

.chapter-marker span {
  position: sticky;
  top: 145px;
  display: block;
  width: 7px;
  height: 7px;
  background: var(--signal);
  box-shadow: 0 0 18px rgba(184, 243, 90, 0.5);
}

.chapter-content {
  padding: 126px 0 142px;
}

.chapter-opening {
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

.chapter-opening h2 {
  max-width: 930px;
  margin: 30px 0 38px;
  font-size: 68px;
  font-weight: 400;
  line-height: 0.99;
}

.chapter-lede {
  max-width: 570px;
  margin: 0 0 60px auto;
  color: var(--muted);
  font-size: 18px;
}

.chapter-details {
  padding-top: 74px;
}

.chapter-details > div {
  display: grid;
  grid-template-columns: 130px minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 42px;
  padding: 30px 0 36px;
  border-bottom: 1px solid var(--line);
}

.chapter-details span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.chapter-details h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.18;
}

.chapter-details p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.flow {
  position: relative;
  margin: 86px 0 120px;
  padding-left: 36px;
}

.flow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 1px;
  background: var(--line);
}

.flow-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: scaleY(0.08);
  transform-origin: top;
  transition: transform 650ms ease;
}

.flow-step {
  position: relative;
  min-height: 96px;
  display: grid;
  grid-template-columns: 80px 220px 1fr;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  transition: color 350ms ease, transform 350ms ease;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: -36px;
  width: 7px;
  height: 7px;
  background: var(--dim);
  transition: background 350ms ease, box-shadow 350ms ease;
}

.flow-step.is-active {
  color: var(--text);
  transform: translateX(8px);
}

.flow-step.is-active::before {
  background: var(--signal);
  box-shadow: 0 0 18px rgba(184, 243, 90, 0.58);
}

.flow-step span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}

.flow-step strong {
  font-size: 22px;
  font-weight: 400;
}

.flow-step p {
  margin: 0;
  font-size: 14px;
}

.ai-principle {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 70px;
  align-items: start;
  padding-top: 56px;
  border-top: 1px solid var(--line-strong);
}

.ai-principle blockquote {
  max-width: 850px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.production {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.production-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 110px;
  padding: 120px 0;
}

.production-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.production-heading h2 {
  max-width: 480px;
  margin: 30px 0 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
}

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

.production-list > div {
  display: grid;
  grid-template-columns: 50px minmax(230px, 0.9fr) minmax(250px, 1.1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.production-list span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}

.production-list strong {
  font-size: 17px;
  font-weight: 400;
}

.production-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.engage {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 110px;
  padding: 140px 0;
}

.engage-sticky {
  position: sticky;
  top: 130px;
  align-self: start;
}

.engage-sticky h2 {
  max-width: 470px;
  margin: 30px 0;
  font-size: 58px;
  font-weight: 400;
  line-height: 1.02;
}

.engage-sticky > p:last-child {
  max-width: 420px;
  color: var(--muted);
}

.engage-sequence article {
  min-height: 58svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 0;
  border-top: 1px solid var(--line-strong);
}

.engage-sequence h3 {
  max-width: 600px;
  margin: 26px 0;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.05;
}

.engage-sequence article > p:not(.engage-index) {
  max-width: 520px;
  margin: 0 0 44px;
  color: var(--muted);
}

.engage-sequence article > span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.contact {
  min-height: 100svh;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
  padding: 128px 0 90px;
}

.contact-heading h2 {
  margin: 32px 0;
  font-size: 68px;
  font-weight: 400;
  line-height: 0.96;
}

.contact-heading > p:not(.section-code) {
  max-width: 460px;
  color: var(--muted);
}

.contact-heading dl {
  max-width: 460px;
  margin: 64px 0 0;
}

.contact-heading dl div {
  display: contents;
}

.contact-heading dt,
.contact-heading dd {
  display: inline-block;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.contact-heading dt {
  width: 30%;
  color: var(--muted);
}

.contact-heading dd {
  width: 68%;
  text-align: right;
}

.contact-heading dd .signal {
  width: 6px;
  height: 6px;
  margin-right: 7px;
}

.project-form {
  border-top: 1px solid var(--line-strong);
}

.project-form > label,
.form-split {
  padding: 23px 0 28px;
  border-bottom: 1px solid var(--line);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.project-form label {
  display: grid;
  gap: 11px;
}

.project-form label > span {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.project-form label i {
  opacity: 0.65;
  font-style: normal;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
}

.project-form input,
.project-form select {
  height: 34px;
}

.project-form select option {
  background: var(--surface);
}

.project-form textarea {
  min-height: 130px;
  resize: vertical;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  box-shadow: inset 2px 0 0 var(--signal);
  padding-left: 12px;
}

.project-form textarea::placeholder {
  color: var(--dim);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px !important;
  padding: 22px 0;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--signal);
}

.consent span {
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-size: 12px !important;
  text-transform: none !important;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 4px;
}

.form-submit button {
  width: 225px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--signal);
  border-radius: 0;
  background: var(--signal);
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
}

.form-submit button:hover {
  background: transparent;
  color: var(--signal);
}

.form-submit button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 24px max(var(--gutter), calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer p:last-child {
  justify-self: end;
}

@media (max-width: 1050px) {
  :root { --gutter: 26px; }
  .hero h1 { font-size: 66px; }
  .position-grid { grid-template-columns: 120px 1fr; }
  .position-copy { grid-column: 2; max-width: 500px; }
  .chapter-shell { grid-template-columns: 130px 1fr; gap: 50px; }
  .chapter-opening h2 { font-size: 56px; }
  .chapter-details > div { grid-template-columns: 100px 0.9fr 1.1fr; gap: 28px; }
  .production-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 72px; }
  .production-heading { position: static; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .site-header { height: 62px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-contact { font-size: 10px; }
  .hero,
  .hero-content { min-height: calc(100svh - 6px); }
  .hero-media { inset: -7%; background-position: 62% center; }
  .hero-grid { background-size: 54px 54px; }
  .hero-content { padding: 87px 0 28px; }
  .hero-topline span:last-child { display: none; }
  .hero-title-wrap { padding: 80px 0 46px; }
  .hero h1 { font-size: 46px; line-height: 0.98; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .hero-foot p { font-size: 14px; }
  .hero-foot a { width: 180px; gap: 30px; }
  .full-section { min-height: 88svh; }
  .position-grid { grid-template-columns: 1fr; gap: 34px; }
  .position h2 { font-size: 41px; }
  .position-copy { grid-column: auto; }
  .chapter-shell { grid-template-columns: 1fr; }
  .chapter-rail { padding-top: 78px; border-right: 0; }
  .chapter-rail > p { position: static; }
  .chapter-marker { display: none; }
  .chapter-content { padding: 48px 0 90px; }
  .chapter-opening { min-height: 70svh; }
  .chapter-opening h2 { font-size: 43px; }
  .chapter-lede { margin-left: 0; font-size: 16px; }
  .chapter-details > div { grid-template-columns: 1fr; gap: 10px; padding: 28px 0 34px; }
  .chapter-details h3 { font-size: 22px; }
  .flow { padding-left: 28px; }
  .flow-step { grid-template-columns: 38px 1fr; gap: 14px; min-height: 108px; }
  .flow-step::before { left: -28px; }
  .flow-step p { grid-column: 2; padding-bottom: 14px; }
  .ai-principle { grid-template-columns: 1fr; gap: 28px; }
  .ai-principle blockquote { font-size: 34px; }
  .production-grid { padding: 88px 0; }
  .production-heading h2 { font-size: 42px; }
  .production-list > div { grid-template-columns: 34px 1fr; gap: 13px; }
  .production-list p { grid-column: 2; }
  .engage { grid-template-columns: 1fr; gap: 54px; padding: 90px 0; }
  .engage-sticky { position: static; }
  .engage-sticky h2 { font-size: 44px; }
  .engage-sequence article { min-height: 56svh; }
  .engage-sequence h3 { font-size: 38px; }
  .contact-grid { padding: 90px 0 72px; }
  .contact-heading h2 { font-size: 52px; }
  .form-split { grid-template-columns: 1fr; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 11px; padding-top: 28px; padding-bottom: 28px; }
  .site-footer p:last-child { justify-self: start; }
}

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