:root {
  --ink: #101318;
  --muted: #5b6472;
  --line: #d9dee6;
  --paper: #f7f5ef;
  --white: #ffffff;
  --blue: #1b66ff;
  --green: #00a676;
  --orange: #ff6b3d;
  --gold: #f0b84f;
  --shadow: 0 24px 70px rgba(17, 19, 24, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 19, 24, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 19, 24, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.6) 36%, transparent 82%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 245, 239, .82);
  border-bottom: 1px solid rgba(16, 19, 24, .1);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 172px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ink);
  transition: transform .22s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(16, 19, 24, .14);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav-cta {
  min-width: 202px;
  padding-inline: 30px;
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 19, 24, .2);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

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

button.button {
  width: fit-content;
  cursor: pointer;
  font: inherit;
}

.hero {
  min-height: calc(100svh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(46px, 6vw, 84px) clamp(20px, 4vw, 56px) 36px;
  overflow: hidden;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(46px, 6vw, 82px);
}

h2 {
  font-size: clamp(34px, 5vw, 68px);
}

h3 {
  font-size: 23px;
  line-height: 1.08;
}

.hero-text,
.section-lede,
.page-lede {
  color: var(--muted);
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.55;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 30px;
}

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

.kinetic-panel {
  position: relative;
  min-height: 560px;
  border-left: 1px solid rgba(16, 19, 24, .14);
}

.orbit {
  animation: float 8s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(16, 19, 24, .15);
  border-radius: 999px;
  animation: spin 34s linear infinite;
}

.signal-card {
  position: absolute;
  width: min(300px, 82%);
  padding: 22px;
  border: 1px solid rgba(16, 19, 24, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.signal-card img {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.signal-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.signal-card.one {
  top: 2%;
  left: 8%;
}

.signal-card.two {
  top: 34%;
  right: 0;
  animation-delay: .6s;
}

.signal-card.three {
  bottom: 4%;
  left: 2%;
  animation-delay: 1s;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(16, 19, 24, .12);
  background: var(--ink);
  color: var(--white);
}

.metric {
  padding: 26px clamp(20px, 4vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, .14);
}

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

.metric strong {
  display: block;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 4vw, 56px);
}

.section-header {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-lede {
  max-width: 720px;
  margin: 18px 0 0;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.division-card {
  position: relative;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(16, 19, 24, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.division-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 19, 24, .38);
  box-shadow: var(--shadow);
}

.division-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent, var(--blue));
}

.division-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 28px;
}

.division-card p {
  color: var(--muted);
  line-height: 1.55;
}

.division-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.division-list li {
  display: flex;
  gap: 10px;
  color: #303844;
  line-height: 1.35;
}

.division-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent, var(--blue));
}

.card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 900;
}

.card-link::after {
  content: "->";
  transition: transform .2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

.band {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.band .section-lede,
.band .eyebrow {
  color: rgba(255,255,255,.7);
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--green);
  font-family: Sora, Inter, sans-serif;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.process-list span {
  color: rgba(255,255,255,.68);
  line-height: 1.5;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact-panel,
.form-panel {
  border: 1px solid rgba(16, 19, 24, .13);
  border-radius: var(--radius);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 28px;
}

.contact-line {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 19, 24, .12);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  font-size: 20px;
  font-weight: 850;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 56px) clamp(42px, 5vw, 76px);
}

.page-hero-logo {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(16, 19, 24, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(16, 19, 24, .10);
}

.page-hero-logo img {
  width: 100%;
  filter: none;
}

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

.capability {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(16, 19, 24, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}

.capability h3 {
  margin-bottom: 16px;
}

.capability p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-panel {
  padding: clamp(24px, 4vw, 36px);
}

form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #303844;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 19, 24, .18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 102, 255, .12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 4vw, 56px);
  border-top: 1px solid rgba(16, 19, 24, .12);
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.4;
}

.form-status[data-state="success"] {
  color: #007a53;
}

.form-status[data-state="error"] {
  color: #b83b20;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-nav {
    flex: 1 1 100%;
    order: 2;
    margin-top: 2px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .page-hero,
  .band,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .kinetic-panel {
    min-height: 480px;
    border-left: 0;
  }

  .division-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .metric:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
    position: relative;
  }

  .brand-link span:last-child {
    max-width: none;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .nav-cta {
    min-width: max-content;
  }

  .hero,
  .page-hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .kinetic-panel {
    min-height: 520px;
  }

  .signal-card {
    width: 88%;
  }

  .signal-card.two {
    right: 4%;
  }

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

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