/* ============================================================
   BAYIT MIKLOT — About Section Stylesheet
   Built from Brand Guide v2.0 (Consolidated Edition)
   Warm, elegant, with real color weight: solid navy/teal bands,
   visible outlines, and designated photography zones.
   ============================================================ */

:root {
  /* Primary */
  --teal: #309C8E;
  --accent: #00A994;
  --navy: #2F4B60;
  --slate: #284653;

  /* Supporting */
  --soft-aqua: #86E0D3;
  --ice-blue: #B8F6FF;
  --cream: #F7F2E8;
  --stone: #E6DFCF;
  --taupe: #918C82;

  /* Tints (derived, for section washes) */
  --aqua-wash: #E3F3F0;
  --navy-wash: #EAF0F3;

  /* Accent — used sparingly only */
  --coral: #F08A7D;

  /* Type */
  --font-heading: 'Lora', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 740px;
  --wide-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--slate);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.6em 0;
}

p { margin: 0 0 1.4em 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.container-wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 28px;
}

.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1em;
  display: block;
}

.kicker.on-dark { color: var(--soft-aqua); }

.rule {
  width: 40px;
  height: 2px;
  background: var(--coral);
  border: none;
  margin: 0 0 2.2em 0;
}

.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Gently rounded, visible-outline card system ---------- */
/* Thin but VISIBLE lines — no drop shadows, colors read clearly on cream/white. */

.outline-aqua  { border-color: var(--teal); }
.outline-coral { border-color: var(--coral); }
.outline-grey  { border-color: var(--navy); border-color: rgba(47,75,96,0.35); }
.outline-taupe { border-color: var(--taupe); }
.outline-cream { border-color: var(--stone); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone);
}

.site-header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  max-width: 1220px;
}

.site-header .logo {
  flex-shrink: 0;
}

.site-header .logo img {
  height: 86px;
  width: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 10px;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
 /* padding-bottom: 4px; -*/
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--teal); }

.site-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--coral);
}

/* ---------- Mobile menu toggle (hamburger) ---------- */

.nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  z-index: 70;
}

.nav-toggle-label span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle-label { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--stone);
    box-shadow: 0 18px 32px rgba(47, 75, 96, 0.14);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-toggle-checkbox:checked ~ .site-nav {
    max-height: 80vh;
    overflow-y: auto;
  }

  .site-nav a {
    font-size: 0.92rem;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 28px;
    border-bottom: 1px solid var(--stone);
  }

  .site-nav a.nav-donate {
    width: calc(100% - 56px);
    margin: 14px 28px;
    text-align: center;
    display: block;
  }

  .site-nav a.nav-daf {
    width: calc(100% - 56px);
    margin: 0 28px 14px;
    text-align: center;
    display: block;
  }

  .site-header .logo img { height: 60px; }
}

/* ---------- Nav dropdowns (About / Programs) ---------- */

.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 4px;
  font-size: 0.7em;
  color: var(--taupe);
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  background: #ffffff;
  border: 1px solid var(--stone);
  border-radius: 14px;
  padding: 10px;
  min-width: 230px;
  box-shadow: 0 14px 32px rgba(47, 75, 96, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 60;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  border-bottom: none;
  color: var(--navy);
}

.dropdown a:hover,
.dropdown a.active {
  background: var(--cream);
  color: var(--teal);
}

/* ---------- Featured dropdown item (the Clubhouse — the site's main draw) ---------- */

.dropdown a.featured {
  background: var(--aqua-wash);
  color: var(--coral);
  font-weight: 700;
  position: relative;
  padding-left: 30px;
}

.dropdown a.featured::before {
  content: '♥';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82em;
  color: var(--coral);
}

.dropdown a.featured:hover,
.dropdown a.featured.active {
  background: var(--coral);
  color: #ffffff;
}

.dropdown a.featured:hover::before,
.dropdown a.featured.active::before {
  color: #ffffff;
}

@media (max-width: 900px) {
  .has-dropdown { width: 100%; }

  .has-dropdown > a::after { float: right; }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--cream);
    padding: 0;
  }

  .dropdown a {
    border-radius: 0;
    padding: 12px 28px 12px 44px;
    border-bottom: 1px solid var(--stone);
  }
}

/* ---------- Hero (light wash, with a designated picture zone) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #ffffff 14%, var(--cream) 30%, var(--cream) 55%, var(--aqua-wash) 100%);
  padding: 76px 0 0;
  border-bottom: 1px solid var(--stone);
}

.hero .container-wide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: end;
}

@media (max-width: 860px) {
  .hero .container-wide { grid-template-columns: 1fr; }
}

.hero-text {
  padding-bottom: 56px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  max-width: 16ch;
  font-weight: 500;
  color: var(--navy);
}

.hero .lede {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--teal);
  max-width: 42ch;
  margin-top: 0.5em;
  font-weight: 400;
}

.hero .intro-text {
  margin-top: 1.6em;
  font-size: 1.02rem;
  max-width: 58ch;
  color: var(--slate);
}

/* Donate page hero only — larger, italic, letter-style intro copy */
.hero .intro-text.intro-text-lg {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--navy);
}

.hero-picture {
  align-self: end;
}

.hero-picture .picture-frame {
  border-radius: 18px 18px 0 0;
  aspect-ratio: 4 / 3.1;
  margin-bottom: 0;
  border: 1px solid var(--teal);
  border-bottom: none;
}

@media (max-width: 860px) {
  .hero-picture .picture-frame { border-radius: 18px; border-bottom: 1px solid var(--teal); margin-bottom: 40px; }
}

/* ---------- Picture placeholder zones ---------- */
/* Swap the background gradient for a real photo (see HTML comment above
   each .picture-frame for the recommended subject, per the brand guide's
   preferred imagery: homes, natural light, community, trees, quiet reflection). */

.picture-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aqua-wash) 0%, var(--soft-aqua) 55%, var(--teal) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
}

.picture-frame.tone-navy {
  background: linear-gradient(135deg, #3d5b71 0%, var(--navy) 60%, var(--slate) 130%);
  border-color: var(--slate);
}

.picture-frame.tone-cream {
  background: linear-gradient(135deg, #ffffff 0%, var(--stone) 75%, #DCD2BC 130%);
  border-color: var(--taupe);
}

/*CSS FOR IMAGE PLACEHOLDER CODE IN class="hero-picture" line 64 index.html*/
.picture-frame .frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.picture-frame .frame-icon {
  width: 30%;
  max-width: 74px;
  opacity: 0.55;
}

.picture-frame .frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.picture-frame .frame-caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.picture-frame.wide { aspect-ratio: 21 / 9; }
.picture-frame.landscape { aspect-ratio: 16 / 9; }
.picture-frame.portrait { aspect-ratio: 4 / 5; }
.picture-frame.square { aspect-ratio: 1 / 1; }

/* ---------- Sections ---------- */

section.block {
  padding: 80px 0;
}

/* Content-dense pages (lots of sections back to back): tighten the rhythm
   so people reach more of the page before they stop scrolling. */
.dense-page section.block {
  padding: 46px 0;
}

.dense-page .closing-band {
  padding: 60px 28px;
}

.block.on-white { background: #ffffff; }
.block.on-cream { background: var(--cream); }
.block.on-aqua  { background: var(--aqua-wash); }

.block.on-white + .block.on-white,
.block.on-cream + .block.on-cream {
  padding-top: 0;
}

.lead-line {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8em 0;
}

.lead-line li {
  padding-left: 1.5em;
  position: relative;
  color: var(--slate);
  font-size: 0.98rem;
  margin-bottom: 0.35em;
  font-weight: 500;
}

.lead-line li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

/* ---------- Panel (tinted callout box — color without heaviness) ---------- */

.solid-panel {
  position: relative;
  background: var(--aqua-wash);
  border: 1.5px solid var(--teal);
  color: var(--navy);
  border-radius: 20px;
  padding: 48px 46px;
}

/* Small heart badge that straddles a panel's top border, centered */
.panel-heart-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.panel-heart-badge svg { width: 30px; height: 27px; display: block; }

@media (max-width: 620px) {
  .panel-heart-badge { width: 46px; height: 46px; }
  .panel-heart-badge svg { width: 25px; height: 22px; }
}

/* Stronger, fully-filled variants — use sparingly (one per page, at most) */
.solid-panel.teal  { background: var(--teal); border-color: var(--teal); color: #ffffff; }
.solid-panel.navy  { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.solid-panel.slate { background: var(--slate); border-color: var(--slate); color: #ffffff; }

.solid-panel h2 { color: inherit; }
.solid-panel p { color: inherit; }
.solid-panel .kicker { color: var(--teal); }
.solid-panel.teal .kicker,
.solid-panel.navy .kicker,
.solid-panel.slate .kicker { color: var(--soft-aqua); }

@media (max-width: 620px) {
  .solid-panel { padding: 34px 26px; }
}

/* ---------- Letter card (rounded cream panel, italic personal-letter treatment) ---------- */

.letter-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 60px 64px;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  line-height: 1.7;
}

.letter-card .signature-block,
.letter-card .kicker {
  font-style: normal;
  font-family: var(--font-body);
}

@media (max-width: 620px) {
  .letter-card { padding: 36px 26px; border-radius: 22px; }
}

/* ---------- Split band: picture + text, full-bleed two-column ---------- */

.split-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

@media (max-width: 760px) {
  .split-band { grid-template-columns: 1fr; }
}

.split-band .picture-frame {
  border-radius: 0;
  border: none;
  height: 100%;
}

.split-band .split-text {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

@media (max-width: 760px) {
  .split-band .split-text { padding: 48px 28px; }
}

.split-band .split-text h3 {
  font-size: 1.4rem;
}

.split-band.reverse { direction: rtl; }
.split-band.reverse > * { direction: ltr; }

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 3em;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar-card {
  padding: 28px 24px;
  border: 1.5px solid var(--teal);
  border-radius: 18px;
  background: #ffffff;
}

.pillar-card.filled {
  background: var(--aqua-wash);
  border-color: var(--teal);
}

.pillar-card .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--slate);
  margin: 0;
}

/* Who We Serve grid: more room to breathe, so the card copy can run larger */
.serve-grid .pillar-card {
  padding: 34px 30px;
}

.serve-grid .pillar-card h3 {
  font-size: 1.28rem;
}

.serve-grid .pillar-card p {
  font-size: 1.08rem;
  line-height: 1.6;
}

a.pillar-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

a.pillar-card:hover {
  border-color: var(--coral);
}

/* ---------- Pull quote ---------- */

.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--navy);
  border-left: 3px solid var(--coral);
  padding: 0.2em 0 0.2em 1.2em;
  margin: 2.4em 0;
  font-weight: 400;
}

.pull-quote.on-panel {
  color: #ffffff;
  border-left-color: var(--soft-aqua);
}

/* ---------- Founder layout ---------- */

.founder-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 760px) {
  .founder-hero { grid-template-columns: 1fr; }
}

.signature-block {
  margin-top: 2.8em;
  padding-top: 1.8em;
  border-top: 1.5px solid var(--stone);
}

.signature-block .name {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--navy);
  font-weight: 600;
}

.signature-block .role {
  color: var(--taupe);
  font-size: 0.9rem;
}

/* ---------- Values / Torah principles ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.6em;
}

@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
}

.value-card {
  padding: 28px 26px;
  border: 1.5px solid var(--teal);
  border-radius: 18px;
  background: #ffffff;
}

.value-card .heb {
  color: var(--teal);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.55em;
  display: block;
  font-weight: 500;
}

.value-card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--slate);
}

/* ---------- Whole-person list — visible outline tags ---------- */

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin-top: 1.8em;
}

.chip {
  font-size: 0.92rem;
  color: var(--navy);
  padding: 8px 17px;
  border: 1.5px solid var(--teal);
  border-radius: 10px;
  font-weight: 500;
  background: #ffffff;
}

/* ---------- Modality tags ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  margin: 1.8em 0;
}

.tag {
  color: var(--navy);
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  padding: 7px 15px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  font-weight: 500;
  background: #ffffff;
}

/* ---------- Stat band (solid navy) ---------- */

.stat-band {
  background: var(--navy);
  padding: 60px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--soft-aqua);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: #D9E6E9;
  margin-top: 0.6em;
  line-height: 1.5;
}

/* ---------- Closing band (soft tinted wash, framed by color) ---------- */

.closing-band {
  background: var(--aqua-wash);
  text-align: center;
  padding: 92px 28px;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}

.closing-band .tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--navy);
  max-width: 22ch;
  margin: 0 auto 0.5em;
  font-weight: 400;
}

.closing-band p.sub {
  color: var(--teal);
  max-width: 46ch;
  margin: 0.6em auto 0;
  font-weight: 500;
}

/* ---------- Continue reading links ---------- */

.continue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 1.6em;
}

@media (max-width: 640px) {
  .continue { grid-template-columns: 1fr; }
}

.continue a {
  display: block;
  padding: 26px 24px;
  border: 1.5px solid var(--stone);
  border-radius: 18px;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.continue a:hover {
  border-color: var(--teal);
}

.continue .continue-kicker {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--coral);
  font-weight: 600;
}

.continue .continue-title {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.18rem;
  margin: 0.35em 0;
  font-weight: 500;
}

.continue .continue-desc {
  font-size: 0.9rem;
  color: var(--taupe);
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream);
  color: var(--slate);
  padding: 66px 0 30px;
  border-top: 2px solid var(--teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stone);
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo-card img {
  height: 30px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--teal);
  font-size: 1.1rem;
  margin: 0.4em 0 1em;
  font-weight: 400;
}

.footer-endorsement {
  font-size: 0.85rem;
  color: var(--taupe);
  max-width: 42ch;
  line-height: 1.65;
}

.footer-contact .name {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.08rem;
  margin-bottom: 0.15em;
  font-weight: 600;
}

.footer-contact .role {
  color: var(--taupe);
  font-size: 0.87rem;
  margin-bottom: 1em;
}

.footer-contact a {
  color: var(--slate);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.4em;
}

.footer-contact a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--taupe);
}

/* ---------- Circle of Care infographic ---------- */

.circle-of-care-wrap {
  margin-top: 3em;
}

.circle-of-care {
  position: relative;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* Smaller variant of the Circle of Care diagram (desktop/tablet layout only —
   below 700px the existing responsive rules stack it full-width instead) */
@media (min-width: 701px) {
  .circle-of-care-wrap.small {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .circle-of-care-wrap.small .circle-of-care-center {
    width: 118px;
    height: 112px;
  }

  .circle-of-care-wrap.small .circle-of-care-center .cc-heart::before,
  .circle-of-care-wrap.small .circle-of-care-center .cc-heart::after {
    width: 59px;
    height: 94px;
    border-radius: 59px 59px 0 0;
  }

  .circle-of-care-wrap.small .circle-of-care-center .cc-heart::before {
    left: 59px;
  }

  .circle-of-care-wrap.small .circle-of-care-center .cc-label {
    font-size: 0.64rem;
    padding: 0 12px 14px;
  }

  .circle-of-care-wrap.small .circle-of-care-node {
    width: 92px;
    padding: 8px 8px;
    font-size: 0.66rem;
    border-radius: 10px;
  }

  .circle-of-care-wrap.small .circle-of-care-caption {
    margin-top: 1.8em;
  }
}

.circle-of-care-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.circle-of-care-lines .line {
  stroke: var(--teal);
  stroke-width: 0.6;
  opacity: 0.5;
}

.circle-of-care-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 172px;
  height: 164px;
  z-index: 2;
}

.circle-of-care-center .cc-heart {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.circle-of-care-center .cc-heart::before,
.circle-of-care-center .cc-heart::after {
  content: '';
  position: absolute;
  top: 4px;
  width: 86px;
  height: 138px;
  border-radius: 86px 86px 0 0;
  background: var(--coral);
}

.circle-of-care-center .cc-heart::before {
  left: 86px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.circle-of-care-center .cc-heart::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

.circle-of-care-center .cc-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  padding: 0 20px 22px;
}

.circle-of-care-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 132px;
  padding: 12px 14px;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--teal);
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  z-index: 2;
}

.circle-of-care-node.coral { border-color: var(--coral); }
.circle-of-care-node.grey  { border-color: rgba(47,75,96,0.35); }
.circle-of-care-node.filled { background: var(--aqua-wash); border-color: var(--teal); }

.circle-of-care-caption {
  text-align: center;
  margin-top: 2.4em;
}

.circle-of-care-caption p {
  max-width: 46ch;
  margin: 0 auto 0.6em;
}

.circle-of-care-caption p.emph {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--teal);
  font-size: 1.15rem;
}

@media (max-width: 700px) {
  .circle-of-care {
    max-width: none;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .circle-of-care-lines { display: none; }
  .circle-of-care-center,
  .circle-of-care-node {
    position: static;
    transform: none;
    width: 100%;
    max-width: 280px;
  }
  .circle-of-care-center {
    order: -1;
    margin-bottom: 6px;
    height: auto;
    border-radius: 20px;
    padding: 0;
    background: var(--coral);
  }
  .circle-of-care-center .cc-heart { display: none; }
  .circle-of-care-center .cc-label {
    position: static;
    height: auto;
    width: auto;
    padding: 18px;
  }
}

/* ---------- Photo strip (small gallery of candid moments) ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 2.6em;
}

@media (max-width: 860px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

.photo-strip .picture-frame { margin-bottom: 0; }

/* ---------- Faded heart-mark watermark (decorative brand accent) ---------- */

.section-heart-bg {
  position: relative;
  overflow: hidden;
}

.section-heart-bg::before {
  content: '';
  position: absolute;
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 440px;
  background: url('assets/icon-mark.png') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.section-heart-bg .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .section-heart-bg::before { display: none; }
}


/* ---------- Emphasized statement (larger italic subheading) ---------- */

.statement {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 400;
  margin: 1em 0;
}

.statement.teal { color: var(--teal); }
.statement.turquoise { color: var(--accent); }
.statement.salmon { color: var(--coral); }

/* ---------- Donate button (nav + footer) ---------- */

.nav-donate {
  background: var(--navy);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1.5px solid var(--coral) !important;
  white-space: nowrap;
}

.nav-donate:hover {
  background: var(--coral);
  color: #ffffff !important;
  border-color: var(--coral) !important;
}

/* DAF nav button (donate page only) — starts teal, hovers to coral, same reversed order as the DAF button below */
.nav-daf {
  background: var(--teal);
  color: #ffffff !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1.5px solid var(--coral) !important;
  white-space: nowrap;
  margin-left: 10px;
}

.nav-daf:hover {
  background: var(--coral);
  color: #ffffff !important;
  border-color: var(--coral) !important;
}

@media (max-width: 900px) {
  .nav-daf { margin-left: 0; margin-top: 8px; }
}

.footer-donate {
  display: inline-block;
  margin-top: 18px;
  background: var(--navy);
  color: #ffffff !important;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid var(--coral);
}

.footer-donate:hover { background: var(--coral); border-color: var(--coral); }

/* ---------- Donate Now CTA (end-of-page banner) ---------- */

.donate-cta {
  background: var(--navy);
  padding: 64px 28px;
  text-align: center;
}

.donate-cta h2 {
  color: #ffffff;
  max-width: 26ch;
  margin: 0 auto 0.6em;
}

.donate-cta p {
  color: #D9E6E9;
  max-width: 46ch;
  margin: 0 auto 1.6em;
}

.donate-cta .btn-primary {
  display: inline-block;
  background: var(--coral);
  color: #ffffff;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.donate-cta .btn-primary:hover { background: var(--soft-aqua); color: var(--navy); }

/* ---------- Buttons (Donate page) ---------- */

.btn-primary-lg {
  display: inline-block;
  background: var(--coral);
  color: #ffffff;
  font-weight: 600;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.btn-primary-lg:hover { background: var(--teal); color: #ffffff; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  padding: 20px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  font-size: 0.95rem;
}

.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

/* DAF and DF buttons: reversed color order from the standard primary button — starts teal, hovers to coral */
.btn-daf { background: var(--teal); }
.btn-daf:hover { background: var(--coral); }
.btn-donor { background: var(--teal); }
.btn-donor:hover { background: var(--coral); }

.give-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6em 2em;
}

@media (max-width: 640px) {
  .give-list { grid-template-columns: 1fr; }
}

.give-list li {
  padding-left: 1.5em;
  position: relative;
  color: var(--slate);
  font-size: 0.98rem;
  font-weight: 500;
}

.give-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

/* Letter-style variant: larger italic serif, like the founder letter */
.give-list.letter-style li {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--navy);
}

.give-list.letter-style li::before {
  top: 0.7em;
}

/* ---------- Homepage: hero buttons ---------- */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2em;
}

.btn-navy-lg {
  display: inline-block;
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  padding: 18px 44px;
  border-radius: 999px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--coral);
}

.btn-navy-lg:hover { background: var(--coral); border-color: var(--coral); color: #ffffff; }

/* ---------- Homepage: trust ribbon ---------- */

.trust-ribbon {
  background: var(--aqua-wash);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: 20px 0;
}

.trust-ribbon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}

.trust-ribbon-row span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .trust-ribbon-row { gap: 8px 18px; }
  .trust-ribbon-row span { font-size: 0.8rem; }
}

/* ---------- Homepage: convergence diagram (four pillars becoming one) ---------- */

.convergence-diagram {
  text-align: center;
  margin: 3em auto 0;
  max-width: 760px;
}

.convergence-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.convergence-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 118px;
}

.convergence-dot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.convergence-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

.convergence-arrow {
  font-size: 1.6rem;
  color: var(--teal);
  margin: 14px 0;
}

.convergence-hub {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 620px) {
  .convergence-row { gap: 18px; }
  .convergence-node { width: 92px; }
  .convergence-dot { width: 54px; height: 54px; font-size: 1.35rem; }
}

/* ---------- Homepage: photo + overlay quote ---------- */

.photo-quote {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
/*
  background: linear-gradient(135deg, var(--aqua-wash) 0%, var(--soft-aqua) 55%, var(--teal) 130%);
  overflow: hidden;
*/
/* added this css for the background image to show up in the photo quote section */
  background-image: url('assets/si/img1.png');
  background-repeat: no-repeat;
  background-position: center; 
  background-size: cover;
  padding: 40px; 
  border-radius: 8px;
}

.photo-quote::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
}

.photo-quote-overlay {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 40px 28px;
  text-align: center;
}

.photo-quote-overlay blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 0.8em;
}

.photo-quote-attribution {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
}

.photo-quote-cta {
  text-align: center;
  padding: 48px 28px;
  background: var(--cream);
}

/* ---------- Homepage: final CTA button row ---------- */

.cta-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 0.4em;
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.btn-outline-white:hover { background: #ffffff; color: var(--navy); }

/* ---------- Homepage: stat caption ---------- */

.stat-caption {
  text-align: center;
  color: #D9E6E9;
  font-size: 0.84rem;
  margin-top: 2.2em;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
