:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #183a36;
  --muted: #4b5e53;
  --line: #c8cfc1;
  --accent: #873e27;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  width: min(68rem, calc(100% - 4rem));
  margin-inline: auto;
}

.masthead {
  border-bottom: 1px solid var(--line);
}

.masthead-inner,
.brand,
.navigation {
  display: flex;
  align-items: center;
}

.masthead-inner {
  justify-content: space-between;
  gap: .5rem 1.5rem;
  min-height: 4.5rem;
  padding-block: .6rem;
}

.brand {
  flex: 0 0 auto;
  gap: .65rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 1.65rem;
  height: 1.65rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 40%;
  left: -20%;
  width: 142%;
  height: 48%;
  border-top: 1px solid var(--paper);
  border-radius: 50%;
  transform: rotate(-19deg);
  content: "";
}

.brand-mark::after {
  top: 57%;
}

.navigation {
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  font-size: .95rem;
}

.navigation a {
  padding-block: .4rem;
  text-decoration: none;
}

.navigation a:hover,
.navigation a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 3rem;
  padding-block: 5rem 4rem;
}

h1,
h2,
h3 {
  margin-block: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.hero-copy p {
  max-width: 31rem;
  margin-block: 1.3rem 1.45rem;
  color: var(--muted);
  font-size: 1.11rem;
}

.text-link {
  color: var(--accent);
  font-weight: 650;
}

.coast-figure {
  min-width: 0;
  margin: 0;
}

.coast-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(circle at 76% 37%, #f5d491 0 7%, transparent 7.25%),
    linear-gradient(180deg, #879e93 0%, #d6c3a2 56%, #718680 56%, #4f7571 100%);
}

.headland,
.breakers,
.shore {
  position: absolute;
  inset: 0;
}

.headland {
  background: #425d52;
  clip-path: polygon(0 25%, 13% 35%, 22% 36%, 28% 43%, 34% 44%, 48% 55%, 54% 56%, 56% 65%, 0 73%);
}

.breakers {
  background: repeating-linear-gradient(170deg, transparent 0 11%, #f9e7c6 11.2% 11.5%, transparent 11.8% 18%);
  clip-path: polygon(73% 59%, 100% 56%, 100% 100%, 4% 100%, 22% 86%);
  opacity: .74;
}

.shore {
  background: #173c37;
  clip-path: polygon(0 59%, 11% 63%, 19% 71%, 25% 72%, 29% 79%, 38% 82%, 48% 92%, 63% 96%, 71% 100%, 0 100%);
}

.coast-figure figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .84rem;
}

.field-notes {
  border-top: 1px solid var(--line);
  padding-block: 1.7rem 3.3rem;
}

.field-notes h2,
.note h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -.026em;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
  margin-top: 1.6rem;
}

.note-preview + .note-preview {
  border-left: 1px solid var(--line);
  padding-left: 1.65rem;
}

.note-preview h3 {
  font-size: 1.32rem;
}

.note-preview p {
  margin-block: .66rem 0;
  color: var(--muted);
  font-size: .95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 1.2rem 1.75rem;
  color: var(--muted);
  font-size: .85rem;
}

.reading-page {
  width: min(45rem, calc(100% - 4rem));
  padding-block: 4rem 3.5rem;
}

.reading-page h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.75rem, 6vw, 4.8rem);
}

.note {
  border-top: 1px solid var(--line);
  padding-block: 1.45rem;
  scroll-margin-top: 1.25rem;
}

.note p {
  max-width: 65ch;
  margin-block: .75rem 0;
  color: var(--muted);
}

.return-link {
  display: inline-block;
  margin-top: .9rem;
}

@media (max-width: 49rem) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.9rem;
    padding-block: 3.5rem 2.75rem;
  }

  .coast-art {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 37rem) {
  .wrap,
  .reading-page {
    width: calc(100% - 2.5rem);
  }

  .masthead-inner {
    min-height: 4.2rem;
    flex-wrap: wrap;
  }

  .navigation {
    gap: .25rem .85rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .notes-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .note-preview + .note-preview {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 1.2rem;
    padding-left: 0;
  }

  .reading-page {
    padding-top: 3rem;
  }
}
