/* Short public story. The complete, chaptered record lives on /evidence/. */
.home-story {
  color: var(--ink);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.home-story .home-story-wrap {
  width: min(1160px, calc(100% - 80px));
  margin-inline: auto;
}
.home-story section[id] {
  scroll-margin-top: 0;
}
.home-story #threat { scroll-margin-top: 0; }
.home-story h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-story h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.09;
}
.home-story :where(.home-story-intro-copy, .home-story-copy, .home-story-action) p { margin: 0 0 18px; }
.home-story :where(.home-story-intro-copy, .home-story-copy, .home-story-action) p:last-child { margin-bottom: 0; }
.home-story a:not(:where(.valley-explorer *)) {
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.home-story a:not(:where(.valley-explorer *)):hover { text-decoration-thickness: 2px; }
.home-story figure { margin: 0; }
.home-story .home-story-section { padding: clamp(56px, 6.7vw, 96px) 0; }
.home-story .home-story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}
.home-story .home-story-copy { max-width: 570px; }
.home-story .home-story-intro { background: var(--white); }
.home-story .home-story-intro-copy { max-width: 820px; }
.home-story .home-story-reading-time {
  margin: 0 0 22px;
  color: var(--pine-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.home-story .home-story-intro-copy > p:not(.home-story-reading-time) {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}
.home-story .home-story-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 25px;
  margin-top: 30px;
}
.home-story .home-story-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 25px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--pine-950);
  background: var(--gold);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}
.home-story .home-story-button:hover {
  border-color: var(--white);
  background: var(--white);
}
.home-story .home-story-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 700;
}
.home-story .home-story-text-link span { font-size: 1.1rem; }
.home-story .home-story-wildlife {
  align-self: center;
}
.home-story .home-story-wildlife img {
  display: block;
  width: 100%;
  height: auto;
}
.home-story .home-story-burden {
  color: var(--white);
  background: var(--pine-900);
}
.home-story .home-story-statement {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
}
.home-story .home-story-burden h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
}
.home-story .home-story-burden h2 em {
  color: var(--gold);
  font-weight: 400;
}
.home-story-water { min-width: 0; }
.home-story-water .home-flow-chart { padding: 0; border: 0; background: transparent; }
.home-story-water .home-flow-chart > figcaption { color: var(--white); }
.home-story-water .home-flow-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-story-water .home-flow-legend > p { color: var(--white); }
.home-story-water .home-flow-scope { color: #d4ded7; }
.home-story .home-story-water-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 700;
}
.home-story .home-story-viewer { margin-top: clamp(30px, 4vw, 52px); }
.home-story-explorer { font-size: 1rem; line-height: 1.6; }
.home-story .home-story-closing-line {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.4;
}
.home-story .home-story-choice {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}
.home-story .home-story-choice h2 { margin: 0; }
.home-story .home-story-principle {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -.02em;
  line-height: 1.35;
}
.home-story .home-story-action {
  padding-block: clamp(60px, 7vw, 100px);
  color: var(--white);
  background: var(--pine-950);
  text-align: center;
}
.home-story .home-story-action h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}
.home-story .home-story-action p {
  max-width: 650px;
  margin-inline: auto;
}
.home-story .home-story-inheritance {
  margin-top: 26px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.35;
}
.home-story .home-story-action .home-story-actions { justify-content: center; }
@media (max-width: 800px) {
  .home-story .home-story-wrap { width: calc(100% - 44px); }
  .home-story .home-story-split,
  .home-story .home-story-statement {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-story .home-story-copy { max-width: none; }
  .home-story h2 { max-width: 620px; }
  .home-story .home-story-wildlife { min-height: 0; }
  .home-story .home-story-wildlife img {
    height: auto;
  }
  .home-story .home-story-burden h2 br { display: none; }
  .home-story .home-story-burden h2 br::after { content: ' '; }
  .home-story .home-story-burden h2 { max-width: 560px; }
}
/* Local explanations stay out of the overview until selected. Their anchors
   remain usable on this page if JavaScript or native dialogs are unavailable. */
.home-info-panel { display: none; }
.home-info-panel:target {
  display: block;
  max-width: 720px;
  margin: 40px auto;
  padding: 28px;
  scroll-margin-top: 0;
  background: var(--paper);
}
.home-info-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: min(760px, calc(100vh - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 24px 80px #061f1b55;
  overflow: hidden;
}
.home-info-dialog[open] { display: flex; flex-direction: column; }
.home-info-dialog::backdrop { background: #061f1bb3; }
.home-info-toolbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--pine-700);
  font-size: .75rem;
  font-weight: 700;
}
.home-info-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  color: var(--pine-950);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.home-info-close span { font-size: 1.6rem; line-height: 1; }
.home-info-content {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(22px, 5vw, 36px);
}
.home-info-dialog .home-info-panel { display: block; margin: 0; padding: 0; }
.home-info-panel h2 {
  margin: 0 0 22px;
  font: 400 clamp(1.7rem, 5vw, 2.2rem)/1.12 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-info-panel p { margin: 0 0 18px; font-size: 1rem; line-height: 1.7; }
.home-info-panel .home-info-source {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .8rem;
  line-height: 1.6;
}
.home-info-return { display: inline-block; margin-top: 20px; }
.home-info-panel .home-info-evidence { margin: 14px 0 0; font-size: .8rem; }
.home-info-evidence a { text-underline-offset: .2em; }
.home-info-tab-label { white-space: nowrap; }
.home-info-dialog .home-info-return { display: none; }
.home-story [data-home-info]:focus-visible,
.home-info-close:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.home-info-panel h2:focus { outline: none; }
@media (max-width: 430px) {
  .home-story { font-size: 1rem; }
  .home-story .home-story-wrap { width: calc(100% - 36px); }
  .home-story .home-story-actions { gap: 12px 20px; }
  .home-story .home-story-button { padding-inline: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-story *, .home-story *::before, .home-story *::after { scroll-behavior: auto; }
}
