:root {
  color-scheme: light;
  font-family: "Cardo", Georgia, "Times New Roman", serif;
  font-size: 115%;
  color: #2a2a2a;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

.page {
  margin: 0 6.25vw 0 12.5vw;
  padding: 5rem 0 2rem;
}

.site-header { margin-bottom: 4.6rem; }

.site-name {
  margin: 0 0 .35rem;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.34rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.site-name a {
  color: inherit;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  font-size: .9rem;
  line-height: 1.7;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #505050;
}

main,
.site-footer {
  width: min(60%, 43rem);
}

main:focus { outline: none; }

h2 {
  margin: 0 0 1.1rem;
  font-family: "Cardo", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0 0 1.15rem; }

a {
  color: #79604c;
  text-decoration-thickness: .055em;
  text-underline-offset: .15em;
}

a:hover { color: #282018; }

a:focus-visible {
  outline: 2px solid #79604c;
  outline-offset: 5px;
}

.site-footer {
  margin-top: 3.5rem;
  padding-top: 1rem;
  color: #777;
  font-size: .8rem;
}

.site-footer small { font-size: inherit; }

.skip-link {
  position: absolute;
  top: .5rem;
  left: 1rem;
  padding: .35rem .65rem;
  color: #2a2a2a;
  background: #fff;
  transform: translateY(-180%);
}

.skip-link:focus { transform: none; }

@media (max-width: 760px) {
  .page {
    margin: 0;
    padding: 3rem 1.35rem 2rem;
  }

  .site-header { margin-bottom: 3.25rem; }

  .site-name {
    max-width: 21ch;
    font-size: clamp(1.35rem, 5vw, 1.9rem);
    line-height: 1.35;
    letter-spacing: .055em;
    text-wrap: balance;
  }

  main,
  .site-footer { width: 100%; }
}

@media (min-width: 1800px) {
  .page { margin-left: max(12.5vw, calc((100vw - 1350px) / 2)); }
}
