:root {
  --ink: #0a1117;
  --graphite: #16212b;
  --muted: #64717c;
  --paper: #f6f8f9;
  --white: #ffffff;
  --line: rgba(10, 17, 23, 0.12);
  --blue: #006da3;
  --blue-strong: #0a82bf;
  --teal: #05a6a6;
  --coral: #ff6b4a;
  --lime: #b7e34a;
  --shadow: 0 18px 60px rgba(10, 17, 23, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  clip: auto;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--white);
  border: 2px solid var(--blue);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 68px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(10, 17, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(142px, 13vw, 190px);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-header:not(.is-scrolled):not(.is-open) .brand {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 109, 163, 0.24);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 12px;
}

.menu-toggle span:nth-child(2) {
  top: 20px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 11, 17, 0.94) 0%, rgba(4, 11, 17, 0.78) 36%, rgba(4, 11, 17, 0.23) 74%),
    linear-gradient(180deg, rgba(4, 11, 17, 0.58) 0%, rgba(4, 11, 17, 0.05) 48%, rgba(4, 11, 17, 0.9) 100%);
}

.hero-media {
  z-index: -2;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 155px;
}

.eyebrow,
.section-kicker,
.card-label,
.work-grid span,
.panel-label {
  margin: 0;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.22rem, 1.8vw, 1.65rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(var(--max), calc(100% - 40px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.5fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
}

.hero-panel div {
  padding: 18px 20px;
  background: rgba(10, 17, 23, 0.22);
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.15;
}

.hero-panel .panel-label {
  color: rgba(255, 255, 255, 0.58);
}

.ticker {
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 15px 0;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-track span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.intro {
  padding-bottom: clamp(52px, 8vw, 96px);
}

.split-intro,
.section-heading,
.company {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.split-intro h2 {
  max-width: 760px;
}

.split-intro p,
.section-heading p,
.platform-copy p,
.company-copy p,
.featured-copy p,
.work-grid p,
.intelligence-list p,
.contact-band p {
  color: var(--muted);
  font-size: 1rem;
}

.split-intro p {
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
}

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

.capability-card,
.work-grid article,
.signal-panel,
.intelligence-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-card {
  min-height: 330px;
  padding: 24px;
  cursor: default;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card:hover,
.capability-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(0, 109, 163, 0.34);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--blue);
  background: rgba(0, 109, 163, 0.08);
  border-radius: 6px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-card h3 {
  margin-top: 18px;
}

.capability-card p:last-child {
  color: var(--muted);
}

.platform {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.platform-visual {
  display: grid;
  overflow: hidden;
  aspect-ratio: 15 / 8;
  min-height: 0;
  background: #06101f;
  border-radius: 0 8px 8px 0;
}

.platform-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.platform-copy {
  max-width: 620px;
}

.platform-copy h2 {
  margin: 12px 0 22px;
}

.process {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.process-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  transition: color 160ms ease;
}

.process-step span {
  color: var(--teal);
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.process-step.active h3 {
  color: var(--blue);
}

.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
}

.signal-panel {
  min-height: 430px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 17, 23, 0.96), rgba(22, 33, 43, 0.95)),
    var(--graphite);
}

.signal-header,
.signal-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.signal-header span,
.signal-meta span {
  color: rgba(255, 255, 255, 0.64);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 10px;
  height: 260px;
  margin: 42px 0;
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 25%, 14.28% 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.bar-chart span {
  display: block;
  min-height: 24px;
  background: linear-gradient(180deg, var(--lime), var(--teal) 55%, var(--blue-strong));
  border-radius: 5px 5px 0 0;
}

.intelligence-list {
  display: grid;
  gap: 18px;
}

.intelligence-list article {
  padding: 28px;
}

.intelligence-list h3 {
  margin-bottom: 6px;
}

.intelligence-list p {
  margin-bottom: 0;
}

.featured-work {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  overflow: hidden;
  min-height: 480px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 8px;
}

.featured-work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(22, 33, 43, 0.7), rgba(22, 33, 43, 0.98)),
    var(--graphite);
}

.featured-copy .eyebrow {
  color: var(--lime);
}

.featured-copy h3 {
  font-size: clamp(1.7rem, 3.8vw, 3.5rem);
  line-height: 0.98;
}

.featured-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: var(--lime);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.work-grid article {
  padding: 24px;
}

.work-grid h3 {
  margin-top: 28px;
}

.company {
  align-items: stretch;
}

.company-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.company-copy h2 {
  margin: 12px 0 22px;
}

.facts-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.facts-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facts-list dd {
  margin: 0;
  font-weight: 750;
}

.contact {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.contact-band h2 {
  margin: 12px 0 18px;
}

.contact-band p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: 7px;
  padding: 22px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
}

.contact-card:hover,
.contact-card:focus-visible {
  background: rgba(0, 109, 163, 0.38);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 44px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 260px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 1040px) {
  .capability-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-copy {
    max-width: none;
  }

  .platform-visual,
  .platform-visual img {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a:not(.nav-cta):hover,
  .site-nav a:not(.nav-cta):focus-visible {
    background: var(--paper);
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 880px;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 260px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .split-intro,
  .section-heading,
  .section-heading.compact,
  .company,
  .intelligence-grid,
  .featured-work,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .featured-work img {
    min-height: 320px;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 16px;
  }

  .brand {
    width: 132px;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-inner,
  .section {
    width: min(100% - 32px, var(--max));
  }

  .hero-inner {
    padding-top: 100px;
    padding-bottom: 16px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100% - 40px, var(--max));
    margin: 0 auto 18px;
    transform: none;
  }

  .hero-panel div {
    padding: 12px 20px;
  }

  h1 {
    font-size: clamp(2.85rem, 13.5vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .hero-actions .button-ghost {
    display: none;
  }

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

  .capability-card {
    min-height: 270px;
  }

  .platform,
  .contact,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .platform-visual,
  .platform-visual img {
    border-radius: 8px;
  }

  .process-step {
    grid-template-columns: 42px 1fr;
  }

  .facts-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
