/* Self-hosted fonts (latin .woff2). SIL Open Font License — keep OFL.txt with font sources if you redistribute. */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-700.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/cormorant-garamond-v21-latin-500italic.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-300.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-600.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "DM Sans";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/dm-sans-v17-latin-italic.woff2") format("woff2");
}

:root {
    --primary: #2C3E2D;
    --primary-mid: #374A38;
    --primary-light: #425643;
    --secondary: #6B8C6B;
    --secondary-light: #7FA07F;
    --secondary-pale: #E4EBE2;
    --sage: #B9BFB5;
    --sage-light: #C9CEC6;
    --cream: #F2F3F1;
    --cream-dark: #E4E6E2;
    --white: #FFFFFF;
    --text-dark: #1E2420;
    --text-muted: #5C6360;
    --text-light: #848B88;
    --border: rgba(44, 62, 45, 0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    background-color: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== 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); }
}

@keyframes gentlePulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 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 0.4s 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;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary);
}

.logo-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    line-height: 0;
    transition: opacity 0.25s ease;
}

.logo-mark img {
    height: 30px;
    width: auto;
    display: block;
}

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

.logo-text {
    line-height: 1.15;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.logo-text-primary {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-character;
    color: var(--primary);
    transition: color 0.4s ease;
}

.logo-text-secondary {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.4s ease;
}

header .logo-text-secondary {
    color: var(--text-muted);
}

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

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

.footer-brand .logo-text-secondary {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand .logo:hover .logo-mark--on-green {
    opacity: 0.92;
}

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: 10px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        padding: 0.5rem;
        opacity: 0;
        transform: translateY(8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 1200;
    }

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

    .nav-submenu a:hover {
        color: var(--primary);
        background: rgba(44, 62, 45, 0.06);
    }

    .nav-submenu a.active {
        color: var(--primary);
        background: rgba(44, 62, 45, 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: 6px;
    transition: color 0.25s ease, background 0.25s ease;
    letter-spacing: 0.01em;
}

header nav#site-nav a:hover {
    color: var(--primary);
    background: rgba(44, 62, 45, 0.04);
}

header nav#site-nav a.active {
    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: 8px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease, border-color 0.4s ease, color 0.4s ease;
}

header nav#site-nav .nav-cta:hover {
    background: var(--primary-mid);
    border-color: var(--primary-mid);
    transform: translateY(-1px);
}

/* 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 0.3s ease, opacity 0.25s 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;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(107, 140, 107, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 20% 80%, rgba(44, 62, 45, 0.4) 0%, transparent 70%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(107, 140, 107, 0.08);
    border-radius: 50%;
    animation: gentlePulse 8s ease-in-out infinite;
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 140, 107, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 140, 107, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Hero copy and CTAs must stack above ::before / ::after / pattern (z-index: 1) or clicks hit empty overlays. */
.hero::before,
.hero::after {
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.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.5rem;
    padding: 0.5rem 1rem;
    background: rgba(107, 140, 107, 0.12);
    border: 1px solid rgba(107, 140, 107, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--sage-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
} */

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 500;
    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;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.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(--secondary);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 140, 107, 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: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.hero-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero-actions .btn-primary:hover {
    background: var(--cream);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.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: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(107, 140, 107, 0.25);
    transform: translateY(-4px);
}

.stat-card:first-child {
    grid-column: 1 / -1;
    background: rgba(107, 140, 107, 0.08);
    border-color: rgba(107, 140, 107, 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: 300;
}

/* ===== 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.625rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* ===== 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(--secondary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--secondary);
}

.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: 500;
    line-height: 1.18;
    color: #2A2F2B;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

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

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

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

.intro-feature {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid rgba(44, 62, 45, 0.06);
    border-radius: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.intro-feature:hover {
    border-color: rgba(107, 140, 107, 0.2);
    box-shadow: 0 8px 32px rgba(44, 62, 45, 0.06);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--secondary);
}

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

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

/* 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 0.25s ease, text-decoration-color 0.25s ease;
}

.section-text a:hover,
.feature-content a:hover,
.service-card a:hover {
    color: var(--secondary);
    text-decoration-color: rgba(107, 140, 107, 0.5);
}

.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #2C3E2D 0%, #425643 55%, rgba(184, 197, 180, 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;
}

/* ===== 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(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem;
    background: var(--cream);
    border: 1px solid rgba(44, 62, 45, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.service-card:hover {
    background: var(--white);
    border-color: rgba(107, 140, 107, 0.18);
    box-shadow: 0 16px 48px rgba(44, 62, 45, 0.08);
    transform: translateY(-6px);
}

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

.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(44, 62, 45, 0.08);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

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

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

.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(--secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.3s ease;
}

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

.learn-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

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

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

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

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

.story-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    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: 14px;
    z-index: 2;
}

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

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

.story-quote {
    position: relative;
    padding: 1.75rem 0 1.75rem 1.75rem;
    border-left: 3px solid var(--secondary);
    margin: 2rem 0;
}

.story-quote p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    color: #2A2F2B;
    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-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(107, 140, 107, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 50%, rgba(44, 62, 45, 0.3) 0%, transparent 70%);
}

.cta-section .hero-grid-pattern {
    opacity: 0.5;
}

.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: 500;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.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: 300;
}

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

.cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-actions .btn-primary:hover {
    background: var(--cream);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.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 0.25s 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;
}

.contact-grid > * {
    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: 300;
}

.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 0.25s ease;
}

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

.contact-form-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(8px);
}

.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: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    transition: border-color 0.3s ease, background 0.3s 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;
}

.form-group select option {
    background: #2C3E2D;
    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;
}

.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: 300;
}

/* ===== FOOTER ===== */
footer {
    background: #1E2E1F;
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.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: 300;
}

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

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    transition: color 0.25s ease;
    font-weight: 300;
}

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

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

.footer-address-org {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.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: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    transition: color 0.25s ease;
    font-weight: 300;
}

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

.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: 300;
    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;
    max-width: 40rem;
}

.contact-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(44, 62, 45, 0.08);
    background: var(--white);
}

.contact-map-frame {
    display: block;
    width: 100%;
    height: min(420px, 55vh);
    border: 0;
}

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

.footer-legal {
    width: 100%;
    max-width: none;
    font-size: 0.75rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.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: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

.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: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.25s ease;
}

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

/* ===== 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-stats {
        max-width: 500px;
    }

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

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

    .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 0.3s ease, visibility 0.3s 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;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    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.75rem;
        box-sizing: border-box;
    }

    header nav#site-nav.mobile-open {
        transform: translateX(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;
    }

    /* 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(44, 62, 45, 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(44, 62, 45, 0.04);
    }

    header nav#site-nav.mobile-open a.active:not(.nav-cta) {
        color: var(--primary);
        background: rgba(44, 62, 45, 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: "DM Sans", system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.service-card.insights-card .insights-card-reading {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(44, 62, 45, 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: #2A2F2B;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.article-meta {
    font-family: "DM Sans", system-ui, sans-serif;
    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(44, 62, 45, 0.1);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.875rem;
}

.article-reading-banner-label {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.6875rem;
    color: rgba(44, 62, 45, 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(44, 62, 45, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
    font-family: "DM Sans", system-ui, sans-serif;
}

.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 0.2s 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(44, 62, 45, 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(44, 62, 45, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    font-family: "DM Sans", system-ui, sans-serif;
}

.insights-sidebar-heading {
    margin: 0 0 1rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    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-end-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 62, 45, 0.12);
    text-align: center;
}

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

.article-body {
    max-width: 42rem;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
}

.article-body h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    margin: 2.25rem 0 0.75rem;
    scroll-margin-top: 5.5rem;
}

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

.article-body h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
    scroll-margin-top: 5.5rem;
}

.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(44, 62, 45, 0.12);
    margin: 2rem 0;
}

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

.insights-back {
    margin: 0.75rem 0 0;
    font-family: "DM Sans", system-ui, sans-serif;
    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,
.insights-index-footer {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9375rem;
    margin: 0;
}

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

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

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

.insights-index-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(44, 62, 45, 0.12);
}

.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: "DM Sans", system-ui, sans-serif;
    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;
}

/* 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 {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

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

.insights-hero-ctas .btn-secondary svg {
    flex-shrink: 0;
}

.insights-hero-hint {
    margin: 1rem 0 0;
    font-family: "DM Sans", system-ui, sans-serif;
    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);
}

