@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #13263f;
    --ink-2: #29415f;
    --blue: #2455d6;
    --blue-dark: #173b9b;
    --cyan: #7da8df;
    --lime: #dce9f8;
    --soft: #f3f7fb;
    --line: #dbe5ef;
    --white: #fff;
    --navy: #0b1d35;
    --shadow: 0 22px 70px rgba(24, 57, 94, .12);
    --radius: 28px;
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Manrope", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--white); background: var(--navy); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.split-centered { align-items: center; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

h1, h2, h3 { margin: 0; font-weight: 720; letter-spacing: -.045em; line-height: 1.06; }
h1 { max-width: 880px; font-size: clamp(48px, 5.8vw, 82px); }
h1 span, h2 span { color: var(--blue); }
h2 { font-size: clamp(38px, 4.5vw, 64px); }
h3 { font-size: 27px; }
p { margin: 0; }
.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.eyebrow-light { color: #8bc8ff; }
.large-copy { display: grid; gap: 25px; color: var(--ink-2); font-size: 23px; line-height: 1.5; }
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 55px;
}
.section-heading > p { color: #60738b; font-size: 18px; }
.heading-light > p { color: #adc0d9; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(219, 229, 239, .8);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
}
.header-inner { display: flex; height: 78px; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 122px; max-height: 44px; object-fit: contain; }
.main-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.menu a { color: #334a66; font-size: 14px; font-weight: 650; text-decoration: none; }
.menu a:hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: var(--soft); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid var(--blue);
    border-radius: 14px;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 12px 30px rgba(36, 85, 214, .22);
    font-size: 15px;
    font-weight: 760;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { background: var(--blue-dark); box-shadow: 0 16px 35px rgba(36, 85, 214, .3); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; border-radius: 12px; font-size: 13px; }
.button-ghost { color: var(--ink); border-color: var(--line); background: #fff; box-shadow: none; }
.button-ghost:hover { color: var(--blue); border-color: var(--blue); background: #fff; }
.button-white { color: var(--blue); border-color: #fff; background: #fff; }
.text-link { color: var(--blue); font-weight: 760; text-decoration: none; }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 750px;
    padding: 95px 0 85px;
    background: linear-gradient(145deg, #fff 10%, #f2f7fd 70%, #e9f5ff);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 720px; margin-top: 30px; color: #536c88; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; gap: 13px; margin-top: 35px; }
.hero-proof { display: flex; gap: 36px; margin: 47px 0 0; padding: 0; list-style: none; }
.hero-proof li { display: grid; gap: 2px; }
.hero-proof strong { color: var(--ink); font-size: 25px; letter-spacing: -.04em; }
.hero-proof span { max-width: 150px; color: #6b7d92; font-size: 12px; line-height: 1.3; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { right: -100px; bottom: -250px; width: 700px; height: 700px; background: rgba(14, 78, 175, .1); }
.hero-orb-two { top: 100px; right: 28%; width: 160px; height: 160px; background: rgba(125, 168, 223, .13); filter: blur(30px); }
.hero-visual { display: grid; min-height: 530px; place-items: center; }
.visual-shell { position: relative; width: min(100%, 540px); aspect-ratio: 1; }
.visual-shell svg { position: absolute; inset: 0; overflow: visible; fill: none; stroke: rgba(36, 85, 214, .14); stroke-dasharray: 8 12; }
.visual-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 142px;
    height: 142px;
    place-items: center;
    border-radius: 38px;
    color: #fff;
    background: linear-gradient(145deg, var(--blue), #38aaf5);
    box-shadow: 0 30px 70px rgba(36, 85, 214, .32);
    font-size: 24px;
    font-weight: 850;
    transform: translate(-50%, -50%) rotate(-7deg);
}
.visual-node {
    position: absolute;
    z-index: 3;
    display: grid;
    min-width: 126px;
    gap: 3px;
    padding: 18px 20px;
    border: 1px solid rgba(219, 229, 239, .8);
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}
.visual-node b { color: var(--blue); font-size: 24px; }
.visual-node span { color: #5c7088; font-size: 13px; font-weight: 700; }
.node-it { top: 9%; left: 7%; }
.node-proc { top: 15%; right: 0; }
.node-ai { right: 4%; bottom: 9%; }
.node-team { bottom: 6%; left: 4%; }

.model-pills { display: grid; gap: 12px; font-size: 15px; }
.model-pills span { padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--soft); }
.direction-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.direction-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 51, 85, .04);
}
.direction-card::after { position: absolute; right: -35px; bottom: -55px; width: 180px; height: 180px; border-radius: 50%; background: var(--soft); content: ""; }
.direction-primary { color: #fff; border-color: transparent; background: linear-gradient(145deg, #1745bb, #2878e6); }
.direction-primary::after { background: rgba(255,255,255,.08); }
.direction-primary p, .direction-primary li { color: #dce9ff !important; }
.direction-primary a { color: #fff !important; }
.card-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; color: var(--blue); background: #edf4ff; font-weight: 850; }
.direction-primary .card-icon { color: #fff; background: rgba(255,255,255,.15); }
.card-index { position: absolute; top: 37px; right: 35px; color: #9aabc0; font-size: 13px; font-weight: 800; }
.direction-primary .card-index { color: #b8d3ff; }
.direction-card h3 { margin-top: 28px; }
.direction-card > p { max-width: 500px; margin-top: 15px; color: #63758b; }
.direction-card ul { display: grid; gap: 8px; margin: 25px 0 35px; padding: 0; color: #455d77; list-style: none; }
.direction-card li::before { margin-right: 8px; color: var(--blue); content: "✓"; font-weight: 800; }
.direction-card > a { position: relative; z-index: 2; color: var(--blue); font-weight: 800; text-decoration: none; }

.pricing-model { background: linear-gradient(180deg, #fff, #f8fbfe); }
.pricing-model p { max-width: 500px; margin: 22px 0 25px; color: #63758b; font-size: 18px; }
.pricing-list { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.pricing-list div { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; padding: 23px 25px; border-bottom: 1px solid var(--line); }
.pricing-list div:last-child { border-bottom: 0; }
.pricing-list span { color: #63758b; }
.pricing-list-dark { color: var(--ink); }

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics-grid article { display: grid; gap: 5px; padding: 32px 22px; border-right: 1px solid var(--line); }
.metrics-grid article:last-child { border-right: 0; }
.metrics-grid strong { color: var(--blue); font-size: 37px; letter-spacing: -.05em; }
.metrics-grid span { color: #63758b; font-size: 14px; }
.case-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.case-card { min-height: 370px; padding: 40px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.05); }
.case-featured { background: linear-gradient(145deg, rgba(14,78,175,.72), rgba(69,111,169,.24)); }
.case-tag { display: inline-block; margin-bottom: 45px; color: #b9d7ff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-card h3 { max-width: 650px; font-size: 35px; }
.case-card p { max-width: 650px; margin-top: 18px; color: #b9c9dc; }
.case-card a { display: inline-block; margin-top: 35px; color: #fff; font-weight: 750; text-decoration: none; }
.case-stats { display: flex; gap: 35px; margin-top: 30px; }
.case-stats span { color: #dce9ff; }
.case-stats b { margin-right: 5px; color: #fff; font-size: 24px; }

.contact-section { color: #fff; background: linear-gradient(125deg, #1743b2, #2377dd 62%, #31a7ee); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.contact-grid h2 { max-width: 540px; }
.contact-grid > div > p { max-width: 520px; margin-top: 25px; color: #d7e8ff; font-size: 19px; }
.contact-direct { display: grid; gap: 8px; margin-top: 38px; }
.contact-direct a { color: #fff; font-size: 22px; font-weight: 750; text-decoration: none; }
.contact-form { display: grid; gap: 16px; padding: 32px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(8, 32, 95, .22); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: #eaf3ff; font-size: 12px; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 12px;
    color: #fff;
    outline: 0;
    background: rgba(255,255,255,.1);
}
.contact-form textarea { resize: vertical; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #fff; background: rgba(255,255,255,.16); }
.checkbox { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.checkbox input { width: 18px; min-height: 18px; }
.form-status { min-height: 24px; font-weight: 700; }

.hero-it { min-height: 680px; }
.it-dashboard { overflow: hidden; border: 1px solid #d9e5f0; border-radius: 28px; background: #fff; box-shadow: 0 35px 90px rgba(24,57,94,.17); transform: rotate(2deg); }
.dashboard-top { display: flex; height: 56px; align-items: center; gap: 8px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.dashboard-top span { margin-right: auto; color: var(--blue); font-size: 13px; font-weight: 850; }
.dashboard-top i { width: 8px; height: 8px; border-radius: 50%; background: #cbd6e3; }
.dashboard-content { padding: 30px; }
.signal-chart { display: flex; height: 165px; align-items: end; gap: 12px; padding: 20px; border-radius: 18px; background: var(--soft); }
.signal-chart span { flex: 1; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.signal-chart span:nth-child(1) { height: 30%; }.signal-chart span:nth-child(2) { height: 45%; }.signal-chart span:nth-child(3) { height: 38%; }.signal-chart span:nth-child(4) { height: 72%; }.signal-chart span:nth-child(5) { height: 62%; }.signal-chart span:nth-child(6) { height: 88%; }
.dashboard-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dashboard-metrics div { display: grid; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.dashboard-metrics b { color: var(--blue); font-size: 24px; }
.dashboard-metrics small { color: #6d7e91; }
.ticket-list { display: grid; gap: 10px; margin-top: 18px; }
.ticket-list span { display: flex; align-items: center; gap: 9px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: #556b84; font-size: 13px; }
.ticket-list b { margin-left: auto; color: #25a05a; font-size: 11px; text-transform: uppercase; }
.ticket-list i { width: 9px; height: 9px; border-radius: 50%; background: #42c779; }
.legal-note { padding: 18px 20px; border-radius: 14px; color: #4d637c; background: var(--soft); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { display: flex; min-height: 310px; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.service-card > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.service-card h3 { margin-top: 38px; }
.service-card p { margin-top: 15px; color: #63758b; }
.service-card small { margin-top: auto; padding-top: 25px; color: var(--blue); font-weight: 700; }
.code-list { display: grid; border-top: 1px solid var(--line); }
.code-list article { display: grid; grid-template-columns: 130px 1fr; gap: 35px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.code-list strong { color: var(--blue); font-size: 43px; letter-spacing: -.05em; }
.code-list h3 { font-size: 24px; }
.code-list p { max-width: 850px; margin-top: 10px; color: #63758b; }
.tech-stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tech-stack-grid article {
    min-height: 190px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.tech-stack-grid h3 { font-size: 24px; }
.tech-stack-grid p { margin-top: 14px; color: #5d7189; font-size: 16px; line-height: 1.65; }
.case-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 55px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.case-inline p { margin-top: 18px; color: #63758b; font-size: 18px; }
.faq-wrap { max-width: 1040px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 0 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.faq-list summary { position: relative; padding: 23px 38px 23px 0; color: var(--ink); font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 0; color: var(--blue); font-size: 28px; font-weight: 500; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 820px; padding: 0 38px 24px 0; color: #63758b; }
.form-disclosure { color: #bdd1e8 !important; font-size: 12px !important; line-height: 1.55; }
.form-disclosure a { color: #fff; }
.case-inline-metrics { display: grid; gap: 12px; }
.case-inline-metrics span { padding: 17px 20px; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(20,51,85,.05); }
.case-inline-metrics b { margin-right: 8px; color: var(--blue); }

.details-page { min-height: 70vh; }
.details-page h1 { margin-top: 0; font-size: clamp(46px, 5vw, 72px); }
.page-lead { max-width: 720px; margin-top: 24px; color: #63758b; font-size: 20px; }
.details-list { display: grid; max-width: 960px; margin: 60px 0 45px; border-top: 1px solid var(--line); }
.details-list div { display: grid; grid-template-columns: 260px 1fr; gap: 25px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.details-list dt { color: #6b7f96; }
.details-list dd { margin: 0; font-weight: 650; }
.details-list a { color: var(--blue); }
.page-content { min-height: 60vh; }
.prose { max-width: 900px; }
.prose h1 { margin-bottom: 35px; font-size: 58px; }
.prose p { margin: 0 0 20px; }
.post-card { padding: 30px 0; border-bottom: 1px solid var(--line); }

.site-footer { padding: 75px 0 25px; color: #c3d1e2; background: #07182c; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .85fr 1.1fr; gap: 45px; }
.brand-footer img { width: 115px; }
.footer-lead { max-width: 300px; margin-top: 22px; color: #91a5bd; }
.footer-title { margin-bottom: 20px; color: #fff; font-size: 15px; letter-spacing: 0; }
.footer-links, .footer-details { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-details a, .footer-detail-link { color: #c3d1e2; text-decoration: none; }
.site-footer address { color: #91a5bd; font-style: normal; }
.footer-detail-link { display: inline-block; margin-top: 20px; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #7890aa; font-size: 13px; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 1050px) {
    .main-nav { position: fixed; top: 78px; right: 0; left: 0; display: none; height: calc(100vh - 78px); padding: 30px 24px; background: #fff; }
    .main-nav.is-open { display: block; }
    .menu { align-items: stretch; flex-direction: column; gap: 0; }
    .menu a { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
    .header-cta { margin-left: auto; }
    .nav-toggle { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 850px; }
    .hero-visual, .it-dashboard { max-width: 620px; margin-inline: auto; }
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
    .metrics-grid article:nth-child(3) { border-right: 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 75px 0; }
    .header-inner { height: 68px; }
    .main-nav { top: 68px; height: calc(100vh - 68px); }
    .header-cta { display: none; }
    h1 { font-size: clamp(40px, 12vw, 58px); }
    h2 { font-size: 39px; }
    .hero { min-height: 0; padding: 65px 0; }
    .hero-grid, .split, .contact-grid, .case-inline { grid-template-columns: 1fr; gap: 45px; }
    .hero-lead { font-size: 17px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .hero-proof li { padding: 14px 10px; border-radius: 13px; background: rgba(255,255,255,.65); }
    .hero-proof strong { font-size: 20px; }
    .hero-visual { min-height: 390px; }
    .visual-node { min-width: 105px; padding: 13px; }
    .visual-core { width: 110px; height: 110px; border-radius: 30px; font-size: 19px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; }
    .direction-grid, .case-grid, .service-grid { grid-template-columns: 1fr; }
    .tech-stack-grid { grid-template-columns: 1fr; }
    .direction-card { min-height: 0; padding: 28px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid article, .metrics-grid article:nth-child(3) { border-right: 1px solid var(--line); }
    .metrics-grid article:nth-child(even) { border-right: 0; }
    .case-card { min-height: 0; padding: 28px; }
    .case-tag { margin-bottom: 28px; }
    .case-card h3 { font-size: 29px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 22px; }
    .pricing-list div { grid-template-columns: 1fr; gap: 5px; }
    .code-list article { grid-template-columns: 1fr; gap: 12px; }
    .code-list strong { font-size: 33px; }
    .details-list div { grid-template-columns: 1fr; gap: 7px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Homepage acceptance fixes — v0.8.9 */
body.modal-open { overflow: hidden; }
.contact-modal[hidden] { display: none; }
.contact-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .18s ease;
}
.contact-modal.is-open { opacity: 1; }
.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(3, 20, 46, .76);
    backdrop-filter: blur(10px);
    cursor: default;
}
.contact-modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
    width: min(1040px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 4px 38px 4px 4px;
    background: #f4f7fb;
    box-shadow: 0 42px 120px rgba(1, 18, 48, .42);
    transform: translateY(18px) scale(.985);
    transition: transform .22s ease;
}
.contact-modal.is-open .contact-modal-dialog { transform: translateY(0) scale(1); }
.contact-modal-close {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d6e0ec;
    border-radius: 50%;
    color: var(--navy);
    background: rgba(255,255,255,.9);
    cursor: pointer;
}
.contact-modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-modal-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 48px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 88%, rgba(255,255,255,.14), transparent 34%),
        linear-gradient(145deg, #092b67, #0d56c2);
}
.contact-modal-intro h2 { margin-top: 14px; color: #fff; font-size: clamp(34px, 4vw, 54px); }
.contact-modal-intro p { margin-top: 18px; color: #d7e5f8; }
.contact-modal-intro .contact-direct { margin-top: 32px; }
.contact-modal-form {
    align-content: start;
    padding: 62px 54px 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.contact-modal-form label { color: var(--navy); }
.contact-modal-form input,
.contact-modal-form select,
.contact-modal-form textarea {
    color: var(--navy);
    border-color: #ccd8e6;
    background: #fff;
}
.contact-modal-form .checkbox { color: #5d7189; }
.contact-modal-form .button-white { color: #fff; background: var(--blue); }
.contact-modal-form .form-disclosure { color: #71849a; }

.direction-actions .direction-calc-link {
    padding: 13px 18px;
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(13, 86, 194, .2);
}
.direction-actions .direction-calc-link::after { content: " →"; }
.direction-card:hover .direction-actions .direction-calc-link {
    color: var(--blue);
    border-color: #fff;
    background: #fff;
}

.geography { padding-bottom: 30px; }
.leadership { padding-top: 30px; }
.case-details summary { padding-right: 0; }
.case-details summary::after { display: none; }
.case-it {
    color: #fff;
    background:
        radial-gradient(circle at 105% 92%, rgba(255,255,255,.12), transparent 31%),
        linear-gradient(145deg, #103c7d, #0c56b5);
}
.case-it-nda-alt {
    background:
        radial-gradient(circle at 100% 0, rgba(86,150,242,.18), transparent 36%),
        linear-gradient(145deg, #091f43, #12366a);
}
.case-it .case-result { color: #fff; font-size: 58px; }
.case-it .case-details { margin-top: 22px; }
.case-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}
.case-stats-compact span {
    display: grid;
    gap: 3px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    font-size: 11px;
    line-height: 1.35;
}
.case-stats-compact b { color: #fff; font-size: 18px; white-space: nowrap; }

@media (max-width: 760px) {
    .contact-modal { padding: 10px; }
    .contact-modal-dialog {
        grid-template-columns: 1fr;
        max-height: calc(100dvh - 20px);
        border-radius: 3px 24px 3px 3px;
    }
    .contact-modal-intro { padding: 42px 24px 30px; }
    .contact-modal-intro h2 { max-width: 80%; font-size: 34px; }
    .contact-modal-intro .contact-direct { margin-top: 20px; }
    .contact-modal-form { padding: 28px 22px 30px; }
    .contact-modal-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .geography { padding-bottom: 18px; }
    .leadership { padding-top: 18px; }
    .case-stats-compact { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof span { max-width: none; }
    .visual-shell { width: 350px; max-width: 100%; }
    .node-it { top: 3%; left: 0; }
    .node-proc { top: 8%; right: 0; }
    .node-ai { right: 0; bottom: 4%; }
    .node-team { bottom: 0; left: 0; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metrics-grid article { border-right: 0; }
}

/* Visual refinement layer */
:root {
    --shadow: 0 26px 70px rgba(24,57,94,.13);
    --shadow-soft: 0 12px 35px rgba(21,52,91,.08);
    --shadow-button: 0 9px 0 #173b9b, 0 19px 34px rgba(36,85,214,.24);
}
body { overflow-x: hidden; }
.section { position: relative; padding-top: 118px; padding-bottom: 118px; }
.section-soft {
    background:
        radial-gradient(circle at 8% 5%, rgba(125,168,223,.09), transparent 28%),
        linear-gradient(180deg, #f7faff, var(--soft));
}
h1, h2, h3 { text-wrap: balance; font-weight: 740; }
.eyebrow {
    padding: 8px 12px;
    border: 1px solid rgba(36,85,214,.12);
    border-radius: 999px;
    background: rgba(237,244,255,.78);
}
.eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(36,85,214,.09);
}
.eyebrow-light {
    border-color: rgba(155,210,255,.2);
    color: #9bd2ff;
    background: rgba(255,255,255,.06);
}
.site-header { box-shadow: 0 8px 35px rgba(12,39,75,.05); }
.menu a { position: relative; font-weight: 680; }
.menu a::after {
    position: absolute;
    right: 50%;
    bottom: -9px;
    left: 50%;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    content: "";
    transition: right .22s ease, left .22s ease;
}
.menu a:hover::after { right: 0; left: 0; }
.button {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-button);
    transform: translateY(-4px);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,255,255,.32), transparent 32%);
    content: "";
    opacity: 0;
    transition: opacity .2s ease;
}
.button:hover::before { opacity: 1; }
.button:hover {
    background: #2b64e8;
    box-shadow: 0 6px 0 #173b9b, 0 15px 30px rgba(36,85,214,.3);
    transform: translateY(-1px);
}
.button:active {
    box-shadow: 0 2px 0 #173b9b, 0 8px 18px rgba(36,85,214,.22);
    transform: translateY(3px);
}
.button-ghost {
    box-shadow: 0 7px 0 #dce6f1, 0 17px 28px rgba(21,52,91,.1);
}
.button-ghost:hover {
    background: #fff;
    box-shadow: 0 4px 0 #dce6f1, 0 13px 24px rgba(21,52,91,.12);
}
.button-white {
    box-shadow: 0 8px 0 rgba(8,45,118,.35), 0 18px 35px rgba(5,28,78,.25);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s ease;
}
.text-link:hover { gap: 13px; }
.hero {
    background:
        radial-gradient(circle at 78% 20%, rgba(125,168,223,.13), transparent 18%),
        radial-gradient(circle at 90% 78%, rgba(125,168,223,.14), transparent 34%),
        linear-gradient(145deg, #fff 8%, #f4f8fe 58%, #e8f4ff);
}
.hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36,85,214,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36,85,214,.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 85%);
    content: "";
}
.hero-proof li {
    padding: 14px 17px;
    border: 1px solid rgba(207,220,235,.8);
    border-radius: 17px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 12px 30px rgba(25,57,93,.07);
    backdrop-filter: blur(10px);
}
.visual-core {
    box-shadow: 0 15px 0 #173b9b, 0 38px 78px rgba(36,85,214,.34);
    animation: smart-core-float 5s ease-in-out infinite;
}
.visual-node { animation: smart-node-float 6s ease-in-out infinite; }
.node-proc { animation-delay: -1.3s; }
.node-ai { animation-delay: -2.7s; }
.node-team { animation-delay: -4s; }
.model-pills span {
    position: relative;
    padding: 20px 22px 20px 52px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.model-pills span::before {
    position: absolute;
    top: 21px;
    left: 20px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 5px 12px rgba(36,85,214,.24);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}
.direction-card,
.service-card {
    box-shadow: var(--shadow-soft);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.direction-card:hover,
.service-card:hover {
    border-color: #bfd2ee;
    box-shadow: 0 28px 60px rgba(21,52,91,.14);
    transform: translateY(-8px);
}
.direction-card li { position: relative; padding-left: 27px; }
.direction-card li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin: 0;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    box-shadow: 0 4px 9px rgba(36,85,214,.22);
    font-size: 10px;
}
.direction-primary li::before { color: var(--blue); background: #fff; }
.pricing-list div {
    position: relative;
    padding: 25px 26px 25px 58px;
    transition: background .2s ease, padding-left .2s ease;
}
.pricing-list div::before {
    position: absolute;
    top: 25px;
    left: 24px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    color: var(--blue);
    background: #edf4ff;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}
.pricing-list div:hover { padding-left: 63px; background: #f8fbff; }
.metrics-grid { gap: 14px; border: 0; }
.metrics-grid article {
    min-height: 150px;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, box-shadow .22s ease;
}
.metrics-grid article:hover {
    box-shadow: 0 24px 48px rgba(21,52,91,.13);
    transform: translateY(-6px);
}
.case-card {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    box-shadow: 0 30px 70px rgba(0,0,0,.16);
    transition: transform .25s ease, border-color .25s ease;
}
.case-card::after {
    position: absolute;
    right: -70px;
    bottom: -100px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    content: "";
}
.case-card:hover {
    border-color: rgba(255,255,255,.3);
    transform: translateY(-7px);
}
.contact-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(125,168,223,.16), transparent 25%),
        linear-gradient(125deg, #12399f, #226ddd 62%, #2c9fe9);
}
.contact-section::before {
    position: absolute;
    top: -200px;
    left: -150px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    content: "";
}
.contact-form {
    padding: 34px;
    box-shadow: 0 35px 80px rgba(5,27,79,.26);
    backdrop-filter: blur(16px);
}
.it-dashboard {
    box-shadow: 0 16px 0 #d9e5f0, 0 42px 95px rgba(24,57,94,.2);
    transform: rotate(1.5deg);
    transition: transform .35s ease;
}
.it-dashboard:hover { transform: rotate(0) translateY(-8px); }
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::after {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: #edf4ff;
    content: "";
    transition: transform .3s ease;
}
.service-card:hover::after { transform: scale(1.2); }
.code-list { gap: 14px; border: 0; }
.code-list article {
    margin: 0;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, border-color .22s ease;
}
.code-list article:hover { border-color: #bfd2ee; transform: translateX(7px); }
.case-inline {
    border-color: #d4e2f0;
    background: linear-gradient(135deg, #f7fbff, #edf5ff);
    box-shadow: var(--shadow);
}
.faq-list details {
    box-shadow: 0 9px 25px rgba(21,52,91,.055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.faq-list details:hover,
.faq-list details[open] {
    border-color: #bfd2ee;
    box-shadow: 0 18px 38px rgba(21,52,91,.1);
    transform: translateY(-2px);
}
.details-list { gap: 10px; border: 0; }
.details-list div {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(21,52,91,.05);
}
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .65s ease var(--reveal-delay, 0ms),
        transform .65s cubic-bezier(.2,.8,.2,1) var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes smart-core-float {
    0%, 100% { transform: translate(-50%,-50%) rotate(-7deg) translateY(0); }
    50% { transform: translate(-50%,-50%) rotate(-3deg) translateY(-9px); }
}
@keyframes smart-node-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@media (max-width: 760px) {
    .section { padding-top: 78px; padding-bottom: 78px; }
    .menu a::after { display: none; }
    .button { width: 100%; }
    .metrics-grid { gap: 10px; }
    .metrics-grid article { min-height: 125px; border-right: 1px solid var(--line); }
    .code-list article { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* Human visual storytelling */
.hero-photo-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 520px);
    aspect-ratio: .92;
    border: 8px solid rgba(255,255,255,.82);
    border-radius: 42px;
    background: #dbeaf8;
    box-shadow:
        0 18px 0 rgba(184,207,232,.72),
        0 55px 100px rgba(24,57,94,.24);
    transform: rotate(2.2deg);
    isolation: isolate;
    animation: hero-photo-breathe 7s ease-in-out infinite;
}
.hero-photo-card::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, transparent 45%, rgba(7,24,44,.55)),
        linear-gradient(135deg, rgba(36,85,214,.1), transparent 50%);
    content: "";
}
.hero-photo-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.hero-photo-card:hover > img { transform: scale(1.045); }
.photo-shine {
    position: absolute;
    z-index: 2;
    top: -30%;
    left: -70%;
    width: 55%;
    height: 170%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transform: rotate(18deg);
    animation: photo-shine 7s ease-in-out infinite 1.5s;
}
.hero-photo-card .visual-node { z-index: 4; transform: rotate(-2.2deg); }
.hero-photo-card .node-it { top: 8%; left: 5%; }
.hero-photo-card .node-ai { right: 4%; bottom: 18%; }
.hero-photo-caption {
    position: absolute;
    z-index: 4;
    right: 25px;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    color: #fff;
    transform: rotate(-2.2deg);
}
.hero-photo-caption strong { font-size: 22px; letter-spacing: -.025em; }
.hero-photo-caption span { max-width: 145px; color: #dbeaff; font-size: 12px; text-align: right; }
.leadership { overflow: hidden; background: #fff; }
.leadership::before {
    position: absolute;
    top: 12%;
    right: -140px;
    width: 390px;
    height: 390px;
    border: 1px solid #dce8f4;
    border-radius: 50%;
    content: "";
}
.leadership-card {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    overflow: hidden;
    min-height: 540px;
    border: 1px solid #d7e4f1;
    border-radius: 36px;
    background:
        radial-gradient(circle at 15% 20%, rgba(125,168,223,.13), transparent 35%),
        linear-gradient(135deg, #eef6ff, #fff 58%);
    box-shadow: 0 35px 85px rgba(21,52,91,.14);
}
.leadership-photo {
    position: relative;
    align-self: stretch;
    min-height: 540px;
    background: linear-gradient(180deg, #dfeeff, #c9e1f8);
}
.leadership-photo::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 38%;
    background: linear-gradient(transparent, rgba(10,31,58,.25));
    content: "";
}
.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 30px 28px rgba(20,48,80,.2));
    transition: transform .6s ease;
}
.leadership-card:hover .leadership-photo img { transform: scale(1.025) translateY(-4px); }
.leadership-badge {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 25px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #fff;
    background: rgba(9,34,69,.52);
    box-shadow: 0 12px 25px rgba(7,25,51,.2);
    font-size: 12px;
    font-weight: 750;
    backdrop-filter: blur(12px);
}
.leadership-copy { padding: 65px 72px; }
.leadership-copy blockquote {
    max-width: 700px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 720;
    letter-spacing: -.045em;
    line-height: 1.16;
}
.leadership-person { display: grid; gap: 3px; margin: 36px 0 28px; }
.leadership-person strong { font-size: 18px; }
.leadership-person span { color: #6b7f96; }
.it-photo-card {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 8px solid #fff;
    border-radius: 34px;
    background: #153b65;
    box-shadow: 0 16px 0 #d9e5f0, 0 45px 95px rgba(24,57,94,.24);
    transform: rotate(1.5deg);
    transition: transform .35s ease, box-shadow .35s ease;
}
.it-photo-card:hover {
    box-shadow: 0 10px 0 #d9e5f0, 0 38px 75px rgba(24,57,94,.24);
    transform: rotate(0) translateY(-8px);
}
.it-photo-card > img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: 62% center;
    transition: transform .8s ease;
}
.it-photo-card:hover > img { transform: scale(1.04); }
.it-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,22,42,.02) 38%, rgba(6,22,42,.8));
}
.it-photo-status {
    position: absolute;
    top: 22px;
    right: 22px;
    left: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 15px;
    color: #fff;
    background: rgba(8,32,69,.46);
    box-shadow: 0 15px 32px rgba(5,19,42,.2);
    backdrop-filter: blur(12px);
}
.it-photo-status span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.it-photo-status i { width: 9px; height: 9px; border-radius: 50%; background: #66e09a; box-shadow: 0 0 0 5px rgba(102,224,154,.13); animation: status-pulse 2s ease-in-out infinite; }
.it-photo-status strong { font-size: 13px; letter-spacing: .08em; }
.it-photo-metrics {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
}
.it-photo-metrics span {
    display: grid;
    gap: 2px;
    padding: 17px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 16px;
    color: #d5e6f8;
    background: rgba(8,32,69,.58);
    font-size: 11px;
    backdrop-filter: blur(12px);
}
.it-photo-metrics b { color: #fff; font-size: 22px; }
@keyframes hero-photo-breathe {
    0%, 100% { transform: rotate(2.2deg) translateY(0); }
    50% { transform: rotate(1deg) translateY(-8px); }
}
@keyframes photo-shine {
    0%, 45% { left: -70%; opacity: 0; }
    55% { opacity: 1; }
    75%, 100% { left: 140%; opacity: 0; }
}
@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(102,224,154,.13); }
    50% { box-shadow: 0 0 0 9px rgba(102,224,154,.04); }
}
@media (max-width: 1050px) {
    .hero-photo-card { margin-inline: auto; }
    .it-photo-card { max-width: 760px; margin-inline: auto; }
    .leadership-copy { padding: 52px; }
}
@media (max-width: 760px) {
    .hero-photo-card { width: 100%; max-width: 500px; border-width: 6px; border-radius: 30px; }
    .hero-photo-card .visual-node { min-width: 115px; }
    .hero-photo-caption { right: 18px; bottom: 18px; left: 18px; }
    .leadership-card { grid-template-columns: 1fr; }
    .leadership-photo { min-height: 420px; }
    .leadership-copy { padding: 38px 28px 44px; }
    .leadership-copy blockquote { font-size: 31px; }
    .it-photo-card { min-height: 450px; border-width: 6px; border-radius: 28px; }
    .it-photo-card > img { height: 450px; object-position: 58% center; }
}
@media (max-width: 430px) {
    .hero-photo-card .node-ai { display: none; }
    .hero-photo-caption { align-items: flex-start; flex-direction: column; }
    .hero-photo-caption span { max-width: none; text-align: left; }
    .leadership-photo { min-height: 360px; }
    .leadership-copy blockquote { font-size: 27px; }
    .it-photo-status span { max-width: 165px; }
    .it-photo-metrics { grid-template-columns: 1fr; }
}

/* Reimagined legacy homepage blocks */
.client-ticker {
    overflow: hidden;
    padding: 35px 0 40px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.client-ticker-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 27px;
    color: #71849a;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.client-ticker-head strong { color: var(--ink); font-weight: 750; }
.client-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: client-marquee 30s linear infinite;
}
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-logo {
    display: grid;
    width: 210px;
    height: 58px;
    flex: 0 0 auto;
    margin-right: 42px;
    place-items: center;
    filter: grayscale(1);
    opacity: .58;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.client-logo:hover { filter: none; opacity: 1; transform: scale(1.04); }
.client-logo img { max-width: 175px; max-height: 45px; object-fit: contain; }
.client-logo-text {
    color: #ed1c24;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: -.06em;
    text-transform: none;
}
.why-smart {
    overflow: hidden;
    color: #fff;
    background: #081a30;
}
.why-smart::before {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    content: "";
}
.why-title {
    display: grid;
    grid-template-columns: .55fr 1.45fr;
    gap: 70px;
    align-items: start;
    margin-bottom: 65px;
}
.why-title h2 { max-width: 900px; }
.why-title em {
    color: #9bcaff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}
.why-bento {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr 1.1fr;
    grid-template-rows: minmax(270px, auto) minmax(250px, auto);
    gap: 14px;
}
.why-item {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.055);
}
.why-item h3 { margin: 38px 0 14px; font-size: 29px; }
.why-item p { max-width: 480px; color: #adbed2; }
.why-number { position: absolute; top: 26px; right: 28px; color: #70869f; font-size: 12px; font-weight: 800; }
.why-speed {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    border-radius: 3px 52px 3px 3px;
    color: var(--ink);
    background: #dce9f8;
}
.why-speed h3 { margin-top: 0; font-size: 43px; }
.why-speed p { color: #3a551b; }
.why-speed > strong {
    align-self: center;
    color: #13263f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 7vw, 100px);
    font-weight: 400;
    letter-spacing: -.08em;
}
.why-speed > small { position: absolute; right: 36px; bottom: 24px; color: #41621b; }
.why-simple {
    grid-column: span 2;
    border-radius: 3px;
    background:
        linear-gradient(135deg, rgba(14,78,175,.8), rgba(125,168,223,.28)),
        #123f9f;
}
.why-route { display: flex; align-items: center; gap: 13px; margin-top: 35px; }
.why-route i { padding: 11px 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-style: normal; }
.why-route b { color: #8ecbff; font-size: 24px; }
.why-reliable { grid-column: span 1; border-radius: 3px; }
.why-reliable ul { display: grid; gap: 11px; margin: 27px 0 0; padding: 0; list-style: none; }
.why-reliable li { position: relative; padding-left: 24px; color: #d5e2ef; font-size: 13px; }
.why-reliable li::before { position: absolute; left: 0; color: #9bb9dd; content: "●"; }
.why-economy {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    border-radius: 3px 3px 52px 3px;
    color: var(--ink);
    background: #f0f5fb;
}
.why-economy p { color: #5f738b; }
.economy-visual {
    position: relative;
    display: grid;
    height: 160px;
    align-items: end;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.economy-visual span {
    display: grid;
    height: 70%;
    place-items: center;
    border-radius: 80px 80px 7px 7px;
    color: #fff;
    background: var(--blue);
    font-size: 12px;
    font-weight: 750;
}
.economy-visual span:last-child { height: 100%; color: #18304b; background: #dce9f8; }
.smart-process {
    overflow: hidden;
    color: #fff;
    background: var(--blue);
}
.smart-process::after {
    position: absolute;
    right: -150px;
    bottom: -240px;
    width: 600px;
    height: 600px;
    border: 100px solid rgba(255,255,255,.055);
    border-radius: 50%;
    content: "";
}
.process-intro {
    display: grid;
    grid-template-columns: .55fr 1.35fr .85fr;
    gap: 55px;
    align-items: end;
    margin-bottom: 70px;
}
.process-intro h2 { max-width: 720px; }
.process-intro p { color: #c6dcff; }
.process-line {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}
.process-line::before {
    position: absolute;
    z-index: -1;
    top: 29px;
    right: 9%;
    left: 9%;
    height: 1px;
    background: rgba(255,255,255,.35);
    content: "";
}
.process-line li { padding-right: 22px; }
.process-line li > span {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 28px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    color: var(--blue);
    background: #fff;
    box-shadow: 0 12px 28px rgba(9,35,90,.2);
    font-size: 12px;
    font-weight: 850;
    transition: transform .25s ease;
}
.process-line li:hover > span { transform: scale(1.12) rotate(-7deg); }
.process-line strong { font-size: 18px; }
.process-line p { margin-top: 9px; color: #c6dcff; font-size: 13px; }
.process-outcomes {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
    border-top: 1px solid rgba(255,255,255,.22);
}
.process-outcomes span { display: flex; align-items: baseline; gap: 9px; padding: 25px 18px 0 0; color: #c6dcff; font-size: 12px; }
.process-outcomes b { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; }
.case-carousel { position: relative; }
.case-rail {
    display: grid;
    grid-auto-columns: minmax(360px, 43%);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 5px 0 28px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(255,255,255,.3) transparent;
}
.case-carousel.is-ready .case-rail {
    padding-bottom: 12px;
    scrollbar-width: none;
}
.case-carousel.is-ready .case-rail::-webkit-scrollbar { display: none; }
.case-carousel-button {
    position: absolute;
    z-index: 6;
    top: 50%;
    display: none;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    background: rgba(8, 31, 64, .86);
    box-shadow: 0 18px 45px rgba(0,0,0,.3);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.case-carousel.is-ready .case-carousel-button { display: grid; }
.case-carousel-prev { left: 12px; }
.case-carousel-next { right: 12px; }
.case-carousel-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case-carousel-button:hover:not(:disabled) { border-color: #fff; background: var(--blue); transform: translateY(-50%) scale(1.07); }
.case-carousel-button:focus-visible { outline: 3px solid rgba(255,255,255,.65); outline-offset: 4px; }
.case-carousel-button:disabled { opacity: .24; cursor: default; }
.case-carousel.is-ready + .case-scroll-hint { display: none; }
.case-rail .case-card { scroll-snap-align: start; }
.case-card-wide { grid-row: auto; container-type: inline-size; }
.case-procurement { color: var(--ink); border-color: transparent; box-shadow: none; }
.case-procurement .case-tag { color: rgba(19,38,63,.62); }
.case-procurement h3 { font-size: 31px; }
.case-procurement p { color: rgba(19,38,63,.7); }
.case-procurement a { color: var(--ink); }
.case-yellow { background: #e8eef6; }
.case-mint { background: #dbe6f3; }
.case-coral { background: #c7d8ec; }
.case-result {
    display: block;
    margin-bottom: 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 70px;
    font-weight: 400;
    letter-spacing: -.07em;
}
.case-scroll-hint { margin-top: 18px; color: #7f96b0; font-size: 12px; text-align: right; }
.case-details { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.case-details summary {
    position: relative;
    padding: 20px 34px 4px 0;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}
.case-details summary::-webkit-details-marker { display: none; }
.case-details summary::after {
    position: absolute;
    top: 17px;
    right: 2px;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    content: "+";
    transition: transform .2s ease, background .2s ease;
}
.case-details[open] summary::after { background: rgba(255,255,255,.12); transform: rotate(45deg); }
.case-details-body { display: grid; gap: 8px; padding: 18px 0 4px; }
.case-details-body h4 { margin-top: 8px; color: #fff; font-size: 15px; }
.case-details-body p { margin-top: 0; color: #b9c9dc; font-size: 14px; line-height: 1.65; }
@keyframes client-marquee { to { transform: translateX(-50%); } }
@media (max-width: 1050px) {
    .why-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .why-speed, .why-simple, .why-reliable, .why-economy { grid-column: span 1; }
    .why-economy { grid-column: span 2; }
    .process-intro { grid-template-columns: 1fr 1.5fr; }
    .process-intro p { grid-column: 2; }
    .process-line { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; padding-bottom: 20px; }
    .process-line::before { display: none; }
    .case-rail { grid-auto-columns: minmax(350px, 60%); }
}
@media (max-width: 760px) {
    .client-ticker-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .client-logo { width: 160px; margin-right: 24px; }
    .why-title { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
    .why-bento { grid-template-columns: 1fr; }
    .why-speed, .why-simple, .why-reliable, .why-economy { grid-column: span 1; border-radius: 3px 28px 3px 3px; }
    .why-speed { grid-template-columns: 1fr; }
    .why-speed > strong { margin-top: 25px; }
    .why-speed > small { position: static; }
    .why-economy { grid-template-columns: 1fr; }
    .economy-visual { margin-top: 25px; }
    .process-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 45px; }
    .process-intro p { grid-column: auto; }
    .process-line { grid-template-columns: 1fr; overflow: visible; }
    .process-line li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 0 0 28px; }
    .process-line li > span { margin: 0; }
    .process-outcomes { grid-template-columns: repeat(2, 1fr); margin-top: 25px; }
    .case-rail { grid-auto-columns: 88%; }
    .case-carousel.is-ready .case-carousel-button { display: none; }
    .case-result { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
    .client-marquee-track { animation: none; }
}

/* v0.5 — strict SMART brand system */
:root {
    --ink: #102642;
    --ink-2: #29415f;
    --blue: #0e4eaf;
    --blue-dark: #082f73;
    --cyan: #7da8df;
    --lime: #dce9f8;
    --soft: #f3f6fa;
    --line: #dbe4ef;
    --navy: #071b35;
}

.hero {
    background:
        radial-gradient(circle at 82% 42%, rgba(14, 78, 175, .11), transparent 30%),
        linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.hero-orb-one {
    right: -170px;
    bottom: -310px;
    background: rgba(14, 78, 175, .08);
}
.hero-orb-two {
    background: rgba(14, 78, 175, .07);
}
.hero-cube-stage {
    position: relative;
    display: grid;
    width: min(100%, 570px);
    aspect-ratio: 1;
    place-items: center;
    isolation: isolate;
}
.hero-cube-stage::before {
    position: absolute;
    z-index: -2;
    inset: 11%;
    border: 1px solid rgba(14, 78, 175, .12);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.94) 0 48%, rgba(230,238,248,.72) 70%, transparent 71%);
    content: "";
}
.hero-cube-stage::after {
    position: absolute;
    z-index: -1;
    right: 15%;
    bottom: 12%;
    width: 65%;
    height: 18%;
    border-radius: 50%;
    background: rgba(8, 37, 103, .17);
    content: "";
    filter: blur(28px);
    transform: rotate(-5deg);
}
.hero-cube {
    width: 92%;
    max-width: 535px;
    filter: drop-shadow(0 38px 35px rgba(7, 27, 53, .2));
    animation: cube-float 7s ease-in-out infinite;
    transform: rotate(-4deg);
}
.cube-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(14, 78, 175, .2);
    border-radius: 50%;
}
.cube-orbit-one { inset: 4%; transform: rotate(15deg) scaleY(.64); }
.cube-orbit-two { inset: 15% -2%; border-style: dashed; transform: rotate(-34deg) scaleY(.58); }
.cube-note {
    position: absolute;
    z-index: 2;
    display: flex;
    max-width: 215px;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(14,78,175,.14);
    border-radius: 14px;
    color: #526a86;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(16,38,66,.11);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}
.cube-note b { color: var(--blue); font-size: 13px; }
.cube-note-one { top: 10%; left: -1%; }
.cube-note-two { right: -2%; bottom: 11%; }

.procurement-focus {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: #fff;
    background: linear-gradient(125deg, #071b35 0%, #0b326f 58%, #0e4eaf 100%);
}
.procurement-focus::before {
    position: absolute;
    top: -360px;
    right: -250px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    content: "";
}
.procurement-focus-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 90px;
    align-items: end;
}
.procurement-focus h2 { max-width: 800px; font-size: clamp(40px, 4.5vw, 68px); }
.procurement-focus-copy { display: grid; gap: 25px; }
.procurement-focus-copy p { color: #c7d7eb; font-size: 18px; }
.procurement-focus-copy ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.procurement-focus-copy li { position: relative; padding-left: 23px; color: #e5edf7; font-size: 13px; }
.procurement-focus-copy li::before {
    position: absolute;
    top: .55em;
    left: 0;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    content: "";
}
.procurement-focus-copy .button { width: max-content; }

.philosophy { background: #fff; }
.company-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.company-facts span {
    display: grid;
    gap: 4px;
    padding: 21px 18px 21px 0;
    color: #6b7d92;
    font-size: 11px;
    line-height: 1.35;
}
.company-facts b { color: var(--blue); font-size: 24px; letter-spacing: -.04em; }

.why-title em {
    color: #9db7d8;
    font-family: "Manrope", sans-serif;
    font-style: normal;
    font-weight: 500;
}
.why-speed,
.why-simple,
.why-reliable,
.why-economy {
    border-color: rgba(255,255,255,.12);
    border-radius: 4px 42px 4px 4px;
}
.why-speed {
    color: #fff;
    background: linear-gradient(135deg, #0e4eaf, #153f7a);
}
.why-speed p,
.why-speed > small { color: #d4e2f4; }
.why-speed > strong { color: #fff; }
.why-simple {
    color: var(--ink);
    background: #f3f6fa;
}
.why-simple p { color: #60748d; }
.why-simple .why-number { color: #8aa1bc; }
.why-route i { border-color: #c5d3e3; }
.why-route b { color: var(--blue); }
.why-reliable { background: #0b284d; }
.why-reliable li::before { color: #8eafd6; }
.why-economy { background: #e7eef7; }
.economy-visual span { background: #7897bd; }
.economy-visual span:last-child { color: #fff; background: var(--blue); }

.rapid-cases {
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}
.rapid-cases-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}
.rapid-cases-heading { position: sticky; top: 130px; align-self: start; }
.rapid-cases-heading h2 { max-width: 530px; }
.rapid-cases-heading p { max-width: 500px; margin-top: 24px; color: #aebfd4; font-size: 17px; }
.rapid-case-list { display: grid; }
.rapid-case-list article {
    display: grid;
    grid-template-columns: 54px 1fr 1fr;
    gap: 22px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid rgba(255,255,255,.15);
}
.rapid-case-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.rapid-case-list span { color: #7195c3; font-size: 12px; font-weight: 800; }
.rapid-case-list strong { font-size: 22px; line-height: 1.2; }
.rapid-case-list p { color: #aebfd4; font-size: 13px; }

.smart-process {
    background: linear-gradient(135deg, #0e4eaf, #0a3c87);
}
.case-featured {
    background: linear-gradient(145deg, rgba(14,78,175,.8), rgba(39,83,143,.45));
}
.case-yellow { background: #e8eef6; }
.case-mint { background: #dbe6f3; }
.case-coral { background: #c7d8ec; }
.case-procurement { border: 1px solid rgba(16,38,66,.08); }
.case-procurement .case-tag,
.case-procurement p { color: #516984; }
.case-procurement a { color: var(--blue); }

@keyframes cube-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-16px) rotate(-2deg); }
}

@media (max-width: 1050px) {
    .procurement-focus-grid,
    .rapid-cases-grid { grid-template-columns: 1fr; gap: 45px; }
    .rapid-cases-heading { position: static; }
}
@media (max-width: 760px) {
    .hero-cube-stage { width: 105%; min-height: 410px; }
    .cube-note { max-width: 170px; padding: 10px 12px; font-size: 9px; }
    .cube-note-one { top: 5%; left: 0; }
    .cube-note-two { right: 0; bottom: 7%; }
    .procurement-focus { padding: 75px 0; }
    .procurement-focus-grid { gap: 35px; }
    .company-facts { grid-template-columns: 1fr; }
    .company-facts span { grid-template-columns: 80px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
    .company-facts span:last-child { border-bottom: 0; }
    .rapid-case-list article { grid-template-columns: 38px 1fr; }
    .rapid-case-list p { grid-column: 2; }
    .case-rail {
        grid-auto-columns: auto;
        grid-auto-flow: row;
        overflow: visible;
        padding-bottom: 0;
    }
    .case-scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-cube { animation: none; }
}

/* v0.6 — art direction polish */
:root {
    --display-tracking: -.055em;
    --section-space: clamp(88px, 8vw, 132px);
}
.section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}
h1, h2 { text-wrap: balance; }
h1 { letter-spacing: -.062em; }
h2 { letter-spacing: var(--display-tracking); }
.section-heading { margin-bottom: 68px; }
.section-heading > p {
    max-width: 390px;
    padding-left: 22px;
    border-left: 1px solid #a9bed6;
    font-size: 16px;
}
.eyebrow {
    margin-bottom: 27px;
    font-size: 11px;
    letter-spacing: .16em;
}

.hero-grid { grid-template-columns: 1.03fr .97fr; gap: 65px; }
.hero-copy { padding-block: 20px; }
.hero-lead { max-width: 650px; font-size: 19px; }
.hero-proof {
    width: max-content;
    padding: 17px 21px;
    border: 1px solid rgba(14,78,175,.1);
    border-radius: 17px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 18px 45px rgba(16,38,66,.06);
    backdrop-filter: blur(10px);
}
.hero-proof li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-cube-stage {
    transition: transform .22s ease-out;
    transform: perspective(900px) rotateX(var(--cube-rx, 0deg)) rotateY(var(--cube-ry, 0deg));
    transform-style: preserve-3d;
}
.hero-cube { transform: translateZ(22px) rotate(-4deg); }
.cube-note { transform: translateZ(45px); }

/* Services become an editorial service index instead of four repeated cards. */
#directions { overflow: hidden; }
.direction-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid #bdcada;
}
.direction-card,
.direction-card.direction-primary {
    display: grid;
    min-height: 0;
    grid-template-columns: 76px minmax(220px, .7fr) minmax(320px, 1.15fr) 190px;
    grid-template-rows: auto auto 1fr;
    gap: 8px 32px;
    align-items: start;
    padding: 38px 0 40px;
    border: 0;
    border-bottom: 1px solid #bdcada;
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    transition: color .3s ease, background-color .3s ease, padding .3s ease;
}
.direction-card::after { display: none; }
.direction-card:hover,
.direction-card.direction-primary:hover {
    padding-right: 28px;
    padding-left: 28px;
    color: #fff;
    background: var(--blue);
    box-shadow: none;
    transform: none;
}
.direction-card .card-icon,
.direction-card.direction-primary .card-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 58px;
    height: 58px;
    margin: 0;
    color: var(--blue);
    background: #fff;
    box-shadow: inset 0 0 0 1px #cbd7e4;
}
.cube-service-icon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #fff, #edf4ff) !important;
    box-shadow: inset 0 0 0 1px #c4d3e3, 0 9px 22px rgba(21,70,145,.08) !important;
}
.cube-service-icon::before {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(36,85,214,.16);
    border-radius: 50%;
    content: "";
}
.cube-service-icon svg {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    color: var(--blue);
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .28s ease;
}
.cube-service-icon .cube-shell { stroke-width: 1.7; }
.cube-service-icon .cube-fold { opacity: .48; stroke-width: 1.35; }
.cube-service-icon .cube-mark { stroke-width: 2.15; }
.direction-card:hover .cube-service-icon svg { transform: translateY(-2px) rotate(-3deg) scale(1.04); }

/* Public IT facts on the home page. */
.home-it-facts {
    background:
        radial-gradient(circle at 84% 12%, rgba(125,168,223,.12), transparent 30%),
        #f4f8fc;
}
.home-it-facts-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; }
.home-it-panel {
    overflow: hidden;
    padding: 34px;
    border: 1px solid #cfdae7;
    border-radius: 2px 27px 2px 2px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 55px rgba(17,48,86,.07);
}
.home-it-panel-head { margin-bottom: 27px; }
.home-it-panel-head > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.home-it-panel-head h3 { margin-top: 8px; font-size: clamp(27px, 2.8vw, 39px); }
.home-code-list,
.home-price-list { display: grid; border-top: 1px solid #b9c8d9; }
.home-code-list > div {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #d5dfea;
}
.home-code-list b { color: var(--blue); font-size: 21px; letter-spacing: -.04em; }
.home-code-list span { color: #405974; font-size: 14px; line-height: 1.45; }
.home-price-list > div {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #d5dfea;
}
.home-price-list span { color: #405974; font-size: 14px; }
.home-price-list b { color: var(--ink); font-size: 15px; text-align: right; white-space: nowrap; }
.home-it-tech { grid-column: 1 / -1; }
.home-tech-groups { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 0; border-block: 1px solid #b9c8d9; }
.home-tech-groups > div { min-height: 145px; padding: 24px 28px 24px 0; }
.home-tech-groups > div + div { padding-left: 28px; border-left: 1px solid #d5dfea; }
.home-tech-groups b { color: var(--ink); font-size: 16px; }
.home-tech-groups p { margin-top: 11px; color: #5d7189; font-size: 14px; line-height: 1.65; }
.home-it-tech .text-link { display: inline-block; margin-top: 25px; }
.direction-card .card-index {
    position: static;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    color: #8297af;
    font-size: 12px;
}
.direction-kicker {
    grid-column: 2;
    grid-row: 1;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.direction-card h3 {
    grid-column: 2;
    grid-row: 2;
    margin: 4px 0 0;
    font-size: clamp(29px, 3vw, 43px);
}
.direction-card > p {
    grid-column: 2;
    grid-row: 3;
    margin: 8px 0 0;
    font-size: 14px;
}
.direction-card ul {
    grid-column: 3;
    grid-row: 1 / 4;
    align-self: center;
    margin: 0;
}
.direction-card > a {
    grid-column: 4;
    grid-row: 2 / 4;
    align-self: end;
    justify-self: end;
    text-align: right;
}
.direction-card.direction-primary > p,
.direction-card.direction-primary li {
    color: #455d77 !important;
}
.direction-card.direction-primary > a { color: var(--blue) !important; }
.direction-card.direction-primary .card-index { color: #8297af; }
.direction-card:hover .direction-kicker,
.direction-card:hover .card-index,
.direction-card:hover > p,
.direction-card:hover li,
.direction-card:hover > a { color: #fff !important; }
.direction-card:hover li::before { color: var(--blue); background: #fff; }

/* Pricing reads like a specification sheet. */
.pricing-model { background: #fff; }
.pricing-list {
    overflow: visible;
    border: 0;
    border-top: 1px solid #aebed0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    counter-reset: price-row;
}
.pricing-list div {
    position: relative;
    grid-template-columns: .72fr 1.28fr;
    padding: 26px 0 26px 54px;
    border-bottom-color: #cbd6e2;
    counter-increment: price-row;
}
.pricing-list div::before {
    position: absolute;
    top: 28px;
    left: 0;
    width: auto;
    height: auto;
    color: #8095ad;
    background: none;
    content: "0" counter(price-row);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    opacity: 1;
}
.pricing-list div:hover { padding-left: 62px; background: transparent; }
.pricing-list b { font-size: 15px; }
.pricing-list span { font-size: 13px; }

/* IT pricing is a content-heavy dark block: keep it readable on notebooks. */
.section-dark .split-centered {
    grid-template-columns: minmax(340px, .78fr) minmax(560px, 1.22fr);
    gap: clamp(56px, 6vw, 92px);
}
.section-dark .split-centered > div:first-child > p {
    max-width: 520px;
    color: #d3dfed;
    font-size: 17px;
    line-height: 1.65;
}
.section-dark .pricing-list-dark div {
    grid-template-columns: minmax(210px, .84fr) minmax(300px, 1.16fr);
    gap: 30px;
    padding-top: 29px;
    padding-bottom: 29px;
}
.section-dark .pricing-list-dark b {
    color: #fff;
    font-size: 17px;
    font-weight: 720;
    line-height: 1.42;
}
.section-dark .pricing-list-dark span {
    color: #c4d3e5;
    font-size: 15px;
    line-height: 1.55;
}

/* Metrics are a typographic dashboard, not floating tiles. */
.metrics-grid {
    gap: 0;
    overflow: hidden;
    border: 1px solid #c9d5e2;
    border-radius: 2px 34px 2px 2px;
    background: #fff;
}
.metrics-grid article {
    min-height: 150px;
    padding: 30px;
    border-right: 1px solid #d7e0e9;
    border-bottom: 1px solid #d7e0e9;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.metrics-grid article:nth-child(4n) { border-right: 0; }
.metrics-grid article:nth-child(n+5) { border-bottom: 0; }
.metrics-grid article:hover {
    z-index: 1;
    color: #fff;
    background: var(--blue);
    box-shadow: none;
    transform: none;
}
.metrics-grid article:hover strong,
.metrics-grid article:hover span { color: #fff; }
.metrics-grid strong { margin-top: auto; font-size: clamp(33px, 3.3vw, 48px); }
.metrics-grid span { max-width: 180px; font-size: 12px; }

.rapid-case-list article { transition: padding .25s ease, background-color .25s ease; }
.rapid-case-list article:hover {
    margin-inline: -24px;
    padding-inline: 24px;
    background: rgba(255,255,255,.035);
}
.rapid-case-list strong { font-size: 24px; }

.case-rail {
    grid-auto-columns: minmax(360px, 39%);
    cursor: grab;
}
.case-rail:active { cursor: grabbing; }
.case-card { min-height: 440px; }
.case-card h3 { text-wrap: balance; }
.case-result { margin-top: auto; }

.contact-section {
    background:
        radial-gradient(circle at 86% 12%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(125deg, #0e4eaf, #1263c6);
}
.contact-form {
    border: 1px solid rgba(255,255,255,.19);
    box-shadow: 0 30px 75px rgba(6,31,78,.25);
}

/* Geography: the useful scale proof from the original site, rebuilt responsively. */
.geography {
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 14%, rgba(14,78,175,.08), transparent 25%),
        #fff;
}
.geography-heading { align-items: end; }
.geo-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.geo-kpis article {
    position: relative;
    display: flex;
    min-height: 205px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #dce6f1;
    border-radius: 2px 30px 2px 2px;
    background: #f3f6fa;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
.geo-kpis article::after {
    position: absolute;
    right: -46px;
    bottom: -65px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(14,78,175,.11);
    border-radius: 50%;
    content: "";
}
.geo-kpis article:hover {
    color: #fff;
    background: var(--blue);
    transform: translateY(-4px);
}
.geo-kpis article:hover span { color: #dceaff; }
.geo-kpis strong {
    color: var(--blue);
    font-size: clamp(48px, 5vw, 74px);
    font-weight: 520;
    letter-spacing: -.065em;
    line-height: .9;
}
.geo-kpis article:hover strong { color: #fff; }
.geo-kpis span {
    max-width: 205px;
    color: #536a83;
    font-size: 12px;
    line-height: 1.45;
}
.geo-city-rail {
    margin: 0 calc((100vw - min(1200px, calc(100vw - 40px))) / -2) 30px;
    padding: 0 max(20px, calc((100vw - 1200px) / 2));
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.geo-city-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: geo-city-marquee 58s linear infinite;
}
.geo-city-set {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    padding-right: 8px;
}
.geo-city-rail:hover .geo-city-track { animation-play-state: paused; }
.geo-city-rail span {
    flex: 0 0 auto;
    padding: 10px 18px;
    border: 1px solid #dce6f1;
    border-radius: 999px;
    color: #5d7189;
    background: #f3f6fa;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.geo-city-set span:nth-child(3n+1) {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}
@keyframes geo-city-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.geo-map-card {
    position: relative;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #d8e2ee;
    border-radius: 2px 42px 2px 2px;
    background: linear-gradient(145deg, #f7f9fc, #fff 52%);
    box-shadow: 0 28px 70px rgba(23,55,95,.09);
}
.geo-map-copy {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 430px;
    gap: 14px;
}
.geo-map-label {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.geo-map-copy h3 { max-width: 420px; font-size: clamp(28px, 3vw, 44px); }
.geo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 20px;
    margin-top: 5px;
}
.geo-legend > span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #61758c;
    font-size: 11px;
}
.geo-legend-dot {
    width: 10px;
    height: 10px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 1px rgba(14,78,175,.28);
}
.geo-legend-office { background: #8ea3bb; }
.geo-map-visual {
    position: relative;
    width: 100%;
    margin-top: -28px;
}
.geo-map-visual img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .93;
    filter: saturate(.78) contrast(.96);
}
.geo-pin {
    position: absolute;
    z-index: 3;
    top: var(--y);
    left: var(--x);
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 4px 14px rgba(8,42,110,.34), 0 0 0 1px rgba(14,78,175,.15);
    cursor: default;
    transform: translate(-50%, -50%);
    transition: z-index .2s ease, transform .2s ease;
}
.geo-pin[data-city]::after {
    position: absolute;
    z-index: 5;
    bottom: calc(100% + 10px);
    left: 50%;
    padding: 7px 10px;
    border-radius: 7px;
    color: #fff;
    background: var(--navy);
    box-shadow: 0 8px 24px rgba(7,27,53,.24);
    content: attr(data-city);
    font-size: 10px;
    font-weight: 750;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap;
}
.geo-pin:hover { z-index: 7; transform: translate(-50%, -50%) scale(1.25); }
.geo-pin[data-city]:hover::after { opacity: 1; transform: translate(-50%, 0); }
.geo-pin-office { background: #879db7; }

@media (max-width: 1050px) {
    .home-it-facts-grid { grid-template-columns: 1fr; }
    .home-it-tech { grid-column: auto; }
    .home-tech-groups { grid-template-columns: 1fr; }
    .home-tech-groups > div { min-height: 0; padding: 19px 0; }
    .home-tech-groups > div + div { padding-left: 0; border-top: 1px solid #d5dfea; border-left: 0; }
    .section-dark .split-centered {
        grid-template-columns: minmax(300px, .75fr) minmax(480px, 1.25fr);
        gap: 44px;
    }
    .section-dark .pricing-list-dark div {
        grid-template-columns: minmax(175px, .75fr) minmax(250px, 1.25fr);
        gap: 22px;
    }
    .direction-card,
    .direction-card.direction-primary {
        grid-template-columns: 70px minmax(220px, .8fr) minmax(260px, 1fr);
    }
    .direction-card .card-index { grid-column: 3; }
    .direction-card > a { grid-column: 3; grid-row: 3; justify-self: start; text-align: left; }
    .direction-card ul { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 760px) {
    :root { --section-space: 78px; }
    .section-heading { margin-bottom: 42px; }
    .section-heading > p { padding-left: 0; border-left: 0; }
    .home-it-panel { padding: 25px 20px; border-radius: 2px 22px 2px 2px; }
    .home-code-list > div { grid-template-columns: 61px 1fr; gap: 10px; }
    .home-price-list > div { grid-template-columns: 1fr; gap: 5px; }
    .home-price-list b { text-align: left; }
    .hero-proof {
        width: 100%;
        gap: 0;
        padding: 15px 12px;
        justify-content: space-between;
    }
    .hero-proof li { padding-inline: 10px; }
    .hero-proof li + li { padding-left: 14px; }
    .hero-proof li,
    .hero-proof li + li {
        border: 0;
        border-left: 1px solid var(--line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .hero-proof li:first-child { border-left: 0; }
    .hero-proof strong { font-size: 20px; }
    .hero-proof span { font-size: 9px; }
    .direction-card,
    .direction-card.direction-primary,
    .direction-card:hover,
    .direction-card.direction-primary:hover {
        display: grid;
        grid-template-columns: 54px 1fr;
        grid-template-rows: auto;
        gap: 7px 18px;
        padding: 28px 0 30px;
        color: var(--ink);
        background: transparent;
    }
    .direction-card .card-icon,
    .direction-card.direction-primary .card-icon {
        grid-column: 1;
        grid-row: 1 / 5;
        width: 48px;
        height: 48px;
    }
    .direction-card .card-index { grid-column: 2; grid-row: 1; justify-self: end; }
    .direction-kicker { grid-column: 2; grid-row: 1; }
    .direction-card h3 { grid-column: 2; grid-row: 2; font-size: 27px; }
    .direction-card > p { grid-column: 2; grid-row: 3; }
    .direction-card ul { grid-column: 2; grid-row: 4; margin-top: 14px; }
    .direction-card > a { grid-column: 2; grid-row: 5; justify-self: start; margin-top: 8px; text-align: left; }
    .direction-card:hover .direction-kicker,
    .direction-card:hover .card-index,
    .direction-card:hover > p,
    .direction-card:hover li,
    .direction-card:hover > a { color: inherit !important; }
    .direction-card.direction-primary > p,
    .direction-card.direction-primary li { color: #455d77 !important; }
    .direction-card.direction-primary > a { color: var(--blue) !important; }
    .direction-card:hover li::before { color: #fff; background: var(--blue); }
    .pricing-list div { grid-template-columns: 1fr; gap: 6px; padding: 21px 0 21px 42px; }
    .section-dark .split-centered { grid-template-columns: 1fr; gap: 38px; }
    .section-dark .pricing-list-dark div { grid-template-columns: 1fr; gap: 8px; }
    .pricing-list div::before { top: 23px; }
    .pricing-list div:hover { padding-left: 42px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); border-radius: 2px 24px 2px 2px; }
    .metrics-grid article,
    .metrics-grid article:nth-child(n+5) { min-height: 125px; padding: 20px; border-right: 1px solid #d7e0e9; border-bottom: 1px solid #d7e0e9; }
    .metrics-grid article:nth-child(2n) { border-right: 0; }
    .metrics-grid article:nth-last-child(-n+2) { border-bottom: 0; }
    .case-card { min-height: 0; }
    .geography-heading { align-items: start; }
    .geo-kpis { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .geo-kpis article { min-height: 155px; padding: 20px; border-radius: 2px 22px 2px 2px; }
    .geo-kpis strong { font-size: 44px; }
    .geo-kpis span { font-size: 10px; }
    .geo-city-rail { margin-top: 22px; margin-bottom: 20px; }
    .geo-city-rail span { padding: 8px 14px; font-size: 9px; }
    .geo-map-card { padding: 24px 16px 18px; border-radius: 2px 26px 2px 2px; }
    .geo-map-copy { gap: 10px; padding-inline: 4px; }
    .geo-map-copy h3 { font-size: 28px; }
    .geo-legend { gap: 8px 14px; }
    .geo-map-visual { margin-top: 18px; }
    .geo-pin { width: 8px; height: 8px; border-width: 2px; box-shadow: 0 2px 7px rgba(8,42,110,.3); }
    .geo-pin::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-cube-stage { transform: none; }
    .geo-city-track { animation: none; transform: none; }
    .geo-city-set[aria-hidden="true"] { display: none; }
}

/* IT calculator and balanced-homepage iteration — v0.8.0 */
.direction-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
}
.direction-actions a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}
.direction-actions .direction-calc-link {
    padding: 10px 14px;
    border: 1px solid rgba(13, 86, 194, .2);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(13, 86, 194, .08);
}
.direction-card:hover .direction-actions a { color: #fff; }
.direction-card:hover .direction-actions .direction-calc-link {
    color: var(--blue);
    border-color: #fff;
}
.case-stats-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.case-stats-three span {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    font-size: 13px;
    line-height: 1.4;
}
.case-stats-three b { display: block; white-space: nowrap; }
@container (max-width: 560px) {
    .case-card-wide h3 {
        max-width: 100%;
        font-size: 25px;
        line-height: 1.08;
        letter-spacing: -.035em;
        text-wrap: wrap;
        overflow-wrap: normal;
    }
    .case-stats.case-stats-three {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }
    .case-stats.case-stats-three span {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 0;
        padding: 12px 14px;
    }
    .case-stats.case-stats-three b {
        margin: 0;
        font-size: 22px;
    }
}
.site-footer address strong { display: block; margin-bottom: 6px; color: #fff; }

.calculator-page { overflow: hidden; background: #f5f8fc; }
.calculator-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 92px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(61, 129, 242, .38), transparent 30%),
        linear-gradient(135deg, #061b35 0%, #082d60 58%, #0d56c2 145%);
}
.calculator-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .65fr);
    gap: 80px;
    align-items: end;
}
.calculator-hero h1 {
    max-width: 850px;
    margin-top: 18px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -.06em;
}
.calculator-hero h1 em { color: #74a8ff; font-style: normal; }
.calculator-hero-grid > div:first-child > p {
    max-width: 720px;
    margin-top: 25px;
    color: #bfd0e6;
    font-size: 19px;
}
.calculator-orb { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.calculator-orb-one { top: -280px; right: -120px; width: 680px; height: 680px; }
.calculator-orb-two { bottom: -430px; left: 28%; width: 700px; height: 700px; }
.calculator-formula-card {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 3px 36px 3px 3px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 25px 80px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
}
.calculator-formula-card > span {
    display: block;
    color: #8eb9ff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.calculator-formula-card strong { display: block; margin-top: 15px; font-size: 28px; letter-spacing: -.04em; }
.calculator-formula-card p { margin-top: 12px; color: #bfd0e6; font-size: 14px; }
.calculator-smart-formula {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.calculator-smart-formula span {
    display: block;
    color: #8eb9ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.calculator-smart-formula b { display: block; margin-top: 9px; color: #fff; font-size: 18px; }

.calculator-workspace { padding-top: 70px; }
.calculator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    gap: 24px;
    align-items: start;
}
.calculator-controls,
.calculator-result {
    border: 1px solid #dbe4ef;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18, 52, 91, .09);
}
.calculator-controls { display: grid; gap: 0; padding: 18px 36px 36px; border-radius: 3px 30px 3px 3px; }
.calculator-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 28px 0;
    border-bottom: 1px solid #e3eaf2;
}
.calculator-step-number { padding-top: 4px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.calculator-step label { display: block; margin-bottom: 10px; color: var(--ink); font-size: 16px; font-weight: 800; }
.calculator-step select,
.calculator-step input[type="number"] {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #cbd8e7;
    border-radius: 12px;
    color: var(--ink);
    background: #f9fbfe;
    font: inherit;
}
.calculator-step select:focus,
.calculator-step input:focus { outline: 3px solid rgba(13,86,194,.12); border-color: var(--blue); }
.calculator-step small { display: block; margin-top: 9px; color: #71849a; }
.calculator-range-row { display: grid; grid-template-columns: 1fr 110px; gap: 18px; align-items: center; }
.calculator-range-row input { width: 100%; accent-color: var(--blue); }
.calculator-range-row output {
    padding: 10px;
    border-radius: 10px;
    color: var(--blue);
    background: #edf4ff;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
}
.calculator-error { min-height: 20px; margin-top: 7px; color: #be3048; font-size: 13px; }
.calculator-submit { margin-top: 28px; justify-self: start; border: 0; }
.calculator-result {
    position: sticky;
    top: 105px;
    padding: 38px;
    border-radius: 3px 38px 3px 3px;
    background: linear-gradient(160deg, #fff 0%, #edf4ff 100%);
}
.calculator-result::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--blue);
    content: "";
}
.calculator-result-label {
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.calculator-result h2 { margin-top: 12px; font-size: 30px; }
.calculator-result-main { display: flex; gap: 12px; align-items: baseline; margin-top: 30px; }
.calculator-result-main strong { color: var(--blue); font-size: clamp(40px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.calculator-result-main span { color: #64778d; }
.calculator-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 27px; }
.calculator-result-grid div { padding: 18px; border: 1px solid #d4e0ed; border-radius: 14px; background: rgba(255,255,255,.72); }
.calculator-result-grid span { display: block; color: #71849a; font-size: 12px; }
.calculator-result-grid b { display: block; margin-top: 7px; color: var(--ink); font-size: 17px; }
.calculator-smart-note { margin: 22px 0; padding: 20px; border-radius: 16px; color: #dceaff; background: #092b57; }
.calculator-smart-note span { display: block; color: #82b1ff; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.calculator-smart-note strong { display: block; margin-top: 7px; color: #fff; font-size: 19px; }
.calculator-smart-note p { margin-top: 8px; color: #b9cce2; font-size: 13px; }
.calculator-savings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}
.calculator-savings-grid div {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}
.calculator-savings-grid small { display: block; color: #9fb8d5; font-size: 10px; }
.calculator-savings-grid b { display: block; margin-top: 5px; color: #fff; font-size: 15px; }
.calculator-result .button { width: 100%; justify-content: center; }
.calculator-caption { margin-top: 12px; color: #7d8fa3; font-size: 11px; text-align: center; }
.calculator-result.is-complete { box-shadow: 0 28px 90px rgba(13,86,194,.18); }
.calculator-benefits { padding-top: 20px; }
.calculator-benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.calculator-benefit-grid article {
    min-height: 220px;
    padding: 26px;
    border: 1px solid #dce5ef;
    border-radius: 2px 26px 2px 2px;
    background: #fff;
}
.calculator-benefit-grid b { color: var(--blue); font-size: 30px; }
.calculator-benefit-grid h3 { margin-top: 30px; font-size: 21px; }
.calculator-benefit-grid p { margin-top: 10px; color: #687d93; font-size: 14px; }

@media (max-width: 1050px) {
    .calculator-hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .calculator-formula-card { max-width: 620px; }
    .calculator-layout { grid-template-columns: 1fr; }
    .calculator-result { position: relative; top: auto; }
    .calculator-benefit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .case-stats.case-stats-three {
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }
    .case-stats.case-stats-three span {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 0;
        padding: 12px 14px;
        line-height: 1.35;
    }
    .case-stats.case-stats-three b {
        margin: 0;
        font-size: 22px;
        white-space: nowrap;
    }
    .direction-actions { display: grid; }
    .calculator-hero { padding: 78px 0 64px; }
    .calculator-hero h1 { font-size: 46px; }
    .calculator-hero-grid > div:first-child > p { font-size: 16px; }
    .calculator-formula-card { padding: 24px; border-radius: 3px 26px 3px 3px; }
    .calculator-formula-card strong { font-size: 24px; }
    .calculator-workspace { padding-top: 35px; }
    .calculator-controls,
    .calculator-result { padding: 24px 18px; }
    .calculator-step { grid-template-columns: 35px 1fr; gap: 8px; padding: 24px 0; }
    .calculator-range-row { grid-template-columns: 1fr; gap: 12px; }
    .calculator-range-row output { justify-self: start; }
    .calculator-result-main { display: grid; gap: 6px; }
    .calculator-result-main strong { font-size: 43px; }
    .calculator-result-grid { grid-template-columns: 1fr; }
    .calculator-savings-grid { grid-template-columns: 1fr; }
    .calculator-benefit-grid { grid-template-columns: 1fr; }
    .calculator-benefit-grid article { min-height: 0; }
}

/* Acceptance fixes: final cascade layer. */
.contact-modal-form.contact-form label { color: var(--navy); }
.contact-modal-form.contact-form input,
.contact-modal-form.contact-form select,
.contact-modal-form.contact-form textarea {
    color: var(--navy);
    border-color: #ccd8e6;
    background: #fff;
}
.contact-modal-form.contact-form .checkbox { color: #5d7189; }
.contact-modal-form.contact-form .button-white { color: #fff; background: var(--blue); }
.direction-actions .direction-calc-link {
    padding: 13px 18px;
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(13, 86, 194, .2);
}
.direction-card:hover .direction-actions .direction-calc-link { color: var(--blue); background: #fff; }
.geography { padding-bottom: 30px; }
.leadership { padding-top: 30px; }
.case-details summary { padding-right: 0; }
.case-details summary::after { display: none; }
.case-card.case-it {
    color: #fff;
    background:
        radial-gradient(circle at 105% 92%, rgba(255,255,255,.12), transparent 31%),
        linear-gradient(145deg, #103c7d, #0c56b5);
}
.case-card.case-it-nda-alt {
    background:
        radial-gradient(circle at 100% 0, rgba(86,150,242,.18), transparent 36%),
        linear-gradient(145deg, #091f43, #12366a);
}
.case-card.case-it .case-result { color: #fff; font-size: 58px; }
.case-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}
.case-stats-compact span {
    display: grid;
    gap: 3px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    font-size: 11px;
    line-height: 1.35;
}
.case-stats-compact b { color: #fff; font-size: 18px; white-space: nowrap; }
@media (max-width: 760px) {
    .geography { padding-bottom: 18px; }
    .leadership { padding-top: 18px; }
    .case-stats-compact { grid-template-columns: 1fr; }
}

/* Additional homepage acceptance fixes — v0.9.0 */
.calculator-hero-grid {
    grid-template-columns: minmax(0, 820px);
    justify-content: start;
}
.calculator-hero-grid > div:first-child { max-width: 820px; }
.direction-tender .tender-platform-preview {
    position: relative;
    z-index: 2;
    grid-column: 3;
    grid-row: 1 / 4;
    align-self: center;
    padding: 8px;
    overflow: hidden;
    border: 1px solid #d5e0ec;
    border-radius: 3px 18px 3px 3px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 53, 103, .12);
}
.direction-tender .tender-platform-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px 12px 2px 2px;
}
.direction-tender:hover .tender-platform-preview { border-color: rgba(255,255,255,.8); }
.home-it-facts-grid { grid-template-columns: .86fr 1.14fr; }
.home-it-tech { grid-column: auto; }
.home-tech-groups { grid-template-columns: 1fr; }
.home-tech-groups > div { min-height: 0; padding: 19px 0; }
.home-tech-groups > div + div {
    padding-left: 0;
    border-top: 1px solid #d5dfea;
    border-left: 0;
}
@media (max-width: 1050px) {
    .direction-tender .tender-platform-preview {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}
@media (max-width: 760px) {
    .direction-tender .tender-platform-preview {
        grid-column: 2;
        grid-row: 4;
        margin-top: 14px;
    }
    .direction-tender > a { grid-column: 2; grid-row: 5; }
}

/* Direction-card contrast states — v0.9.1 */
.direction-card.direction-primary .direction-actions > a:not(.direction-calc-link) {
    color: var(--blue) !important;
}
.direction-card.direction-primary .direction-actions .direction-calc-link {
    color: #fff !important;
    background: var(--blue);
}
.direction-card.direction-primary:hover .direction-actions > a:not(.direction-calc-link) {
    color: #fff !important;
}
.direction-card.direction-primary:hover .direction-actions .direction-calc-link {
    color: var(--blue) !important;
    border-color: #fff;
    background: #fff;
}

/* Seamless full-width client marquee — v0.9.2 */
.client-logo-set {
    display: flex;
    width: max(100vw, 1260px);
    flex: 0 0 max(100vw, 1260px);
    align-items: center;
}
.client-logo-set .client-logo {
    width: auto;
    flex: 1 0 0;
    margin-right: 0;
}
@media (max-width: 760px) {
    .client-logo-set {
        width: max(100vw, 920px);
        flex-basis: max(100vw, 920px);
    }
}
