/* =========================================================
   KENEWA design "Karibu" (October 2026)
   A fresh, bright look for the whole of kenewa.org: deep forest green, sunshine yellow, mint sections,
   rounded white cards with a soft shadow, pill labels and a hand-drawn yellow underline on key words.
   Loaded LAST on every page (after css/theme-harambee.css), so the public site, the members area and
   the committee area all follow it. To go back to "Harambee", remove the line
       <link rel="stylesheet" href="css/theme-karibu.css">
   from the pages. No page logic depends on it.

   Colours (contrast checked, WCAG 2.2 AA)
     --kb-forest   #075E4B  main green: buttons, links, dark sections     white 7.6:1
     --kb-pine     #054537  hover, footer bottom bar                     white 10.6:1
     --kb-emerald  #0C8A68  bright green for gradients (large text only) white 4.6:1
     --kb-sun      #F6C12F  the ONE main button per screen, underlines   ink 11.3:1
     --kb-navy     #1C2031  top bar, headings                            white 16:1
     --kb-slate    #565C6B  secondary text                               white 6.6:1
     --kb-mint     #EAF4F1  alternate sections                           ink 15.6:1
     --kb-foam     #D8EDE8  footer
     --kb-red      #B3261E  Get help, urgent, errors only (unchanged)    white 6.5:1
   Type: Lexend (variable, 300-700), stored on the site in fonts/ (SIL OFL). Designed for easy reading.
   Shape: 6px buttons, 14px cards with a soft green shadow, 999px pill labels.
   ========================================================= */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --kb-forest: #075E4B;
    --kb-pine: #054537;
    --kb-emerald: #0C8A68;
    --kb-sun: #F6C12F;
    --kb-sun-hover: #E9AF14;
    --kb-sun-soft: #FDF1C9;
    --kb-navy: #1C2031;
    --kb-ink: #1C2031;
    --kb-slate: #565C6B;
    --kb-mint: #EAF4F1;
    --kb-mint-2: #F3F8F7;
    --kb-foam: #D8EDE8;
    --kb-rule: #DDE8E5;
    --kb-red: #B3261E;
    --kb-shadow: 0 12px 34px rgba(7, 94, 75, .09);
    --kb-shadow-lg: 0 22px 50px rgba(7, 94, 75, .16);
    --kb-font: "Lexend", "Atkinson Hyperlegible Next", "Segoe UI", Arial, sans-serif;
    /* the yellow brush underline drawn under one word in a heading */
    --kb-swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C40 4 92 3 197 6' fill='none' stroke='%23F6C12F' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M30 14c40-4 90-5 140-3' fill='none' stroke='%23F6C12F' stroke-width='2.4' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E");
    --kb-swash-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C40 4 92 3 197 6' fill='none' stroke='%230C8A68' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M30 14c40-4 90-5 140-3' fill='none' stroke='%230C8A68' stroke-width='2' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E");
    --kb-dots: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.8px);

    /* Harambee's colour names, pointed at Karibu: everything else on the site follows */
    --hb-ink: var(--kb-ink);
    --hb-tea: var(--kb-forest);
    --hb-eucalypt: var(--kb-forest);
    --hb-maize: var(--kb-sun);
    --hb-maize-hover: var(--kb-sun-hover);
    --hb-maize-light: #FAD772;
    --hb-mist: var(--kb-mint);
    --hb-slate: var(--kb-slate);
    --hb-rule: var(--kb-rule);
    --hb-field: #7C8A86;
    --hb-on-dark: #CFE7E0;
    --hb-display: var(--kb-font);
    --hb-text: var(--kb-font);
    --hb-kikoi: linear-gradient(90deg, var(--kb-sun) 0 32%, var(--kb-forest) 32% 100%);
    --tl-eucalypt-2: var(--kb-pine);
    --radius: 14px; --u-radius: 6px; --k-radius: 6px;
    --k-fs-h1: clamp(2.4rem, 5.6vw, 3.6rem);
    --k-fs-h2: clamp(1.85rem, 3.8vw, 2.5rem);
}

/* ---------- 1. type ---------- */
body { font-family: var(--kb-font); color: var(--kb-ink); font-weight: 350; }
h1, h2, h3, h4, .section-title, .page-hero h1, .footer-name, .hb-subhead, .hb-card h3, .hb-plan h3 {
    font-family: var(--kb-font) !important; font-weight: 600 !important; letter-spacing: -.01em !important; color: var(--kb-navy); }
h1, .page-hero h1 { line-height: 1.12 !important; }
h2, .section-title { line-height: 1.22 !important; }
strong, b { font-weight: 600; }
a { color: var(--kb-forest); }
a:hover { color: var(--kb-pine); }
::selection { background: var(--kb-sun); color: var(--kb-navy); }

/* the yellow brush underline: <span class="kb-mark">word</span> */
.kb-mark { position: relative; white-space: nowrap; display: inline-block; z-index: 0; }
.kb-mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.18em; height: .42em; background: var(--kb-swash) no-repeat center / 100% 100%; z-index: -1; }
.kb-mark-green::after { background-image: var(--kb-swash-green); }

/* pill labels ("About us", "Events"...) */
.kb-pill, .eyebrow, .hb-label, .hero-place, .page-hero .hero-place {
    display: inline-block !important; width: auto; max-width: 100%;
    background: var(--kb-mint) !important; color: var(--kb-forest) !important; border: 1px solid #BFDCD4;
    border-radius: 999px; padding: .25rem .9rem !important; font-family: var(--kb-font); font-weight: 500 !important;
    font-size: .875rem !important; letter-spacing: 0 !important; text-transform: none !important; margin-bottom: .9rem !important; }
.page-hero .hero-place, .kb-dark .kb-pill, .kb-pill-light, .feature .eyebrow, .u-next .eyebrow, .objective-band .eyebrow, .section-dark .eyebrow, .section-green .eyebrow, .cta .eyebrow, .donate-band .eyebrow, .host-band .eyebrow, .hb-dark .eyebrow { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-color: rgba(255, 255, 255, .35); }

/* ---------- 2. buttons ---------- */
.btn { border-radius: 6px !important; font-family: var(--kb-font); font-weight: 500; letter-spacing: 0; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.0625rem; }
.btn-gold, .btn-damu, .btn-green, .btn-success, .btn-primary { background: var(--kb-forest) !important; border: 2px solid var(--kb-forest) !important; color: #fff !important; }
.btn-gold:hover, .btn-gold:focus-visible, .btn-damu:hover, .btn-green:hover, .btn-success:hover, .btn-primary:hover { background: var(--kb-pine) !important; border-color: var(--kb-pine) !important; color: #fff !important; }
.btn-maize, .hb-primary, .kb-btn-sun,
.k-hero .btn-maize, .page-hero .btn-maize, .page-hero .btn-gold, .section-dark .btn-gold, .cta .btn-gold, .cta .btn-maize, .donate-band .btn-gold,
.home-head-acts .btn-gold, .td-acts .btn-gold, .ui-bulk .btn-gold, .sheet-acts .btn-gold, .home-card .btn-maize, .choose-featured .btn-gold {
    background: var(--kb-sun) !important; border: 2px solid var(--kb-sun) !important; color: var(--kb-navy) !important; box-shadow: 0 6px 16px rgba(246, 193, 47, .28); }
.btn-maize:hover, .hb-primary:hover, .kb-btn-sun:hover, .page-hero .btn-gold:hover, .page-hero .btn-maize:hover, .home-head-acts .btn-gold:hover, .td-acts .btn-gold:hover,
.ui-bulk .btn-gold:hover, .sheet-acts .btn-gold:hover, .choose-featured .btn-gold:hover, .home-card .btn-maize:hover {
    background: var(--kb-sun-hover) !important; border-color: var(--kb-sun-hover) !important; color: var(--kb-navy) !important; }
.btn-outline-ink { background: #fff !important; border: 1.5px solid var(--kb-forest) !important; color: var(--kb-forest) !important; }
.btn-outline-ink:hover, .btn-outline-ink:focus-visible { background: var(--kb-forest) !important; color: #fff !important; }
.btn-ghost, .page-hero .btn-ghost { background: transparent !important; border: 1.5px solid rgba(255, 255, 255, .7) !important; color: #fff !important; text-decoration: none !important; }
.btn-ghost:hover, .page-hero .btn-ghost:hover { background: #fff !important; color: var(--kb-forest) !important; }
.btn-help { background: var(--kb-red) !important; border: 2px solid var(--kb-red) !important; color: #fff !important; }
.kb-arrow::after, .kb-go::after { content: "\2192"; display: inline-block; margin-left: .45rem; transition: transform .2s; }
.btn:hover .kb-arrow::after, a:hover > .kb-arrow::after, .kb-go:hover::after { transform: translateX(3px); }

.form-control, .form-select { border: 1.5px solid #B9C7C3; border-radius: 6px !important; font-family: var(--kb-font); }
.form-control:focus, .form-select:focus { border-color: var(--kb-forest); box-shadow: 0 0 0 3px rgba(246, 193, 47, .5); }
:focus-visible { outline: 3px solid var(--kb-navy) !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px var(--kb-sun) !important; }

/* ---------- 3. public header: dark top bar, white menu, yellow Join button ---------- */
.hb-header.kb-header { box-shadow: 0 4px 18px rgba(28, 32, 49, .06); border-bottom: 0; }
.hb-header.kb-header::before { content: none; }
.kb-topbar { background: var(--kb-navy); color: #DADDE6; font-size: .875rem; border-top: 3px solid var(--kb-sun); }
.kb-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 42px; flex-wrap: wrap; }
.kb-topbar ul { list-style: none; display: flex; gap: .4rem 1.4rem; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.kb-topbar li { display: inline-flex; align-items: center; gap: .45rem; }
.kb-topbar a { color: #fff; text-decoration: none; }
.kb-topbar a:hover { color: var(--kb-sun); text-decoration: underline; }
.kb-topbar svg { width: 16px; height: 16px; color: var(--kb-sun); flex: none; }
.kb-top-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .25); display: inline-block; }
.kb-social { gap: .35rem !important; }
.kb-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.kb-social a:hover { background: rgba(255, 255, 255, .12); }
.kb-social svg { color: #fff; width: 15px; height: 15px; }
.kb-top-signin a[data-portal-link] { color: var(--kb-sun); font-weight: 500; }
@media (max-width: 767.98px) { .kb-topbar .kb-top-place, .kb-topbar .kb-top-follow, .kb-topbar .kb-top-sep { display: none; } .kb-topbar-in { min-height: 38px; } }
@media (max-width: 420px) { .kb-topbar .kb-top-mail span { display: none; } }

.hb-header .site-nav { padding: .7rem 0 !important; }
.hb-header .brand-logo { width: 46px; height: 46px; }
.hb-header .brand-name { font-family: var(--kb-font) !important; font-weight: 600; font-size: 1.6rem; color: var(--kb-navy); letter-spacing: -.02em; }
.hb-header .brand-name em { font-style: normal; color: var(--kb-forest); }
.hb-header .brand-full { font-size: .78rem; color: var(--kb-slate); }
.hb-header .nav-link { font-family: var(--kb-font); font-weight: 500; font-size: .98rem; color: var(--kb-navy) !important; border-bottom: 0;
    padding: .5rem .15rem !important; margin: 0 .55rem; position: relative; }
.hb-header .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--kb-sun); transform: scaleX(0); transition: transform .2s; }
.hb-header .nav-link:hover { color: var(--kb-forest) !important; }
.hb-header .nav-link:hover::after, .hb-header .nav-link.active::after, .hb-header .nav-link[aria-current]::after { transform: scaleX(1); }
.hb-header .nav-link.active, .hb-header .nav-link[aria-current] { color: var(--kb-forest) !important; }
.kb-search { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--kb-rule); border-radius: 50%; color: var(--kb-navy); }
.kb-search:hover { background: var(--kb-mint); color: var(--kb-forest); }
.kb-search svg { width: 18px; height: 18px; }
.hb-header .nav-btn .btn { min-height: 44px; padding: .45rem 1.1rem; margin-left: .35rem; display: inline-flex; align-items: center; }
.hb-header .kb-join { background: var(--kb-sun) !important; border: 2px solid var(--kb-sun) !important; color: var(--kb-navy) !important; }
.hb-header .kb-join:hover { background: var(--kb-sun-hover) !important; border-color: var(--kb-sun-hover) !important; }
.hb-header .navbar-toggler { border: 1.5px solid var(--kb-rule) !important; border-radius: 8px; }
@media (min-width: 1200px) {
    .hb-header .hb-actions { margin-left: .75rem; padding-left: .75rem; border-left: 1px solid var(--kb-rule); }
    .hb-header .kb-li-members { display: none; }
}
@media (max-width: 1199.98px) {
    .hb-header .nav-link { font-size: 1.1rem; margin: 0; }
    .hb-header .nav-link::after { content: none; }
    .hb-header .nav-link.active, .hb-header .nav-link[aria-current] { box-shadow: inset 4px 0 0 var(--kb-sun) !important; }
    .hb-header .kb-li-search { display: none; }
    .hb-header .nav-btn { display: block; padding-top: .9rem; }
    .hb-header .nav-btn .btn-help { display: none; }
    .hb-header .nav-btn .kb-join { width: 100%; justify-content: center; margin: 0; }
}

/* ---------- 4. inner-page banners: green with dots, a striped circle and a breadcrumb ---------- */
.page-hero { background: var(--kb-forest) !important; position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 7vw, 5.5rem) 0 !important; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--kb-dots) 0 0 / 20px 20px; -webkit-mask: radial-gradient(circle at 6% 20%, #000 0 120px, transparent 260px); mask: radial-gradient(circle at 6% 20%, #000 0 120px, transparent 260px); }
.page-hero::after { content: "" !important; display: block !important; left: auto; bottom: auto; height: auto; position: absolute; z-index: -1; right: max(-120px, calc((100vw - 1240px) / 2 - 140px)); top: 50%; translate: 0 -50%; width: min(380px, 50vw); aspect-ratio: 1;
    border-radius: 50%; background: repeating-linear-gradient(-45deg, rgba(246, 193, 47, .9) 0 7px, transparent 7px 24px);
    -webkit-mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); opacity: .85; }
.page-hero h1 { color: #fff !important; font-size: clamp(2.2rem, 5vw, 3.3rem) !important; max-width: 20ch; }
.page-hero .hero-lead, .page-hero p { color: #DCEFEA; }
.page-hero a:not(.btn) { color: #fff; }
.kb-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; color: #CFE7E0; margin: 0 0 1rem; }
.kb-crumbs a { color: #fff !important; text-decoration: none; }
.kb-crumbs a:hover { color: var(--kb-sun) !important; text-decoration: underline; }
.kb-crumbs span[aria-hidden] { color: var(--kb-sun); }
.page-hero .hero-place { margin-bottom: 1rem !important; }

/* sections */
.section-soft, .hb-mist { background: var(--kb-mint) !important; }
.section-dark, .section-green, .objective-band, .cta, .donate-band, .host-band { background: var(--kb-forest) !important; }
.section-title { position: relative; }
.eyebrow + .section-title, .eyebrow + h2 { margin-top: 0; }
h2.section-title::after { content: ""; display: block; width: 92px; height: 12px; margin-top: .45rem; background: var(--kb-swash) no-repeat left / 100% 100%; }
.text-center h2.section-title::after, .section-title.text-center::after { margin-inline: auto; }

/* cards everywhere on the public site: white, 14px, soft shadow */
.h-card, .u-board, .u-news-card, .u-promo, .path-card, .fact-panel, .form-card, .h-join-form, .res-group, .portfolio, .h-people li,
.mv-card, .benefit, .support-cards .support, .u-port-list a, .u-tiles a, .u-quick-list a, .ev-card, .feature, .person, .card {
    border-radius: 14px !important; border: 1px solid var(--kb-rule) !important; box-shadow: var(--kb-shadow); background: #fff; }
.ev-card:hover, .path-card:hover, .portfolio:hover, .u-tiles a:hover { box-shadow: var(--kb-shadow-lg); transform: translateY(-3px); transition: box-shadow .2s, transform .2s; }
.h-ico, .support-ic { background: var(--kb-mint) !important; color: var(--kb-forest) !important; border-radius: 12px !important; }
.chip { border-radius: 999px !important; font-family: var(--kb-font); }
.chip.active, .chip[aria-pressed="true"] { background: var(--kb-forest) !important; border-color: var(--kb-forest) !important; color: #fff !important; }
.person img, .person .initials { border: 4px solid var(--kb-mint); }
.person .initials { background: var(--kb-forest) !important; color: #fff !important; }
.tbc, .badge-tbc { background: var(--kb-sun-soft); color: #5C4210; border-radius: 999px; padding: .1rem .55rem; }
.help-bubble { background: var(--kb-forest) !important; box-shadow: var(--kb-shadow-lg) !important; }

/* ---------- 5. "Ready to join?" band and the footer ---------- */
.kb-cta { position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(ellipse at 40% 50%, #109B76 0%, var(--kb-emerald) 30%, var(--kb-forest) 75%); }
.kb-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px) 0 0 / 26px 26px; }
.kb-cta-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 360px; }
.kb-cta-text { padding: 3.5rem 0; }
.kb-cta h2 { color: #fff !important; font-size: clamp(2rem, 4.6vw, 3rem) !important; margin: 0 0 1rem; max-width: 16ch; }
.kb-cta p { color: #DDF2EC; font-size: 1.08rem; max-width: 34em; }
.kb-cta-acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.kb-btn-white { background: #fff !important; border: 2px solid #fff !important; color: var(--kb-forest) !important; }
.kb-btn-white:hover { background: var(--kb-sun) !important; border-color: var(--kb-sun) !important; color: var(--kb-navy) !important; }
.kb-cta-art { position: relative; align-self: end; height: 100%; min-height: 340px; display: flex; align-items: flex-end; justify-content: center; }
.kb-cta-art::before { content: ""; position: absolute; width: 300px; aspect-ratio: 1; border-radius: 50%; background: #8DC63F; top: 26px; right: 18%; opacity: .95; }
.kb-cta-art::after { content: ""; position: absolute; width: 170px; height: 220px; left: 6%; top: 70px;
    background: radial-gradient(#173E3A 2.6px, transparent 3px) 0 0 / 15px 15px; -webkit-mask: radial-gradient(circle at 70% 40%, #000 30%, transparent 70%); mask: radial-gradient(circle at 70% 40%, #000 30%, transparent 70%); opacity: .8; }
.kb-cta-art img { position: relative; z-index: 1; width: min(380px, 90%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 0 0; border: 6px solid rgba(255,255,255,.85); border-bottom: 0; }
@media (max-width: 991.98px) { .kb-cta-in { grid-template-columns: 1fr; } .kb-cta-text { padding: 3rem 0 0; } .kb-cta-art { min-height: 280px; } .kb-cta-art img { width: min(300px, 80%); } }

.site-footer.kb-footer { background: var(--kb-foam) !important; color: var(--kb-slate); padding: 0 !important; position: relative; overflow: hidden; isolation: isolate; }
.site-footer.kb-footer::before { content: none !important; }
.kb-footer::after { content: ""; position: absolute; z-index: -1; right: 3%; bottom: 170px; width: 130px; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #FBEA9A 0 46%, transparent 47%), radial-gradient(#9FB9C9 1.3px, transparent 1.6px) 0 0 / 9px 9px; opacity: .9; }
.kb-footer .kb-foot-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; }
.kb-foot-col { padding: 4rem 2rem 3rem; border-left: 1px solid rgba(7, 94, 75, .12); }
.kb-foot-col:first-child { border-left: 0; padding-left: 0; }
.kb-foot-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-bottom: 1.2rem; }
.kb-foot-brand img { width: 48px; height: 48px; }
.kb-foot-brand span { font-weight: 600; font-size: 1.6rem; color: var(--kb-navy); letter-spacing: -.02em; }
.kb-footer p { font-size: .94rem; line-height: 1.7; color: var(--kb-slate); }
.kb-footer .footer-reg { font-size: .82rem; }
.kb-footer .footer-head { font-family: var(--kb-font); font-weight: 600 !important; font-size: 1.2rem; color: var(--kb-navy) !important; margin: 0 0 1.25rem; text-transform: none; letter-spacing: 0; }
.kb-footer .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.kb-footer .footer-links a { color: var(--kb-slate); text-decoration: none; font-size: .94rem; }
.kb-footer .footer-links a:hover { color: var(--kb-forest); text-decoration: underline; }
.kb-footer .kb-contact-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .75rem; font-size: .94rem; }
.kb-footer .kb-contact-list strong { color: var(--kb-navy); }
.kb-footer .kb-contact-list a { color: var(--kb-slate); }
.kb-footer .kb-foot-social { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.kb-footer .kb-foot-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--kb-navy); box-shadow: var(--kb-shadow); }
.kb-footer .kb-foot-social a:hover { background: var(--kb-forest); color: #fff; }
.kb-footer .kb-foot-social svg { width: 18px; height: 18px; }
.kb-footer .footer-ack { margin: 0; padding: 1.1rem 0 1.4rem; border-top: 1px solid rgba(7, 94, 75, .12); border-left: 0 !important; font-size: .85rem; }
.kb-footer .ack-label { font-weight: 600; color: var(--kb-forest); margin-right: .35rem; }
.kb-foot-bottom { display: grid; grid-template-columns: 1fr 1.2fr; font-size: .875rem; }
.kb-foot-bottom > div { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .9rem; min-height: 50px; padding: .6rem 0; }
.kb-foot-copy { background: var(--kb-sun); color: var(--kb-navy); padding-left: max(1rem, calc((100vw - 1240px) / 2 + 12px)) !important; padding-right: 2.5rem !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%); }
.kb-foot-copy a { color: var(--kb-forest); font-weight: 500; }
.kb-foot-legal { background: var(--kb-pine); color: #fff; justify-content: flex-end; margin-left: -28px; padding-left: 3rem !important; padding-right: max(1rem, calc((100vw - 1240px) / 2 + 12px)) !important; }
.kb-foot-legal a { color: #fff; text-decoration: none; }
.kb-foot-legal a:hover { color: var(--kb-sun); text-decoration: underline; }
.kb-foot-legal span[aria-hidden] { color: var(--kb-sun); }
@media (max-width: 991.98px) {
    .kb-footer .kb-foot-grid { grid-template-columns: 1fr 1fr; }
    .kb-foot-col { padding: 2.5rem 1.25rem 1.5rem; border-left: 0; border-top: 1px solid rgba(7, 94, 75, .12); }
    .kb-foot-col:nth-child(odd) { padding-left: 0; }
    .kb-foot-col:first-child { grid-column: 1 / -1; border-top: 0; }
    .kb-foot-bottom { grid-template-columns: 1fr; }
    .kb-foot-copy { clip-path: none; padding-inline: 1rem !important; }
    .kb-foot-legal { margin-left: 0; justify-content: flex-start; padding-inline: 1rem !important; }
}
@media (max-width: 575.98px) { .kb-footer .kb-foot-grid { grid-template-columns: 1fr; } .kb-foot-col { padding-inline: 0 !important; } }

/* =========================================================
   6. Home page (index.html)
   ========================================================= */
.kb-section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow-x: clip; }
.kb-home img, .kb-cta img { height: auto; }
.kb-home { overflow-x: clip; }
.kb-section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.kb-mint { background: var(--kb-mint-2); }
.kb-head { text-align: center; max-width: 42rem; margin: 0 auto 2.75rem; }
.kb-head h2 { font-size: var(--k-fs-h2); margin: 0 0 .8rem; }
.kb-head p { color: var(--kb-slate); margin: 0; font-size: 1.05rem; }
.kb-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; text-align: left; }
.kb-head-split h2 { margin: 0; max-width: 18ch; }
.kb-glow { position: absolute; z-index: 0; pointer-events: none; width: 420px; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); opacity: .55; }
.kb-glow-mint { background: radial-gradient(circle, #BFE6DA, transparent 68%); }
.kb-glow-sun { background: radial-gradient(circle, #FCEBB4, transparent 68%); }
.kb-section > .container { position: relative; z-index: 1; }

/* hero */
.kb-hero { background: var(--kb-forest); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.kb-hero::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 220px; height: 260px; background: var(--kb-dots) 0 0 / 22px 22px; opacity: .9; }
.kb-hero-dots2 { position: absolute; z-index: -1; left: 30%; bottom: 40px; width: 110px; height: 110px; background: var(--kb-dots) 0 0 / 22px 22px; }
.kb-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 560px; }
.kb-hero-text { padding: 4rem 0; }
.kb-hero .kb-pill { margin-bottom: 1.25rem !important; }
.kb-hero h1 { color: #fff !important; font-size: clamp(2.4rem, 5.4vw, 3.7rem) !important; margin: 0 0 1.25rem; max-width: 15ch; font-weight: 600 !important; }
.kb-hero-lead { color: #D6ECE6; font-size: 1.08rem; max-width: 33em; margin: 0 0 2rem; }
.kb-hero-acts { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.kb-btn-help-light { background: transparent !important; border: 1.5px solid rgba(255,255,255,.75) !important; color: #fff !important; }
.kb-btn-help-light:hover { background: #fff !important; color: var(--kb-red) !important; }
.kb-btn-help-light svg { width: 20px; height: 20px; fill: none; stroke: currentColor; margin-right: .35rem; vertical-align: -4px; }
.kb-hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; }
.kb-ring { position: absolute; width: min(500px, 92%); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; translate: -50% -48%;
    background: repeating-linear-gradient(-45deg, var(--kb-sun) 0 9px, transparent 9px 30px);
    -webkit-mask: radial-gradient(circle, transparent 0 60%, #000 60.5%); mask: radial-gradient(circle, transparent 0 60%, #000 60.5%); }
.kb-ring-fill { position: absolute; width: min(420px, 78%); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; translate: -50% -48%; background: #0B6B56; }
.kb-hero-photo { position: relative; z-index: 1; margin: 0; width: min(430px, 82%); align-self: center; }
.kb-hero-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 40%; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.kb-hero-photo figcaption { position: absolute; left: 50%; bottom: -14px; translate: -50% 0; white-space: nowrap; background: var(--kb-navy); color: #fff; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; }
.kb-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; background: #fff; color: var(--kb-navy); border-radius: 14px; padding: .85rem 1.1rem .85rem .85rem; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.kb-float-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.kb-float-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; }
.kb-float small { display: block; color: var(--kb-slate); font-size: .78rem; line-height: 1.2; }
.kb-float b { display: block; font-size: 1.45rem; font-weight: 600; line-height: 1.2; }
.kb-float b i { font-style: normal; color: var(--kb-sun-hover); }
.kb-float-a { left: -4%; bottom: 18%; }
.kb-float-a .kb-float-ic { background: var(--kb-sun); color: var(--kb-navy); }
.kb-float-b { right: -2%; top: 20%; }
.kb-float-b .kb-float-ic { background: var(--kb-forest); color: #fff; }
@media (max-width: 991.98px) {
    .kb-hero-in { grid-template-columns: 1fr; min-height: 0; }
    .kb-hero-text { padding: 3rem 0 1rem; }
    .kb-hero-art { min-height: 400px; padding-bottom: 2.5rem; }
    .kb-hero-acts .btn { flex: 1 1 100%; justify-content: center; }
    .kb-float-a { left: 0; bottom: 6%; } .kb-float-b { right: 0; top: 6%; }
}
@media (max-width: 575.98px) { .kb-hero-art { min-height: 340px; } .kb-float { padding: .6rem .8rem .6rem .6rem; } .kb-float b { font-size: 1.15rem; } .kb-float-ic { width: 38px; height: 38px; } }

/* next big event strip */
.kb-next.u-next { background: #fff !important; color: var(--kb-navy) !important; padding: 0 !important; border: 0; position: relative; z-index: 3; }
.kb-next .u-next-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; background: #fff; border-radius: 14px; box-shadow: var(--kb-shadow-lg);
    padding: 1.25rem 1.5rem; margin-top: -2.2rem; border-left: 6px solid var(--kb-sun); }
.kb-next .u-next-text { flex: 1 1 22rem; }
.kb-next .u-next-label { color: var(--kb-forest) !important; font-weight: 600; margin: 0 0 .1rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.kb-next h2 { font-size: 1.45rem !important; margin: 0 !important; color: var(--kb-navy) !important; }
.kb-next h2::after { content: none !important; }
.kb-next .u-next-when { color: var(--kb-slate) !important; margin: .15rem 0 0; font-size: .95rem; }
.kb-next .u-next-count { display: none !important; }
.kb-next .u-next-tools { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.kb-next .u-next-tools .btn { background: #fff !important; border: 1.5px solid var(--kb-forest) !important; color: var(--kb-forest) !important; min-height: 44px; }
.kb-next .u-next-tools .btn:hover { background: var(--kb-forest) !important; color: #fff !important; }
.kb-next .u-next-tools a:not(.btn) { color: var(--kb-forest) !important; font-weight: 600; }

/* "categories": eight pastel cards */
.kb-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.kb-cats a { --c: #E7F4F0; --e: #8CC7B6; --i: #0B6B56; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem;
    min-height: 168px; padding: 1.5rem 1rem; background: var(--c); border: 1.5px solid var(--e); border-radius: 12px; color: var(--kb-navy); text-decoration: none;
    font-weight: 500; transition: transform .2s, box-shadow .2s, background .2s; }
.kb-cats a:hover { transform: translateY(-4px); box-shadow: var(--kb-shadow-lg); color: var(--kb-navy); }
.kb-cats svg { width: 54px; height: 54px; color: var(--i); fill: none; stroke: currentColor; }
.kb-cats small { display: block; color: var(--kb-slate); font-weight: 350; font-size: .85rem; margin-top: .2rem; }
.kb-cats li:nth-child(1) a { --c: #EAF4F1; --e: #8CC7B6; --i: #0B6B56; }
.kb-cats li:nth-child(2) a { --c: var(--kb-sun); --e: #E1A90F; --i: var(--kb-navy); }
.kb-cats li:nth-child(2) small { color: #4A3B0C; }
.kb-cats li:nth-child(3) a { --c: #FDEEEE; --e: #F1A7A7; --i: #C2362E; }
.kb-cats li:nth-child(4) a { --c: #ECF3FD; --e: #9CC0EE; --i: #2A6CC4; }
.kb-cats li:nth-child(5) a { --c: #EEF0FC; --e: #A9B2E8; --i: #3E4AA8; }
.kb-cats li:nth-child(6) a { --c: #EEF9EF; --e: #9ED5A3; --i: #26873A; }
.kb-cats li:nth-child(7) a { --c: #F5EEFC; --e: #C8A9EA; --i: #7A3EBE; }
.kb-cats li:nth-child(8) a { --c: #FDF0F6; --e: #EFA6C8; --i: #C02E79; }
@media (max-width: 991.98px) { .kb-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .kb-cats a { min-height: 140px; } }

/* stats band */
.kb-stats { background: var(--kb-forest); color: #fff; }
.kb-stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kb-stats li { display: flex; align-items: center; gap: 1rem; padding: 2.4rem 1.5rem; border-left: 1px solid rgba(255,255,255,.18); }
.kb-stats li:first-child { border-left: 0; padding-left: 0; }
.kb-stats svg { width: 44px; height: 44px; flex: none; color: #fff; fill: none; stroke: currentColor; opacity: .9; }
.kb-stats b { display: block; font-size: 1.85rem; font-weight: 600; line-height: 1.1; }
.kb-stats span { display: block; font-size: .875rem; line-height: 1.4; color: #CFE7E0; margin-top: .2rem; }
@media (max-width: 991.98px) { .kb-stats ul { grid-template-columns: 1fr 1fr; } .kb-stats li { padding: 1.5rem 1rem; } .kb-stats li:nth-child(3) { border-left: 0; padding-left: 0; } .kb-stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); } }
@media (max-width: 420px) { .kb-stats b { font-size: 1.4rem; } .kb-stats svg { width: 34px; height: 34px; } }

/* about: photo collage + checklist */
.kb-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.kb-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; padding: 2.5rem 0 0 1.5rem; }
.kb-collage::before { content: ""; position: absolute; left: -10px; top: 0; width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--kb-sun); z-index: 0; }
.kb-collage::after { content: ""; position: absolute; left: -26px; top: 60px; width: 90px; height: 130px; z-index: 0;
    background: radial-gradient(#7A3EBE 1.5px, transparent 1.8px) 0 0 / 8px 8px; -webkit-mask: radial-gradient(circle at 70% 40%, #000 25%, transparent 70%); mask: radial-gradient(circle at 70% 40%, #000 25%, transparent 70%); }
.kb-collage figure { margin: 0; position: relative; z-index: 1; }
.kb-collage img { width: 100%; display: block; object-fit: cover; border-radius: 16px; box-shadow: var(--kb-shadow); }
.kb-collage .kb-c1 { margin-top: 3rem; } .kb-collage .kb-c1 img { aspect-ratio: 3 / 4; object-position: 22% 50%; }
.kb-collage .kb-c2 img { aspect-ratio: 4 / 5; object-position: 40% 50%; }
.kb-years { background: var(--kb-navy); color: #fff; border-radius: 14px; padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; position: relative; z-index: 1; }
.kb-years b { font-size: 2rem; font-weight: 600; line-height: 1; }
.kb-years span { font-size: .85rem; color: #C9CDDA; line-height: 1.35; }
.kb-about-text h2 { font-size: var(--k-fs-h2); margin: 0 0 1rem; }
.kb-about-text > p { color: var(--kb-slate); }
.kb-ticks { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.kb-ticks li { position: relative; padding-left: 2rem; font-size: 1.05rem; font-weight: 500; color: var(--kb-navy); }
.kb-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M2 9l5 5L18 2' fill='none' stroke='%23F6C12F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.kb-ticks small { display: block; font-weight: 350; font-size: .85rem; color: var(--kb-slate); }
@media (max-width: 991.98px) { .kb-about { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 575.98px) { .kb-ticks { grid-template-columns: 1fr; } .kb-collage { padding-left: .75rem; } }
.kb-wave { position: absolute; right: 0; bottom: -60px; width: 340px; height: 150px; z-index: 0; pointer-events: none; opacity: .9; }

/* two ways to belong: plan cards */
.kb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; max-width: 900px; margin: 0 auto; }
.kb-plan { background: #fff; border: 1px solid var(--kb-rule); border-radius: 16px; padding: 2rem; box-shadow: var(--kb-shadow); display: flex; flex-direction: column; gap: .9rem; position: relative; overflow: hidden; }
.kb-plan-feature { border: 1.5px solid #9CD3C3; box-shadow: var(--kb-shadow-lg); }
.kb-plan-tag { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--kb-forest); color: #fff; font-size: .78rem; padding: .25rem .7rem; border-radius: 6px; }
.kb-plan h3 { font-size: 1.35rem; margin: 0; }
.kb-price { font-size: 2.6rem; font-weight: 600; color: var(--kb-forest); line-height: 1; margin: 0; }
.kb-price span { font-size: .95rem; color: var(--kb-slate); font-weight: 350; }
.kb-plan ul { list-style: none; padding: 1rem 0 0; margin: 0; display: grid; gap: .6rem; border-top: 1px solid var(--kb-rule); }
.kb-plan li { padding-left: 1.7rem; position: relative; }
.kb-plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 13px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M2 9l5 5L18 2' fill='none' stroke='%23075E4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.kb-plan .btn { margin-top: auto; width: 100%; }
.kb-plans-note { text-align: center; margin: 1.75rem 0 0; }
@media (max-width: 767.98px) { .kb-plans { grid-template-columns: 1fr; } }

/* if someone has died: the dark green contact box */
.kb-died { background: var(--kb-forest); color: #fff; border-radius: 18px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem 3.5rem; position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--kb-shadow-lg); }
.kb-died::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.05); }
.kb-died h2 { color: #fff !important; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 1rem; }
.kb-died p { color: #D6ECE6; }
.kb-died a:not(.hb-email) { color: #fff; }
.kb-died .hb-email { background: #fff; color: var(--kb-navy) !important; border-left: 6px solid var(--kb-sun); border-radius: 12px; font-family: var(--kb-font); font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 1.75rem); }
.kb-died .hb-email span { font-weight: 500; }
.kb-died .hb-small { color: #CFE7E0; }
.kb-died .hb-steps li::before { color: var(--kb-sun); font-family: var(--kb-font); font-weight: 600; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid rgba(246,193,47,.6); display: grid; place-items: center; font-size: 1.1rem; }
.kb-died .hb-steps h3 { color: #fff !important; font-family: var(--kb-font) !important; font-weight: 600; font-size: 1.08rem; }
.kb-died .hb-steps p { color: #D6ECE6; }
@media (max-width: 991.98px) { .kb-died { grid-template-columns: 1fr; } }

/* coming up: event cards in the style of course cards */
.kb-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.75rem; margin: -1.25rem 0 2.25rem; padding: 0; list-style: none; }
.kb-tabs a { color: var(--kb-slate); text-decoration: none; font-weight: 500; padding: .3rem 0; }
.kb-tabs a:hover, .kb-tabs a[aria-current] { color: var(--kb-navy); text-decoration: underline; text-decoration-color: var(--kb-forest); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kb-events.h-upcoming { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1.5rem; }
.kb-events li { background: #fff !important; border: 1px solid var(--kb-rule) !important; border-radius: 14px !important; box-shadow: var(--kb-shadow) !important; overflow: hidden; display: flex !important; flex-direction: column; padding: 0 !important; transition: transform .2s, box-shadow .2s; }
.kb-events li:hover { transform: translateY(-4px); box-shadow: var(--kb-shadow-lg) !important; }
.kb-events .h-dateblock { margin: 0; padding: 1.3rem 1.25rem 1.1rem !important; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff !important; position: relative; isolation: isolate;
    background: linear-gradient(135deg, var(--kb-forest), var(--kb-emerald)) !important; border: 0 !important; }
.kb-events .h-dateblock::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--kb-dots) 0 0 / 16px 16px; -webkit-mask: linear-gradient(90deg, transparent 40%, #000); mask: linear-gradient(90deg, transparent 40%, #000); }
.kb-events .h-dd { font-size: 2.6rem !important; font-weight: 600 !important; line-height: 1 !important; color: #fff !important; font-family: var(--kb-font) !important; }
.kb-events .h-dd-word { font-size: 1.8rem !important; }
.kb-events .h-mm { color: var(--kb-sun) !important; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.kb-events li:nth-child(4n+2) .h-dateblock { background: linear-gradient(135deg, #0A4F72, #2A86B8) !important; }
.kb-events li:nth-child(4n+3) .h-dateblock { background: linear-gradient(135deg, #6B3A12, #C27A22) !important; }
.kb-events li:nth-child(4n+4) .h-dateblock { background: linear-gradient(135deg, #4C2A7A, #7E54B8) !important; }
.kb-events .h-up-text { padding: 1.1rem 1.25rem 0; flex: 1; }
.kb-events h3 { font-size: 1.12rem !important; margin: 0 0 .5rem; line-height: 1.35; }
.kb-events .h-up-text p { margin: 0 0 .25rem; font-size: .9rem; color: var(--kb-slate); }
.kb-events .btn { margin: 1rem 1.25rem 1.25rem; background: var(--kb-forest) !important; border-color: var(--kb-forest) !important; color: #fff !important; }
.kb-events .btn:hover { background: var(--kb-pine) !important; }
.kb-events .btn::after { content: " \2192"; }
.kb-events .h-up-empty { padding: 1.5rem !important; display: block !important; }

/* contact strip: email | or | members area */
.kb-strip { background: var(--kb-forest); color: #fff; border-radius: 16px; padding: 2rem clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
    box-shadow: var(--kb-shadow-lg); position: relative; overflow: hidden; isolation: isolate; max-width: 960px; margin: 0 auto; }
.kb-strip::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -80px; width: 260px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.05); }
.kb-strip small { display: flex; align-items: center; gap: .45rem; color: #CFE7E0; font-size: .875rem; margin-bottom: .35rem; }
.kb-strip small svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.kb-strip a { color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 500; text-decoration: none; }
.kb-strip a:hover { color: var(--kb-sun); text-decoration: underline; }
.kb-or { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: 1.15rem; color: #fff; }
.kb-or::before, .kb-or::after { content: ""; width: 2px; height: 22px; background: rgba(255,255,255,.7); }
.kb-strip > div:last-child { justify-self: end; }
@media (max-width: 767.98px) { .kb-strip { grid-template-columns: 1fr; text-align: left; } .kb-or { flex-direction: row; } .kb-or::before, .kb-or::after { width: 40px; height: 2px; } .kb-strip > div:last-child { justify-self: start; } }

/* testimonial-style chairperson card */
.kb-quote-card { position: relative; max-width: 900px; margin: 0 auto; }
.kb-quote-card::before, .kb-quote-card::after { content: ""; position: absolute; inset: 0; background: #fff; border: 1px solid var(--kb-rule); border-radius: 18px; z-index: 0; }
.kb-quote-card::before { transform: translate(18px, 14px) rotate(1.2deg); opacity: .8; }
.kb-quote-card::after { transform: translate(9px, 7px) rotate(.6deg); }
.kb-quote-in { position: relative; z-index: 1; background: #fff; border: 1px solid var(--kb-rule); border-radius: 18px; box-shadow: var(--kb-shadow); padding: 1rem; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center; }
.kb-quote-in img { width: 100%; display: block; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.kb-quote-body { padding: 1rem 1.5rem 1rem 0; }
.kb-quote-mark { font-size: 3.4rem; line-height: .6; color: var(--kb-navy); font-weight: 700; display: block; margin-bottom: .8rem; }
.kb-quote-body blockquote { margin: 0; }
.kb-quote-body blockquote p { font-size: 1.1rem; line-height: 1.7; color: var(--kb-navy); margin: 0; }
.kb-quote-body .hb-by { font-size: 1.15rem; font-weight: 600; margin: 1.2rem 0 .1rem; }
.kb-quote-body .kb-role { font-size: .85rem; color: var(--kb-slate); margin: 0 0 1rem; }
.kb-quote-body details { margin-top: .5rem; }
.kb-quote-body summary { color: var(--kb-forest); font-weight: 600; cursor: pointer; }
.kb-quote-body details p { color: var(--kb-slate); }
@media (max-width: 767.98px) { .kb-quote-in { grid-template-columns: 1fr; } .kb-quote-body { padding: 0 .5rem .75rem; } .kb-quote-in img { max-height: 340px; } }

/* committee: team cards */
.kb-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.kb-team li { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--kb-shadow); border: 1px solid var(--kb-rule); display: flex; flex-direction: column; }
.kb-team .kb-who { text-align: center; padding: 1.2rem 1rem 1rem; }
.kb-team .kb-who b { display: block; font-weight: 600; font-size: 1.1rem; color: var(--kb-navy); }
.kb-team .kb-who span { font-size: .82rem; color: var(--kb-slate); }
.kb-team .kb-face { background: var(--kb-forest); aspect-ratio: 1 / 1.05; display: grid; place-items: end center; margin: 0 .75rem .75rem; border-radius: 12px; overflow: hidden; position: relative; isolation: isolate; }
.kb-team .kb-face::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kb-dots) 0 0 / 18px 18px; -webkit-mask: linear-gradient(transparent 30%, #000); mask: linear-gradient(transparent 30%, #000); }
.kb-team .kb-face img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.kb-team .kb-initials { width: 100%; height: 100%; display: grid; place-items: center; color: var(--kb-sun); font-size: 3.4rem; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 991.98px) { .kb-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }

/* news: blog cards */
.kb-blog.hb-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.kb-blog .u-news-card { background: #fff !important; border: 1px solid var(--kb-rule) !important; border-radius: 16px !important; padding: 1rem !important; box-shadow: var(--kb-shadow) !important; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.kb-blog .u-news-card:hover { border-color: #9CD3C3 !important; box-shadow: var(--kb-shadow-lg) !important; }
.kb-blog .kb-news-pic { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 1.1rem; background: linear-gradient(135deg, var(--kb-forest), var(--kb-emerald)); display: grid; place-items: center; isolation: isolate; }
.kb-blog .kb-news-pic::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--kb-dots) 0 0 / 18px 18px; }
.kb-blog .kb-news-pic img { width: 100%; height: 100% !important; object-fit: cover; display: block; aspect-ratio: auto !important; }
.kb-blog .kb-news-pic .kb-news-logo { width: 74px !important; height: 74px !important; opacity: .95; background: #fff; border-radius: 50%; padding: 6px; }
.kb-blog .kb-news-tag { position: absolute; top: .8rem; left: .8rem; background: var(--kb-forest); color: #fff; font-size: .78rem; padding: .2rem .65rem; border-radius: 4px; z-index: 1; }
.kb-blog .u-news-card > div:last-child { padding: 0 .35rem .35rem !important; display: flex; flex-direction: column; flex: 1; }
.kb-blog .u-news-when { display: flex; align-items: center; gap: .4rem; font-size: .82rem !important; color: var(--kb-slate) !important; }
.kb-blog .u-news-when::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075E4B' stroke-width='2'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat center / contain; }
.kb-blog h3 { font-size: 1.12rem !important; line-height: 1.4; margin: .5rem 0 .5rem !important; }
.kb-blog .u-news-card p:not(.u-news-when) { font-size: .9rem; color: var(--kb-slate); margin: 0 0 .75rem; }
.kb-blog .u-news-card a { margin-top: auto; font-weight: 500; font-size: .92rem; color: var(--kb-slate); text-decoration: none; }
.kb-blog .u-news-card a::after { content: " \2192"; }
.kb-blog .u-news-card:hover a { color: var(--kb-forest); }
@media (max-width: 991.98px) { .kb-blog.hb-news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .kb-blog.hb-news { grid-template-columns: 1fr; } }
.kb-notices { margin-top: 2.5rem; background: #fff; border: 1px solid var(--kb-rule); border-radius: 16px; padding: 1.5rem 1.75rem; box-shadow: var(--kb-shadow); }
.kb-notices h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.kb-notices .hb-notices { columns: 2; column-gap: 2.5rem; }
.kb-notices .hb-notices li { break-inside: avoid; padding: .6rem 0 .6rem 1.2rem; border-top: 1px solid var(--kb-rule); position: relative; font-size: .95rem; }
.kb-notices .hb-notices li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--kb-sun); }
@media (max-width: 767.98px) { .kb-notices .hb-notices { columns: 1; } }

/* photos */
.kb-gallery.hb-gallery img { border-radius: 14px; box-shadow: var(--kb-shadow); }
.kb-gallery .tile figcaption { font-size: .85rem; color: var(--kb-slate); margin-top: .5rem; }

/* newsletter */
.kb-news-box { background: #fff; border: 1px solid var(--kb-rule); border-radius: 18px; box-shadow: var(--kb-shadow); padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 3rem; align-items: center; position: relative; overflow: hidden; }
.kb-news-box::before { content: ""; position: absolute; left: -50px; bottom: -70px; width: 200px; aspect-ratio: 1; border-radius: 50%; background: var(--kb-sun-soft); }
.kb-news-box > * { position: relative; }
.kb-news-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .5rem; }
.kb-news-box .hb-btn-ink { background: var(--kb-forest) !important; border-color: var(--kb-forest) !important; color: #fff !important; }
@media (max-width: 991.98px) { .kb-news-box { grid-template-columns: 1fr; } }

/* decorative squiggles (aria-hidden SVGs) */
.kb-deco { position: absolute; pointer-events: none; z-index: 0; }
.kb-confetti { right: 8%; top: 40px; width: 110px; }
@media (max-width: 991.98px) { .kb-deco { display: none; } }

/* =========================================================
   7. Members area and committee area
   ========================================================= */
body.app, body.auth { background: var(--kb-mint-2); }
body.app .app-main h1, body.app .view > h1, body.app .pg-head h1 { font-family: var(--kb-font) !important; font-weight: 600 !important; letter-spacing: -.015em !important; color: var(--kb-navy); }
body.app h2, body.app h3, body.app h4 { font-family: var(--kb-font) !important; }
@media (min-width: 992px) {
    body.app .side { background: var(--kb-forest) !important; min-height: 100vh; }
    body.app .side::before { background: var(--kb-sun) !important; height: 4px !important; }
    body.app .side::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; pointer-events: none;
        background: var(--kb-dots) 0 0 / 18px 18px; -webkit-mask: linear-gradient(transparent, #000); mask: linear-gradient(transparent, #000); opacity: .6; }
    .side-brand { background: var(--kb-forest) !important; top: 4px !important; }
    .side-brand strong { font-family: var(--kb-font) !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
    body.app .side .side-label { color: #A8D3C7 !important; font-weight: 500 !important; letter-spacing: .08em !important; }
    body.app .side button, body.app .side .side-link { color: #EAF4F1 !important; border-radius: 8px !important; font-weight: 400; }
    body.app .side button:hover, body.app .side .side-link:hover { background: rgba(255, 255, 255, .09) !important; }
    body.app .side button.on { background: #fff !important; color: var(--kb-forest) !important; box-shadow: inset 4px 0 0 var(--kb-sun) !important; font-weight: 600; }
    body.app .side button.on svg { color: var(--kb-forest) !important; }
    body.app .side .count { background: var(--kb-sun) !important; color: var(--kb-navy) !important; }
    .side-help { background: rgba(0, 0, 0, .16) !important; border-radius: 12px !important; }
    .side-me .ui-av { background: var(--kb-sun) !important; color: var(--kb-navy) !important; }
}
.app-top { background: #fff; box-shadow: 0 4px 18px rgba(28, 32, 49, .05) !important; }
@media (max-width: 991.98px) {
    .app-top, .pt-head { background: var(--kb-forest) !important; }
    .app-top::before, .pt-head::before { background: var(--kb-sun) !important; height: 3px !important; }
}
.drawer { border-top-color: var(--kb-sun) !important; }

/* cards and panels: white, 14px, soft shadow */
body.app .panel, body.app .card, .home-steps, .glance-card, .svc-dir-grid, .td-inbox, .td-cal, .ui-table-box, .cm-section, .wa-card, .ht, .sd, .ov-card {
    border-radius: 14px !important; box-shadow: var(--kb-shadow) !important; }
body.app .panel, body.app .card, .ht, .glance-card:not(.fee-card), .wa-card, .ov-card { border: 1px solid var(--kb-rule) !important; }
.ht { transition: transform .2s, box-shadow .2s; }
.ht:hover { transform: translateY(-3px); box-shadow: var(--kb-shadow-lg) !important; }
.ht .ht-ic { background: var(--kb-mint) !important; color: var(--kb-forest) !important; border-radius: 12px !important; }
.ht:nth-of-type(2) .ht-ic { background: var(--kb-sun-soft) !important; color: #7A5A00 !important; }
.ht:nth-of-type(3) .ht-ic { background: #ECF3FD !important; color: #2A6CC4 !important; }
.ht:nth-of-type(4) .ht-ic { background: #EEF9EF !important; color: #26873A !important; }
.ht:nth-of-type(5) .ht-ic { background: #F5EEFC !important; color: #7A3EBE !important; }
.ht:nth-of-type(6) .ht-ic { background: #FDF0F6 !important; color: #C02E79 !important; }

/* the membership card: forest green, dots, a yellow edge */
.home-card { background: radial-gradient(ellipse at 85% 20%, var(--kb-emerald), var(--kb-forest) 60%) !important; border-radius: 16px !important; box-shadow: var(--kb-shadow-lg) !important; position: relative; overflow: hidden; }
.home-card::before { background: var(--kb-sun) !important; height: 6px !important; }
.home-card::after { content: "" !important; position: absolute; right: -90px; top: -110px; width: 220px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
    background: repeating-linear-gradient(-45deg, rgba(246, 193, 47, .55) 0 6px, transparent 6px 20px);
    -webkit-mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); }
.home-card .hc-name { font-family: var(--kb-font) !important; font-weight: 600 !important; }

/* fees card and fund balance */
.fee-card, .td-fund { background: radial-gradient(ellipse at 85% 10%, var(--kb-emerald), var(--kb-forest) 65%) !important; border-radius: 16px !important; box-shadow: var(--kb-shadow-lg) !important; }
.td-fund::before, .mc-stripe { background: var(--kb-sun) !important; }

/* buttons in the app use the green, the one main action is yellow */
body.app .btn-outline-ink { border-radius: 6px !important; }
.ui-seg button[aria-pressed="true"], .ui-seg .on { background: var(--kb-forest) !important; border-color: var(--kb-forest) !important; }
.ui-table th { border-bottom: 2px solid var(--kb-forest) !important; color: var(--kb-slate); font-weight: 500; }
.ui-table tbody tr:hover { background: var(--kb-mint-2); }
.ui-tabs [aria-selected="true"], .tabs .on { color: var(--kb-forest) !important; border-color: var(--kb-forest) !important; }
.badge, .pill, .st { border-radius: 999px !important; }

/* sign-in pages */
body.auth .auth-card, .auth .card { border-radius: 16px !important; box-shadow: var(--kb-shadow-lg) !important; border: 1px solid var(--kb-rule) !important; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .kb-topbar, .kb-cta, .kb-deco { display: none !important; } }

/* ---------- fixes over older stylesheets (home page and footer) ---------- */
.kb-events .h-dateblock { width: auto !important; align-self: stretch; text-align: left !important; border-radius: 0 !important; }
.kb-events .h-dd, .kb-events .h-mm { display: block; }
.kb-home .u-welcome { background: #fff !important; }
.kb-notices .hb-notices { columns: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
.kb-notices .hb-notices li { display: block !important; width: auto !important; max-width: none !important; }
@media (max-width: 767.98px) { .kb-notices .hb-notices { grid-template-columns: 1fr; } }
.kb-blog .kb-news-pic > img:not(.kb-news-logo) { position: absolute; inset: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.kb-gallery .tile figcaption { color: #fff !important; background: rgba(5, 40, 32, .78) !important; border-radius: 6px; }
.kb-footer .footer-links li, .kb-footer .kb-contact-list li { margin: 0 !important; padding: 0 !important; line-height: 1.5; border: 0 !important; }
.kb-footer .footer-links li::before { content: none !important; }
.kb-footer .footer-ack { padding-left: 0 !important; background: none !important; color: var(--kb-slate) !important; }
.kb-footer .ack-label { display: inline !important; color: var(--kb-forest) !important; font-size: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
.kb-foot-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.kb-foot-legal { gap: .3rem .6rem !important; }
.kb-cta-art { padding-top: 2.5rem; }

/* phones: keep the floating cards clear of the Listen button, hide the photo caption */
@media (max-width: 991.98px) {
    .kb-hero-photo figcaption { display: none; }
    .kb-float-b { right: auto; left: 0; top: 2%; }
    .kb-float-a { left: auto; right: 0; bottom: 4%; }
}
/* sign-in pages: the green panel gets the dots and the striped ring */
.auth-intro { position: relative; overflow: hidden; isolation: isolate; background: var(--kb-forest) !important; }
.auth-intro::before { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -120px; width: 360px; aspect-ratio: 1; border-radius: 50%;
    background: repeating-linear-gradient(-45deg, var(--kb-sun) 0 7px, transparent 7px 24px);
    -webkit-mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); mask: radial-gradient(circle, transparent 0 58%, #000 58.5%); opacity: .8; }
.auth-intro::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 220px; height: 220px; background: var(--kb-dots) 0 0 / 20px 20px; }
/* phones: the striped circle would sit behind the banner text */
@media (max-width: 767.98px) { .page-hero::after { opacity: .18; } }
