:root {
    --ink: #07111f;
    --muted: #64748b;
    --line: #dce4ee;
    --cyan: #0ea5e9;
    --green: #22c55e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.brand span {
    margin-right: .2rem;
    color: var(--cyan);
}

.nav-link,
.mobile-menu a {
    font-size: .92rem;
    font-weight: 600;
    color: #475569;
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-menu a:hover,
.mobile-menu a.is-active {
    color: var(--ink);
}

.mobile-toggle {
    display: inline-grid;
    height: 2.75rem;
    width: 2.75rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: .5rem;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    width: 1.15rem;
    background: var(--ink);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.is-open {
    display: grid;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    padding: .85rem 1.15rem;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--green));
    color: #fff;
    box-shadow: 0 16px 35px rgba(14, 165, 233, .22);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}

.btn-small {
    min-height: 2.5rem;
    padding: .62rem .95rem;
    font-size: .9rem;
}

.hero-band {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(14, 165, 233, .24), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #101827 50%, #0c1f22 100%);
}

.eyebrow,
.eyebrow-dark {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow {
    color: #7dd3fc;
}

.eyebrow-dark {
    color: #0284c7;
}

.device-stage {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: .75rem;
    background: #111827;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.metric-strip {
    position: relative;
    margin: -2rem auto 0;
    display: grid;
    width: min(92%, 34rem);
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: .6rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
}

.metric-strip span {
    display: grid;
    gap: .15rem;
    padding: 1rem;
    color: #cbd5e1;
    font-size: .78rem;
}

.metric-strip strong {
    color: #fff;
    font-size: 1.2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    margin-top: .8rem;
    max-width: 48rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--ink);
}

.section-copy {
    max-width: 48rem;
    font-size: 1.12rem;
    line-height: 1.9;
    color: var(--muted);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    color: #0284c7;
}

.feature-card,
.project-card {
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: #fff;
}

.feature-card {
    padding: 1.5rem;
}

.feature-card h3 {
    margin-top: 1.2rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
}

.feature-card p,
.project-card p,
.service-row p,
.team-profile p {
    margin-top: .75rem;
    color: var(--muted);
    line-height: 1.75;
}

.icon-badge {
    display: grid;
    height: 2.75rem;
    width: 2.75rem;
    place-items: center;
    border-radius: .5rem;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 900;
}

.trust-band,
.cta-band {
    border-radius: .75rem;
    background: var(--ink);
    color: #fff;
}

.trust-band {
    display: grid;
    gap: 2rem;
    padding: 2rem;
}

.stats-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border-radius: .5rem;
    background: rgba(255, 255, 255, .12);
}

.stats-grid div {
    display: grid;
    gap: .25rem;
    background: rgba(255, 255, 255, .06);
    padding: 1.25rem;
}

.stats-grid strong {
    font-size: 2rem;
}

.stats-grid span,
.trust-band blockquote,
.cta-band p {
    color: #cbd5e1;
}

.cta-band {
    display: grid;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
}

.cta-band h2 {
    margin-top: .6rem;
    max-width: 44rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
}

.page-hero {
    background: linear-gradient(135deg, #07111f, #102333);
    padding: 6rem 0;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.04;
}

.page-hero p:last-child {
    margin: 1.25rem auto 0;
    max-width: 44rem;
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-row {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.service-row h2,
.team-profile h2,
.contact-panel h2,
.project-card h2 {
    margin-top: .5rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--ink);
}

.service-visual {
    display: grid;
    min-height: 22rem;
    place-items: center;
    border-radius: .75rem;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, .14), rgba(34, 197, 94, .16)),
        #f8fafc;
    border: 1px solid var(--line);
}

.service-visual span {
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 800;
    color: rgba(7, 17, 31, .12);
}

.check-list {
    margin: 1.5rem 0;
    display: grid;
    gap: .75rem;
}

.check-list li {
    position: relative;
    padding-left: 1.8rem;
    color: #334155;
}

.check-list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #16a34a;
    font-weight: 900;
}

.timeline {
    margin-top: 2.5rem;
    display: grid;
    gap: 1rem;
}

.timeline-item {
    border-left: 3px solid var(--cyan);
    padding: .25rem 0 .25rem 1.2rem;
}

.timeline-item h3,
.project-card h3 {
    font-weight: 800;
    color: var(--ink);
}

.timeline-item p {
    margin-top: .35rem;
    color: var(--muted);
}

.faq-item {
    display: grid;
    width: 100%;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: .5rem;
    padding: 1rem 1.15rem;
    text-align: left;
}

.faq-item span {
    font-weight: 800;
}

.faq-item small {
    display: none;
    margin-top: .6rem;
    color: var(--muted);
    line-height: 1.65;
}

.faq-item.is-open small {
    display: block;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.filter-button {
    border: 1px solid var(--line);
    border-radius: .5rem;
    padding: .7rem 1rem;
    font-weight: 800;
    color: #475569;
}

.filter-button.is-active {
    background: var(--ink);
    color: #fff;
}

.project-card {
    overflow: hidden;
}

.project-thumb {
    display: grid;
    min-height: 11rem;
    place-items: center;
    background: linear-gradient(135deg, #e0f2fe, #dcfce7);
    color: #075985;
    font-weight: 900;
}

.project-card h3 {
    margin-top: 1.2rem;
}

.team-profile {
    display: grid;
    gap: 2rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: 1.5rem;
}

.headshot-placeholder {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border-radius: .5rem;
    background: #e0f2fe;
    color: #075985;
    font-size: 2rem;
    font-weight: 900;
}

.contact-form,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form label {
    display: grid;
    gap: .45rem;
    color: #334155;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: .5rem;
    padding: .85rem 1rem;
    color: var(--ink);
    font-weight: 500;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .12);
}

.contact-panel {
    display: grid;
    gap: 1.5rem;
    align-content: start;
    background: #f8fafc;
}

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

.contact-panel dt {
    font-weight: 900;
    color: var(--ink);
}

.contact-panel dd {
    margin-top: .25rem;
    color: var(--muted);
}

.map-placeholder {
    display: grid;
    min-height: 16rem;
    place-items: center;
    border: 1px dashed #94a3b8;
    border-radius: .5rem;
    background: linear-gradient(135deg, #fff, #e0f2fe);
    color: #475569;
    font-weight: 900;
}

.site-footer {
    background: #07111f;
    color: #fff;
}

.site-footer h2 {
    margin-bottom: .9rem;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.site-footer a:not(.brand) {
    display: block;
    margin-top: .55rem;
    color: #cbd5e1;
}

.brand-footer {
    color: #fff;
}

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

    .cta-band {
        grid-template-columns: 1fr auto;
        padding: 3rem;
    }

    .team-profile {
        grid-template-columns: 14rem 1fr;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .service-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .section {
        padding: 3.5rem 0;
    }

    .section-heading-row {
        display: grid;
        align-items: start;
    }

    .metric-strip {
        grid-template-columns: 1fr;
    }
}
