@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --color-primary: #ff5c5c;
    --color-secondary: #0B3D91;
    --color-accent: #0bb5a9;
    --color-dark: #111111;
    --color-light: #fafafa;
    --color-muted: #4b5563;
    --color-surface: #ffffff;
    --color-surface-muted: #f3f4f6;
    --max-width: 1200px;
    --font-heading: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Manrope', 'Source Sans Pro', 'Roboto', Arial, sans-serif;
    --shadow-soft: 0 18px 45px rgba(17, 17, 17, 0.08);
    --shadow-card: 0 14px 30px rgba(255, 92, 92, 0.15);
    --text-shadow-dark: 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.25);
    --text-shadow-light: 0 1px 2px rgba(255, 255, 255, 0.5);
    --text-shadow-on-dark: 0 1px 2px rgba(0, 0, 0, 0.65), 0 0 2px rgba(255, 255, 255, 0.2);
}

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

html {
    scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    text-shadow: none;
}

input,
textarea,
select,
button {
    text-shadow: none;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
}

body::before {
    background-image:
        radial-gradient(circle at 15% 20%, rgba(63, 224, 255, 0.12), transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(32, 217, 186, 0.12), transparent 30%),
        radial-gradient(circle at 60% 78%, rgba(65, 126, 255, 0.08), transparent 40%),
        repeating-linear-gradient(8deg, rgba(95, 192, 255, 0.07) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(96deg, rgba(95, 192, 255, 0.06) 0 1px, transparent 1px 56px),
        linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    background-attachment: fixed;
}

body::after {
    z-index: -1;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(17, 17, 17, 0.04), transparent 42%),
        radial-gradient(circle at 80% 0%, rgba(11, 181, 169, 0.06), transparent 50%);
    opacity: 0.6;
}


body.has-sticky-cta {
    --color-dark: #f1f7ff;
    --color-muted: #a6bedc;
    --color-surface: rgba(8, 24, 58, 0.88);
    --color-surface-muted: rgba(6, 19, 46, 0.8);
    --shadow-soft: 0 18px 45px rgba(3, 10, 29, 0.42);
    --shadow-card: 0 14px 30px rgba(31, 199, 243, 0.2);
    color: #eaf2ff;
    background-color: #040917;
}

body.has-sticky-cta main {
    --color-dark: #111111;
    --color-muted: #4b5563;
    color: #111111;
}

body.has-sticky-cta main :is(.hero, .section.dark, .consultation-form),
body.has-sticky-cta footer {
    --color-dark: #f1f7ff;
    --color-muted: #a6bedc;
    color: #eaf2ff;
}

body.has-sticky-cta::before {
    background-image:
        radial-gradient(circle at 8% 25%, rgba(40, 199, 255, 0.18), transparent 32%),
        radial-gradient(circle at 78% 8%, rgba(31, 215, 173, 0.16), transparent 30%),
        radial-gradient(circle at 60% 78%, rgba(65, 126, 255, 0.14), transparent 40%),
        repeating-linear-gradient(8deg, rgba(165, 219, 255, 0.08) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(96deg, rgba(95, 192, 255, 0.07) 0 1px, transparent 1px 56px),
        linear-gradient(160deg, #040917 0%, #08162e 50%, #041226 100%);
}

body.has-sticky-cta::after {
    background-image:
        radial-gradient(circle at 24% 54%, rgba(70, 238, 255, 0.18), transparent 22%),
        radial-gradient(circle at 56% 34%, rgba(255, 101, 101, 0.1), transparent 18%),
        radial-gradient(circle at 72% 70%, rgba(0, 228, 185, 0.14), transparent 18%);
    opacity: 0.55;
}


body.has-sticky-cta header {
    background: rgba(3, 9, 24, 0.78);
    border-bottom-color: rgba(168, 203, 255, 0.16);
    box-shadow: 0 10px 30px rgba(3, 10, 29, 0.45);
}

body.has-sticky-cta .logo,
body.has-sticky-cta .logo-tagline,
body.has-sticky-cta .nav-links a {
    color: #d6e5f8;
}

body.has-sticky-cta main :is(.hero, .section.dark, .consultation-form) :is(p, li, label),
body.has-sticky-cta footer :is(p, li, label) {
    color: #d6e5f8;
}

body.has-sticky-cta main .section.light .section-header p,
body.has-sticky-cta main .map-note {
    color: #d6e5f8;
}

body.has-sticky-cta main :is(.contact-card, .contact-form, .map-card, .card:not(.dark)) {
    color: #111111;
}

body.has-sticky-cta main :is(.contact-card, .contact-form, .map-card, .card:not(.dark)) :is(p, li, label, .form-note, .map-note) {
    color: #4b5563;
}

body.has-sticky-cta.legal-page main .section-header p,
body.has-sticky-cta.legal-page main .card p,
body.has-sticky-cta.legal-page main .card li {
    color: #ffffff;
}

body.has-sticky-cta.legal-page main .card :is(h2, h3, strong, a) {
    color: #ffffff;
}

body.has-sticky-cta .card,
body.has-sticky-cta .contact-form,
body.has-sticky-cta .map-card,
body.has-sticky-cta .section.light,
body.has-sticky-cta .section.dark {
    border-color: rgba(142, 202, 255, 0.24);
}


body.has-sticky-cta .hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(63, 224, 255, 0.24), transparent 35%),
        radial-gradient(circle at 85% 25%, rgba(32, 217, 186, 0.2), transparent 30%),
        linear-gradient(140deg, rgba(1, 9, 29, 0.95) 0%, rgba(4, 16, 44, 0.88) 46%, rgba(0, 12, 34, 0.95) 100%);
    border-bottom: 1px solid rgba(142, 202, 255, 0.24);
}

body.has-sticky-cta .hero::before {
    background:
        radial-gradient(circle at 24% 54%, rgba(70, 238, 255, 0.28), transparent 22%),
        radial-gradient(circle at 56% 34%, rgba(255, 101, 101, 0.14), transparent 18%),
        radial-gradient(circle at 72% 70%, rgba(0, 228, 185, 0.2), transparent 18%);
}

body.has-sticky-cta .hero::after {
    background-image:
        repeating-linear-gradient(8deg, rgba(165, 219, 255, 0.12) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(96deg, rgba(95, 192, 255, 0.08) 0 1px, transparent 1px 56px);
    opacity: 0.32;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-underline-offset: 0.2em;
}

a:hover,
a:focus {
    color: var(--color-secondary);
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translate(-50%, -150%);
    background: var(--color-accent);
    color: var(--color-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    z-index: 1100;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    outline: 3px solid var(--color-dark);
    outline-offset: 4px;
}

button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

header {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-dark);
    text-decoration: none;
    flex: 0 0 auto;
}

.logo:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 6px;
}

.logo-mark {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(17, 17, 17, 0.12));
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.75);
}

.nav-links {
    display: flex;
    gap: 0.55rem;
    list-style: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    transition: background 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    background-color: rgba(255, 92, 92, 0.12);
    color: var(--color-dark);
    transform: translateY(-1px);
}

.nav-links a:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.nav-links li.motion-control {
    list-style: none;
}

.nav-links li.motion-control .motion-toggle {
    width: 100%;
    justify-content: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 999px;
}

.nav-utilities {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

nav[aria-label="Primary"] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.nav-utilities .btn {
    padding: 0.45rem 1.2rem;
    border-width: 1px;
    font-size: 0.9rem;
}

.motion-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(11, 181, 169, 0.12);
    color: var(--color-dark);
    border: 1px solid rgba(11, 181, 169, 0.3);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.motion-toggle[aria-pressed="true"],
.motion-toggle:hover,
.motion-toggle:focus {
    background: rgba(11, 181, 169, 0.2);
    color: var(--color-dark);
    border-color: rgba(11, 181, 169, 0.5);
}

.motion-toggle:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
}

.nav-toggle:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.hero {
    background:
        radial-gradient(120% 140% at 85% 20%, rgba(47, 111, 237, 0.18), transparent 65%),
        radial-gradient(120% 120% at 12% 15%, rgba(255, 92, 92, 0.2), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    color: var(--color-dark);
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.hero.narrow {
    padding: 4rem 2rem 3.5rem;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    background:
        radial-gradient(40vw 40vw at 20% 80%, rgba(47, 111, 237, 0.1), transparent 70%),
        radial-gradient(38vw 38vw at 80% 30%, rgba(11, 181, 169, 0.12), transparent 70%);
    filter: blur(0.5px);
    animation: heroPulse 16s ease-in-out infinite alternate;
}

.hero::after {
    background-image:
        repeating-linear-gradient(120deg, rgba(17, 17, 17, 0.04) 0, rgba(17, 17, 17, 0.04) 1px, transparent 1px, transparent 24px);
    background-size: 260px 260px;
    opacity: 0.3;
    animation: heroStrafe 22s linear infinite;
}

@keyframes heroPulse {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(0.98);
        opacity: 0.8;
    }
    50% {
        transform: translate3d(1%, 2%, 0) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate3d(-1%, 1%, 0) scale(1);
        opacity: 0.85;
    }
}

@keyframes heroStrafe {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 280px 280px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 2.5rem;
}

.hero-aside {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.hero.narrow .hero-content {
    align-items: stretch;
    gap: 2rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 4vw + 1.6rem, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-secondary);
    font-weight: 600;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

.btn-link:hover,
.btn-link:focus {
    color: var(--color-accent);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 92, 92, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    background: #ff7a7a;
}

.btn-secondary {
    background: #edf4ff;
    border-color: #9ec4f3;
    color: #0b3d91;
    box-shadow: 0 8px 18px rgba(11, 61, 145, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-1px);
    background: #dcecff;
    border-color: #7eaedf;
    color: #082f70;
}

.btn-secondary:disabled {
    background: #e9eef5;
    border-color: #bed0e5;
    color: #4a678d;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.proof-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proof-card.dark {
    background: rgba(15, 27, 42, 0.92);
    color: #fff;
    box-shadow: var(--shadow-card);
    text-shadow: var(--text-shadow-on-dark);
}

.proof-logo {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
}

.proof-card p {
    color: inherit;
}

.proof-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: inherit;
}

.download-links {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.download-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 77, 143, 0.2);
    color: var(--color-primary);
    background: rgba(26, 77, 143, 0.05);
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.proof-card.dark .download-links a {
    border-color: rgba(227, 139, 23, 0.45);
    background: rgba(227, 139, 23, 0.18);
    color: #fff;
}

.download-links a:hover,
.download-links a:focus {
    transform: translateY(-1px);
    background: rgba(26, 77, 143, 0.1);
}

.proof-card.dark .download-links a:hover,
.proof-card.dark .download-links a:focus {
    background: rgba(227, 139, 23, 0.28);
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.impact-metrics dl {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.impact-metrics dt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.impact-metrics dd {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.compliance-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.compliance-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.compliance-card ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.trust-center {
    margin-top: 2rem;
    background: rgba(15, 122, 229, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 720px;
}

.trust-center-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-left: 0;
}

.trust-center-links a {
    color: var(--color-secondary);
    font-weight: 600;
}

.consent-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: rgba(15, 27, 42, 0.97);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    max-width: min(480px, calc(100% - 2rem));
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1200;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    text-shadow: var(--text-shadow-on-dark);
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.consent-banner.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.consent-banner button {
    align-self: flex-start;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: var(--color-accent);
    color: #0f1b2a;
    font-weight: 600;
    cursor: pointer;
}

.consent-banner .btn-ghost {
    background: rgba(26, 77, 143, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.consent-banner a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 14px;
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: rgba(17, 17, 17, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 92, 92, 0.1);
    border-color: rgba(255, 92, 92, 0.3);
    transform: translateY(-2px);
}

.section {
    padding: 4.5rem 2rem;
}

.section.light {
    background: var(--color-surface);
}

.section.dark {
    background: var(--color-surface-muted);
    color: var(--color-dark);
}

.section .section-header {
    max-width: 780px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section .section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 2vw + 1.2rem, 2.6rem);
    margin-bottom: 1rem;
}

.section .section-header p {
    color: var(--color-muted);
}

.section.dark .section-header p {
    color: var(--color-muted);
}

.capability-list,
.differentiator-list {
    max-width: var(--max-width);
    margin: 0 auto;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-list li,
.differentiator-list li {
    background: var(--color-surface);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-weight: 600;
}

.differentiator-list li {
    background: transparent;
}

.credentials-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.credential-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 251, 0.92));
    border: 1px solid rgba(17, 17, 17, 0.09);
    border-radius: 14px;
    padding: 1.2rem 1.2rem 1.25rem;
    min-height: 100%;
}

.credential-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.credential-value {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 650;
    color: var(--color-dark);
    margin: 0;
}

.naics-codes {
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.naics-codes span {
    margin: 0 0.35rem;
    color: rgba(17, 17, 17, 0.45);
}

.credentials-note {
    max-width: 760px;
    margin: 1rem auto 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.lifecycle-stepper {
    max-width: var(--max-width);
    margin: 0 auto;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    counter-reset: lifecycle;
}

.lifecycle-stepper li {
    position: relative;
    background: var(--color-surface);
    border-radius: 12px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    min-height: 100%;
    padding: 2.2rem 0.85rem 0.9rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
}

.lifecycle-stepper li::before {
    counter-increment: lifecycle;
    content: counter(lifecycle);
    position: absolute;
    top: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.card-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compliance-cta {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.card {
    background: var(--color-surface);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(17, 17, 17, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.experience {
    position: relative;
}

.experience-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.experience-hero h3 {
    font-size: clamp(2rem, 2.4vw + 1rem, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.experience-hero p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.experience-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.quick-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.quick-card span {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.quick-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.experience-ui {
    display: grid;
    gap: 1.5rem;
}

.ui-panel {
    background: var(--color-surface);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.ui-panel h4 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pipeline-canvas {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
}

.pipeline-sidebar {
    display: grid;
    gap: 0.75rem;
}

.pipeline-chip {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(47, 111, 237, 0.08);
}

.pipeline-nodes {
    display: grid;
    gap: 0.75rem;
}

.pipeline-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 92, 92, 0.08);
    border: 1px solid rgba(255, 92, 92, 0.2);
    font-weight: 600;
}

.pipeline-node span {
    color: var(--color-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.map-viewer {
    display: grid;
    gap: 1rem;
}

.map-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-toolbar button {
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(11, 181, 169, 0.12);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.map-canvas {
    background: linear-gradient(135deg, rgba(47, 111, 237, 0.1), rgba(11, 181, 169, 0.1));
    border-radius: 16px;
    min-height: 180px;
    border: 1px dashed rgba(17, 17, 17, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-weight: 600;
}

.map-layers {
    display: grid;
    gap: 0.6rem;
}

.map-layer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.04);
}

.data-preview {
    display: grid;
    gap: 0.75rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    text-align: left;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.settings-panel {
    display: grid;
    gap: 0.6rem;
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.4rem 0;
}

.toggle {
    width: 42px;
    height: 24px;
    background: rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    position: relative;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(17, 17, 17, 0.18);
}

.toggle.active {
    background: rgba(255, 92, 92, 0.8);
}

.toggle.active::after {
    left: 21px;
}

.toast-stack {
    display: grid;
    gap: 0.75rem;
}

.toast {
    background: var(--color-surface);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.toast strong {
    display: block;
    margin-bottom: 0.25rem;
}

.empty-state {
    text-align: center;
    background: rgba(47, 111, 237, 0.08);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    border: 1px dashed rgba(47, 111, 237, 0.25);
}

.empty-state h4 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.highlight-card {
    border-top: 4px solid var(--color-accent);
    box-shadow: var(--shadow-card);
}

.profile-portrait {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.profile-portrait img {
    width: 100%;
    height: clamp(260px, 32vw, 360px);
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.profile-portrait figcaption {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
}

.profile-portrait strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 0.35rem;
}

.profile-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.badge-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.badge-link:hover::after {
    transform: translateX(4px);
}

.list-pill {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.list-pill li {
    background: rgba(15, 122, 229, 0.14);
    color: var(--color-dark);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.card.dark {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.hero .card.dark {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-soft);
}

.hero .card.dark h3 {
    color: #0f172a;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    padding-bottom: 0.65rem;
}

.hero .card.dark p,
.hero .card.dark ul,
.hero .card.dark ul li {
    color: #334155;
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.8rem;
    font-size: 1.35rem;
}

.section.dark .card h3 {
    color: var(--color-dark);
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    padding-bottom: 0.65rem;
}

.card p {
    color: var(--color-muted);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(47, 111, 237, 0.12);
    color: var(--color-secondary);
    box-shadow: inset 0 0 0 1px rgba(47, 111, 237, 0.12);
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-ghost {
    border: 1px solid rgba(47, 111, 237, 0.3);
    color: var(--color-secondary);
    background: rgba(47, 111, 237, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: rgba(47, 111, 237, 0.16);
    border-color: rgba(47, 111, 237, 0.5);
    color: var(--color-secondary);
}

.card.dark p {
    color: var(--color-muted);
    text-shadow: none;
}

.card.dark ul {
    color: var(--color-muted);
}

.card.dark ul li {
    color: var(--color-muted);
}

.card ul {
    margin-top: 1rem;
    display: grid;
    gap: 0.6rem;
    color: var(--color-muted);
}

.card ul li::marker {
    color: var(--color-secondary);
}

body.has-sticky-cta.legal-page main .section .section-header :is(h1, h2, p),
body.has-sticky-cta.legal-page main .card,
body.has-sticky-cta.legal-page main .card :is(h2, h3, p, ul, li, strong, a) {
    color: #ffffff;
}

.highlight {
    color: var(--color-secondary);
    font-weight: 700;
}

.testimonial-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -1.2rem;
    left: 1.5rem;
    font-size: 3.5rem;
    color: rgba(26, 77, 143, 0.15);
}

.testimonial p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.testimonial strong {
    display: block;
    color: var(--color-dark);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 1rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 3px;
    height: 100%;
    background: linear-gradient(var(--color-secondary), var(--color-primary));
}

.timeline-item {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 0.35rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--color-secondary);
}

.timeline-item h3 {
    margin-bottom: 0.3rem;
}

.timeline-item span {
    color: var(--color-secondary);
    font-weight: 700;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-accordion details {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(26, 77, 143, 0.18);
    box-shadow: var(--shadow-soft);
    padding: 1.75rem 2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion details[open] {
    border-color: rgba(15, 122, 229, 0.35);
    box-shadow: var(--shadow-card);
}

.faq-accordion summary {
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
}

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

.faq-accordion summary::after {
    content: '\002B';
    float: right;
    font-size: 1.4rem;
    color: var(--color-secondary);
    transition: transform 0.2s ease;
}

.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.faq-accordion p {
    margin-top: 1rem;
    color: var(--color-muted);
}

.values-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(26, 77, 143, 0.08);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(26, 77, 143, 0.2);
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--color-muted);
}

.service-table {
    max-width: var(--max-width);
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-table thead {
    background: var(--color-primary);
    color: #fff;
}

.service-table th,
.service-table td {
    padding: 1.4rem;
    text-align: left;
}

.service-table tbody tr:nth-child(even) {
    background: rgba(26, 77, 143, 0.05);
}

.project-showcase {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card.featured {
    border: 1px solid rgba(15, 122, 229, 0.28);
    box-shadow: 0 18px 35px rgba(15, 122, 229, 0.12);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(26, 77, 143, 0.08) 0%, rgba(15, 122, 229, 0.12) 100%);
}

.project-card .project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card span {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--color-secondary);
    font-weight: 700;
}

.project-category {
    margin-top: -0.4rem;
    font-weight: 600;
    color: var(--color-primary);
}

.project-card ul {
    color: var(--color-muted);
    display: grid;
    gap: 0.4rem;
}

.project-links {
    margin-top: 1rem;
}

.project-links a {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.project-links a::after {
    content: '\2192';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.project-links a:hover::after,
.project-links a:focus-visible::after {
    transform: translateX(4px);
}

.contact-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card ul {
    display: grid;
    gap: 0.75rem;
    color: var(--color-muted);
}

.contact-card ul strong {
    color: var(--color-dark);
}

.contact-form {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.2rem;
}

.consultation-form {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3fb 100%);
}

.consultation-form .contact-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem 1.5rem;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-response {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form label {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 27, 42, 0.12);
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(15, 122, 229, 0.22);
}

.contact-form button {
    justify-content: center;
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}


.legal-inline {
    margin-top: 0.5rem;
    font-size: 0.88rem;
}

.hero-legal-note {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: rgba(247, 249, 252, 0.82);
}

.hero-legal-note a,
.legal-inline a {
    font-weight: 600;
}

.map-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.map-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.25rem;
}

.map-cta {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    justify-items: start;
}

.map-cta .btn {
    box-shadow: var(--shadow-soft);
}

.map-note {
    font-size: 0.95rem;
    color: rgba(15, 27, 42, 0.7);
}

#office-map {
    width: 100%;
    min-height: 340px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.leaflet-container {
    font-family: var(--font-body);
    border-radius: 20px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    color: var(--color-dark);
    font-family: var(--font-body);
}

.map-style-showcase {
    position: relative;
    overflow: hidden;
}

.map-style-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(15, 122, 229, 0.22), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.map-style-grid {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.map-style-card {
    background: rgba(7, 15, 31, 0.85);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 1.25rem;
    color: #f7f9fc;
    text-shadow: var(--text-shadow-on-dark);
}

.map-style-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.map-style-card p {
    color: rgba(247, 249, 252, 0.82);
}

.map-style-preview {
    border-radius: 16px;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    text-shadow: var(--text-shadow-on-dark);
}

.map-style-preview.future-land-use {
    background: linear-gradient(135deg, #f18f01 0%, #f18f01 45%, transparent 45%),
        linear-gradient(45deg, rgba(15, 27, 42, 0.08) 25%, transparent 25%, transparent 50%, rgba(15, 27, 42, 0.08) 50%, rgba(15, 27, 42, 0.08) 75%, transparent 75%, transparent),
        linear-gradient(135deg, #0f7ae5 0%, #0f7ae5 30%, transparent 30%),
        linear-gradient(225deg, #9bd770 0%, #9bd770 60%, transparent 60%),
        #f8f3e6;
    background-size: cover, 28px 28px, cover, cover, auto;
}

.map-style-preview.zoning {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 80px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 80px),
        linear-gradient(135deg, rgba(26, 77, 143, 0.45) 0%, rgba(26, 77, 143, 0.05) 100%);
    position: relative;
}

.map-style-preview.zoning::before,
.map-style-preview.zoning::after {
    content: "C-1";
    position: absolute;
    top: 22%;
    left: 18%;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.map-style-preview.zoning::after {
    content: "R-2";
    top: 58%;
    left: 55%;
}

.map-style-preview.addressing {
    background: radial-gradient(circle at 20% 30%, rgba(15, 122, 229, 0.65) 0, rgba(15, 122, 229, 0.12) 40%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(227, 139, 23, 0.55) 0, rgba(227, 139, 23, 0.14) 45%, transparent 45%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 70px),
        rgba(15, 27, 42, 0.55);
    position: relative;
}

.map-style-preview.addressing::before,
.map-style-preview.addressing::after {
    content: "1200-1298";
    position: absolute;
    bottom: 16%;
    left: 14%;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.map-style-preview.addressing::after {
    content: "1501";
    top: 26%;
    right: 18%;
    bottom: unset;
    left: unset;
}

.map-style-legend {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.map-style-legend li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(247, 249, 252, 0.9);
}

.legend-swatch {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(7, 15, 31, 0.25);
}

.legend-swatch.landuse-mixed {
    background: #f18f01;
}

.legend-swatch.landuse-civic {
    background: #0f7ae5;
}

.legend-swatch.landuse-conservation {
    background: #9bd770;
}

.legend-swatch.zoning-commercial {
    background: #f45d48;
}

.legend-swatch.zoning-residential {
    background: #5ac8fa;
}

.legend-swatch.zoning-industrial {
    background: #9b59b6;
}

.legend-swatch.addressing-primary {
    background: #0f7ae5;
}

.legend-swatch.addressing-secondary {
    background: #f18f01;
}

.legend-swatch.addressing-range {
    background: linear-gradient(135deg, rgba(247, 249, 252, 0.2) 0%, rgba(247, 249, 252, 0.6) 100%);
}

footer {
    background: var(--color-surface);
    color: var(--color-muted);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.footer-content h3 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}

.footer-logo-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-dark);
}

.footer-logo-subtitle {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.8);
}

.footer-logo-tagline {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.7);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 92, 92, 0.12);
    color: var(--color-dark);
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    box-shadow: 0 12px 30px rgba(255, 92, 92, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: var(--text-shadow-on-dark);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-4px);
}

.back-to-top span[aria-hidden="true"] {
    font-size: 1.4rem;
    line-height: 1;
}

.back-to-top-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.75rem;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 18px 40px rgba(15, 122, 229, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-shadow: var(--text-shadow-on-dark);
}

.sticky-cta:hover,
.sticky-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(15, 122, 229, 0.5);
    background: #0d65c2;
    color: #fff;
}

.sticky-cta span[aria-hidden="true"] {
    font-size: 1.35rem;
    line-height: 1;
}

body[data-motion="reduced"] .sticky-cta {
    transition: none;
}

body.has-sticky-cta .back-to-top {
    right: 190px;
}

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    background: rgba(7, 15, 31, 0.72);
    backdrop-filter: blur(7px);
    transition: opacity 0.3s ease;
}

.case-modal[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.case-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.case-modal__dialog {
    background: #fff;
    color: var(--color-dark);
    border-radius: 22px;
    max-width: 540px;
    width: min(90vw, 520px);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-card);
    position: relative;
    display: grid;
    gap: 1rem;
}

.case-modal__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: rgba(15, 122, 229, 0.14);
    color: var(--color-primary);
}

.case-modal__close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.case-modal__close:hover,
.case-modal__close:focus {
    color: var(--color-primary);
}

.case-modal__content {
    display: grid;
    gap: 0.75rem;
}

.case-modal__content p {
    color: var(--color-muted);
}

.case-modal__content ul {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.45rem;
    color: var(--color-muted);
}

.case-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

body.modal-open {
    overflow: hidden;
}

.playbook-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.playbook-form {
    background: linear-gradient(180deg, #f7f9fc 0%, #edf3ff 100%);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.2rem;
}

.playbook-form label {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.playbook-form input[type="text"],
.playbook-form input[type="email"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 27, 42, 0.16);
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.playbook-form input[type="text"]:focus,
.playbook-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(15, 122, 229, 0.22);
}

.playbook-form .checkbox-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.playbook-form .checkbox-row input[type="checkbox"] {
    margin-top: 0.35rem;
}

.playbook-message {
    font-size: 0.95rem;
    font-weight: 600;
}

.playbook-downloads {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1.5rem;
}

.playbook-downloads--visible {
    box-shadow: 0 18px 40px rgba(15, 122, 229, 0.18);
}

.playbook-downloads header {
    display: grid;
    gap: 0.35rem;
}

.playbook-downloads ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.playbook-downloads li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    background: rgba(15, 122, 229, 0.1);
    border: 1px solid rgba(15, 122, 229, 0.2);
}

.playbook-downloads li span {
    font-weight: 600;
    color: var(--color-dark);
}

.playbook-downloads[hidden] {
    display: none;
}

.playbook-downloads p {
    color: var(--color-muted);
}

.playbook-downloads a {
    font-weight: 600;
    color: var(--color-primary);
}

.playbook-downloads a:hover,
.playbook-downloads a:focus {
    text-decoration: underline;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

main {
    background: #fff;
}

body.insight-detail-page {
    color: #e9f4ff;
}

body.insight-detail-page::before {
    background-image:
        radial-gradient(circle at 14% 18%, rgba(47, 239, 211, 0.2), transparent 30%),
        radial-gradient(circle at 80% 14%, rgba(74, 151, 255, 0.32), transparent 34%),
        linear-gradient(132deg, #021126 0%, #04264a 42%, #01101f 100%);
}

body.insight-detail-page::after {
    opacity: 0.8;
    background-image:
        linear-gradient(0deg, rgba(6, 35, 69, 0.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 78, 122, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 25% 34%, rgba(35, 233, 201, 0.5) 0 2px, transparent 9px),
        radial-gradient(circle at 78% 22%, rgba(94, 176, 255, 0.45) 0 2px, transparent 11px),
        radial-gradient(circle at 62% 70%, rgba(31, 199, 243, 0.38) 0 2px, transparent 10px);
    background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

body.insight-detail-page main {
    background: transparent;
}

.insight-detail-shell {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(104, 202, 255, 0.35);
    border-radius: 20px;
    padding: clamp(1.4rem, 2vw, 2rem);
    background: linear-gradient(155deg, rgba(5, 27, 56, 0.88), rgba(4, 15, 34, 0.84));
    box-shadow: 0 20px 60px rgba(0, 6, 16, 0.55);
    backdrop-filter: blur(2px);
}

.insight-detail-shell h1,
.insight-detail-shell h2 {
    color: #f1f8ff;
}

.insight-detail-shell h1 {
    margin-bottom: 1rem;
}

.insight-detail-shell p,
.insight-detail-shell li {
    color: rgba(221, 239, 255, 0.95);
}

.insight-detail-shell h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.85rem;
}

.insight-detail-shell ul {
    margin-left: 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.insight-detail-shell .eyebrow {
    color: #73e5ca;
}

.insight-detail-shell .btn-secondary {
    border-color: rgba(115, 229, 202, 0.6);
    color: #d8fff5;
    background: rgba(14, 95, 110, 0.32);
}

.insight-detail-shell .btn-secondary:hover,
.insight-detail-shell .btn-secondary:focus {
    background: rgba(31, 199, 243, 0.28);
    color: #f3fdff;
}

main .section:first-child {
    padding-top: 3.5rem;
}

main .section.light .section-header p {
    color: var(--color-muted);
}

.tablet-only,
.mobile-only {
    display: none;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .navbar {
        align-items: flex-start;
    }

    nav {
        position: relative;
        margin-left: auto;
    }

    .nav-utilities {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(15, 27, 42, 0.96);
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        width: max(240px, 60vw);
        gap: 0.75rem;
        color: #fff;
        text-shadow: var(--text-shadow-on-dark);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 0.6rem 0.75rem;
    }

    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active {
        background-color: rgba(255, 255, 255, 0.16);
        color: #fff;
    }

    .nav-links .motion-toggle {
        display: inline-flex;
        margin-top: 0.5rem;
    }

    .nav-links .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 6.5rem;
    }

    .tablet-only,
    .mobile-only {
        display: inline-flex;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-story .btn-group {
        justify-content: center;
    }

    .insight-extras {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 1rem 1.25rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-mark {
        width: 44px;
        height: 44px;
    }

    .logo-name {
        font-size: 1rem;
        letter-spacing: 0.04em;
    }

    .logo-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.24em;
    }

    .logo-tagline {
        display: none;
    }

    .footer-logo {
        gap: 0.5rem;
    }

    .footer-logo img {
        width: 48px;
        height: 48px;
    }

    .footer-logo-subtitle {
        letter-spacing: 0.2em;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

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

    .card-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .back-to-top {
        right: 20px;
        bottom: 20px;
        padding: 0.6rem 0.9rem;
    }

    .sticky-cta {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: center;
        padding: 0.85rem 1.2rem;
    }

    body.has-sticky-cta .back-to-top {
        right: 16px;
        bottom: 80px;
    }

    .back-to-top-text {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .metrics-grid,
    .card-grid,
    .values-grid,
    .project-showcase,
    .contact-wrapper {
        gap: 1.5rem;
    }

    .mobile-only {
        display: inline-flex;
    }

    .honor-highlight {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .honor-copy {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    body::before,
    body::after,
    .hero::before,
    .hero::after,
    .card,
    .btn,
    .nav-links,
    .back-to-top {
        animation: none !important;
        transition: none !important;
    }

    body::before {
        background-attachment: scroll;
    }

    body::after {
        opacity: 0.3;
    }
}


.hero-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin: 2rem 0 0;
    padding: 0;
}

.hero-list li {
    background: rgba(255, 92, 92, 0.08);
    color: var(--color-dark);
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    border-left: 4px solid var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.leadership-figure {
    background: rgba(17, 17, 17, 0.04);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.leadership-figure img {
    width: min(240px, 65vw);
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

.leadership-figure figcaption {
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.5;
}

.leadership-figure figcaption a {
    color: var(--color-secondary);
    text-decoration: none;
}

.leadership-figure figcaption a:hover,
.leadership-figure figcaption a:focus {
    text-decoration: underline;
}

.founder-links {
    display: inline-flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.founder-links a {
    color: var(--color-secondary);
}

.founder-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.founder-portrait img {
    width: min(360px, 80vw);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.founder-story {
    display: grid;
    gap: 1.5rem;
}

.honor-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: #f7f3eb;
    border: 1px solid #e1d6c4;
    box-shadow: var(--shadow-soft);
}

.honor-highlight img {
    width: 140px;
    height: auto;
}

.honor-copy {
    display: grid;
    gap: 0.35rem;
}

.honor-copy .eyebrow {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9b6b1f;
    font-weight: 700;
    font-size: 0.85rem;
}

.honor-copy h3 {
    margin: 0;
    color: var(--color-primary);
}

.honor-copy p {
    margin: 0;
    color: var(--color-muted);
}

.founder-story p {
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.founder-story .btn-group {
    justify-content: flex-start;
}

.metrics-grid {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.metric {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #0f2547;
    display: block;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

.metric:hover,
.metric:focus-within {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    background: linear-gradient(140deg, rgba(63, 169, 245, 0.35), rgba(26, 77, 143, 0.55));
}

.metric-label {
    display: block;
    margin-top: 0.75rem;
    color: #5b6c86;
    font-size: 0.95rem;
}

.metric:hover .metric-value,
.metric:focus-within .metric-value,
.metric:hover .metric-label,
.metric:focus-within .metric-label {
    color: #fff;
}

.case-grid {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.case-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    display: grid;
    gap: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.case-card img {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.case-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.case-card p {
    color: var(--color-muted);
}

.case-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.case-card-actions .btn {
    padding: 0.55rem 1.15rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: 600;
}

.link-arrow::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.link-arrow:hover::after,
.link-arrow:focus::after {
    transform: translateX(4px);
}

.insight-extras {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(220px, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.video-testimonial {
    display: grid;
    gap: 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-testimonial figcaption {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.insight-extras blockquote {
    background: #fff;
    border-left: 4px solid var(--color-primary);
    border-radius: 14px;
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-dark);
    box-shadow: var(--shadow-soft);
}

.insight-extras blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.section.callout {
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.92), rgba(15, 27, 42, 0.96));
    color: #fff;
    text-align: center;
}

.callout-content {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.callout .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.callout .btn-outline:hover,
.callout .btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
}

.team-grid {
    max-width: var(--max-width);
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    color: var(--color-dark);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 1rem;
    text-shadow: none;
}

.team-card h3 {
    color: var(--color-dark);
}

.team-card p {
    color: var(--color-dark);
}

.team-card img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.team-card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    color: var(--color-dark);
    padding: 0;
}

.team-card ul li::before {
    content: '\2022';
    margin-right: 0.4rem;
    color: var(--color-accent);
}

.process-list {
    counter-reset: step;
    display: grid;
    gap: 1.5rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    padding-left: 4.5rem;
}

.process-list li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 1.5rem;
    top: 1.75rem;
    background: var(--color-primary);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.process-list h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.process-list p {
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .hero-list {
        margin-top: 1.5rem;
    }

    .leadership-figure {
        justify-self: center;
    }

    .metrics-grid {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .process-list li {
        padding-left: 3.75rem;
    }

    .process-list li::before {
        left: 1.2rem;
    }
}

body[data-motion="reduced"]::before,
body[data-motion="reduced"]::after {
    background-attachment: scroll;
    opacity: 0.25;
}

body[data-motion="reduced"] .hero::before,
body[data-motion="reduced"] .hero::after {
    animation: none;
    opacity: 0.4;
}

body[data-motion="reduced"] .btn,
body[data-motion="reduced"] .card,
body[data-motion="reduced"] .metric,
body[data-motion="reduced"] .nav-links,
body[data-motion="reduced"] .back-to-top {
    transition: none !important;
}

@media (max-width: 768px) {
    iframe[src*="helloskip.com"] {
        width: min(360px, 90vw) !important;
        height: min(520px, 70vh) !important;
        max-width: 90vw !important;
        max-height: 70vh !important;
        inset: auto 16px 16px auto !important;
        border-radius: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .skip-link,
    .nav-links,
    .nav-links a,
    .btn,
    .card,
    .badge-link::after,
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .back-to-top {
        transition: none;
    }

    .nav-links,
    .nav-links.open,
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active,
    .btn-primary:hover,
    .btn-outline:hover,
    .card:hover,
    .badge-link::after,
    .badge-link:hover::after,
    .back-to-top,
    .back-to-top.visible {
        transform: none;
    }
}

@media print {
    header,
    .btn,
    .back-to-top,
    footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

@media (max-width: 768px) {
    .capability-list {
        grid-template-columns: 1fr;
    }

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

    .credential-card {
        padding: 1rem 1rem 1.1rem;
    }

    .naics-codes span {
        margin: 0 0.25rem;
    }

    .lifecycle-stepper {
        grid-template-columns: 1fr;
    }
}

/* Replica homepage styling */
body.jim-replica {
    background: radial-gradient(circle at 0% 0%, #1a3d80 0%, #0a1428 38%, #050810 100%);
    color: #f2f5ff;
}

body.jim-replica::before,
body.jim-replica::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

body.jim-replica::before {
    background:
        radial-gradient(70% 60% at 13% 5%, rgba(78, 148, 255, 0.34), transparent 72%),
        radial-gradient(55% 50% at 84% 12%, rgba(82, 224, 255, 0.2), transparent 78%),
        radial-gradient(40% 40% at 50% 92%, rgba(163, 99, 255, 0.16), transparent 78%);
}

body.jim-replica::after {
    z-index: -1;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 22%, rgba(0, 0, 0, 0.9), transparent 72%);
}

.jim-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem;
}

.jim-header {
    background: rgba(8, 14, 30, 0.72);
    border-bottom: 1px solid rgba(118, 165, 255, 0.22);
}

.jim-navbar .logo-name,
.jim-navbar .logo-subtitle,
.jim-navbar .nav-links a {
    color: #f6f8ff;
}

.section-card {
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 1.8rem;
}

.jim-hero {
    min-height: 490px;
    position: relative;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 78% 18%, rgba(109, 201, 255, 0.55), transparent 38%),
        radial-gradient(circle at 26% 10%, rgba(56, 118, 255, 0.42), transparent 52%),
        linear-gradient(136deg, rgba(5, 20, 36, 0.93), rgba(4, 10, 25, 0.98)),
        url('../images/hero-pattern.svg') center/cover no-repeat;
    border: 1px solid rgba(130, 191, 255, 0.38);
    box-shadow: 0 28px 58px rgba(2, 8, 24, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.jim-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(5, 10, 24, 0.44) 8%, rgba(5, 10, 24, 0.18) 52%, rgba(5, 10, 24, 0.4) 100%),
        radial-gradient(circle at 65% 50%, rgba(112, 228, 255, 0.17), transparent 58%);
}

.jim-hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 2.8rem;
}

.jim-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: #7cc7ff;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.jim-hero h1,
.jim-section h2,
.jim-panel h2,
.jim-testimonial h2,
.jim-contact h2 {
    font-size: clamp(2rem, 4.1vw, 4rem);
    line-height: 1.06;
    margin-bottom: 0.9rem;
}

.jim-hero p {
    max-width: 60ch;
}

.jim-section {
    margin: 1.8rem 0;
    padding: 1.8rem 1.5rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(147, 196, 255, 0.28);
    background: linear-gradient(155deg, rgba(9, 20, 42, 0.88), rgba(8, 14, 32, 0.82));
    backdrop-filter: blur(4px);
    box-shadow: 0 22px 50px rgba(3, 9, 24, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.jim-section h2 {
    color: #f3f7ff;
    text-shadow: 0 2px 12px rgba(4, 13, 34, 0.45);
}

.jim-service-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.jim-service-card {
    background: linear-gradient(180deg, rgba(24, 36, 69, 0.94), rgba(11, 18, 40, 0.98));
    border: 1px solid rgba(151, 201, 255, 0.18);
    border-radius: 0.8rem;
    padding: 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.jim-service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.jim-service-card span {
    display: inline-block;
    margin-top: 0.9rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-weight: 700;
}

.jim-panel-grid {
    display: grid;
    gap: 1rem;
}

.jim-panel {
    background: linear-gradient(145deg, rgba(40, 84, 145, 0.9), rgba(30, 57, 105, 0.95));
    border: 1px solid rgba(153, 203, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 18px 42px rgba(3, 9, 24, 0.36);
}

.jim-panel-gradient {
    background: linear-gradient(136deg, rgba(38, 92, 148, 0.92), rgba(60, 139, 220, 0.96));
}

.jim-panel ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.1rem;
}

.jim-testimonial.light {
    background: linear-gradient(145deg, #f8fbff, #e8effd);
    color: #161b2a;
    padding: 1.8rem;
    border: 1px solid rgba(150, 175, 216, 0.35);
    box-shadow: 0 22px 50px rgba(2, 8, 24, 0.2);
}

.jim-testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    max-width: 54ch;
}

.jim-contact {
    margin-top: 1.4rem;
    padding: 1.45rem;
    color: #f2f6ff;
    border-radius: 1.2rem;
    border: 1px solid rgba(147, 196, 255, 0.26);
    background: linear-gradient(150deg, rgba(10, 22, 43, 0.84), rgba(8, 16, 36, 0.88));
    box-shadow: 0 20px 46px rgba(2, 8, 24, 0.35);
}

.jim-contact p,
.jim-contact li {
    color: #deebff;
}

.jim-contact ul {
    list-style: none;
    padding: 0;
    margin: 0.7rem 0 1.1rem;
}

.jim-contact li {
    margin-bottom: 0.3rem;
}

.jim-contact ul a,
.jim-footer a {
    color: #8ec5ff;
}

.btn-light {
    background: #ffffff;
    color: #0e1f35;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
}

.jim-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
    color: #b7c0de;
}

@media (max-width: 768px) {
    .jim-hero {
        min-height: 430px;
    }

    .jim-hero-content {
        padding: 1.8rem 1.3rem;
    }
}
