/* =========================================================================
   The Planters' Guild — The Plant Library top-hub styles
   Loads after tokens.css + base.css. Site chrome (header/footer/search) lives
   in base.css. Same dossier-hub structure as the Field Manual / Workshop hubs,
   with two additions for this hub: `.section-lede` (the intro paragraph under
   each section head) and `.entries--divided` (the second entries section gets a
   top border + tighter top padding). Kept as its own sheet so the genus-
   compendium sub-hubs can share or diverge from it later.
   ========================================================================= */

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

/* --- Pillar hero ----------------------------------------------------------- */
.pillar-hero {
  background: var(--kraft);
  padding: 100px var(--side-pad) 80px;
}
.pillar-hero__inner { max-width: var(--container-width); margin: 0 auto; }
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--aged-ink);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--aged-ink); }
.breadcrumb .sep { margin: 0 10px; color: rgba(42, 33, 27, 0.3); }
.pillar-hero .kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 18px;
}
.pillar-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05; letter-spacing: -0.012em;
  color: var(--walnut); margin-bottom: 28px;
  max-width: 800px;
}
.pillar-hero p.lede {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 20px; line-height: 1.55;
  color: var(--aged-ink); max-width: 680px;
}

/* --- Pillar promise -------------------------------------------------------- */
.pillar-promise {
  background: var(--cream);
  padding: 60px var(--side-pad);
  border-bottom: 1px solid rgba(42, 33, 27, 0.08);
}
.pillar-promise__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.promise-card {
  border-left: 2px solid var(--terracotta);
  padding-left: 24px;
}
.promise-card__label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.promise-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--walnut);
  margin-bottom: 10px;
}
.promise-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--aged-ink);
}

/* --- Entries --------------------------------------------------------------- */
.entries {
  background: var(--cream);
  padding: 80px var(--side-pad) 100px;
}
/* Second section (Individual Profiles) sits under the compendiums with a rule. */
.entries--divided {
  border-top: 1px solid rgba(42, 33, 27, 0.08);
  padding-top: 60px;
}
.entries__inner { max-width: var(--container-width); margin: 0 auto; }
.entries__head { margin-bottom: 40px; }
.entries__head .kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 12px;
}
.entries__head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--walnut);
}
.entries__head .section-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--aged-ink);
  margin-top: 12px;
  max-width: 680px;
}
.entries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.entry-card {
  background: var(--kraft);
  text-decoration: none;
  transition: transform 0.25s ease;
  display: flex; flex-direction: column;
}
.entry-card:hover { transform: translateY(-3px); text-decoration: none; }
.entry-card__visual {
  aspect-ratio: 4 / 3;
  background: var(--walnut);
  position: relative;
  overflow: hidden;
}
.entry-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; inset: 0;
}
.entry-card__visual-label {
  position: absolute; bottom: 14px; left: 16px;
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.entry-card__body {
  padding: 22px 24px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}
.entry-card__level {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 8px;
}
.entry-card h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px; line-height: 1.25;
  color: var(--walnut); margin-bottom: 10px;
}
.entry-card p {
  font-size: 13px; line-height: 1.6;
  color: var(--aged-ink);
  margin-bottom: 16px;
  flex: 1;
}
.entry-card__tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: auto;
}
.audience-tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--aged-ink);
  padding: 3px 8px;
  background: rgba(42, 33, 27, 0.06);
  border-radius: 2px;
}

/* --- Upcoming queue -------------------------------------------------------- */
.upcoming {
  background: var(--kraft);
  padding: 60px var(--side-pad) 80px;
  border-top: 1px solid rgba(42, 33, 27, 0.08);
}
.upcoming__inner { max-width: var(--container-width); margin: 0 auto; }
.upcoming__head { margin-bottom: 32px; }
.upcoming__head .kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 12px;
}
.upcoming__head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--walnut);
}
.upcoming__head p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--aged-ink);
  margin-top: 10px;
  max-width: 600px;
}
.upcoming__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
}
.upcoming__item {
  background: var(--cream);
  padding: 18px 22px;
  border-left: 2px solid var(--aged-ink);
  opacity: 0.85;
}
.upcoming__item-label {
  font-family: var(--font-sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aged-ink);
  margin-bottom: 6px;
}
.upcoming__item h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px; line-height: 1.3;
  color: var(--walnut);
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .pillar-promise__inner { grid-template-columns: 1fr; gap: 24px; }
  .entries__grid { grid-template-columns: 1fr 1fr; }
  .upcoming__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .entries__grid { grid-template-columns: 1fr; }
}
