/* Self-hosted fonts (latin .woff2). SIL Open Font License — keep OFL with font sources if you redistribute. */
@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/hanken-grotesk-latin-400.woff2") format("woff2");
}

@font-face {
    font-family: "Hanken Grotesk";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/hanken-grotesk-latin-400-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/hanken-grotesk-latin-500.woff2") format("woff2");
}

@font-face {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/hanken-grotesk-latin-600.woff2") format("woff2");
}

:root {
    --forest-green: #1c3621;
    --bright-green: #d9ffa3;
    --sky-blue: #a4c3e8;
    --soft-grey: #f0eeeb;
    --primary: var(--forest-green);
    --primary-mid: #274a32;
    --primary-light: #3a5f44;
    --secondary: var(--bright-green);
    --secondary-light: #e8ffc4;
    --secondary-pale: var(--sky-blue);
    --sage: #c5d4b8;
    --sage-light: var(--bright-green);
    --cream: var(--soft-grey);
    --cream-dark: #e2dfdc;
    --white: #FFFFFF;
    --text-dark: var(--forest-green);
    --text-muted: #4d5c50;
    --text-light: #6b786e;
    --border: rgba(28, 54, 33, 0.10);
    --transition-duration: 0.4s;
    --transition-ease: ease;
    --font-display: "Hanken Grotesk", system-ui, sans-serif;
    --font-body: "Hanken Grotesk", system-ui, sans-serif;
    --radius-card: 0;
    --radius-card-media: var(--radius-card);
    --radius-button: 0;
    --radius-input: 2px;
    /* Lime on forest; sky blue on cream / white / grey so accents stay visible */
    --accent-on-light: var(--sky-blue);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
    /* iOS can still rubber-band horizontally when body `overflow-x: hidden` alone; clip at the root */
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
}

header#header,
#main-content,
footer {
    max-width: 100%;
    overflow-x: clip;
}

a {
    color: var(--primary-mid);
    text-decoration-color: rgba(55, 74, 56, 0.35);
    text-underline-offset: 2px;
    transition: color var(--transition-duration) var(--transition-ease), text-decoration-color var(--transition-duration) var(--transition-ease);
}

a:hover:not(.btn-primary):not(.btn-secondary):not(.nav-cta),
a:focus-visible:not(.btn-primary):not(.btn-secondary):not(.nav-cta) {
    color: var(--primary);
    text-decoration-color: rgba(28, 54, 33, 0.5);
}

/* ===== UTILITY ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideRight {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Scroll-in: use `animation` + --scroll-stagger, not `transition-delay`, so `a.service-card` hover (`transition: all`) stays instant. */
@keyframes animateOnScrollIn {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
}

.animate-on-scroll.visible {
    animation: animateOnScrollIn var(--transition-duration) cubic-bezier(0.23, 1, 0.32, 1) var(--scroll-stagger, 0s) both;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .animate-on-scroll.visible {
        animation: none;
    }
}

/* ===== HEADER / NAV ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 0 var(--border);
    transition: padding var(--transition-duration) var(--transition-ease);
    padding: 1.25rem 0;
}

header.scrolled {
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
}

.logo-lockup {
    display: flex;
    align-items: center;
    line-height: 0;
    transition: opacity var(--transition-duration) var(--transition-ease);
}

.logo-lockup img {
    height: 2.75rem;
    width: auto;
    max-width: min(14.5rem, 62vw);
    display: block;
}

.logo:hover .logo-lockup {
    opacity: 0.88;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand .logo-lockup img {
    height: 3.25rem;
    max-width: min(16.5rem, 100%);
}

header nav#site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.nav-dropdown-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem 0.4rem;
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
}

/* Desktop flyout only — keep absolute layer + transitions off small screens to avoid flashes /
   stray panels when tapping Services in the mobile drawer. */
@media (min-width: 769px) {
    .nav-submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 280px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-card);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        padding: 0.5rem;
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity var(--transition-duration) var(--transition-ease), transform var(--transition-duration) var(--transition-ease);
        z-index: 1200;
    }

    .nav-submenu a {
        display: block;
        color: var(--text-muted);
        background: transparent;
        padding: 0.55rem 0.75rem;
        border-radius: 0;
    }

    .nav-submenu a:hover {
        color: var(--primary);
        background: rgba(28, 54, 33, 0.06);
    }

    .nav-submenu a.active {
        color: var(--primary);
        background: rgba(28, 54, 33, 0.1);
        font-weight: 500;
    }

    .nav-dropdown:hover .nav-submenu,
    .nav-dropdown:focus-within .nav-submenu,
    .nav-dropdown.open .nav-submenu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

header nav#site-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: color var(--transition-duration) var(--transition-ease), background var(--transition-duration) var(--transition-ease);
    letter-spacing: 0.01em;
}

header nav#site-nav a:hover:not(.nav-cta) {
    color: var(--primary);
    background: rgba(28, 54, 33, 0.04);
}

header nav#site-nav a.active:not(.nav-cta) {
    color: var(--primary);
    font-weight: 500;
}

header nav#site-nav .nav-cta {
    margin-left: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
    border-radius: var(--radius-button);
    font-weight: 500;
    transition: background var(--transition-duration) var(--transition-ease), transform var(--transition-duration) var(--transition-ease), border-color var(--transition-duration) var(--transition-ease), color var(--transition-duration) var(--transition-ease);
}

header nav#site-nav .nav-cta:hover,
header nav#site-nav .nav-cta:focus-visible,
header nav#site-nav .nav-cta:active {
    background: var(--bright-green);
    border-color: var(--bright-green);
    color: var(--forest-green);
    transform: translateY(-1px);
}

header nav#site-nav .nav-cta:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

header nav#site-nav .nav-cta.active {
    background: var(--bright-green);
    border-color: var(--bright-green);
    color: var(--forest-green);
}

/* Desktop: phone + CTA participate in the nav row; mobile stacks them in the drawer */
.header-nav-actions {
    display: contents;
}

header nav#site-nav .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.85rem;
    margin-left: 0.35rem;
    border-radius: 0;
    white-space: nowrap;
    transition: color var(--transition-duration) var(--transition-ease), background var(--transition-duration) var(--transition-ease);
}

header nav#site-nav .header-phone:hover,
header nav#site-nav .header-phone:focus-visible {
    color: var(--primary-mid);
    background: rgba(28, 54, 33, 0.06);
}

header nav#site-nav .header-phone:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Desktop: wrapper is invisible to layout so the CTA stays a direct flex item of nav */
header nav#site-nav .nav-cta-wrap {
    display: contents;
}

.mobile-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
    transition: transform var(--transition-duration) var(--transition-ease), opacity var(--transition-duration) var(--transition-ease);
}

.mobile-toggle.is-open {
    gap: 0;
}

.mobile-toggle.is-open span {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -11px;
}

.mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-nav-backdrop {
    display: none;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary);
    overflow: hidden;
    padding-top: 5rem;
}

/* Contact: long stacked layout + embedded widgets — default hero `overflow:hidden` + `min-height:100vh` + `flex-centre` has clipped sibling paint on Safari mid-load (cream/white band under the form). */
.hero.hero--contact {
    min-height: auto;
    align-items: flex-start;
    overflow-x: clip;
    overflow-y: visible;
}

.hero > .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

/* Reuse homepage hero spacing on other page hero sections */
.hero .intro-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

/* Match homepage hero entrance animation on other page hero sections */
.hero .intro-grid > :first-child {
    animation: fadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.hero .intro-grid > :last-child {
    animation: fadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.hero-left {
    animation: fadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--sage-light);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    font-weight: 400;
}

.hero-description + .hero-description {
    margin-top: 1rem;
}

.hero-description + .hero-actions {
    margin-top: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--forest-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-duration) var(--transition-ease);
    letter-spacing: 0.01em;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
    background: var(--primary-mid);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(28, 54, 33, 0.18);
}

/* Lime only on forest bands */
.hero .btn-primary,
.cta-section .btn-primary {
    background: var(--bright-green);
    color: var(--forest-green);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible,
.hero .btn-primary:active,
.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus-visible,
.cta-section .btn-primary:active {
    background: var(--secondary-light);
    color: var(--forest-green);
    box-shadow: 0 8px 24px rgba(217, 255, 163, 0.25);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-button);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-duration) var(--transition-ease);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--bright-green);
    color: var(--bright-green);
    background: transparent;
}

.hero-right {
    animation: fadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.hero-photo {
    width: 100%;
    max-height: min(38rem, 72vh);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--primary-mid);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 35%;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-card);
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.stat-card:first-child {
    grid-column: 1 / -1;
    background: rgba(217, 255, 163, 0.08);
    border-color: rgba(217, 255, 163, 0.15);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--sage-light);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    font-weight: 400;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 0;
}

.trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
}

.trust-item::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-on-light);
    flex-shrink: 0;
}

/* ===== INTRO SECTION ===== */
.intro {
    padding: 7rem 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-on-light);
}

.breadcrumbs {
    display: block;
    margin-bottom: 1rem;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    row-gap: 0.35rem;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    color: rgba(255, 255, 255, 0.68);
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    min-width: 0;
    overflow-wrap: break-word;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs [aria-current="page"] {
    color: var(--sage-light);
    font-weight: 500;
    min-width: 0;
    overflow-wrap: break-word;
}

.services-header .breadcrumbs ol {
    justify-content: center;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.18;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-heading em {
    font-style: italic;
    color: var(--primary);
}

.section-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-weight: 400;
}

.section-text + .section-text {
    margin-top: 1rem;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.intro-feature {
    display: flex;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    border: none;
}

.hero .feature-icon::before {
    background: rgba(255, 255, 255, 0.4);
}

.hero .feature-content h3 {
    color: var(--white);
}

.hero .feature-content p {
    color: rgba(255, 255, 255, 0.62);
}

.feature-icon {
    width: 24px;
    height: auto;
    padding-top: 0.7rem;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-shrink: 0;
}

.feature-icon svg {
    display: none;
}

.feature-icon::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent-on-light);
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* Brand-colored links in light content areas */
.section-text a,
.feature-content a,
.service-card a {
    color: var(--primary-mid);
    text-decoration-color: rgba(55, 74, 56, 0.35);
    text-underline-offset: 2px;
    transition: color var(--transition-duration) var(--transition-ease), text-decoration-color var(--transition-duration) var(--transition-ease);
}

.section-text a:hover,
.feature-content a:hover,
.service-card a:hover {
    color: var(--primary);
    text-decoration-color: rgba(28, 54, 33, 0.5);
}

.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-card-media);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, rgba(164, 195, 232, 0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.team-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.team-photo-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-card-media);
    overflow: hidden;
}

/* ===== SERVICES ===== */
.services {
    padding: 7rem 0;
    background: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-card);
    position: relative;
    overflow: hidden;
    cursor: default;
    text-decoration: none;
    color: inherit;
    display: block;
}

a.service-card {
    cursor: pointer;
    background: var(--cream);
    transition: all var(--transition-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

a.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-on-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-duration) cubic-bezier(0.23, 1, 0.32, 1);
}

a.service-card:hover {
    background: var(--white);
    border-color: rgba(217, 255, 163, 0.18);
    box-shadow: 0 16px 48px rgba(28, 54, 33, 0.08);
    transform: translateY(-6px);
}

a.service-card:hover::after {
    transform: scaleX(1);
}


.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

.team-service-card p + p {
    margin-top: 1rem;
}

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

a.service-card .learn-more {
    transition: gap var(--transition-duration) var(--transition-ease);
}

a.service-card:hover .learn-more {
    gap: 0.625rem;
}

.learn-more svg {
    width: 14px;
    height: 14px;
}

a.service-card .learn-more svg {
    transition: transform var(--transition-duration) var(--transition-ease);
}

a.service-card:hover .learn-more svg {
    transform: translateX(2px);
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.375rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
}

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
    transition: color 0.3s ease;
}

details[open] > .faq-question {
    color: var(--primary);
}

details[open] > .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 2rem 1.375rem 0;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== STORY / ABOUT ===== */
.story {
    padding: 7rem 0;
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: 5rem;
    row-gap: 1.75rem;
    align-items: start;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-card-media);
    overflow: hidden;
    position: relative;
    background: var(--primary);
}

.story-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(11, 29, 58, 0.4) 100%);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 180px;
    padding: 1.5rem;
    background: var(--primary);
    border-radius: var(--radius-card);
    z-index: 2;
}

.story-image-accent .stat-number {
    font-size: 2rem;
}

.story-image-accent .stat-label {
    font-size: 0.75rem;
}

.story-copy {
    max-width: 42rem;
}

.story-quote {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    padding: 0.5rem 0 0.5rem 1.75rem;
    border-left: 3px solid var(--accent-on-light);
}

.story-cta {
    grid-column: 1;
    justify-self: start;
    margin-top: 0.25rem;
}

.story-quote p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
}

.story-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-style: normal;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 7rem 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    text-wrap-style: balance;    
}

.cta-inner h2 em {
    font-style: italic;
    color: var(--sage-light);
}

.cta-inner p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-contact-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.cta-contact-item {
    text-align: center;
}

.cta-contact-item span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.375rem;
}

.cta-contact-item a {
    color: var(--sage-light);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color var(--transition-duration) var(--transition-ease);
}

.cta-contact-item a:hover {
    color: var(--white);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Hero `.hero-content` defaults to `align-items: center` — on contact, centering grid rows + Turnstile iframe can trigger iOS paint gaps */
.hero.hero--contact .hero-content.contact-grid {
    align-items: start;
    justify-items: stretch;
}

.contact-grid > * {
    min-width: 0;
}

.contact-form-wrapper {
    min-width: 0;
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.contact-heading em {
    font-style: italic;
    color: var(--sage-light);
}

.contact-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.contact-detail-item svg {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.2rem;
}

.contact-detail-item a {
    color: var(--sage-light);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color var(--transition-duration) var(--transition-ease);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.contact-detail-item a:hover {
    color: var(--white);
}

.contact-enquiry-form {
    margin: 0;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    /* No backdrop-filter: large blurred layers defer compositing/paint on long contact pages */
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-input);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: border-color var(--transition-duration) var(--transition-ease), background var(--transition-duration) var(--transition-ease);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.09);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Chevron anchored to wrapper so it does not jump when Safari reflows the <select>. */
.form-select-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.form-group .form-select-wrap select {
    background-image: none;
}

.form-select-wrap::after {
    pointer-events: none;
    content: "";
    position: absolute;
    z-index: 1;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.875rem;
    height: 0.5rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-group select option {
    background: var(--primary);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    margin-top: 0.25rem;
}

.cta-section .form-submit {
    background: var(--white);
    color: var(--primary);
}

.cta-section .form-submit:hover {
    background: var(--cream);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.5;
    margin-top: 1rem;
    text-align: center;
}

#contact-form-fields {
    position: relative;
    min-width: 0;
}

.form-group-checkbox {
    margin-top: 0.25rem;
}

.form-checkbox-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.form-checkbox-row input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.form-checkbox-row label {
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.form-checkbox-row label a {
    color: rgba(200, 220, 200, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox-row label a:hover {
    color: var(--white);
}

.form-checkbox-row--error label {
    color: rgba(255, 200, 200, 0.95);
}

/* Turnstile: `.form-turnstile` is a hook for localhost strip (site-boot.js); no reserved height — the
   widget mounts in `.cf-turnstile` after api.js runs and lays out naturally above the submit button. */

p.form-hp {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.form-error {
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-card);
    background: rgba(120, 40, 40, 0.35);
    border: 1px solid rgba(220, 100, 100, 0.5);
    color: rgba(255, 210, 210, 0.95);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
}

.form-submit--sending {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.form-submit--sending .form-submit__label,
.form-submit--sending .form-submit__icon {
    visibility: hidden;
}

.form-submit--sending::after {
    content: "Sending…";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    color: var(--sage-light);
    margin-bottom: 1.25rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
    font-weight: 400;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: block;
    color: var(--bright-green);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    transition: color var(--transition-duration) var(--transition-ease);
    font-weight: 400;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    margin: 0 0 0.75rem;
}

.footer-address-org {
    font-weight: 500;
    color: var(--white);
}

.footer-phone {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    margin: 0 0 0.5rem;
    transition: color var(--transition-duration) var(--transition-ease);
}

.footer-phone:hover,
.footer-phone:focus-visible {
    color: var(--secondary-light);
}

.footer-address-map {
    margin-bottom: 0.35rem;
}

.footer-social {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-social a {
    display: block;
    color: var(--bright-green);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    transition: color var(--transition-duration) var(--transition-ease);
    font-weight: 400;
}

.footer-social a:hover {
    color: var(--white);
}

.contact-address-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-address-block h2 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-address-block address {
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-address-block address strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.contact-address-block a {
    font-size: 0.875rem;
    color: var(--sage-light);
    text-decoration: none;
    font-weight: 400;
}

.contact-address-block a:hover {
    color: var(--white);
}

.contact-location-section {
    padding: 4rem 0 5rem;
    background: var(--cream);
}

.contact-location-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-location-section > .container > p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.contact-map-placeholder-shell[hidden] {
    display: none !important;
}

.js-contact-map-root,
.contact-map-placeholder-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-map-open-external {
    margin: 0.875rem 0 0;
    font-size: 0.875rem;
}

.contact-map-open-external a {
    font-weight: 500;
    color: var(--primary-mid);
}

.contact-map-open-external a:hover,
.contact-map-open-external a:focus-visible {
    color: var(--primary);
}

.contact-map-placeholder-wrap {
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contact-map-load-card .contact-map-load-card__body {
    padding: 2rem 1.75rem 2.125rem;
}

.contact-map-load-card__heading-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-map-load-card__pin {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--primary-mid);
}

.contact-map-load-card__pin svg {
    display: block;
}

.contact-map-load-card__address {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.55;
    font-weight: 400;
    color: var(--text-dark);
}

.contact-map-load-card__address-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.contact-map-load-card__hint {
    margin: 1.15rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
}

.contact-map-load-card__cta {
    margin-top: 1.35rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.contact-map-iframe-wrap[hidden] {
    display: none !important;
}

.contact-map-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    --contact-map-slot-h: min(420px, 55vh);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(28, 54, 33, 0.08);
    background: var(--cream-dark);
}

.contact-map-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(228, 230, 226, 0.92);
}

.contact-map-wrap--loading .contact-map-loading-overlay {
    display: flex;
}

.contact-map-loading-overlay span {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.contact-map-frame {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--contact-map-slot-h);
    border: 0;
    vertical-align: top;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
}

.footer-trading-address {
    margin: 0;
    width: 100%;
    max-width: none;
    font-size: 0.6875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.32);
    font-weight: 400;
}

.footer-legal {
    width: 100%;
    max-width: none;
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--sage);
    font-weight: 400;
}

.footer-copy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--sage);
    font-weight: 400;
}

.footer-copyright a {
    color: var(--bright-green);
    text-decoration-color: rgba(217, 255, 163, 0.45);
}

.footer-copyright a:hover,
.footer-copyright a:focus-visible {
    color: var(--white);
    text-decoration-color: currentColor;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--bright-green);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition-duration) var(--transition-ease);
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .hero .intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .hero-photo {
        max-width: 28rem;
        margin-inline: auto;
        max-height: min(32rem, 60vh);
    }

    .intro-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-quote {
        grid-column: auto;
        grid-row: auto;
        align-self: stretch;
        padding-top: 0;
        padding-bottom: 0;
    }

    .story-cta {
        grid-column: auto;
        margin-top: 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    body.nav-drawer-open {
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .mobile-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1001;
        background: rgba(15, 24, 18, 0.38);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--transition-duration) var(--transition-ease), visibility var(--transition-duration) var(--transition-ease);
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
    }

    .mobile-nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    header nav#site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1002;
        width: min(100% - 3rem, 20rem);
        max-width: 100%;
        height: 100%;
        height: 100dvh;
        margin: 0;
        padding: calc(5rem + env(safe-area-inset-top, 0px)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        background: var(--white);
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
        overflow-x: hidden;
        overflow-y: scroll;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-gutter: stable;
        /* translate3d + backface-visibility: stable compositor on iOS (matches critical inline drawer CSS). */
        transform: translate3d(100%, 0, 0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        visibility: hidden;
        transition: none;
    }

    header nav#site-nav.bfs-drawer-motion {
        transition: transform var(--transition-duration) var(--transition-ease), visibility var(--transition-duration) var(--transition-ease);
    }

    .header-nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        margin-top: 0.75rem;
        gap: 0.35rem;
        box-sizing: border-box;
    }

    header nav#site-nav .header-phone {
        margin-left: 0;
        padding: 0.65rem 1.25rem;
        border: 1px solid rgba(28, 54, 33, 0.18);
        background: rgba(28, 54, 33, 0.03);
    }

    header nav#site-nav .header-phone:hover,
    header nav#site-nav .header-phone:focus-visible {
        background: rgba(28, 54, 33, 0.07);
    }

    header nav#site-nav .nav-cta-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        margin-top: 0;
        box-sizing: border-box;
    }

    header nav#site-nav.mobile-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 1003;
    }

    header nav#site-nav a {
        flex-shrink: 0;
    }

    header nav#site-nav.mobile-open a:not(.nav-cta) {
        color: var(--text-muted);
        background: transparent;
    }

    header nav#site-nav.mobile-open a.header-phone {
        color: var(--primary);
        background: rgba(28, 54, 33, 0.03);
        border: 1px solid rgba(28, 54, 33, 0.18);
    }

    header nav#site-nav.mobile-open a.header-phone:hover,
    header nav#site-nav.mobile-open a.header-phone:focus-visible {
        color: var(--primary-mid);
        background: rgba(28, 54, 33, 0.08);
    }

    /* Services / Our Story: stacked list in the drawer — desktop flyout styles live in min-width 769px only. */
    header nav#site-nav .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0 0 0 0.65rem;
        margin: 0;
        border-left: 1px solid rgba(28, 54, 33, 0.14);
        border-radius: 0 2px 2px 0;
    }

    header nav#site-nav .nav-dropdown > a:first-of-type {
        font-weight: 600;
        color: var(--primary);
        padding-bottom: 0.35rem;
    }

    header nav#site-nav .nav-dropdown-toggle {
        display: none;
    }

    header nav#site-nav .nav-submenu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        position: static;
        top: auto;
        left: auto;
        z-index: auto;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 0 0 0.75rem 0.5rem;
        margin: 0;
        background: transparent;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: none;
        max-height: none;
        overflow: visible;
    }

    header nav#site-nav .nav-submenu a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        color: var(--text-muted);
        padding: 0.5rem 0.65rem;
        white-space: normal;
    }

    header nav#site-nav.mobile-open a:not(.nav-cta):hover {
        color: var(--primary);
        background: rgba(28, 54, 33, 0.04);
    }

    header nav#site-nav.mobile-open a.active:not(.nav-cta) {
        color: var(--primary);
        background: rgba(28, 54, 33, 0.04);
        text-decoration: none;
    }

    /* Do not tie CTA layout to .mobile-open — that class is removed on link click before the
       drawer finishes closing, which briefly dropped these rules and re-applied desktop margins. */
    header nav#site-nav .nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0.65rem 1.25rem;
        text-align: center;
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
    }

    header nav#site-nav .nav-cta:not(.active) {
        text-decoration: none;
    }

    header nav#site-nav .nav-cta:hover,
    header nav#site-nav .nav-cta:focus,
    header nav#site-nav .nav-cta:focus-visible,
    header nav#site-nav .nav-cta:active {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: var(--primary-mid);
        transform: none;
        color: var(--white);
    }

    header nav#site-nav .nav-cta.active {
        background: var(--primary-mid);
        border-color: var(--primary-mid);
        color: var(--white);
        text-decoration: none;
    }

    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero .intro-grid {
        padding-block: 2rem;
    }

    /* Keep hero copy (breadcrumbs, badge, headings) within the padded container on narrow viewports */
    .hero .intro-grid > div,
    .hero .hero-content > div {
        min-width: 0;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .intro, .services, .story, .cta-section {
        padding: 4.5rem 0;
    }

    .trust-inner {
        gap: 1.5rem;
    }

    .cta-contact-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-copy-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .story-image-accent {
        bottom: -1rem;
        right: 1rem;
        width: 140px;
        padding: 1.25rem;
    }
}

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

    .hero h1 {
        font-size: 1.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 1.5rem;
    }
}

/* Insights listing: white band so cream `service-card` tiles contrast with section */
section#insights-articles.intro,
section#insights.intro {
    background: var(--white);
}

/* Insights listing & article body */
.insights-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.insights-list.services-grid {
    max-width: none;
}

.insights-list-item {
    margin: 0;
    display: flex;
    min-height: 0;
}

.insights-list-item > a.service-card {
    width: 100%;
    height: 100%;
}

/* Insight hub cards: same shell and hover as `.service-card`, with meta row instead of a service number */
.service-card.insights-card .insights-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 1.5rem;
}

.service-card.insights-card .insights-card-meta time {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.service-card.insights-card .insights-card-reading {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(28, 54, 33, 0.42);
}

.service-card.insights-card h2.insights-card-heading,
.service-card.insights-card h3.insights-card-heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem;
    line-height: 1.25;
}

.insights-index-footer {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(28, 54, 33, 0.12);
}

.insights-index-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.insights-index-footer a:hover {
    text-decoration: underline;
}

.insights-empty {
    max-width: 36rem;
    color: var(--text-muted);
}

.insights-empty a {
    color: var(--primary);
    font-weight: 600;
}

.insights-list--embedded {
    margin-top: 1rem;
    max-width: none;
}

.services-insights-link {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
    text-align: center;
    max-width: 36rem;
    margin: 2.5rem auto 0;
}

.services-insights-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.services-insights-link a:hover {
    text-decoration: underline;
}

/* Insights hub: shorter hero + primary link to latest article */
.hero.hero--insights {
    min-height: auto;
    align-items: flex-start;
    padding-top: 6rem;
    padding-bottom: 2.5rem;
}

.hero.hero--insights .intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 0;
}

.hero.hero--insights .intro-grid > :only-child {
    animation: fadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.25s both;
}

.hero.hero--insights .section-heading {
    color: var(--white);
}

.hero.hero--insights .section-heading em {
    color: var(--sage-light);
}

.hero.hero--insights .hero-description {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}


.insights-hero-ctas {
    justify-content: flex-start;
    margin-top: 0.25rem;
}

.insights-hero-ctas .btn-secondary svg {
    flex-shrink: 0;
    transform: rotate(90deg);
}

.insights-hero-hint {
    margin: 1rem 0 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.insights-hero-hint a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.insights-hero-hint a:hover {
    color: var(--white);
}

/* Insight article detail (was split to a second sheet; merged back for stable mobile loading) */
.article-meta {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}

.article-meta-sep {
    margin: 0 0.35rem;
}

.article-reading-inline {
    white-space: nowrap;
}

.article-reading-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0 0 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(28, 54, 33, 0.1);
    font-family: var(--font-body);
    font-size: 0.875rem;
}

.article-reading-banner-label {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.6875rem;
    color: rgba(28, 54, 33, 0.45);
}

.article-reading-banner-value {
    font-weight: 600;
    color: var(--primary-mid);
}

.article-page-title {
    margin-top: 0.75rem;
}

.article-lead {
    max-width: 40rem;
}

.article-pdf-link {
    margin-top: 1.25rem;
}

/* Insight article: two-column layout (prose + latest articles) */
.insights-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 3rem;
    align-items: start;
}

.insights-article-layout--no-sidebar {
    grid-template-columns: 1fr;
}

.insights-article-main-col {
    min-width: 0;
    max-width: 42rem;
}

.insights-article-layout--no-sidebar .insights-article-main-col {
    margin-left: auto;
    margin-right: auto;
}

/* Insight article body: same vertical rhythm and cream band as `.intro` (use `intro` class on element). */
.insights-article-main .article-body {
    margin-left: auto;
    margin-right: auto;
}

.insights-toc-accordion {
    margin: 0 0 1.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(28, 54, 33, 0.12);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
}

.insights-toc-summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--primary);
    list-style: none;
}

.insights-toc-summary::-webkit-details-marker {
    display: none;
}

.insights-toc-summary::before {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-right: 0.5rem;
    border-right: 2px solid var(--primary-mid);
    border-bottom: 2px solid var(--primary-mid);
    transform: rotate(-45deg);
    vertical-align: 0.15em;
    transition: transform var(--transition-duration) var(--transition-ease);
}

.insights-toc-accordion[open] .insights-toc-summary::before {
    transform: rotate(45deg);
    vertical-align: 0.05em;
}

.insights-toc-nav {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(28, 54, 33, 0.08);
}

.insights-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.insights-toc-item {
    margin: 0 0 0.4rem;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.insights-toc-item:last-child {
    margin-bottom: 0;
}

.insights-toc-item a {
    color: var(--primary-mid);
    text-decoration: none;
    font-weight: 500;
}

.insights-toc-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.insights-toc-item--depth-3 {
    padding-left: 1rem;
}

.insights-article-sidebar {
    position: sticky;
    top: 6.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
    border: 1px solid rgba(28, 54, 33, 0.12);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.65);
    font-family: var(--font-body);
}

.insights-sidebar-heading {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.insights-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.insights-sidebar-list li {
    margin: 0 0 1rem;
    padding: 0;
}

.insights-sidebar-list li:last-child {
    margin-bottom: 0;
}

.insights-sidebar-list a {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.35;
}

.insights-sidebar-list a:hover {
    text-decoration: underline;
}

.insights-sidebar-date {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .insights-article-layout:not(.insights-article-layout--no-sidebar) {
        grid-template-columns: 1fr;
    }

    .insights-article-sidebar {
        position: static;
    }
}

.insights-article-faqs {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(28, 54, 33, 0.12);
}

.insights-faqs-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.insights-faqs-heading em {
    font-style: italic;
    color: var(--primary);
}

.insights-article-faqs .section-label {
    margin-bottom: 0.5rem;
}

.insights-article-faqs .faq-list {
    max-width: none;
}

.insights-article-end-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(28, 54, 33, 0.12);
    text-align: center;
}

.insights-article-end-nav .insights-article-footer-inner {
    margin: 0;
}

.article-body {
    max-width: 42rem;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2.25rem 0 0.75rem;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.article-body :is(h2, h3, h4, h5, h6)[id] {
    scroll-margin-top: 7rem;
}

.article-body p {
    margin: 0 0 1rem;
}

.article-body ul {
    margin: 0 0 1rem 1.1rem;
    padding: 0;
}

.article-body li {
    margin-bottom: 0.35rem;
}

.article-body hr {
    border: none;
    border-top: 1px solid rgba(28, 54, 33, 0.12);
    margin: 2rem 0;
}

.article-body strong {
    font-weight: 600;
    color: var(--primary);
}

.insights-back {
    margin: 0.75rem 0 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
}

.insights-back a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.insights-back a:hover {
    text-decoration: underline;
}

.insights-article-footer-inner {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    margin: 0;
}

.insights-article-footer-inner a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.insights-article-footer-inner a:hover {
    text-decoration: underline;
}

.insights-footer-sep {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

/* Article detail hero: full-width column inside .container (span tracks + override .article-lead / .hero-description). */
.hero.hero--insights:has(.insights-article-hero) > .container {
    width: 100%;
    max-width: 1240px;
    flex: 1 1 auto;
    min-width: 0;
}

.hero.hero--insights .insights-article-hero.intro-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.hero.hero--insights .insights-article-hero.intro-grid > * {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    max-width: none;
}

.hero.hero--insights .insights-article-hero .hero-description,
.hero.hero--insights .insights-article-hero .article-lead,
.hero.hero--insights .insights-article-hero p.hero-description.article-lead {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.hero.hero--insights .insights-article-hero .section-heading,
.hero.hero--insights .insights-article-hero h1.section-heading {
    max-width: none;
}

/* Article detail hero: links and meta readable on green. */
.hero.hero--insights .insights-article-hero .insights-back {
    margin-top: 0.5rem;
}

.hero.hero--insights .insights-article-hero .insights-back a {
    color: rgba(255, 255, 255, 0.85);
}

.hero.hero--insights .insights-article-hero .insights-back a:hover {
    color: var(--white);
}

.hero.hero--insights .insights-article-hero .article-meta {
    max-width: none;
    color: rgba(255, 255, 255, 0.68);
}

.hero.hero--insights .insights-article-hero .article-meta-sep {
    color: rgba(255, 255, 255, 0.45);
}

.hero.hero--insights .insights-article-hero .article-pdf-link {
    margin-top: 1.25rem;
}

.hero.hero--insights .insights-article-hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

.hero.hero--insights .insights-article-hero .btn-secondary:hover,
.hero.hero--insights .insights-article-hero .btn-secondary:focus-visible {
    border-color: var(--bright-green);
    color: var(--bright-green);
    background: transparent;
}

