/* ==========================================================================
   COMMUNITY FOOD RESOURCE NETWORK - Caledonia, NS
   --------------------------------------------------------------------------
   Design direction: "Harvest Table"
     - Warm cream ground, deep spruce-forest green, harvest-red accents
     - Muriel's Closet gets its own plum sub-brand colour
     - Bricolage Grotesque (display) + Instrument Sans (body) + Caveat (hand)
     - Bento-collage page headers instead of full-width hero banners
     - Content floats up into view as you scroll (see js/main.js)

   Contents
     1.  Tokens (light / dark)
     2.  Base & typography
     3.  Buttons, chips, helpers
     4.  Top bar & sticky header
     5.  Home header (bento collage)
     6.  Marquee band
     7.  Sections, section heads
     8.  Two-doors feature cards
     9.  Stats / impact
     10. Steps
     11. Gallery & lightbox
     12. Program cards
     13. Event feature
     14. Help bento
     15. Visit / map
     16. Inner page header
     17. Food bank page bits
     18. Closet page bits
     19. Get involved page bits
     20. Contact page & forms
     21. Pre-footer & footer
     22. Scroll reveal & motion
     23. Responsive
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
    --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;

    /* fixed brand colours (same in both themes) */
    --forest:        #1f4b3a;
    --forest-deep:   #163a2c;
    --forest-ink:    #0f2a20;
    --leaf:          #4f9a5e;
    --leaf-light:    #8cc47a;
    --tomato:        #cf3f35;   /* accent red (formerly orange) */
    --tomato-deep:   #ab2f27;
    --butter:        #f3c14b;
    --apple:         #c9463d;
    --plum:          #7b3b64;
    --plum-deep:     #5e2a4b;
    --cream:         #fbf6ec;

    /* theme-aware surfaces */
    --bg:            #fbf7ef;
    --bg-alt:        #f3ecdf;
    --surface:       #ffffff;
    --surface-2:     #fffaf2;
    --ink:           #17261e;
    --ink-soft:      #4e5d55;
    --ink-faint:     #7f8b84;
    --line:          #e6dccb;
    --line-strong:   #d6c9b2;
    --brand:         #1f4b3a;      /* text / icon accent */
    --brand-contrast:#ffffff;
    --accent:        #cf3f35;
    --accent-ink:    #b3342b;
    --closet:        #7b3b64;
    --sage:          #e3eedb;
    --butter-soft:   #fbeccb;
    --tomato-soft:   #fbe2df;
    --plum-soft:     #f3e4ed;
    --nav-bg:        rgba(251, 247, 239, 0.82);

    --shadow-xs:     0 1px 2px rgba(23, 38, 30, .06);
    --shadow-sm:     0 4px 14px rgba(23, 38, 30, .07);
    --shadow-md:     0 16px 38px -8px rgba(23, 38, 30, .16);
    --shadow-lg:     0 34px 80px -20px rgba(23, 38, 30, .28);

    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 40px;

    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --bs-body-font-family: var(--font-body);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 31, 75, 58;
    --bs-link-hover-color: var(--accent-ink);
    --bs-emphasis-color: var(--ink);
    --bs-secondary-color: var(--ink-soft);
}

[data-bs-theme="dark"] {
    --bg:            #0e1512;
    --bg-alt:        #121c17;
    --surface:       #17221c;
    --surface-2:     #1b2821;
    --ink:           #eef2eb;
    --ink-soft:      #b3c0b7;
    --ink-faint:     #82918a;
    --line:          #25352c;
    --line-strong:   #33473b;
    --brand:         #8fd1a3;
    --brand-contrast:#0e1512;
    --accent:        #ee6a60;
    --accent-ink:    #f4958d;
    --closet:        #d68bb8;
    --sage:          #16261d;
    --butter-soft:   #2a2414;
    --tomato-soft:   #2f1816;
    --plum-soft:     #261823;
    --nav-bg:        rgba(14, 21, 18, 0.8);

    --shadow-xs:     0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm:     0 4px 14px rgba(0, 0, 0, .35);
    --shadow-md:     0 16px 38px -8px rgba(0, 0, 0, .55);
    --shadow-lg:     0 34px 80px -20px rgba(0, 0, 0, .7);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: 143, 209, 163;
    --bs-emphasis-color: var(--ink);
    --bs-secondary-color: var(--ink-soft);
    color-scheme: dark;
}

/* ==========================================================================
   2. Base & typography
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background-color .35s ease, color .35s ease;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p { color: var(--ink-soft); }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--accent-ink); }
img { max-width: 100%; }
::selection { background: var(--butter); color: var(--forest-ink); }

.cf-skip {
    position: absolute; left: 1rem; top: 1rem; z-index: 2000;
    background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}

.cf-hand {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1;
    color: var(--accent);
    display: inline-block;
}

.cf-lede { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--ink-soft); line-height: 1.65; }

.text-brand   { color: var(--brand) !important; }
.text-accent  { color: var(--accent) !important; }
.text-closet  { color: var(--closet) !important; }

/* squiggle underline used on key words */
.cf-underline {
    position: relative;
    white-space: nowrap;
    z-index: 0;
}
.cf-underline::after {
    content: "";
    position: absolute;
    left: -2%; right: -2%; bottom: -0.12em;
    height: .42em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 16 C60 4 110 22 160 12 S250 4 297 13' fill='none' stroke='%23cf3f35' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    z-index: -1;
}

/* ==========================================================================
   3. Buttons, chips, helpers
   ========================================================================== */
.cf-btn {
    --btn-bg: var(--forest);
    --btn-fg: #fff;
    --btn-bd: var(--forest);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform .35s var(--ease-out), box-shadow .35s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.cf-btn i { font-size: .95em; transition: transform .35s var(--ease-out); }
.cf-btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cf-btn:hover .fa-arrow-right { transform: translateX(4px); }
.cf-btn:focus-visible { outline: 3px solid var(--butter); outline-offset: 3px; }

.cf-btn-primary { --btn-bg: var(--forest); --btn-bd: var(--forest); --btn-fg: #fff; }
.cf-btn-primary:hover { --btn-bg: var(--forest-deep); }
[data-bs-theme="dark"] .cf-btn-primary { --btn-bg: #2f7a5b; --btn-bd: #2f7a5b; }
[data-bs-theme="dark"] .cf-btn-primary:hover { --btn-bg: #3a8d69; }

.cf-btn-accent { --btn-bg: var(--tomato); --btn-bd: var(--tomato); --btn-fg: #fff; }
.cf-btn-accent:hover { --btn-bg: var(--tomato-deep); --btn-bd: var(--tomato-deep); }

.cf-btn-closet { --btn-bg: var(--plum); --btn-bd: var(--plum); --btn-fg: #fff; }
.cf-btn-closet:hover { --btn-bg: var(--plum-deep); --btn-bd: var(--plum-deep); }

.cf-btn-outline { --btn-bg: transparent; --btn-bd: var(--line-strong); --btn-fg: var(--ink); }
.cf-btn-outline:hover { --btn-bd: var(--brand); --btn-fg: var(--brand); box-shadow: none; }

.cf-btn-light { --btn-bg: var(--cream); --btn-bd: var(--cream); --btn-fg: var(--forest-ink); }
.cf-btn-light:hover { --btn-bg: #fff; --btn-fg: var(--forest-ink); }

.cf-btn-ghost-light { --btn-bg: transparent; --btn-bd: rgba(255,255,255,.4); --btn-fg: #fff; }
.cf-btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.08); }

.cf-btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.cf-btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }

.cf-link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600; text-decoration: none; color: var(--brand);
}
.cf-link-arrow i { transition: transform .3s var(--ease-out); }
.cf-link-arrow:hover i { transform: translateX(5px); }

.cf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 1rem;
}
.cf-eyebrow::before {
    content: "";
    width: 26px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.cf-eyebrow.is-closet { color: var(--closet); }
.cf-eyebrow.is-light { color: var(--butter); }

.cf-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .42rem .95rem .42rem .5rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}
.cf-chip-dot {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--sage); color: var(--leaf);
    position: relative;
}
.cf-chip-dot::after {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf);
    box-shadow: 0 0 0 0 rgba(79,154,94,.6);
    animation: cfPulse 2.2s 2;   /* stops within 5s (WCAG 2.2.2) */
}

.cf-tag {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .75rem; border-radius: 999px;
    font-size: .8rem; font-weight: 600;
    background: var(--sage); color: var(--brand);
}
.cf-tag.is-closet { background: var(--plum-soft); color: var(--closet); }
.cf-tag.is-accent { background: var(--tomato-soft); color: var(--accent-ink); }

.cf-icon-badge {
    width: 56px; height: 56px;
    border-radius: 18px;
    display: grid; place-items: center;
    font-size: 1.35rem;
    background: var(--sage);
    color: var(--brand);
    flex-shrink: 0;
}
.cf-icon-badge.is-accent { background: var(--tomato-soft); color: var(--accent); }
.cf-icon-badge.is-butter { background: var(--butter-soft); color: #b98a12; }
.cf-icon-badge.is-closet { background: var(--plum-soft); color: var(--closet); }
[data-bs-theme="dark"] .cf-icon-badge.is-butter { color: var(--butter); }

/* ==========================================================================
   4. Top bar & sticky header
   ========================================================================== */
.cf-topbar {
    background: var(--forest-deep);
    color: rgba(255,255,255,.82);
    font-size: .84rem;
    padding: .5rem 0;
}
.cf-topbar-left, .cf-topbar-right { display: flex; align-items: center; gap: 1.5rem; white-space: nowrap; min-width: 0; }
.cf-topbar-left span { overflow: hidden; text-overflow: ellipsis; }
.cf-topbar i { color: var(--butter); margin-right: .45rem; }
.cf-topbar a { color: rgba(255,255,255,.88); text-decoration: none; }
.cf-topbar a:hover { color: #fff; }

.cf-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s ease, border-color .35s ease;
}
/* The frosted-glass layer lives on a pseudo-element: backdrop-filter on the
   header itself would trap the fixed mobile offcanvas menu inside it. */
.cf-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    transition: background-color .35s ease;
}
.cf-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -18px rgba(0,0,0,.25);
}

.cf-navbar { padding: .95rem 0; transition: padding .35s var(--ease-out); }
.cf-header.is-scrolled .cf-navbar { padding: .55rem 0; }

.cf-brand {
    display: inline-flex; align-items: center; gap: .75rem;
    text-decoration: none; color: var(--ink);
    margin-right: 1rem;
}
.cf-brand:hover { color: var(--ink); }
.cf-brand-mark {
    width: 52px; height: 52px;
    transition: transform .6s var(--ease-out), width .35s var(--ease-out), height .35s var(--ease-out);
}
.cf-brand:hover .cf-brand-mark { transform: rotate(-12deg) scale(1.04); }
.cf-header.is-scrolled .cf-brand-mark { width: 44px; height: 44px; }
.cf-brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.cf-brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}
.cf-brand-sub {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: .2rem;
}

.cf-nav { gap: .25rem; }
.cf-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink);
    padding: .55rem 1rem !important;
    border-radius: 999px;
    transition: color .2s ease, background-color .2s ease;
}
.cf-nav .nav-link:hover { color: var(--brand); background: var(--sage); }
.cf-nav .nav-link.active { color: var(--brand); }
.cf-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: .18rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
}

.cf-theme-toggle {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    display: grid; place-items: center;
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ease-out), border-color .2s ease, background-color .3s ease;
}
.cf-theme-toggle:hover { transform: rotate(18deg); border-color: var(--brand); }
.cf-theme-toggle i {
    position: absolute;
    transition: transform .5s var(--ease-out), opacity .3s ease;
}
.cf-icon-sun { opacity: 0; transform: translateY(120%) rotate(-90deg); color: var(--butter); }
.cf-icon-moon { color: var(--forest); }
[data-bs-theme="dark"] .cf-icon-moon { opacity: 0; transform: translateY(-120%) rotate(90deg); }
[data-bs-theme="dark"] .cf-icon-sun { opacity: 1; transform: none; }

.cf-burger {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--forest);
    display: grid; place-content: center; gap: 4px;
}
.cf-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.cf-burger span:nth-child(2) { width: 12px; margin-left: 6px; }

/* ==========================================================================
   5. Home header (bento collage) - not a full-width hero
   ========================================================================== */
.cf-home-head {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    isolation: isolate;
}
.cf-home-head::before {                        /* dotted field */
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(var(--line-strong) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 20%, transparent 70%);
    z-index: -1;
}
.cf-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    z-index: -1;
    pointer-events: none;
}
.cf-blob-1 { width: 460px; height: 460px; background: #cfe6c3; top: 60px; right: 6%; }
.cf-blob-2 { width: 380px; height: 380px; background: #fbe0b2; bottom: 40px; left: -140px; }
[data-bs-theme="dark"] .cf-blob { opacity: .14; }

.cf-home-title {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.0;
    margin: 1.4rem 0 1.4rem;
}
.cf-home-title .is-italic {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    color: var(--brand);
}

.cf-home-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 2.2rem; }

.cf-mini-proof {
    display: flex; flex-wrap: wrap; gap: 1.4rem 2rem;
    padding-top: 1.6rem;
    border-top: 1px dashed var(--line-strong);
}
.cf-mini-proof div { display: flex; align-items: center; gap: .7rem; }
.cf-mini-proof i {
    width: 38px; height: 38px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--accent);
}
.cf-mini-proof strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; color: var(--ink); }
.cf-mini-proof span { font-size: .85rem; color: var(--ink-faint); line-height: 1.2; }

/* the collage */
.cf-bento {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, minmax(52px, 1fr));
    gap: 14px;
    height: clamp(460px, 48vw, 620px);
}
.cf-tile {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--surface);
}
.cf-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}
.cf-tile:hover img { transform: scale(1.06); }

.cf-tile-a { grid-column: 1 / 5; grid-row: 1 / 5; border-top-left-radius: 120px; }
.cf-tile-b { grid-column: 5 / 7; grid-row: 1 / 4; background: #fde9bf; }
.cf-tile-b img { object-fit: contain; padding: 8px; }
.cf-tile-c { grid-column: 5 / 7; grid-row: 4 / 7; }
.cf-tile-d { grid-column: 1 / 3; grid-row: 5 / 7; background: var(--forest); color: #fff; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; justify-content: flex-end; }
.cf-tile-e { grid-column: 3 / 5; grid-row: 5 / 7; border-bottom-right-radius: 90px; }

.cf-tile-label {
    position: absolute;
    left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .42rem .85rem;
    border-radius: 999px;
    font-size: .8rem; font-weight: 600;
    color: var(--forest-ink);
    background: rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.cf-tile-label i { color: var(--accent); }
.cf-tile-label.is-closet i { color: var(--plum); }

.cf-tile-d .cf-stat-big {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1;
    color: var(--butter);
    letter-spacing: -0.03em;
}
.cf-tile-d p { color: rgba(255,255,255,.82); font-size: .88rem; line-height: 1.35; margin: .35rem 0 0; }
.cf-tile-d .cf-tile-d-icon {
    position: absolute; top: 1rem; right: 1rem;
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.1); color: var(--butter);
}

/* rotating badge */
.cf-rotor {
    position: absolute;
    left: -40px; top: 38%;
    width: 132px; height: 132px;
    z-index: 3;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: var(--shadow-md);
    display: grid; place-items: center;
}
[data-bs-theme="dark"] .cf-rotor { background: var(--surface-2); }
.cf-rotor svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: cfSpin 22s linear infinite; }
.cf-rotor text { font-family: var(--font-body); font-size: 11.2px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; fill: var(--brand); }
.cf-rotor img { width: 58px; height: 58px; }

/* floating note card */
.cf-float-note {
    position: absolute;
    right: -18px; top: -22px;
    z-index: 3;
    display: flex; align-items: center; gap: .8rem;
    padding: .8rem 1.1rem .8rem .8rem;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-width: 250px;
    animation: cfBob 6s ease-in-out infinite;
}
.cf-float-note .cf-icon-badge { width: 44px; height: 44px; border-radius: 14px; font-size: 1.05rem; }
.cf-float-note-text strong { display: block; font-size: .92rem; line-height: 1.2; color: var(--ink); }
.cf-float-note-text span { font-size: .8rem; color: var(--ink-faint); line-height: 1.25; display: block; }

.cf-hand-note {
    position: absolute;
    left: 6%; bottom: -54px;
    z-index: 3;
    display: flex; align-items: flex-end; gap: .3rem;
    transform: rotate(-4deg);
}
.cf-hand-note svg { width: 54px; height: 44px; color: var(--accent); }

/* ==========================================================================
   6. Village garden band (replaces the old scrolling strip)
   --------------------------------------------------------------------------
   Eight flowers - one for each thing the CFRN offers - grow out of a planter
   when the band scrolls into view: stems draw, leaves unfurl, blooms pop open.
   Afterwards they sway in the breeze and butterflies drift across.
   JS (main.js) adds .is-grown, then .is-settled once the show is over.
   ========================================================================== */
.cf-grow {
    position: relative;
    padding: .5rem 0 4.75rem;
    overflow: hidden;
}
.cf-grow-title { text-align: center; margin: 0 0 .25rem; line-height: 1; }
.cf-grow-title .cf-hand { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--brand); }
.cf-grow-bed { position: relative; }

.cf-grow-row {
    list-style: none;
    margin: 0;
    padding: 0 2%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 250px;
}
.cf-plant { --s: 1; position: relative; flex: 1 1 0; display: flex; justify-content: center; align-items: flex-end; height: 100%; }
.cf-plant > a {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.cf-plant-sway {
    display: flex; flex-direction: column; align-items: center;
    transform-origin: 50% 100%;
    animation: cfSway var(--sway, 5s) ease-in-out calc(var(--i) * -0.8s) infinite alternate;
}
.cf-plant > a:hover .cf-plant-sway,
.cf-plant > a:focus-visible .cf-plant-sway { animation-play-state: paused; }

/* bloom */
.cf-plant.is-red    { --petal: var(--tomato); }
.cf-plant.is-butter { --petal: var(--butter); }
.cf-plant.is-plum   { --petal: var(--plum); }
.cf-flower {
    position: relative;
    z-index: 2;
    width: calc(78px * var(--s));
    height: calc(78px * var(--s));
    margin-bottom: calc(-10px * var(--s));
    transition: transform .9s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i) * 110ms + 700ms);
}
.cf-flower svg {
    width: 100%; height: 100%; display: block; overflow: visible;
    fill: var(--petal);
    filter: drop-shadow(0 6px 10px rgba(23, 38, 30, .16));
    transition: transform .7s var(--ease-out);
}
.cf-flower-core { fill: #fffaf2; stroke: rgba(23, 38, 30, .08); stroke-width: 2; }
[data-bs-theme="dark"] .cf-flower-core { fill: #fff6e6; }
.cf-flower i {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: calc(1.05rem * var(--s));
    color: #1f4b3a;
}

/* stem & leaves */
.cf-stem {
    display: block;
    overflow: visible;
    width: calc(60px * var(--s));
    height: calc(var(--h) * 1px * var(--s));
}
.cf-stem-line {
    fill: none;
    stroke: var(--leaf);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s var(--ease-out);
    transition-delay: calc(var(--i) * 110ms);
}
.cf-leaf {
    fill: var(--leaf-light);
    transform-box: fill-box;
    transition: transform .7s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i) * 110ms + 420ms);
}
.cf-leaf-l { transform-origin: 100% 100%; }
.cf-leaf-r { transform-origin: 0% 100%; fill: #6fb566; }

/* label under the planter */
.cf-plant-label {
    position: absolute;
    top: calc(100% + 40px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: opacity .6s ease, transform .6s var(--ease-out), color .2s ease;
    transition-delay: calc(var(--i) * 110ms + 900ms);
}

/* planter bed */
.cf-grow-soil {
    position: relative;
    height: 28px;
    margin-top: -3px;
    border-radius: 10px 10px 16px 16px;
    background: linear-gradient(180deg, #5a3c24 0 38%, #8a5a31 38% 100%);
    box-shadow: 0 14px 26px -14px rgba(23, 38, 30, .45);
}
.cf-grow-soil::after {
    content: "";
    position: absolute; left: 12px; right: 12px; bottom: 7px;
    height: 2px; border-radius: 2px;
    background: rgba(255, 255, 255, .14);
}

/* before the band is seen: nothing has sprouted yet */
.cf-js .cf-grow:not(.is-grown) .cf-stem-line { stroke-dashoffset: 1; }
.cf-js .cf-grow:not(.is-grown) .cf-leaf { transform: scale(0); }
.cf-js .cf-grow:not(.is-grown) .cf-flower { transform: scale(0) rotate(-140deg); }
.cf-js .cf-grow:not(.is-grown) .cf-plant-label { opacity: 0; transform: translate(-50%, 10px); }

/* after the show: hover a bloom to give it a spin */
.cf-grow.is-settled .cf-stem-line,
.cf-grow.is-settled .cf-leaf,
.cf-grow.is-settled .cf-flower,
.cf-grow.is-settled .cf-plant-label { transition-delay: 0s; }
.cf-grow.is-settled .cf-plant > a:hover .cf-flower,
.cf-grow.is-settled .cf-plant > a:focus-visible .cf-flower { transform: scale(1.12); }
.cf-grow.is-settled .cf-plant > a:hover .cf-flower svg,
.cf-grow.is-settled .cf-plant > a:focus-visible .cf-flower svg { transform: rotate(67.5deg); }
.cf-plant > a:hover .cf-plant-label,
.cf-plant > a:focus-visible .cf-plant-label { color: var(--accent-ink); }
.cf-plant > a:focus-visible { outline: none; }
.cf-plant > a:focus-visible .cf-flower { outline: 3px solid var(--butter); outline-offset: 4px; border-radius: 50%; }

/* butterflies */
.cf-butterfly {
    position: absolute;
    left: 0;
    top: var(--top, 30%);
    z-index: 3;
    width: 34px; height: 30px;
    pointer-events: none;
    animation: cfFly var(--dur, 26s) linear var(--delay, 0s) infinite;
}
.cf-butterfly.is-small { width: 24px; height: 22px; }
.cf-butterfly-bob { display: block; width: 100%; height: 100%; animation: cfFlutter 3.4s ease-in-out infinite; }
.cf-butterfly svg { width: 100%; height: 100%; display: block; overflow: visible; transform: rotate(78deg); }
.cf-wing { transform-box: fill-box; animation: cfFlap .2s ease-in-out infinite alternate; }
.cf-wing-l { transform-origin: 100% 50%; }
.cf-wing-r { transform-origin: 0% 50%; }

@keyframes cfSway {
    from { transform: rotate(-2.2deg); }
    to   { transform: rotate(2.2deg); }
}
@keyframes cfFly {
    from { transform: translateX(-90px); }
    to   { transform: translateX(calc(100vw + 90px)); }
}
@keyframes cfFlutter {
    0%, 100% { transform: translateY(0); }
    25%      { transform: translateY(-26px); }
    50%      { transform: translateY(8px); }
    75%      { transform: translateY(-14px); }
}
@keyframes cfFlap {
    to { transform: scaleX(.28); }
}

/* ==========================================================================
   7. Sections
   ========================================================================== */
.cf-section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.cf-section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.cf-section-alt { background: var(--bg-alt); }
.cf-section-forest { background: var(--forest); color: #fff; }
[data-bs-theme="dark"] .cf-section-forest { background: #10281f; }
.cf-section-forest h2, .cf-section-forest h3 { color: #fff; }
.cf-section-forest p { color: rgba(255,255,255,.78); }

.cf-section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.cf-section-head.text-center { margin-left: auto; margin-right: auto; }
.cf-section-head.text-center .cf-eyebrow { justify-content: center; }
.cf-section-title {
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.cf-section-title em { font-style: italic; font-weight: 400; color: var(--brand); }
.nowrap { white-space: nowrap; }
.cf-section-forest .cf-section-title em { color: var(--butter); }

.cf-wave-top, .cf-wave-bottom { position: absolute; left: 0; right: 0; height: 60px; line-height: 0; pointer-events: none; }
.cf-wave-top { top: -1px; }
.cf-wave-bottom { bottom: -1px; }
.cf-wave-top svg, .cf-wave-bottom svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   8. Two-doors feature cards
   ========================================================================== */
.cf-door {
    position: relative;
    height: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem);
    color: #fff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    min-height: 620px;
    box-shadow: var(--shadow-lg);
    transition: transform .6s var(--ease-out);
}
.cf-door:hover { transform: translateY(-6px); }
.cf-door-food { background: linear-gradient(160deg, #235441 0%, #163a2c 100%); }
.cf-door-closet { background: linear-gradient(160deg, #8a4572 0%, #5a2848 100%); }
.cf-door::before {                                 /* soft pattern */
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
    z-index: -1;
}
.cf-door h3 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; margin: .6rem 0 .9rem; }
.cf-door p { color: rgba(255,255,255,.82); max-width: 460px; }
.cf-door-kicker {
    display: inline-flex; align-items: center; gap: .5rem;
    align-self: flex-start;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--butter);
}
.cf-door-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .55rem; }
.cf-door-list li { display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.92); font-weight: 500; }
.cf-door-list i {
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; font-size: .72rem;
    background: rgba(255,255,255,.14); color: var(--butter);
}
.cf-door-art {
    margin-top: auto;
    position: relative;
    height: 250px;
}
.cf-door-art .cf-door-illus {
    position: absolute;
    right: -30px; bottom: -40px;
    width: 58%;
    border-radius: var(--r-lg);
    transform: rotate(4deg);
    box-shadow: var(--shadow-lg);
    transition: transform .8s var(--ease-out);
}
.cf-door:hover .cf-door-illus { transform: rotate(0deg) translateY(-8px); }
.cf-door-art .cf-door-photo {
    position: absolute;
    left: 0; bottom: 0;
    width: 50%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
    border: 6px solid rgba(255,255,255,.95);
    transform: rotate(-5deg);
    box-shadow: var(--shadow-lg);
    transition: transform .8s var(--ease-out);
}
.cf-door:hover .cf-door-photo { transform: rotate(-2deg) translateY(-6px); }

.cf-polaroids { position: absolute; inset: 0; }
.cf-polaroids img {
    position: absolute;
    width: min(42%, 220px);
    aspect-ratio: 1;
    object-fit: cover;
    border: 7px solid #fff;
    border-bottom-width: 26px;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
    transition: transform .8s var(--ease-out);
}
.cf-polaroids img:nth-child(1) { left: 0; bottom: -10px; transform: rotate(-8deg); }
.cf-polaroids img:nth-child(2) { left: 50%; margin-left: calc(min(42%, 220px) / -2); bottom: 10px; transform: rotate(3deg); z-index: 2; }
.cf-polaroids img:nth-child(3) { right: 0; bottom: -16px; transform: rotate(10deg); }
.cf-door:hover .cf-polaroids img:nth-child(1) { transform: rotate(-12deg) translate(-8px, -6px); }
.cf-door:hover .cf-polaroids img:nth-child(2) { transform: rotate(0deg) translateY(-14px); }
.cf-door:hover .cf-polaroids img:nth-child(3) { transform: rotate(14deg) translate(8px, -6px); }
.cf-door-art .cf-door-illus { max-width: 330px; }
.cf-door-art .cf-door-photo { max-width: 300px; }

.cf-check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .6rem; }
.cf-check-list li { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 500; }
.cf-check-list i {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-size: .72rem;
    background: var(--sage); color: var(--brand);
}
.cf-check-list.is-closet i { background: var(--plum-soft); color: var(--closet); }
.cf-check-list.is-accent i { background: var(--tomato-soft); color: var(--accent); }

/* ==========================================================================
   9. Stats
   ========================================================================== */
.cf-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.cf-stat {
    padding: 2.2rem 1.8rem;
    position: relative;
}
.cf-stat + .cf-stat::before {
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
    width: 1px; background: var(--line);
}
.cf-stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
}
.cf-stat-num .cf-unit { color: var(--accent); }
.cf-stat h3 { font-size: 1.02rem; margin: .8rem 0 .3rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.cf-stat p { font-size: .9rem; margin: 0; line-height: 1.5; }

/* ==========================================================================
   10. Steps
   ========================================================================== */
.cf-steps { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: step; }
.cf-steps::before {
    content: ""; position: absolute;
    left: 31px; top: 20px; bottom: 20px;
    border-left: 2px dashed var(--line-strong);
}
.cf-step {
    position: relative;
    display: flex; gap: 1.4rem;
    padding: 0 0 2.2rem;
}
.cf-step:last-child { padding-bottom: 0; }
.cf-step-num {
    counter-increment: step;
    width: 64px; height: 64px; flex-shrink: 0;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--surface);
    border: 2px solid var(--line);
    font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
    color: var(--brand);
    position: relative; z-index: 1;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--ease-out);
}
.cf-step-num::before { content: counter(step, decimal-leading-zero); }
.cf-step:hover .cf-step-num { background: var(--forest); color: #fff; border-color: var(--forest); transform: scale(1.06); }
.cf-step h3 { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.cf-step p { margin: 0; }

.cf-illus-frame {
    position: relative;
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--sage);
}
.cf-illus-frame img { display: block; width: 100%; height: auto; }
.cf-illus-frame .cf-quote-card {
    position: absolute;
    right: -12px; bottom: -26px;
    max-width: 300px;
    padding: 1.2rem 1.4rem;
    border-radius: var(--r-md);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.cf-quote-card p { margin: 0; font-size: .95rem; color: var(--ink); line-height: 1.5; }
.cf-quote-card i { color: var(--accent); font-size: 1.4rem; margin-bottom: .4rem; display: block; }

/* ==========================================================================
   11. Gallery & lightbox
   ========================================================================== */
.cf-masonry { columns: 3 240px; column-gap: 16px; }
.cf-shot {
    position: relative;
    display: block;
    margin: 0 0 16px;
    border-radius: var(--r-md);
    overflow: hidden;
    break-inside: avoid;
    cursor: zoom-in;
    background: var(--bg-alt);
    border: 0; padding: 0; width: 100%;
    box-shadow: var(--shadow-sm);
}
.cf-shot img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease-out), filter .5s ease; }
.cf-shot::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,20,15,.72));
    opacity: 0; transition: opacity .4s ease;
}
.cf-shot-cap {
    position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2;
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    color: #fff; font-weight: 600; font-size: .92rem; text-align: left;
    opacity: 0; transform: translateY(10px);
    transition: opacity .4s ease, transform .5s var(--ease-out);
}
.cf-shot-cap i {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; flex-shrink: 0;
    background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
}
.cf-shot:hover img, .cf-shot:focus-visible img { transform: scale(1.06); }
.cf-shot:hover::after, .cf-shot:focus-visible::after { opacity: 1; }
.cf-shot:hover .cf-shot-cap, .cf-shot:focus-visible .cf-shot-cap { opacity: 1; transform: none; }
.cf-shot.is-hidden { display: none; }
.cf-gallery-collapsed .cf-shot.is-extra { display: none; }
.cf-gallery-more { text-align: center; margin-top: 1.5rem; }

.cf-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.cf-filter button {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: .5rem 1.05rem;
    font-weight: 600; font-size: .92rem;
    transition: all .25s ease;
}
.cf-filter button:hover { border-color: var(--closet); color: var(--closet); }
.cf-filter button.active { background: var(--plum); border-color: var(--plum); color: #fff; }

.cf-lightbox .modal-content { background: transparent; border: 0; }
.cf-lightbox .modal-body { padding: 0; position: relative; text-align: center; }
.cf-lightbox img { max-height: 82vh; width: auto; max-width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.cf-lightbox-cap { color: #fff; margin-top: .9rem; font-weight: 600; }
.cf-lightbox-close, .cf-lightbox-nav {
    position: absolute;
    width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.95); color: var(--forest-ink);
    display: grid; place-items: center; font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease-out);
    z-index: 5;
}
.cf-lightbox-close { top: -18px; right: -6px; }
.cf-lightbox-nav { top: 50%; transform: translateY(-50%); }
.cf-lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.cf-lightbox-prev { left: -8px; }
.cf-lightbox-next { right: -8px; }
.modal-backdrop.show { opacity: .88; background: #07100c; }

/* sticky text column next to gallery */
.cf-sticky-col { position: sticky; top: 120px; }

.cf-cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.cf-cat-list li {
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem .9rem;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 600; font-size: .94rem; color: var(--ink);
}
.cf-cat-list i { color: var(--closet); width: 20px; text-align: center; }

/* ==========================================================================
   12. Program cards
   ========================================================================== */
.cf-program {
    height: 100%;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .5s var(--ease-out), box-shadow .5s ease, border-color .3s ease;
}
.cf-program:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cf-program-art {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}
.cf-program-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cf-program:hover .cf-program-art img { transform: scale(1.07); }
.cf-program-art .cf-tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--forest-ink); }
.cf-program-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.cf-program-body h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.cf-program-body p { font-size: .96rem; flex: 1; }

/* ==========================================================================
   13. Event feature
   ========================================================================== */
.cf-event {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.cf-event::after {
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    right: -120px; top: -140px;
    border-radius: 50%;
    background: var(--tomato-soft);
    z-index: 0;
}
.cf-event > .row { position: relative; z-index: 1; }
.cf-event-flyer {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.cf-event-flyer img {
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-3deg);
    transition: transform .7s var(--ease-out);
}
.cf-event-flyer:hover img { transform: rotate(0) scale(1.02); }
.cf-event-flyer::before {
    content: "";
    position: absolute; left: 50%; top: -14px;
    width: 110px; height: 30px;
    transform: translateX(-50%) rotate(2deg);
    background: rgba(243,193,75,.75);
    z-index: 2;
    border-radius: 3px;
}
.cf-date-block {
    width: 92px; flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.cf-date-block .m { display: block; background: var(--apple); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .14em; padding: .35rem 0; }
.cf-date-block .d { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1.1; padding-top: .3rem; color: var(--ink); }
.cf-date-block .w { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-faint); padding-bottom: .5rem; }

.cf-session {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    height: 100%;
}
.cf-session .cf-icon-badge { width: 44px; height: 44px; border-radius: 12px; font-size: 1rem; }
.cf-session strong { display: block; color: var(--ink); line-height: 1.25; }
.cf-session-text span { font-size: .9rem; color: var(--ink-soft); display: block; line-height: 1.45; }

/* ==========================================================================
   14. Help bento
   ========================================================================== */
.cf-help-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 18px;
}
.cf-help {
    position: relative;
    border-radius: var(--r-lg);
    padding: 2rem;
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 280px;
    transition: transform .5s var(--ease-out), box-shadow .5s ease;
    isolation: isolate;
}
.cf-help:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cf-help h3 { font-size: 1.6rem; margin: 1rem 0 .5rem; }
.cf-help p { font-size: .98rem; }
.cf-help .cf-link-arrow { margin-top: auto; }
.cf-help-sage .cf-icon-badge, .cf-help-butter .cf-icon-badge, .cf-help-plum .cf-icon-badge { background: var(--surface); box-shadow: var(--shadow-xs); }
.cf-help-big { grid-row: span 2; background: var(--tomato); color: #fff; }
.cf-help-big h3 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; }
.cf-help-big p { color: #fff; }
.cf-help-big .cf-icon-badge { background: rgba(255,255,255,.18); color: #fff; }
.cf-help-big .cf-help-art {
    position: absolute; right: -40px; bottom: -40px; width: 62%; z-index: -1;
    opacity: .95; transform: rotate(-8deg);
    transition: transform .8s var(--ease-out);
}
.cf-help-big:hover .cf-help-art { transform: rotate(0) scale(1.04); }
.cf-help-sage { background: var(--sage); }
.cf-help-butter { background: var(--butter-soft); }
.cf-help-plum { background: var(--plum-soft); }
.cf-help-photo { padding: 0; min-height: 280px; }
.cf-help-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cf-help-photo:hover img { transform: scale(1.06); }
.cf-help-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,18,.05) 30%, rgba(10,25,18,.85)); z-index: -1; }
.cf-help-photo .cf-help-inner { margin-top: auto; padding: 2rem; color: #fff; }
.cf-help-photo h3, .cf-help-photo p { color: #fff; }
.cf-help-photo .cf-hand { color: var(--butter); font-size: 2.2rem; }

/* ==========================================================================
   15. Visit / map
   ========================================================================== */
.cf-visit {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 520px;
    box-shadow: var(--shadow-lg);
    background: var(--bg-alt);
}
.cf-visit iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
[data-bs-theme="dark"] .cf-visit iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
.cf-visit-card {
    position: relative;
    z-index: 2;
    margin: 1.5rem;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.cf-visit-card > img { width: 100%; height: 170px; object-fit: cover; display: block; }
.cf-visit-card-body { padding: 1.5rem 1.6rem 1.7rem; }
.cf-visit-card h3 { font-size: 1.55rem; margin-bottom: 1rem; }

.cf-info-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.cf-info-list li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-soft); line-height: 1.45; font-size: .97rem; }
.cf-info-list .cf-li-icon {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--sage); color: var(--brand); font-size: .9rem;
}
.cf-info-list strong { color: var(--ink); display: block; font-size: .92rem; }
.cf-info-list a { color: var(--ink-soft); text-decoration: none; }
.cf-info-list a:hover { color: var(--brand); }

/* ==========================================================================
   16. Inner page header
   ========================================================================== */
.cf-page-head {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
    overflow: hidden;
    isolation: isolate;
}
.cf-page-head::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(var(--line-strong) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: .5;
    -webkit-mask-image: radial-gradient(ellipse 55% 80% at 20% 50%, #000 15%, transparent 70%);
    mask-image: radial-gradient(ellipse 55% 80% at 20% 50%, #000 15%, transparent 70%);
    z-index: -1;
}
.cf-crumbs { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; margin-bottom: 1.3rem; flex-wrap: wrap; }
.cf-crumbs a { color: var(--ink-faint); text-decoration: none; }
.cf-crumbs a:hover { color: var(--brand); }
.cf-crumbs i { font-size: .6rem; color: var(--ink-faint); }
.cf-crumbs span { color: var(--brand); }
.cf-page-title {
    font-size: clamp(2.5rem, 5.4vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin-bottom: 1.2rem;
}
.cf-page-title em { font-weight: 400; font-style: italic; color: var(--brand); }
.is-closet-page .cf-page-title em { color: var(--closet); }

/* stacked photo trio */
.cf-stack {
    position: relative;
    height: clamp(360px, 38vw, 480px);
}
.cf-stack > * { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.cf-stack img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cf-stack > *:hover img { transform: scale(1.06); }
.cf-stack-1 { left: 0; top: 4%; width: 58%; height: 78%; border-top-left-radius: 110px !important; z-index: 1; }
.cf-stack-2 { right: 0; top: 0; width: 38%; height: 46%; z-index: 2; }
.cf-stack-3 { right: 6%; bottom: 0; width: 46%; height: 48%; z-index: 3; border: 6px solid var(--bg); border-bottom-right-radius: 80px !important; }
.cf-stack-art { background: var(--butter-soft); }
.cf-stack-art img { object-fit: contain; padding: 10px; }
.cf-stack-badge {
    position: absolute;
    left: 8%; bottom: 2%;
    z-index: 4;
    overflow: visible !important;
    box-shadow: var(--shadow-lg);
    background: var(--surface);
    border-radius: 18px !important;
    padding: .85rem 1.1rem;
    display: flex; align-items: center; gap: .75rem;
    border: 1px solid var(--line);
    animation: cfBob 6s ease-in-out infinite;
}
.cf-stack-badge strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; color: var(--ink); }
.cf-stack-badge span { font-size: .8rem; color: var(--ink-faint); }

/* ==========================================================================
   17. Food bank page
   ========================================================================== */
.cf-feature {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
    height: 100%;
    transition: transform .45s var(--ease-out), box-shadow .45s ease;
}
.cf-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cf-feature h3 { font-size: 1.18rem; margin: .15rem 0 .35rem; }
.cf-feature p { font-size: .95rem; margin: 0; }

.cf-needs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px;
}
.cf-need {
    display: flex; align-items: center; gap: .7rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff; font-weight: 600; font-size: .95rem;
    transition: background-color .3s ease, transform .4s var(--ease-out);
}
.cf-need:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.cf-need i { color: var(--butter); width: 22px; text-align: center; }

.cf-accordion .accordion-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md) !important;
    overflow: hidden;
    margin-bottom: .75rem;
}
.cf-accordion .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    padding: 1.2rem 1.4rem;
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
}
.cf-accordion .accordion-button:not(.collapsed) { color: var(--brand); background: var(--surface); }
.cf-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(207,63,53,.25); }
.cf-accordion .accordion-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

.cf-hours-card {
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}
.cf-hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line-strong); }
.cf-hours-row:last-of-type { border-bottom: 0; }
.cf-hours-row strong { color: var(--ink); }
.cf-hours-row span { color: var(--ink-soft); text-align: right; font-size: .95rem; }

/* ==========================================================================
   18. Closet page
   ========================================================================== */
.cf-closet-banner {
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, #8a4572, #5a2848);
    color: #fff;
    padding: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cf-closet-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.08) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
}
.cf-closet-banner h2 { color: #fff; }
.cf-closet-banner p { color: rgba(255,255,255,.85); }
.cf-closet-banner .cf-banner-photo {
    border-radius: var(--r-lg);
    border: 6px solid rgba(255,255,255,.9);
    transform: rotate(2.5deg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.cf-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.cf-cycle span {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem .95rem; border-radius: 999px;
    background: rgba(255,255,255,.12); font-weight: 600; font-size: .92rem;
}
.cf-cycle i.fa-arrow-right { color: var(--butter); font-size: .8rem; }

.cf-guide {
    height: 100%;
    border-radius: var(--r-lg);
    padding: 1.8rem;
    background: var(--surface);
    border: 1px solid var(--line);
}
.cf-guide h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.cf-guide ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cf-guide li { display: flex; gap: .65rem; color: var(--ink-soft); line-height: 1.45; }
.cf-guide.is-yes li i { color: var(--leaf); margin-top: .3rem; }
.cf-guide.is-no li i { color: var(--apple); margin-top: .3rem; }

.cf-open-card {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    padding: 1.6rem 1.8rem;
    border-radius: var(--r-lg);
    background: var(--plum-soft);
    border: 1px solid var(--line);
}
.cf-open-card > div { flex: 1 1 320px; min-width: 0; }
.cf-open-card h3 { font-size: 1.35rem; margin: 0 0 .25rem; }
.cf-open-card p { margin: 0; }

/* ==========================================================================
   19. Get involved page
   ========================================================================== */
.cf-role {
    height: 100%;
    padding: 1.6rem;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .3s ease;
}
.cf-role:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cf-role h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.cf-role p { font-size: .95rem; margin: 0; }

.cf-donate-card {
    position: relative;
    border-radius: var(--r-xl);
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--tomato);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    height: 100%;
}
.cf-donate-card h2, .cf-donate-card h3 { color: #fff; }
.cf-donate-card p { color: rgba(255,255,255,.9); }
.cf-donate-card::after {
    content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
    right: -100px; bottom: -120px; background: rgba(255,255,255,.12); z-index: -1;
}
.cf-donate-card .cf-door-list i { background: rgba(255,255,255,.2); color: #fff; }
.cf-donate-card .cf-charity {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .9rem; border-radius: 999px;
    background: rgba(0,0,0,.14); font-size: .85rem; font-weight: 600;
}
.cf-partner-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.cf-partner {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .8rem 1.2rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-weight: 600; color: var(--ink);
}
.cf-partner i { color: var(--accent); }

/* ==========================================================================
   20. Contact page & forms
   ========================================================================== */
.cf-contact-card {
    display: flex; gap: 1rem; align-items: center;
    padding: 1.3rem 1.4rem;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
    height: 100%;
    transition: transform .45s var(--ease-out), box-shadow .45s ease, border-color .3s ease;
}
a.cf-contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); color: var(--ink); }
.cf-contact-card small { display: block; color: var(--ink-faint); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cf-contact-card strong { display: block; font-size: 1.02rem; line-height: 1.35; word-break: break-word; }

.cf-form-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(1.6rem, 4vw, 3rem);
    box-shadow: var(--shadow-lg);
}
.cf-form-card::before {
    content: ""; position: absolute; left: 2.5rem; right: 2.5rem; top: -1px; height: 4px;
    background: linear-gradient(90deg, var(--leaf), var(--butter), var(--tomato), var(--plum));
    border-radius: 0 0 4px 4px;
}
.cf-form .form-label { font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .4rem; }
.cf-form .form-label .req { color: var(--apple); }
.cf-form .form-control,
.cf-form .form-select {
    background-color: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: .85rem 1rem;
    color: var(--ink);
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cf-form .form-control::placeholder { color: var(--ink-faint); }
.cf-form .form-control:focus,
.cf-form .form-select:focus {
    background-color: var(--surface);
    border-color: var(--leaf);
    box-shadow: 0 0 0 4px rgba(79,154,94,.18);
    color: var(--ink);
}
.cf-form textarea.form-control { min-height: 160px; resize: vertical; }
.cf-form .form-control.is-invalid, .cf-form .form-select.is-invalid { border-color: var(--apple); }
.cf-form .invalid-feedback { font-size: .85rem; }

.cf-topic-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.cf-topic-pills label {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem 1rem; border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    font-weight: 600; font-size: .92rem; color: var(--ink);
    cursor: pointer;
    transition: all .2s ease;
}
.cf-topic-pills label:hover { border-color: var(--leaf); }
.cf-topic-pills input:checked + label { background: var(--forest); border-color: var(--forest); color: #fff; }
.cf-topic-pills input:focus-visible + label { outline: 3px solid var(--butter); outline-offset: 2px; }
[data-bs-theme="dark"] .cf-topic-pills input:checked + label { background: #2f7a5b; border-color: #2f7a5b; }

.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cf-alert {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.1rem 1.3rem;
    border-radius: 16px;
    margin-bottom: 1.6rem;
}
.cf-alert i { font-size: 1.3rem; margin-top: .15rem; }
.cf-alert strong { display: block; color: var(--ink); }
.cf-alert p { margin: 0; font-size: .95rem; }
.cf-alert-success { background: var(--sage); border: 1px solid rgba(79,154,94,.35); }
.cf-alert-success i { color: var(--leaf); }
.cf-alert-error { background: var(--tomato-soft); border: 1px solid rgba(201,70,61,.3); }
.cf-alert-error i { color: var(--apple); }

.cf-map-frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    height: 440px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--line);
}
.cf-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-bs-theme="dark"] .cf-map-frame iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* ==========================================================================
   21. Pre-footer & footer
   ========================================================================== */
.cf-prefooter { padding: 0 0 clamp(3rem, 6vw, 5rem); position: relative; z-index: 2; margin-bottom: -90px; }
.cf-prefooter-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.8rem, 4vw, 3rem);
    border-radius: var(--r-xl);
    background: linear-gradient(120deg, #d2443a 0%, #a92d25 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}
.cf-prefooter-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.12) 1.4px, transparent 1.4px);
    background-size: 22px 22px;
}
.cf-prefooter-art {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: grid; place-items: center;
}
.cf-prefooter-art img { width: 132px; height: 132px; }
.cf-prefooter-copy .cf-hand { color: var(--butter); font-size: 1.8rem; }
.cf-prefooter-copy h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin: .3rem 0 .5rem; }
.cf-prefooter-copy p { color: rgba(255,255,255,.92); margin: 0; max-width: 560px; }
.cf-prefooter-actions { display: flex; flex-direction: column; gap: .7rem; }
.cf-prefooter-actions .cf-btn { justify-content: center; }

.cf-footer {
    position: relative;
    background: #163a2c;
    color: rgba(255,255,255,.75);
    margin-top: clamp(110px, 16vw, 230px);
}
[data-bs-theme="dark"] .cf-footer { background: #0b1d16; }
.cf-prefooter + .cf-footer { margin-top: 0; }
.cf-footer-hills {
    position: absolute;
    left: 0; right: 0;
    bottom: 100%;
    height: clamp(90px, 14vw, 200px);
    line-height: 0;
    pointer-events: none;
    overflow: hidden;
}
.cf-footer-hills img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; display: block; }
[data-bs-theme="dark"] .cf-footer-hills img { filter: brightness(.55) saturate(.8); }
.cf-prefooter + .cf-footer .cf-footer-main { padding-top: calc(90px + 3.5rem); }
.cf-prefooter + .cf-footer .cf-footer-hills { display: none; }

.cf-footer-main { padding: 4.5rem 0 3.5rem; position: relative; }
.cf-brand-footer { color: #fff; margin-bottom: 1.3rem; }
.cf-brand-footer:hover { color: #fff; }
.cf-brand-footer .cf-brand-sub { color: var(--butter); }
.cf-footer-about { color: rgba(255,255,255,.72); font-size: .97rem; max-width: 380px; }
.cf-footer-title {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--butter);
    margin-bottom: 1.3rem;
}
.cf-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cf-footer-links a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: color .2s ease, transform .3s var(--ease-out);
}
.cf-footer-links a:hover { color: #fff; transform: translateX(4px); }
.cf-footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cf-footer-contact li { display: flex; gap: .9rem; align-items: flex-start; line-height: 1.5; font-size: .97rem; }
.cf-footer-contact a { color: rgba(255,255,255,.85); text-decoration: none; }
.cf-footer-contact a:hover { color: var(--butter); }
.cf-fc-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
    color: var(--butter); font-size: .9rem;
}
.cf-footer-social { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cf-fb-btn {
    display: inline-flex; align-items: center; gap: .75rem;
    padding: .5rem 1.2rem .5rem .5rem;
    border-radius: 999px;
    background: #1466d6;   /* darker than FB blue: 5.4:1 with white text */
    color: #fff; text-decoration: none;
    font-weight: 700; line-height: 1.1;
    transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.cf-fb-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(24,119,242,.6); }
.cf-fb-btn i { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #1877f2; display: grid; place-items: center; font-size: 1rem; }
.cf-fb-btn small { display: block; font-weight: 500; font-size: .72rem; }
.cf-social-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08);
    color: #fff; text-decoration: none;
    transition: background-color .25s ease, transform .35s var(--ease-out);
}
.cf-social-icon:hover { background: var(--tomato); color: #fff; transform: translateY(-3px); }

.cf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.3rem 0;
    font-size: .86rem;
    color: rgba(255,255,255,.6);
}
.cf-footer-bottom p { color: rgba(255,255,255,.6); }

.cf-to-top {
    position: fixed;
    right: 1.25rem; bottom: 1.25rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 0;
    background: var(--tomato);
    color: #fff;
    box-shadow: var(--shadow-md);
    z-index: 1020;
    opacity: 0; visibility: hidden;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .45s var(--ease-out), visibility .35s, background-color .2s ease;
}
.cf-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.cf-to-top:hover { background: var(--tomato-deep); }

/* Offcanvas (mobile menu) */
.cf-offcanvas { --bs-offcanvas-width: 340px; background: var(--bg); }
.cf-offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); }
.cf-offcanvas-extra { display: grid; gap: .7rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cf-offcanvas-meta { margin-top: 1rem; font-size: .92rem; }
.cf-offcanvas-meta p { margin-bottom: .7rem; }
.cf-offcanvas-meta i { color: var(--accent); margin-right: .55rem; width: 16px; }
.cf-offcanvas-meta a { text-decoration: none; font-weight: 600; }

/* ==========================================================================
   22. Scroll reveal & motion
   ========================================================================== */
.cf-js [data-reveal] {
    opacity: 0;
    transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.cf-js [data-reveal="up"]    { transform: translate3d(0, 46px, 0); }
.cf-js [data-reveal="down"]  { transform: translate3d(0, -30px, 0); }
.cf-js [data-reveal="left"]  { transform: translate3d(-50px, 0, 0); }
.cf-js [data-reveal="right"] { transform: translate3d(50px, 0, 0); }
.cf-js [data-reveal="zoom"]  { transform: scale(.92); }
.cf-js [data-reveal="fade"]  { transform: none; }
.cf-js [data-reveal].is-revealed { opacity: 1; transform: none; }

@keyframes cfSpin { to { transform: rotate(360deg); } }
@keyframes cfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cfMarquee { to { transform: translateX(-50%); } }
@keyframes cfPulse {
    0% { box-shadow: 0 0 0 0 rgba(79,154,94,.55); }
    70% { box-shadow: 0 0 0 9px rgba(79,154,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,154,94,0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .cf-js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   23. Responsive
   ========================================================================== */
@media (min-width: 992px) {
    .cf-offcanvas .offcanvas-body { align-items: center; }
}

@media (max-width: 1199.98px) {
    .cf-nav .nav-link { padding: .5rem .75rem !important; font-size: .94rem; }
    .cf-rotor { left: -14px; width: 116px; height: 116px; }
    .cf-help-grid { grid-template-columns: 1fr 1fr; }
    .cf-help-big { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
    .cf-help-big .cf-help-art { width: 38%; }
}

@media (max-width: 991.98px) {
    .cf-grow-row { height: 220px; padding: 0; }
    .cf-plant { --s: .82; }
    .cf-plant:nth-child(n+7) { display: none; }
    .cf-plant-label { font-size: .78rem; }
    .cf-offcanvas .nav-link {
        display: flex; align-items: center; gap: .85rem;
        font-size: 1.1rem; padding: .85rem 1rem !important;
        border-radius: 14px;
    }
    .cf-offcanvas .nav-link i { width: 20px; color: var(--accent); }
    .cf-offcanvas .nav-link.active { background: var(--sage); }
    .cf-offcanvas .nav-link.active::after { display: none; }

    .cf-bento { margin-top: 2.5rem; height: 540px; }
    .cf-rotor { left: auto; right: 18px; top: auto; bottom: -40px; }
    .cf-float-note { right: 10px; }
    .cf-hand-note { display: none !important; }

    .cf-stats { grid-template-columns: repeat(2, 1fr); }
    .cf-stat:nth-child(3)::before { display: none; }
    .cf-stat:nth-child(n+3) { border-top: 1px solid var(--line); }

    .cf-door { min-height: 560px; }
    .cf-sticky-col { position: static; }

    .cf-prefooter-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .cf-prefooter-copy p { margin: 0 auto; }
    .cf-prefooter-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }

    .cf-stack { margin-top: 2.5rem; }
    .cf-illus-frame .cf-quote-card { right: 12px; }
    .cf-visit { min-height: auto; display: flex; flex-direction: column; }
    .cf-visit iframe { position: relative; height: 340px; order: 2; }
    .cf-visit .cf-visit-card { max-width: none; margin: 0; border-radius: 0; box-shadow: none; }
}

@media (max-width: 767.98px) {
    body { font-size: 1rem; }
    .cf-topbar-left span:first-child { font-size: .8rem; }
    .cf-bento {
        grid-template-rows: repeat(8, minmax(40px, 1fr));
        height: 620px;
        gap: 10px;
    }
    .cf-tile-a { grid-column: 1 / 7; grid-row: 1 / 4; border-top-left-radius: 70px; }
    .cf-tile-b { grid-column: 1 / 4; grid-row: 4 / 6; }
    .cf-tile-c { grid-column: 4 / 7; grid-row: 4 / 7; }
    .cf-tile-d { grid-column: 1 / 4; grid-row: 6 / 9; }
    .cf-tile-e { grid-column: 4 / 7; grid-row: 7 / 9; border-bottom-right-radius: 60px; }
    .cf-float-note { top: -18px; right: 8px; max-width: 220px; padding: .6rem .8rem .6rem .6rem; }
    .cf-rotor { width: 96px; height: 96px; bottom: auto; top: 30%; right: -6px; }
    .cf-rotor img { width: 42px; height: 42px; }
    .cf-rotor text { font-size: 10.5px; }

    .cf-door { min-height: 540px; border-radius: var(--r-lg); }
    .cf-door-art { height: 210px; }

    .cf-stat { padding: 1.6rem 1.2rem; }
    .cf-steps::before { left: 25px; }
    .cf-step-num { width: 52px; height: 52px; font-size: 1.1rem; }

    .cf-help-grid { grid-template-columns: 1fr; }
    .cf-help-big .cf-help-art { width: 55%; opacity: .35; }

    .cf-masonry { columns: 2 150px; column-gap: 10px; }
    .cf-shot { margin-bottom: 10px; border-radius: 14px; }
    .cf-shot-cap { display: none; }

    .cf-cat-list { grid-template-columns: 1fr 1fr; }
    .cf-stack { height: 380px; }
    .cf-lightbox-nav { top: auto; bottom: -64px; transform: none; }
    .cf-lightbox-nav:hover { transform: scale(1.05); }
    .cf-lightbox-prev { left: calc(50% - 58px); }
    .cf-lightbox-next { right: calc(50% - 58px); }
    .cf-lightbox-close { top: -58px; right: 4px; }
    .cf-hours-row { flex-direction: column; gap: .15rem; }
    .cf-hours-row span { text-align: left; }
    .cf-map-frame { height: 340px; }
}

@media (max-width: 575.98px) {
    .cf-grow-row { height: 190px; }
    .cf-plant { --s: .68; }
    .cf-plant:nth-child(n+5) { display: none; }
    .cf-plant-label { white-space: normal; width: 84px; text-align: center; line-height: 1.2; top: calc(100% + 38px); }
    .cf-grow { padding-bottom: 5rem; }
    .container { --bs-gutter-x: 2.25rem; }
    .cf-brand-mark { width: 44px; height: 44px; }
    .cf-brand-name { font-size: 1.02rem; }
    .cf-brand-sub { font-size: .64rem; letter-spacing: .12em; }
    .cf-brand { gap: .55rem; margin-right: .25rem; }
    .cf-home-actions .cf-btn { flex: 1 1 100%; justify-content: center; }
    .cf-stats { grid-template-columns: 1fr; }
    .cf-stat + .cf-stat::before { display: none; }
    .cf-stat + .cf-stat { border-top: 1px solid var(--line); }
    .cf-cat-list { grid-template-columns: 1fr; }
    .cf-door-art .cf-door-illus { width: 64%; }
    .cf-event-flyer { max-width: 280px; }
    .cf-prefooter-art { width: 120px; height: 120px; }
    .cf-prefooter-art img { width: 104px; height: 104px; }
    .cf-to-top { right: .9rem; bottom: .9rem; width: 46px; height: 46px; }
}


/* ==========================================================================
   24. Privacy policy & sitemap pages
   ========================================================================== */
.cf-page-head-compact { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* "On this page" list */
.cf-toc {
    position: sticky;
    top: var(--toc-top, 110px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-xs);
}
.cf-toc-title { font-size: 1rem; font-weight: 700; margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.cf-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.cf-toc li { counter-increment: toc; }
.cf-toc li a {
    display: flex; gap: .6rem; align-items: baseline;
    padding: .4rem .5rem; margin: 0 -.5rem;
    border-radius: 8px;
    color: var(--ink); text-decoration: none; font-weight: 500;
}
.cf-toc li a::before { content: counter(toc, decimal-leading-zero); font-size: .78rem; font-weight: 700; color: var(--brand); min-width: 1.4rem; }
.cf-toc li a:hover { background: var(--bg-alt); color: var(--brand); text-decoration: underline; }
.cf-toc-meta { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
.cf-toc-meta i { margin-right: .35rem; }
@media (max-width: 991.98px) { .cf-toc { position: static; } }

/* long-form text */
.cf-prose { font-size: 1.06rem; line-height: 1.75; max-width: 46rem; }
.cf-prose p, .cf-prose li { color: var(--ink); }
.cf-prose section { scroll-margin-top: var(--toc-top, 110px); padding-top: .4rem; }
.cf-prose section + section { margin-top: 2.2rem; }
.cf-prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .8rem; }
.cf-prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.cf-prose ul { padding-left: 1.3rem; }
.cf-prose li { margin-bottom: .35rem; }
.cf-prose li::marker { color: var(--brand); }
.cf-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: .18em; }
.cf-prose a:hover { color: var(--accent-ink); }
.cf-prose code { color: var(--ink); background: var(--bg-alt); padding: .1rem .35rem; border-radius: 6px; font-size: .88em; }
.cf-prose .cf-legal-summary {
    background: var(--sage);
    border-radius: var(--r-lg);
    padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
    margin-bottom: 2rem;
}
.cf-legal-summary ul { margin-bottom: 0; }
.cf-table { --bs-table-bg: var(--surface); --bs-table-color: var(--ink); border-color: var(--line); font-size: .96rem; margin: .4rem 0 1rem; }
.cf-table th, .cf-table td { padding: .8rem .9rem; vertical-align: top; }
.cf-table thead th { background: var(--bg-alt); font-weight: 700; }
.cf-table tbody th { font-weight: 600; white-space: nowrap; }
.cf-prose .cf-legal-contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.cf-legal-contact-list { list-style: none; padding: 0 !important; margin: 0; }
.cf-legal-contact-list li { display: flex; gap: .75rem; align-items: baseline; }
.cf-legal-contact-list i { color: var(--brand); width: 1.1rem; text-align: center; }

/* sitemap cards */
.cf-sitemap { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cf-sitemap-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.6rem 1.6rem 1.4rem;
    box-shadow: var(--shadow-xs);
    transition: box-shadow .25s ease, transform .25s var(--ease-out);
}
.cf-sitemap-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cf-sitemap-icon {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--sage); color: var(--brand);
    font-size: 1.2rem; margin-bottom: 1rem;
}
.cf-sitemap-card.is-closet .cf-sitemap-icon { background: var(--plum-soft, var(--berry-soft)); color: var(--closet); }
.cf-sitemap-title { font-size: 1.35rem; font-weight: 700; margin-bottom: .35rem; }
.cf-sitemap-title a { color: var(--ink); text-decoration: none; }
.cf-sitemap-title a:hover { color: var(--brand); text-decoration: underline; }
.cf-sitemap-card.is-closet .cf-sitemap-title a:hover { color: var(--closet); }
.cf-sitemap-card > p { color: var(--ink-soft); margin-bottom: .9rem; }
.cf-sitemap-links { list-style: none; padding: .9rem 0 0; margin: 0; border-top: 1px dashed var(--line-strong); }
.cf-sitemap-links li + li { margin-top: .15rem; }
.cf-sitemap-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem 0; color: var(--brand); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; }
.cf-sitemap-links a::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .62rem; }
.cf-sitemap-links a:hover { text-decoration-color: currentColor; }
.cf-sitemap-card.is-closet .cf-sitemap-links a { color: var(--closet); }
.cf-sitemap-ext { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.cf-sitemap-ext ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem 2rem; }
.cf-sitemap-ext a { color: var(--brand); font-weight: 600; text-decoration: none; }
.cf-sitemap-ext a span:not(.visually-hidden) { text-decoration: underline; text-underline-offset: .18em; }
.cf-sitemap-ext a:hover span:not(.visually-hidden) { text-decoration-thickness: 2px; }
.cf-sitemap-ext i { margin-right: .35rem; }


/* ==========================================================================
   25. Accessibility helpers (WCAG 2.2 AA audit, Sept 2026)
   ========================================================================== */
/* Visible keyboard focus for anything that doesn't style its own.
   :where() keeps specificity at zero so component focus styles still win. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
    border-radius: 4px;
}
:where(.form-control, .form-select):focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }

/* "Pause animations" - the looping motion (garden, butterflies, badges) can be
   stopped by anyone, not only people with "reduce motion" switched on (WCAG 2.2.2) */
html.cf-motion-paused *,
html.cf-motion-paused *::before,
html.cf-motion-paused *::after { animation-play-state: paused !important; }
html.cf-motion-paused .cf-butterfly { visibility: hidden; }

.cf-motion-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: none; border: 0; padding: .2rem .1rem; margin: 0;
    color: inherit; font: inherit; cursor: pointer;
    min-height: 24px;
}
.cf-motion-btn:hover { text-decoration: underline; }
.cf-grow .cf-motion-btn {
    position: absolute; right: clamp(.8rem, 2vw, 1.5rem); top: .6rem; z-index: 5;
    padding: .35rem .8rem; border-radius: 999px;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong);
    font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-xs);
}
@media (prefers-reduced-motion: reduce) { .cf-motion-btn { display: none !important; } }
.cf-topbar .cf-motion-btn { color: rgba(255,255,255,.88); }
.cf-topbar .cf-motion-btn:hover { color: #fff; }
@media (max-width: 575.98px) {
    .cf-topbar .cf-motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .cf-topbar .cf-motion-btn { min-width: 24px; justify-content: center; }
    .cf-topbar .cf-motion-btn i { margin-right: 0; }
}
/* Top bar address: wrap on small screens rather than truncate with "..." (WCAG 1.4.10 / 1.4.12) */
@media (max-width: 767.98px) {
    .cf-topbar-left, .cf-topbar-left span { white-space: normal; overflow: visible; text-overflow: clip; }
}
/* Sticky side columns only on windows tall enough to show the whole column -
   otherwise links at the bottom of a stuck column can't be scrolled into view
   when tabbed to, or when the page is zoomed (WCAG 2.4.11 / 1.4.10) */
@media (max-height: 899.98px) { .cf-sticky-col { position: static; } }
@media (max-height: 719.98px) { .cf-toc { position: static; } }

/* Layout stability: images carry width/height; don't let the height attribute
   stretch them (zero specificity - component rules still win) */
:where(img[width][height]) { height: auto; }

/* ==========================================================================
   26. Board feedback updates (Oct 2026)
       mission/vision band, events, e-transfer, garden boxes, forms
   ========================================================================== */

/* home collage tile is now a link to the Monday drop-in */
a.cf-tile-d { color: #fff; transition: background-color .3s ease; }
a.cf-tile-d:hover { background: var(--forest-deep); color: #fff; }
.cf-tile-d .cf-tile-d-text { display: block; color: rgba(255,255,255,.88); font-size: .88rem; line-height: 1.35; margin: .35rem 0 0; }
.cf-tile-d .cf-stat-big { font-size: clamp(1.45rem, 2.1vw, 1.95rem); }

/* mission, vision & motto */
.cf-purpose-card {
    height: 100%;
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.cf-purpose-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 700; color: var(--brand); margin: 1.1rem 0 .6rem; }
.cf-purpose-text { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--ink); margin: 0; }
.cf-purpose-card.is-motto { background: var(--forest); border-color: var(--forest); color: #fff; text-align: center; }
.cf-purpose-card.is-motto h3 { color: var(--butter); }
.cf-purpose-logo { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cf-purpose-motto { font-family: var(--font-hand); font-size: clamp(2.3rem, 3.6vw, 2.9rem); line-height: 1.05; color: #fff; margin: 0 0 .7rem; }
.cf-purpose-sub { color: rgba(255,255,255,.85); font-size: .95rem; margin: 0; }
[data-bs-theme="dark"] .cf-purpose-card.is-motto { background: #183d2f; border-color: #24533f; }

/* event cards (Events page + home teaser) */
.cf-ev-list { display: grid; gap: 1.25rem; }
.cf-ev-card {
    display: flex; gap: 1.4rem; align-items: flex-start;
    padding: clamp(1.3rem, 2.6vw, 1.9rem);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.cf-ev-body { flex: 1 1 auto; min-width: 0; }
.cf-ev-title { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 0 0 .55rem; }
.cf-ev-meta { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.cf-ev-meta li { display: inline-flex; gap: .45rem; align-items: baseline; }
.cf-ev-meta i { color: var(--accent); }
.cf-ev-body > p { margin: 0; }
.cf-ev-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.cf-ev-flyer { width: 150px; height: auto; flex-shrink: 0; border-radius: 14px; box-shadow: var(--shadow-sm); transform: rotate(2deg); }
.cf-ev-card.is-past { box-shadow: none; background: var(--surface-2); }
.cf-ev-card.is-past .cf-date-block .m { background: #5b6660; }
.cf-ev-card .cf-date-block .w { color: var(--ink-soft); }
.cf-ev-card.is-past .cf-ev-flyer { width: 96px; }
.cf-date-block.is-tba .m { background: var(--forest); }
.cf-date-block.is-tba .d { font-size: 1.7rem; padding: .55rem 0 .15rem; color: var(--brand); }
.cf-open-card.is-plain { background: var(--surface); }

/* "every week, every season" tiles + fundraisers */
.cf-regular { display: flex; flex-direction: column; }
.cf-regular .cf-regular-when { font-weight: 700; color: var(--brand); margin-bottom: .35rem; }
.cf-regular .cf-link-arrow { margin-top: auto; padding-top: 1rem; }
.cf-fund-card { height: 100%; padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cf-fund-card h3 { font-size: 1.4rem; margin: 1rem 0 .4rem; }

/* Food Bank: what to bring + forms */
.cf-support-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.cf-bring, .cf-forms { padding: 1.4rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.cf-bring { display: flex; gap: 1rem; align-items: flex-start; background: var(--butter-soft); border-color: transparent; }
.cf-bring .cf-icon-badge { background: var(--surface); }
.cf-bring h3, .cf-forms h3 { font-size: 1.15rem; margin: .1rem 0 .4rem; }
.cf-bring p { margin: 0; }
.cf-forms ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.cf-forms li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.4; }
.cf-forms li > i { color: var(--accent); margin-top: .2rem; }
.cf-forms li span span { display: block; font-size: .88rem; color: var(--ink-soft); }
.cf-forms li a, .cf-forms li strong { font-weight: 700; }

/* Food Bank: grow a row note (on the green "donate food" band) */
.cf-growrow { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.2rem 1.3rem; border-radius: var(--r-md); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.cf-growrow > i { font-size: 1.4rem; color: var(--butter); margin-top: .2rem; }
.cf-growrow h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.cf-growrow p { margin: 0; font-size: .95rem; }

/* Muriel's Closet: hours + drop-off options */
.cf-open-hours strong { display: block; font-size: 1.1rem; color: var(--closet); }
.cf-dropoff-list, .cf-guide .cf-dropoff-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.cf-dropoff-list li { display: flex; gap: .6rem; line-height: 1.45; color: var(--ink-soft); }
.cf-dropoff-list i { color: var(--closet); margin-top: .3rem; }
.cf-ask-first { padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--surface); border: 1px dashed var(--line-strong); margin-bottom: 1.2rem; }
.cf-ask-first strong { display: flex; gap: .45rem; align-items: center; color: var(--ink); }
.cf-ask-first strong i { color: var(--closet); }
.cf-ask-first p { margin: .25rem 0 0; font-size: .93rem; }

/* Get Involved: e-transfer first, CanadaHelps second */
.cf-donate-kicker { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: .3rem; }
.cf-etransfer { margin: .4rem 0 1.4rem; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: rgba(0,0,0,.16); }
.cf-etransfer-label { display: block; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9); }
.cf-etransfer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .25rem 0 .55rem; }
.cf-etransfer-email { font-family: var(--font-display); font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 800; color: #fff; overflow-wrap: break-word; }
.cf-copy-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .4rem .9rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff;
    font-weight: 600; font-size: .88rem;
    transition: background-color .2s ease, color .2s ease;
}
.cf-copy-btn:hover, .cf-copy-btn.is-copied { background: #fff; color: var(--tomato-deep); }
.cf-copy-btn:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
.cf-etransfer-note { margin: 0; font-size: .9rem; display: flex; gap: .5rem; }
.cf-etransfer-note i { margin-top: .25rem; }
.cf-give-alt { padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cf-give-alt h3 { font-size: 1.35rem; }
.cf-give-alt p { margin: .4rem 0 1rem; }

/* footer: hours line */
.cf-footer-contact strong { color: #fff; font-weight: 600; }

@media (max-width: 767.98px) {
    .cf-support-extras { grid-template-columns: 1fr; }
    .cf-ev-card { flex-wrap: wrap; }
    .cf-ev-flyer { display: none; }
}
@media (max-width: 575.98px) {
    .cf-ev-card { flex-direction: column; gap: 1rem; }
}

/* six menu items (Events added) - keep the desktop menu on one line on small laptops */
.cf-nav .nav-link { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .cf-nav { gap: 0; }
    .cf-nav .nav-link { padding: .5rem .5rem !important; font-size: .9rem; }
    .cf-brand-sub { font-size: .62rem; }
    #siteHeader .cf-btn-sm { padding-inline: .8rem; }
}

/* ==========================================================================
   Accessibility menu button (UserWay, loaded on click - includes/userway.php)
   Sits exactly where UserWay's own icon appears (bottom-left, data-position 5)
   ========================================================================== */
.cf-a11y-btn {
    position: fixed; left: 13px; bottom: 13px; z-index: 1050;
    width: 44px; height: 44px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%;
    background: #0048ff; color: #fff;
    font-size: 28px; line-height: 1; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.cf-a11y-btn[hidden] { display: none; }
.cf-a11y-btn:hover { background: #0038c7; }
.cf-a11y-btn:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
.cf-a11y-btn.is-loading i { animation: cf-a11y-spin 1s linear infinite; }
@keyframes cf-a11y-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .cf-a11y-btn.is-loading i { animation: none; opacity: .6; }
}
@media print { .cf-a11y-btn { display: none; } }

/* ==========================================================================
   Facebook feed card (home pages - includes/facebook-feed.php, JS section 8)
   ========================================================================== */
.cf-fb-card {
    height: 100%;
    display: flex; flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.cf-fb-head { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.cf-fb-head h3 { font-size: 1.2rem; margin: 0; }
.cf-fb-logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #1466d6; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.cf-fb-body { padding: 1.4rem 1.3rem 1.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.cf-fb-body p { margin: 0; }
.cf-fb-note { font-size: .85rem; color: var(--ink-soft); }
.cf-fb-frame { flex: 1 1 auto; display: flex; justify-content: center; }
.cf-fb-frame.is-loaded { padding: .5rem; background: #fff; }
.cf-fb-frame iframe { border: 0; max-width: 100%; display: block; }
.cf-btn.cf-btn-facebook { --btn-bg: #1466d6; --btn-fg: #fff; --btn-bd: #1466d6; }
.cf-btn.cf-btn-facebook:hover { --btn-bg: #0f55b6; --btn-bd: #0f55b6; --btn-fg: #fff; background: #0f55b6; color: #fff; }
@media (max-width: 1199.98px) {
    .cf-home-events .cf-ev-flyer { display: none; }
}

/* ==========================================================================
   Obvious placeholder for details CFRN hasn't confirmed (cfrnTbc() in config.php)
   Never a link - so a made-up phone/email can't be used by mistake.
   ========================================================================== */
.cf-tbc {
    display: inline-block;
    padding: .15em .55em;
    border: 2px dashed #b98a12;
    border-radius: 6px;
    background: #fff3b0;
    color: #4a3200;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85em;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: normal;
}

/* ==========================================================================
   CFRN logo (Oct 2026) + mission/vision layout
   ========================================================================== */
.cf-brand-mark, .v2-brand img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.12); background: #fff; }
.cf-footer .cf-brand-mark, .v2-footer .v2-brand img { box-shadow: none; }
.cf-rotor img { width: 70px; height: 70px; border-radius: 50%; }

.cf-purpose-mission { display: flex; flex-direction: column; justify-content: center; }
.cf-purpose-mission .cf-purpose-text { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch; }
.cf-purpose-card.is-motto { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cf-vision-title {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    margin: clamp(2.2rem, 4vw, 3rem) 0 1.4rem;
    font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 700; color: var(--brand);
}
.cf-vision-title i { color: var(--accent); }
.cf-vision-card {
    position: relative; height: 100%;
    padding: 1.6rem 1.6rem 1.7rem;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.cf-vision-card h4 { font-size: 1.2rem; margin: 1rem 0 .45rem; }
.cf-vision-card p { margin: 0; font-size: .98rem; }
.cf-vision-num {
    position: absolute; top: 1.1rem; right: 1.3rem;
    font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
    color: var(--line-strong);
}
.cf-forms-send { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--line-strong); font-size: .92rem; line-height: 1.5; }
.cf-forms-send strong { display: block; }
.cf-forms-send a { font-weight: 600; }

/* ==========================================================================
   Client forms - top priority (Oct 16 2026): menu item, home/contact band,
   /client-forms page (includes/forms-band.php, includes/forms-content.php)
   ========================================================================== */
.cf-forms-band { padding: clamp(2rem, 4vw, 3rem) 0; }
.cf-forms-band-card {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.4rem, 3vw, 2.5rem); align-items: center;
    padding: clamp(1.6rem, 3.4vw, 2.6rem);
    border-radius: var(--r-xl);
    background: var(--butter); color: #17261e;
    box-shadow: var(--shadow-md);
}
.cf-forms-band-intro { display: flex; gap: 1.2rem; align-items: flex-start; }
.cf-forms-band-icon {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 20px;
    display: grid; place-items: center; font-size: 1.7rem;
    background: rgba(255,255,255,.75); color: #17261e;
}
.cf-forms-band-kicker { display: block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; color: #17261e; }
.cf-forms-band-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .5rem; color: #17261e; letter-spacing: -0.02em; }
.cf-forms-band-card p { margin: 0; color: #17261e; font-size: 1.05rem; }
.cf-forms-band-actions { display: grid; gap: .75rem; }
.cf-form-dl {
    display: flex; align-items: center; gap: .9rem;
    padding: .95rem 1.15rem; border-radius: 16px;
    background: #fff; color: #17261e; text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.cf-form-dl:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.14); color: #17261e; }
.cf-form-dl > i:first-child { font-size: 1.4rem; color: #ab2f27; width: 1.6rem; text-align: center; }
.cf-form-dl span { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.cf-form-dl strong { font-size: 1.08rem; }
.cf-form-dl small { font-size: .85rem; color: #4e5d55; }
.cf-form-dl-go { color: #ab2f27; }
.cf-forms-band-more { color: #17261e; justify-self: start; text-decoration: underline; text-underline-offset: 3px; }
.cf-forms-band-more:hover { color: #17261e; }

.cf-dl-card {
    height: 100%; display: flex; flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.1rem);
    border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.cf-dl-card.is-primary { border: 2px solid var(--butter); }
.cf-dl-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cf-dl-card-icon { width: 60px; height: 60px; flex-shrink: 0; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: var(--butter); color: #17261e; }
.cf-dl-card-badge { padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--butter); color: #17261e; }
.cf-dl-card h3 { font-size: 1.5rem; margin: 1.1rem 0 .4rem; }
.cf-dl-card p { margin: 0 0 .8rem; }
.cf-dl-card-meta { font-size: .9rem; color: var(--ink-soft); }
.cf-dl-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.cf-forms-help { margin: 1.6rem 0 0; color: var(--ink-soft); }
.cf-forms-help i { color: var(--brand); margin-right: .4rem; }

.cf-send-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; gap: .9rem; }
.cf-send-row { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease, background-color .2s ease; }
.cf-send-row:hover { border-color: var(--brand); color: var(--ink); background: var(--surface-2); }
.cf-send-row small { display: block; font-size: .85rem; color: var(--ink-soft); }
.cf-send-row strong { font-size: clamp(1.02rem, 1.8vw, 1.2rem); overflow-wrap: break-word; }
.cf-send-note { margin: 0; font-size: .9rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: baseline; }

.cf-forms-all { float: right; font-size: .85rem; font-weight: 600; text-decoration: none; margin-top: .2rem; }
.cf-forms-all i { font-size: .75rem; }

@media (max-width: 991.98px) {
    .cf-forms-band-card { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .cf-forms-band-intro { flex-direction: column; gap: .8rem; }
    .cf-forms-band-icon { width: 52px; height: 52px; font-size: 1.4rem; }
}

/* menu: Forms stands out */
/* Forms looks like every other menu item (no pill - that read as "selected", Oct 16 2026);
   only its icon shows on desktop, in gold, so it's still easy to spot */
.cf-nav .nav-link-forms i.d-lg-none { display: inline-block !important; margin-right: .4rem; color: #b98a12; }
[data-bs-theme="dark"] .cf-nav .nav-link-forms i.d-lg-none { color: var(--butter); }
.cf-topbar .cf-topbar-forms { font-weight: 700; color: var(--butter); }
.cf-topbar .cf-topbar-forms i { color: var(--butter); }

/* seven menu items (Forms added): keep the brand on one line and the menu on one row */
.cf-brand-name, .cf-brand-sub { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .cf-nav { gap: 0; }
    .cf-nav .nav-link { padding: .5rem .7rem !important; font-size: .95rem; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .cf-navbar .cf-brand-text { display: none; }
    .cf-navbar .cf-brand { margin-right: .5rem; }
}

.cf-pickup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cf-pickup-list li { display: flex; gap: .6rem; align-items: baseline; font-weight: 600; color: var(--ink); }
.cf-pickup-list i { color: var(--brand); }

.cf-forms-band-card p a { color: #17261e; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cf-forms-band-card p a:hover { color: #17261e; text-decoration-thickness: 2px; }

/* ==========================================================================
   Online client forms - preview pages (client-forms-online*.php, includes/webforms*.php)
   ========================================================================== */
.cf-preview-note { background: var(--butter-soft); color: var(--ink); border-bottom: 1px solid rgba(0,0,0,.08); font-size: .95rem; }
.cf-preview-note .container { display: flex; gap: .7rem; align-items: baseline; padding-top: .8rem; padding-bottom: .8rem; }
.cf-preview-note i { color: #b98a12; }

.cf-wf-choice {
    height: 100%; display: flex; align-items: center; gap: 1.1rem;
    padding: 1.4rem 1.5rem; border-radius: var(--r-lg);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    color: var(--ink); text-decoration: none;
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .2s ease;
}
.cf-wf-choice.is-primary { border: 2px solid var(--butter); }
.cf-wf-choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.cf-wf-choice-text { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.cf-wf-choice-text strong { font-size: 1.3rem; font-family: var(--font-display); }
.cf-wf-choice-text > span:last-child { color: var(--ink-soft); }
.cf-wf-choice-go { color: var(--brand); font-size: 1.2rem; }

.cf-webform-card {
    max-width: 900px; margin: 0 auto;
    padding: clamp(1.4rem, 3.5vw, 2.6rem);
    border-radius: var(--r-xl);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.cf-webform-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.cf-webform-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .1rem 0 .4rem; }
.cf-webform-head p { margin: 0 0 .4rem; color: var(--ink-soft); }
.cf-webform-section { border: 0; padding: 1.4rem 0 .4rem; margin: 0; border-top: 1px solid var(--line); }
.cf-webform-section > legend {
    float: none; width: auto; display: flex; align-items: center; gap: .7rem;
    font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-bottom: 1rem;
}
.cf-webform-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; background: var(--butter); color: #17261e; flex-shrink: 0; }
.cf-webform .form-label { font-weight: 600; margin-bottom: .35rem; }
.cf-webform .cf-hint { margin: -.15rem 0 .4rem; font-size: .88rem; color: var(--ink-soft); }
.cf-webform .cf-hint-below { margin: .4rem 0 0; }
.cf-webform .req { color: var(--accent-ink); }
.cf-webform .form-control, .cf-webform .form-select { min-height: 48px; font-size: 1.02rem; }

.cf-choice-group { border: 0; padding: 0; margin: 0; }
.cf-choice-group > legend { float: none; width: auto; font-size: 1rem; }
.cf-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cf-choices label {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 44px; padding: .55rem 1rem; border-radius: 999px;
    border: 1.5px solid var(--line-strong); background: var(--surface);
    font-weight: 600; cursor: pointer; user-select: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cf-choices label i { font-size: .8rem; opacity: 0; width: 0; margin-left: -.25rem; transition: opacity .15s ease; }
.cf-choices label:hover { border-color: var(--brand); }
.cf-choices input:checked + label { background: var(--forest); border-color: var(--forest); color: #fff; }
.cf-choices input:checked + label i { opacity: 1; width: auto; margin-left: 0; }
.cf-choices input:focus-visible + label { outline: 3px solid var(--butter); outline-offset: 2px; }
.cf-choice-clear { margin-top: .45rem; padding: 0; border: 0; background: none; font-size: .85rem; color: var(--ink-soft); text-decoration: underline; }
.cf-choice-clear:hover { color: var(--ink); }

.cf-consent { padding: 1rem 1rem 1rem 2.6rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.cf-consent .form-check-input { width: 1.3rem; height: 1.3rem; margin-top: .1rem; }
.cf-consent .form-check-label { font-weight: 600; }

.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cf-webform-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.cf-webform-alert { border-radius: var(--r-md); }
.cf-webform-alert:focus { outline: 3px solid var(--accent); outline-offset: 2px; }

.cf-webform-done { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; margin-bottom: 1.4rem; border-radius: var(--r-md); background: var(--sage); border: 1px solid var(--leaf); }
.cf-webform-done:focus { outline: 3px solid var(--leaf); outline-offset: 2px; }
.cf-webform-done h3 { font-size: 1.25rem; margin: .1rem 0 .3rem; }
.cf-webform-wrap { scroll-margin-top: 90px; }
[data-bs-theme="dark"] .cf-choices input:checked + label { color: #fff; }

@media (max-width: 575.98px) {
    .cf-webform-head { flex-direction: column; }
    .cf-webform-submit .cf-btn { width: 100%; justify-content: center; }
}

.cf-webform-section + .cf-webform-section { margin-top: 1.4rem; }
.cf-consent .form-check-input { border-width: 2px; border-color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Intake form - household list "Who lives in your home" (Oct 21 2026):
   one card per person (name, date of birth, NS Health Card yes/no)
   -------------------------------------------------------------------------- */
.cf-members { border: 0; padding: 0; margin: 0; min-width: 0; }
.cf-members + .cf-members { margin-top: 1.6rem; }
.cf-members-title { float: none; width: auto; display: flex; align-items: center; gap: .55rem; font-size: 1.08rem; margin-bottom: .35rem; }
.cf-members-title i { color: var(--brand); }
.cf-members-note {
    display: flex; gap: .65rem; align-items: flex-start;
    margin: .1rem 0 .9rem; padding: .7rem .95rem; border-radius: var(--r-md);
    background: var(--butter-soft); color: var(--ink); font-size: .93rem;
}
.cf-members-note i { color: var(--accent-ink); margin-top: .2rem; }
.cf-members.is-invalid > .invalid-feedback { margin: -.3rem 0 .7rem; font-weight: 600; }
.cf-members-list { display: grid; gap: .8rem; }
.cf-member {
    position: relative; min-width: 0; margin: 0;
    padding: .85rem 1rem 1rem; border-radius: var(--r-md);
    background: var(--surface-2); border: 1px solid var(--line);
}
.cf-member[hidden], .cf-member-add[hidden], .cf-member-remove[hidden], .cf-members-full[hidden] { display: none !important; }
.cf-member-title { float: left; width: 100%; min-height: 32px; display: flex; align-items: center; gap: .3rem; padding: 0 6.5rem 0 0; margin: 0 0 .35rem; font-size: .98rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.cf-member-title + * { clear: left; }
.cf-member-title small { font-weight: 500; color: var(--ink-soft); }
.cf-member .form-label { font-size: .93rem; }
.cf-member .form-control { background-color: var(--surface); }
.cf-member .cf-choices label { min-width: 76px; justify-content: center; }
.cf-member-hc.is-invalid .cf-choices label { border-color: var(--bs-form-invalid-border-color, #dc3545); }
.cf-member-hc.is-invalid > .invalid-feedback { display: block; }
.cf-member-remove {
    position: absolute; top: .8rem; right: .75rem;
    display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; padding: .2rem .45rem;
    border: 0; border-radius: var(--r-md); background: none;
    font-size: .88rem; color: var(--ink-soft); text-decoration: underline;
}
.cf-member-remove:hover { color: var(--ink); }
.cf-member-add {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: .85rem;
    min-height: 44px; padding: .55rem 1.15rem; border-radius: 999px;
    border: 1.5px dashed var(--line-strong); background: transparent;
    font-weight: 600; color: var(--ink);
}
.cf-member-add:hover { border-color: var(--brand); color: var(--brand); }
.cf-members-full { margin-top: .85rem; color: var(--ink-soft); }
.cf-members .invalid-feedback { color: #b02a37; }                       /* darker red: 4.5:1+ on the cream/white cards */
[data-bs-theme="dark"] .cf-members .invalid-feedback { color: var(--bs-form-invalid-color); }
.cf-consent .invalid-feedback, .cf-consent .is-invalid ~ .form-check-label { color: #b02a37; }
[data-bs-theme="dark"] .cf-consent .invalid-feedback, [data-bs-theme="dark"] .cf-consent .is-invalid ~ .form-check-label { color: var(--bs-form-invalid-color); }

/* ==========================================================================
   COMMUNITY GARDEN (Nov 2026) - /community-garden page + Food Bank garden photo
   Facts from Janice Ross; photos from Dianne's Facebook posts.
   ========================================================================== */
.cf-garden-facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.cf-garden-facts li { display: flex; gap: .8rem; align-items: center; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.cf-garden-facts .cf-icon-badge { flex: none; }
.cf-garden-facts strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.cf-garden-facts span:not(.cf-icon-badge) { display: block; font-size: .9rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 420px) { .cf-garden-facts { grid-template-columns: 1fr; } }

.cf-garden-mosaic { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; }
.cf-garden-mosaic .cf-shot { margin: 0; height: 100%; width: 100%; border-radius: var(--r-md); }
.cf-garden-mosaic .cf-shot img { width: 100%; height: 100%; object-fit: cover; }
.cf-garden-shot.is-1 { grid-row: 1 / 3; }
.cf-garden-shot.is-4 { grid-column: 2 / 4; }
.cf-garden-shot.is-4 img { object-position: center 62%; }
.cf-garden-shot.is-3 img { object-position: center 40%; }
@media (max-width: 575.98px) {
    .cf-garden-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px 180px; gap: 10px; }
    .cf-garden-shot.is-1 { grid-row: auto; grid-column: 1 / 3; }
    .cf-garden-shot.is-4 { grid-column: 1 / 3; }
    .cf-garden-mosaic .cf-shot { margin: 0; }
}

.cf-garden-step { position: relative; }
.cf-garden-step h3 { font-size: 1.25rem; margin: 1rem 0 .4rem; }
.cf-garden-step p { margin: 0; color: var(--ink-soft); }
.cf-garden-step-num { position: absolute; top: 1rem; right: 1.3rem; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--line-strong); }
.cf-garden-row { color: var(--ink-soft); }
.cf-garden-row i { color: var(--accent); margin-right: .3rem; }

.cf-garden-closed { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r-md); background: var(--surface-2); border: 1px dashed var(--line-strong); }
.cf-garden-closed .cf-icon-badge { flex: none; }
.cf-garden-closed h3 { font-size: 1.25rem; margin: .2rem 0 .4rem; }

/* Food Bank page: garden photo in place of the illustration */
.cf-illus-frame.cf-garden-photo { padding: 0; background: none; }
.cf-garden-photo img { aspect-ratio: 4 / 3.3; object-fit: cover; object-position: center 55%; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }

/* ==========================================================================
   DROP-DOWN MENUS (Nov 9 2026) - Food Bank + Muriel's Closet
   header*.php draws them from cfrnNavChildren() in config.php; JS section 9.
   ========================================================================== */
.cf-dd { position: relative; }
.cf-dd-toggle { background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.cf-dd-caret { font-size: .62em; opacity: .75; transition: transform .2s ease; }
.cf-dd.is-open .cf-dd-caret { transform: rotate(180deg); }
.cf-dd-menu { display: none; list-style: none; margin: 0; padding: .45rem; }
.cf-dd.is-open > .cf-dd-menu { display: block; }
html:not(.cf-js) .cf-dd:hover > .cf-dd-menu,
html:not(.cf-js) .cf-dd:focus-within > .cf-dd-menu { display: block; }   /* still usable without JavaScript */
.cf-dd-link {
    display: flex; align-items: center; gap: .75rem;
    padding: .62rem .9rem; border-radius: 12px;
    color: var(--ink); font-weight: 600; font-size: .96rem;
    text-decoration: none; white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.cf-dd-link i { width: 18px; text-align: center; color: var(--accent); }
.cf-dd-link:hover, .cf-dd-link:focus-visible { background: var(--sage); color: var(--brand); }
.cf-dd-link.active { background: var(--sage); color: var(--brand); }
.cf-dd-link.active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: auto; }
@media (min-width: 992px) {
    .cf-dd-menu {
        position: absolute; top: calc(100% + .55rem); left: 50%; transform: translateX(-50%);
        min-width: 265px; z-index: 1060;
        background: var(--surface); border: 1px solid var(--line);
        border-radius: 18px; box-shadow: var(--shadow-lg);
    }
    .cf-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.75rem; height: .75rem; }   /* hover bridge */
}
@media (max-width: 991.98px) {
    .cf-offcanvas .cf-dd-toggle { width: 100%; text-align: left; }
    .cf-offcanvas .cf-dd-caret { margin-left: auto; font-size: .8rem; }
    .cf-offcanvas .cf-dd-menu { padding: .15rem 0 .5rem 2.4rem; }
    .cf-offcanvas .cf-dd-link { font-size: 1rem; padding: .6rem .85rem; }
    html:not(.cf-js) .cf-dd-menu { display: block; }
}

/* "More from the Food Bank / Muriel's Closet" links at the bottom of those pages */
.cf-more { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.cf-more-title { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 1.1rem; }
.cf-more-card {
    display: flex; align-items: center; gap: 1rem; height: 100%;
    padding: 1.1rem 1.2rem; border-radius: var(--r-md);
    background: var(--surface); border: 1px solid var(--line);
    color: var(--ink); text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cf-more-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.cf-more-card .cf-icon-badge { flex: none; }
.cf-more-card strong { display: block; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.2; }
.cf-more-card small { display: block; color: var(--ink-soft); font-size: .9rem; line-height: 1.35; margin-top: .15rem; }
.cf-more-card > .fa-arrow-right { margin-left: auto; color: var(--accent); transition: transform .2s ease; }
.cf-more-card:hover > .fa-arrow-right { transform: translateX(3px); }

/* Drop-down menus: a little space between items so highlighted ones don't touch (Nov 9 2026) */
.cf-dd-menu > li + li { margin-top: .3rem; }

/* Logo: "RESOURCE NETWORK" spans the same width as "NQ Community Food" (Nov 9 2026, after "NQ" was added).
   Wider letter-spacing at every size; the negative margin cancels the space after the last letter.
   The 992-1199px rule above shrinks the line for the header only, so the footer logo stays even too. */
.cf-brand-sub { letter-spacing: .319em; margin-right: -.319em; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .cf-brand-footer .cf-brand-sub { font-size: .74rem; }
}

/* ==========================================================================
   MEGA-MENUS (Nov 9 2026) - Food Bank + Muriel's Closet drop-downs
   Desktop: a wide panel under the menu bar - photo panel on the left
   (cfrnNavFeatures in config.php), pages in two columns with icon tiles
   and one-line descriptions (cfrnNavChildren). Phones: the photo and the
   descriptions are hidden, so the list stays short inside the menu panel.
   ========================================================================== */
.cf-mega-list { list-style: none; margin: 0; padding: 0; }
.cf-dd-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; }
.cf-dd-ico i { width: auto; }
.cf-dd-text { display: flex; flex-direction: column; min-width: 0; }
.cf-dd-desc { display: none; }
.cf-mega-feature { display: none; }

@media (max-width: 991.98px) {
    .cf-mega-list > li + li { margin-top: .3rem; }
}

@media (min-width: 992px) {
    .cf-dd { position: static; }   /* the panel lines up with the menu bar, not the button */
    .cf-dd-menu.cf-mega {
        transform: none; min-width: 0; padding: 0;
        border-radius: 24px; overflow: hidden;
    }
    .cf-dd.is-open > .cf-mega,
    html:not(.cf-js) .cf-dd:hover > .cf-mega,
    html:not(.cf-js) .cf-dd:focus-within > .cf-mega {
        display: grid; grid-template-columns: minmax(300px, 32%) 1fr;
    }
    .cf-mega::before { display: none; }

    /* Photo panel */
    .cf-mega-feature {
        position: relative; display: flex; align-items: flex-end;
        min-height: 300px; color: #fff; background: #1b2a22; isolation: isolate; overflow: hidden;
    }
    .cf-mega-feature img {
        position: absolute; inset: 0; z-index: -2;
        width: 100%; height: 100%; object-fit: cover;
        transition: transform 6s ease;
    }
    .cf-dd.is-open .cf-mega-feature img { transform: scale(1.04); }
    .cf-mega-feature::after {
        content: ""; position: absolute; inset: 0; z-index: -1;
        background: linear-gradient(180deg, rgba(10, 20, 15, .08) 0%, rgba(10, 20, 15, .5) 38%, rgba(10, 20, 15, .9) 100%);
    }
    .cf-mega-feature-body { padding: 1.9rem 2rem 2rem; }
    .cf-mega-title { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .55rem; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
    .cf-mega-text { font-size: .98rem; line-height: 1.45; margin: 0 0 1.2rem; color: rgba(255, 255, 255, .92); }
    .cf-mega-cta {
        display: inline-flex; align-items: center; gap: .55rem;
        padding: .7rem 1.25rem; border-radius: 999px;
        background: #fff; color: #17261e; font-weight: 700; font-size: .95rem;
        text-decoration: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .cf-mega-cta:hover, .cf-mega-cta:focus-visible { color: #17261e; transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55); }
    .cf-mega-cta i { transition: transform .2s ease; }
    .cf-mega-cta:hover i { transform: translateX(3px); }
    .cf-mega-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

    /* Page links */
    .cf-mega-list {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
        align-content: center; gap: .5rem 1.25rem;
        padding: 1.75rem 2rem;
    }
    .cf-mega .cf-dd-link {
        align-items: flex-start; gap: 1rem;
        padding: .9rem 1rem; border-radius: 16px;
        white-space: normal;
    }
    .cf-mega .cf-dd-ico {
        width: 48px; height: 48px; border-radius: 14px;
        font-size: 1.15rem; background: var(--tomato-soft); color: var(--accent);
        transition: transform .2s ease, background-color .2s ease, color .2s ease;
    }
    .cf-mega .cf-dd-ico i { color: inherit; width: auto; }
    .cf-mega .cf-dd-link:hover .cf-dd-ico,
    .cf-mega .cf-dd-link:focus-visible .cf-dd-ico,
    .cf-mega .cf-dd-link.active .cf-dd-ico { background: var(--accent); color: #fff; transform: scale(1.04); }
    .cf-mega .cf-dd-text { padding-top: .1rem; }
    .cf-mega .cf-dd-label { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.2; color: var(--ink); }
    .cf-mega .cf-dd-desc { display: block; margin-top: .2rem; font-weight: 400; font-size: .93rem; line-height: 1.4; color: var(--ink-soft); }
    .cf-mega .cf-dd-link.active::after { align-self: center; flex: none; }

    /* Gentle open */
    .cf-dd.is-open > .cf-mega { animation: cfMegaIn .22s var(--ease-out) both; }
    @keyframes cfMegaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    .cf-dd.is-open > .cf-mega { animation: none; }
    .cf-dd.is-open .cf-mega-feature img { transform: none; }
}
html.cf-motion-paused .cf-dd.is-open > .cf-mega { animation: none; }
html.cf-motion-paused .cf-dd.is-open .cf-mega-feature img { transform: none; }

/* V1 placement + Muriel's Closet plum tiles */
@media (min-width: 992px) {
    .cf-navbar > .container { position: relative; }
    .cf-dd-menu.cf-mega {
        top: calc(100% + .7rem);
        left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5);
    }
    .cf-dd-toggle::after { content: ""; position: absolute; left: -.5rem; right: -.5rem; top: 100%; height: 2.4rem; display: none; }   /* hover bridge down to the panel */
    .cf-dd.is-open > .cf-dd-toggle { position: relative; }
    .cf-dd.is-open > .cf-dd-toggle::after { display: block; }
    .cf-dd-closet .cf-mega .cf-dd-ico { background: var(--plum-soft); color: var(--closet); }
    .cf-dd-closet .cf-mega .cf-dd-link:hover .cf-dd-ico,
    .cf-dd-closet .cf-mega .cf-dd-link:focus-visible .cf-dd-ico,
    .cf-dd-closet .cf-mega .cf-dd-link.active .cf-dd-ico { background: var(--closet); color: #fff; }
}
[data-bs-theme="dark"] .cf-dd-closet .cf-mega .cf-dd-link:hover .cf-dd-ico,
[data-bs-theme="dark"] .cf-dd-closet .cf-mega .cf-dd-link:focus-visible .cf-dd-ico,
[data-bs-theme="dark"] .cf-dd-closet .cf-mega .cf-dd-link.active .cf-dd-ico,
[data-bs-theme="dark"] .cf-mega .cf-dd-link:hover .cf-dd-ico,
[data-bs-theme="dark"] .cf-mega .cf-dd-link:focus-visible .cf-dd-ico,
[data-bs-theme="dark"] .cf-mega .cf-dd-link.active .cf-dd-ico { color: #0e1512; }

/* ==========================================================================
   PHOTO PAGES (Nov 9 2026) - Donate food, Donating to Muriel's Closet, Events
   Food photos: img/web + img/thumb food-*.jpg (from designdocs/).
   Events illustration: img/gen/community-events.svg.
   ========================================================================== */
/* Most-needed items, now on a light background */
.cf-needs.is-light { list-style: none; margin: 0; padding: 0; }
.cf-needs.is-light .cf-need {
    background: var(--surface); border: 1px solid var(--line);
    color: var(--ink); box-shadow: var(--shadow-xs);
}
.cf-needs.is-light .cf-need:hover { background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.cf-need-ico {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 11px; font-size: .95rem;
}
.cf-needs.is-light .cf-need i { color: inherit; width: auto; }

/* Two overlapping photos with a pill label (Grow a row) */
.cf-photo-pair { position: relative; height: clamp(380px, 42vw, 520px); }
.cf-photo-pair figure { position: absolute; margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.cf-photo-pair img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cf-photo-pair figure:hover img { transform: scale(1.05); }
.cf-photo-pair-1 { left: 0; top: 0; width: 58%; height: 86%; border-top-left-radius: 110px !important; z-index: 1; }
.cf-photo-pair-2 { right: 0; bottom: 0; width: 50%; height: 68%; z-index: 2; border: 6px solid var(--bg-alt); border-bottom-right-radius: 80px !important; }
.cf-photo-pair-tag {
    position: absolute; left: 5%; bottom: 3%; z-index: 3;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .65rem 1.1rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
    color: var(--ink); font-weight: 600; font-size: .92rem;
}

.cf-tick-list { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .65rem; }
.cf-tick-list li { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; color: var(--ink); }
.cf-tick-list i { margin-top: .28rem; }

/* Four photos with captions (Donating to Muriel's Closet) */
.cf-photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 2.75rem; }
.cf-photo-strip figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cf-photo-strip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cf-photo-strip figure:hover img { transform: scale(1.05); }
.cf-photo-strip figcaption {
    position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
    padding: .35rem .8rem; border-radius: 999px;
    background: rgba(255, 255, 255, .95); color: #17261e;
    font-size: .82rem; font-weight: 600; line-height: 1.3;
}
@media (max-width: 767.98px) {
    .cf-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cf-photo-pair { height: 400px; }
}
@media (prefers-reduced-motion: reduce) {
    .cf-photo-pair figure:hover img, .cf-photo-strip figure:hover img { transform: none; }
}

/* V1 colours: tomato / sage / butter tiles, leaf ticks */
.cf-need-ico { background: var(--tomato-soft); color: var(--accent); }
.cf-needs.is-light .cf-need:nth-child(3n+2) .cf-need-ico { background: var(--sage); color: var(--brand); }
.cf-needs.is-light .cf-need:nth-child(3n) .cf-need-ico { background: var(--butter-soft); color: #9a6a00; }
[data-bs-theme="dark"] .cf-needs.is-light .cf-need:nth-child(3n) .cf-need-ico { color: var(--butter); }
.cf-photo-pair-tag i { color: var(--accent); }
.cf-tick-list i { color: var(--leaf); }
[data-bs-theme="dark"] .cf-tick-list i { color: var(--brand); }

/* Events page: framed illustration with a floating badge */
.cf-art-hero { position: relative; }
.cf-art-hero img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.cf-art-hero-badge {
    position: absolute; right: -14px; bottom: -20px; z-index: 2;
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1.1rem; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    animation: cfBob 6s ease-in-out infinite;
}
.cf-art-hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.05; color: var(--ink); }
.cf-art-hero-badge span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 575.98px) { .cf-art-hero-badge { right: 10px; bottom: -16px; } }
@media (prefers-reduced-motion: reduce) { .cf-art-hero-badge { animation: none; } }
html.cf-motion-paused .cf-art-hero-badge { animation: none; }

/* Mega-menu: more definition (Nov 10 2026)
   The photo panel was exactly as wide as the home page's first photo (building.jpg) and sat
   flush with it, so the two read as one picture. Now the photo is a framed card inset inside
   the white panel, narrower than the column below, and the panel has a firmer edge + shadow. */
@media (min-width: 992px) {
    .cf-dd-menu.cf-mega { padding: 12px; border: 1px solid var(--line-strong); }
    .cf-dd.is-open > .cf-mega,
    html:not(.cf-js) .cf-dd:hover > .cf-mega,
    html:not(.cf-js) .cf-dd:focus-within > .cf-mega { grid-template-columns: minmax(260px, 26%) 1fr; }
    .cf-mega-feature { min-height: 280px; border-radius: 16px; }
    .cf-mega-feature-body { padding: 1.6rem 1.7rem 1.7rem; }
    .cf-mega-title { font-size: 1.7rem; }
    .cf-mega-list { padding: 1.4rem 1.6rem 1.4rem 2rem; }
}
@media (min-width: 992px) {
    .cf-dd-menu.cf-mega {
        box-shadow: 0 2px 4px rgba(23, 38, 30, .06), 0 14px 28px -10px rgba(23, 38, 30, .22), 0 40px 80px -24px rgba(23, 38, 30, .38);
    }
    [data-bs-theme="dark"] .cf-dd-menu.cf-mega {
        box-shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 14px 28px -10px rgba(0, 0, 0, .55), 0 40px 80px -24px rgba(0, 0, 0, .75);
    }
}
