:root {
  --black: #050506;
  --graphite: #0b0d0f;
  --graphite-2: #11161a;
  --graphite-3: #172026;
  --bone: #e8e1d2;
  --bone-dim: rgba(232, 225, 210, 0.72);
  --paper: #d9d0bd;
  --paper-2: #c7bba6;
  --brass: #c5944b;
  --brass-hot: #f0b85f;
  --acid: #c7ff3d;
  --oxide: #6e8f89;
  --line-dark: rgba(232, 225, 210, 0.14);
  --line-light: rgba(5, 5, 6, 0.14);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);

  --display: "Archivo Black", Impact, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
  --body: "Manrope", Verdana, sans-serif;
  --mono: "Chivo Mono", monospace;

  --pad-x: clamp(20px, 4vw, 72px);
  --pad-y: clamp(72px, 10vw, 150px);
  --max: 1500px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--black);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: clip;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--acid);
  color: var(--black);
}

.texture {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 44px 44px, 44px 44px, 220px 220px;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(240, 184, 95, 0.18), rgba(199, 255, 61, 0.05) 34%, transparent 68%);
  filter: blur(8px);
  transform: translate3d(50vw, 50vh, 0);
}

.site-header {
  position: fixed;
  top: 16px;
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: rgba(5, 5, 6, 0.56);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.32);
  transition: border-color 240ms ease, background 240ms ease, color 240ms ease;
}

.site-header.on-light {
  color: var(--black);
  border-color: rgba(5, 5, 6, 0.12);
  background: rgba(217, 208, 189, 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-sigil {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name,
.brand-line,
.site-nav a,
.header-cta,
.eyebrow,
.section-kicker,
.panel-index {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.brand-line {
  display: block;
  margin-top: 2px;
  color: var(--bone-dim);
  font-size: 10px;
  font-weight: 300;
}

.site-header.on-light .brand-line {
  color: rgba(5, 5, 6, 0.58);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.site-nav a {
  color: var(--bone-dim);
  font-size: 11px;
  transition: color 200ms ease;
}

.site-header.on-light .site-nav a {
  color: rgba(5, 5, 6, 0.64);
}

.site-nav a:hover,
.site-header.on-light .site-nav a:hover {
  color: var(--brass-hot);
}

.header-cta {
  padding: 12px 16px;
  color: var(--black);
  background: var(--bone);
  font-size: 11px;
  font-weight: 600;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.header-cta:hover {
  color: var(--black);
  background: var(--acid);
  transform: translateY(-1px);
}

section {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--black);
  color: var(--bone);
}

.section-light {
  background: var(--paper);
  color: var(--black);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.52fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
  padding: 132px var(--pad-x) 88px;
  overflow: hidden;
}

#ops-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 64% 44%, rgba(199, 255, 61, 0.11), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(197, 148, 75, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(5, 5, 6, 0.66) 54%, rgba(5, 5, 6, 0.92));
}

.hero-content,
.hero-console {
  max-width: var(--max);
}

.eyebrow {
  color: var(--brass-hot);
  font-size: 12px;
  font-weight: 500;
}

.hero h1,
.diagnosis h2,
.system-intro h2,
.panel h2,
.industries h2,
.security h2,
.faq h2,
.final-cta h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11.5ch;
  margin-top: 24px;
  font-size: clamp(54px, 10vw, 166px);
}

.hero-copy {
  max-width: 760px;
  margin-top: 28px;
  color: var(--bone-dim);
  font-size: clamp(16px, 1.35vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

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

.button-primary {
  color: var(--black);
  border-color: var(--brass-hot);
  background: var(--brass-hot);
}

.button-primary:hover {
  border-color: var(--acid);
  background: var(--acid);
}

.button-secondary {
  color: var(--bone);
  border-color: var(--line-dark);
  background: rgba(232, 225, 210, 0.05);
}

.button-secondary:hover {
  color: var(--black);
  border-color: var(--bone);
  background: var(--bone);
}

.hero-console {
  justify-self: end;
  width: min(100%, 470px);
  padding: 18px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(145deg, rgba(232, 225, 210, 0.09), rgba(232, 225, 210, 0.025)),
    rgba(11, 13, 15, 0.66);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.console-top,
.console-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-top {
  display: flex;
  justify-content: space-between;
  padding: 0 0 14px;
  color: var(--brass-hot);
  border-bottom: 1px solid var(--line-dark);
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  background: var(--line-dark);
}

.console-grid div {
  min-height: 126px;
  padding: 18px;
  background: rgba(5, 5, 6, 0.64);
}

.console-label {
  display: block;
  max-width: 16ch;
  color: rgba(232, 225, 210, 0.52);
}

.console-grid strong {
  display: block;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
  color: var(--bone);
}

.signal-map {
  position: relative;
  height: 170px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(199, 255, 61, 0.12), transparent 58%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

.signal-map span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 24px var(--acid);
}

.signal-map span:nth-child(1) { left: 18%; top: 28%; }
.signal-map span:nth-child(2) { left: 48%; top: 48%; background: var(--brass-hot); box-shadow: 0 0 24px var(--brass-hot); }
.signal-map span:nth-child(3) { right: 18%; top: 24%; }
.signal-map span:nth-child(4) { left: 28%; bottom: 22%; }
.signal-map span:nth-child(5) { right: 28%; bottom: 26%; background: var(--brass-hot); box-shadow: 0 0 24px var(--brass-hot); }

.hero-orbit {
  position: absolute;
  right: -16vw;
  top: 12vh;
  width: 46vw;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.28;
}

.hero-orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(var(--rz, 0deg));
}

.hero-orbit span:nth-child(2) { --rz: 38deg; inset: 9%; }
.hero-orbit span:nth-child(3) { --rz: -24deg; inset: 18%; border-color: rgba(199, 255, 61, 0.28); }

.scroll-marker {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(232, 225, 210, 0.44);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-marker i {
  display: block;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--bone), transparent);
  transform-origin: left;
  animation: pulse-line 1.8s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { transform: scaleX(0.45); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto clamp(34px, 4vw, 64px);
  font-size: 11px;
  font-weight: 600;
}

.section-kicker span:first-child {
  color: var(--brass);
}

.diagnosis,
.system-intro,
.industries,
.security,
.process,
.faq,
.final-cta {
  padding: var(--pad-y) var(--pad-x);
}

.diagnosis-grid,
.system-intro-layout,
.security-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 7vw, 120px);
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}

.diagnosis h2,
.system-intro h2,
.industries h2,
.security h2,
.faq h2 {
  font-size: clamp(42px, 7vw, 106px);
}

.diagnosis-copy {
  padding-top: 10px;
  color: rgba(5, 5, 6, 0.76);
  font-size: clamp(17px, 1.35vw, 21px);
}

.diagnosis-copy p + p {
  margin-top: 22px;
}

.pain-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: clamp(54px, 7vw, 100px) auto 0;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.pain-board article,
.industry-grid article,
.process-timeline article {
  background: rgba(5, 5, 6, 0.035);
  transition: transform 240ms ease, background 240ms ease;
}

.pain-board article {
  min-height: 260px;
  padding: clamp(24px, 2.6vw, 42px);
}

.pain-board article:hover,
.industry-grid article:hover,
.process-timeline article:hover {
  background: rgba(5, 5, 6, 0.08);
  transform: translateY(-4px);
}

.pain-board span,
.industry-grid span,
.process-timeline span,
.security-list span {
  display: block;
  font-family: var(--mono);
  color: var(--brass);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pain-board strong {
  display: block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
}

.pain-board p {
  margin-top: 18px;
  color: rgba(5, 5, 6, 0.68);
}

.system-intro {
  overflow: hidden;
}

.system-intro::before,
.security::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(197, 148, 75, 0.18), transparent 30%),
    radial-gradient(circle at 78% 64%, rgba(199, 255, 61, 0.08), transparent 28%);
}

.system-stack {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.system-stack div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  padding: 22px;
  background: rgba(232, 225, 210, 0.045);
}

.system-stack span {
  color: var(--brass-hot);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.system-stack strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.25;
}

.side-note {
  max-width: var(--max);
  margin: clamp(44px, 5vw, 72px) auto 0;
  color: rgba(232, 225, 210, 0.55);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.horizontal-section {
  height: 100vh;
  overflow: hidden;
  background: var(--graphite);
}

.horizontal-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 120px var(--pad-x);
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
  background:
    linear-gradient(125deg, rgba(232, 225, 210, 0.06), transparent 34%),
    var(--graphite);
}

.panel::after {
  content: "";
  position: absolute;
  right: 8vw;
  top: 50%;
  width: min(30vw, 420px);
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(199, 255, 61, 0.08), transparent 65%);
}

.panel-start {
  background:
    radial-gradient(circle at 72% 50%, rgba(197, 148, 75, 0.22), transparent 32%),
    var(--black);
}

.panel-brass {
  background:
    radial-gradient(circle at 72% 45%, rgba(240, 184, 95, 0.18), transparent 34%),
    #11100d;
}

.panel-secure {
  background:
    radial-gradient(circle at 74% 45%, rgba(110, 143, 137, 0.26), transparent 34%),
    #07100f;
}

.panel-index {
  margin-bottom: 28px;
  color: var(--brass-hot);
  font-size: 12px;
  font-weight: 600;
}

.panel h2 {
  max-width: 12ch;
  font-size: clamp(48px, 8vw, 128px);
}

.panel h3 {
  max-width: 11ch;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.panel p {
  max-width: 650px;
  margin-top: 28px;
  color: var(--bone-dim);
  font-size: clamp(17px, 1.4vw, 22px);
}

.panel ul {
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin-top: 30px;
  list-style: none;
}

.panel li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(232, 225, 210, 0.68);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.industries h2 {
  max-width: var(--max);
  margin: 0 auto;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: clamp(48px, 6vw, 90px) auto 0;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.industry-grid article {
  min-height: 310px;
  padding: clamp(24px, 3vw, 44px);
}

.industry-grid span {
  color: var(--black);
}

.industry-grid span::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin: 22px 0 34px;
  background: var(--brass);
}

.industry-grid p {
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.26;
}

.security-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.security-list article {
  padding: clamp(24px, 3vw, 40px);
  background: rgba(232, 225, 210, 0.045);
}

.security-list p {
  margin-top: 14px;
  color: var(--bone-dim);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid var(--line-light);
  background: var(--line-light);
}

.process-timeline article {
  min-height: 360px;
  padding: clamp(24px, 3vw, 42px);
}

.process-timeline h3 {
  margin-top: 44px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.08;
}

.process-timeline p {
  margin-top: 18px;
  color: rgba(5, 5, 6, 0.68);
}

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

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(21px, 1.7vw, 29px);
  line-height: 1.2;
}

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

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  color: var(--brass);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 760px;
  padding: 0 0 26px;
  color: rgba(5, 5, 6, 0.68);
}

.final-cta {
  padding-bottom: 34px;
}

.cta-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 82% 22%, rgba(199, 255, 61, 0.08), transparent 28%),
    rgba(232, 225, 210, 0.055);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(54px, 9vw, 150px);
}

.cta-card p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px 0 36px;
  color: var(--bone-dim);
  font-size: clamp(17px, 1.35vw, 21px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(232, 225, 210, 0.5);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
}

.no-js [data-reveal],
.reveal-visible {
  opacity: 1;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-console {
    justify-self: start;
  }

  .diagnosis-grid,
  .system-intro-layout,
  .security-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .pain-board,
  .industry-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --pad-y: 82px;
  }

  .site-header {
    top: 10px;
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .brand-line {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 10px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(46px, 16vw, 84px);
  }

  .console-grid,
  .pain-board,
  .industry-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .horizontal-section {
    height: auto;
  }

  .horizontal-track {
    display: block;
    width: 100%;
    transform: none !important;
  }

  .panel {
    width: 100%;
    height: auto;
    min-height: 78vh;
    padding: 92px var(--pad-x);
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .panel::after {
    opacity: 0.35;
    right: -18vw;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .button {
    width: 100%;
  }

  .hero-console {
    padding: 12px;
  }

  .panel h2,
  .panel h3,
  .diagnosis h2,
  .system-intro h2,
  .industries h2,
  .security h2,
  .faq h2,
  .cta-card h2 {
    letter-spacing: -0.05em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
