/* Personal publication design system. */
:root {
  --site-border: #dce1da;
  --site-muted: #52646b;
  --grid-container-width: min(1120px, calc(100% - 48px));
  --heading-font-size-xxl: clamp(40px, 5.5vw, 72px);
  --heading-font-size-xl: clamp(30px, 3.5vw, 44px);
}

body {
  text-rendering: optimizelegibility;
}

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

h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}

a {
  text-underline-offset: 5px;
}

a:hover {
  color: #0c4944;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #11665f;
  outline-offset: 5px;
}

a.btn {
  min-height: 46px;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 15px;
}

a.btn-primary {
  background: #142c3a;
  border-color: #142c3a;
  color: #fff;
}

a.btn-secondary {
  background: transparent;
  border-color: #aab7af;
  color: #142c3a;
}

a.btn:hover {
  background: #11665f;
  border-color: #11665f;
  color: #fff;
}

main > .section {
  padding-block: 64px;
}

main > .section + .section {
  border-top: 1px solid var(--site-border);
}

.section > .default-content > p {
  max-width: 760px;
  color: var(--site-muted);
}

.section > .default-content > h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.section .block-content {
  width: var(--grid-container-width);
  margin-inline: auto;
}

.section.intro-section {
  padding-block: 72px 64px;
}

.section.shaded-section {
  background: var(--color-shaded);
}

.section.contact-section {
  background: #eaf0e8;
}

.section .eyebrow, .entry-label {
  color: #11665f;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

main > .section.page-intro .default-content > p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #11665f;
  font-weight: 650;
}

.page-intro h1 {
  max-width: 900px;
  margin-block: 18px 24px;
}

.page-intro > .default-content > p:last-child {
  font-size: 20px;
}

header.header {
  background: #faf9f6;
  border-bottom: 1px solid var(--site-border);
}

header.header .brand-text {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 650;
}

header.header .brand-section a {
  color: #142c3a;
  font-weight: 650;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

header.header .brand-section p {
  gap: 10px;
}

header.header .brand-section a.btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #142c3a;
  color: #fff;
  font: 17px Georgia, serif;
  line-height: 1;
  text-decoration: none;
}

header.header .main-nav-link {
  font-size: 14px;
  color: #52646b;
}

header.header .main-nav-link[aria-current='page'] {
  color: #11665f;
  text-decoration: underline;
  text-underline-offset: 8px;
}

header.header .action-wrapper.nav-toggle button {
  color: #142c3a;
}

footer {
  border-top: 1px solid var(--site-border);
  background: #f0f3ee;
}

footer .footer-content {
  padding-block: 36px;
  margin-block: 0;
  color: #52646b;
}

footer .section {
  padding: 0;
}

footer .section-legal {
  justify-content: start;
}

footer .section-legal ul {
  justify-content: start;
  gap: 24px;
  flex-wrap: wrap;
}

footer .section-copyright {
  justify-content: start;
  font-size: 12px;
}

footer li a {
  display: inline-block;
  padding-block: 8px;
}

@media (width < 600px) {
  main > .section {
    padding-block: 40px;
  }

  .section.intro-section {
    padding-block: 40px;
  }

  footer .section-legal ul {
    display: flex;
    gap: 20px;
  }

  footer .section-legal li {
    margin: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

}

.section > .block-content,
.section > .default-content {
  color: var(--color-text);
}

header.header .brand-section strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: #142c3a;
  color: #fff;
  font: 17px Georgia, serif;
}
