/* ==========================================================
   JLA Recovery Solutions | Site stylesheet (2026 refresh)
   Used by the main pages: index, services, experience, about,
   insights, contact. The DisasterData pages keep styles.css.
   ========================================================== */

:root {
    --navy: #1B2A4A;
    --navy-deep: #111C33;
    --navy-soft: #2C4066;
    --sage: #8FB3A9;
    --sage-strong: #5E8C80;
    --sage-text: #3D6A5F;
    --sage-wash: #EAF2EF;
    --sand: #F6F5F0;
    --paper: #FFFFFF;
    --ink: #1C2333;
    --ink-2: #445069;
    --ink-3: #66708A;
    --line: #E3E6EC;
    --line-soft: #EEF0F3;

    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --wrap: 1180px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-1: 0 1px 2px rgba(17, 28, 51, 0.06), 0 2px 8px rgba(17, 28, 51, 0.04);
    --shadow-2: 0 10px 30px rgba(17, 28, 51, 0.10);
    --shadow-3: 0 24px 60px rgba(9, 16, 32, 0.35);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration-color: rgba(27, 42, 74, 0.35); text-underline-offset: 3px; }
a:hover { color: var(--sage-text); text-decoration-color: currentColor; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; }

ul { padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sage-strong); outline-offset: 3px; border-radius: 4px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sage-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--sage); border-radius: 2px; }
.on-dark .eyebrow, .eyebrow.light { color: var(--sage); }

.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
    padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(27, 42, 74, 0.22); }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-accent { background: var(--sage); color: var(--navy-deep); }
.btn-accent:hover { background: #A5C4BB; color: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }

.text-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy);
}
.text-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(17, 28, 51, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand img { height: 46px; width: auto; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a {
    display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 0.98rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.site-nav a:hover { color: var(--navy); background: var(--line-soft); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--sage); border-radius: 0; }
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a { background: var(--navy); color: #fff; border-radius: 999px; padding: 9px 16px; display: inline-flex; gap: 8px; align-items: center; }
.site-nav .nav-cta a:hover { background: var(--navy-soft); color: #fff; }
.site-nav .nav-cta svg { width: 16px; height: 16px; }

.menu-toggle {
    display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
    width: 46px; height: 46px; padding: 0; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1000px 500px at 85% 10%, rgba(143, 179, 169, 0.22), transparent 60%),
        radial-gradient(800px 600px at -10% 110%, rgba(44, 64, 102, 0.9), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18;
    background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero .lead { color: rgba(255,255,255,0.82); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; font-size: 0.95rem; color: rgba(255,255,255,0.65); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

.doc-card {
    display: block; position: relative; text-decoration: none; color: var(--ink);
    background: #fff; border-radius: 12px; padding: 14px 14px 0; box-shadow: var(--shadow-3);
    transform: rotate(2.2deg); transition: transform .35s var(--ease), box-shadow .35s;
    max-width: 360px; margin-left: auto;
}
.doc-card:hover { transform: rotate(0deg) translateY(-4px); color: var(--ink); }
.doc-card img { border-radius: 4px; border: 1px solid var(--line-soft); max-height: 420px; width: 100%; object-fit: cover; object-position: top; }
.doc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 16px; }
.doc-card-foot strong { display: block; font-size: 1rem; color: var(--navy); }
.doc-card-foot small { color: var(--ink-3); font-size: 0.85rem; }
.doc-card-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.doc-card-icon svg { width: 20px; height: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    color: #fff; position: relative; overflow: hidden;
    background:
        radial-gradient(700px 360px at 90% 0%, rgba(143, 179, 169, 0.22), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 72px 0 76px;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero .lead { color: rgba(255,255,255,0.8); margin: 0; }
.page-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.86); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }
.section-navy .section-head p { color: rgba(255,255,255,0.78); }

/* ---------- Proof strip ---------- */
.proof { background: var(--paper); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 34px 28px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.proof-num small { font-size: 0.55em; color: var(--sage-text); margin-left: 2px; }
.proof-item p { margin: 0; font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- Split / differentiator ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.split-media .badge-float {
    position: absolute; left: -24px; bottom: 28px; background: #fff; border-radius: 12px; padding: 16px 20px;
    box-shadow: var(--shadow-2); max-width: 260px; font-size: 0.95rem; line-height: 1.45; color: var(--ink-2);
}
.badge-float strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 2px; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 36px; color: var(--ink-2); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--sage-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list strong { color: var(--navy); }

/* ---------- Capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative;
}
.cap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.cap-card h3 { font-size: 1.22rem; margin-bottom: 14px; }
.cap-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.cap-card li { position: relative; padding-left: 18px; font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; }
.cap-card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--sage); }
.cap-icon {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: var(--sage-wash); color: var(--sage-text); margin-bottom: 18px;
}
.cap-icon svg { width: 24px; height: 24px; }

/* ---------- Engagement cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
    background: #fff; border-radius: var(--radius); padding: 30px 30px 26px; border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 6px;
}
.work-card .tag {
    align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--sage-text); background: var(--sage-wash); padding: 5px 10px; border-radius: 999px; margin-bottom: 8px;
}
.work-card h3 { margin-bottom: 2px; }
.work-card .client { color: var(--ink-3); font-size: 0.95rem; margin-bottom: 8px; }
.work-card p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.work-card .role { font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* ---------- Disaster chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
    padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); color: #fff;
}
.chips.light li { background: #fff; border-color: var(--line); color: var(--navy); }

/* ---------- Capability statement band ---------- */
.cs-band {
    display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center;
    background: #fff; border-radius: 20px; padding: 32px 40px; box-shadow: var(--shadow-2); border: 1px solid var(--line);
}
.cs-band img { border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow-1); transform: rotate(-2deg); }
.cs-band h2 { font-size: 1.8rem; margin-bottom: 8px; }
.cs-band p { color: var(--ink-2); margin: 0; }
.cs-band .cs-actions { display: flex; flex-direction: column; gap: 10px; }

.company-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); }
.company-data div { padding: 22px 0 0; }
.company-data dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 4px; }
.company-data dd { margin: 0 0 18px; color: #fff; font-weight: 600; font-size: 1.05rem; }

/* ---------- CTA ---------- */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-radius: 24px; padding: 64px; color: rgba(255,255,255,0.85);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(143,179,169,0.35), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }

/* ---------- Services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.svc-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); }
.svc-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }

.svc-block { display: grid; grid-template-columns: 320px 1fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-intro .num { font-family: var(--serif); font-size: 1rem; color: var(--sage-text); font-weight: 600; letter-spacing: 0.1em; }
.svc-intro h2 { font-size: 1.9rem; margin-top: 8px; }
.svc-intro p { color: var(--ink-2); font-size: 1.02rem; }
.svc-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.svc-cols h3 { font-size: 1.12rem; font-family: var(--sans); font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.svc-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.svc-cols li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.svc-cols li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--sage); }

.client-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-type { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); font-weight: 600; color: var(--navy); display: flex; gap: 14px; align-items: center; }
.client-type .cap-icon { margin: 0; flex: none; }

/* ---------- Experience timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 40px; position: relative; }
.tl-when { text-align: right; padding-right: 26px; padding-top: 22px; font-weight: 700; color: var(--sage-text); font-size: 0.95rem; }
.tl-item::before { content: ""; position: absolute; left: 144px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--sage); }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.tl-body h3 { margin-bottom: 4px; }
.tl-body .client { color: var(--ink-3); font-size: 0.97rem; margin-bottom: 12px; }
.tl-body p { color: var(--ink-2); font-size: 1rem; }
.tl-body ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.98rem; display: grid; gap: 6px; }
.tl-body .role { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--navy); background: var(--line-soft); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 0.95rem; color: var(--navy); font-weight: 600; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow-2); }
.about-aside { position: sticky; top: 110px; }
.about-aside .facts { margin-top: 24px; background: var(--sand); border-radius: var(--radius); padding: 24px; }
.about-aside .facts h4 { margin-bottom: 12px; }
.about-aside .facts dl { margin: 0; display: grid; gap: 14px; }
.about-aside .facts dt { font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.about-aside .facts dd { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.about-body p { color: var(--ink-2); font-size: 1.1rem; }
.about-body .signature { font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 1.2rem; }

.career { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.career strong { color: var(--navy); display: block; }
.career span { color: var(--ink-3); font-size: 0.97rem; }
.career .yrs { color: var(--sage-text); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pubs li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; }
.pubs cite { font-style: normal; font-weight: 600; color: var(--navy); display: block; }
.pubs span { color: var(--ink-3); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-panel { background: var(--sand); border-radius: var(--radius); padding: 32px; display: grid; gap: 22px; }
.contact-panel h3 { margin-bottom: 6px; }
.contact-panel p { color: var(--ink-2); margin: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.form-group .required { color: #B42318; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 14px; border: 1px solid #CBD2DC; border-radius: var(--radius-sm); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--sage-strong); box-shadow: 0 0 0 4px rgba(143, 179, 169, 0.3); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--ink-3); margin: 14px 0 0; }
.form-message { display: none; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-message.success { background: #E7F5EE; color: #135C3A; }
.form-message.error { background: #FDECEC; color: #8A1C1C; }

/* ---------- Insights ---------- */
.note-card { background: var(--sand); border-radius: var(--radius); padding: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 28px; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { height: 50px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34em; margin: 0; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; }
.site-footer a:hover { color: var(--sage); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.9rem; color: rgba(255,255,255,0.55); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- DisasterData app pages ---------- */
.form-group select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23445069' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
    display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: transparent; }
.feature-card .cap-icon { margin: 0; flex: none; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.notice {
    max-width: 860px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sage);
    border-radius: var(--radius); padding: 30px 34px;
}
.notice h2 { font-size: 1.35rem; margin-bottom: 12px; }
.notice p { color: var(--ink-2); font-size: 1rem; }
.notice p:last-child { margin-bottom: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.narrow { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 12px; }
.prose h2:first-child, .prose .meta + h2 { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose .meta { font-size: 0.95rem; color: var(--ink-3); margin-bottom: 36px; }
.contact-block { background: var(--sand); border-radius: var(--radius); padding: 22px 26px; }
.contact-block p { margin: 0 0 4px; }
.contact-block p:last-child { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .site-nav a { padding: 8px 9px; font-size: 0.94rem; }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
    .proof-item { border-top: 1px solid var(--line); }
    .proof-item:nth-child(-n+2) { border-top: 0; }
    .svc-block { grid-template-columns: 1fr; gap: 28px; }
    .cta { grid-template-columns: 1fr; padding: 48px; }
    .cta-actions { justify-content: flex-start; }
}

@media (max-width: 920px) {
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 78px; background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(17,28,51,0.08); display: none; padding: 12px 24px 24px;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a { padding: 12px 10px; font-size: 1.05rem; }
    .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sage); }
    .site-nav .nav-cta { margin: 10px 0 0; }
    .site-nav .nav-cta a { justify-content: center; padding: 14px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
    .doc-card { margin: 0 auto; transform: none; max-width: 320px; }
    .split, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .about-aside { position: static; max-width: 420px; }
    .split-media .badge-float { left: 16px; }
    .cs-band { grid-template-columns: 1fr; text-align: left; padding: 32px; }
    .cs-band img { max-width: 200px; }
    .cs-band .cs-actions { flex-direction: row; flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .approach-grid, .client-types { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 17px; }
    .section { padding: 72px 0; }
    .wrap { padding-left: 18px; padding-right: 18px; }
    .brand img { height: 40px; }
    .cap-grid, .work-grid, .svc-cols, .form-row, .feature-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 22px; }
    .notice { padding: 24px; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-item, .proof-item:nth-child(3) { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
    .proof-item:first-child { border-top: 0; }
    .proof-item:nth-child(2) { border-top: 1px solid var(--line); }
    .company-data { grid-template-columns: 1fr 1fr; }
    .timeline::before { left: 6px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 30px; }
    .tl-item::before { left: 0; top: 4px; }
    .tl-when { text-align: left; padding: 0; }
    .cta { padding: 36px 26px; border-radius: 18px; }
    .form-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .career li { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

@media print {
    .site-header, .site-footer, .cta, .hero-actions { display: none; }
    .hero, .page-hero { background: none; color: var(--ink); }
    .hero h1, .page-hero h1 { color: var(--navy); }
}
