:root {
  --paper: #f6f3ee;
  --ink: #1b1f2a;
  --brass: #b8863b;
  --rule: #d9d5cc;
  --muted: #5c5852;
  --text: 42rem;
  --page: 45rem;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 400 600;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brass);
  text-decoration-color: var(--brass);
}

a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--page));
  margin-inline: auto;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-top: max(1.75rem, env(safe-area-inset-top));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.site-header {
  padding-block: 0.5rem 0.25rem;
}

.logo {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo img {
  width: min(15.5rem, 78vw);
  height: auto;
}

.logo:hover {
  color: inherit;
}

main {
  flex: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .fade {
    animation: fade-in 0.65s ease both;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero {
  padding-top: 4.25rem;
  padding-bottom: 4.5rem;
}

.hero h1 {
  margin: 0;
  font-family: Newsreader, Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 6.8vw, 2.45rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.place {
  margin: 1.15rem 0 0;
  color: var(--brass);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.section {
  padding-bottom: 3.75rem;
}

.section h2,
.doc h1 {
  margin: 0 0 0.85rem;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 0 1.15rem;
  background: var(--rule);
  border: 0;
}

.lede,
.section p,
.doc p {
  margin: 0;
  max-width: var(--text);
}

.section p + p,
.doc p + p {
  margin-top: 1rem;
}

.empty {
  color: var(--muted);
}

.mail {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 1.0625rem;
}

.site-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass);
}

.doc {
  padding-top: 3.25rem;
  padding-bottom: 4rem;
}

.doc h1 {
  margin-bottom: 0.35rem;
}

.doc-updated {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

.doc ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  max-width: var(--text);
}

.doc li + li {
  margin-top: 0.4rem;
}

.not-found {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.not-found h1 {
  margin: 0 0 0.75rem;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.75rem, 6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.not-found p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero {
    padding-top: 5.5rem;
    padding-bottom: 5.75rem;
  }

  .section {
    padding-bottom: 4.5rem;
  }

  .logo img {
    width: 17.25rem;
  }
}
