:root {
  --bg: #050505;
  --bg-soft: #080808;
  --panel: #0b0b0b;
  --panel-hover: #101010;
  --line: rgba(255,255,255,.105);
  --line-soft: rgba(255,255,255,.065);
  --text: #e6e6e6;
  --muted: #aaa;
  --dim: #777;
  --shell: 1420px;
  --header-height: 112px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 63% 22%, rgba(255,255,255,.035), transparent 30%),
    linear-gradient(180deg, #050505 0%, #030303 100%);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: #ddd; color: #050505; }

.shell {
  width: min(calc(100% - 96px), var(--shell));
  margin-inline: auto;
}

.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: fixed; z-index: 9999; top: 12px; left: 12px;
  padding: 10px 14px; background: #fff; color: #000;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-height);
  background: rgba(2,2,2,.94);
  border-bottom: 1px solid rgba(255,255,255,.02);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}
.brand { display: inline-flex; align-items: center; gap: 15px; justify-self: start; }
.brand-mark { width: 46px; height: 42px; object-fit: contain; }
.brand-word {
  color: #e8e8e8;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .055em;
  transform: scaleY(.91);
  transform-origin: left center;
}
.primary-nav { display: flex; align-items: center; gap: clamp(38px, 4.1vw, 70px); }
.primary-nav a,
.contact-pill {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #d7d7d7;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; }
.contact-pill {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 145px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 999px;
}
.contact-pill:hover, .contact-pill:focus-visible { border-color: rgba(255,255,255,.46); background: rgba(255,255,255,.035); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 535px;
  background:
    radial-gradient(circle at 65% 44%, rgba(255,255,255,.045), transparent 28%),
    linear-gradient(110deg, #030303 0%, #070707 53%, #090909 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("../assets/noise.svg");
  opacity: .18;
  mix-blend-mode: screen;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 535px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 45px;
}
.hero-copy { padding: 54px 0 48px 28px; }
.hero-copy h1 {
  margin: 0;
  max-width: 610px;
  color: #e3e3e3;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(58px, 5.2vw, 84px);
  line-height: .91;
  letter-spacing: -.052em;
  font-weight: 900;
  transform: scaleY(.91);
  transform-origin: left top;
  text-shadow: 0 1px 0 #fff, 0 4px 16px rgba(0,0,0,.6);
}
.hero-copy p {
  margin: 12px 0 0;
  color: #bcbcbc;
  font-size: 19px;
  line-height: 1.52;
  letter-spacing: -.012em;
}
.outline-button {
  margin-top: 42px;
  width: fit-content;
  min-width: 292px;
  height: 51px;
  padding: 0 22px 0 31px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #e4e4e4;
  font-size: 14px;
  letter-spacing: .045em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.outline-button svg, .card-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.outline-button:hover, .outline-button:focus-visible { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.48); transform: translateY(-1px); }
.outline-button:hover svg { transform: translateX(4px); }
.outline-button svg { transition: transform .2s ease; }
.outline-button.muted { min-width: 180px; justify-content: center; }

.hero-art { display: grid; place-items: center; padding: 26px 0 14px; }
.hero-art img {
  width: min(100%, 730px);
  filter: drop-shadow(0 25px 30px rgba(0,0,0,.72));
}

.section-rule { border-top: 1px solid var(--line-soft); }
.capabilities { padding: 43px 0 74px; background: rgba(2,2,2,.78); }
.eyebrow {
  margin: 0 0 22px 4px;
  color: #c9c9c9;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; display: block; width: 25px; height: 1px; margin-top: 12px; background: rgba(255,255,255,.13); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.capability-card {
  min-height: 286px;
  padding: 34px 31px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.018), rgba(255,255,255,.004));
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.capability-card:hover { transform: translateY(-3px); background: var(--panel-hover); border-color: rgba(255,255,255,.18); }
.capability-card > img { width: 44px; height: 44px; opacity: .75; }
.capability-card h2 {
  margin: 27px 0 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.card-rule { width: 28px; height: 1px; margin: 18px 0 17px; background: #aaa; }
.capability-card p { margin: 0; color: #a8a8a8; font-size: 14px; line-height: 1.55; }
.card-arrow { margin-top: auto; width: 32px; color: #ddd; }
.card-arrow:hover svg { transform: translateX(5px); }
.card-arrow svg { transition: transform .2s ease; }

.content-section { padding: 110px 0; background: #050505; }
.split-content { display: grid; grid-template-columns: minmax(180px, .75fr) 2fr; gap: 90px; }
.split-content .eyebrow { margin-top: 12px; }
.split-content h2, .contact-inner h2 {
  margin: 0 0 22px;
  color: #e4e4e4;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.split-content > div > p, .contact-inner > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: #a5a5a5;
  font-size: 18px;
  line-height: 1.7;
}
.contact-section { padding: 120px 0 130px; text-align: center; }
.contact-inner { display: grid; justify-items: center; }
.contact-inner .eyebrow { margin-left: 0; }
.contact-inner .eyebrow::after { margin-inline: auto; }
.contact-inner .outline-button { margin-top: 36px; }
.site-footer { padding: 28px 0; color: #737373; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-inner a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 1120px) {
  .shell { width: min(calc(100% - 56px), var(--shell)); }
  .header-inner { gap: 24px; }
  .primary-nav { gap: 30px; }
  .contact-pill { width: 125px; }
  .hero-copy { padding-left: 0; }
  .hero-grid { grid-template-columns: 1fr .95fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-height: 82px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand-word { font-size: 20px; }
  .brand-mark { width: 39px; height: 36px; }
  .contact-pill { display: none; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: white;
  }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 18px 20px;
    background: rgba(3,3,3,.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav a { padding: 15px 8px; border-bottom: 1px solid var(--line-soft); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 70px 0 54px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(54px, 14vw, 78px); }
  .hero-copy p { font-size: 17px; }
  .hero-art { padding: 0; }
  .hero-art img { width: min(90%, 620px); }
  .split-content { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 610px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 265px; }
  .hero-copy h1 { font-size: clamp(49px, 15vw, 66px); }
  .outline-button { min-width: 0; width: 100%; }
  .content-section { padding: 78px 0; }
  .contact-section { padding: 90px 0 100px; }
  .footer-inner { flex-direction: column; }
}

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