:root {
  --paper: #f4ede7;
  --ink: #1f1c1a;
  --graphite: #5a5550;
  --rule: #ccc0b7;
  --aside-tint: #efe6de;
}

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

html {
  font-size: 17px;
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Garamond", "Palatino", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.7;
  letter-spacing: 0.01em;
  position: relative;
  overflow-x: hidden;
}

.water-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.masthead {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.masthead__stamp {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--graphite);
  margin: 0;
}

.masthead h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.masthead__subtitle {
  margin: 0;
}

.masthead__cta {
  float: right;
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color 120ms ease, color 120ms ease;
}

.masthead__cta:hover,
.masthead__cta:focus {
  background-color: var(--ink);
  color: var(--paper);
}

.document {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  column-gap: 2rem;
  position: relative;
  z-index: 1;
}

.document__section {
  margin: 0 0 2.5rem;
  break-inside: avoid;
}

.document__section h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.document__section p {
  margin: 0 0 1rem;
}

.document__cta {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
}

.document__cta:hover,
.document__cta:focus {
  color: var(--graphite);
  border-color: var(--graphite);
}

.columns {
  column-gap: 2.5rem;
}

@media (min-width: 900px) {
  .columns {
    column-count: 2;
  }
}

.document__aside {
  background-color: var(--aside-tint);
  color: var(--graphite);
  padding: 1.5rem;
  margin: 0 0 3rem;
  border-left: 4px solid var(--graphite);
  break-inside: avoid;
}

.aside__title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
}

.colophon {
  margin: 0;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--graphite);
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 1;
}

.colophon p {
  margin: 0;
}
