/* ------------------------------------------------------------
   PEOPLE PAGES — shared styles for the Projects > People
   section: /projects/plant-breeders/, /projects/thinkers/,
   /projects/thinkers/solarpunk/ and /projects/economics/degrowth/.

   Extracted verbatim from the inline <style> block that used to
   live only on plant-breeders/index.html so the thinkers pages
   do not carry a second copy of it.

   .breeder-head and .person-head are the same thing under two
   names: plant breeders and thinkers are both people, and the
   page markup predates this file.
   ------------------------------------------------------------ */

.pp-hero,
.pb-hero {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(212,168,67,0.18), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(74,107,138,0.14), transparent 50%),
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 1.5rem 2.8rem;
  text-align: center;
}
.pp-hero .kicker,
.pb-hero .kicker { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.8rem; }
.pp-hero h1,
.pb-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--soil); margin: 0 0 0.5rem; }
.pp-hero .sub,
.pb-hero .sub { font-style: italic; color: var(--ink-soft); max-width: 680px; margin: 0 auto; font-size: 1.1rem; line-height: 1.7; }

.pp-wrap,
.pb-wrap { max-width: 880px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.pp-wrap p,
.pb-wrap p { font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); margin: 0 0 1.2rem; }
.pp-wrap a,
.pb-wrap a { color: var(--terra); }

.pp-intro,
.pb-intro { border-left: 4px solid var(--terra); padding-left: 1.4rem; margin-bottom: 3rem; }

.person-head,
.breeder-head {
  display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: flex-start;
  border-bottom: 2px solid var(--terra); padding-bottom: 1.6rem; margin-bottom: 1.8rem;
}
.person-head .who,
.breeder-head .who { flex: 1 1 340px; min-width: 0; }
.person-head h2,
.breeder-head h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--soil); margin: 0 0 0.4rem; line-height: 1.2; }
.person-head .dates,
.breeder-head .dates { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.9rem; }
.person-head .standfirst,
.breeder-head .standfirst { font-style: italic; font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); margin: 0; }

/* portrait slot: honest, not a stand-in face */
.portrait {
  flex: 0 0 240px; width: 240px; max-width: 100%;
  border: 1px solid var(--line); border-top: 4px solid var(--wheat);
  background: var(--card); border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.2rem;
}
.portrait .pframe {
  aspect-ratio: 3 / 4; width: 100%; border: 1px dashed var(--line);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0.9rem; background: rgba(201,188,163,0.14);
}
.portrait .pframe span { font-family: var(--mono); font-size: 1rem; line-height: 1.55; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.portrait figcaption { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin-top: 0.9rem; }

.facts { list-style: none; padding: 0; margin: 0 0 2.6rem; }
.facts li { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); padding: 0.85rem 0 0.85rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.facts li::before { content: "\2192"; position: absolute; left: 0; color: var(--terra); font-family: var(--mono); }
.facts li strong { color: var(--soil); }

h3.pb-section { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); margin: 3rem 0 1.4rem; }

/* one work: a book, a film, a campaign, a variety */
.variety { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: var(--radius); padding: 1.7rem 1.7rem 1.5rem; margin-bottom: 1.6rem; }
.variety .vhead { display: flex; flex-wrap: wrap; gap: 0.7rem 1.2rem; align-items: baseline; margin-bottom: 0.35rem; }
.variety .vname { font-size: 1.5rem; color: var(--soil); margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.variety .vyear { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.1em; color: var(--terra); max-width: 100%; overflow-wrap: anywhere; }
.variety .vkind { font-style: italic; font-size: 1rem; color: var(--ink-soft); margin: 0 0 1rem; }
.variety p { font-size: 1.06rem; line-height: 1.78; color: var(--ink-soft); margin: 0 0 0.95rem; }
.variety p:last-child { margin-bottom: 0; }
.variety .photo { width: 100%; height: auto; border-radius: 2px; border: 1px solid var(--line); margin: 0.4rem 0 1rem; display: block; }
.variety .credit { font-family: var(--mono); font-size: 1rem; line-height: 1.6; letter-spacing: 0.04em; color: var(--ink-soft); margin: 0; }

.pedigree { font-family: var(--mono); font-size: 1rem; line-height: 1.7; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 2px; padding: 0.9rem 1.1rem; color: var(--soil); overflow-wrap: anywhere; }

.evidence { background: rgba(184,92,56,0.07); border: 1px solid var(--terra); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2.6rem 0; }
.evidence h3 { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin: 0 0 1rem; }
.evidence p, .evidence li { font-size: 1.04rem; line-height: 1.75; color: var(--ink-soft); }
.evidence ul { margin: 0; padding-left: 1.3rem; }
.evidence li { margin-bottom: 0.8rem; }

/* "our take" — the farm's own position on somebody else's work.
   Visually distinct from the sourced material so a reader can
   always tell which is which. */
.take { background: rgba(74,107,138,0.10); border: 1px solid var(--sea); border-left: 4px solid var(--sea); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2.6rem 0; }
.take h3 { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soil); margin: 0 0 1rem; }
.take p { font-size: 1.06rem; line-height: 1.8; color: var(--ink-soft); margin: 0 0 1rem; }
.take p:last-child { margin-bottom: 0; }

.sources { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 3rem; }
.sources h2 { font-family: var(--mono); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); margin: 0 0 1.1rem; }
.sources ol { padding-left: 1.4rem; }
.sources li { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1rem; overflow-wrap: anywhere; }
.sources a { color: var(--terra); }

.backlink { display: inline-block; margin-top: 2.4rem; font-family: var(--mono); font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--terra); text-decoration: none; }
.backlink:hover, .backlink:focus-visible { color: var(--olive); }

/* ------------------------------------------------------------
   .person — one profile block on a category page. The id on the
   h2 is the nav anchor target (#naomi-klein, #astra-taylor …),
   so scroll-margin keeps the heading clear of the sticky top
   bar when a deep link lands on it.
   ------------------------------------------------------------ */
.person { scroll-margin-top: 5.5rem; }
.person + .person { margin-top: 4.5rem; }
.person .who h2 { scroll-margin-top: 5.5rem; }

@media (max-width: 620px) {
  .portrait { flex: 1 1 100%; width: 100%; }
  .variety { padding: 1.35rem 1.2rem 1.2rem; }
  .variety .vname { font-size: 1.3rem; }
}
