@font-face {
  font-family: newsreader;
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("newsreader-roman.0579b48f86.woff2") format("woff2");
}

@font-face {
  font-family: newsreader;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("newsreader-italic.3d2f7ffe95.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader Fallback";
  src: local("Georgia");
  size-adjust: 96%;
}

:root {
  --paper: #f6f1e7;
  --ink: #1e1a15;
  --ink-2: #5a5149;
  --ink-3: #6e655c;
  --river: #1f4f60;
  --river-deep: #10323d;
  --rule: #d8cebe;
  --serif: newsreader, "Newsreader Fallback", georgia, serif;
  --sans: -apple-system, blinkmacsystemfont, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1519;
    --ink: #eee7da;
    --ink-2: #b7aea1;
    --ink-3: #a39a8d;
    --river: #7ec5d3;
    --river-deep: #aadae4;
    --rule: #2c3c43;
  }
}

html {
  color-scheme: light dark;
}

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

[hidden] {
  display: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
  border-radius: 2px;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--river-deep);
  letter-spacing: 0.01em;
}

a.wordmark {
  display: inline-block;
  min-height: 24px;
  text-decoration: none;
}

.nav-link,
.footer-link {
  display: inline-block;
  min-height: 24px;
  padding: 10px 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--rule);
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--river-deep);
}

.hero-mantra {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 3.2vw, 2rem);
  line-height: 1.25;
}

.river {
  display: flex;
  gap: clamp(16px, 4%, 56px);
  align-items: stretch;
  padding: 56px 0 72px;
}

.river-col {
  flex: 0 0 14%;
  min-width: 64px;
  max-width: 140px;
}

.river-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.river-svg .bank {
  stroke: var(--ink);
}

.river-svg .ghost,
.river-svg .thalweg {
  stroke: var(--river);
}

.is-drawing .thalweg {
  stroke-dashoffset: 1;
}

@media print {
  .is-drawing .thalweg {
    stroke-dashoffset: 0 !important;
  }
}

.river-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-width: 0;
}

.beats {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 14vw, 200px);
  padding-top: 8px;
}

.beat {
  max-width: 22ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  line-height: 1.3;
}

.ending {
  max-width: 34rem;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.term-list {
  margin: 0;
}

.term {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
  color: var(--river-deep);
}

.term-word {
  font-style: normal;
  font-weight: 600;
}

.term-pos {
  font-style: italic;
  font-size: 0.6em;
  color: var(--ink-3);
}

.definition {
  margin: 0 0 28px;
  color: var(--ink-2);
}

.why {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.35;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.address {
  min-width: 0;
  color: var(--ink);
}

.copy {
  min-width: 44px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--river);
  border-radius: 6px;
  background: transparent;
  color: var(--river);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.status {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.doc {
  max-width: 38rem;
  padding: 64px 0 88px;
}

.doc-title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--river-deep);
}

.doc p {
  margin: 0 0 1em;
}

.doc-updated {
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 0.875rem;
}
