/* ==========================================================================
   Great Family Organization — site styles
   Palette from the GFO logo: forest (tree), blue (G), red (F).
   Type: Archivo (headings) + Source Sans 3 (text).
   ========================================================================== */
:root {
  --ink: #14211B;
  --ink-2: #4B5B52;
  --forest: #0E6B3B;
  --forest-deep: #08401F;
  --forest-ink: #062B15;
  --leaf: #E4EFE7;
  --mist: #F3F6F3;
  --line: #DCE4DD;
  --blue: #1F47C7;
  --red: #CF2A1F;
  --white: #FFFFFF;
  --radius: 6px;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-link-color-rgb: 14, 107, 59;
  --bs-link-hover-color-rgb: 8, 64, 31;
}

/* ---------- Base ---------- */
html { scroll-padding-top: 96px; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 3000; background: #fff; padding: .5rem 1rem; border-radius: var(--radius); }
img { max-width: 100%; }
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-mist { background: var(--mist); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
main { overflow-x: clip; }

/* ---------- Brand tri-colour bar ---------- */
.tribar { display: inline-flex; width: 36px; height: 4px; vertical-align: middle; }
.tribar span { flex: 1; }
.tribar span:nth-child(1) { background: var(--blue); }
.tribar span:nth-child(2) { background: var(--red); }
.tribar span:nth-child(3) { background: var(--forest); }
.tribar-full { display: flex; width: 100%; height: 4px; }

.kicker { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--forest); margin-bottom: .75rem; display: flex; align-items: center; gap: .65rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; margin: 0; max-width: 22ch; line-height: 1.12; }
.section-intro { color: var(--ink-2); max-width: 60ch; margin: .9rem 0 0; font-size: 1.1rem; }
.section-aside a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section-aside a i { transition: transform .2s; display: inline-block; }
.section-aside a:hover i { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: var(--radius); padding: .65rem 1.25rem; letter-spacing: .005em; }
.btn-sm { padding: .4rem .85rem; font-size: .88rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-forest { background: var(--forest); color: #fff; border: 1px solid var(--forest); }
.btn-forest:hover, .btn-forest:focus { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }
.btn-outline-forest { color: var(--forest); border: 1px solid var(--forest); background: transparent; }
.btn-outline-forest:hover { background: var(--forest); color: #fff; }
.btn-red { background: var(--red); border: 1px solid var(--red); color: #fff; }
.btn-red:hover { background: #A81F16; border-color: #A81F16; color: #fff; }
.link-arrow { font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' →'; }

/* ---------- Top bars & header ---------- */
.admin-strip { background: #000; color: rgba(255,255,255,.8); font-size: .82rem; padding: .3rem 0; }
.admin-strip a { color: #9FE3B8; text-decoration: none; }
.utility-bar { background: var(--forest-ink); color: rgba(255,255,255,.82); font-size: .88rem; padding: .45rem 0; }
.utility-bar a { color: rgba(255,255,255,.88); text-decoration: none; }
.utility-bar a:hover { color: #fff; text-decoration: underline; }
.concern-link { display: inline-flex; align-items: center; gap: .45rem; }
.concern-link .dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 3px rgba(255,90,78,.25); }

.site-header { position: sticky; top: 0; z-index: 1020; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(150%) blur(6px); }
.site-header .navbar { padding: .7rem 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); color: var(--ink); }
.brand-text strong { font-size: 1.05rem; font-weight: 800; }
.brand-text small { font-size: .78rem; color: var(--ink-2); font-weight: 500; }
.navbar-brand img { height: 48px; width: auto; }
.site-header .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--ink); padding: .5rem .85rem !important; border-radius: var(--radius); }
.site-header .nav-link:hover { color: var(--forest); }
.site-header .nav-link.active { color: var(--forest); box-shadow: inset 0 -2px 0 var(--forest); border-radius: 0; }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(20,33,27,.1); padding: .4rem; min-width: 14rem; }
.site-header .dropdown-item { border-radius: 4px; padding: .5rem .8rem; font-size: .98rem; }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--leaf); color: var(--forest-deep); }
.navbar-toggler { border: 1px solid var(--line); font-size: 1.6rem; padding: .2rem .6rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(31,71,199,.3); }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { border-top: 1px solid var(--line); margin-top: .7rem; padding-top: .5rem; max-height: calc(100vh - 140px); overflow-y: auto; }
  .site-header .nav-link.active { box-shadow: inset 3px 0 0 var(--forest); padding-left: 1rem !important; }
  .site-header .dropdown-menu { border: 0; box-shadow: none; padding-left: 1rem; }
}

/* ---------- Home: hero ---------- */
.hero { padding: 4.5rem 0 3.5rem; }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.025em; margin-bottom: 1.4rem; max-width: 14ch; }
.hero .lead { font-size: 1.22rem; color: var(--ink-2); max-width: 46ch; margin-bottom: 2rem; }
.hero-latest { display: flex; gap: .9rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 520px; text-decoration: none; color: var(--ink); }
.hero-latest img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.hero-latest small { display: block; color: var(--forest); font-weight: 700; font-family: var(--font-head); font-size: .8rem; }
.hero-latest span { font-weight: 600; line-height: 1.3; display: block; }
.hero-latest:hover span { text-decoration: underline; }
.hero-figure { position: relative; margin: 0; }
.hero-figure .main { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); display: block; }
.hero-figure .inset { position: absolute; left: -2.2rem; bottom: -2.2rem; width: 38%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 18px 40px rgba(20,33,27,.18); }
.hero-figure figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .75rem; padding-left: 38%; }
@media (max-width: 991.98px) { .hero-figure .inset { display: none; } .hero-figure figcaption { padding-left: 0; } .hero { padding-top: 2.5rem; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-anim > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-anim > *:nth-child(2) { animation-delay: .06s; } .hero-anim > *:nth-child(3) { animation-delay: .12s; } .hero-anim > *:nth-child(4) { animation-delay: .18s; } .hero-anim > *:nth-child(5) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Figures ledger */
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); margin-top: 4rem; }
.ledger div { padding: 1.4rem 1.5rem 1.4rem 0; }
.ledger div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.ledger strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--forest-deep); letter-spacing: -0.02em; }
.ledger span { display: block; margin-top: .5rem; color: var(--ink-2); font-size: .98rem; line-height: 1.35; }
@media (max-width: 767.98px) { .ledger { grid-template-columns: 1fr 1fr; } .ledger div:nth-child(3) { border-left: 0; padding-left: 0; } .ledger div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Field reports (home) ---------- */
.lead-report { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.25rem; align-items: center; text-decoration: none; color: var(--ink); }
.lead-report img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.lead-report h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.18; margin: .5rem 0 1rem; }
.lead-report:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lead-report p { color: var(--ink-2); }
@media (max-width: 991.98px) { .lead-report { grid-template-columns: 1fr; gap: 1.25rem; } }
.report-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.report-list li { border-bottom: 1px solid var(--line); }
.report-list a { display: grid; grid-template-columns: 88px 1fr; gap: 1rem; padding: 1rem 0; align-items: center; text-decoration: none; color: var(--ink); }
.report-list img { width: 88px; height: 66px; object-fit: cover; border-radius: 4px; }
.report-list strong { font-family: var(--font-head); font-weight: 700; display: block; line-height: 1.3; }
.report-list a:hover strong { text-decoration: underline; }
.report-list small { color: var(--ink-2); font-size: .88rem; }

/* Meta line */
.meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .88rem; color: var(--ink-2); margin-bottom: .5rem; align-items: center; }
.meta .type { font-family: var(--font-head); font-weight: 700; color: var(--forest); }
.meta .type-activity { color: var(--blue); }
.meta .type-event { color: var(--red); }

/* ---------- Sectors ---------- */
.sector-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 1px solid var(--line); }
.sector { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sector i { width: 48px; height: 48px; border-radius: 50%; background: var(--leaf); color: var(--forest); display: grid; place-items: center; font-size: 1.35rem; transition: background .2s, color .2s; }
.sector:hover i { background: var(--forest); color: #fff; }
.sector h3 { font-size: 1.15rem; font-weight: 700; margin: .1rem 0 .3rem; }
.sector:hover h3 { color: var(--forest); }
.sector p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.sector small { color: var(--forest); font-weight: 600; font-size: .85rem; }
@media (max-width: 767.98px) { .sector-list { grid-template-columns: 1fr; } }

/* ---------- Track record table ---------- */
.track { width: 100%; border-collapse: collapse; }
.track thead th { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--ink-2); text-align: left; padding: .7rem 1rem .7rem 0; border-bottom: 1px solid var(--ink); }
.track td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.track .yr { font-family: var(--font-head); font-weight: 700; white-space: nowrap; color: var(--forest-deep); width: 9rem; }
.track .yr small { display: block; font-weight: 500; color: var(--ink-2); font-size: .8rem; margin-top: .15rem; }
.track .ttl a { font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.track .ttl a:hover { color: var(--forest); text-decoration: underline; }
.track .ttl span { display: block; color: var(--ink-2); font-size: .92rem; margin-top: .25rem; }
.track .who { color: var(--ink-2); font-size: .95rem; width: 22%; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; font-family: var(--font-head); padding: .15rem .55rem; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.pill.on { background: var(--leaf); color: var(--forest-deep); }
@media (max-width: 767.98px) {
  .track thead { display: none; }
  .track tr { display: grid; grid-template-columns: 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .track td { border: 0; padding: .15rem 0; width: auto !important; }
}

/* ---------- Where we work (signature band) ---------- */
.where { background: var(--forest-deep); color: #fff; position: relative; overflow: hidden; }
.where .kicker { color: #9FE3B8; }
.where h2 { color: #fff; }
.where .section-intro { color: rgba(255,255,255,.78); }
.localities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .1rem 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.localities li { color: rgba(255,255,255,.92); }
.localities li:nth-child(3n+2) { color: #9FE3B8; }
.localities li::after { content: '·'; color: rgba(255,255,255,.3); margin: 0 .45em; font-weight: 400; }
.localities li:last-child::after { content: ''; }
.where-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8); }
.where-meta strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; }

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .6rem; }
.photo-strip a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.photo-strip a:first-child { grid-row: span 2; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-strip a:hover img { transform: scale(1.04); }
@media (max-width: 767.98px) { .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .photo-strip a:first-child { grid-column: span 2; grid-row: auto; } .photo-strip a:nth-child(n+6) { display: none; } }

/* ---------- Accountability block ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.doc-item a { display: grid; grid-template-columns: 46px 1fr auto; gap: .9rem; align-items: center; padding: .85rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.doc-item a:hover { background: var(--mist); }
.doc-item a:hover .doc-title { text-decoration: underline; }
.doc-ext { font-family: var(--font-head); font-size: .7rem; font-weight: 800; color: var(--red); border: 1.5px solid currentColor; border-radius: 4px; text-align: center; padding: .55rem 0; }
.doc-title { display: block; font-weight: 600; line-height: 1.3; }
.doc-meta { display: block; font-size: .84rem; color: var(--ink-2); }
.doc-item i { color: var(--forest); font-size: 1.15rem; }
.concern-card { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 2rem; background: #fff; height: 100%; }
.concern-card h3 { font-size: 1.4rem; font-weight: 800; }
.concern-card ul { padding-left: 1.1rem; color: var(--ink-2); }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.partners li { border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); background: #fff; display: flex; align-items: center; }
.partners a { color: inherit; text-decoration: none; }
.partners a:hover { color: var(--forest); }
.partners img { max-height: 40px; max-width: 130px; object-fit: contain; }

/* ---------- Get involved band ---------- */
.involve { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.involve a { background: #fff; padding: 2rem; text-decoration: none; color: var(--ink); display: block; }
.involve a:hover { background: var(--mist); }
.involve i { font-size: 1.6rem; color: var(--forest); }
.involve h3 { font-size: 1.2rem; font-weight: 700; margin: .8rem 0 .4rem; }
.involve p { color: var(--ink-2); margin: 0 0 .9rem; }

/* ---------- Cards ---------- */
.story-card { height: 100%; display: flex; flex-direction: column; }
.story-img { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); aspect-ratio: 4/3; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .story-img img { transform: scale(1.03); }
.story-body { padding-top: 1rem; }
.story-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .5rem; }
.story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card h3 a:hover { color: var(--forest); text-decoration: underline; }
.story-card .excerpt { color: var(--ink-2); font-size: .98rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-card .partner, .story-card .place { font-size: .93rem; color: var(--ink-2); margin: .2rem 0 0; display: flex; gap: .45rem; }
.story-card .partner i, .story-card .place i { color: var(--forest); }
.status { position: absolute; top: .75rem; left: .75rem; background: rgba(20,33,27,.82); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: .2rem .6rem; border-radius: 999px; }
.status.on { background: var(--forest); }

/* Events */
.event-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.event-row:first-child { border-top: 1px solid var(--line); }
.event-date { text-align: center; border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: var(--radius); padding: .6rem .3rem; align-self: start; }
.event-row.past .event-date { border-top-color: var(--ink-2); }
.event-date .d { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.event-date .m { display: block; font-size: .78rem; color: var(--ink-2); margin-top: .3rem; }
.event-main h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .35rem; }
.event-main h3 a { color: var(--ink); text-decoration: none; }
.event-main h3 a:hover { color: var(--forest); text-decoration: underline; }
@media (max-width: 575.98px) { .event-row { grid-template-columns: 72px 1fr; } .event-row .btn { grid-column: 2; justify-self: start; } }

/* ---------- Inner page header ---------- */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 2.75rem 0 3rem; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.08; margin: 0; max-width: 24ch; letter-spacing: -0.02em; }
.page-intro { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin: 1rem 0 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1.4rem; --bs-breadcrumb-divider-color: var(--ink-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb .active { color: var(--ink); }

/* Chips & search */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2.25rem; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .93rem; font-weight: 600; color: var(--ink); text-decoration: none; background: #fff; }
.chips a small { color: var(--ink-2); margin-left: .35rem; font-weight: 400; }
.chips a:hover { border-color: var(--forest); color: var(--forest); }
.chips a.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.chips a.on small { color: rgba(255,255,255,.75); }
.search { position: relative; max-width: 320px; width: 100%; }
.search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.search input { padding-left: 2.4rem; border-radius: 999px; border-color: var(--line); }
.form-control, .form-select { border-color: #C9D5CC; border-radius: var(--radius); padding: .6rem .85rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--forest); box-shadow: 0 0 0 .2rem rgba(14,107,59,.15); }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-label { font-weight: 600; font-size: .95rem; }

/* Empty state & pagination */
.empty-state { text-align: center; padding: 3.5rem 1rem; max-width: 460px; margin: 0 auto; color: var(--ink-2); }
.empty-state > i { font-size: 2.6rem; color: var(--forest); opacity: .45; }
.empty-state h3 { font-size: 1.25rem; font-weight: 700; margin-top: .75rem; }
.gfo-pagination .page-link { color: var(--forest); border-color: var(--line); min-width: 42px; text-align: center; }
.gfo-pagination .page-item.active .page-link { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------- Detail page ---------- */
.detail-cover { margin: -1.5rem 0 2.5rem; }
.detail-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.detail-cover figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .6rem; }
.lede { font-size: 1.28rem; line-height: 1.6; color: var(--ink); font-weight: 400; margin-bottom: 2rem; padding-left: 1.1rem; border-left: 4px solid var(--forest); }
.prose { font-size: 1.1rem; line-height: 1.8; max-width: 70ch; }
.prose h2, .prose h3, .prose h4 { margin: 2rem 0 .75rem; font-weight: 700; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--forest); background: var(--mist); padding: 1rem 1.25rem; margin: 1.5rem 0; font-style: italic; }
.prose table { width: 100%; margin: 1.25rem 0; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; vertical-align: top; }
.prose figure.table { margin: 0; overflow-x: auto; }
.prose iframe, .prose .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); display: block; margin: 1.5rem 0; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.facts { border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: var(--radius); padding: 1.5rem; }
.facts h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.facts dl { margin: 0; }
.facts dt { font-size: .82rem; color: var(--ink-2); font-weight: 600; font-family: var(--font-head); }
.facts dd { margin: 0 0 .9rem; font-weight: 600; line-height: 1.4; }
.facts dd:last-child { margin-bottom: 0; }
.aside-sticky { position: sticky; top: 110px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .5rem; }
.photo-grid a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--mist); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.05); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 40px; height: 40px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: .92rem; }
.share a:hover, .share button:hover { border-color: var(--forest); color: var(--forest); }

/* ---------- About ---------- */
.statement { font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.mvg { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.mvg > div { padding: 1.75rem 1.75rem 1.75rem 0; }
.mvg > div + div { border-left: 1px solid var(--line); padding-left: 1.75rem; }
.mvg h3 { font-size: 1.05rem; font-weight: 700; color: var(--forest); margin-bottom: .75rem; }
.mvg p { margin: 0; }
@media (max-width: 991.98px) { .mvg { grid-template-columns: 1fr; } .mvg > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 2.5rem; counter-reset: v; }
.values div { counter-increment: v; }
.values h3 { font-size: 1.15rem; font-weight: 700; display: flex; gap: .6rem; align-items: baseline; }
.values h3::before { content: counter(v, decimal-leading-zero); font-size: .85rem; color: var(--forest); }
.values p { color: var(--ink-2); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); }
.timeline strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--forest-deep); display: block; line-height: 1.1; }
.timeline span { color: var(--ink-2); }
.do-list { columns: 2; column-gap: 3rem; padding: 0; list-style: none; }
.do-list li { break-inside: avoid; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.do-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .72rem; color: var(--forest); }
@media (max-width: 767.98px) { .do-list { columns: 1; } }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about-photos img:first-child { grid-row: span 2; aspect-ratio: 3/4; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem 1.5rem; }
.person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.person .initials { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); background: var(--leaf); color: var(--forest); display: grid; place-items: center; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; }
.person h3 { font-size: 1.05rem; font-weight: 700; margin: .8rem 0 .15rem; line-height: 1.3; }
.person p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.person.lead-person { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; align-items: center; }
.person.lead-person h3 { font-size: 1.3rem; margin-top: 0; }
@media (max-width: 575.98px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } .person.lead-person { grid-template-columns: 110px 1fr; } }

/* ---------- Gallery ---------- */
.masonry { column-count: 3; column-gap: .75rem; }
.masonry figure { break-inside: avoid; margin: 0 0 .75rem; }
.masonry img { width: 100%; height: auto; display: block; border-radius: var(--radius); background: var(--mist); }
.masonry figcaption { font-size: .88rem; color: var(--ink-2); padding: .4rem .1rem 0; display: flex; justify-content: space-between; gap: .75rem; }
.masonry figcaption a { white-space: nowrap; font-weight: 600; }
@media (max-width: 991.98px) { .masonry { column-count: 2; } }
@media (max-width: 520px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox-content { background: transparent; border: 0; position: relative; align-items: center; }
#lightbox .modal-dialog { max-width: min(1200px, 96vw); }
#lightboxImg { max-width: 100%; max-height: 82vh; border-radius: 4px; display: block; margin: 0 auto; }
.lightbox-caption { color: #fff; text-align: center; padding: .75rem 1rem 0; min-height: 1.5rem; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; z-index: 3; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 1.4rem; }
.lightbox-nav:hover { background: rgba(255,255,255,.35); }
.lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }
.modal-backdrop.show { opacity: .88; }

/* ---------- Forms pages ---------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: #fff; }
.form-card.red-top { border-top: 4px solid var(--red); }
.form-card.green-top { border-top: 4px solid var(--forest); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list i { width: 44px; height: 44px; border-radius: 50%; background: var(--leaf); color: var(--forest); display: grid; place-items: center; font-size: 1.1rem; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.ref-box { background: var(--leaf); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.ref-box code { font-size: 1.35rem; color: var(--forest-deep); font-weight: 700; }
.bank-list { list-style: none; padding: 0; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.bank-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.bank-list li:last-child { border-bottom: 0; }
.bank-list span:first-child { color: var(--ink-2); font-size: .92rem; }
.bank-list span:last-child { font-weight: 700; text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-ink); color: rgba(255,255,255,.78); padding-bottom: 1.5rem; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-news { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; padding: 3rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-news h2 { color: #fff; }
.footer-news-form { display: flex; gap: .5rem; flex: 1; max-width: 460px; min-width: 260px; }
.footer-news-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.footer-news-form .form-control::placeholder { color: rgba(255,255,255,.55); }
.footer-cols { padding: 3rem 0 2rem; }
.footer-logo { display: inline-block; background: #fff; padding: .4rem .6rem; border-radius: var(--radius); }
.footer-logo img { height: 44px; width: auto; display: block; }
.footer-h { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .6rem; }
.footer-contact i { color: #9FE3B8; }
.social { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.social:hover { background: #fff; color: var(--forest-ink) !important; text-decoration: none !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; font-size: .88rem; }

/* Toasts */
.toast-ok { background: var(--forest); color: #fff; }
.toast-error { background: var(--red); color: #fff; }
.toast-body { font-weight: 600; }

/* Preview bar */
.preview-bar { background: #FFF3CD; color: #664D03; padding: .55rem 1rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Lead report inside a half-width column: photo on top */
.lead-report.stacked { grid-template-columns: 1fr; gap: 1.25rem; }
.lead-report.stacked img { aspect-ratio: 16/9; }
.lead-report.stacked h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.do-list.neutral li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); top: 1.25rem; left: .3rem; }
