/* ============================================
   WOLFRAM GOVERNMENT SUPPLY — Design System
   "Lockheed Martin meets Apple"
   ============================================ */

/* --- Design Tokens --- */
:root {
    --federal-blue: #003366;
    --federal-blue-hover: #002244;
    --federal-dark: #0B1120;
    --gunmetal: #2A3439;
    --gunmetal-light: #4A5568;
    --accent-grey: #E5E7EB;
    --surface-light: #F9FAFB;
    --border-color: #E5E7EB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --transition-mechanical: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

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

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--federal-blue);
    color: var(--white);
    padding: 8px 16px;
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 16px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--accent-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--gunmetal-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gunmetal);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 720px;
}

/* --- Navigation --- */
.nav {
    background: var(--federal-dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-lg);
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__logo {
    height: 36px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
}

.nav__brand-name {
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.nav__brand-sub {
    font-size: 0.625rem;
    color: var(--text-tertiary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
}

.nav__links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-grey);
    transition: color 0.2s var(--transition-mechanical);
}

.nav__link:hover,
.nav__link:focus-visible {
    color: var(--white);
}

.nav__cta {
    display: inline-block;
    background: var(--white);
    color: var(--federal-blue);
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 0.2s var(--transition-mechanical);
}

.nav__cta:hover,
.nav__cta:focus-visible {
    background: var(--accent-grey);
}

.nav__toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--accent-grey);
    cursor: pointer;
    padding: 8px;
}

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

.nav__toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.nav__mobile {
    display: none;
    background: var(--federal-blue);
}

.nav__mobile.is-open {
    display: block;
}

.nav__mobile-link {
    display: block;
    padding: 14px 24px;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s;
}

.nav__mobile-link:hover {
    background: var(--federal-dark);
}

.nav__mobile-link--cta {
    font-weight: 700;
    color: #FBBF24;
}

/* --- Hero --- */
.hero {
    position: relative;
    background: var(--federal-dark);
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--federal-dark));
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 64px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero__title span {
    color: var(--text-tertiary);
}

.hero__subtitle {
    font-size: 1.125rem;
    color: #CBD5E1;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s var(--transition-mechanical);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn--outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--white);
    color: var(--federal-dark);
}

.btn--primary {
    background: var(--federal-blue);
    color: var(--white);
    border-color: var(--federal-blue);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--federal-blue-hover);
    border-color: var(--federal-blue-hover);
}

/* --- Status Bar --- */
.status-bar {
    background: var(--surface-light);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.status-bar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
}

.status-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gunmetal-light);
}

.status-bar__icon {
    width: 16px;
    height: 16px;
    color: var(--federal-blue);
    flex-shrink: 0;
}

.status-bar__value {
    color: var(--text-primary);
}

/* --- Section --- */
.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--surface-light);
    border-top: 1px solid var(--border-color);
}

.section__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--federal-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 8px;
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-item {
    display: flex;
    gap: 16px;
}

.about-item__icon {
    width: 48px;
    height: 48px;
    background: var(--federal-blue);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-item__icon svg {
    width: 20px;
    height: 20px;
}

.about-item__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.about-item__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Capabilities Cards --- */
.cap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cap-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.25s var(--transition-mechanical),
        box-shadow 0.25s var(--transition-mechanical);
}

/* Mechanical left-border accent */
.cap-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--federal-blue);
    transition: width 0.2s var(--transition-mechanical);
}

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

.cap-card:hover::before {
    width: 4px;
}

.cap-card__icon {
    width: 36px;
    height: 36px;
    color: var(--federal-blue);
    margin-bottom: 16px;
}

.cap-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cap-card__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Acquisition Lifecycle Timeline --- */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
}

.timeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 48px;
}

.timeline__step:last-child {
    padding-bottom: 0;
}

.timeline__icon {
    width: 64px;
    height: 64px;
    background: var(--federal-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--surface-light), 0 0 0 6px var(--federal-blue);
}

/* Vertical connector (mobile) */
.timeline__connector {
    width: 2px;
    height: 48px;
    background: var(--federal-blue);
    opacity: 0.25;
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline__step:last-child .timeline__connector {
    display: none;
}

.timeline__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 6px;
}

.timeline__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 220px;
}

/* Desktop: horizontal layout */
@media (min-width: 768px) {
    .timeline {
        flex-direction: row;
        justify-content: space-between;
    }

    .timeline__step {
        flex: 1;
        padding-bottom: 0;
    }

    /* Horizontal connector */
    .timeline__connector {
        width: auto;
        height: 2px;
        top: 32px;
        left: calc(50% + 40px);
        right: auto;
        transform: none;
        position: absolute;
        right: calc(-50% + 40px);
        left: calc(50% + 40px);
    }

    /* Use calc to span the gap between icons */
    .timeline__step:not(:last-child) .timeline__connector {
        width: calc(100% - 80px);
        left: calc(50% + 40px);
    }
}

/* --- Supply Chain Map Section --- */
.map-section {
    background: #0D1117;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 64px;
}

.map-section__label {
    color: #00D4FF !important;
}

.map-section__title {
    color: #FFFFFF !important;
}

.map-container {
    position: relative;
    background: #0D1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 40px;
}

/* Status overlay */
.map-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 8px 14px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.map-status strong {
    color: #22C55E;
}

.map-status__dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* SVG Map */
.map-svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Landmasses */
.map-land {
    fill: #1C2128;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 1;
}

.map-land--canada {
    fill: #1E2530;
}

.map-land--usa {
    fill: #1A1F26;
}

/* Border */
.map-border {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 1;
    stroke-dasharray: 6 4;
}

/* Route arcs */
.map-route {
    fill: none;
    stroke: #00D4FF;
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    opacity: 0.5;
}

/* City dots */
.map-dot--cyan {
    fill: #00D4FF;
}

.map-dot--gold {
    fill: #FBBF24;
}

/* Pulsing animation for Canadian hubs */
.map-pulse {
    fill: none;
    stroke: #00D4FF;
    stroke-width: 1.5;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        r: 5;
        opacity: 0.6;
    }

    100% {
        r: 18;
        opacity: 0;
    }
}

/* City labels */
.map-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    fill: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.12em;
}

.map-label--gold {
    fill: rgba(251, 191, 36, 0.6);
}

/* Legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.map-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.map-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.map-legend__dot--cyan {
    background: #00D4FF;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

.map-legend__dot--gold {
    background: #FBBF24;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.map-legend__line {
    width: 20px;
    height: 2px;
    background: repeating-linear-gradient(90deg,
            #00D4FF 0px,
            #00D4FF 4px,
            transparent 4px,
            transparent 7px);
    opacity: 0.6;
}

/* --- Compliance Section --- */
.compliance-section {
    background: var(--federal-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compliance-section__label {
    color: #22C55E !important;
}

.compliance-section__title {
    color: var(--white) !important;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
}

.compliance-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.25s var(--transition-mechanical),
        background 0.25s var(--transition-mechanical);
}

.compliance-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #22C55E;
    transition: width 0.2s var(--transition-mechanical);
}

.compliance-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.compliance-card:hover::before {
    width: 4px;
}

.compliance-card__icon {
    width: 44px;
    height: 44px;
    background: var(--federal-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 16px;
}

.compliance-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.compliance-card__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- NAICS Panel --- */
.naics {
    background: var(--federal-dark);
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    margin-top: 48px;
}

.naics__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.naics__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8125rem;
    color: #CBD5E1;
}

.naics__code {
    color: var(--white);
    font-weight: 700;
}

/* --- Contact / Form --- */
.form-wrapper {
    background: var(--surface-light);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gunmetal-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--federal-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.12);
}

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

.form-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--federal-blue);
    color: var(--white);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s var(--transition-mechanical);
}

.form-submit:hover,
.form-submit:focus-visible {
    background: var(--federal-blue-hover);
}

.form-submit:focus-visible {
    outline: 2px solid var(--federal-blue);
    outline-offset: 2px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 12px;
}

/* --- Contact Info Block --- */
.contact-info {
    text-align: center;
    margin-top: 48px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-info__name {
    font-weight: 700;
    color: var(--text-primary);
}

.contact-info__email {
    color: var(--federal-blue);
    margin-top: 8px;
    display: inline-block;
}

.contact-info__email:hover {
    text-decoration: underline;
}

/* --- CTA Band --- */
.cta-band {
    background: var(--federal-blue);
    color: var(--white);
    padding: 56px 0;
}

.cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}

.cta-band__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.cta-band__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cta-band__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--federal-blue);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius);
    transition: all 0.2s var(--transition-mechanical);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.cta-band__btn:hover,
.cta-band__btn:focus-visible {
    background: var(--federal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
    .cta-band__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- Footer --- */
.footer {
    background: var(--federal-dark);
    color: var(--text-tertiary);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    color: var(--text-tertiary);
    transition: color 0.2s;
}

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

.footer__compliance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.625rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: default;
    transition: color 0.25s var(--transition-mechanical);
}

.footer__compliance:hover {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.footer__compliance i {
    font-size: 0.75rem;
}

/* --- Responsive --- */
@media (min-width: 640px) {
    .hero__actions {
        flex-direction: row;
        justify-content: center;
    }

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

@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }

    .nav__toggle {
        display: none;
    }

    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .naics__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }

    .hero__title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .cap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Focus Visible (Accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--federal-blue);
    outline-offset: 2px;
}

/* --- Scroll Animations --- */
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child items */
[data-animate-delay="1"] {
    transition-delay: 0.1s;
}

[data-animate-delay="2"] {
    transition-delay: 0.2s;
}

[data-animate-delay="3"] {
    transition-delay: 0.3s;
}

[data-animate-delay="4"] {
    transition-delay: 0.4s;
}

[data-animate-delay="5"] {
    transition-delay: 0.5s;
}

/* Honeypot */
.hp-field {
    display: none !important;
}