:root {
  --paper: #f4efe4;
  --paper-deep: #ebe4d4;
  --ink: #1c2418;
  --ink-soft: #5a6254;
  --green: #2f4a32;
  --green-deep: #24382a;
  --navy: #1e3350;
  --leaf: #4a6b45;
  --river: #5b7c8a;
  --gold: #b07a3a;
  --border: #d4cbb8;
  --shadow: rgba(36, 42, 28, 0.18);
  --header-h: 3.75rem;
  --color-eco-ink: var(--ink);
  --color-eco-ink-soft: var(--ink-soft);
  --color-eco-olive-deep: var(--green);
  --color-eco-accent: var(--navy);
  --color-eco-paper: var(--paper);
  --color-eco-forest: var(--green);
  --color-eco-border: var(--border);
  --color-eco-green-muted: #e4ece0;
  --font-sans: "Outfit", "Outfit Fallback", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-display: "Cormorant Garamond", "Cormorant Garamond Fallback", "Palatino Linotype", serif;
  --font-serif: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
  --font-mono: "Outfit", "Outfit Fallback", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -80px, rgba(91, 124, 138, 0.12), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--green), var(--navy));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(36, 42, 28, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.25rem;
}

.site-header__logo {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
}

.site-header__nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-link.is-current {
  color: var(--ink);
  font-weight: 650;
}

.nav-link--soon {
  opacity: 0.55;
  cursor: default;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 1.2rem;
  margin: 0 auto;
  background: var(--green);
}

.mobile-nav-panel {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.5rem 1.25rem 1.25rem;
  font-family: var(--font-sans);
}

.mobile-nav-panel[data-open="true"] {
  display: flex;
}

.mobile-nav-panel a,
.mobile-nav-panel span {
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header__nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

@media (min-width: 721px) {
  .mobile-nav-panel {
    display: none !important;
  }
}

.eco-article-hero {
  padding: 1.5rem 1.25rem 2.5rem;
}

.eco-article-hero__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.hero-cover {
  margin: 0 auto 1.25rem;
  max-width: 26rem;
}

.hero-cover img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 22px 48px var(--shadow);
  background: var(--paper-deep);
}

.hero-leaf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 0.35rem;
  color: var(--leaf);
}

.hero-leaf::before,
.hero-leaf::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.eco-article-hero__kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0;
  text-align: center;
}

.preview-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin: 0.85rem 0 0;
}

.inpage-toc {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem 1.4rem;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.inpage-toc h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.inpage-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inpage-toc li {
  margin: 0.42em 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.4;
}

.inpage-toc a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.inpage-toc a:hover {
  color: var(--navy);
  border-bottom-color: currentColor;
}

.eco-article {
  max-width: 68ch;
  margin: 0 auto;
  padding: 0 1.25rem 4.5rem;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.72;
  color: #3a4034;
  font-variation-settings: "opsz" 17, "wght" 400;
}

.eco-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: var(--green-deep);
  margin: 2.6rem 0 0.95rem;
  font-variation-settings: normal;
}

.eco-article h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  color: var(--green-deep);
  margin: 1.8rem 0 0.7rem;
  font-variation-settings: normal;
}

.eco-article h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.3;
  color: var(--green-deep);
  margin: 1.4rem 0 0.55rem;
  font-variation-settings: normal;
}

.eco-article p,
.eco-article li {
  font-weight: 400;
}

.eco-article p {
  margin: 0 0 1.05em;
}

.eco-article ul {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
}

.eco-article li {
  margin: 0.25em 0;
}

.eco-article blockquote {
  margin: 1.4em 0;
  padding: 0.15em 0 0.15em 1.15em;
  border-left: 3px solid var(--leaf);
  color: var(--green-deep);
}

.eco-article a {
  color: var(--navy);
}

.eco-chapter-nav {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.25rem 2.5rem;
}

.eco-chapter-nav__inner {
  display: flex;
  justify-content: center;
  max-width: 68ch;
  margin: 0 auto;
}

.eco-btn-ghost {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
}

.site-footer {
  background: var(--green-deep);
  color: #e7efe4;
  padding: 2.5rem 1.25rem 1.5rem;
}

.site-footer a {
  color: #e7efe4;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.eco-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  color: #c5d4c2;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.4em 0;
  font-family: var(--font-sans);
}

.site-footer__mark {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.site-footer__tagline {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.35;
}

.eco-footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 239, 228, 0.18);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #c5d4c2;
}

@media (max-width: 640px) {
  .eco-footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-cover {
    max-width: 20rem;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 300;
  padding: 0.55rem 0.9rem;
  background: var(--green-deep);
  color: #e7efe4;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  top: 0.6rem;
}

.site-footer .is-soon {
  opacity: 0.65;
}

.eco-article h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  color: var(--green-deep);
  margin: 0.35rem 0 0.95rem;
  font-variation-settings: normal;
}

.eco-article h1,
.eco-article h2 {
  clear: both;
}

.eco-article figure {
  margin: 2.25em 0;
}

.eco-article figure.float-end {
  float: right;
  width: 240px;
  max-width: 42%;
  margin: 0.15em 0 1em 1.35em;
}

.eco-article figure.float-end img {
  width: 100%;
  max-width: none;
  display: block;
}

@media (max-width: 640px) {
  .eco-article figure.float-end {
    float: none;
    width: min(240px, 100%);
    max-width: 68ch;
    margin: 1.5em 0;
  }
}

.eco-article figure img {
  width: 100%;
  max-width: 68ch;
  border-radius: 12px;
  background: #111;
}

.eco-article figure.book-cover {
  max-width: 16rem;
  margin: 2.25em auto;
}

.eco-article figure.book-cover a {
  display: block;
  text-decoration: none;
}

.eco-article figure.book-cover img {
  width: 100%;
  max-width: none;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(40, 36, 24, 0.28);
}

.eco-article .media-video {
  width: min(18rem, 100%);
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

.eco-article .media-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 12px;
  background: #111;
}

.eco-article .media-video .pip-slot {
  max-width: none;
  margin: 0;
}

.embed-frame {
  position: relative;
  width: 100%;
  max-width: 68ch;
  aspect-ratio: 16 / 9;
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-frame--short {
  max-width: 18rem;
  aspect-ratio: 9 / 16;
}

.embed-frame--apple {
  aspect-ratio: auto;
  height: 175px;
  background: transparent;
}

.media-audio {
  max-width: 68ch;
  margin: 1.25em 0 1.5em;
}

.media-audio audio {
  display: block;
  width: 100%;
}

.media-audio figcaption,
.eco-article .media-video figcaption,
.eco-article figure figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-eco-ink-soft);
}

.pip-slot {
  position: relative;
  max-width: 68ch;
  margin: 2em 0;
}

.pip-slot .embed-frame {
  margin: 0;
}

.pip-mover {
  position: relative;
}

.pip-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 3;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-eco-paper, #f7f1df);
  color: var(--color-eco-ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pip-slot.is-docked .pip-mover {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 80;
  width: min(22.5rem, calc(100vw - 1.5rem));
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(40, 36, 24, 0.28);
  overflow: hidden;
  background: #111;
}

.pip-slot.is-docked .embed-frame {
  width: 100%;
  max-width: none;
  margin: 0;
}

.pip-slot.is-docked video {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 0;
}

.pip-slot--short.is-docked .pip-mover {
  width: min(12.5rem, calc(100vw - 1.5rem));
}

.pip-slot--audio.is-docked .pip-mover,
.pip-slot--apple.is-docked .pip-mover {
  background: var(--color-eco-paper, #f7f1df);
  padding: 2.1rem 0.6rem 0.6rem;
}

.pip-slot--audio.is-docked audio {
  width: 100%;
}

.media-chip a {
  display: inline-block;
  margin: 0.25em 0 1.25em;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--color-eco-border);
  border-radius: 999px;
  background: var(--color-eco-green-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.media-chip a:hover {
  color: var(--color-eco-accent);
}

.eco-article blockquote p {
  font-family: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 0 0.85em;
  max-width: none;
}

.eco-article blockquote p:last-child {
  margin-bottom: 0;
}

.eco-article .cascade {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--color-eco-forest);
  max-width: 68ch;
}

.eco-article .claims-flood {
  font-style: italic;
  font-size: 1.02em;
  line-height: 1.55;
  color: var(--green-deep);
  max-width: 68ch;
}

.eco-article .claims-speech {
  margin: 1.1em 0 1.6em;
  max-width: 68ch;
}

.eco-article .claims-speech p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--green-deep);
  margin: 0.15em 0;
}

.eco-article .cascade-1 { padding-left: 1.5rem; }
.eco-article .cascade-2 { padding-left: 3rem; }

.eco-article .or-join {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-eco-ink-soft);
}

.eco-article .closing-cadence p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin: 0.15em 0;
}

.eco-article .closing-cadence p.closing-space {
  margin: 1.6em 0;
}

.eco-article .closing-cadence p.closing-space-after {
  margin-bottom: 1.6em;
}

.someone-row {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  max-width: 68ch;
  margin: 0 0 1.5em;
}

.someone-row > ul {
  margin: 0;
  flex: 1 1 11rem;
}

.someone-cloud {
  flex: 0 0 260px;
  width: 260px;
  margin: 0;
}

.eco-article .someone-cloud img {
  display: block;
  width: 260px;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  background: transparent;
}

.inpage-toc ol {
  counter-reset: chapter;
}

.inpage-toc li {
  counter-increment: chapter;
  display: flex;
  gap: 0.75rem;
}

.inpage-toc li::before {
  content: counter(chapter, decimal-leading-zero);
  flex: 0 0 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-top: 0.22em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f4efe4;
  background: var(--green);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
}

.btn-primary:hover {
  background: var(--green-deep);
  color: #f4efe4;
}

.chapter-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
}

.chapter-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 68ch;
  margin: 0 auto 1.75rem;
}

.chapter-pager--bottom {
  margin: 2.75rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}

.chapter-pager a,
.chapter-pager .pager-placeholder {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 3.4rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--green);
  background: rgba(255, 255, 255, 0.28);
}

.chapter-pager a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.chapter-pager .pager-dir {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.chapter-pager .pager-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.chapter-pager .pager-next {
  text-align: right;
  margin-left: auto;
  width: 100%;
}

.chapter-pager .pager-placeholder {
  visibility: hidden;
}

body[data-page="chapter"] .eco-article,
body[data-page="contact"] .eco-article {
  padding-top: 1.75rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin: 1.5rem 0 0;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  padding: 0.7rem 0.8rem;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4efe4;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--green-deep);
}

.contact-note {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .chapter-pager {
    grid-template-columns: 1fr;
  }

  .chapter-pager .pager-next {
    text-align: left;
  }
}
