/* =========================================================
   BIPOC Birthworkers Directory — shared styles
   Same layout as the Asian Birth Collective site, with its own palette.
   Change a color here and it updates across every page.
   (Variable names were kept from the ABC site so the shared code still works.)
   ========================================================= */

:root {
  /* Palette: ink teal, oat, vermilion, saffron, teal-green */
  --green-deep: #14353B;   /* ink teal: header, headings, dark buttons */
  --green-footer: #0E262B; /* footer background */
  --olive: #2F6F63;        /* teal-green */
  --peach: #E9E5DA;        /* oat: section backgrounds */
  --peach-dark: #CFC9B8;
  --cream: #EFEBE0;
  --cream-light: #F6F4EE;  /* page background */
  --brown: #4A4A3F;
  --brown-dark: #1E2A2C;   /* body text */
  --brown-soft: #55605F;   /* quiet text */
  --terracotta: #14353B;   /* link hover: ink teal */
  --orange: #2F6F63;       /* teal-green: links and small accents */
  --white: #FFFFFF;
  --ochre: #E3A92B;        /* saffron accents */
  --sage: #2F6F63;         /* teal-green labels */
  --logo-cream: #F1EFE8;   /* soft section background */

  /* Type */
  --font-heading: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1100px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-light);
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 780px; }

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.6em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green-deep);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream-light);
}
.brand img { width: 64px; height: 64px; }
.brand span {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.brand:hover { color: var(--cream); }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--font-label);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--cream-light);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--orange);
}
.social { display: flex; gap: 12px; align-items: center; }
.social img { width: 22px; height: 22px; }
.social a { display: block; }
.social a:hover { opacity: 0.75; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(247, 245, 225, 0.5);
  color: var(--cream-light);
  border-radius: 6px;
  padding: 8px 12px;
  font: 600 0.85rem var(--font-label);
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; min-height: 72px; }
  .brand img { width: 52px; height: 52px; }
  .brand span { font-size: 1.1rem; }
  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 16px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav a { display: block; padding: 8px 0; font-size: 1.05rem; }
  .site-nav .social { margin-top: 10px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--green-deep) 0%, #1F5A5E 60%, #2F6F63 140%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 53, 59, 0.85) 0%, rgba(20, 53, 59, 0.25) 55%, rgba(20, 53, 59, 0) 100%);
}
.hero .container { position: relative; z-index: 1; padding-bottom: 56px; padding-top: 120px; }
.hero h1 { color: var(--white); margin: 0; }
.hero .eyebrow { color: var(--cream); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1F5A5E 100%);
  background-blend-mode: soft-light;
  padding: 88px 0 72px;
  text-align: center;
}
.page-banner h1 { color: var(--cream-light); margin: 0; }
.page-banner .eyebrow { color: var(--cream); }
.page-banner h1 + .eyebrow { margin: 0.6em 0 0; } /* subtitle sits under the title */

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-peach { background: var(--peach); }
.section-cream { background: var(--cream); }
.section-light { background: var(--cream-light); }
.section-green { background: var(--green-deep); color: var(--cream-light); }
.section-green h2, .section-green h3 { color: var(--cream); }
.section-green a { color: var(--cream); }

.lead p:first-child {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--green-deep);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: 4px; box-shadow: 0 12px 30px rgba(68, 47, 26, 0.18); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Vision / Mission / Values */
/* Two columns: Vision stacked over Mission on the left, Values on the right */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "vision values"
    "mission values";
  gap: 24px;
  align-items: start;
}
.pillar-vision { grid-area: vision; }
.pillar-mission { grid-area: mission; }
.pillar-values { grid-area: values; align-self: stretch; display: flex; flex-direction: column; }
/* ABC badge fills the space at the bottom of the Values card, clipped to its own
   round ring so it reads as a badge. */
.pillar-logo {
  width: 150px;
  height: 150px;
  margin: auto auto 0;
  border-radius: 50%;
}
.pillar p:last-child { margin-bottom: 0; }
.pillar {
  background: var(--cream-light);
  padding: 36px 32px;
  border-radius: 10px;
}
.pillar h2 {
  font-size: 1.6rem;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ochre);
}
.values-band { padding: 88px 0; }
.values-band .pillar { color: var(--brown-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.values-band .pillar h2 { color: var(--green-deep); }
.values-band .pillar a { color: var(--orange); }
.values-band .pillar a:hover { color: var(--terracotta); }
.pillar p { font-size: 0.98rem; }
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
    grid-template-areas: "vision" "mission" "values";
  }
}

/* Community agreements */
.agreements-intro { margin-bottom: 40px; }
/* Two newspaper-style columns: each agreement sits the same distance below the
   one above it (1-4 on the left, 5-8 on the right). */
.agreements {
  columns: 2;
  column-gap: 56px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: agreement;
}
.agreements li {
  counter-increment: agreement;
  position: relative;
  padding-left: 52px;
  margin-bottom: 32px;
  break-inside: avoid;
}
.agreements li::before {
  content: counter(agreement);
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ochre);
  color: var(--ochre);
  font: 400 1.05rem/32px var(--font-heading);
  text-align: center;
}
.agreements h3 { color: var(--green-deep); margin-bottom: 0.3em; font-size: 1.2rem; }
.agreements p { margin: 0; font-size: 0.98rem; }
@media (max-width: 760px) {
  .agreements { columns: 1; }
}

/* ---------- Placeholders ---------- */
.placeholder {
  border: 2px dashed var(--brown-soft);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 44px 28px;
  text-align: center;
  color: var(--brown-soft);
  margin: 32px 0;
}
.placeholder strong {
  display: block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.placeholder p { margin: 0; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-footer);
  color: var(--cream-light);
  padding: 56px 0 32px;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer-logo img { width: 110px; }
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-nav a { white-space: nowrap; }
.footer-nav a {
  color: var(--cream-light);
  text-decoration: none;
  font-family: var(--font-label);
  letter-spacing: 0.05em;
}
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.footer-contact a { color: var(--cream); }
.footer-contact .social { margin-top: 12px; }
.footer-contact .social img { width: 28px; height: 28px; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 245, 225, 0.18);
  font-size: 0.82rem;
  color: rgba(247, 245, 225, 0.7);
  text-align: center;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
}

/* ---------- Directory ---------- */
.directory-intro { padding-bottom: 48px; }
.directory { padding-top: 48px; }

.dir-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}
.dir-field { display: flex; flex-direction: column; gap: 6px; }
.dir-field label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.dir-field select,
.dir-field input {
  font: 500 0.98rem var(--font-body);
  color: var(--brown-dark);
  background: var(--white);
  border: 1px solid var(--peach-dark);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
  min-height: 46px;
}
/* Custom dropdown arrow, inset from the right edge by the same 12px as the text
   is from the left edge (the browser's own arrow sits almost against the border). */
.dir-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232F5445' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.dir-field select:focus,
.dir-field input:focus,
.dir-more:focus-visible,
.dir-clear:focus-visible,
.dir-contact-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.dir-clear {
  background: none;
  border: none;
  color: var(--orange);
  font: 600 0.92rem var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 12px 4px;
}
.dir-clear[hidden] { display: none; }
.dir-filters[hidden] { display: none; }

.dir-count {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--brown-soft);
  margin: 0 0 16px;
}

.dir-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.directory { background: var(--logo-cream); }
.dir-card {
  background: #FFFDF9;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(68, 47, 26, 0.05);
  transition: box-shadow 0.2s ease;
}
.dir-card:hover { box-shadow: 0 6px 20px rgba(68, 47, 26, 0.1); }

.dir-summary { display: flex; gap: 16px; align-items: flex-start; flex: 1; }
.dir-info { min-width: 0; }
.dir-name {
  font-size: 1.2rem;
  margin: 2px 0 2px;
}
.dir-location {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--brown-soft);
}

.dir-photo { object-fit: cover; object-position: center 30%; background: var(--peach); flex-shrink: 0; } /* any photo shape is shown as a square, cropped slightly above center to keep faces in frame */
.dir-photo-small {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #FFFDF9;
  box-shadow: 0 0 0 1px var(--ochre);
}
.dir-photo-large { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; }
.dir-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 1.2rem var(--font-heading);
  color: var(--green-deep);
}

.dir-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dir-tags li {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1F4D45;
  background: rgba(47, 111, 99, 0.12);
  border-radius: 999px;
  padding: 4px 11px;
}

.dir-more {
  align-self: flex-start;
  background: none;
  border: 1.5px solid var(--green-deep);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 8px 18px;
  font: 600 0.88rem var(--font-label);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.dir-more:hover { background: var(--green-deep); color: var(--cream-light); }

/* Open card: the same card grows to the full width of the grid and shows the
   full profile; "Show less" shrinks it back. */
.dir-summary[hidden] { display: none; }
.dir-card.is-open {
  grid-column: 1 / -1;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(68, 47, 26, 0.12);
  animation: dir-grow 0.2s ease-out;
}
@keyframes dir-grow {
  from { opacity: 0.6; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dir-card.is-open { animation: none; }
}

.dir-details {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.dir-details[hidden] { display: none; }
.dir-details-head { margin-bottom: 14px; }
.dir-name-large { font-size: 1.7rem; margin: 0; }
.dir-pronouns { margin: 2px 0 0; color: var(--brown-soft); font-size: 0.95rem; }

.dir-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.dir-facts dt {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  padding-top: 3px;
}
.dir-facts dd { margin: 0; }
.dir-about { font-size: 1rem; }

.dir-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dir-contact-link {
  display: inline-block;
  background: var(--green-deep);
  color: var(--cream-light);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 20px;
  font: 600 0.92rem var(--font-body);
}
.dir-contact-link:hover { background: #0B2226; color: var(--cream-light); }
.dir-contact-secondary {
  background: none;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.dir-contact-secondary:hover { background: var(--green-deep); color: var(--cream-light); }

.dir-message {
  text-align: center;
  color: var(--brown-soft);
  padding: 40px 16px;
  border: 2px dashed var(--peach-dark);
  border-radius: 12px;
}
.dir-message[hidden] { display: none; }

@media (max-width: 860px) {
  .dir-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dir-filters { grid-template-columns: 1fr; }
  .dir-details { grid-template-columns: 1fr; gap: 20px; }
  .dir-card.is-open { padding: 20px; }
  .dir-photo-large { max-width: 220px; }
  .dir-facts { grid-template-columns: 1fr; gap: 2px; }
  .dir-facts dd { margin-bottom: 8px; }
}

/* ---------- For Parents ---------- */
.section-head { margin-bottom: 32px; }
.section-head h2 { margin-bottom: 0.4em; }

.parents-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}
.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-deep);
  color: var(--cream-light);
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 20px 10px 14px;
  font: 600 0.95rem var(--font-body);
}
.instagram-cta:hover { background: var(--terracotta); color: var(--white); }
.instagram-cta img { filter: brightness(0) invert(1); }

/* Birth story preview cards */
.stories-section { background: var(--logo-cream); }
.story-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.story-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFDF9;
  border: 1px solid rgba(207, 201, 184, 0.35);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--brown-dark);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.story-card a:hover { box-shadow: 0 10px 26px rgba(68, 47, 26, 0.12); transform: translateY(-2px); }
.story-card a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.story-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.story-card-byline {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 6px;
}
.story-card h3 { font-size: 1.3rem; margin: 0 0 10px; }
.story-card-body p:not(.story-card-byline) { font-size: 0.95rem; margin: 0 0 16px; flex: 1; }
.story-card-more { font-weight: 600; font-size: 0.92rem; color: var(--orange); }

/* Events */
.event-flyer {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 32px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(68, 47, 26, 0.15);
}
.event-form {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(207, 201, 184, 0.35);
}
.event-form iframe { display: block; border: 0; }
/* Flyers shown whole (no cropping), flowing in three columns */
.past-events {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  columns: 3;
  column-gap: 18px;
}
.past-events li { break-inside: avoid; margin-bottom: 18px; }
.past-events img { width: 100%; border-radius: 8px; box-shadow: 0 4px 14px rgba(68, 47, 26, 0.12); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.flyer-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; }
.flyer-button:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(68, 47, 26, 0.2); }
.flyer-button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* Enlarged flyer view: the page behind is blurred and dimmed */
.lightbox {
  border: 0;
  padding: 0;
  background: none;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(20, 32, 27, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
  box-sizing: border-box;
}
.lightbox img {
  max-width: min(94vw, 1000px);
  max-height: calc(100vh - 96px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  cursor: zoom-out;
}
.lightbox-close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--cream-light);
  color: var(--green-deep);
  font: 400 30px/46px var(--font-body);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.lightbox-close:hover { background: var(--white); }
.lightbox-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .past-events img { transition: none; }
}
@media (max-width: 640px) { .past-events { columns: 2; column-gap: 12px; } .past-events li { margin-bottom: 12px; } }

/* Individual birth story pages */
.story { padding: 48px 0 80px; background: var(--logo-cream); }
.story-container { max-width: 760px; }
.story-back { display: inline-block; font-size: 0.92rem; font-weight: 600; text-decoration: none; margin-bottom: 28px; }
.story-back-bottom { margin: 8px 0 0; }
.story h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 28px; }
.story .eyebrow { color: var(--sage); }
.story-cover { width: 100%; border-radius: 12px; margin-bottom: 36px; }
.story-body { font-size: 1.05rem; line-height: 1.8; }
.story-body h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; }
.story-quote {
  margin: 0 0 1.6em;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--ochre);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--green-deep);
}
.story-figure { margin: 28px 0; }
.story-figure img { width: 100%; border-radius: 10px; }
.story-figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.story-figure-pair img { height: 100%; object-fit: cover; }
.story-caption { font-size: 0.92rem; color: var(--brown-soft); text-align: center; margin-top: -12px; }
.story-permission { font-size: 0.85rem; color: var(--brown-soft); margin-top: 40px; font-style: italic; }
@media (max-width: 560px) {
  .story-figure-pair { grid-template-columns: 1fr; }
}

/* Support section + shared primary button */
.support-section { background: var(--logo-cream); }
.button-primary {
  display: inline-block;
  margin-top: 8px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  font: 600 1rem var(--font-body);
}
.button-primary:hover { background: var(--terracotta); color: var(--white); }
.button-primary:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

.dir-callout {
  background: rgba(255, 253, 249, 0.75);
  border-left: 3px solid var(--ochre);
  border-radius: 6px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-weight: 500;
}

/* Birthworker gathering dates */
.meetings-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 32px 0 14px;
}
.meetings-heading { font-size: 1.25rem; margin: 0; }
.button-primary.button-small { font-size: 0.9rem; padding: 8px 16px; margin-top: 0; }
.meetings-sub {
  margin: 2px 0 0;
  font: 500 0.8rem var(--font-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
/* Dates read like a printed calendar: month label over the day, no boxes. */
.meetings {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 18px;
  border-top: 1px solid rgba(136, 93, 53, 0.25);
}
.meeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}
.meeting + .meeting { border-left: 1px solid rgba(136, 93, 53, 0.15); }
.meeting:nth-child(6n + 1) { border-left: 0; }
.meeting-month {
  font: 600 0.75rem var(--font-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.meeting-day {
  font: 400 1.9rem/1.15 var(--font-heading);
  color: var(--green-deep);
}
@media (max-width: 560px) {
  .meetings { grid-template-columns: repeat(4, 1fr); }
  .meeting:nth-child(6n + 1) { border-left: 1px solid rgba(136, 93, 53, 0.15); }
  .meeting:nth-child(4n + 1) { border-left: 0; }
}

/* Birthworker gathering venue */
.venue {
  margin-top: 24px;
  background: #FFFDF9;
  border: 1px solid rgba(207, 201, 184, 0.35);
  border-left: 4px solid var(--ochre);
  border-radius: 8px;
  padding: 20px 22px;
}
.venue-heading { font-size: 1.15rem; margin: 0 0 10px; }
.venue-address { margin-bottom: 12px; }
.venue-details { margin: 0 0 14px; padding-left: 1.2em; }
.venue-details li { margin-bottom: 4px; }
.venue-note { margin: 0; font-size: 0.95rem; }
.meetings-contact { margin-top: 24px; }
.meetings-note { margin: 18px 0 0; }

/* Line drawing beside "Support our collective": no frame or shadow, sits on the section background */
.split img.support-art {
  width: 100%;
  max-width: 380px;
  height: auto;
  justify-self: center;
  border-radius: 0;
  box-shadow: none;
}

/* Instagram invitation band (For Parents, For Birthworkers) */
.follow-section { padding: 48px 0; text-align: center; }
.follow-section p { margin: 0; }
.follow-section .parents-follow { justify-content: center; margin-top: 14px; }
.lead:last-child p:last-child { margin-bottom: 0; } /* no extra gap when the intro ends a section */

/* Distance shown on cards during a zip code search */
.dir-distance {
  margin: -6px 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
}
.dir-distance-unknown { color: var(--brown-soft); font-weight: 500; }

/* ---------- BIPOC directory additions ---------- */
.home-hero { min-height: 56vh; align-items: center; }
.home-hero .container { padding-top: 96px; padding-bottom: 72px; }
.home-hero h1 { margin-bottom: 0.4em; }
.hero-sub { color: var(--cream-light); font-size: 1.15rem; max-width: 640px; margin-bottom: 1.4em; }
.brand img { width: 44px; height: 44px; }
.footer-logo img { width: 72px; }
.placeholder-inline {
  background: rgba(227, 169, 43, 0.18);
  border: 1px dashed var(--ochre);
  border-radius: 4px;
  padding: 0 6px;
  font-weight: 600;
}

/* Only two pages, so phones show the links directly instead of a Menu button */
@media (max-width: 860px) {
  .nav-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav { display: block; width: auto; padding-bottom: 0; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 16px; }
  .site-nav a { padding: 6px 0; font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 0.98rem; line-height: 1.2; }
  .site-nav ul { gap: 12px; }
}

/* Footer without the logo: menu on the left, credit on the right */
.footer-inner { grid-template-columns: 1fr auto; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Saffron buttons (matching the sun icon), with dark ink-teal text */
.button-primary { background: var(--ochre); color: var(--green-deep); }
.button-primary:hover { background: #F0BC4A; color: var(--green-deep); }
.button-primary:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
/* Header: saffron underline under the current page */
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ochre); }

/* Fillout's popup button, styled like the site's own saffron buttons */
.fillout-embed button {
  background: var(--ochre) !important;
  color: var(--green-deep) !important;
  font: 600 1rem var(--font-body) !important;
  padding: 13px 26px !important;
  border-radius: 999px !important;
  border: 0 !important;
  margin-top: 8px;
}
.fillout-embed button:hover { background: #F0BC4A !important; }
.fillout-embed button:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

.dir-reach-heading { margin-top: 28px; font-size: 1.5rem; }

/* ---------- Bold style: chunky outlines and offset shadows ---------- */
h1, h2, h3 { letter-spacing: -0.015em; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; }
.site-header { box-shadow: none; border-bottom: 3px solid var(--ochre); }
.hero, .page-banner { background: var(--green-deep); }
.hero::after { display: none; }

.button-primary,
.fillout-embed button {
  border: 2px solid var(--green-deep) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 4px 4px 0 var(--cream-light);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.section-light .fillout-embed button,
.section-peach .button-primary { box-shadow: 4px 4px 0 var(--green-deep) !important; }
.button-primary:hover,
.fillout-embed button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cream-light); }
.section-light .fillout-embed button:hover { box-shadow: 6px 6px 0 var(--green-deep) !important; }

.dir-card {
  border: 2px solid var(--green-deep);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--green-deep);
}
.dir-card:hover { box-shadow: 7px 7px 0 var(--green-deep); }
.dir-card.is-open { box-shadow: 6px 6px 0 var(--green-deep); }
.dir-photo-small { box-shadow: 0 0 0 2px var(--green-deep); }
.dir-more, .dir-contact-link, .dir-contact-secondary { border-radius: 10px; border-width: 2px; font-weight: 700; }

.dir-callout {
  background: #FFFDF9;
  border: 2px solid var(--green-deep);
  border-left-width: 2px;
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ochre);
}
.dir-field input, .dir-field select { border: 2px solid var(--green-deep); border-radius: 10px; }
.dir-tags { gap: 8px; }
.dir-tags li {
  border: 0;
  border-left: 4px solid var(--ochre);
  border-radius: 4px;
  background: #F1EFE8;
  color: var(--green-deep);
  font-weight: 700;
  padding: 4px 10px;
}
/* Website button: teal-green on hover, no outline */
.dir-contact-secondary:hover { background: var(--olive); color: var(--white); border-color: var(--olive); }
/* "Get listed" button inside the Directory page's callout box */
.dir-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 18px 24px 22px;
}
.dir-callout p { margin: 0; }
.dir-callout .fillout-embed button { box-shadow: 4px 4px 0 var(--green-deep) !important; margin: 0 !important; }
.dir-callout .fillout-embed button:hover { box-shadow: 6px 6px 0 var(--green-deep) !important; }
