:root {
  --bg: #14110e;
  --ink: #f3ece2;
  --muted: #b3a696;
  --copper: #c4845a;
  --rule: #8a5a38;
  --link: #e2c09a;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(1200px 700px at 12% -10%, #2a221c 0%, transparent 55%),
    linear-gradient(165deg, #1a1612 0%, var(--bg) 48%, #0f0d0b 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  z-index: 0;
}

.mast,
main,
footer {
  position: relative;
  z-index: 1;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 8vw 0;
}

.seal {
  color: var(--copper);
  display: inline-flex;
}

.seal svg {
  display: block;
}

.domain {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-size: 0.78rem;
}

main {
  padding: 12vh 8vw 4rem;
  max-width: 42rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--copper);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1 {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.rule {
  width: 4.5rem;
  height: 1px;
  margin: 1.75rem 0 1.5rem;
  background: var(--rule);
}

.lede {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  max-width: 34rem;
}

.note {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.note a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.note a:hover,
.note a:focus-visible {
  color: var(--ink);
}

footer {
  padding: 0 8vw 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  main {
    padding-top: 8vh;
  }

  .lede {
    font-size: 1.05rem;
  }
}
