:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #dbe5ef;
    --paper: #ffffff;
    --wash: #f4f7fb;
    --blue: #075fc4;
    --teal: #0f8a7a;
    --amber: #c47a14;
    --shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--wash);
    color: var(--ink);
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

.topbar {
    position: fixed;
    top: 16px;
    left: 50%;
    z-index: 10;
    width: min(1180px, calc(100% - 32px));
    transform: translateX(-50%);
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 45px rgba(15, 23, 42, .1);
    backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.brand-logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 192px;
    object-fit: contain;
}
.brand strong { display: block; font-size: 14px; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}
.nav a:hover,
.nav a.is-active { background: #eaf2ff; color: var(--blue); }

main { overflow: hidden; }
.hero {
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
    gap: 34px;
    align-items: end;
    padding: 154px max(24px, calc((100vw - 1180px) / 2)) 70px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(10, 18, 32, .94) 0%, rgba(10, 18, 32, .78) 43%, rgba(7, 95, 196, .56) 100%),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1900&q=86") center/cover;
}

.eyebrow {
    margin: 0 0 12px;
    color: #70e3d3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
    max-width: 860px;
    margin-bottom: 22px;
    font-size: clamp(44px, 7.6vw, 90px);
    line-height: .96;
    letter-spacing: 0;
}
h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: 0;
}
h3 { margin-bottom: 12px; font-size: 21px; }
.lead {
    max-width: 710px;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.72;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 900;
}
.button-primary { background: #fff; color: var(--blue); }
.button-secondary { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); }
.contact .button-primary { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }

.status-console {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(8, 14, 25, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    overflow: hidden;
}
.console-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.console-head span { width: 10px; height: 10px; border-radius: 999px; background: #ef4444; }
.console-head span:nth-child(2) { background: #f59e0b; }
.console-head span:nth-child(3) { background: #22c55e; }
.console-head strong { margin-left: auto; color: rgba(255,255,255,.72); font-size: 12px; }
.console-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.console-grid div { padding: 20px; border-right: 1px solid rgba(255,255,255,.1); }
.console-grid div:last-child { border-right: 0; }
.console-grid strong { display: block; font-size: 30px; }
.console-grid span { color: rgba(255,255,255,.68); font-size: 12px; }
.signal-list { padding: 14px 20px 20px; }
.signal-list p { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; color: rgba(255,255,255,.78); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(15,138,122,.16); }
.dot.warn { background: var(--amber); box-shadow: 0 0 0 5px rgba(196,122,20,.16); }

.section, .ops, .clients, .contact {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.section { padding: 78px 0; }
.section-head { max-width: 780px; margin-bottom: 28px; }
.section .eyebrow, .ops .eyebrow, .clients .eyebrow, .contact .eyebrow { color: var(--blue); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
}
.card-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
.service-card p, .ops p { color: var(--muted); line-height: 1.7; }

.ops {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, .68fr);
    gap: 36px;
    align-items: start;
    padding: 44px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.ops-list { display: grid; gap: 12px; }
.ops-list div {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e7eef7;
}
.ops-list strong { color: var(--blue); font-size: 13px; }
.ops-list span { color: #334155; line-height: 1.55; }

.clients {
    margin-top: 22px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: center;
}
.clients h2 {
    margin: 0;
    max-width: 620px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}
.client-slider {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
}
.client-viewport {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    padding: 18px 0;
}
.client-viewport::before,
.client-viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 96px;
    pointer-events: none;
}
.client-viewport::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.76) 38%, rgba(255,255,255,0) 100%);
}
.client-viewport::after {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,.76) 38%, rgba(255,255,255,0) 100%);
}
.client-track {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
.client-slider.is-snapping .client-track,
.client-slider.is-snapping .client-logo img {
    transition: none !important;
}
.client-logo {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    min-height: 98px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.client-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.client-logo img {
    display: block;
    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    filter: saturate(.92) contrast(1.04) grayscale(.6) opacity(.65);
    transform: scale(.85);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}
.client-logo.is-active img {
    filter: saturate(1) contrast(1.08) grayscale(0) opacity(1);
    transform: scale(1.18);
}
.slider-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #dce7f2;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}
.slider-btn:hover { background: #eaf2ff; }

.contact {
    margin-top: 22px;
    margin-bottom: 38px;
    padding: 34px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.contact h2 { margin: 0; max-width: 760px; }
.contact h2 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.08;
}
footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0 0 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}
.footer-copyright { color: #334155; font-weight: 700; margin-right: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #334155; font-weight: 700; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 16px;
}
.footer-social a:hover { background: #eaf2ff; color: var(--blue); }

.legal-body { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.legal-updated {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.legal-body a { color: var(--blue); font-weight: 700; }
.legal-body a:hover { text-decoration: underline; }

@media (max-width: 920px) {
    .topbar { position: absolute; align-items: flex-start; flex-direction: column; }
    .nav { flex-wrap: wrap; }
    .hero, .ops, .clients { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 190px; }
    .service-grid { grid-template-columns: 1fr; }
    .contact { align-items: flex-start; flex-direction: column; }
    footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 720px) {
    .client-track { gap: 0; }
    .client-logo { padding: 0 10px; min-height: 110px; overflow: visible; }
    .client-logo img {
        max-width: min(280px, 88%);
        max-height: 78px;
        transform: scale(.94);
        filter: saturate(.92) contrast(1.04) grayscale(.2) opacity(.9);
    }
    .client-logo.is-active img {
        transform: scale(1.12);
        filter: saturate(1) contrast(1.08) grayscale(0) opacity(1);
    }
    .client-viewport { min-height: 128px; padding: 20px 0; }
    .client-viewport::before,
    .client-viewport::after { width: 24px; }
}

@media (max-width: 560px) {
    .console-grid { grid-template-columns: 1fr; }
    .console-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .hero { padding-left: 16px; padding-right: 16px; }
    .section, .ops, .clients, .contact, footer { width: min(100% - 24px, 1180px); }
    .ops, .clients, .contact { padding: 22px; }
    .brand-logo { height: 28px; max-width: 154px; }
    .client-slider { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
    .slider-btn { width: 34px; height: 34px; font-size: 24px; }
    .client-viewport { min-height: 132px; padding: 18px 0; }
    .client-logo { min-height: 112px; }
    .client-logo img { max-width: min(300px, 92%); max-height: 84px; }
    .client-logo.is-active img { transform: scale(1.16); }
}

/* About page — cache-bust marker: 2026-08-16 */
.about-section { padding-top: 48px; padding-bottom: 64px; }
.section-lead {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.about-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.about-card h3 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.about-card p {
    margin: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 700;
}
.about-card p a { color: inherit; }
.about-card p a:hover { color: var(--blue); text-decoration: underline; }
.about-card .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.about-card-wide { margin-bottom: 14px; }
.about-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.about-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}
.about-contact i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eaf2ff;
    color: var(--blue);
    font-size: 14px;
}
.about-contact a:hover { color: var(--blue); text-decoration: underline; }
.about-contact small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.about-note {
    padding: 18px 22px;
    border: 1px solid #d9f0ea;
    border-radius: 8px;
    background: #eefaf7;
}
.about-note p {
    margin: 0;
    color: #1f6f63;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
}

.quote-section { padding-top: 12px; padding-bottom: 64px; }
.quote-alert {
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 8px;
}
.quote-alert p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; }
.quote-alert-error {
    border: 1px solid #f3d2d2;
    background: #fff5f5;
    color: #9f2d2d;
}
.quote-form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.quote-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.quote-span { grid-column: 1 / -1; }
.quote-form label { display: grid; gap: 8px; }
.quote-form label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 14px;
}
.quote-form textarea { resize: vertical; min-height: 140px; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: 2px solid rgba(7, 95, 196, .28);
    border-color: var(--blue);
    background: #fff;
}
.quote-submit {
    margin-top: 18px;
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
}

@media (max-width: 920px) {
    .about-grid,
    .about-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .about-grid,
    .about-grid-two { grid-template-columns: 1fr; }
}

/* Action / Projects — cache-bust marker: 2026-07-29 */
.page-hero {
    padding: 154px max(24px, calc((100vw - 1180px) / 2)) 56px;
    color: #fff;
    background:
        linear-gradient(115deg, rgba(10, 18, 32, .94) 0%, rgba(10, 18, 32, .78) 43%, rgba(7, 95, 196, .56) 100%),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1900&q=86") center/cover;
}
.page-hero-copy { max-width: 780px; }
.page-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.page-hero .lead {
    margin: 18px 0 0;
    max-width: 640px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.65;
}
.page-hero .eyebrow a { color: #70e3d3; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
.page-hero .project-meta { margin: 0 0 14px; }
.page-hero .project-tags { margin-top: 22px; }
.page-hero .project-tags li {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
}
.page-hero-detail { padding-bottom: 48px; }

.action-section { padding-top: 48px; padding-bottom: 64px; }
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.project-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.project-cover {
    display: block;
    margin: -24px -24px 6px;
    aspect-ratio: 16 / 9;
    background: #e8eef7;
    overflow: hidden;
}
.project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}
.project-card:hover .project-cover img { transform: scale(1.03); }
.project-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.project-card h3 a:hover { color: var(--blue); }
.project-card > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}
.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.project-meta time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
.project-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: #e8f7f4;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.project-status.completed {
    background: #eaf2ff;
    color: var(--blue);
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.project-tags li {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}
.project-link {
    margin-top: auto;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    transition: gap .18s ease;
}
.project-link i {
    font-size: 12px;
    transition: transform .18s ease;
}
.project-link:hover { text-decoration: none; gap: 12px; }
.project-link:hover i { transform: translateX(3px); }

.project-body { padding-top: 36px; padding-bottom: 64px; max-width: 760px; }
.action-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}
.action-gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}
.action-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.action-gallery figcaption {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
.project-block {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}
.project-block:last-of-type { border-bottom: 0; }
.project-block h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -.02em;
}
.project-block p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}
.project-back {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    transition: gap .18s ease, filter .18s ease;
}
.project-back i {
    font-size: 13px;
    transition: transform .18s ease;
}
.project-back:hover { filter: brightness(1.05); gap: 14px; }
.project-back:hover i { transform: translateX(-3px); }

@media (max-width: 920px) {
    .page-hero { padding-top: 190px; }
    .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .page-hero { padding-left: 16px; padding-right: 16px; }
    .project-card { min-height: 0; }
    .action-gallery { grid-template-columns: 1fr; }
}
