/* River Flow Co — simple content pages (About / Data Sources / Contact) */

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 24px 64px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  color: #fff;
}
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,.75);
  max-width: 640px;
  margin: 0;
}

.prose { max-width: 720px; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
.prose p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.prose p:last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.info-card {
  display: block;
  background: #FBF5E6;
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.info-card:hover { border-color: var(--river); box-shadow: 0 12px 30px -16px rgba(20,12,4,.25); }
.info-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.info-card-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--river-deep);
}
.info-card .label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  margin: 8px 0 8px;
  color: var(--ink);
}
.info-card p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.info-card .link { color: var(--river-deep); font-weight: 600; }

.info-card-email:hover { border-color: var(--cream-line); box-shadow: none; }
.email-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 8px;
}
.email-copy-row h3 { margin: 0; word-break: break-all; }
.copy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--cream-line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.copy-btn:hover { border-color: var(--river); color: var(--river-deep); }
.copy-btn .copy-icon,
.copy-btn .check-icon { width: 16px; height: 16px; }
.copy-btn .check-icon { display: none; }
.copy-btn.is-copied { border-color: var(--river); color: var(--river-deep); }
.copy-btn.is-copied .copy-icon { display: none; }
.copy-btn.is-copied .check-icon { display: block; }
.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.copy-btn.is-copied .copy-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }

.notice {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 18px 24px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 32px;
  max-width: 720px;
}

@media (max-width: 880px) {
  .page-hero { padding: 56px 20px 48px; }
  .card-grid { grid-template-columns: 1fr; }
}

/* ── 404 page */
.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 720px;
  text-align: center;
}
.notfound-illustration { width: 100%; max-width: 480px; }
.notfound-svg { width: 100%; height: auto; display: block; }

.notfound-reading {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  background: #FBF5E6;
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: 24px 36px;
}
.notfound-reading-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 88px;
}
.notfound-reading-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.notfound-reading-value {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.notfound-reading-value small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-left: 4px;
}
.notfound-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(180,91,73,0.15);
  color: var(--bad);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notfound-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.notfound-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.notfound-btn.primary { background: var(--navy); color: #fff; }
.notfound-btn.primary:hover { background: var(--navy-deep); }
.notfound-btn:not(.primary) { background: transparent; color: var(--ink); border: 1.5px solid var(--cream-line); }
.notfound-btn:not(.primary):hover { border-color: var(--river); color: var(--river-deep); }

.notfound-chips { justify-content: center; margin-top: 4px; }

@media (max-width: 880px) {
  .notfound-reading { gap: 18px 26px; padding: 20px; }
  .notfound-reading-value { font-size: 24px; }
}
