:root {
  color-scheme: light;
  --ink: #111714;
  --paper: #f3f2ec;
  --paper-strong: #ffffff;
  --muted: #626a66;
  --line: #c9cec9;
  --mint: #b8f0d2;
  --rust: #e66b3e;
  --blue: #2d6089;
}

* {
  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: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.back-link,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
.back-link:hover,
footer a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  height: calc(100vh - 130px);
  min-height: 640px;
  max-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 24px;
  padding: 64px;
  background: var(--ink);
  color: var(--paper-strong);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(4, 9, 7, 0.62);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.03;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 76px;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: #e0e5e1;
  font-size: 21px;
}

.primary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.primary-action:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.hero-facts {
  display: flex;
  gap: 48px;
  margin: 48px 0 0;
}

.hero-facts div {
  min-width: 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 12px;
}

.hero-facts dt {
  color: #c8d0cb;
  font-size: 12px;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.hero-visual {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 20px 20px auto;
  padding: 14px 18px;
  background: var(--mint);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.intro-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-copy h2,
.section-heading h2,
.contact h2 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 50px;
}

.section-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: #39403c;
  font-size: 20px;
}

.focus {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 58px;
}

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

.focus-list article {
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.focus-list article > span {
  color: var(--rust);
  font-weight: 800;
}

.focus-list h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.focus-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 72px;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.contact-details {
  align-self: end;
}

.contact-details > a {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 750;
}

address {
  color: var(--muted);
  font-style: normal;
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  max-width: 820px;
  padding: 90px 0 120px;
}

.legal-page h1 {
  margin-bottom: 14px;
  font-size: 62px;
}

.effective-date {
  margin-bottom: 64px;
  color: var(--muted);
}

.legal-page section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
}

.legal-page section p {
  margin-bottom: 0;
  color: #39403c;
}

@media (max-width: 860px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 72px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    height: calc(100vh - 120px);
    min-height: 620px;
    max-height: 720px;
    padding: 48px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-visual img {
    object-position: center 32%;
  }

  .intro-band,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .focus-list article {
    grid-template-columns: 48px 1fr;
  }

  .focus-list article p {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

  .brand > span:last-child {
    max-width: 150px;
    line-height: 1.2;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-facts {
    gap: 20px;
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
  }

  .hero {
    height: calc(100vh - 104px);
    min-height: 620px;
    max-height: 650px;
    margin-top: 16px;
    padding: 32px 24px 36px;
  }

  .hero::before {
    background: rgba(4, 9, 7, 0.68);
  }

  .hero-visual img {
    object-position: 54% center;
  }

  .hero-visual figcaption {
    display: none;
  }

  .intro-band,
  .focus,
  .contact {
    padding: 76px 0;
  }

  .intro-band {
    padding-top: 42px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact h2,
  .legal-page h1 {
    font-size: 38px;
  }

  .section-copy p {
    font-size: 18px;
  }

  .focus-list article {
    gap: 18px;
  }

  .contact-details > a {
    font-size: 18px;
  }

  footer {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

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