:root {
  --green-950: #082c22;
  --green-900: #0f3d2f;
  --green-800: #1f5c45;
  --green-700: #2e7459;
  --cream-50: #fffdf8;
  --cream-100: #f8f3e9;
  --cream-200: #f0e5d0;
  --slate-900: #24312d;
  --slate-700: #4a5568;
  --slate-500: #718078;
  --amber-500: #c8891a;
  --amber-300: #ddb75d;
  --white: #ffffff;
  --shadow-sm: 0 12px 36px rgba(8, 44, 34, 0.08);
  --shadow-md: 0 24px 60px rgba(8, 44, 34, 0.14);
  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --page: min(1180px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--cream-50);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 92, 69, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 92, 69, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--green-950);
  border-radius: 0.4rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(31, 92, 69, 0.13);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: var(--page);
  min-height: 5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--green-950);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--cream-100);
  background: var(--green-900);
  border: 1px solid var(--amber-300);
  border-radius: 50%;
  font-size: 0.76rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  display: block;
  margin-top: 0.2rem;
  color: var(--slate-700);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 1.45rem; }
.site-nav a {
  position: relative;
  color: var(--green-950);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav .button-primary { color: var(--white); }

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.38rem;
  height: 2px;
  background: var(--amber-500);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(31, 92, 69, 0.25);
  border-radius: 50%;
  color: var(--green-950);
  background: var(--cream-50);
  cursor: pointer;
}

.nav-toggle svg { width: 1.35rem; margin: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--white);
  background: var(--green-800);
  box-shadow: 0 10px 25px rgba(31, 92, 69, 0.2);
}
.button-primary:hover { background: var(--green-900); }
.button-outline { color: var(--green-900); border-color: rgba(31, 92, 69, 0.3); background: transparent; }
.button-outline:hover { background: rgba(31, 92, 69, 0.06); }
.button-light { color: var(--green-950); background: var(--cream-100); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(780px, calc(100vh - 5rem));
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--green-950);
}

.hero::before {
  content: "1099";
  position: absolute;
  right: -0.04em;
  bottom: -0.33em;
  color: rgba(244, 239, 230, 0.035);
  font-size: clamp(16rem, 39vw, 38rem);
  line-height: 1;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 38%, rgba(200, 137, 26, 0.16), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin-inline: auto;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.78fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--amber-300);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.article-header h1 {
  margin: 0;
  color: inherit;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6.6rem); }
.hero h1 em { display: block; color: var(--amber-300); font-style: normal; }
.hero .lede { max-width: 39rem; margin: 1.7rem 0 0; color: rgba(255,255,255,0.78); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero-note { margin-top: 1.35rem; color: rgba(255,255,255,0.6); font-size: 0.88rem; }

.book-stage { position: relative; min-height: 32rem; display: grid; place-items: center; }
.book-stage::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  background: var(--cream-200);
  border-radius: 50% 50% 48% 52% / 57% 44% 56% 43%;
  opacity: 0.13;
  transform: rotate(-9deg);
}
.hero-cover {
  position: relative;
  width: min(71%, 330px);
  border-radius: 0.3rem 0.65rem 0.65rem 0.3rem;
  box-shadow: -18px 26px 55px rgba(0,0,0,0.34), inset 5px 0 8px rgba(255,255,255,0.2);
  transform: rotate(3deg);
}
.hero-cover::before { content: ""; position: absolute; left: 2.6%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,0.33); }
.hero-cover img { border-radius: inherit; }
.book-badge {
  position: absolute;
  right: -0.5rem;
  bottom: 2rem;
  width: 7.25rem;
  height: 7.25rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 50%;
  border: 1px solid var(--amber-300);
  color: var(--cream-100);
  background: var(--green-800);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  transform: rotate(-6deg);
}

.promise-bar { color: var(--cream-100); background: var(--green-800); }
.promise-grid {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.promise-item { padding: 1.5rem clamp(1rem, 3vw, 2.4rem); border-left: 1px solid rgba(255,255,255,0.14); }
.promise-item:first-child { border-left: 0; padding-left: 0; }
.promise-item strong { display: block; color: var(--white); font-size: 1.08rem; }
.promise-item span { color: rgba(255,255,255,0.66); font-size: 0.9rem; }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-cream { background: var(--cream-100); }
.section-dark { color: var(--cream-100); background: var(--green-950); }
.container { width: var(--page); margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.6rem; }
.section-heading h2 { max-width: 14ch; color: var(--green-950); font-size: clamp(2.3rem, 5vw, 4.4rem); }
.section-heading p { max-width: 33rem; margin: 0; color: var(--slate-700); }
.section-dark .section-heading h2 { color: var(--cream-100); }
.section-dark .section-heading p { color: rgba(255,255,255,0.66); }

.book-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.5rem); }
.book-card { min-width: 0; }
.book-card a { text-decoration: none; }
.book-card img {
  width: 100%;
  aspect-ratio: 5 / 8;
  object-fit: cover;
  border-radius: 0.35rem;
  box-shadow: 0 15px 30px rgba(8, 44, 34, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.book-card a:hover img { transform: translateY(-6px) rotate(0.4deg); box-shadow: 0 22px 38px rgba(8, 44, 34, 0.22); }
.book-card h3 { margin: 1rem 0 0.1rem; color: var(--green-950); font-size: 1rem; line-height: 1.3; }
.book-card p { margin: 0; color: var(--slate-500); font-size: 0.82rem; line-height: 1.4; }
.section-cta { display: flex; justify-content: center; margin-top: 3rem; }

.principles { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.principle-copy h2 { margin: 0; color: var(--green-950); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; }
.principle-copy > p { max-width: 34rem; color: var(--slate-700); }
.principle-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.principle-list li { display: grid; grid-template-columns: 2.3rem 1fr; gap: 0.85rem; padding-block: 1rem; border-top: 1px solid rgba(31,92,69,0.15); }
.principle-list strong { display: block; color: var(--green-950); }
.principle-list span { color: var(--slate-700); font-size: 0.95rem; }
.principle-number { color: var(--amber-500); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; }

.author-panel { position: relative; display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.author-photo-wrap { position: relative; }
.author-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -1.3rem 1.3rem 1.3rem -1.3rem;
  border: 1px solid rgba(221,183,93,0.55);
  border-radius: 48% 52% 45% 55% / 48% 44% 56% 52%;
}
.author-photo { position: relative; width: min(100%, 470px); aspect-ratio: 1; object-fit: cover; border-radius: 48% 52% 45% 55% / 48% 44% 56% 52%; filter: saturate(0.86) contrast(1.03); }
.author-copy blockquote { margin: 0 0 1.6rem; color: var(--amber-300); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; }
.author-copy p { color: rgba(255,255,255,0.72); }
.signature { margin-top: 1.7rem; color: var(--cream-100); font-size: 1.35rem; font-style: italic; }

.blog-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.3rem; }
.story-card { position: relative; min-height: 19rem; padding: 1.7rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: var(--cream-100); background: var(--green-900); border-radius: var(--radius-md); text-decoration: none; }
.story-card:first-child { min-height: 24rem; background: var(--green-950); }
.story-card::after { content: ""; position: absolute; right: -4rem; bottom: -4rem; width: 12rem; height: 12rem; border: 1px solid rgba(221,183,93,0.38); border-radius: 50%; box-shadow: 0 0 0 1.5rem rgba(221,183,93,0.05), 0 0 0 3rem rgba(221,183,93,0.035); }
.story-meta { position: relative; z-index: 1; color: var(--amber-300); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.story-card h3 { position: relative; z-index: 1; margin: 2rem 0 0; max-width: 15ch; font-size: clamp(1.65rem, 3vw, 2.6rem); line-height: 1.05; }
.story-card p { position: relative; z-index: 1; margin: 1rem 0 0; color: rgba(255,255,255,0.64); font-size: 0.93rem; }
.story-card:hover { background: var(--green-800); }

.cta-band { padding-block: 3.4rem; color: var(--cream-100); background: var(--amber-500); }
.cta-inner { width: var(--page); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { max-width: 22ch; margin: 0; color: var(--green-950); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.035em; }

.site-footer { padding-block: 4rem 2rem; color: rgba(255,255,255,0.67); background: #041d17; }
.footer-grid { width: var(--page); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand { color: var(--cream-100); font-size: 1.3rem; font-weight: 700; }
.footer-copy { max-width: 29rem; font-size: 0.9rem; }
.footer-nav h3 { margin: 0 0 0.8rem; color: var(--cream-100); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a { display: block; width: fit-content; margin: 0.45rem 0; text-decoration: none; }
.footer-nav a:hover { color: var(--amber-300); }
.footer-bottom { width: var(--page); margin: 3rem auto 0; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; }

/* Inner pages */
.page-hero { padding-block: clamp(4rem, 10vw, 8rem); color: var(--cream-100); background: var(--green-950); }
.page-hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: end; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.page-hero p { max-width: 35rem; margin: 0 0 0.5rem; color: rgba(255,255,255,0.7); font-size: 1.15rem; }
.breadcrumbs { margin-bottom: 1rem; color: var(--amber-300); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.breadcrumbs a { text-decoration: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2.5rem; }
.filter-button { padding: 0.55rem 0.95rem; border: 1px solid rgba(31,92,69,0.25); border-radius: 999px; color: var(--green-900); background: transparent; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { color: var(--white); background: var(--green-800); border-color: var(--green-800); }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.collection-card { min-height: 13rem; padding: 1.4rem; display: flex; flex-direction: column; border: 1px solid rgba(31,92,69,0.15); border-radius: var(--radius-md); background: rgba(255,255,255,0.62); box-shadow: var(--shadow-sm); }
.collection-card.is-hidden { display: none; }
.collection-no { color: var(--amber-500); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; }
.collection-card h2 { margin: 1rem 0 0.6rem; color: var(--green-950); font-size: 1.4rem; line-height: 1.15; }
.collection-card p { margin: 0; color: var(--slate-700); font-size: 0.9rem; }
.collection-card .card-foot { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.status { color: var(--green-700); font-size: 0.78rem; font-weight: 700; }
.status.soon { color: var(--slate-500); }
.text-link { color: var(--green-800); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }

.about-grid { display: grid; grid-template-columns: minmax(280px, 0.75fr) 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-grid .author-photo { position: sticky; top: 7rem; border-radius: var(--radius-lg); }
.prose { max-width: 47rem; }
.prose h2 { margin: 2.4rem 0 0.7rem; color: var(--green-950); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--slate-700); }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 4px solid var(--amber-500); color: var(--green-950); background: var(--cream-100); font-size: 1.25rem; }
.disclosure { margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(31,92,69,0.16); border-radius: var(--radius-sm); color: var(--slate-700); background: var(--cream-100); font-size: 0.88rem; }

.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.archive-card { padding: 1.5rem; border: 1px solid rgba(31,92,69,0.15); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); }
.archive-card .story-meta { color: var(--amber-500); }
.archive-card h2 { margin: 1rem 0 0.6rem; color: var(--green-950); font-size: 1.65rem; line-height: 1.12; }
.archive-card p { color: var(--slate-700); font-size: 0.95rem; }

.article-header { padding-block: clamp(4rem, 9vw, 7rem); color: var(--cream-100); background: var(--green-950); }
.article-header .container { max-width: 900px; }
.article-header h1 { max-width: 15ch; font-size: clamp(3rem, 7vw, 6rem); }
.article-deck { max-width: 42rem; margin: 1.5rem 0 0; color: rgba(255,255,255,0.72); font-size: 1.2rem; }
.article-meta { margin-top: 1.5rem; color: var(--amber-300); font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; }
.article-layout { width: var(--page); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 720px) minmax(220px, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.article-body { font-size: 1.1rem; }
.article-body h2 { margin: 2.8rem 0 0.8rem; color: var(--green-950); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; }
.article-body h3 { margin: 2rem 0 0.5rem; color: var(--green-900); font-size: 1.45rem; }
.article-body p, .article-body li { color: #394640; }
.article-body a { color: var(--green-800); text-underline-offset: 0.2em; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-callout { margin: 2rem 0; padding: 1.4rem; border-radius: var(--radius-sm); color: var(--green-950); background: var(--cream-100); border: 1px solid var(--cream-200); }
.article-callout strong { display: block; margin-bottom: 0.25rem; }
.article-aside { position: sticky; top: 7rem; padding: 1.4rem; border-radius: var(--radius-md); color: var(--cream-100); background: var(--green-900); }
.article-aside h2 { margin: 0; font-size: 1.45rem; line-height: 1.1; }
.article-aside p { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.article-sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(31,92,69,0.16); }
.article-sources h2 { font-size: 1.35rem; }
.article-sources li { margin-bottom: 0.5rem; font-size: 0.9rem; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 1.2rem 1.25rem 1.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--cream-50);
    border-bottom: 1px solid rgba(31,92,69,0.15);
    box-shadow: var(--shadow-sm);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.5rem; }
  .site-nav .button { margin-top: 0.5rem; }
  .hero-grid { grid-template-columns: 1fr 0.7fr; gap: 2rem; }
  .book-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid, .archive-grid { grid-template-columns: 1fr 1fr; }
  .story-card:first-child { grid-column: 1 / -1; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --page: min(100% - 1.5rem, 1180px); }
  body { font-size: 1rem; }
  .nav-wrap { min-height: 4.5rem; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 4rem 3rem; grid-template-columns: 1fr; }
  .hero h1 { max-width: 10ch; }
  .book-stage { min-height: 25rem; }
  .hero-cover { width: min(66%, 270px); }
  .book-badge { right: 6%; width: 6.5rem; height: 6.5rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-item, .promise-item:first-child { padding: 1.1rem 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .promise-item:first-child { border-top: 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .book-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .book-card { min-width: 42vw; scroll-snap-align: start; }
  .principles, .author-panel, .about-grid { grid-template-columns: 1fr; }
  .author-photo-wrap { max-width: 420px; }
  .blog-grid, .archive-grid, .collection-grid { grid-template-columns: 1fr; }
  .story-card:first-child { grid-column: auto; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero .container { grid-template-columns: 1fr; gap: 1.2rem; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 460px) {
  .brand-text small { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .book-card { min-width: 58vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media print {
  .site-header, .site-footer, .cta-band, .article-aside { display: none; }
  body { background: white; color: black; }
  .article-header { padding: 1rem 0; color: black; background: white; }
  .article-layout { display: block; width: 100%; }
}

/* --- Article sidebar cards --- */
.article-aside { position: sticky; top: 7rem; display: grid; gap: 1.1rem; padding: 0; background: none; }
.aside-card { padding: 1.4rem; border-radius: var(--radius-md); color: var(--cream-100); background: var(--green-900); }
.aside-card .eyebrow { color: var(--amber-300); }
.aside-card h3 { margin: 0.3rem 0 0.6rem; color: var(--cream-100); font-size: 1.25rem; line-height: 1.15; }
.aside-card p { margin: 0 0 1rem; color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.aside-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.aside-list a { color: var(--cream-100); font-size: 0.92rem; line-height: 1.3; text-decoration: none; border-bottom: 1px solid rgba(221,183,93,0.4); }
.aside-list a:hover { color: var(--amber-300); }

/* --- Format links (Kindle / Paperback / Hardcover / Audiobook) --- */
.format-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.format-link {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(31,92,69,0.28);
  border-radius: 999px;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.format-link:hover { color: var(--cream-100); background: var(--green-800); border-color: var(--green-800); }
.aside-card .format-link { color: var(--cream-100); border-color: rgba(221,183,93,0.45); }
.aside-card .format-link:hover { color: var(--green-950); background: var(--amber-300); border-color: var(--amber-300); }
.collection-card .card-foot { flex-wrap: wrap; }

/* --- FAQ (drives FAQPage rich results) --- */
.faq { margin: 1.5rem 0 0; display: grid; gap: 0.6rem; }
.faq-item { padding: 0.9rem 1.1rem; border: 1px solid rgba(31,92,69,0.16); border-radius: var(--radius-sm); background: var(--cream-100); }
.faq-item summary { cursor: pointer; color: var(--green-950); font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--amber-500); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { margin-top: 0.7rem; color: var(--slate-700); font-size: 0.94rem; line-height: 1.6; }

/* --- Article footer bits --- */
.article-disclaimer { margin-top: 2.5rem; padding: 1rem 1.2rem; border: 1px solid rgba(31,92,69,0.16); border-radius: var(--radius-sm); color: var(--slate-700); background: var(--cream-100); font-size: 0.88rem; }
.source-list { margin: 0.8rem 0 0; padding-left: 1.1rem; }
.source-list li { margin-bottom: 0.5rem; font-size: 0.9rem; }

@media (max-width: 980px) {
  .article-aside { position: static; }
}

/* --- Tables in article bodies --- */

/* Grid children default to min-width:auto and refuse to shrink below their
   content, so one wide table would stretch the whole article column past the
   viewport. Let the column shrink; the wrapper below owns the overflow. */
.article-layout > * { min-width: 0; }

/* The table keeps a minimum width of roughly one column-width per column, so
   cells get room to breathe and their text wraps instead of being crushed.
   Below that the wrapper scrolls sideways. Two columns still fit a phone;
   four do not, and scroll. --cols is set per table at build time. */
.table-scroll {
  max-width: 100%;
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(31, 92, 69, 0.18);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
}
.section-cream .table-scroll { background: var(--white); }

.article-body table {
  width: 100%;
  min-width: calc(var(--cols, 2) * 11rem);
  margin: 0;
  border-collapse: collapse;
  text-align: start;
}
.article-body th,
.article-body td {
  padding: 0.95rem 1.05rem;
  text-align: start;
  vertical-align: top;
  line-height: 1.65;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(31, 92, 69, 0.14);
}
.article-body thead th {
  color: var(--cream-50);
  background: var(--green-950);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.article-body tbody th {
  color: var(--green-800);
  font-weight: 700;
}
.article-body tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 620px) {
  .article-body th,
  .article-body td { padding: 0.85rem 0.9rem; }
}

}
