:root {
  color-scheme: dark;
  --black: #000;
  --ink: #0f0f0f;
  --ink-2: #0f1010;
  --charcoal: #1f1f1f;
  --charcoal-2: #333;
  --line: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.93);
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.46);
  --steel: #708090;
  --steel-light: #a7b5be;
  --olive: #858b72;
  --max: 1120px;
  --radius: 8px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --motion-fast: 280ms;
  --motion-medium: 900ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Asap, "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

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

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

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  color: #fff;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 800;
}

h2 {
  margin-bottom: 22px;
  font-size: 42px;
  font-weight: 750;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 750;
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 36px;
  background: rgba(15, 15, 15, 0.94);
  backdrop-filter: blur(16px);
  transition: background var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.site-header.is-scrolled {
  background: rgba(15, 15, 15, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 184px;
  min-height: 44px;
}

.brand img {
  width: 184px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--steel-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--motion-fast) ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta.active {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(167, 181, 190, 0.08) 0 1px, transparent 1px 42px),
    linear-gradient(105deg, transparent 20%, rgba(167, 181, 190, 0.14) 48%, transparent 68%);
  opacity: 0.42;
  transform: translate3d(-2%, 0, 0);
  animation: hero-scan 24s var(--ease-out) infinite alternate;
}

.hero-home {
  min-height: 600px;
  display: grid;
  align-items: center;
  padding: 96px 36px 78px;
  border: 0;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.76) 48%, rgba(0, 0, 0, 0.36)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.22) 50%, rgba(0, 0, 0, 0.7));
}

.hero-home::after,
.page-hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.66) 48%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.16) 50%, rgba(0, 0, 0, 0.56));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--steel-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
}

.hero-home h1 {
  max-width: none;
  font-size: clamp(44px, 4vw, 56px);
  white-space: nowrap;
}

.hero-actions,
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform var(--motion-fast) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.32) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform var(--motion-medium) ease;
}

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

.button:hover::after,
.button:focus::after {
  transform: translateX(120%);
}

.button.primary {
  border: 1px solid #fff;
  background: #fff;
  color: #000;
}

.button.primary:hover,
.button.primary:focus {
  box-shadow: 0 16px 36px rgba(255, 255, 255, 0.16);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.11);
}

.section {
  padding: 94px 36px;
  background: var(--black);
}

.section-muted {
  background: var(--charcoal);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.intro-grid,
.credential-grid,
.process-grid,
.split-grid,
.scan-grid,
.contact-grid,
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy p:last-child,
.text-stack p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

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

.service-card,
.capability,
.contact-panel,
.scope-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.82);
  transition:
    transform var(--motion-medium) var(--ease-out),
    border-color var(--motion-medium) ease,
    background var(--motion-medium) ease,
    box-shadow var(--motion-medium) ease;
}

.service-card::before,
.capability::before,
.contact-panel::before,
.scope-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--steel-light), rgba(255, 255, 255, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms ease;
}

.service-card:hover,
.service-card:focus-within,
.capability:hover,
.contact-panel:hover,
.contact-panel:focus-within,
.scope-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 181, 190, 0.52);
  background: rgba(20, 22, 22, 0.92);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.service-card:hover::before,
.service-card:focus-within::before,
.capability:hover::before,
.contact-panel:hover::before,
.contact-panel:focus-within::before,
.scope-panel:hover::before {
  transform: scaleX(1);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
}

.card-index {
  margin-bottom: 32px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.capability p {
  font-size: 16px;
}

.service-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 12px;
  border-bottom: 1px solid var(--steel-light);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.service-card a:hover,
.service-card a:focus {
  border-color: #fff;
  color: var(--steel-light);
}

.quote-band {
  position: relative;
  overflow: hidden;
  padding: 76px 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.quote-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(167, 181, 190, 0.12), transparent);
  animation: band-sweep 18s ease-in-out infinite;
}

.quote-band blockquote {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 750;
  line-height: 1.18;
}

.quote-meta {
  display: grid;
  gap: 12px;
}

.quote-meta span {
  display: block;
  padding: 16px 18px;
  border-left: 2px solid var(--steel);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.quote-meta span:hover {
  transform: translateX(5px);
  border-color: var(--steel-light);
  background: rgba(255, 255, 255, 0.075);
}

.credential-copy p {
  max-width: 640px;
}

.badge-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 320px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.82);
  padding: 26px;
}

.credential-logo {
  display: grid;
  min-height: 158px;
  place-items: center;
  margin: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  transition: transform var(--motion-medium) var(--ease-out), background var(--motion-medium) ease;
}

.credential-logo:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
}

.credential-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 148px;
  height: auto;
  object-fit: contain;
}

.credential-logo:nth-child(1) img {
  max-width: 158px;
  max-height: 158px;
}

.credential-logo:nth-child(2) img {
  max-width: 230px;
  max-height: 156px;
}

.credential-logo:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 158px;
}

.credential-logo:nth-child(3) img {
  max-width: 160px;
  max-height: 148px;
}

.text-link {
  display: inline-flex;
  border-bottom: 1px solid var(--steel-light);
  color: #fff;
  font-weight: 800;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.text-link:hover,
.text-link:focus {
  border-color: #fff;
  color: var(--steel-light);
}

.cta-section {
  padding: 86px 36px;
  background: var(--charcoal-2);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  max-width: 640px;
  margin-bottom: 0;
  font-size: clamp(30px, 2.6vw, 38px);
}

.site-footer {
  padding: 32px 36px;
  background: var(--charcoal);
  color: var(--faint);
}

.footer-inner {
  width: min(100%, var(--max));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.footer-brand {
  width: 154px;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 118px 36px 78px;
}

.page-hero-content p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 21px;
}

.page-hero h1 {
  max-width: none;
  margin-bottom: 18px;
  white-space: nowrap;
}

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

.capability-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability {
  min-height: 210px;
}

.capability h2 {
  font-size: 25px;
}

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

.process-list li,
.detail-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  transition:
    transform 420ms var(--ease-out),
    border-color 420ms ease,
    background 420ms ease;
}

.process-list li:hover,
.detail-list li:hover {
  transform: translateX(6px);
  border-color: rgba(167, 181, 190, 0.45);
  background: rgba(255, 255, 255, 0.045);
}

.process-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--steel-light);
  font-size: 13px;
  font-weight: 800;
}

.related h2 {
  margin-bottom: 24px;
}

.related-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  transition: transform var(--motion-fast) ease, border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}

.related-links a:hover,
.related-links a:focus {
  transform: translateY(-2px);
  border-color: var(--steel-light);
  background: rgba(255, 255, 255, 0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1100ms var(--ease-out),
    transform 1100ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(-0.6%, -0.4%, 0);
  }

  to {
    transform: scale(1.1) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes hero-scan {
  from {
    transform: translate3d(-2%, 0, 0);
  }

  to {
    transform: translate3d(2%, 0, 0);
  }
}

@keyframes band-sweep {
  0%,
  22% {
    transform: translateX(0);
  }

  70%,
  100% {
    transform: translateX(430%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .hero-media img,
  .page-hero-media img,
  .reveal,
  .reveal.is-visible {
    transform: none !important;
  }

  .reveal {
    opacity: 1 !important;
  }
}

.scan-grid {
  align-items: stretch;
}

.scope-panel h3 {
  margin-bottom: 18px;
}

.scope-panel ul,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-panel li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.scope-panel li:first-child {
  border-top: 0;
}

.contact-panel {
  min-height: 280px;
}

.contact-panel h2 {
  font-size: clamp(22px, 2.2vw, 26px);
  line-height: 1.22;
  overflow-wrap: break-word;
}

address {
  color: var(--muted);
  font-style: normal;
}

.detail-list {
  display: grid;
  gap: 12px;
}

@media (max-width: 1120px) {
  .site-header {
    padding: 12px 22px;
  }

  .brand,
  .brand img {
    width: 156px;
  }

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 15, 15, 0.98);
  }

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

  .site-nav a {
    min-height: 46px;
    padding: 0 10px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .hero-home {
    min-height: 540px;
    padding: 84px 22px 66px;
  }

  .hero-home h1 {
    max-width: 760px;
    white-space: normal;
  }

  .page-hero h1 {
    max-width: 760px;
    white-space: normal;
  }

  .section,
  .quote-band,
  .cta-section,
  .page-hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .intro-grid,
  .credential-grid,
  .process-grid,
  .split-grid,
  .scan-grid,
  .contact-grid,
  .quote-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: start;
  }

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

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

@media (max-width: 560px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy,
  .page-hero-content p:not(.eyebrow) {
    font-size: 18px;
  }

  .hero-home {
    min-height: 520px;
  }

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

  .service-card {
    min-height: 242px;
  }

  .quote-band blockquote {
    font-size: 27px;
  }

  .contact-panel h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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