/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Tokens ---------- */
:root {
    --bg: #ffffff;
    --surface: #f6f8fb;
    --surface-2: #eef2f7;
    --ink: #0b1729;
    --ink-2: #1f2a3d;
    --muted: #5b6779;
    --line: #e3e8ef;
    --navy: #0b1729;
    --navy-2: #142440;
    --teal: #0fb8a1;
    --teal-2: #0aa18d;
    --teal-soft: rgba(15, 184, 161, 0.12);
    --danger: #d9385a;
    --success: #0fb8a1;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(11, 23, 41, 0.04), 0 1px 3px rgba(11, 23, 41, 0.06);
    --shadow-md: 0 4px 12px rgba(11, 23, 41, 0.06), 0 12px 32px rgba(11, 23, 41, 0.08);
    --shadow-lg: 0 18px 48px rgba(11, 23, 41, 0.14);
    --container: 1180px;
    --transition: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Inter', sans-serif; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--teal-2);
    margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), background var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand-mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2) 55%, var(--teal));
    display: grid; place-items: center;
    color: #fff; font-weight: 700; font-size: 0.85rem;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 10px rgba(15, 184, 161, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: background var(--transition), color var(--transition);
}
.nav-links a:not(.btn):hover { background: var(--surface); color: var(--ink); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: 8px;
    align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
    width: 20px; height: 2px; background: var(--ink);
    position: relative; display: block; border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: ''; position: absolute; left: 0;
    width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform var(--transition);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-2); box-shadow: var(--shadow-md); }
.btn-accent {
    background: var(--teal);
    color: #06342d;
    box-shadow: 0 6px 16px rgba(15, 184, 161, 0.32);
}
.btn-accent:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: #cdd5e0; }
.btn-on-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding-top: clamp(72px, 8vw, 120px);
    padding-bottom: clamp(80px, 9vw, 140px);
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 82% -12%, rgba(15, 184, 161, 0.12), transparent 60%),
        radial-gradient(900px 600px at -10% 25%, rgba(20, 36, 64, 0.06), transparent 60%),
        var(--bg);
}
/* faint dotted grid, fading toward the centre-bottom */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(11, 23, 41, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(760px 420px at 72% 2%, #000, transparent 72%);
    mask-image: radial-gradient(760px 420px at 72% 2%, #000, transparent 72%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent {
    background: linear-gradient(120deg, var(--teal-2), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta {
    margin-top: 40px;
    display: flex; gap: 28px; flex-wrap: wrap;
    color: var(--muted); font-size: 0.92rem;
}
.hero-meta > div { position: relative; padding-left: 14px; }
.hero-meta > div::before {
    content: ''; position: absolute; left: 0; top: 3px; bottom: 3px;
    width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, var(--teal), var(--teal-2));
    opacity: 0.75;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* Eyebrow rendered as a pill badge (hero) */
.eyebrow.badge {
    display: inline-flex; align-items: center; gap: 9px;
    text-transform: none; letter-spacing: 0;
    padding: 6px 14px 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--ink-2);
    font-size: 0.82rem; font-weight: 600;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-soft);
}

/* Hero visual: framed photo + honest accent details */
.hero-visual {
    position: relative;
    max-width: 470px;
    margin-inline: auto;
}
.hero-glow {
    position: absolute; inset: 6% -6% -8% -6%;
    background: radial-gradient(closest-side, rgba(15, 184, 161, 0.32), transparent);
    filter: blur(48px);
    z-index: 0;
}
.hero-photo {
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; display: block; }
.hero-photo::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%, rgba(11, 23, 41, 0.12));
}

/* Bottom-left credibility chip */
.hero-chip {
    position: absolute;
    left: -22px; bottom: 30px;
    z-index: 2;
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 12px 16px 12px 13px;
}
.hero-chip-ico {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 10px;
    background: var(--teal-soft);
    color: var(--teal-2);
    display: grid; place-items: center;
}
.hero-chip-ico svg { width: 20px; height: 20px; }
.hero-chip strong { display: block; font-size: 1.1rem; color: var(--ink); line-height: 1.05; }
.hero-chip small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

/* Top-right product tag */
.hero-tag {
    position: absolute;
    top: 24px; right: -14px;
    z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy);
    color: #fff;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 0.8rem; font-weight: 600;
    box-shadow: 0 12px 26px rgba(11, 23, 41, 0.30);
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Gentle float (no rotation; disabled under reduced-motion globally) */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-soft { animation: floatY 7s ease-in-out infinite; }
.float-soft.delay { animation-duration: 9s; }

/* ---------- Logos strip ---------- */
.logos {
    padding: 36px 0 0;
    border-top: 1px solid var(--line);
}
.logos-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 22px;
    font-weight: 600;
}
.logos-row {
    display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center;
    gap: 20px 48px;
    opacity: 0.78;
}
.logo-chip {
    font-weight: 600;
    color: var(--ink-2);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* ---------- Services ---------- */
.services { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d6dee9;
}
.card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--teal-soft);
    color: var(--teal-2);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.stat {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.stat-num { font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

.about-visual {
    position: relative;
    border-radius: 20px;
    padding: 36px;
    background:
        radial-gradient(700px 320px at 100% 0%, rgba(15, 184, 161, 0.18), transparent 60%),
        linear-gradient(180deg, var(--navy), var(--navy-2));
    color: #d9e1ee;
    overflow: hidden;
}
.about-visual h3 { color: #fff; font-size: 1.25rem; }
.about-visual ul { list-style: none; padding: 0; margin: 16px 0 0; }
.about-visual li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.95rem;
    color: #d9e1ee;
}
.about-visual li:last-child { border-bottom: 0; }
.about-visual li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--teal-soft);
    border: 1px solid var(--teal);
    margin-top: 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fb8a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

/* ---------- Process ---------- */
.process { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    counter-increment: step;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 18px; right: 22px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal-2);
    letter-spacing: 0.1em;
}
.step h3 { margin-bottom: 8px; padding-right: 36px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #d9e1ee; }
.contact h2 { color: #fff; }
.contact .lead { color: #aab8cc; }
.contact .eyebrow { color: var(--teal); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
    align-items: start;
}
.contact-details { display: grid; gap: 24px; margin-top: 32px; }
.contact-detail {
    display: flex; gap: 16px; align-items: flex-start;
}
.contact-detail .ci {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(15, 184, 161, 0.14);
    color: var(--teal);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-detail .ci svg { width: 20px; height: 20px; }
.contact-detail strong { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }
.contact-detail a { color: #d9e1ee; transition: color var(--transition); }
.contact-detail a:hover { color: var(--teal); }

.form {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
}
.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 184, 161, 0.16);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err {
    display: block;
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 6px;
}
.honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.92rem;
}
.alert-success {
    background: rgba(15, 184, 161, 0.10);
    color: #086354;
    border: 1px solid rgba(15, 184, 161, 0.3);
}
.alert-error {
    background: rgba(217, 56, 90, 0.08);
    color: #95203a;
    border: 1px solid rgba(217, 56, 90, 0.25);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #07101e;
    color: #93a1b8;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: fixed;
        inset: 72px 0 auto 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { transform: none; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; }
    .nav-links .btn { margin-top: 8px; }
    .cards { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Multi-page additions (sub-pages, nav state, prose, etc.)
   ========================================================= */

/* Skip link */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: #fff; color: var(--ink);
    padding: 10px 16px; border-radius: 8px; z-index: 100;
    box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 16px; top: 10px; }

/* Active nav item */
.nav-links a.active { color: var(--ink); background: var(--surface); }

/* Footer legal small-print */
.footer-legal { max-width: 540px; text-align: right; opacity: 0.85; }

/* Section sizing helpers */
.section-sm { padding: clamp(48px, 7vw, 88px) 0; }
.section-cta { display: flex; justify-content: center; margin-top: 48px; }

/* Sub-page hero */
.page-hero {
    padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
    background: radial-gradient(900px 400px at 85% -20%, rgba(15, 184, 161, 0.10), transparent 60%), var(--bg);
    border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 760px; }
.page-hero h1 { margin-bottom: 18px; }

/* Service detail rows (image + content, alternating) */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: 0; padding-top: 8px; }
.service-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: block;
}
/* alternate the image to the right on even rows */
.service-row:nth-of-type(even) .service-media { order: 2; }
.service-num {
    display: block; font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.12em; color: var(--teal-2); margin-bottom: 10px;
}
.service-content h2 { font-size: 1.6rem; margin: 0 0 12px; }
.service-content .lead { color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.service-content p { color: var(--muted); }

/* Tick lists */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: 3px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--teal-soft);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230aa18d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat; background-position: center; background-size: 11px;
}

/* Call-to-action band */
.cta-band { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #d9e1ee; }
.cta-band-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: clamp(40px, 6vw, 64px) 0;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #aab8cc; margin: 0; }

/* Prose (privacy policy etc.) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 0 0 16px; }
.prose a { color: var(--teal-2); text-decoration: underline; }
.prose .muted { color: var(--muted); font-size: 0.9rem; }

/* Insights / posts grid */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--teal)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--teal-2); }
.post-card h3 { font-size: 1.05rem; margin: 0; }
.post-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.post-meta { margin-top: auto; font-size: 0.82rem; color: var(--muted); padding-top: 10px; }

/* Insights note (understated, not a placeholder box) */
.insights-note {
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.95rem;
}
.insights-note a { color: var(--teal-2); font-weight: 600; }

/* Value grid (About) */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 0.94rem; margin: 0; }

@media (max-width: 880px) {
    .service-row { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
    .service-row:nth-of-type(even) .service-media { order: 0; } /* image on top on mobile */
    .posts { grid-template-columns: 1fr 1fr; }
    .value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .footer-legal { text-align: left; }
    .posts { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Imagery — sectors strip & media banners
   ========================================================= */

/* Sectors strip (home) */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-card {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3.1;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sector-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sector-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.sector-card:hover img { transform: scale(1.05); }
.sector-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 22px;
    background: linear-gradient(180deg, rgba(11, 23, 41, 0) 38%, rgba(11, 23, 41, 0.80));
}
.sector-overlay h3 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; }
.sector-overlay p { color: #d9e1ee; margin: 0; font-size: 0.9rem; }
/* clickable affordance */
.sector-go {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    display: grid; place-items: center;
    font-size: 1.05rem; line-height: 1;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), background var(--transition);
}
.sector-card:hover .sector-go { transform: translateX(3px); background: #fff; }

/* Media banner (e.g. About) */
.media-wrap { margin-top: clamp(40px, 6vw, 72px); }
.media-banner {
    display: block;
    width: 100%;
    height: clamp(220px, 34vw, 420px);
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}

@media (max-width: 980px) {
    .sector-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .sector-grid { grid-template-columns: 1fr; }
}
