/* Careers for Animals – site styles
   One stylesheet for both pages. Desktop styles first, phone styles in the
   @media (max-width: 760px) block near the bottom.
   Brand colours live in the variables below: change them here, not per element. */

:root {
  --forest: #224D38;
  --forest-deep: #183A2A;
  --ink: #17231D;
  --ink-muted: #4A5650;
  --paper: #F7F5EF;
  --mint: #B1DBBE;
  --mint-soft: #E3F1E7;
  --stone: #D8D4C8;
  --coral: #EF5453;
  --on-forest-muted: #D4E8DA;
  --sage: #82917C;
  --sans: 'Instrument Sans', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 28px;
}
img { max-width: 100%; }
a { color: var(--forest); }
a:hover { color: var(--forest-deep); }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; color: var(--forest); margin: 0; }
p { margin: 0; }
strong.sans, .sans { font-family: var(--sans); }

.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.stack { display: flex; flex-direction: column; }

.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted);
}
.h2 { font-size: 40px; line-height: 46px; letter-spacing: -.025em; }
.lead { font-size: 20px; line-height: 32px; }
.dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* Underline stroke under a word */
.underlined { position: relative; display: inline-block; }
.underlined img {
  position: absolute; left: -2%; bottom: -12px; width: 104%; height: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; align-self: flex-start;
  text-decoration: none; font-family: var(--sans); font-weight: 500;
  font-size: 16px; line-height: 1.2; padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(23,35,29,.16); filter: brightness(.94); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-white { background: #fff; color: var(--forest); }
.btn-sm { font-size: 15px; padding: 12px 20px; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px;
}

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px;
  transition: opacity .2s ease;
}
.arrow-link:hover { opacity: .75; }
.arrow-link svg { transition: transform .2s ease; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- Call banner ---------- */
.call-banner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
  background: var(--forest); color: #fff; text-decoration: none;
  padding: 22px 32px; font-family: var(--sans); font-weight: 500; font-size: 21px; line-height: 30px; text-align: center;
}
.call-banner:hover { color: #fff; }
.call-banner .more { text-decoration: underline; text-underline-offset: 4px; color: var(--mint); }
.call-banner.top { display: none; } /* shown on phones only, see bottom */

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; padding-bottom: 24px;
}
.site-header .logo img { height: 48px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-weight: 500; font-size: 15px; }
.site-nav .links { display: flex; align-items: center; gap: 28px; }
.site-nav .links a { text-decoration: none; color: var(--ink); }
.site-nav .links a:hover, .site-nav .links a[aria-current="page"] {
  color: var(--forest); text-decoration: underline; text-underline-offset: 5px;
}
.site-nav .btn { font-size: 15px; padding: 11px 20px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 96px;
}
.hero .text { display: flex; flex-direction: column; gap: 24px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  background: var(--mint-soft); padding: 8px 16px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--forest);
}
a.pill-link { text-decoration: none; transition: background-color .2s ease; }
a.pill-link::after { content: "\2192"; transition: transform .2s ease; }
a.pill-link:hover, a.pill-link:focus-visible { background: var(--mint); color: var(--forest-deep); }
a.pill-link:hover::after, a.pill-link:focus-visible::after { transform: translateX(3px); }
a.pill-link:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.hero h1 { font-size: 64px; line-height: 66px; letter-spacing: -.035em; }
.hero .lead { max-width: 520px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .buttons { padding-top: 8px; }
.hero .photo { position: relative; padding: 0 0 24px 24px; }
.hero .photo::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 88%; height: 88%;
  background: var(--mint); border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
}
.hero .photo img {
  position: relative; display: block; width: 100%; height: 460px; object-fit: cover;
  border-radius: 40% 60% 46% 54% / 44% 40% 60% 56%;
}

/* ---------- Why ---------- */
.why { background: var(--mint-soft); }
.why .inner { display: flex; flex-direction: column; gap: 40px; }
.two-col {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px; align-items: center;
}
.cover { display: block; width: 100%; object-fit: cover; border-radius: 20px; }
.why .cover { height: 240px; }
.why .intro { display: flex; flex-direction: column; gap: 16px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
details.card {
  background: #fff; border-radius: 16px; padding: 24px;
  transition: box-shadow .2s ease;
}
details.card:hover { box-shadow: 0 8px 24px rgba(23,35,29,.08); }
details.card summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
details.card summary::-webkit-details-marker { display: none; }
details.card summary strong { font-family: var(--sans); font-size: 20px; line-height: 26px; color: var(--forest); }
details.card summary:hover strong { text-decoration: underline; text-underline-offset: 4px; }
details.card summary span {
  font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--forest);
  text-decoration: underline; text-underline-offset: 4px;
}
details.card[open] summary span { display: none; }
details.card p { margin-top: 12px; font-size: 16px; line-height: 26px; }

/* ---------- Outcomes ---------- */
.outcomes { display: flex; flex-direction: column; gap: 40px; }
.heading { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.photo-stats { position: relative; border-radius: 20px; overflow: hidden; }
.photo-stats img { display: block; width: 100%; height: 460px; object-fit: cover; }
.stats {
  position: absolute; left: 20px; top: 20px;
  background: #fff; border-radius: 16px; padding: 20px 28px;
  display: flex; flex-wrap: wrap; gap: 40px; box-shadow: 0 12px 40px rgba(23,35,29,.18);
}
.stat .num { font-family: var(--sans); font-weight: 600; font-size: 40px; line-height: 44px; letter-spacing: -.035em; color: var(--forest); }
.stat .num small { font-size: 20px; color: var(--ink-muted); }
.stat .label { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; font-size: 16px; line-height: 25px; }
.facts > div { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--forest); padding-top: 16px; }
.facts .title { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--forest); }
.quote { margin: 24px auto 0; max-width: 820px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.quote blockquote { margin: 0; font-size: 28px; line-height: 40px; color: var(--forest); }
.quote figcaption { font-family: var(--sans); font-size: 14px; color: var(--ink-muted); }

/* ---------- Impact ---------- */
.impact { background: var(--forest); color: #fff; }
.impact .inner { display: flex; flex-direction: column; gap: 56px; }
.impact .eyebrow, .impact .lead { color: var(--on-forest-muted); }
.impact h2, .impact h3 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; font-size: 16px; line-height: 25px; }
.step { background: rgba(255,255,255,.06); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--on-forest-muted); }
.step .n { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--mint); }
.step h3 { font-size: 20px; line-height: 26px; }
.step.final { background: var(--mint); color: var(--forest-deep); }
.step.final .n, .step.final h3 { color: var(--forest-deep); }
.impact .arrow-link { color: var(--mint); }

/* ---------- Model ---------- */
.model {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px; align-items: center;
}
.model .cover { height: 460px; object-position: 0% 0%; }
.model .text { display: flex; flex-direction: column; gap: 20px; }
.model p { font-size: 19px; line-height: 31px; }

/* ---------- Get involved ---------- */
.involved { background: #fff; }
.involved .inner { max-width: 1280px; margin: 0 auto; padding: 120px 40px; display: flex; flex-direction: column; gap: 48px; }
.involved h2 { font-size: 48px; line-height: 52px; letter-spacing: -.035em; text-align: center; }
.involved h2 .underlined img { bottom: -14px; height: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.action { border-radius: 20px; padding: 32px; min-height: 260px; display: flex; flex-direction: column; gap: 16px; }
.action h3 { font-size: 26px; line-height: 30px; }
.action p { flex-grow: 1; font-size: 16px; line-height: 26px; }
.action .buttons { gap: 8px; }
.action.forest { background: var(--forest); color: #fff; }
.action.forest h3 { color: #fff; }
.action.forest p { color: var(--on-forest-muted); }
.action.mint { background: var(--mint-soft); }
.action.paper { background: var(--paper); }

/* ---------- Team ---------- */
.team { display: flex; flex-direction: column; gap: 40px; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.person { display: flex; gap: 24px; align-items: flex-start; }
.person.center { align-items: center; }
.avatar {
  flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 32px; color: var(--forest);
}
.person .bio { display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 26px; }
.person h3 { font-size: 22px; }
.local { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.more-to-come {
  text-decoration: none; border: 1.5px dashed var(--sage); border-radius: 20px; padding: 24px;
  display: flex; gap: 20px; align-items: center; transition: background .2s ease, border-color .2s ease;
}
.more-to-come:hover { border-color: var(--forest); background: #fff; }
.more-to-come .plus {
  flex: 0 0 72px; height: 72px; border-radius: 50%; border: 1.5px dashed var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 28px; color: var(--sage);
}
.more-to-come .t { font-family: var(--sans); font-weight: 600; font-size: 20px; color: var(--forest); }
.more-to-come .s { font-size: 15px; color: var(--ink-muted); }

/* ---------- Call box (home) ---------- */
.call-box {
  background: var(--mint-soft); border-radius: 20px; padding: 56px;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.call-box .text { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.call-box h2 { font-size: 36px; line-height: 42px; letter-spacing: -.025em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--on-forest-muted); }
.site-footer .container { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.site-footer img { height: 44px; width: auto; display: block; }
.site-footer a { color: var(--mint); }

/* ================= Call for organizers page ================= */
.title-band { background: var(--forest); color: #fff; }
.title-band .container { padding-top: 28px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.breadcrumb { font-family: var(--sans); font-size: 14px; color: var(--on-forest-muted); }
.breadcrumb a { color: var(--on-forest-muted); }
.breadcrumb span:last-child { color: #fff; }
.title-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }
.title-band .eyebrow { color: var(--mint); }
.title-band h1 { color: #fff; font-size: 46px; line-height: 50px; letter-spacing: -.03em; }
.title-band p { font-size: 18px; line-height: 29px; color: var(--on-forest-muted); }
.key-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
  padding-top: 20px; border-top: 1px solid rgba(177,219,190,.3);
}
.key-facts div { display: flex; flex-direction: column; gap: 2px; font-family: var(--sans); }
.key-facts span { font-weight: 500; font-size: 13px; color: var(--mint); }
.key-facts strong { font-size: 16px; color: #fff; }
.wide-photo { margin: 0; }
.wide-photo img { display: block; width: 100%; height: 371px; object-fit: cover; object-position: 50% 55%; }

.call-main { display: flex; flex-wrap: wrap; gap: 72px; padding-top: 48px; padding-bottom: 96px; }
.toc { flex: 0 0 240px; align-self: flex-start; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.toc nav { display: flex; flex-direction: column; font-family: var(--sans); font-size: 15px; }
.toc nav a {
  text-decoration: none; color: var(--ink-muted); font-weight: 500;
  padding: 7px 0 7px 14px; border-left: 2px solid var(--stone); transition: border-color .2s ease, color .2s ease;
}
.toc nav a:hover, .toc nav a.active { color: var(--forest); border-left-color: var(--forest); }
.toc nav a.active { font-weight: 600; }
.toc .btn { font-size: 14px; padding: 9px 18px; margin-top: 8px; }

.call-article { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.call-article > section { display: flex; flex-direction: column; gap: 18px; padding: 48px 0; border-top: 1px solid var(--stone); scroll-margin-top: 24px; }
.call-article > section:first-child { padding-top: 0; border-top: 0; }
.call-article > section:last-child { padding-bottom: 0; }
.call-article h2 { font-size: 30px; line-height: 36px; letter-spacing: -.02em; }
.muted { color: var(--ink-muted); }
.bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { position: relative; padding-left: 21px; font-size: 17px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.bullets strong { font-family: var(--sans); color: var(--forest); }
.support-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.support-cards div { background: #fff; border-radius: 14px; padding: 20px; font-size: 16px; line-height: 25px; }
.support-cards strong { display: block; font-family: var(--sans); font-size: 17px; color: var(--forest); margin-bottom: 4px; }
.note { background: #fff; border-radius: 14px; padding: 18px 20px; font-size: 16px; line-height: 25px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(0,150px) minmax(0,1fr); gap: 4px 16px; padding: 0 0 18px 28px; font-size: 16px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }
.timeline li::after { content: ""; position: absolute; left: 5.25px; top: 23px; bottom: 4px; width: 1.5px; background: var(--mint); }
.timeline li:first-child::before { background: var(--forest); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline strong { font-family: var(--sans); color: var(--forest); }
.apply-box {
  background: var(--mint-soft); border-radius: 16px; padding: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.apply-box strong { display: block; font-family: var(--sans); font-size: 18px; color: var(--forest); }
.apply-box span { font-size: 15px; color: var(--ink-muted); }
.small { font-size: 16px; line-height: 26px; }

/* ================= Subtle appear animations =================
   Pure CSS. Browsers without scroll-driven animation support simply show
   everything; visitors who prefer reduced motion get no animation. */
@keyframes cfa-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .text > *, .title-band .container > * { animation: cfa-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .text > :nth-child(3), .title-band .container > :nth-child(2) { animation-delay: .08s; }
  .hero .text > :nth-child(4), .title-band .container > :nth-child(3) { animation-delay: .16s; }
  .hero .photo { animation: cfa-rise .8s cubic-bezier(.2,.7,.2,1) .2s both; }
}

/* Scroll reveal: js/site.js adds .fx to blocks and images, then .in when they scroll into view.
   Without JavaScript, or with reduced motion, everything is simply visible. */
.fx { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .75s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
img.fx, .photo-stats.fx { transform: translateY(24px) scale(.97); }
.fx.in { opacity: 1; transform: none; }

/* ================= Phone layout (max 760px) =================
   Same HTML and text as desktop; only spacing, sizes and layout change. */
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 26px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .h2, .call-box h2, .involved h2, .call-article h2 { font-size: 27px; line-height: 32px; }
  .lead, .model p, .title-band p { font-size: 17px; line-height: 27px; }

  /* Call banner: on top of the page on phones */
  .call-banner.top { display: block; text-align: left; font-size: 14px; line-height: 20px; padding: 12px 20px; }
  .call-banner.top .row { display: flex; gap: 10px; align-items: flex-start; }
  .call-banner.top .dot { margin-top: 6px; }
  .call-banner.top .more { display: block; padding: 4px 0 0 18px; }
  .call-banner.in-why { display: none; }

  /* Header with menu button */
  .site-header { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .site-header .logo img { height: 30px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 1.5px solid var(--forest); color: var(--forest);
    border-radius: 999px; padding: 8px 14px; font: 500 14px var(--sans); cursor: pointer;
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; content: "";
  }
  .menu-toggle .bars::before { position: absolute; top: -5px; }
  .menu-toggle .bars::after { position: absolute; top: 5px; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 12px; }
  .site-nav.open { display: flex; }
  .site-nav .links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .links a { padding: 12px 0; border-bottom: 1px solid var(--stone); font-size: 17px; }
  .site-nav .btn { align-self: stretch; text-align: center; }

  /* Hero */
  .hero { gap: 28px; padding-top: 16px; padding-bottom: 48px; }
  .hero .pill { display: none; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .underlined img { bottom: -8px; height: 14px; }
  .hero .photo { padding: 0 0 14px 14px; }
  .hero .photo img { height: 260px; }

  /* Sections */
  .why .inner, .outcomes, .team { gap: 28px; }
  .two-col, .model, .hero { gap: 28px; }
  .cards-3, .facts, .steps, .cards-4, .people { grid-template-columns: 1fr; gap: 16px; }
  .impact .inner { gap: 28px; }
  .why .cover { height: 200px; }
  .model .cover { height: 240px; }
  .photo-stats { border-radius: 0; overflow: visible; }
  .photo-stats img { height: 240px; border-radius: 20px; }
  .stats { position: static; box-shadow: none; margin-top: 12px; padding: 16px 20px; gap: 24px; }
  .stat .num { font-size: 32px; line-height: 36px; }
  .quote { margin-top: 0; }
  .quote blockquote { font-size: 21px; line-height: 30px; }
  .involved .inner { padding: 48px 20px; gap: 28px; }
  .action { min-height: 0; padding: 24px; }
  .action h3 { font-size: 22px; }
  .avatar { flex-basis: 72px; width: 72px; height: 72px; font-size: 22px; }
  .person { gap: 16px; }
  .person h3 { font-size: 19px; }
  #call.container { padding-bottom: 48px; }
  .call-box { padding: 28px 24px; gap: 20px; }
  .site-footer .container { padding-top: 40px; padding-bottom: 40px; }

  /* Call page */
  .title-band .container { padding-top: 20px; padding-bottom: 32px; }
  .title-band h1 { font-size: 34px; line-height: 38px; }
  .title-grid { gap: 16px; }
  .key-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .wide-photo img { height: 220px; }
  .toc { display: none; }
  .call-main { padding-top: 32px; padding-bottom: 48px; gap: 0; }
  .call-article { flex-basis: 100%; }
  .call-article > section { padding: 32px 0; gap: 14px; }
  .bullets li { font-size: 16px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}

.call-section { padding-bottom: 96px; }
@media (max-width: 760px) { .call-section { padding-bottom: 48px; } }

/* Section labels on the homepage are shown as pills */
main .eyebrow {
  align-self: flex-start; background: var(--mint-soft); border-radius: 999px; padding: 8px 18px;
  font-weight: 600; font-size: 16px; line-height: 22px; letter-spacing: .05em; color: var(--forest);
}
main .why .eyebrow { background: #fff; }
main .impact .eyebrow { background: var(--mint); color: var(--forest-deep); }
@media (max-width: 760px) { main .eyebrow { font-size: 14px; line-height: 20px; padding: 7px 14px; } }

/* LinkedIn icon next to a team member's name */
.name-row { display: flex; align-items: center; gap: 10px; }
.social { display: inline-flex; color: var(--forest); transition: transform .2s ease, opacity .2s ease; }
.social:hover { transform: translateY(-1px); opacity: .75; }

/* ---------- Newsletter form (Brevo) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.newsletter { display: flex; flex-direction: column; gap: 8px; }
.nl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-row input[type=email] { flex: 1 1 160px; min-width: 0; font: 400 15px var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--stone); border-radius: 999px; padding: 10px 16px; }
.nl-row input[type=email]:focus { outline: 2px solid var(--forest); outline-offset: 2px; border-color: var(--forest); }
.nl-row button { border: 0; cursor: pointer; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.nl-msg:empty { display: none; }
.newsletter.ok .nl-msg { color: var(--forest); font-weight: 500; }
.newsletter.err .nl-msg { color: #B3261E; }
.newsletter.ok .nl-row { display: none; }
.action .buttons { margin-top: 0; }
.action .nl-msg { flex-grow: 0; }

/* ---------- Contact popup ---------- */
.contact-dialog { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100% - 32px)); background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(23,35,29,.3); }
.contact-dialog::backdrop { background: rgba(23,35,29,.55); }
.cd-close-form { position: absolute; top: 10px; right: 12px; margin: 0; }
.cd-close { border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--ink-muted); cursor: pointer; padding: 4px 10px; }
.cd-close:hover { color: var(--forest); }
.cd-form { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.cd-form h2 { font-size: 28px; line-height: 34px; color: var(--forest); margin: 0; }
.cd-intro { margin: 0; font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.cd-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--forest); }
.cd-form input[type=text], .cd-form input[type=email], .cd-form textarea { font: 400 16px var(--serif); color: var(--ink); background: #fff; border: 1.5px solid var(--stone); border-radius: 12px; padding: 11px 14px; resize: vertical; }
.cd-form input:focus, .cd-form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.cd-form .btn { align-self: flex-start; border: 0; cursor: pointer; }
.cd-msg { margin: 0; font-family: var(--sans); font-size: 14px; line-height: 20px; }
.cd-msg:empty { display: none; }
.cd-form.ok .cd-msg { color: var(--forest); font-weight: 500; }
.cd-form.err .cd-msg { color: #B3261E; }
.cd-form.ok label, .cd-form.ok .btn { display: none; }
.cards-involved { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cd-done { display: none; flex-direction: column; gap: 12px; align-items: flex-start; }
.cd-form.ok .cd-done { display: flex; }
.cd-form.ok > h2, .cd-form.ok .cd-msg { display: none; }
.cd-done p { margin: 0; font-size: 17px; line-height: 27px; }
.cd-form.ok .cd-done .btn { display: inline-flex; }
