:root {
  --ink: #142128;
  --muted: #5e686b;
  --paper: #f2f0e9;
  --line: #c9cbc5;
  --accent: #b84a2d;
  --dark: #16262d;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
main > section,
footer {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background: var(--dark);
  letter-spacing: -.04em;
}

nav { display: flex; gap: 34px; }
nav a { color: var(--muted); font-size: .83rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  align-items: center;
  gap: 7vw;
  padding-block: 80px;
}

.eyebrow,
.section-number {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

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

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

h1 {
  max-width: 900px;
  margin-bottom: 32px;
  font-size: clamp(3.4rem, 7.3vw, 7rem);
  line-height: .95;
}

.intro {
  max-width: 690px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link span { color: var(--accent); }

.mission-mark { position: relative; aspect-ratio: 1; }
.orbit, .planet, .satellite { position: absolute; display: block; }
.orbit { border: 3px solid var(--line); border-radius: 50%; }
.orbit-one { inset: 14%; transform: rotate(-30deg) scaleY(.4); }
.orbit-two { inset: 2%; transform: rotate(46deg) scaleY(.28); }
.planet {
  inset: 42%;
  border-radius: 50%;
  background: var(--dark);
}
.satellite {
  top: 29%;
  right: 20%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--paper);
}

.expertise, .experience { padding-block: 110px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; margin-bottom: 68px; }
.section-heading h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; }

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}
.service-list article { padding: 26px 26px 10px 0; border-right: 1px solid var(--line); }
.service-list article + article { padding-left: 26px; }
.service-list article:last-child { border-right: 0; }
.service-list h3 { margin-bottom: 42px; font-size: 1rem; }
.service-list p { color: var(--muted); font-size: .9rem; }

.experience-body { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; }
.statement { font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; line-height: 1.3; }
.experience-body > div > p { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.experience-body strong { color: var(--ink); }

.mission-list { margin: 54px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mission-list li { display: flex; align-items: baseline; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.mission-list span { font-weight: 700; letter-spacing: .04em; }
.mission-list small { color: var(--muted); }

.contact {
  width: 100%;
  max-width: none;
  padding: 100px max(32px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--dark);
}
.contact .section-number { color: #d8785b; }
.contact h2 { max-width: 900px; margin-bottom: 30px; font-size: clamp(2.8rem, 6vw, 6rem); line-height: 1; }
.contact > p:not(.section-number) { color: #b9c1c0; }
.email { display: inline-block; margin-top: 40px; color: var(--paper); font-size: clamp(1.2rem, 2.5vw, 2rem); text-underline-offset: 8px; }

footer { display: flex; justify-content: space-between; padding-block: 26px; color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .site-header, main > section, footer { width: min(calc(100% - 36px), var(--max)); }
  .site-header { height: 80px; }
  nav { gap: 16px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 72px; }
  .mission-mark { display: none; }
  h1 { font-size: clamp(3.2rem, 15vw, 5.5rem); }
  .expertise, .experience { padding-block: 80px; }
  .section-heading, .experience-body { grid-template-columns: 1fr; gap: 20px; }
  .section-heading { margin-bottom: 45px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list article, .service-list article + article { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-list h3 { margin-bottom: 14px; }
  .service-list p { margin-bottom: 0; }
  .contact { width: 100%; padding-inline: 18px; }
}

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