/* ==========================================================================
   Chiweto — public website design system
   --------------------------------------------------------------------------
   Hand-authored (NOT compiled by laravel-mix). Loaded only by
   resources/views/layouts/website.blade.php, so the SMS portal and auth
   screens that depend on css/site.css are unaffected.

   Layer order: bootstrap 5 (grid + utilities) -> fontawesome -> this file.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand green — derived from the existing Chiweto marks (#77a75c / #5f963b).
       500 is the legacy brand tone; 600/700 are the accessible text + button
       tones (>= 4.5:1 on white). */
    --brand-50:  #f2f8ed;
    --brand-100: #e3f0d9;
    --brand-200: #c7e1b4;
    --brand-300: #a5cf8b;
    --brand-400: #85ba66;
    --brand-500: #5f963b;
    --brand-600: #4a7a2c;
    --brand-700: #3a6023;
    --brand-800: #2e4c1d;
    --brand-900: #1f3313;

    /* Neutrals */
    --ink-900: #0b1220;
    --ink-800: #111a2b;
    --ink-700: #1f2b3e;
    --ink-600: #334155;
    --ink-500: #4b5b70;
    --ink-400: #6b7a8f;
    --ink-300: #94a3b8;
    --ink-200: #dbe2ea;
    --ink-100: #eef2f7;
    --ink-50:  #f6f8fb;
    --white:   #ffffff;

    /* Support */
    --accent-600: #b06b06;
    --accent-100: #fdf1dc;
    --danger-600: #c62828;
    --danger-50:  #fdecec;
    --success-600: #1f7a45;
    --success-50: #e9f7ef;

    /* Dark brand surfaces — inverted sections and the footer are green, not
       navy, so the whole page reads as one palette. Kept separate from the
       --ink-* neutrals, which still drive body text and the Play Store badge. */
    --forest-900: #16250f;
    --forest-800: #1e3115;
    --forest-700: #27401c;
    --on-invert:        #e9f1e2;
    --on-invert-muted:  #bcd0ac;
    --on-invert-faint:  #93aa82;

    /* Semantic */
    --surface:        var(--white);
    --surface-muted:  var(--ink-50);
    --surface-invert: var(--forest-800);
    --text:           var(--ink-900);
    --text-muted:     var(--ink-500);
    --border:         var(--ink-200);
    --ring:           var(--brand-600);

    /* Type */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Elevation — one consistent scale, no ad-hoc shadows */
    --e-1: 0 1px 2px rgba(11, 18, 32, .05);
    --e-2: 0 2px 6px rgba(11, 18, 32, .06), 0 1px 2px rgba(11, 18, 32, .04);
    --e-3: 0 10px 24px rgba(11, 18, 32, .08), 0 2px 6px rgba(11, 18, 32, .04);
    --e-4: 0 22px 48px rgba(11, 18, 32, .12), 0 4px 12px rgba(11, 18, 32, .06);

    /* Motion */
    --dur-fast: 150ms;
    --dur: 220ms;
    --ease-out: cubic-bezier(.22, .8, .3, 1);

    /* Layout */
    --nav-h: 74px;
    --section-y: clamp(4rem, 8vw, 7rem);

    /* Z-index scale */
    --z-nav: 1030;
    --z-overlay: 1040;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
    color: var(--ink-900);
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.65rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--brand-700);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--brand-800); text-decoration: underline; }

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

/* Visible focus everywhere — never removed */
:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection { background: var(--brand-200); color: var(--brand-900); }

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: var(--z-overlay);
    background: var(--brand-700);
    color: var(--white);
    padding: .75rem 1.25rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 16px; color: var(--white); text-decoration: none; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--muted { background: var(--surface-muted); }
.section--invert { background: var(--surface-invert); color: var(--on-invert); }
.section--invert h1,
.section--invert h2,
.section--invert h3 { color: var(--white); }
.section--invert p { color: var(--on-invert-muted); }

/* Minimum inline padding is 1.5rem on purpose: Bootstrap's .row applies a
   negative margin of half the gutter, and `g-5` is 3rem — so anything less
   than 24px here lets rows poke past the viewport and cause a sideways scroll. */
.shell {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 4vw, 2rem);
}
.shell--narrow { max-width: 820px; }

/* Section heading block */
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 60ch;
}
.section-head--center p { margin-inline: auto; }

.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: 1rem;
}
.section--invert .eyebrow { color: var(--brand-300); }

.lede {
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    color: var(--text-muted);
    max-width: 60ch;
}
.section--invert .lede { color: var(--on-invert-muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-brand,
.btn-ghost,
.btn-invert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;              /* touch target */
    padding: .75rem 1.5rem;
    border-radius: var(--r-md);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background-color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out),
                box-shadow var(--dur) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
}
.btn-brand:hover, .btn-ghost:hover, .btn-invert:hover { text-decoration: none; }
.btn-brand:active, .btn-ghost:active, .btn-invert:active { transform: translateY(1px); }

.btn-brand {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: var(--white);
    box-shadow: var(--e-2);
}
.btn-brand:hover { background: var(--brand-700); border-color: var(--brand-700); color: var(--white); box-shadow: var(--e-3); }

.btn-ghost {
    background: var(--white);
    border-color: var(--border);
    color: var(--ink-800);
}
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }

.btn-invert {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
    color: var(--white);
}
.btn-invert:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); color: var(--white); }

/* Over a photograph the translucent white fill alone can land on a bright patch,
   so give the label its own dark backing and a stronger border. */
.hero--photo .btn-invert,
.cta-band--photo .btn-invert {
    background: rgba(12, 22, 8, .48);
    border-color: rgba(255, 255, 255, .45);
}
.hero--photo .btn-invert:hover,
.cta-band--photo .btn-invert:hover {
    background: rgba(12, 22, 8, .68);
    border-color: var(--white);
}

.btn-lg { min-height: 54px; padding: .9rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-brand[disabled], .btn-brand:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* Text link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    font-size: .9375rem;
    min-height: 44px;
}
.link-arrow i { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-nav);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-nav.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: var(--e-1);
}
.site-nav .navbar { padding: 0; min-height: var(--nav-h); }
.site-nav .navbar-brand { padding: 0; margin: 0; display: inline-flex; align-items: center; }
.site-nav .navbar-brand img { width: 128px; height: auto; }

.site-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem .9rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink-600);
    border-radius: var(--r-sm);
    transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.site-nav .nav-link:hover { color: var(--brand-700); background: var(--brand-50); text-decoration: none; }

/* Active state uses weight + colour + underline bar, not colour alone */
.site-nav .nav-link.is-active { color: var(--brand-700); font-weight: 700; }
.site-nav .nav-link.is-active::after {
    content: '';
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-500);
}

.site-nav .navbar-toggler {
    min-width: 48px;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--ink-700);
    font-size: 1.15rem;
    background: var(--white);
}
.site-nav .navbar-toggler:focus { box-shadow: none; }

.nav-cta { margin-left: .75rem; }

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        padding: .75rem 0 1.25rem;
        border-top: 1px solid var(--border);
        margin-top: .5rem;
    }
    .site-nav .nav-link { width: 100%; padding-inline: .75rem; }
    .site-nav .nav-link.is-active::after { left: .75rem; right: auto; width: 20px; }
    .nav-cta { margin-left: 0; margin-top: .75rem; display: block; }
    .nav-cta .btn-brand { width: 100%; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 88% -8%, var(--brand-100) 0%, rgba(242, 248, 237, 0) 62%),
        radial-gradient(700px 420px at -6% 8%, #eef4fb 0%, rgba(238, 244, 251, 0) 60%),
        var(--white);
    /* Less bottom padding: the stats band that follows brings its own. */
    padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
}
.hero::after {
    /* subtle grid texture */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ink-100) 1px, transparent 1px),
        linear-gradient(90deg, var(--ink-100) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
            mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 78%);
    opacity: .55;
    pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { margin-bottom: 2rem; }

/* --- Photo variant: full-bleed banner ------------------------------------
   Image comes from --hero-image, set inline so asset() resolves the URL.
   The overlay stays near-opaque across the left two thirds, where the copy
   sits, and only thins out over the empty right side of the photograph. */
.hero--photo {
    background-image:
        linear-gradient(100deg,
            rgba(18, 33, 11, .94) 0%,
            rgba(24, 43, 15, .90) 40%,
            rgba(31, 51, 19, .78) 62%,
            rgba(46, 76, 29, .44) 100%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center 26%;
    background-repeat: no-repeat;
    padding-block: clamp(4.5rem, 9vw, 7.5rem);
    color: var(--ink-200);
}
.hero--photo::after { display: none; }          /* no grid texture over a photo */

.hero--photo h1 { color: var(--white); }
.hero--photo .lede { color: rgba(255, 255, 255, .88); }
.hero--photo .eyebrow { color: var(--brand-300); }

.hero-content { max-width: 40rem; }

@media (max-width: 991.98px) {
    /* Portrait crops push the subject off-centre, so darken uniformly. */
    .hero--photo {
        background-image:
            linear-gradient(180deg,
                rgba(18, 33, 11, .92) 0%,
                rgba(31, 51, 19, .90) 100%),
            var(--hero-image, none);
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

/* Page hero for interior pages */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(800px 400px at 82% -20%, var(--brand-100) 0%, rgba(242, 248, 237, 0) 65%),
        var(--surface-muted);
    padding-block: clamp(3rem, 6vw, 4.75rem);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 1rem; }

/* Trust chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .85rem;
    border-radius: var(--r-pill);
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    color: var(--brand-800);
    font-size: .8125rem;
    font-weight: 600;
}
.pill i { font-size: .75rem; color: var(--brand-600); }
.pill--neutral { background: var(--ink-100); border-color: var(--ink-200); color: var(--ink-700); }
.pill--neutral i { color: var(--ink-500); }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
/* Height is deliberately NOT forced here — .c-card is used both in equal-height
   grids (add Bootstrap's .h-100) and stacked on its own, where 100% would push
   any sibling card out of the column. */
.c-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    box-shadow: var(--e-1);
    transition: box-shadow var(--dur) var(--ease-out),
                border-color var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out);
}
.c-card--hover:hover {
    box-shadow: var(--e-3);
    border-color: var(--brand-200);
    transform: translateY(-3px);
}
.c-card h3 { margin-bottom: .5rem; }
.c-card p { color: var(--text-muted); font-size: .9375rem; }

/* Card sitting on a .section--invert background */
.c-card--on-invert {
    background: var(--forest-700);
    border-color: rgba(255, 255, 255, .13);
    box-shadow: none;
}
.c-card--on-invert h3 { color: var(--white); }
.c-card--on-invert p { color: var(--on-invert-muted); }
.c-card--on-invert .c-icon {
    background: rgba(255, 255, 255, .1);
    color: var(--brand-300);
}

/* Whole-card link: stretched hit area, keyboard focus stays on the anchor */
.c-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.c-icon {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.c-card--hover:hover .c-icon { background: var(--brand-600); color: var(--white); }
.c-icon--ink { background: var(--ink-100); color: var(--ink-700); }

/* Feature list inside cards */
.tick-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.tick-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .6rem;
    font-size: .9375rem;
    color: var(--ink-600);
}
.tick-list li:last-child { margin-bottom: 0; }
.tick-list li i {
    position: absolute;
    left: 0;
    top: .3rem;
    color: var(--brand-600);
    font-size: .8125rem;
}

/* --------------------------------------------------------------------------
   8. Product / app cards
   -------------------------------------------------------------------------- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--e-1);
    transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.product-card:hover { box-shadow: var(--e-3); transform: translateY(-3px); }
.product-card__top {
    padding: 2rem 1.75rem 1.5rem;
    background: linear-gradient(160deg, var(--brand-50), var(--white));
    border-bottom: 1px solid var(--border);
}
.product-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.product-card__body p { color: var(--text-muted); font-size: .9375rem; }
.product-card__foot { margin-top: auto; padding-top: 1.5rem; }

.badge-soft {
    display: inline-block;
    padding: .3rem .7rem;
    border-radius: var(--r-pill);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.badge-soft--live { background: var(--success-50); color: var(--success-600); }
.badge-soft--soon { background: var(--accent-100); color: var(--accent-600); }

/* Google Play button */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 48px;
    padding: .6rem 1.15rem;
    border-radius: var(--r-md);
    background: var(--ink-900);
    color: var(--white);
    transition: background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.store-btn:hover { background: var(--ink-700); color: var(--white); text-decoration: none; box-shadow: var(--e-2); }
.store-btn i { font-size: 1.5rem; }
.store-btn small { display: block; font-size: .625rem; line-height: 1.2; opacity: .75; letter-spacing: .04em; }
.store-btn strong { display: block; font-size: .875rem; line-height: 1.2; font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Team
   -------------------------------------------------------------------------- */
.team-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--e-1);
    transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.team-card:hover { box-shadow: var(--e-3); transform: translateY(-3px); }
/* White backing: the portraits are cut-outs on white/transparent backgrounds,
   so a tinted panel would show a visible edge on the opaque ones. */
.team-card__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
/* Fallback for members without a portrait: brand-tinted initials rather than a
   stock avatar, which never matches the real photography. */
.team-card__initials {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, var(--brand-50), var(--brand-100));
    color: var(--brand-700);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: .02em;
}

.team-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.team-card__body h3 { font-size: 1.0625rem; margin-bottom: .2rem; }
.team-card__role {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--brand-700);
    margin-bottom: .75rem;
    letter-spacing: .01em;
}
.team-card__bio { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.team-card__links { margin-top: auto; display: flex; gap: .35rem; }
.team-card__links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--r-sm);
    background: var(--ink-100);
    color: var(--ink-600);
    font-size: .875rem;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.team-card__links a:hover { background: var(--brand-600); color: var(--white); }

/* --------------------------------------------------------------------------
   11. Gallery
   -------------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.gallery figure {
    margin: 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink-100);
    aspect-ratio: 4 / 3;
    box-shadow: var(--e-1);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.is-tall { aspect-ratio: 4 / 5; }

@media (min-width: 768px) {
    .gallery--feature { grid-template-columns: repeat(4, 1fr); }
    .gallery--feature figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* --------------------------------------------------------------------------
   11b. Vision / mission statement band
   Deliberately un-boxed: these are declarations, not features, so they get
   display-scale type and a dividing rule rather than card chrome.
   -------------------------------------------------------------------------- */
.statement { background: var(--brand-50); }

.statement-grid {
    display: grid;
    gap: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--brand-200);
}

.statement__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-700);
    margin-bottom: 1rem;
}

.statement__text {
    font-size: clamp(1.25rem, 2.1vw, 1.625rem);
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: -.015em;
    color: var(--ink-900);
    margin: 0;
    max-width: 34ch;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .statement-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: start;
    }
    .statement__item { padding-right: clamp(2rem, 4vw, 3.5rem); }
    .statement__item + .statement__item {
        padding-right: 0;
        padding-left: clamp(2rem, 4vw, 3.5rem);
        border-left: 1px solid var(--brand-200);
    }
}

/* --------------------------------------------------------------------------
   12. Split / alternating rows
   -------------------------------------------------------------------------- */
.split-media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--e-3);
    aspect-ratio: 4 / 3;
    background: var(--ink-100);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* For source images that are already letterbox-wide — avoids a heavy crop. */
.split-media--wide { aspect-ratio: 16 / 9; }

.step-num {
    flex: none;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--r-pill);
    background: var(--brand-600);
    color: var(--white);
    font-weight: 700;
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   13. CTA banner — full-bleed, edge to edge
   -------------------------------------------------------------------------- */
.cta-band {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background: linear-gradient(135deg, var(--brand-800) 0%, var(--brand-600) 55%, var(--brand-700) 100%);
    color: var(--white);
}
.cta-band::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 52ch; }
.cta-band .shell { position: relative; z-index: 1; }

/* Photo variant. The image comes from --cta-image, set inline so the asset()
   helper resolves the URL. The gradient above it is deliberately heavy: white
   text has to clear 4.5:1 over every part of the photograph. */
.cta-band--photo {
    background-image:
        linear-gradient(105deg,
            rgba(24, 43, 15, .95) 0%,
            rgba(31, 51, 19, .90) 42%,
            rgba(46, 76, 29, .74) 100%),
        var(--cta-image, none);
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
}
.cta-band--photo::after { display: none; }

@media (max-width: 991.98px) {
    /* Portrait viewports crop the photo hard, so lean further on the overlay. */
    .cta-band--photo {
        background-image:
            linear-gradient(180deg,
                rgba(24, 43, 15, .93) 0%,
                rgba(31, 51, 19, .90) 100%),
            var(--cta-image, none);
    }
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 1.25rem; }
.field label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: .4rem;
}
.field .req { color: var(--danger-600); margin-left: .15rem; }

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;               /* touch target */
    padding: .75rem .95rem;
    font-family: inherit;
    font-size: 1rem;                /* 16px — prevents iOS auto-zoom */
    color: var(--ink-900);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 4px var(--brand-100);
}

.field .help { display: block; margin-top: .4rem; font-size: .8125rem; color: var(--text-muted); }

.field .error {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    margin-top: .4rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--danger-600);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger-600); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px var(--danger-50); }

/* Honeypot — hidden from humans, reachable by bots */
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.alert-note {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.15rem;
    border-radius: var(--r-md);
    font-size: .9375rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}
.alert-note i { margin-top: .2rem; flex: none; }
.alert-note--success { background: var(--success-50); border-color: #bfe3cd; color: #14532d; }
.alert-note--error { background: var(--danger-50); border-color: #f2c4c4; color: #7f1d1d; }

/* Contact detail rows */
.contact-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row > i {
    flex: none;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
}
.contact-row h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: .2rem; font-weight: 700; }
.contact-row p, .contact-row a { font-size: 1rem; color: var(--ink-800); font-weight: 500; margin: 0; }
.contact-row a:hover { color: var(--brand-700); }

.map-embed {
    border: 0;
    width: 100%;
    height: 340px;
    border-radius: var(--r-lg);
    display: block;
    filter: saturate(.9);
}

/* --------------------------------------------------------------------------
   15. FAQ (native disclosure — keyboard accessible by default)
   -------------------------------------------------------------------------- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--white);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    min-height: 56px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
    transition: background-color var(--dur-fast) var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--brand-50); }
.faq-item summary i { flex: none; color: var(--brand-600); transition: transform var(--dur) var(--ease-out); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item .faq-body { padding: 1.1rem 1.35rem; color: var(--text-muted); font-size: .9375rem; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--forest-900);
    color: var(--on-invert);
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer img.footer-logo { width: 140px; margin-bottom: 1.25rem; }
.site-footer h4 {
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.1rem;
}
.site-footer p { font-size: .9375rem; color: var(--on-invert); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: .1rem; }
.site-footer ul a,
.site-footer .footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    font-size: .9375rem;
    color: var(--on-invert);
}
.site-footer ul a:hover,
.site-footer .footer-contact a:hover { color: var(--white); text-decoration: none; }
.site-footer .footer-contact div { display: flex; align-items: flex-start; gap: .6rem; font-size: .9375rem; padding: .35rem 0; }
.site-footer .footer-contact i { color: var(--brand-300); margin-top: .35rem; width: 1rem; text-align: center; flex: none; }

.social-row { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-row a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .09);
    color: var(--on-invert);
    font-size: 1rem;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.social-row a:hover { background: var(--brand-600); color: var(--white); }

/* Same row placed on a light card rather than the dark footer. */
.social-row--light { margin-top: .35rem; }
.social-row--light a { background: var(--ink-100); color: var(--ink-600); }
.social-row--light a:hover { background: var(--brand-600); color: var(--white); }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: .875rem;
    color: var(--on-invert-muted);
}

/* --------------------------------------------------------------------------
   17. Scroll reveal (progressive enhancement)
   Elements are visible by default; only hidden once JS confirms support.
   -------------------------------------------------------------------------- */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
    will-change: opacity, transform;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
    .product-card:hover, .team-card:hover, .c-card--hover:hover { transform: none; }
    .gallery figure:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-nav, .cta-band, .site-footer, .hero::after { display: none !important; }
    body { color: #000; }
}
