:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #171717;
  --muted: #646761;
  --line: #d9d5ca;
  --soft-line: #ebe7dc;
  --accent: #d4422f;
  --khaki: #b5a261;
  --khaki-text: #746531;
  --white: #ffffff;
  --max-width: 1120px;
  --side: 32px;
}

* {
  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: 18px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 30%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header,
.hero,
.section,
.site-footer {
  width: min(100% - (var(--side) * 2), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.logo-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 0 0 auto;
  width: 84px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 23px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.logo-mark span {
  display: grid;
  height: 100%;
  place-items: center;
}

.logo-mark span + span {
  border-left: 2px solid var(--ink);
}

.logo-mark span:nth-child(2) {
  background: var(--khaki);
}

.brand-name {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  min-height: 72svh;
  padding: 92px 0 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--khaki-text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 72px;
  font-weight: 760;
  line-height: 0.98;
}

h2 {
  margin-bottom: 0;
  font-size: 42px;
  font-weight: 730;
  line-height: 1.08;
}

.slogan {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 31px;
  line-height: 1.2;
}

.intro {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 21px;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

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

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

.secondary-link {
  background: transparent;
  color: var(--ink);
}

.secondary-link:hover {
  border-color: var(--khaki-text);
  color: var(--khaki-text);
}

.quick-facts {
  align-self: end;
  margin: 0;
  border-top: 1px solid var(--ink);
}

.quick-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--soft-line);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.quick-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 680;
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 64px;
  padding: 84px 0;
  border-bottom: 1px solid var(--line);
}

.section-copy {
  max-width: 700px;
}

.section-copy > p {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 21px;
}

.service-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.service-list li {
  display: grid;
  grid-template-columns: 48px 156px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--soft-line);
}

.service-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.service-list strong {
  font-size: 17px;
  line-height: 1.3;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.contact-section {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  color: var(--ink);
  font-style: normal;
  font-size: 24px;
  line-height: 1.25;
}

.contact-details span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  :root {
    --side: 22px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-name {
    max-width: 210px;
    white-space: normal;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 62px;
  }

  h1 {
    font-size: 48px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .slogan {
    font-size: 26px;
  }

  .quick-facts {
    align-self: start;
  }

  .service-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .service-list p {
    grid-column: 2;
  }
}

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

  .site-header {
    flex-direction: column;
    gap: 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 30px;
  }

  .intro,
  .section-copy > p {
    font-size: 19px;
  }

  .hero-actions,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .quick-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-details {
    font-size: 21px;
  }

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