/* =========================================================================
   The Planters' Guild — The Leaf Library pillar hub styles
   Loads after tokens.css + base.css. Site chrome (header/footer/search) lives
   in base.css. Ported from the legacy inline block; raw palette → tokens.
   Prose element selectors scoped to .wrap so they don't leak past the hub body.
   ========================================================================= */

:root { --side-pad: clamp(20px, 5vw, 56px); }

/* --- Typographic hero ------------------------------------------------------ */
.hero-band {
  background: var(--walnut);
  color: var(--cream);
  padding: 72px 32px 64px;
  text-align: center;
  border-bottom: 1px solid var(--walnut);
}
.hero-band .eyebrow-light {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--kraft);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-band h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.hero-band .subhead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--kraft);
  max-width: 640px;
  margin: 0 auto;
}
.hero-band .subhead em { font-style: normal; color: var(--cream); }

/* --- Illustration + divider bands ------------------------------------------ */
.hero-illustration {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--kraft);
  background: var(--cream);
}
.hero-illustration img { width: 100%; height: auto; display: block; }
.section-divider { margin: 48px 0 8px; width: 100%; display: block; }
.section-divider img { width: 100%; height: auto; display: block; }

/* --- Body wrap + prose ----------------------------------------------------- */
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}
.wrap h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  margin: 56px 0 14px;
  color: var(--forest-pine);
}
.wrap h2.first { margin-top: 0; }
.wrap .section-intro {
  font-size: 17px;
  color: var(--aged-ink);
  margin-bottom: 28px;
  max-width: 720px;
}
.wrap p { margin: 0 0 18px; color: var(--walnut); }
.wrap p em { font-style: italic; }
.wrap strong { color: var(--walnut); font-weight: 600; }

/* --- Schedule strip -------------------------------------------------------- */
.schedule-strip {
  background: var(--kraft);
  border-radius: 3px;
  padding: 18px 22px;
  margin: 40px 0 8px;
  border-left: 4px solid var(--forest-pine);
}
.schedule-strip-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-pine);
  font-weight: 600;
  margin-bottom: 12px;
}
.schedule-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  font-size: 12px;
}
.schedule-cell {
  padding: 8px 10px;
  background: var(--cream);
  border: 1px solid var(--kraft);
  border-radius: 2px;
  line-height: 1.35;
}
.schedule-cell .date {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 2px;
}
.schedule-cell .shape {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--walnut);
  font-weight: 600;
}
.schedule-cell.current { background: var(--walnut); border-color: var(--walnut); }
.schedule-cell.current .date { color: var(--terracotta); }
.schedule-cell.current .shape { color: var(--cream); }

/* --- Shape grid + cards ---------------------------------------------------- */
.shape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 0 8px;
}
.shape-card {
  background: var(--cream);
  border: 1px solid var(--kraft);
  border-radius: 3px;
  padding: 22px 24px 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.shape-thumb {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  background: var(--cream);
  border: 1px solid var(--kraft);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shape-thumb svg,
.shape-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shape-body { flex-grow: 1; min-width: 0; }
.shape-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--walnut);
  margin-bottom: 2px;
  line-height: 1.2;
}
.shape-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 10px;
}
.shape-desc {
  font-size: 14px;
  color: var(--aged-ink);
  line-height: 1.55;
  margin-bottom: 12px;
}
.shape-desc em { font-style: italic; color: var(--walnut); }
.shape-link {
  font-size: 12px;
  color: var(--forest-pine);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.shape-link.pending {
  color: var(--aged-ink);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
}

/* --- Synthesis card -------------------------------------------------------- */
.synthesis-card {
  background: var(--walnut);
  color: var(--cream);
  border-radius: 3px;
  padding: 32px 32px 28px;
  margin: 28px 0 12px;
}
.synthesis-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kraft);
  font-weight: 600;
  margin-bottom: 10px;
}
.synthesis-card h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}
.synthesis-card p { color: var(--kraft); margin-bottom: 16px; font-size: 16px; }
.synthesis-card p:last-child { margin-bottom: 0; }

/* --- Sources + related ----------------------------------------------------- */
.sources {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--kraft);
  font-size: 13px;
  color: var(--aged-ink);
  line-height: 1.6;
}
.sources-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-pine);
  font-weight: 600;
  margin-bottom: 12px;
}
.sources p { font-size: 13px; margin-bottom: 12px; color: var(--aged-ink); }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--kraft); }
.related-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 16px;
}
.related-card {
  background: var(--cream);
  border: 1px solid var(--kraft);
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: 3px;
}
.related-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--walnut);
  margin-bottom: 4px;
  font-weight: 600;
}
.related-card .pillar {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 6px;
}
.related-card p { font-size: 14px; color: var(--aged-ink); margin: 0; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 720px) {
  .schedule-strip-grid { grid-template-columns: repeat(3, 1fr); }
  .shape-grid { grid-template-columns: 1fr; }
}
