:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #171717;
  --muted: #66635d;
  --line: #d8d4ca;
  --soft: #ece8df;
  --white: #fffdfa;
  --measure: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(23, 23, 23, 0.025) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(23, 23, 23, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header,
.site-footer,
main {
  width: min(var(--measure), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.nav {
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 64px;
  min-height: calc(100vh - 96px);
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  margin-bottom: 28px;
  font-size: 8.2rem;
}

h2 {
  margin-bottom: 0;
  font-size: 5.2rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 43rem;
  margin-bottom: 34px;
  color: #34322f;
  font-size: 1.35rem;
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

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

.button.secondary {
  background: rgba(255, 253, 250, 0.55);
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 22px;
  border: 1px solid var(--ink);
  background: rgba(247, 246, 241, 0.7);
}

.section-drawing {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.summary-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
}

.summary-list div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-list dd {
  margin: 0;
  font-weight: 680;
}

.statement {
  border-block: 1px solid var(--ink);
  padding: 42px 0;
}

.statement p {
  max-width: 54rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.25rem;
  line-height: 1.08;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  padding: 96px 0;
}

.section-heading {
  align-self: start;
}

.section-heading h2,
.fit h2 {
  max-width: 14ch;
  font-size: 4.35rem;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time,
.number {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.timeline-item p,
.capability-grid p {
  margin-bottom: 0;
  color: #3d3a36;
}

.earlier-experience {
  border-top: 1px solid var(--ink);
}

.earlier-body {
  display: grid;
  gap: 34px;
}

.earlier-copy {
  display: grid;
  gap: 18px;
  max-width: 48rem;
}

.earlier-copy p {
  margin: 0;
  color: #3d3a36;
  font-size: 1.08rem;
}

.earlier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.earlier-grid article {
  min-height: 320px;
  padding: 22px;
  background: var(--paper);
}

.earlier-grid h3 {
  margin-bottom: 36px;
}

.earlier-grid ul {
  columns: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.earlier-grid li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: #3d3a36;
}

.historical-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.capabilities {
  padding: 90px 0;
  border-top: 1px solid var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.capability-grid article {
  min-height: 330px;
  padding: 22px;
  background: var(--paper);
}

.number {
  display: block;
  margin-bottom: 72px;
}

.technology {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  padding: 96px 0;
  border-top: 1px solid var(--ink);
}

.technology-body {
  display: grid;
  gap: 34px;
}

.technology-intro {
  max-width: 46rem;
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
}

.tech-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.tech-groups article {
  min-height: 230px;
  padding: 22px;
  background: var(--paper);
}

.tech-groups h3 {
  margin-bottom: 46px;
}

.tech-groups p {
  margin: 0;
  color: #3d3a36;
}

.fit {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 56px;
  padding: 88px 0;
  border-top: 1px solid var(--ink);
}

.fit-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fit;
}

.fit-list li {
  counter-increment: fit;
  position: relative;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  line-height: 1.35;
}

.fit-list li::before {
  content: counter(fit, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  font-weight: 760;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .technology,
  .fit {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    min-height: 0;
  }

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

  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 4.1rem;
  }

  .section-heading h2,
  .fit h2 {
    max-width: 16ch;
    font-size: 3.6rem;
  }

  .statement p {
    font-size: 2.65rem;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, var(--measure));
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.72rem;
  }

  .nav a {
    margin-right: 8px;
  }

  .nav a {
    overflow-wrap: anywhere;
  }

  .hero {
    padding: 46px 0 42px;
  }

  .summary-list div,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-grid,
  .capabilities,
  .technology,
  .fit {
    padding: 64px 0;
  }

  .capability-grid,
  .earlier-grid,
  .tech-groups {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .earlier-grid article,
  .tech-groups article {
    min-height: 260px;
  }

  .number {
    margin-bottom: 48px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .lead,
  .technology-intro,
  .fit-list li {
    font-size: 1.12rem;
  }

  .statement p {
    font-size: 2rem;
  }
}
