:root {
  --ink: #111111;
  --ink-soft: #5c5c5c;
  --paper: #f7f7f5;
  --white: #ffffff;
  --line: #d8d8d4;
  --accent: #111111;
  --accent-dark: #000000;
  --max-width: 72rem;
}

* {
  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;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 720;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  background: rgba(247, 247, 245, 0.94);
}

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

nav a,
.footer-links a {
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(15rem, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero-logo {
  display: block;
  width: min(100%, 23rem);
  height: auto;
  justify-self: end;
  mix-blend-mode: multiply;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -18rem;
  bottom: -26rem;
  width: 46rem;
  height: 46rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(17, 17, 17, 0.025),
    0 0 0 14rem rgba(17, 17, 17, 0.018);
  content: "";
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d2d2d2;
}

.lede {
  max-width: 39rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

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

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

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

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

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

.capability-grid article {
  min-height: 16rem;
  padding: 2rem 1.6rem;
  border-top: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.42);
}

.capability-grid p {
  color: var(--ink-soft);
}

.number {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

.text-link:hover {
  text-decoration: underline;
}

.experience-grid,
.federal-grid,
.contact-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 8vw, 7rem);
}

.experience-copy {
  color: var(--ink-soft);
  font-size: 1.22rem;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 760;
  text-decoration: none;
}

.federal {
  background: var(--ink);
  color: var(--white);
}

.federal h2 {
  max-width: 14ch;
}

.federal p:not(.eyebrow) {
  max-width: 38rem;
  color: #d2d2d2;
}

.button-light {
  margin-top: 1rem;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--paper);
}

.identifiers {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.identifiers div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.identifiers dt {
  color: #b8b8b8;
}

.identifiers dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-align: right;
}

.contact {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--white);
}

.contact h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 1.3rem;
}

.email-link {
  color: var(--ink-soft);
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 4.5rem;
  }

  nav {
    display: none;
  }

  .experience-grid,
  .federal-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-logo {
    width: min(72vw, 20rem);
    justify-self: start;
  }

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

  .capability-grid article {
    min-height: auto;
  }

  .number {
    margin-bottom: 2rem;
  }

  .footer-inner {
    padding: 1.5rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

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

  .button {
    transition: none;
  }
}
