:root {
    --lavender: #f3eef8;
    --powder: #e8f3f7;
    --blush: #fbe9f0;
    --cream: #fff6ea;
    --mint: #e8f6f0;
    --lilac: #ece4f7;
    --ink: #2b2740;
    --muted: #5d5872;
    --soft: #8a849c;
    --line: rgba(90, 70, 120, 0.12);
    --card: rgba(255, 255, 255, 0.72);
    --card-solid: #fffdfb;
    --accent: #8b6fb8;
    --accent-deep: #6d4fa0;
    --rose: #d4899f;
    --gold: #c9a57a;
    --mint-deep: #5ea88a;
    --shadow: 0 22px 50px -24px rgba(80, 52, 110, 0.28);
    --shadow-soft: 0 10px 30px -18px rgba(80, 52, 110, 0.22);
    --radius: 1.35rem;
    --radius-sm: 0.9rem;
    --header-h: 4.5rem;
    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.65;
    background:
        radial-gradient(1200px 700px at 8% -10%, rgba(212, 137, 159, 0.22), transparent 55%),
        radial-gradient(900px 600px at 96% 8%, rgba(139, 111, 184, 0.2), transparent 50%),
        radial-gradient(800px 500px at 50% 100%, rgba(94, 168, 138, 0.12), transparent 45%),
        var(--page-bg, var(--lavender));
    min-height: 100vh;
}

body[data-page="home"] {
    --page-bg: #cfe8f8;
    background-color: #cfe8f8;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        url("images/day-sky.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body[data-page="services"] {
    --page-bg: #cfe8f8;
    background-color: #cfe8f8;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        url("images/day-sky-light-moon.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body[data-page="services"] .section[style*="--section-tint"],
body[data-page="services"] .section-alt {
    background: transparent;
}
body[data-page="about"] {
    --page-bg: #cfe8f8;
    background-color: #cfe8f8;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        url("images/contact-rocket-to-moon.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body[data-page="about"] .section[style*="--section-tint"],
body[data-page="about"] .section-alt {
    background: transparent;
}
body[data-page="contact"] {
    --page-bg: #cfe8f8;
    background-color: #cfe8f8;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
        url("images/about-rocket-near-moon.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: var(--ink);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0.4rem;
    z-index: 100;
}

.skip-link:focus { top: 1rem; }

.container {
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
}

.wide { width: min(1280px, calc(100% - 2rem)); }

.section {
    padding: 5.5rem 0;
    position: relative;
}

.section-alt,
.section[style*="--section-tint"] {
    background: color-mix(in srgb, var(--section-tint, var(--cream)) 78%, white);
}

.section-title {
    max-width: 40rem;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-deep);
    margin-bottom: 0.85rem;
}

.eyebrow::before {
    content: "";
    width: 1.4rem;
    height: 1px;
    background: var(--gold);
}

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); color: var(--ink); }
h3 { font-size: 1.45rem; }

.lede {
    font-size: 1.15rem;
    color: var(--muted);
    margin-top: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.85rem 1.45rem;
    font-weight: 500;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(109, 79, 160, 0.7);
}

.btn-primary:hover { box-shadow: 0 16px 28px -10px rgba(109, 79, 160, 0.8); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-ghost:hover { background: #fff; }

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--header-h);
    backdrop-filter: blur(18px);
    background: color-mix(in srgb, var(--page-bg, var(--lavender)) 72%, white);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-soft);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1160px, calc(100% - 2rem));
    margin: 0 auto;
    height: var(--header-h);
}

.header-cta {
    white-space: nowrap;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: linear-gradient(160deg, #f4d7c8, #c9b3e8 55%, #9ec9e8);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.brand-mark svg { width: 1.35rem; height: 1.35rem; }

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--soft);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.15rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }

.nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--rose));
    border-radius: 2px;
}

.header-cta { display: none; }

.mobile-menu-btn {
    background: transparent;
    border: 1px solid var(--line);
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.7rem;
    cursor: pointer;
    color: var(--ink);
}

.mobile-menu {
    display: none;
}

.mobile-menu.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    padding: 0.75rem 1.25rem 1.1rem;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--page-bg) 88%, white);
    box-shadow: var(--shadow-soft);
}

.mobile-menu a {
    display: block;
    padding: 0.7rem 0;
    text-decoration: none;
    color: var(--ink);
}

/* Hero */
.hero {
    padding: 3.2rem 0 4.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.12rem;
    max-width: 38rem;
    margin: 1.2rem 0 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-stage {
    position: relative;
    width: 100%;
    min-height: 22rem;
    display: grid;
    place-items: center;
}

.hero-video {
    width: 100%;
    height: min(28rem, 58vw);
    max-height: 28rem;
    object-fit: contain;
    border-radius: 1.6rem;
    background: transparent;
    filter: drop-shadow(0 22px 36px rgba(80, 52, 110, 0.22));
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(139, 111, 184, 0.35);
    border-radius: 50%;
    animation: spin 36s linear infinite;
}

.orbit-a { width: 18rem; height: 18rem; }
.orbit-b { width: 24rem; height: 24rem; animation-duration: 54s; animation-direction: reverse; }
.orbit-c { width: 12rem; height: 12rem; animation-duration: 22s; }

.rocket-art {
    width: min(280px, 70vw);
    filter: drop-shadow(0 24px 30px rgba(109, 79, 160, 0.18));
    animation: float 6s ease-in-out infinite;
}

.star {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(201, 165, 122, 0.8);
}

.star-1 { top: 12%; left: 14%; }
.star-2 { top: 22%; right: 18%; width: 4px; height: 4px; }
.star-3 { bottom: 18%; left: 22%; width: 5px; height: 5px; }
.star-4 { bottom: 28%; right: 12%; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Stats */
.stats {
    padding: 0 0 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.2rem;
    backdrop-filter: blur(12px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.3rem;
    color: var(--accent-deep);
}

.stat-label {
    color: var(--muted);
    font-size: 0.92rem;
}

/* Cards */
.card-grid {
    display: grid;
    gap: 1.15rem;
}

.glass-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.icon-orb {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: linear-gradient(160deg, #f8e4ec, #e4ddf6);
    color: var(--accent-deep);
}

.icon-orb svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }

.glass-card p { color: var(--muted); margin: 0.65rem 0 1.1rem; }

.card-link {
    color: var(--accent-deep);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Gallery */
.gallery {
    padding-bottom: 5rem;
}

.gallery-frame {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.gallery-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide {
    min-width: 100%;
    padding: 1.4rem 1.4rem 4.5rem;
}

.gallery-slide img {
    width: 100%;
    height: min(52vw, 420px);
    object-fit: contain;
    background: linear-gradient(180deg, #faf7ff, #fff);
}

.gallery-caption {
    margin-top: 1rem;
    text-align: center;
}

.gallery-caption h3 { font-size: 1.5rem; }
.gallery-caption p { color: var(--muted); }

.gallery-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    color: var(--ink);
}

.gallery-nav.prev { left: 0.8rem; }
.gallery-nav.next { right: 0.8rem; }

.gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.gallery-dot {
    width: 1.5rem;
    height: 4px;
    border: 0;
    border-radius: 4px;
    background: rgba(43, 39, 64, 0.18);
    cursor: pointer;
}

.gallery-dot.is-active { background: var(--accent); }

/* Split */
.split {
    display: grid;
    gap: 1.5rem;
}

.vision-card {
    background: linear-gradient(160deg, var(--lilac), var(--blush));
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--line);
}

.vision-list { margin-top: 1.2rem; }

.vision-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.vision-item svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: var(--accent-deep);
}

/* Values / team */
.values-grid,
.team-grid,
.lane-grid,
.capability-grid,
.agent-grid,
.llm-grid {
    display: grid;
    gap: 1.1rem;
}

.value-item,
.team-member,
.lane-card,
.capability,
.agent-card,
.llm-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.value-icon {
    width: 3.4rem;
    height: 3.4rem;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, var(--cream), var(--lilac));
    color: var(--accent-deep);
}

.value-icon svg,
.capability svg,
.agent-card svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }

.value-item p,
.team-member p,
.capability p,
.agent-card p { color: var(--muted); margin-top: 0.5rem; }

.team-avatar {
    width: 8.4rem;
    height: 8.4rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 24px -12px rgba(109, 79, 160, 0.5);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Generative service details */
.detail-stack { display: grid; gap: 1.2rem; }

.detail-card {
    background: var(--card-solid);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.detail-head {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 0.7rem;
}

.detail-head p { color: var(--muted); }

.fb-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
}

.fb-box {
    border-radius: 1rem;
    padding: 1.2rem;
}

.fb-box.features { background: var(--lilac); }
.fb-box.benefits { background: linear-gradient(160deg, #fff6d8, #fde8c8); }

.fb-box h4 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}

.fb-box ul { padding-left: 1.1rem; color: var(--muted); }
.fb-box li { margin: 0.35rem 0; }

/* Flow / extra info */
.flow {
    display: grid;
    gap: 0.7rem;
}

.flow-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.chip {
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Contact */
.contact-wrap {
    display: grid;
    gap: 1.4rem;
}

.contact-panel,
.contact-aside {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
    box-shadow: var(--shadow);
}

.contact-form-grid {
    display: grid;
    gap: 1rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }

.form-field label {
    font-size: 0.86rem;
    font-weight: 600;
}

.required-mark { color: #c2415a; }

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.7);
    border-radius: 0.8rem;
    padding: 0.8rem 0.9rem;
    color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(139, 111, 184, 0.16);
    background: #fff;
}

.form-field textarea { min-height: 8rem; resize: vertical; }

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-form { position: relative; }

.contact-form-status { min-height: 1.3rem; margin: 1rem 0; }
.contact-form-status--success { color: #1f7a4d; }
.contact-form-status--error { color: #b4233a; }

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.aside-row {
    display: flex;
    gap: 0.7rem;
    margin: 0.9rem 0;
    color: var(--muted);
}

.aside-row svg {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: var(--accent);
    margin-top: 0.2rem;
}

.aside-row a { color: var(--ink); }

/* CTA */
.cta-band {
    margin: 0 0 5rem;
    border-radius: 1.8rem;
    padding: 2.6rem 1.6rem;
    text-align: center;
    background:
        radial-gradient(500px 200px at 20% 0%, rgba(255,255,255,0.45), transparent),
        linear-gradient(135deg, #e7d7f4, #f8dce6 50%, #f7e8c9);
    border: 1px solid var(--line);
}

body[data-page="home"] .cta-band {
    background:
        radial-gradient(500px 200px at 20% 0%, rgba(255,255,255,0.5), transparent),
        linear-gradient(135deg, #d4ebf7, #e7f3fb 50%, #dceef8);
}

body[data-page="home"] .icon-orb {
    background: linear-gradient(160deg, #dceef8, #e4eef8);
}

.cta-band p { color: var(--muted); margin: 0.7rem 0 1.3rem; }

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #3d3554, #2b2740);
    color: #efeaf7;
    padding: 3.4rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
}

.footer-logo .brand-mark { background: linear-gradient(160deg, #e8c4b4, #b9a3e0); }
.footer-logo-text { font-family: var(--font-display); font-size: 1.25rem; }
.site-footer p { color: #cfc6de; max-width: 28rem; }

.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-links a { color: #cfc6de; }
.social-links a:hover { color: #fff; }
.social-links svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

.site-footer h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin: 0.4rem 0; }
.site-footer a { color: #d8d0e8; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.55rem 0;
    color: #d8d0e8;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    fill: #c9a57a;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.2rem;
    text-align: center;
    color: #b8afc9;
    font-size: 0.9rem;
}

/* Cursor rocket */
.rocket {
    position: fixed;
    font-size: 2rem;
    z-index: 1000;
    pointer-events: none;
    user-select: none;
    transition: transform 0.1s ease, opacity 0.3s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .rocket { font-size: 1.5rem; }
}

.page-hero {
    padding: 3.2rem 0 2rem;
}

.page-hero p {
    max-width: 40rem;
    color: var(--muted);
    margin-top: 0.8rem;
}

body[data-page="services"] .page-hero .eyebrow,
body[data-page="about"] .page-hero .eyebrow,
body[data-page="contact"] .page-hero .eyebrow {
    font-size: 1.12rem;
}

body[data-page="services"] .page-hero p:not(.eyebrow),
body[data-page="about"] .page-hero p:not(.eyebrow),
body[data-page="contact"] .page-hero p:not(.eyebrow) {
    font-size: 1.12rem;
}

.page-hero-video {
    display: block;
    width: 70vw;
    height: 70vh;
    margin: 1.65em auto 0;
    object-fit: contain;
    border-radius: 1.4rem;
    background: transparent;
    filter: drop-shadow(0 18px 30px rgba(80, 52, 110, 0.18));
}

@media (min-width: 760px) {
    .nav-links { display: flex; }
    .mobile-menu-btn { display: none; }
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid.cols-3,
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.cols-2,
    .split,
    .fb-grid,
    .contact-wrap,
    .capability-grid,
    .llm-grid { grid-template-columns: 1fr 1fr; }
    .card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
    .lane-grid { grid-template-columns: repeat(2, 1fr); }
    .agent-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-form-grid { grid-template-columns: 1fr 1fr; }
    .form-field-full { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1040px) {
    .card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
    .lane-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(4, 1fr); }
    .header-cta { display: flex; }
    .nav-links { gap: 1.7rem; }
}

@media (max-width: 768px) {
    body[data-page="home"],
    body[data-page="services"],
    body[data-page="about"],
    body[data-page="contact"] {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
