/* ==========================================================================
   ABS Technologies — Brand theme
   Built from the logo: navy #192051, sky #2D91CF, ice #B4D9F3 (sampled from logo-color.png) and the
   chevron mark. Loaded AFTER main.min.css / dark.css / page CSS, so it
   re-skins every page through the shared --abs-* tokens and .abs-* classes.

   Type:  IBM Plex Sans (headings + body, one family)  ·  Caveat (founder signature only)
   ========================================================================== */

:root {
    --b-head: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --b-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --b-hand: "Caveat", cursive;

    /* brand (fixed) */
    --b-navy: #192051;
    --b-navy-deep: #11163b;
    --b-sky: #2d91cf;
    --b-sky-ink: #1f74ad;     /* sky that passes contrast as text on white */
    --b-ice: #b4d9f3;
    --b-on-navy-muted: rgba(255, 255, 255, 0.72);
    --b-navy-line: rgba(255, 255, 255, 0.12);

    /* surfaces (theme aware) */
    --b-bg: #ffffff;
    --b-bg-alt: #f4f8fc;
    --b-tint: #e8f3fb;
    --b-card: #ffffff;
    --b-line: #e2e9f2;
    --b-text: #171a40;
    --b-muted: #586181;
    --b-accent: var(--b-sky-ink);

    --b-radius: 16px;
    --b-radius-lg: 24px;
    --b-shadow: 0 1px 2px rgba(28, 31, 94, 0.06), 0 8px 24px -12px rgba(28, 31, 94, 0.18);

    /* legacy tokens used throughout the existing templates */
    --abs-navy: var(--b-text);
    --abs-blue: var(--b-sky-ink);
    --abs-cyan: var(--b-sky);
    --abs-light: var(--b-bg-alt);
    --abs-grey: var(--b-line);
    --abs-muted: var(--b-muted);
    --abs-white: var(--b-card);
    --abs-bg: var(--b-card);
    --abs-bg-alt: var(--b-bg-alt);
    --abs-grad: linear-gradient(120deg, var(--b-navy) 0%, var(--b-sky) 100%);
    --abs-surface-navy: var(--b-navy);   /* dark bands: fixed brand navy, never flips */
}

[data-bs-theme="dark"] {
    --b-bg: #0b0b0d;          /* neutral black, not navy */
    --b-bg-alt: #111114;
    --b-tint: #1a2229;        /* faint sky tint for icon tiles */
    --b-card: #17171b;
    --b-line: #2a2a30;
    --b-text: #f1f2f4;
    --b-muted: #a3a6ae;
    --b-accent: #5ab0ec;
    --b-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);

    --abs-navy: var(--b-text);
    --abs-blue: var(--b-accent);
    --abs-cyan: var(--b-accent);
    --abs-light: var(--b-bg-alt);
    --abs-grey: var(--b-line);
    --abs-muted: var(--b-muted);
    --abs-white: var(--b-card);
    --abs-bg: var(--b-card);
    --abs-bg-alt: var(--b-bg-alt);
    --abs-surface-navy: #121215;
}

/* ── BASE ──────────────────────────────────────────────────────────────── */
body {
    font-family: var(--b-body) !important;
    background: var(--b-bg) !important;
    color: var(--b-text);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
input, button, select, textarea, .form-control, .form-select,
.ts-wrapper .ts-control, .accordion-button, .dropdown-item, .btn {
    font-family: var(--b-body) !important;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--b-head); letter-spacing: -0.02em; color: inherit; }
::selection { background: var(--b-ice); color: var(--b-navy); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--b-bg); }
::-webkit-scrollbar-thumb { background: var(--b-line); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--b-sky); outline-offset: 3px; }

/* highlighted words in admin-editable titles: brand sky, same typeface */
h1 em, h2 em, h3 em, .abs-heading em {
    font-style: normal !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--b-accent) !important;
}

/* ── TYPE COMPONENTS ───────────────────────────────────────────────────── */
.abs-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--b-head) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--b-accent) !important;
    background: none !important;
    padding: 0 !important;
    margin-bottom: 0.8rem !important;
}
/* the logo's chevron as the eyebrow mark */
.abs-eyebrow::before {
    content: "";
    width: 7px; height: 7px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(-45deg);
    flex: none;
}
.abs-heading {
    font-family: var(--b-head) !important;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem) !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
    color: var(--b-text);
}
.abs-lead, .abs-lead p { font-size: 1.08rem !important; line-height: 1.75 !important; color: var(--b-muted) !important; max-width: 62ch; }
.abs-divider { display: none !important; }
.abs-tag {
    font-family: var(--b-body) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    background: var(--b-tint) !important;
    color: var(--b-text) !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 0.35rem 0.75rem !important;
}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.abs-btn-primary, .abs-btn-ghost, .abs-btn-white, .abs-btn-outline,
.abs-btn-outline-white, .abs-submit-btn, .abs-job-apply-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--b-head) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border-radius: 10px !important;
    padding: 0.85rem 1.4rem !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}
.abs-btn-primary, .abs-submit-btn, .abs-job-apply-btn {
    background: var(--b-navy) !important;
    color: #fff !important;
    border: 1px solid var(--b-navy) !important;
}
.abs-btn-primary:hover, .abs-submit-btn:hover, .abs-job-apply-btn:hover {
    background: var(--b-sky) !important; border-color: var(--b-sky) !important; color: #fff !important;
}
[data-bs-theme="dark"] :is(.abs-btn-primary, .abs-submit-btn, .abs-job-apply-btn) { background: var(--b-sky) !important; border-color: var(--b-sky) !important; }
.abs-btn-ghost, .abs-btn-outline { background: transparent !important; color: var(--b-text) !important; border: 1px solid var(--b-line) !important; }
.abs-btn-ghost:hover, .abs-btn-outline:hover { border-color: var(--b-sky) !important; color: var(--b-accent) !important; }
.abs-btn-white, [data-bs-theme="dark"] .abs-btn-white { background: #fff !important; color: var(--b-navy) !important; border: 1px solid #fff !important; }
.abs-btn-white:hover { background: var(--b-ice) !important; border-color: var(--b-ice) !important; color: var(--b-navy) !important; }
.abs-btn-outline-white { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.35) !important; }
.abs-btn-outline-white:hover { border-color: #fff !important; color: #fff !important; background: rgba(255, 255, 255, 0.06) !important; }

/* ── NAVBAR: plain, full width ─────────────────────────────────────────── */
.abs-nav, .abs-nav.inner-nav, .abs-nav.scrolled {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    padding: 0.85rem 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid var(--b-line);
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: padding 0.25s !important;
}
.abs-nav.scrolled { padding: 0.55rem 0 !important; }
[data-bs-theme="dark"] :is(.abs-nav, .abs-nav.scrolled, .abs-nav.inner-nav) { background: rgba(11, 11, 13, 0.92) !important; }
.abs-nav .nav-link, .abs-nav.inner-nav .nav-link, .abs-nav.scrolled .nav-link {
    font-family: var(--b-head);
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--b-text) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px !important;
    background: transparent;
}
.abs-nav .nav-link:hover, .abs-nav.inner-nav .nav-link:hover, .abs-nav.scrolled .nav-link:hover {
    color: var(--b-accent) !important; background: var(--b-tint) !important;
}
.abs-nav .dropdown-menu, .abs-nav.inner-nav .dropdown-menu {
    border: 1px solid var(--b-line) !important; background: var(--b-card) !important; border-radius: 14px !important;
    padding: 0.4rem !important; box-shadow: var(--b-shadow) !important; min-width: 250px;
}
.abs-nav .dropdown-item, .abs-nav.inner-nav .dropdown-item { border-radius: 8px !important; font-size: 0.9rem !important; padding: 0.55rem 0.8rem !important; color: var(--b-text) !important; }
.abs-nav .dropdown-item:hover, .abs-nav.inner-nav .dropdown-item:hover { background: var(--b-tint) !important; color: var(--b-accent) !important; }
.abs-nav .dropdown-item i { color: var(--b-sky) !important; }
.abs-theme-toggle { width: 38px; height: 38px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 !important; }
.abs-btn-cta, .abs-nav .abs-btn-cta {
    display: inline-flex !important; align-items: center; gap: 0.45rem;
    background: var(--b-navy) !important; color: #fff !important; border-radius: 10px !important;
    padding: 0.6rem 1.1rem !important; font-family: var(--b-head); font-weight: 600 !important; font-size: 0.88rem !important;
    box-shadow: none !important; text-decoration: none !important; transform: none !important;
}
.abs-btn-cta:hover { background: var(--b-sky) !important; }
[data-bs-theme="dark"] .abs-btn-cta { background: var(--b-sky) !important; }
.abs-logo-img { height: 38px !important; max-height: 38px !important; }

/* ── NAVY SURFACES (inner heroes, CTA, footer, stat bands) ─────────────── */
.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero,
.abs-cta-band, .abs-impact, .abs-culture, .abs-footer, .abs-about-stats-strip,
[data-bs-theme="dark"] :is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band, .abs-impact, .abs-culture, .abs-footer, .abs-about-stats-strip) {
    background: var(--b-navy) !important;
    color: #fff;
}
[data-bs-theme="dark"] :is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band, .abs-impact, .abs-culture, .abs-footer, .abs-about-stats-strip) {
    background: #121215 !important;
}
:is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band, .abs-impact, .abs-culture) em { color: var(--b-ice) !important; }
:is(.abs-cta-band, .abs-impact, .abs-culture, .abs-page-hero) .abs-eyebrow { color: var(--b-ice) !important; }
:is(.abs-impact, .abs-culture) .abs-heading { color: #fff !important; }

/* inner page hero: navy with the chevron mark, no grid or glow */
.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero { padding: 150px 0 80px !important; }
.abs-page-hero::before, .abs-blog-hero::before, .abs-contact-hero::before, .abs-careers-hero::before {
    background: url("../images/brand-mark.svg") no-repeat right 6% center / auto 115% !important;
    opacity: 0.1;
}
.abs-page-hero::after, .abs-blog-hero::after, .abs-contact-hero::after, .abs-careers-hero::after { display: none !important; }
.abs-page-hero h1, .abs-blog-hero h1, .abs-contact-hero h1, .abs-careers-hero h1 {
    font-family: var(--b-head) !important;
    font-size: clamp(2.1rem, 4.6vw, 3.3rem) !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.03em !important;
    color: #fff !important;
    max-width: 22ch;
}
.abs-page-hero p, .abs-blog-hero p, .abs-contact-hero p, .abs-careers-hero > .container > p {
    color: var(--b-on-navy-muted) !important; font-size: 1.1rem !important; max-width: 58ch !important; margin-top: 1rem !important;
}
.abs-breadcrumb { font-family: var(--b-head) !important; font-size: 0.82rem !important; color: var(--b-on-navy-muted) !important; margin-bottom: 1.25rem !important; display: inline-flex !important; gap: 0.45rem; align-items: center; }
.abs-breadcrumb a { color: var(--b-on-navy-muted) !important; text-decoration: none; }
.abs-breadcrumb a:hover { color: #fff !important; }
.abs-breadcrumb span { color: var(--b-ice) !important; }
.abs-breadcrumb i { font-size: 0.65rem; }
:is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band) .abs-btn-primary { background: #fff !important; color: var(--b-navy) !important; border-color: #fff !important; }
:is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band) .abs-btn-primary:hover { background: var(--b-ice) !important; border-color: var(--b-ice) !important; }
:is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band, .abs-impact, .abs-culture) :is(.abs-btn-ghost, .abs-btn-outline) {
    color: #fff !important; border-color: rgba(255, 255, 255, 0.35) !important;
}
.abs-hero-chip { border-color: var(--b-navy-line) !important; color: #fff !important; background: rgba(255, 255, 255, 0.06) !important; }

/* ── HOME PAGE (hp-*) — IT-company layout ──────────────────────────────── */
.hp-section { padding: 96px 0; background: var(--b-bg); }
.hp-alt { background: var(--b-bg-alt); }
@media (max-width: 767.98px) { .hp-section { padding: 68px 0; } }
.hp-eyebrow {
    display: inline-block; font-family: var(--b-head); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--b-accent); margin-bottom: 0.85rem;
}
.hp-head { max-width: 720px; margin: 0 auto 3.25rem; }
.hp-head h2, .hp-h2, .hp-head-split h2 {
    font-family: var(--b-head); font-weight: 800; font-size: clamp(1.85rem, 3.4vw, 2.6rem);
    line-height: 1.2; letter-spacing: -0.02em; color: var(--b-text); margin-bottom: 0.9rem;
}
.hp-head p { color: var(--b-muted); font-size: 1.08rem; margin: 0; }
.hp-lead, .hp-lead p { color: var(--b-muted); font-size: 1.05rem; line-height: 1.75; }
.hp-head-split { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.hp-head-split h2 { margin: 0; }

/* buttons */
.hp-btn {
    display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--b-head); font-weight: 600; font-size: 0.95rem;
    padding: 0.9rem 1.6rem; border-radius: 8px; text-decoration: none; border: 1.5px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hp-btn i { transition: transform 0.2s; }
.hp-btn:hover i { transform: translateX(3px); }
.hp-btn-sky { background: var(--b-sky); color: #fff; }
.hp-btn-sky:hover { background: #2583be; color: #fff; box-shadow: 0 10px 24px -10px rgba(45, 145, 207, 0.7); }
.hp-btn-navy { background: var(--b-navy); color: #fff; }
.hp-btn-navy:hover { background: var(--b-sky-ink); color: #fff; }
[data-bs-theme="dark"] .hp-btn-navy { background: var(--b-sky); }
.hp-btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hp-btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }
.hp-more { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--b-head); font-weight: 600; font-size: 0.88rem; color: var(--b-accent); text-decoration: none; }
.hp-more i { transition: transform 0.2s; }

/* hero */
.hp-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(ellipse 55% 70% at 85% 30%, rgba(45, 145, 207, 0.35), transparent 70%),
        linear-gradient(160deg, #192051 0%, #11163b 100%);
    padding: 150px 0 96px;
}
.hp-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
[data-bs-theme="dark"] .hp-hero { background: radial-gradient(ellipse 55% 70% at 85% 30%, rgba(45, 145, 207, 0.25), transparent 70%), linear-gradient(160deg, #11163b 0%, #0b0e2a 100%); }
.hp-badge {
    display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--b-head); font-size: 0.8rem; font-weight: 600;
    color: var(--b-ice); background: rgba(45, 145, 207, 0.14); border: 1px solid rgba(180, 217, 243, 0.25);
    padding: 0.45rem 0.95rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hp-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--b-sky); box-shadow: 0 0 0 3px rgba(45, 145, 207, 0.3); }
.hp-title {
    font-family: var(--b-head) !important; font-weight: 800 !important; color: #fff !important;
    font-size: clamp(2.2rem, 4.4vw, 3.5rem) !important; line-height: 1.14 !important; letter-spacing: -0.025em !important; margin-bottom: 1.3rem;
}
.hp-title em { color: var(--b-ice) !important; }
.hp-sub { color: rgba(255, 255, 255, 0.75); font-size: 1.12rem; line-height: 1.75; max-width: 54ch; margin-bottom: 2.1rem; }
.hp-proof { display: flex; gap: 2.25rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hp-proof strong { display: block; font-family: var(--b-head); font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hp-proof span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }

.hp-visual { position: relative; padding: 0 0 28px 28px; }
.hp-browser, .hp-code { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.hp-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid #dde4ee; }
.hp-browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d3dae5; }
.hp-browser-bar span:nth-child(1) { background: #ff6058; } .hp-browser-bar span:nth-child(2) { background: #ffbd2e; } .hp-browser-bar span:nth-child(3) { background: #28c940; }
.hp-browser-bar em { font-style: normal; font-size: 0.75rem; color: #6b7590; margin-left: 10px; background: #fff; border-radius: 6px; padding: 2px 12px; flex: 1; max-width: 260px; }
.hp-code { background: #0e1333; }
.hp-code .hp-browser-bar { background: #151b45; border-bottom-color: rgba(255,255,255,0.06); }
.hp-code .hp-browser-bar em { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }
.hp-code pre { margin: 0; padding: 1.4rem 1.5rem 1.6rem; font-size: 0.86rem; line-height: 1.75; color: #d6e2f5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; }
.hp-code b { color: #7fc0ec; font-weight: 500; } .hp-code i { color: #b4d9f3; font-style: normal; } .hp-code u { color: #8fd3b5; text-decoration: none; }
.hp-code s { color: #6f7aa6; text-decoration: none; } .hp-code em { color: #f3c178; font-style: normal; }
.hp-float {
    position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 0.8rem;
    background: #fff; color: var(--b-navy); border-radius: 12px; padding: 0.85rem 1.15rem 0.85rem 0.85rem;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45); max-width: 80%;
}
.hp-float-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--b-tint); color: var(--b-sky-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.hp-float small { display: block; font-size: 0.75rem; color: #6b7590; }
.hp-float strong { font-family: var(--b-head); font-size: 0.95rem; }
.hp-photo { margin: 0; padding: 0; }
.hp-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.hp-photo figcaption { margin-top: 0.8rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 991.98px) { .hp-hero { padding: 120px 0 72px; } .hp-visual { padding-left: 0; } .hp-proof { gap: 1.5rem; } }

/* technologies strip */
.hp-tech { background: var(--b-bg); border-bottom: 1px solid var(--b-line); padding: 2.25rem 0; }
.hp-tech-label { text-align: center; font-family: var(--b-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-muted); margin-bottom: 1.25rem; }
.hp-tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem; }
.hp-tech-item { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--b-head); font-weight: 600; font-size: 0.98rem; color: var(--b-muted); transition: color 0.2s; }
.hp-tech-item i { font-size: 1.6rem; color: var(--b-navy); opacity: 0.75; transition: opacity 0.2s, color 0.2s; }
[data-bs-theme="dark"] .hp-tech-item i { color: var(--b-ice); }
.hp-tech-item:hover { color: var(--b-text); }
.hp-tech-item:hover i { opacity: 1; color: var(--b-sky); }

/* service cards */
.hp-svc {
    display: flex; flex-direction: column; height: 100%; padding: 1.9rem 1.6rem; background: var(--b-card);
    border: 1px solid var(--b-line); border-radius: 12px; text-decoration: none; color: var(--b-text);
    position: relative; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.hp-svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--b-sky); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.hp-svc:hover { border-color: transparent; box-shadow: 0 22px 44px -22px rgba(25, 32, 81, 0.35); transform: translateY(-4px); color: var(--b-text); }
.hp-svc:hover::after { transform: scaleX(1); }
.hp-svc-ico { width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.55rem; margin-bottom: 1.4rem; transition: background 0.25s, color 0.25s; }
[data-bs-theme="dark"] .hp-svc-ico { color: var(--b-accent); }
.hp-svc:hover .hp-svc-ico { background: var(--b-navy); color: #fff; }
.hp-svc h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; margin-bottom: 0.6rem; }
.hp-svc p { color: var(--b-muted); font-size: 0.94rem; line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.hp-svc:hover .hp-more i { transform: translateX(4px); }

/* why ABS */
.hp-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; margin-top: 2rem; }
.hp-feat { display: flex; gap: 0.9rem; align-items: flex-start; }
.hp-feat > i { width: 44px; height: 44px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.2rem; }
[data-bs-theme="dark"] .hp-feat > i { color: var(--b-accent); }
.hp-feat h4, .hp-feat h3 { font-family: var(--b-head); font-size: 1rem; font-weight: 700; margin: 0.1rem 0 0.3rem; color: var(--b-text); }
.hp-feat p { font-size: 0.92rem; color: var(--b-muted); margin: 0; line-height: 1.6; }
@media (max-width: 575.98px) { .hp-feats { grid-template-columns: 1fr; } }
.hp-stats-panel { position: relative; overflow: hidden; background: linear-gradient(155deg, #192051 0%, #11163b 100%); border-radius: 16px; padding: 2.5rem; color: #fff; }
.hp-stats-mark { position: absolute; right: -40px; top: -30px; width: 200px; opacity: 0.12; pointer-events: none; }
.hp-stats-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.12); border-radius: 12px; overflow: hidden; }
.hp-stat { background: #182052; padding: 1.75rem 1.5rem; }
.hp-stat strong { display: block; font-family: var(--b-head); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1; color: #fff; }
.hp-stat span { display: block; margin-top: 0.5rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.hp-quote { position: relative; margin: 1.75rem 0 0; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.hp-quote footer { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }
.hp-quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hp-quote footer strong { display: block; color: #fff; font-family: var(--b-head); }

/* industries */
.hp-ind {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem; text-align: center;
    height: 100%; min-height: 150px; padding: 1.5rem 1rem; background: var(--b-card); border: 1px solid var(--b-line);
    border-radius: 12px; text-decoration: none; color: var(--b-text); font-family: var(--b-head); font-weight: 600; font-size: 0.98rem;
    transition: border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.hp-ind i { font-size: 2rem; color: var(--b-sky); transition: transform 0.25s; }
.hp-ind:hover { border-color: var(--b-sky); box-shadow: 0 16px 32px -20px rgba(25, 32, 81, 0.35); color: var(--b-accent); }
.hp-ind:hover i { transform: translateY(-3px); }

/* process */
.hp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }
.hp-steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--b-ice) 0 8px, transparent 8px 16px); }
.hp-step { position: relative; text-align: center; padding: 0 0.5rem; }
.hp-step-ico { position: relative; width: 70px; height: 70px; margin: 0 auto 1.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--b-card); border: 2px solid var(--b-ice); color: var(--b-sky-ink); font-size: 1.6rem; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.hp-step:hover .hp-step-ico { background: var(--b-navy); color: #fff; border-color: var(--b-navy); }
.hp-step-num { position: absolute; top: -6px; left: calc(50% + 18px); z-index: 1; font-family: var(--b-head); font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--b-sky); border-radius: 999px; padding: 0.2rem 0.5rem; }
.hp-step h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.5rem; }
.hp-step p { color: var(--b-muted); font-size: 0.94rem; margin: 0; }
@media (max-width: 767.98px) { .hp-steps::before { display: none; } }

/* case studies (navy band) */
.hp-navy { background: linear-gradient(160deg, #192051 0%, #11163b 100%); }
[data-bs-theme="dark"] .hp-navy { background: #0b0e2a; }
.hp-navy .hp-eyebrow { color: var(--b-ice); }
.hp-navy h2 { color: #fff !important; }
.hp-navy h2 em { color: var(--b-ice) !important; }
.hp-case { height: 100%; background: #fff; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
[data-bs-theme="dark"] .hp-case { background: var(--b-card); }
.hp-case:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.6); }
.hp-case-img { aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--b-tint); }
.hp-case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.hp-case:hover .hp-case-img img { transform: scale(1.04); }
.hp-case-img > i { font-size: 3rem; color: rgba(255, 255, 255, 0.85); }
.hp-case-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.hp-case-tag { font-family: var(--b-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-sky-ink); margin-bottom: 0.5rem; }
[data-bs-theme="dark"] .hp-case-tag { color: var(--b-accent); }
.hp-case h3 { font-family: var(--b-head); font-size: 1.2rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.5rem; }
.hp-case p { color: var(--b-muted); font-size: 0.94rem; margin-bottom: 1rem; flex: 1; }

/* testimonials */
.hp-testi { height: 100%; margin: 0; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; position: relative; }
.hp-testi::before { content: "\201C"; position: absolute; top: 0.6rem; right: 1.4rem; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--b-ice); }
.hp-stars { color: #f5a524; font-size: 0.95rem; display: flex; gap: 3px; margin-bottom: 1.1rem; }
.hp-testi blockquote { color: var(--b-text); font-size: 1rem; line-height: 1.75; margin: 0 0 1.5rem; flex: 1; }
.hp-testi figcaption { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--b-line); font-size: 0.88rem; color: var(--b-muted); }
.hp-testi figcaption strong { display: block; color: var(--b-text); font-family: var(--b-head); font-size: 0.95rem; }
.hp-testi figcaption img, .hp-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.hp-avatar { display: inline-flex; align-items: center; justify-content: center; background: var(--b-navy); color: #fff; font-family: var(--b-head); font-weight: 700; font-size: 0.9rem; }

/* ── SECTIONS ──────────────────────────────────────────────────────────── */
.abs-section { padding: 100px 0 !important; }
@media (max-width: 767.98px) { .abs-section { padding: 72px 0 !important; } }
:is(.abs-about, .abs-faq, .abs-portfolio, .abs-story, .abs-team, .abs-trust),
[data-bs-theme="dark"] :is(.abs-about, .abs-faq, .abs-portfolio, .abs-story, .abs-team, .abs-trust) { background: var(--b-bg) !important; }
.abs-services, .abs-testimonials, [data-bs-theme="dark"] .abs-services, [data-bs-theme="dark"] .abs-testimonials { background: var(--b-bg-alt) !important; }
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem 3rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.s-head .abs-heading { margin: 0; max-width: 22ch; }
.s-head p { margin: 0; max-width: 44ch; color: var(--b-muted); }

/* ── GENERIC CARDS (inner pages) ───────────────────────────────────────── */
.abs-service-card, .abs-why-card, .abs-ind-card, .abs-svc-grid-card, .abs-mvv-card,
.abs-feat-card, .abs-blog-card, .abs-team-card, .abs-ccard, .abs-perk, .abs-impact-card,
.abs-sidebar-widget, .abs-form-card, .abs-job-card, .abs-product-card, .abs-story-card, .abs-testi-card {
    background: var(--b-card) !important;
    border: 1px solid var(--b-line) !important;
    border-radius: var(--b-radius) !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
:is(.abs-service-card, .abs-why-card, .abs-ind-card, .abs-svc-grid-card, .abs-mvv-card, .abs-blog-card, .abs-team-card, .abs-product-card, .abs-job-card):hover {
    border-color: var(--b-ice) !important;
    box-shadow: var(--b-shadow) !important;
    background: var(--b-card) !important;
}
.abs-service-card::before, .abs-service-card::after { display: none !important; }
.abs-svc-icon, .abs-why-icon, .abs-ind-icon, .abs-svc-grid-icon, .abs-mvv-icon, .abs-perk-icon, .abs-ccard-icon, .abs-info-icon {
    background: var(--b-tint) !important; color: var(--b-accent) !important; border-radius: 12px !important; box-shadow: none !important; border: 0 !important;
}
:is(.abs-svc-icon, .abs-why-icon, .abs-ind-icon, .abs-svc-grid-icon, .abs-mvv-icon) i { color: inherit !important; -webkit-text-fill-color: currentColor !important; }

/* ── PROCESS ───────────────────────────────────────────────────────────── */
.abs-process, [data-bs-theme="dark"] .abs-process { background: var(--b-bg) !important; color: var(--b-text); }
.abs-process .abs-heading { color: var(--b-text) !important; }
.abs-process .abs-eyebrow { color: var(--b-accent) !important; }
.abs-process-step { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
.abs-process-step:hover { transform: none !important; }
.abs-step-num {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex !important; align-items: center; justify-content: center;
    font-family: var(--b-head) !important; font-size: 0.95rem !important; font-weight: 700 !important;
    background: var(--b-navy) !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
    margin-bottom: 1.25rem !important; opacity: 1 !important; line-height: 1 !important;
}
[data-bs-theme="dark"] .abs-step-num { background: var(--b-sky) !important; }
.abs-process-step h5 { font-size: 1.2rem !important; font-weight: 700 !important; color: var(--b-text) !important; }
.abs-process-step h5 i { display: none; }
.abs-process-step p { color: var(--b-muted) !important; font-size: 0.98rem !important; }
.abs-step-arrow { color: var(--b-sky) !important; align-items: flex-start !important; padding-top: 0.55rem; font-size: 1.3rem; }

/* ── PORTFOLIO: real screenshots in a simple browser frame ─────────────── */
.abs-port-card, [data-bs-theme="dark"] .abs-port-card { background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }
.abs-port-card:hover { transform: none !important; box-shadow: none !important; }
.abs-port-thumb {
    border-radius: 12px !important; overflow: hidden; height: auto !important; aspect-ratio: 16 / 10;
    border: 1px solid var(--b-line); box-shadow: var(--b-shadow); position: relative;
    background-color: var(--b-bg-alt) !important;
    border-top: 26px solid var(--b-card) !important;
}
.abs-port-thumb::before {
    content: ""; position: absolute; top: -17px; left: 12px; width: 44px; height: 9px; z-index: 3;
    background:
        radial-gradient(circle, #ff6058 3.5px, transparent 4px) 0 50% / 9px 9px no-repeat,
        radial-gradient(circle, #ffbd2e 3.5px, transparent 4px) 15px 50% / 9px 9px no-repeat,
        radial-gradient(circle, #28c940 3.5px, transparent 4px) 30px 50% / 9px 9px no-repeat;
}
.abs-port-thumb img { object-position: top; transition: transform 0.5s ease; }
.abs-port-card:hover .abs-port-thumb img { transform: scale(1.03); }
.abs-port-thumb > i { font-size: 2.5rem; color: var(--b-ice) !important; }
.abs-port-overlay { background: rgba(28, 31, 94, 0.55) !important; }
.abs-port-overlay a { background: #fff !important; color: var(--b-navy) !important; border-radius: 10px !important; font-weight: 600 !important; }
.abs-port-info, [data-bs-theme="dark"] .abs-port-info { padding: 1rem 0.1rem 0 !important; background: transparent !important; }
.abs-port-info h5 { font-size: 1.1rem !important; font-weight: 700 !important; color: var(--b-text) !important; margin: 0.2rem 0 0 !important; }
.abs-port-tag { font-size: 0.82rem !important; font-weight: 700 !important; color: var(--b-accent) !important; background: none !important; padding: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }

/* ── TESTIMONIALS ──────────────────────────────────────────────────────── */
.abs-testi-card { padding: 1.75rem !important; height: 100%; display: flex; flex-direction: column; }
.abs-stars { color: #f5a524 !important; font-size: 1rem !important; letter-spacing: 0.1em; margin-bottom: 1rem !important; }
.abs-testi-card blockquote { font-size: 1.02rem !important; line-height: 1.75 !important; color: var(--b-text) !important; font-style: normal !important; flex: 1; margin-bottom: 1.5rem !important; }
.abs-testi-avatar { background: var(--b-tint) !important; color: var(--b-accent) !important; font-family: var(--b-head); font-weight: 700; }
.abs-testi-meta strong { color: var(--b-text) !important; }
.abs-testi-meta span { color: var(--b-muted) !important; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.abs-accordion .accordion-item { background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--b-line) !important; border-radius: 0 !important; margin: 0 !important; }
.abs-accordion .accordion-item:first-child { border-top: 1px solid var(--b-line) !important; }
.abs-accordion .accordion-button,
[data-bs-theme="dark"] .abs-accordion .accordion-button,
[data-bs-theme="dark"] .abs-accordion .accordion-button:not(.collapsed) {
    background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important;
    color: var(--b-text) !important; font-family: var(--b-head) !important; font-size: 1.05rem !important; font-weight: 600 !important; padding: 1.25rem 0 !important;
}
.abs-accordion .accordion-button:not(.collapsed) { background: transparent !important; color: var(--b-accent) !important; border: 0 !important; }
.abs-accordion .accordion-button::after { filter: none !important; margin-left: auto !important; }
.abs-accordion .accordion-collapse, [data-bs-theme="dark"] .abs-accordion .accordion-collapse { background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.abs-accordion .accordion-body { padding: 0 2.5rem 1.4rem 0 !important; color: var(--b-muted) !important; font-size: 1rem !important; background: transparent !important; }
[data-bs-theme="dark"] .abs-accordion .accordion-button::after { filter: invert(1) !important; }

/* ── CTA BAND ──────────────────────────────────────────────────────────── */
.abs-cta-band { padding: 88px 0 !important; }
.abs-cta-band::before { background: url("../images/brand-mark.svg") no-repeat right -30px center / auto 135% !important; opacity: 0.08; }
.abs-cta-band h2 { font-family: var(--b-head) !important; font-size: clamp(1.9rem, 3.6vw, 2.6rem) !important; font-weight: 700 !important; color: #fff !important; letter-spacing: -0.025em !important; line-height: 1.2 !important; }
.abs-cta-band p { color: var(--b-on-navy-muted) !important; font-size: 1.08rem !important; }
.abs-cta-band .form-control, .abs-cta-band .form-select, .abs-cta-band .ts-wrapper .ts-control {
    background: rgba(255, 255, 255, 0.08) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; color: #fff !important; border-radius: 10px !important;
}
.abs-cta-band .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.q-card { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--b-navy-line); border-radius: var(--b-radius-lg); padding: 2rem; }
.q-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }

/* ── FORMS / MODAL ─────────────────────────────────────────────────────── */
.abs-input, .abs-app-input { background: var(--b-card) !important; border: 1px solid var(--b-line) !important; border-radius: 10px !important; color: var(--b-text) !important; padding: 0.8rem 1rem !important; }
.abs-input:focus, .abs-app-input:focus { border-color: var(--b-sky) !important; box-shadow: 0 0 0 3px rgba(43, 143, 214, 0.15) !important; outline: 0; }
.abs-label { color: var(--b-muted) !important; font-weight: 600 !important; }
.ts-wrapper .ts-control { border: 1px solid var(--b-line) !important; border-radius: 10px !important; background: var(--b-card) !important; color: var(--b-text) !important; }
.ts-dropdown { border: 1px solid var(--b-line) !important; border-radius: 10px !important; background: var(--b-card) !important; color: var(--b-text) !important; }
.ts-dropdown .option:hover, .ts-dropdown .active { background: var(--b-tint) !important; color: var(--b-accent) !important; }
.modal-content { background: var(--b-card) !important; border: 1px solid var(--b-line) !important; border-radius: 20px !important; }
.modal-title { font-family: var(--b-head); color: var(--b-text) !important; }

/* filter chips */
.abs-filter-btn, .abs-flt-btn, .abs-dept-btn, .abs-job-tag {
    border-radius: 8px !important; border: 1px solid var(--b-line) !important; background: var(--b-card) !important; color: var(--b-text) !important; font-weight: 600 !important; box-shadow: none !important;
}
:is(.abs-filter-btn, .abs-flt-btn, .abs-dept-btn).active, :is(.abs-filter-btn, .abs-flt-btn, .abs-dept-btn):hover {
    background: var(--b-navy) !important; border-color: var(--b-navy) !important; color: #fff !important;
}

/* stat bands */
.abs-stat-big strong, .abs-culture-stat strong, .abs-hero-stat strong, .abs-trust-item strong {
    font-family: var(--b-head) !important; font-weight: 800 !important; background: none !important; letter-spacing: -0.03em;
}
.abs-stat-big strong, .abs-culture-stat strong, .abs-hero-stat strong { -webkit-text-fill-color: #fff !important; color: #fff !important; }
.abs-stat-big span, .abs-culture-stat span, .abs-hero-stat span { color: var(--b-on-navy-muted) !important; }
.abs-trust-item strong { -webkit-text-fill-color: var(--b-navy) !important; color: var(--b-navy) !important; }

/* team / story placeholders */
.abs-team-avatar[style*="linear-gradient"] { background: var(--b-tint) !important; color: var(--b-accent) !important; font-family: var(--b-head) !important; font-weight: 800 !important; }
.abs-story-img { border-radius: var(--b-radius-lg) !important; background-color: var(--b-tint) !important; }
.abs-story-img > i, .abs-about-img-main > i { color: var(--b-ice) !important; -webkit-text-fill-color: currentColor !important; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.abs-footer { padding: 72px 0 0 !important; }
.abs-footer-desc { color: var(--b-on-navy-muted) !important; font-size: 0.95rem !important; max-width: 34ch !important; }
.abs-footer h6, .abs-footer .abs-footer-h { font-family: var(--b-head) !important; font-size: 0.88rem !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; }
.abs-footer-links a, .abs-footer-links li { color: var(--b-on-navy-muted) !important; font-size: 0.95rem !important; text-decoration: none; }
.abs-footer-links a:hover { color: #fff !important; }
.abs-footer-links li i { color: var(--b-ice) !important; }
.abs-social a { width: 40px !important; height: 40px !important; border-radius: 10px !important; display: inline-flex !important; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08) !important; border: 0 !important; color: #fff !important; }
.abs-social a:hover { background: var(--b-sky) !important; }
.abs-footer-bottom { border-top: 1px solid var(--b-navy-line) !important; padding: 1.4rem 0 !important; margin-top: 3rem !important; }
.abs-footer-bottom p, .abs-footer-bottom a { font-size: 0.88rem !important; color: var(--b-on-navy-muted) !important; text-decoration: none; }
.abs-footer-bottom a:hover { color: #fff !important; }

/* ── MISC ──────────────────────────────────────────────────────────────── */
.abs-reveal, .abs-reveal-l, .abs-reveal-r { transition-duration: 0.5s !important; }
.pagination .page-link { border-radius: 8px !important; border: 1px solid var(--b-line); color: var(--b-text); background: var(--b-card); margin: 0 3px; }
.pagination .active .page-link { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }

/* ── CARDS ON DARK BANDS: keep the translucent "glass" style ───────────── */
:is(.abs-contact-hero, .abs-why-products, .abs-impact, .abs-culture, .abs-dark-band, .abs-contact-cards) :is(.abs-ccard, .abs-why-card, .abs-impact-card) {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff;
}
:is(.abs-contact-hero, .abs-why-products, .abs-impact, .abs-culture, .abs-dark-band, .abs-contact-cards) :is(.abs-ccard, .abs-why-card, .abs-impact-card):hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(180, 217, 243, 0.4) !important;
    box-shadow: none !important;
}
:is(.abs-contact-hero, .abs-why-products, .abs-impact, .abs-culture, .abs-dark-band, .abs-contact-cards) :is(.abs-ccard-icon, .abs-why-icon) {
    background: var(--b-sky) !important; color: #fff !important;
}
:is(.abs-contact-hero, .abs-why-products, .abs-impact, .abs-culture, .abs-dark-band, .abs-contact-cards) :is(.abs-ccard-icon, .abs-why-icon) i { color: #fff !important; }
.abs-ccard-val { color: var(--b-ice) !important; }

/* icon tiles on light backgrounds: show the icon in brand blue (legacy CSS made it white) */
.abs-info-icon i, .abs-svc-icon i, .abs-ind-icon i, .abs-mvv-icon i, .abs-perk-icon i, .abs-svc-grid-icon i { color: var(--b-accent) !important; }
/* searchable selects: the wrapper inherits the input's class, so only the inner control draws a box */
.ts-wrapper:is(.abs-input, .abs-app-input, .form-select, .form-control) { border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }

/* ── SERVICE DETAIL PAGE (sd-*) ────────────────────────────────────────── */
.sd-hero {
    position: relative; overflow: hidden; color: #fff; padding: 128px 0 84px;
    background:
        radial-gradient(ellipse 50% 70% at 90% 20%, rgba(45, 145, 207, 0.35), transparent 70%),
        linear-gradient(160deg, #192051 0%, #11163b 100%);
}
.sd-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
[data-bs-theme="dark"] .sd-hero { background: radial-gradient(ellipse 50% 70% at 90% 20%, rgba(45,145,207,0.25), transparent 70%), linear-gradient(160deg, #11163b 0%, #0b0e2a 100%); }
.sd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.86rem; margin-bottom: 2rem; color: rgba(255,255,255,0.6); }
.sd-crumbs a { color: rgba(255,255,255,0.7); text-decoration: none; }
.sd-crumbs a:hover { color: #fff; }
.sd-crumbs i { font-size: 0.65rem; opacity: 0.6; }
.sd-crumbs span { color: var(--b-ice); }
.sd-hero .hp-badge i { color: var(--b-sky); }
.sd-title { font-family: var(--b-head); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.025em; color: #fff; margin-bottom: 1.1rem; }
.sd-sub { color: rgba(255,255,255,0.78); font-size: 1.15rem; line-height: 1.7; max-width: 52ch; margin-bottom: 2rem; }

.sd-hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 1.75rem; backdrop-filter: blur(6px); }
.sd-hero-card-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.sd-hero-ico { width: 56px; height: 56px; flex: none; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-sky); font-size: 1.6rem; color: #fff; }
.sd-hero-card-head small { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-ice); font-weight: 700; font-family: var(--b-head); }
.sd-hero-card-head strong { font-family: var(--b-head); font-size: 1.2rem; }
.sd-hero-card .sd-checks li { color: rgba(255,255,255,0.88); }
.sd-hero-card .sd-checks li::before { background: rgba(45,145,207,0.25); color: var(--b-ice); }
.sd-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.sd-chips span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #fff; }
.sd-chips i { color: var(--b-ice); }

/* check lists */
.sd-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.sd-checks li { position: relative; padding-left: 2rem; color: var(--b-text); font-weight: 600; line-height: 1.5; }
.sd-checks li::before {
    content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0.05rem;
    width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.8rem; background: var(--b-tint); color: var(--b-sky-ink);
}
.sd-checks-grid { grid-template-columns: 1fr 1fr; margin-top: 2rem; padding: 1.5rem; background: var(--b-bg-alt); border-radius: 12px; border: 1px solid var(--b-line); }
@media (max-width: 575.98px) { .sd-checks-grid { grid-template-columns: 1fr; } }

/* sticky in-page section menu */
.sd-subnav { position: sticky; top: 62px; z-index: 900; background: var(--b-card); border-bottom: 1px solid var(--b-line); box-shadow: 0 6px 20px -16px rgba(25, 32, 81, 0.4); }
.sd-subnav-inner { display: flex; align-items: center; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.sd-subnav-inner::-webkit-scrollbar { display: none; }
.sd-subnav-inner a { flex: none; font-family: var(--b-head); font-size: 0.9rem; font-weight: 600; color: var(--b-muted); text-decoration: none; padding: 1.05rem 1rem; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.sd-subnav-inner a:hover, .sd-subnav-inner a.active { color: var(--b-accent); border-bottom-color: var(--b-sky); }
.sd-subnav-inner a.sd-subnav-cta { margin-left: auto; color: #fff; background: var(--b-navy); border: 0; border-radius: 8px; padding: 0.55rem 1rem; }
.sd-subnav-inner a.sd-subnav-cta:hover { background: var(--b-sky); color: #fff; }
[data-bs-theme="dark"] .sd-subnav-inner a.sd-subnav-cta { background: var(--b-sky); }
:is(#overview, #offerings, #process, #technologies, #work, #faq) { scroll-margin-top: 130px; }

/* overview */
.sd-prose { color: var(--b-muted); font-size: 1.06rem; line-height: 1.8; }
.sd-prose p { margin-bottom: 1rem; }
.sd-prose :is(h2, h3, h4) { color: var(--b-text); margin: 1.5rem 0 0.75rem; }
.sd-prose a { color: var(--b-accent); }
.sd-side { position: sticky; top: 140px; display: grid; gap: 1.25rem; }
.sd-quote-card { background: linear-gradient(155deg, #192051 0%, #11163b 100%); color: #fff; border-radius: 16px; padding: 1.75rem; }
.sd-quote-card h3 { font-family: var(--b-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.sd-quote-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1.25rem; }
.sd-contact { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 0; border-top: 1px solid rgba(255,255,255,0.12); display: grid; gap: 0.75rem; }
.sd-contact a { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.93rem; word-break: break-word; }
.sd-contact a:hover { color: #fff; }
.sd-contact i { width: 34px; height: 34px; flex: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: var(--b-ice); }
.sd-side-list { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; padding: 1.25rem; }
.sd-side-list h4 { font-family: var(--b-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-muted); margin: 0.25rem 0.5rem 0.75rem; }
.sd-side-list a { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.6rem; border-radius: 8px; color: var(--b-text); text-decoration: none; font-weight: 600; font-size: 0.93rem; }
.sd-side-list a > i:first-child { color: var(--b-sky); font-size: 1.05rem; }
.sd-side-list a > i:last-child { font-size: 0.75rem; color: var(--b-muted); }
.sd-side-list a:hover { background: var(--b-tint); color: var(--b-accent); }
@media (max-width: 991.98px) { .sd-side { position: static; } }

/* offerings */
.sd-offer { height: 100%; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; padding: 1.9rem 1.6rem; transition: border-color 0.25s, box-shadow 0.25s; }
.sd-offer:hover { border-color: var(--b-ice); box-shadow: 0 22px 44px -26px rgba(25, 32, 81, 0.35); }
.sd-offer:hover .hp-svc-ico { background: var(--b-navy); color: #fff; }
.sd-offer h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.55rem; }
.sd-offer p { color: var(--b-muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* process numbers (reuses .hp-steps timeline) */
.sd-step-num { font-family: var(--b-head); font-weight: 800; font-size: 1.15rem; }

/* tech grid */
.sd-tech { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; max-width: 980px; margin: 0 auto; }
.sd-tech-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem 1rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; font-family: var(--b-head); font-weight: 600; color: var(--b-text); text-align: center; transition: border-color 0.2s, transform 0.2s; }
.sd-tech-item i { font-size: 2.4rem; color: var(--b-navy); }
[data-bs-theme="dark"] .sd-tech-item i { color: var(--b-ice); }
.sd-tech-item:hover { border-color: var(--b-sky); transform: translateY(-3px); }
.sd-tech-item:hover i { color: var(--b-sky); }

/* other services */
.sd-other { display: flex; align-items: center; gap: 0.85rem; height: 100%; padding: 1rem 1.1rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; color: var(--b-text); text-decoration: none; font-family: var(--b-head); font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s; }
.sd-other-ico { width: 42px; height: 42px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.15rem; }
[data-bs-theme="dark"] .sd-other-ico { color: var(--b-accent); }
.sd-other > .bi-arrow-right { color: var(--b-muted); transition: transform 0.2s, color 0.2s; }
.sd-other:hover { border-color: var(--b-sky); color: var(--b-accent); }
.sd-other:hover > .bi-arrow-right { transform: translateX(3px); color: var(--b-accent); }

/* closing CTA */
.sd-cta { padding: 0 0 96px; background: var(--b-bg-alt); }
.sd-cta-box { position: relative; overflow: hidden; border-radius: 20px; padding: 3rem; color: #fff; background: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(45,145,207,0.45), transparent 70%), linear-gradient(150deg, #192051, #11163b); }
.sd-cta-mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 140%; opacity: 0.08; pointer-events: none; }
.sd-cta-box h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.6rem; color: #fff; }
.sd-cta-box p { color: rgba(255,255,255,0.75); margin: 0; font-size: 1.05rem; }
@media (max-width: 767.98px) { .sd-cta-box { padding: 2rem 1.5rem; } .sd-hero { padding: 112px 0 64px; } }
/* "overflow-x: hidden" on html/body (legacy CSS) disables position: sticky; "clip" still stops
   sideways scrolling without creating a scroll container */
html, body { overflow-x: clip !important; }

/* highlighted word in dark hero headings */
.sd-title em { color: var(--b-ice) !important; }

/* ── FOOTER: black ─────────────────────────────────────────────────────── */
.abs-footer, [data-bs-theme="dark"] .abs-footer { background: #0a0a0c !important; box-shadow: none; }
.abs-footer-bottom { border-top-color: rgba(255, 255, 255, 0.1) !important; }
.abs-social a { background: rgba(255, 255, 255, 0.07) !important; }

/* ── PORTFOLIO PAGE (pf-*) ─────────────────────────────────────────────── */
.pf-hero { padding-bottom: 72px; }
.pf-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.12); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.pf-hero-stats > div { background: rgba(17, 22, 59, 0.85); padding: 1.25rem 1.4rem; }
.pf-hero-stats strong { display: block; font-family: var(--b-head); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.1; }
.pf-hero-stats span { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

/* sticky filter bar */
.pf-filter { position: sticky; top: 62px; z-index: 900; background: var(--b-card); border-bottom: 1px solid var(--b-line); box-shadow: 0 6px 20px -16px rgba(25,32,81,0.4); }
.pf-filter-inner { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; }
.pf-tabs { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; flex: 1; }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tabs button { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text); font-family: var(--b-head); font-weight: 600; font-size: 0.88rem; padding: 0.5rem 0.95rem; border-radius: 8px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.pf-tabs button span { font-size: 0.75rem; font-weight: 700; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--b-tint); color: var(--b-sky-ink); }
.pf-tabs button:hover { border-color: var(--b-sky); }
.pf-tabs button.active { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
.pf-tabs button.active span { background: rgba(255,255,255,0.18); color: #fff; }
[data-bs-theme="dark"] .pf-tabs button.active { background: var(--b-sky); border-color: var(--b-sky); }
.pf-search { position: relative; flex: 0 0 300px; margin: 0; }
.pf-search i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--b-muted); }
.pf-search input { width: 100%; border: 1px solid var(--b-line); background: var(--b-bg-alt); color: var(--b-text); border-radius: 8px; padding: 0.55rem 0.9rem 0.55rem 2.4rem; font-size: 0.92rem; outline: 0; }
.pf-search input:focus { border-color: var(--b-sky); box-shadow: 0 0 0 3px rgba(45,145,207,0.15); background: var(--b-card); }
@media (max-width: 767.98px) { .pf-filter-inner { flex-direction: column; align-items: stretch; gap: 0.6rem; } .pf-search { flex: none; } .pf-tabs { width: 100%; } }

/* featured case study */
.pf-featured { padding: 64px 0 0; background: var(--b-bg-alt); }
.pf-feat-card { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(25,32,81,0.45); }
.pf-feat-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; padding: 3rem 2.5rem; background: linear-gradient(150deg, #1F74AD, #192051); }
.pf-feat-icon { font-size: 6rem; color: rgba(255,255,255,0.85); }
.pf-feat-badge { position: absolute; top: 1.25rem; left: 1.25rem; display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: var(--b-navy); font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 999px; }
.pf-feat-badge i { color: #f5a524; }
.pf-browser { width: 100%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6); }
.pf-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pf-feat-body { padding: 2.75rem; display: flex; flex-direction: column; }
.pf-feat-body h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--b-text); margin: 0.3rem 0 0.8rem; }
.pf-feat-body > p { color: var(--b-muted); font-size: 1.02rem; line-height: 1.7; }
.pf-results { list-style: none; padding: 0; margin: 0.5rem 0 1.25rem; display: grid; gap: 0.55rem; }
.pf-results li { position: relative; padding-left: 1.85rem; color: var(--b-text); font-weight: 600; font-size: 0.95rem; }
.pf-results li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; background: var(--b-tint); color: var(--b-sky-ink); }
.pf-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--b-muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.pf-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.pf-meta i { color: var(--b-sky); }
.pf-tech { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf-tech span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.84rem; font-weight: 600; color: var(--b-text); background: var(--b-bg-alt); border: 1px solid var(--b-line); border-radius: 8px; padding: 0.35rem 0.7rem; }
.pf-tech i { font-size: 1rem; color: var(--b-navy); }
[data-bs-theme="dark"] .pf-tech i { color: var(--b-ice); }
.pf-btn-outline { color: var(--b-text); border-color: var(--b-line); background: transparent; }
.pf-btn-outline:hover { border-color: var(--b-sky); color: var(--b-accent); }
@media (max-width: 991.98px) { .pf-feat-card { grid-template-columns: 1fr; } .pf-feat-visual { min-height: 260px; } .pf-feat-body { padding: 1.75rem; } }

/* grid */
.pf-grid-section { padding: 64px 0 96px; background: var(--b-bg-alt); }
.pf-grid-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pf-grid-head h2 { font-family: var(--b-head); font-weight: 800; font-size: 1.6rem; color: var(--b-text); margin: 0; }
.pf-grid-head span { font-size: 0.9rem; font-weight: 600; color: var(--b-muted); }
.pf-card { height: 100%; display: flex; flex-direction: column; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.pf-card:hover, .pf-card:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -28px rgba(25,32,81,0.45); }
.pf-card-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #1F74AD, #192051); }
.pf-card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.pf-card-visual > i { font-size: 3.2rem; color: rgba(255,255,255,0.85); transition: transform 0.35s; }
.pf-card:hover .pf-card-visual img { transform: scale(1.04); }
.pf-card:hover .pf-card-visual > i { transform: scale(1.08); }
.pf-card-view { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; background: #fff; color: var(--b-navy); font-family: var(--b-head); font-weight: 700; font-size: 0.82rem; padding: 0.45rem 0.85rem; border-radius: 8px; opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.25s; }
.pf-card:hover .pf-card-view, .pf-card:focus-visible .pf-card-view { opacity: 1; transform: none; }
.pf-card-body { padding: 1.35rem 1.4rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pf-card-top { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.35rem; }
.pf-card-top .hp-case-tag { margin: 0; font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-year { font-size: 0.8rem; font-weight: 600; color: var(--b-muted); }
.pf-card h3 { font-family: var(--b-head); font-size: 1.15rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.4rem; }
.pf-card p { color: var(--b-muted); font-size: 0.93rem; margin-bottom: 1rem; flex: 1; }
.pf-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid var(--b-line); }
.pf-card-tech { font-size: 0.82rem; font-weight: 600; color: var(--b-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 0.75rem; }
.pf-card-tech em { font-style: normal; margin-left: 0.4rem; padding: 0.1rem 0.4rem; border-radius: 6px; background: var(--b-tint); color: var(--b-sky-ink); font-size: 0.75rem; }
.pf-live { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--b-accent); background: var(--b-tint); text-decoration: none; transition: background 0.2s, color 0.2s; }
.pf-live:hover { background: var(--b-navy); color: #fff; }
.pf-empty { text-align: center; padding: 4rem 1rem; color: var(--b-muted); }
.pf-empty i { font-size: 2.5rem; color: var(--b-ice); }
.pf-empty h3 { font-family: var(--b-head); font-size: 1.2rem; color: var(--b-text); margin: 1rem 0 0.3rem; }

/* case study dialog */
.pf-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 1rem; background: rgba(10, 12, 30, 0.7); backdrop-filter: blur(4px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.pf-modal.open { opacity: 1; visibility: visible; }
.pf-modal-panel { position: relative; width: 100%; max-width: 980px; background: var(--b-card); border-radius: 18px; overflow: hidden; transform: translateY(16px); transition: transform 0.3s; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6); }
.pf-modal.open .pf-modal-panel { transform: none; }
.pf-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.92); color: var(--b-navy); font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pf-modal-close:hover { background: #fff; }
.pf-modal-visual { height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(150deg, #1F74AD, #192051); }
.pf-modal-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pf-modal-visual > i { font-size: 5rem; color: rgba(255,255,255,0.85); }
.pf-modal-body { padding: 2.25rem 2.5rem 2.5rem; }
.pf-modal-body h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--b-text); margin: 0.3rem 0 0.75rem; }
.pf-modal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--b-line); }
.pf-modal-grid h3 { font-family: var(--b-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-accent); margin: 0 0 0.6rem; }
.pf-modal-grid p { color: var(--b-muted); line-height: 1.75; margin-bottom: 1.4rem; }
.pf-modal-box { background: var(--b-bg-alt); border: 1px solid var(--b-line); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.pf-modal-box .pf-results { margin-bottom: 0; }
.pf-modal-foot { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--b-line); }
@media (max-width: 767.98px) { .pf-modal-grid { grid-template-columns: 1fr; gap: 0.5rem; } .pf-modal-body { padding: 1.5rem; } .pf-modal-visual { height: 200px; } }

/* ── BLOG LISTING (bl-*) ───────────────────────────────────────────────── */
.bl-hero-search { position: relative; display: block; max-width: 520px; margin: 0; }
.bl-hero-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.6); }
.bl-hero-search input { width: 100%; padding: 0.95rem 1rem 0.95rem 2.9rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #fff; font-size: 1rem; outline: 0; }
.bl-hero-search input::placeholder { color: rgba(255,255,255,0.55); }
.bl-hero-search input:focus { border-color: var(--b-sky); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(45,145,207,0.25); }

.bl-featured { padding: 56px 0 8px; background: var(--b-bg-alt); }
.bl-feat { display: flex; flex-direction: column; height: 100%; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--b-text); transition: box-shadow 0.25s, transform 0.25s; }
.bl-feat:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -30px rgba(25,32,81,0.45); color: var(--b-text); }
.bl-feat-img { position: relative; aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(150deg, #1F74AD, #192051); }
.bl-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.bl-feat:hover .bl-feat-img img { transform: scale(1.03); }
.bl-feat-img > i { font-size: 4.5rem; color: rgba(255,255,255,0.85); }
.bl-feat-badge { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; background: #fff; color: var(--b-navy); font-family: var(--b-head); font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 999px; }
.bl-feat-badge i { color: #f5a524; }
.bl-feat-body { padding: 1.75rem 2rem 2rem; }
.bl-feat-body h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.25; margin: 0.35rem 0 0.75rem; }
.bl-feat-body p { color: var(--b-muted); margin-bottom: 1.25rem; }
.bl-byline { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.86rem; color: var(--b-muted); }
.bl-byline strong { display: block; color: var(--b-text); font-family: var(--b-head); font-size: 0.88rem; }
.bl-card-foot .bl-byline strong { display: inline; }
.bl-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--b-navy); color: #fff; font-family: var(--b-head); font-size: 0.75rem; font-weight: 700; }
[data-bs-theme="dark"] .bl-av { background: var(--b-sky); }

.bl-recent { height: 100%; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; padding: 1.5rem; }
.bl-recent h3, .bl-widget h3 { font-family: var(--b-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-muted); margin: 0 0 1rem; }
.bl-recent-item { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--b-line); text-decoration: none; color: var(--b-text); }
.bl-recent-item:first-of-type { border-top: 0; padding-top: 0.25rem; }
.bl-thumb { width: 92px; height: 72px; flex: none; border-radius: 10px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #2D91CF, #192051); color: #fff; font-size: 1.5rem; }
.bl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bl-recent-item small { display: block; font-family: var(--b-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-accent); }
.bl-recent-item strong { display: block; font-family: var(--b-head); font-size: 0.98rem; line-height: 1.35; margin: 0.15rem 0 0.25rem; transition: color 0.2s; }
.bl-recent-item em { font-style: normal; font-size: 0.8rem; color: var(--b-muted); }
.bl-recent-item:hover strong { color: var(--b-accent); }

.bl-main { padding: 48px 0 96px; background: var(--b-bg-alt); }
.bl-card { height: 100%; display: flex; flex-direction: column; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.bl-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 46px -28px rgba(25,32,81,0.45); }
.bl-card-img { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(150deg, #1F74AD, #192051); }
.bl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.bl-card:hover .bl-card-img img { transform: scale(1.04); }
.bl-card-img > i { font-size: 2.8rem; color: rgba(255,255,255,0.85); }
.bl-card-cat { position: absolute; left: 0.85rem; top: 0.85rem; background: rgba(255,255,255,0.95); color: var(--b-navy); font-family: var(--b-head); font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 6px; }
.bl-card-body { padding: 1.25rem 1.35rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.bl-card-meta { display: flex; gap: 0.5rem; font-size: 0.8rem; color: var(--b-muted); margin-bottom: 0.4rem; }
.bl-card-meta span + span::before { content: "·"; margin-right: 0.5rem; }
.bl-card h3 { font-family: var(--b-head); font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.5rem; }
.bl-card h3 a { color: var(--b-text); text-decoration: none; }
.bl-card h3 a:hover { color: var(--b-accent); }
.bl-card p { color: var(--b-muted); font-size: 0.93rem; flex: 1; margin-bottom: 1rem; }
.bl-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 0.9rem; border-top: 1px solid var(--b-line); }
.bl-card-foot .bl-av { width: 28px; height: 28px; font-size: 0.68rem; }

.bl-pages { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; }
.bl-pages button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text); font-family: var(--b-head); font-weight: 600; cursor: pointer; }
.bl-pages button:hover:not(:disabled) { border-color: var(--b-sky); color: var(--b-accent); }
.bl-pages button.active { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
.bl-pages button:disabled { opacity: 0.4; cursor: default; }

.bl-side { position: sticky; top: 140px; display: grid; gap: 1.25rem; }
.bl-widget { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; padding: 1.5rem; }
.bl-news { background: linear-gradient(155deg, #192051, #11163b); border: 0; color: #fff; }
.bl-news h3 { color: #fff; font-size: 1.15rem; letter-spacing: -0.01em; text-transform: none; margin: 0.9rem 0 0.4rem; }
.bl-news p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.bl-news-ico { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: var(--b-ice); font-size: 1.25rem; }
.bl-news-form { display: grid; gap: 0.6rem; }
.bl-news-form input { width: 100%; padding: 0.75rem 0.9rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #fff; outline: 0; }
.bl-news-form input::placeholder { color: rgba(255,255,255,0.5); }
.bl-news-form input:focus { border-color: var(--b-sky); }
.bl-popular { list-style: none; counter-reset: pop; padding: 0; margin: 0; display: grid; gap: 1rem; }
.bl-popular li { counter-increment: pop; position: relative; padding-left: 2.6rem; }
.bl-popular li::before { content: counter(pop, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--b-head); font-weight: 800; font-size: 1.15rem; color: var(--b-ice); }
.bl-popular a { display: block; font-family: var(--b-head); font-weight: 600; font-size: 0.93rem; line-height: 1.4; color: var(--b-text); text-decoration: none; }
.bl-popular a:hover { color: var(--b-accent); }
.bl-popular span { font-size: 0.78rem; color: var(--b-muted); }
.bl-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.bl-tags button { border: 1px solid var(--b-line); background: var(--b-bg-alt); color: var(--b-text); border-radius: 6px; padding: 0.3rem 0.7rem; font-size: 0.83rem; font-weight: 600; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.bl-tags button:hover { border-color: var(--b-sky); color: var(--b-accent); }
.bl-help p { color: var(--b-muted); font-size: 0.92rem; }
.bl-help h3 { text-transform: none; letter-spacing: -0.01em; font-size: 1.1rem; color: var(--b-text); margin-bottom: 0.4rem; }
@media (max-width: 991.98px) { .bl-side { position: static; } }

/* ── BLOG ARTICLE (bd-*) ───────────────────────────────────────────────── */
.bd-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.bd-progress span { display: block; height: 100%; width: 0; background: var(--b-sky); transition: width 0.1s linear; }
.bd-hero { padding-bottom: 72px; }
.bd-hero-inner { max-width: 860px; }
.bd-hero .hp-badge i { color: var(--b-sky); }
.bd-title { font-family: var(--b-head); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin-bottom: 1.1rem; }
.bd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.bd-meta > span { display: inline-flex; align-items: center; gap: 0.45rem; }
.bd-meta i { color: var(--b-ice); }
.bd-author { gap: 0.7rem !important; }
.bd-author img, .bd-author .bl-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.bd-author .bl-av { background: var(--b-sky); font-size: 0.85rem; }
.bd-author strong { display: block; color: #fff; font-family: var(--b-head); font-size: 0.95rem; }

.bd-main { padding: 56px 0 88px; background: var(--b-bg-alt); }
.bd-article { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; overflow: hidden; }
.bd-cover { margin: 0; }
.bd-cover img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.bd-prose { padding: 2.75rem 3rem 1rem; color: var(--b-text); font-size: 1.08rem; line-height: 1.85; }
.bd-prose > *:first-child { margin-top: 0; }
.bd-prose p { margin-bottom: 1.4rem; color: var(--b-text); opacity: 0.92; }
.bd-prose h2 { font-family: var(--b-head); font-weight: 800; font-size: 1.65rem; line-height: 1.3; color: var(--b-text); margin: 2.5rem 0 1rem; scroll-margin-top: 100px; }
.bd-prose h3 { font-family: var(--b-head); font-weight: 700; font-size: 1.3rem; color: var(--b-text); margin: 2rem 0 0.8rem; scroll-margin-top: 100px; }
.bd-prose h4 { font-family: var(--b-head); font-weight: 700; font-size: 1.1rem; margin: 1.5rem 0 0.6rem; }
.bd-prose a { color: var(--b-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(45,145,207,0.4); }
.bd-prose a:hover { text-decoration-color: currentColor; }
.bd-prose ul, .bd-prose ol { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.bd-prose li { margin-bottom: 0.5rem; }
.bd-prose li::marker { color: var(--b-sky); font-weight: 700; }
.bd-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem 0; }
.bd-prose blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--b-sky); background: var(--b-tint); border-radius: 0 12px 12px 0; font-size: 1.12rem; color: var(--b-text); }
.bd-prose blockquote p:last-child { margin-bottom: 0; }
.bd-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: var(--b-tint); color: var(--b-navy); padding: 0.15em 0.4em; border-radius: 5px; }
[data-bs-theme="dark"] .bd-prose code { color: var(--b-ice); }
.bd-prose pre { background: #0e1333; color: #d6e2f5; border-radius: 12px; padding: 1.25rem 1.4rem; overflow-x: auto; margin: 1.5rem 0; font-size: 0.9rem; line-height: 1.7; }
.bd-prose pre code { background: none; color: inherit; padding: 0; }
.bd-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; display: block; overflow-x: auto; }
.bd-prose th, .bd-prose td { border: 1px solid var(--b-line); padding: 0.65rem 0.85rem; text-align: left; }
.bd-prose th { background: var(--b-bg-alt); font-family: var(--b-head); }
.bd-prose hr { border-color: var(--b-line); margin: 2.5rem 0; }

.bd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding: 1.5rem 3rem; border-top: 1px solid var(--b-line); }
.bd-tags > span, .bd-share-row > span { font-family: var(--b-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-muted); margin-right: 0.5rem; }
.bd-tags a { font-size: 0.86rem; font-weight: 600; color: var(--b-text); background: var(--b-bg-alt); border: 1px solid var(--b-line); border-radius: 6px; padding: 0.3rem 0.7rem; text-decoration: none; }
.bd-tags a:hover { border-color: var(--b-sky); color: var(--b-accent); }
.bd-share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 3rem 1.75rem; border-top: 1px solid var(--b-line); }
.bd-share { display: flex; gap: 0.5rem; }
.bd-share a, .bd-share button { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text); font-size: 1.05rem; cursor: pointer; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.bd-share a:hover, .bd-share button:hover { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }

.bd-authorbox { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.75rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; }
.bd-authorbox img, .bd-authorbox .bl-av { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; font-size: 1.1rem; }
.bd-authorbox small { font-family: var(--b-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-accent); }
.bd-authorbox h3 { font-family: var(--b-head); font-size: 1.2rem; font-weight: 700; color: var(--b-text); margin: 0.15rem 0 0.25rem; }
.bd-authorbox .bd-role { font-size: 0.9rem; font-weight: 600; color: var(--b-muted); margin-bottom: 0.5rem; }
.bd-authorbox p { color: var(--b-muted); font-size: 0.95rem; margin: 0; }

.bd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.bd-pn a { display: block; padding: 1.25rem 1.4rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; text-decoration: none; transition: border-color 0.2s; }
.bd-pn a:hover { border-color: var(--b-sky); }
.bd-pn small { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; color: var(--b-accent); text-transform: uppercase; letter-spacing: 0.06em; }
.bd-pn strong { display: block; margin-top: 0.35rem; font-family: var(--b-head); font-size: 1rem; line-height: 1.4; color: var(--b-text); }
.bd-pn-next { text-align: right; grid-column: 2; }

.bd-side { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.bd-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; border-left: 2px solid var(--b-line); }
.bd-toc li a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--b-muted); font-size: 0.92rem; line-height: 1.4; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.bd-toc li.sub a { padding-left: 1.9rem; font-size: 0.86rem; }
.bd-toc li a:hover { color: var(--b-text); }
.bd-toc li a.active { color: var(--b-accent); border-left-color: var(--b-sky); font-weight: 600; }
.bd-back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--b-head); font-weight: 600; color: var(--b-accent); text-decoration: none; padding: 0.25rem 0.5rem; }
.bd-back:hover { color: var(--b-text); }

@media (max-width: 991.98px) { .bd-side { position: static; } }
@media (max-width: 767.98px) {
    .bd-prose { padding: 1.75rem 1.4rem 0.5rem; font-size: 1.02rem; }
    .bd-tags, .bd-share-row { padding-left: 1.4rem; padding-right: 1.4rem; }
    .bd-pn { grid-template-columns: 1fr; }
    .bd-pn-next { grid-column: auto; }
    .bd-authorbox { flex-direction: column; }
}

/* ── ABOUT PAGE (ab-*) ─────────────────────────────────────────────────── */
.ab-facts { margin: 0; display: grid; gap: 0.9rem; }
.ab-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.ab-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ab-facts dt { font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-ice); padding-top: 0.15rem; }
.ab-facts dd { margin: 0; color: #fff; font-weight: 600; }

.ab-since { position: relative; font-family: var(--b-head); font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.ab-since strong { display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.03em; margin-top: 0.3rem; }
.ab-story-img { position: relative; margin: 0; }
.ab-story-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; display: block; }
.ab-story-img figcaption { position: absolute; left: 1.25rem; bottom: 1.25rem; background: var(--b-card); border-radius: 12px; padding: 0.85rem 1.1rem; font-size: 0.88rem; color: var(--b-muted); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.45); }
.ab-story-img figcaption strong { display: block; font-family: var(--b-head); color: var(--b-text); font-size: 1rem; }
.ab-stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 3.5rem; background: var(--b-line); border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; }
.ab-stat-row > div { background: var(--b-card); padding: 1.5rem; text-align: center; }
.ab-stat-row strong { display: block; font-family: var(--b-head); font-size: 2rem; font-weight: 800; color: var(--b-navy); }
[data-bs-theme="dark"] .ab-stat-row strong { color: var(--b-text); }
.ab-stat-row span { font-size: 0.9rem; color: var(--b-muted); }
@media (max-width: 767.98px) { .ab-stat-row { grid-template-columns: 1fr 1fr; } }

.ab-mvv { position: relative; height: 100%; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; padding: 2rem 1.75rem; overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.ab-mvv::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--b-navy), var(--b-sky)); }
.ab-mvv:hover { border-color: var(--b-ice); box-shadow: 0 22px 44px -26px rgba(25,32,81,0.35); }
.ab-mvv-num { position: absolute; right: 1.5rem; top: 1.25rem; font-family: var(--b-head); font-size: 2.6rem; font-weight: 800; color: var(--b-tint); line-height: 1; }
[data-bs-theme="dark"] .ab-mvv-num { color: var(--b-line); }
.ab-mvv h3 { font-family: var(--b-head); font-size: 1.25rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.6rem; }
.ab-mvv-text, .ab-mvv-text p { color: var(--b-muted); font-size: 0.97rem; line-height: 1.7; margin: 0; }

.ab-member { height: 100%; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.ab-member:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -28px rgba(25,32,81,0.45); }
.ab-member-photo { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(150deg, #2D91CF, #192051); }
.ab-member-photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-member-photo span { font-family: var(--b-head); font-size: 3.4rem; font-weight: 800; color: rgba(255,255,255,0.92); letter-spacing: 0.02em; }
.ab-member-body { padding: 1.35rem 1.4rem 1.4rem; }
.ab-member h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; color: var(--b-text); margin: 0; }
.ab-member-role { display: block; font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-accent); margin: 0.3rem 0 0.7rem; }
.ab-member p { color: var(--b-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.ab-member-social { display: flex; gap: 0.45rem; }
.ab-member-social a { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); text-decoration: none; transition: background 0.2s, color 0.2s; }
.ab-member-social a:hover { background: var(--b-navy); color: #fff; }
[data-bs-theme="dark"] .ab-member-social a { color: var(--b-accent); }

.ab-journey-head { position: sticky; top: 110px; }
.ab-timeline { list-style: none; margin: 0; padding: 0 0 0 0.25rem; position: relative; }
.ab-timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--b-sky), var(--b-ice)); }
.ab-timeline li { position: relative; display: flex; gap: 1.5rem; padding-bottom: 1.75rem; }
.ab-timeline li:last-child { padding-bottom: 0; }
.ab-tl-dot { position: relative; z-index: 1; width: 46px; height: 46px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--b-navy); color: #fff; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--b-bg); }
[data-bs-theme="dark"] .ab-tl-dot { background: var(--b-sky); }
.ab-tl-card { flex: 1; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; padding: 1.25rem 1.5rem; transition: border-color 0.2s; }
.ab-tl-card:hover { border-color: var(--b-ice); }
.ab-tl-year { display: inline-block; font-family: var(--b-head); font-size: 0.8rem; font-weight: 800; color: var(--b-sky-ink); background: var(--b-tint); border-radius: 6px; padding: 0.2rem 0.6rem; margin-bottom: 0.5rem; }
[data-bs-theme="dark"] .ab-tl-year { color: var(--b-accent); }
.ab-tl-card h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; color: var(--b-text); margin-bottom: 0.35rem; }
.ab-tl-card p { color: var(--b-muted); margin: 0; font-size: 0.96rem; }
@media (max-width: 991.98px) { .ab-journey-head { position: static; } }


/* ── DARK MODE: neutral black surfaces (brand sky stays as the accent) ─── */
[data-bs-theme="dark"] {
    --d-surface: #121215;
    --d-surface-2: #18181c;
    --d-hero: radial-gradient(ellipse 55% 70% at 85% 25%, rgba(45, 145, 207, 0.16), transparent 70%), linear-gradient(160deg, #141417 0%, #0b0b0d 100%);
}
/* heroes and full-width dark bands */
[data-bs-theme="dark"] :is(.hp-hero, .sd-hero) { background: var(--d-hero) !important; }
[data-bs-theme="dark"] :is(.hp-navy, .abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero, .abs-cta-band, .abs-impact, .abs-culture, .abs-about-stats-strip, .abs-contact-cards, .abs-why-products, .abs-dark-band, .abs-process-strip) {
    background: var(--d-surface) !important;
}
[data-bs-theme="dark"] .hp-navy { border-top: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); }
/* navy cards and panels */
[data-bs-theme="dark"] :is(.hp-stats-panel, .sd-quote-card, .bl-news, .sd-cta-box) {
    background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 145, 207, 0.14), transparent 70%), var(--d-surface-2) !important;
    border: 1px solid var(--b-line) !important;
}
[data-bs-theme="dark"] .hp-stats-grid { background: var(--b-line); }
[data-bs-theme="dark"] .hp-stat { background: #1c1c21; }
[data-bs-theme="dark"] .pf-hero-stats > div { background: rgba(20, 20, 23, 0.85); }
[data-bs-theme="dark"] .sd-hero-card { background: rgba(255, 255, 255, 0.04); }
[data-bs-theme="dark"] :is(.hp-case-img, .pf-card-visual, .pf-feat-visual, .pf-modal-visual, .bl-card-img, .bl-feat-img, .bl-thumb, .ab-member-photo):not(:has(img)) {
    background: linear-gradient(150deg, #1f74ad, #16161a) !important;
}
[data-bs-theme="dark"] .hp-code { background: #101013; }
[data-bs-theme="dark"] .hp-code .hp-browser-bar { background: #1a1a1e; }
[data-bs-theme="dark"] .ab-tl-dot { box-shadow: 0 0 0 6px var(--b-bg); }
[data-bs-theme="dark"] :is(.sd-subnav, .pf-filter) { background: rgba(17, 17, 20, 0.96); }
[data-bs-theme="dark"] .pf-modal { background: rgba(0, 0, 0, 0.75); }

/* ── PRODUCTS PAGE (pr-*) ──────────────────────────────────────────────── */
.pr-hero-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; max-width: 520px; }
.pr-hero-points li { display: flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; }
.pr-hero-points i { color: var(--b-ice); }
.pr-suite { padding: 1.5rem; }
.pr-suite .sd-hero-card-head { margin-bottom: 0.5rem; }
.pr-suite-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.5rem; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.93rem; transition: background 0.2s; }
.pr-suite-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.pr-suite-item > i { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: var(--b-ice); }
.pr-suite-item em { margin-left: auto; font-style: normal; }

/* status pills */
.pr-status, .pr-suite-item em { font-family: var(--b-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.22rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.pr-live { background: rgba(34, 197, 94, 0.14); color: #16a34a; }
.pr-beta { background: rgba(45, 145, 207, 0.15); color: var(--b-sky-ink); }
.pr-soon { background: rgba(245, 165, 36, 0.16); color: #b45309; }
.pr-suite-item .pr-live { color: #4ade80; } .pr-suite-item .pr-beta { color: var(--b-ice); } .pr-suite-item .pr-soon { color: #fbbf24; }
[data-bs-theme="dark"] .pr-live { color: #4ade80; } [data-bs-theme="dark"] .pr-beta { color: var(--b-ice); } [data-bs-theme="dark"] .pr-soon { color: #fbbf24; }

/* flagship */
.pr-flagship { padding: 64px 0; background: var(--b-bg); }
.pr-flag-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(25,32,81,0.45); }
.pr-flag-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 4rem 2.5rem 3rem; min-height: 440px; }
.pr-flag-body { padding: 2.75rem; }
.pr-flag-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pr-flag-body h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--b-text); margin: 0.4rem 0 0.8rem; }
.pr-flag-body > p { color: var(--b-muted); line-height: 1.75; }
.pr-flag-body .sd-checks-grid { margin-top: 1.25rem; font-size: 0.93rem; }
.pr-flag-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--b-line); }
.pr-price small { display: block; font-size: 0.78rem; color: var(--b-muted); font-weight: 600; }
.pr-price strong { font-family: var(--b-head); font-size: 2rem; font-weight: 800; color: var(--b-text); line-height: 1.1; }
.pr-price span { font-size: 0.88rem; color: var(--b-muted); margin-left: 0.3rem; }
.pr-price-sm strong { font-size: 1.35rem; }
.pr-price-sm span { display: block; margin: 0; font-size: 0.78rem; }
@media (max-width: 991.98px) { .pr-flag-card { grid-template-columns: 1fr; } .pr-flag-visual { min-height: 320px; } .pr-flag-body { padding: 1.75rem; } }

/* CSS dashboard mock-up */
.pr-mock { width: 100%; max-width: 440px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55); }
.pr-mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f7; border-bottom: 1px solid #dde4ee; }
.pr-mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3dae5; }
.pr-mock-bar span:nth-child(1) { background: #ff6058; } .pr-mock-bar span:nth-child(2) { background: #ffbd2e; } .pr-mock-bar span:nth-child(3) { background: #28c940; }
.pr-mock-bar em { font-style: normal; font-size: 0.72rem; font-weight: 600; color: #6b7590; margin-left: 8px; }
.pr-mock-body { display: flex; height: 230px; }
.pr-mock-side { width: 56px; background: #192051; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.pr-mock-side i { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.pr-mock-side b { width: 24px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.25); }
.pr-mock-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.pr-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pr-mock-kpis span { height: 38px; border-radius: 8px; background: #eef4fb; border: 1px solid #dde8f4; }
.pr-mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 0 4px; border-bottom: 1px solid #e4eaf2; }
.pr-mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2d91cf, #1f74ad); }
.pr-mock-rows { display: grid; gap: 6px; }
.pr-mock-rows b { height: 7px; border-radius: 4px; background: #e8edf4; }
.pr-mock-rows b:nth-child(2) { width: 80%; } .pr-mock-rows b:nth-child(3) { width: 60%; }

/* product cards */
.pr-card { height: 100%; display: flex; flex-direction: column; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; padding: 1.6rem; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; scroll-margin-top: 100px; }
.pr-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 24px 46px -28px rgba(25,32,81,0.45); }
.pr-card.is-soon { background: var(--b-bg-alt); }
.pr-card-head { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1rem; }
.pr-card-head h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; color: var(--b-text); margin: 0.15rem 0 0.2rem; }
.pr-card-head small { display: block; font-size: 0.82rem; color: var(--b-muted); line-height: 1.4; }
.pr-card-head .pr-status { margin-left: auto; }
.pr-card-ico { width: 50px; height: 50px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.35rem; }
.pr-card > p { color: var(--b-muted); font-size: 0.93rem; margin-bottom: 1rem; }
.pr-card-feats { gap: 0.55rem; margin-bottom: 1.25rem; font-size: 0.9rem; }
.pr-card-feats li { font-weight: 500; padding-left: 1.75rem; }
.pr-card-feats li::before { width: 20px; height: 20px; font-size: 0.7rem; }
.pr-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--b-line); }
.pr-card-btn { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
#bizsuite, .pr-flagship { scroll-margin-top: 80px; }

.pr-why .hp-feat { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; padding: 1.25rem; }

/* pricing */
.pr-tabs { justify-content: center; flex-wrap: wrap; margin: 0 auto 2.5rem; overflow: visible; }
.pr-plan { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; padding: 2rem 1.75rem; }
.pr-plan.is-featured { background: linear-gradient(160deg, #192051, #11163b); border-color: transparent; color: #fff; box-shadow: 0 30px 60px -30px rgba(25,32,81,0.6); }
[data-bs-theme="dark"] .pr-plan.is-featured { background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45,145,207,0.2), transparent 70%), #1c1c21; border: 1px solid var(--b-sky); }
.pr-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--b-sky); color: #fff; font-family: var(--b-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; }
.pr-plan-label { font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-accent); }
.pr-plan.is-featured .pr-plan-label { color: var(--b-ice); }
.pr-plan h3 { font-family: var(--b-head); font-size: 1.35rem; font-weight: 800; color: var(--b-text); margin: 0.35rem 0 1rem; }
.pr-plan.is-featured h3 { color: #fff; }
.pr-plan-price { display: flex; align-items: baseline; gap: 0.15rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--b-line); }
.pr-plan.is-featured .pr-plan-price { border-bottom-color: rgba(255,255,255,0.12); }
.pr-plan-price sup { font-size: 1.1rem; font-weight: 700; color: var(--b-accent); top: -0.9em; }
.pr-plan-price strong { font-family: var(--b-head); font-size: 2.6rem; font-weight: 800; color: var(--b-text); line-height: 1; }
.pr-plan-price span { color: var(--b-muted); font-size: 0.9rem; margin-left: 0.3rem; }
.pr-plan.is-featured .pr-plan-price strong { color: #fff; }
.pr-plan.is-featured .pr-plan-price sup { color: var(--b-ice); }
.pr-plan.is-featured .pr-plan-price span { color: rgba(255,255,255,0.65); }
.pr-plan-feats { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.65rem; flex: 1; }
.pr-plan-feats li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.93rem; color: var(--b-text); }
.pr-plan-feats i { color: #16a34a; font-size: 1rem; }
.pr-plan-feats li.is-off { color: var(--b-muted); opacity: 0.6; }
.pr-plan-feats li.is-off i { color: var(--b-muted); }
.pr-plan.is-featured .pr-plan-feats li { color: rgba(255,255,255,0.9); }
.pr-plan.is-featured .pr-plan-feats i { color: #4ade80; }
.pr-plan.is-featured .pr-plan-feats li.is-off, .pr-plan.is-featured .pr-plan-feats li.is-off i { color: rgba(255,255,255,0.45); }
.pr-pricing-note { text-align: center; color: var(--b-muted); font-size: 0.9rem; margin: 2rem 0 0; }
.pr-pricing-note a { color: var(--b-accent); font-weight: 600; }
@media (max-width: 575.98px) { .pr-hero-points { grid-template-columns: 1fr; } }

.abs-footer .abs-footer-h { margin-top: 0; line-height: 1.4; }

/* ── Accessible button contrast: white text on the exact logo sky (#2D91CF) is only ~3.5:1,
   so filled buttons use the deeper brand sky (#1F74AD, ~5:1) and darken on hover ─────────── */
.hp-btn-sky { background: #1f74ad; }
.hp-btn-sky:hover { background: #18629a; box-shadow: 0 10px 24px -10px rgba(31, 116, 173, 0.7); }
[data-bs-theme="dark"] .hp-btn-navy,
[data-bs-theme="dark"] .abs-btn-cta,
[data-bs-theme="dark"] :is(.abs-btn-primary, .abs-submit-btn, .abs-job-apply-btn),
[data-bs-theme="dark"] .sd-subnav-inner a.sd-subnav-cta,
[data-bs-theme="dark"] .pf-tabs button.active { background: #1f74ad !important; border-color: #1f74ad !important; }
[data-bs-theme="dark"] .hp-btn-navy:hover, [data-bs-theme="dark"] .abs-btn-cta:hover { background: #18629a !important; }
.pr-plan-badge { background: #1f74ad; }

/* a11y: copied legacy heading styles for re-levelled contact headings */
.abs-ccard .abs-ccard-title{color:#fff;font-weight:700;font-size:1rem;margin-bottom:.35rem;}
.abs-ccard .abs-ccard-title{color:#fff;font-weight:700;font-size:1rem;margin-bottom:.35rem;}
.abs-pstep .abs-pstep-title{color:#fff;font-weight:700;font-size:.95rem;margin-bottom:.35rem;}
.abs-pstep .abs-pstep-title{color:#fff;font-weight:700;font-size:.95rem;margin-bottom:.35rem;}
.abs-ccard .abs-ccard-title, .abs-pstep .abs-pstep-title { margin-top: 0; }
/* a11y contrast: small chips use navy text; excluded plan features use solid muted colour, not opacity */
.pf-tabs button span, .pf-card-tech em { color: var(--b-navy); }
[data-bs-theme="dark"] .pf-tabs button span, [data-bs-theme="dark"] .pf-card-tech em { color: var(--b-text); }
.pf-tabs button.active span { color: #fff; }
.pr-plan-feats li.is-off { opacity: 1; color: var(--b-muted); text-decoration: line-through; text-decoration-color: rgba(88, 97, 129, 0.45); }
.pr-plan.is-featured .pr-plan-feats li.is-off, .pr-plan.is-featured .pr-plan-feats li.is-off i { color: rgba(255, 255, 255, 0.62); }

/* ── HOME HERO v2 (hx-*): centred headline + interactive capability panel ─ */
.hx {
    position: relative; overflow: hidden; color: #fff; padding: 150px 0 0;
    background:
        radial-gradient(ellipse 45% 55% at 50% 0%, rgba(45, 145, 207, 0.32), transparent 70%),
        linear-gradient(180deg, #192051 0%, #141a47 60%, #11163b 100%);
}
.hx::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
/* light band at the bottom so the panel overlaps into the next section */
.hx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: var(--b-bg); }
.hx-mark { position: absolute; width: 420px; right: -120px; top: 60px; opacity: 0.06; pointer-events: none; }
.hx-head { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.hx-head .hp-badge { margin-bottom: 1.5rem; }
.hx-title {
    font-family: var(--b-head) !important; font-weight: 800 !important; color: #fff !important;
    font-size: clamp(2.3rem, 5.2vw, 4rem) !important; line-height: 1.1 !important; letter-spacing: -0.03em !important;
    margin: 0 auto 1.25rem; max-width: 18ch;
}
.hx-title em { color: var(--b-ice) !important; }
.hx-sub { color: rgba(255,255,255,0.78); font-size: 1.15rem; line-height: 1.7; max-width: 60ch; margin: 0 auto 2.1rem; }
.hx-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hx-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; padding: 0; margin: 2.25rem 0 0; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.hx-proof li { padding: 0 1.25rem; }
.hx-proof li + li { border-left: 1px solid rgba(255,255,255,0.18); }
.hx-proof strong { color: #fff; font-family: var(--b-head); font-weight: 800; font-size: 1.1rem; margin-right: 0.2rem; }

/* capability panel */
.hx-panel {
    position: relative; z-index: 2; margin-top: 3.5rem;
    display: grid; grid-template-columns: 320px 1fr;
    background: var(--b-card); color: var(--b-text);
    border: 1px solid var(--b-line); border-radius: 18px; overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(11, 13, 40, 0.55), 0 2px 6px rgba(11, 13, 40, 0.06);
}
.hx-tabs { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; background: var(--b-bg-alt); border-right: 1px solid var(--b-line); }
.hx-tabs button {
    display: flex; align-items: center; gap: 0.85rem; width: 100%; text-align: left; cursor: pointer;
    border: 1px solid transparent; background: transparent; border-radius: 12px; padding: 0.85rem 0.9rem;
    color: var(--b-text); transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hx-tabs button:hover { background: var(--b-card); }
.hx-tabs button.active { background: var(--b-card); border-color: var(--b-line); box-shadow: 0 8px 20px -14px rgba(25, 32, 81, 0.35); }
.hx-tab-ico { width: 42px; height: 42px; flex: none; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.15rem; transition: background 0.2s, color 0.2s; }
[data-bs-theme="dark"] .hx-tab-ico { color: var(--b-accent); }
.hx-tabs button.active .hx-tab-ico { background: var(--b-navy); color: #fff; }
[data-bs-theme="dark"] .hx-tabs button.active .hx-tab-ico { background: #1f74ad; }
.hx-tab-text strong { display: block; font-family: var(--b-head); font-size: 0.97rem; font-weight: 700; }
.hx-tab-text small { display: block; font-size: 0.8rem; color: var(--b-muted); line-height: 1.35; margin-top: 0.1rem; }
.hx-tabs-all { margin-top: auto; padding: 0.85rem 0.9rem 0.4rem; font-family: var(--b-head); font-weight: 600; font-size: 0.9rem; color: var(--b-accent); text-decoration: none; }
.hx-tabs-all:hover { color: var(--b-text); }

.hx-pane { display: none; grid-template-columns: 1.35fr 1fr; gap: 2rem; padding: 2.25rem 2.5rem; }
.hx-pane.active { display: grid; animation: hx-in 0.35s ease; }
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hx-pane.active { animation: none; } }
.hx-pane-main h2 { font-family: var(--b-head); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--b-text); margin: 0 0 0.6rem; }
.hx-pane-main > p { color: var(--b-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.hx-points { grid-template-columns: 1fr 1fr; gap: 0.7rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.93rem; }
.hx-side-label { display: block; font-family: var(--b-head); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-muted); margin-bottom: 0.75rem; }
.hx-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.hx-stack span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.86rem; font-weight: 600; color: var(--b-text); background: var(--b-bg-alt); border: 1px solid var(--b-line); border-radius: 8px; padding: 0.4rem 0.75rem; }
.hx-stack i { font-size: 1.05rem; color: var(--b-navy); }
[data-bs-theme="dark"] .hx-stack i { color: var(--b-ice); }
.hx-cta-card { display: grid; gap: 0.4rem; padding: 1.25rem; border-radius: 12px; background: var(--b-tint); }
.hx-cta-card strong { font-family: var(--b-head); font-size: 1rem; color: var(--b-text); }
.hx-cta-card span { font-size: 0.88rem; color: var(--b-muted); margin-bottom: 0.6rem; }

[data-bs-theme="dark"] .hx { background: radial-gradient(ellipse 45% 55% at 50% 0%, rgba(45,145,207,0.18), transparent 70%), linear-gradient(180deg, #141417 0%, #0b0b0d 100%); }
[data-bs-theme="dark"] .hx-mark { filter: brightness(1.8); }

@media (max-width: 991.98px) {
    .hx { padding-top: 120px; }
    .hx-panel { grid-template-columns: 1fr; }
    .hx-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--b-line); padding: 0.75rem; }
    .hx-tabs::-webkit-scrollbar { display: none; }
    .hx-tabs button { width: auto; flex: none; padding: 0.6rem 0.8rem; }
    .hx-tab-text small, .hx-tabs-all { display: none; }
    .hx-pane { grid-template-columns: 1fr; padding: 1.75rem 1.5rem; gap: 1.5rem; }
    .hx-mark { display: none; }
}
@media (max-width: 575.98px) {
    .hx-points { grid-template-columns: 1fr; }
    .hx-proof li { padding: 0 0.75rem; font-size: 0.88rem; }
    .hx-proof li:nth-child(3) { border-left: 0; }
}
.hx::after { background: var(--b-bg-alt); }
.hp-tech { background: var(--b-bg-alt); }

/* ── RESPONSIVE / TOUCH POLISH ─────────────────────────────────────────────
   Audited at 320–1920px: no horizontal scroll anywhere. These rules enlarge
   small tap targets on touch screens and keep label text ≥ 12px on phones. */
.abs-story-metric span { font-size: 0.75rem !important; }

@media (max-width: 991.98px) {
    /* comfortable tap areas without changing the visual layout */
    .abs-nav .abs-logo, .abs-footer .abs-logo { display: inline-flex; align-items: center; min-height: 44px; }
    .sd-crumbs a, .abs-breadcrumb a { display: inline-block; padding: 0.55rem 0.1rem; margin: -0.55rem 0; }
    .abs-footer-bottom a { display: inline-block; padding: 0.6rem 0.25rem; }
    .abs-footer-links a { display: inline-block; padding: 0.3rem 0; }
    .hp-more, .abs-svc-link, .abs-story-read-btn { display: inline-flex; align-items: center; min-height: 40px; }
    .bl-card h3 a, .pr-card-head h3 { display: block; padding: 0.15rem 0; }
    .pf-live { width: 40px; height: 40px; }
    .abs-social a, .ab-member-social a { min-width: 40px; min-height: 40px; }
}
@media (max-width: 767.98px) {
    /* small uppercase labels and badges: keep at least 12px on phones */
    .hp-case-tag, .pr-status, .pr-suite-item em, .pr-plan-badge, .bl-card-cat, .bl-recent-item small, .bl-av,
    .abs-job-dept, .abs-job-tag, .abs-job-exp-badge, .badge-open, .abs-feat-label, .abs-feat-cat, .abs-stag,
    .abs-story-thumb-cat, .abs-story-author-av, .abs-contact-details .label, .hp-eyebrow, .sd-crumbs, .pf-tabs button span { font-size: 0.75rem !important; }
    /* long words / URLs never force the page wider */
    h1, h2, h3, .sd-title, .hx-title, .bd-title { overflow-wrap: break-word; }
    .bd-prose, .sd-prose { overflow-wrap: anywhere; } /* long URLs in article text */
    /* modals use the full width on small phones */
    .modal-dialog { margin: 0.75rem; }
    .pf-modal { padding: 0.75rem; }
}
@media (max-width: 359.98px) {
    /* very narrow phones (320px): tighten gutters and big headings */
    .container { padding-left: 14px; padding-right: 14px; }
    .hx-title, .sd-title, .bd-title { font-size: 2rem !important; }
    .hp-btn { padding: 0.8rem 1.1rem; font-size: 0.9rem; }
    .hx-ctas .hp-btn, .sd-hero .hp-btn { width: 100%; justify-content: center; }
    .hx-proof li { padding: 0 0.5rem; font-size: 0.82rem; }
}
/* very large screens: keep line lengths readable */
@media (min-width: 1600px) {
    .container { max-width: 1400px; }
}

/* navbar: full menu from 1200px; the mobile menu panel below (see MOBILE MENU) */
.abs-btn-cta { white-space: nowrap; }
@media (max-width: 991.98px) {
    .abs-nav .abs-logo, .abs-footer .abs-logo { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 991.98px) {
    .bl-card h3 a { padding: 0.45rem 0; margin: -0.3rem 0; }
    .bl-popular a { padding: 0.35rem 0; }
}

@media (max-width: 575.98px) {
    /* product cards: status badge moves under the name so long names never split */
    .pr-card-head { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.5rem; }
    .pr-card-head .pr-status { grid-column: 2; justify-self: start; margin-left: 0; }
    .pr-card-btn { white-space: nowrap; padding: 0.65rem 0.9rem; }
    .pr-card-foot { gap: 0.75rem; }
}

/* ── BENTO GRID (bn-*) ─────────────────────────────────────────────────────
   Shared by Services, Integrations (tech stack), Products and Portfolio.
   Tiles span columns/rows; `dense` packing back-fills gaps when filters
   hide tiles. Collapses to 2 columns on tablets and 1 on phones. */
.bn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); grid-auto-flow: dense; gap: 1.25rem; }
.bn-grid.bn-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-wide { grid-column: span 2; }
.bn-tall { grid-row: span 2; }
.bn-xl { grid-column: span 2; grid-row: span 2; }
.bn-full { grid-column: 1 / -1; }

.bn-tile {
    position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
    background: var(--b-card); border: 1px solid var(--b-line); border-radius: 18px; padding: 1.6rem;
    color: var(--b-text); text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
a.bn-tile:hover, a.bn-tile:focus-visible, .bn-tile.is-link:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -28px rgba(25, 32, 81, 0.45); color: var(--b-text); }
.bn-tile[hidden] { display: none !important; }

/* tile variants */
.bn-navy { background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 145, 207, 0.4), transparent 70%), linear-gradient(150deg, #192051, #11163b); border-color: transparent; color: #fff; }
.bn-sky  { background: linear-gradient(150deg, #2d91cf, #1f74ad); border-color: transparent; color: #fff; }
.bn-tint { background: var(--b-tint); border-color: transparent; }
a.bn-navy:hover, a.bn-sky:hover, a.bn-navy:focus-visible, a.bn-sky:focus-visible { color: #fff; }
[data-bs-theme="dark"] .bn-navy { background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(45, 145, 207, 0.25), transparent 70%), linear-gradient(150deg, #151a45, #0d1030); }

/* the logo's chevron as a quiet watermark on feature tiles */
.bn-mark { position: absolute; right: -28px; bottom: -28px; width: 190px; opacity: 0.09; pointer-events: none; }
.bn-xl .bn-mark { width: 280px; }

/* tile parts */
.bn-ico { width: 48px; height: 48px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.35rem; margin-bottom: 1.1rem; transition: background 0.25s, color 0.25s; }
[data-bs-theme="dark"] .bn-ico { color: var(--b-accent); }
a.bn-tile:hover .bn-ico { background: var(--b-navy); color: #fff; }
.bn-navy .bn-ico, .bn-sky .bn-ico, a.bn-navy:hover .bn-ico, a.bn-sky:hover .bn-ico { background: rgba(255, 255, 255, 0.14); color: #fff; }
.bn-tint .bn-ico { background: var(--b-card); }
.bn-label { font-family: var(--b-head); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-sky-ink); margin-bottom: 0.35rem; }
[data-bs-theme="dark"] .bn-label { color: var(--b-accent); }
.bn-navy .bn-label, .bn-sky .bn-label { color: var(--b-ice); }
.bn-tile h3 { font-family: var(--b-head); font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.5rem; color: inherit; }
.bn-xl h3, .bn-wide h3 { font-size: 1.35rem; }
.bn-xl h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.bn-tile p { color: var(--b-muted); font-size: 0.93rem; line-height: 1.65; margin: 0 0 1rem; }
.bn-navy p, .bn-sky p { color: rgba(255, 255, 255, 0.78); }
.bn-grow { flex: 1; }
.bn-more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--b-head); font-weight: 700; font-size: 0.88rem; color: var(--b-accent); }
.bn-more i { transition: transform 0.2s; }
a.bn-tile:hover .bn-more i { transform: translateX(4px); }
.bn-navy .bn-more, .bn-sky .bn-more { color: #fff; }

.bn-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.bn-tags span { font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 6px; background: var(--b-bg-alt); border: 1px solid var(--b-line); color: var(--b-text); }
.bn-navy .bn-tags span, .bn-sky .bn-tags span { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.bn-checks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.bn-checks li { position: relative; padding-left: 1.8rem; font-weight: 600; font-size: 0.92rem; line-height: 1.5; }
.bn-checks li::before { content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0.05rem; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; background: var(--b-tint); color: var(--b-sky-ink); }
.bn-navy .bn-checks li, .bn-sky .bn-checks li { color: rgba(255, 255, 255, 0.9); }
.bn-navy .bn-checks li::before, .bn-sky .bn-checks li::before { background: rgba(45, 145, 207, 0.3); color: var(--b-ice); }
.bn-xl .bn-checks { grid-template-columns: 1fr 1fr; gap: 0.6rem 1.25rem; }

.bn-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; }

/* filter bar (services) reuses the portfolio tab look */
.bn-filter .pf-tabs { padding: 0.75rem 0; }

/* ── integrations: category tiles holding tool chips */
.bn-count { position: absolute; top: 1.4rem; right: 1.4rem; font-family: var(--b-head); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--b-tint); color: var(--b-sky-ink); }
.bn-navy .bn-count { background: rgba(255, 255, 255, 0.14); color: #fff; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.bn-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.75rem 0.45rem 0.5rem; border-radius: 10px; background: var(--b-bg-alt); border: 1px solid var(--b-line); font-weight: 600; font-size: 0.88rem; color: var(--b-text); transition: border-color 0.2s; }
.bn-chip:hover { border-color: var(--b-sky); }
.bn-chip-ico { width: 26px; height: 26px; flex: none; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.bn-chip-ico img { width: 18px; height: 18px; object-fit: contain; }
.bn-chip-ico i { font-size: 0.9rem; color: var(--b-sky-ink); }
.bn-navy .bn-chip { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.bn-navy .bn-chip:hover { border-color: var(--b-ice); }

/* ── products */
.bn-prod-head { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1rem; }
.bn-prod-head .bn-ico { margin: 0; color: #fff; }
.bn-prod-head h3 { margin: 0.1rem 0 0.15rem; }
.bn-prod-head small { display: block; color: var(--b-muted); font-size: 0.86rem; }
.bn-prod-head .pr-status { margin-left: auto; flex: none; }
.bn-prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--b-line); }
.bn-tile.is-soon { background: var(--b-bg-alt); }
.bn-why-ico { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.2rem; margin-bottom: 1rem; }
[data-bs-theme="dark"] .bn-why-ico { color: var(--b-accent); }

/* ── portfolio: image-led project tiles */
.bn-grid.bn-work { grid-auto-rows: minmax(340px, auto); }
.bn-proj { padding: 0; cursor: pointer; }
.bn-proj .pf-card-visual { aspect-ratio: auto; flex: 1 1 auto; min-height: 200px; }
.bn-proj .pf-card-body { flex: 0 0 auto; }
.bn-proj:hover, .bn-proj:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -28px rgba(25, 32, 81, 0.45); }
.bn-proj:hover .pf-card-visual img { transform: scale(1.04); }
.bn-proj:hover .pf-card-view, .bn-proj:focus-visible .pf-card-view { opacity: 1; transform: none; }
.bn-proj.bn-tall h3 { font-size: 1.35rem; }
/* wide project tiles: picture left, text right */
.bn-proj.bn-wide { flex-direction: row; }
.bn-proj.bn-wide .pf-card-visual { flex: 0 0 55%; min-height: 0; }
.bn-proj.bn-wide .pf-card-body { flex: 1; justify-content: center; padding: 1.75rem; }
.bn-proj.bn-wide h3 { font-size: 1.4rem; }
.bn-proj.bn-wide .pf-card-body p { flex: 0 0 auto; margin-bottom: 1.25rem; }
/* short tiles show two lines of the description; wide and tall tiles show it all */
.bn-proj:not(.bn-wide):not(.bn-tall) .pf-card-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 991.98px) {
    .bn-grid, .bn-grid.bn-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bn-xl .bn-checks { grid-template-columns: 1fr; }
    .bn-proj.bn-tall { grid-row: span 1; }
}
@media (max-width: 767.98px) {
    .bn-proj.bn-wide { flex-direction: column; }
    .bn-proj.bn-wide .pf-card-visual { flex: 1 1 auto; min-height: 200px; }
    .bn-proj.bn-wide .pf-card-body { padding: 1.35rem 1.4rem 1.25rem; }
}
@media (max-width: 575.98px) {
    .bn-grid, .bn-grid.bn-3 { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 1rem; }
    .bn-grid.bn-work { grid-auto-rows: auto; }
    .bn-wide, .bn-xl, .bn-tall { grid-column: auto; grid-row: auto; }
    .bn-tile { padding: 1.35rem; }
    .bn-proj { padding: 0; }
    .bn-proj .pf-card-visual { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (min-width: 768px) { .bn-checks-2 { grid-template-columns: 1fr 1fr; gap: 0.6rem 1.25rem; } }
@media (max-width: 575.98px) {
    .bn-prod-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 0.9rem; row-gap: 0.5rem; }
    .bn-prod-head .pr-status { grid-column: 2; justify-self: start; margin-left: 0; }
}

/* ==========================================================================
   3D + TYPOGRAPHY LAYER (i3d-*). Behaviour lives in js/interactive.js.
   html.i3d is set in <head> only when the visitor allows motion.
   ========================================================================== */

/* ── display type: bigger, tighter, balanced ─────────────────────────────── */
.hx-title { font-size: clamp(2.1rem, 4.2vw, 3.25rem) !important; line-height: 1.15 !important; letter-spacing: -0.015em !important; text-wrap: balance; max-width: 22ch !important; }
.sd-title { font-size: clamp(1.95rem, 3.6vw, 2.75rem); line-height: 1.18; letter-spacing: -0.015em; text-wrap: balance; }
.hp-head h2, .hp-h2, .hp-head-split h2, .abs-heading, .sd-cta-box h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.hp-head p, .sd-sub, .hx-sub, .hp-lead, .bn-tile p { text-wrap: pretty; }
.hx-proof strong, .pf-hero-stats strong, .i3d-num { font-variant-numeric: tabular-nums; }
.pf-hero-stats strong { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.01em; }


/* ── hero entrance (CSS only: runs before scripts, nothing flashes) ──────── */
@keyframes i3d-title { from { clip-path: inset(0 0 100% 0); transform: translateY(0.4em); } to { clip-path: inset(-20% -5% -25% -5%); transform: none; } }
@keyframes i3d-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.i3d :is(.hx-title, .sd-title, .bd-title, .abs-page-hero h1, .abs-careers-hero h1, .abs-contact-hero h1, .abs-blog-hero h1) {
    animation: i3d-title 0.95s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
html.i3d :is(.hx, .sd-hero) :is(.hp-badge, .sd-crumbs) { animation: i3d-fade 0.7s 0.05s ease both; }
html.i3d :is(.hx, .sd-hero) :is(.sd-sub, .hx-sub) { animation: i3d-fade 0.7s 0.25s ease both; }
html.i3d :is(.hx, .sd-hero) :is(.hx-ctas, .hx-proof, .pr-hero-points, .sd-hero .d-flex.gap-3) { animation: i3d-fade 0.7s 0.4s ease both; }

/* ── headlines: words rise out of their own line ─────────────────────────── */
.i3d-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.02em 0.12em; margin: 0 -0.02em -0.12em; }
.i3d-w > span { display: inline-block; transform: translateY(110%); transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.1, 1); transition-delay: calc(var(--i, 0) * 45ms); }
.i3d-type.is-in .i3d-w > span { transform: none; }

/* ── 3D chevron in hero bands ────────────────────────────────────────────── */
.i3d-stage {
    position: absolute; z-index: 0; pointer-events: none;
    top: 50%; right: 7%; width: clamp(190px, 20vw, 300px); aspect-ratio: 140 / 200;
    margin-top: calc(clamp(190px, 20vw, 300px) * -0.71); /* centre without using transform */
    perspective: 1100px;
}
.i3d-stage.is-home { top: 120px; margin-top: 0; right: 3%; width: clamp(180px, 16vw, 250px); }
.i3d-stage.is-ghost { right: -3%; width: clamp(240px, 26vw, 380px); margin-top: calc(clamp(240px, 26vw, 380px) * -0.71); opacity: 0.22; }
.i3d-stage.is-ghost .i3d-layer.is-front { filter: none; }
.i3d-obj { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; transform: rotateX(8deg) rotateY(-24deg); }
.i3d-layer { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--z) * -2px)); filter: brightness(var(--shade, 0.5)) saturate(0.85); backface-visibility: visible; user-select: none; }
.i3d-layer.is-front { filter: drop-shadow(0 0 28px rgba(45, 145, 207, 0.45)); }
@keyframes i3d-appear { from { opacity: 0; } } /* no end frame: lands on each stage's own opacity */
html.i3d .i3d-stage { animation: i3d-appear 1.1s 0.3s ease both; }
/* the stage must sit under every hero's content */
:is(.hx, .sd-hero, .abs-page-hero, .abs-careers-hero, .abs-contact-hero, .abs-blog-hero) > .container { position: relative; z-index: 1; }
@media (max-width: 1299.98px) { .i3d-stage.is-home { opacity: 0.25; right: -4%; } }
@media (max-width: 991.98px) { .i3d-stage { opacity: 0.22; right: -8%; } }
@media (max-width: 767.98px) { .i3d-stage { display: none; } }

/* ── card tilt + light glare ─────────────────────────────────────────────── */
:where(.i3d-tilt) { position: relative; }
.i3d-tilt.is-tilting {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px) !important;
    transition: transform 0.12s ease-out, box-shadow 0.25s, border-color 0.25s !important;
}
.i3d-glare {
    position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(45, 145, 207, 0.12), transparent 55%);
}
:is(.bn-navy, .bn-sky, .sd-hero-card, .pf-feat-card, .pr-flag-card) > .i3d-glare,
[data-bs-theme="dark"] .i3d-glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.14), transparent 55%); }
.i3d-tilt.is-tilting > .i3d-glare { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .i3d-w > span { transform: none !important; transition: none !important; }
    .i3d-stage, .i3d-obj { animation: none !important; }
}

/* ==========================================================================
   PROFESSIONAL TYPE + SPACING PASS
   One sober family (IBM Plex Sans), semibold headings instead of extra-bold,
   near-normal tracking, and tighter vertical rhythm between sections.
   ========================================================================== */
body { font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.005em; }
:is(h1, h2, h3, h4, h5, h6, .hx-title, .sd-title, .bd-title, .hp-h2, .abs-heading, .hp-head h2, .hp-head-split h2,
    .pf-feat-body h2, .pr-flag-body h2, .pf-modal-body h2, .hx-pane-main h2, .pf-grid-head h2, .sd-cta-box h2, .abs-cta-band h2) {
    font-weight: 600 !important;
}
:is(h3, h4, h5, h6) { font-weight: 600 !important; letter-spacing: 0 !important; }
/* inline 800/900 weights left in older templates */
[style*="font-weight:900"], [style*="font-weight: 900"], [style*="font-weight:800"], [style*="font-weight: 800"] { font-weight: 600 !important; }
[style*="letter-spacing:-1px"], [style*="letter-spacing:-.5px"] { letter-spacing: -0.01em !important; }
.abs-page-hero h1, .abs-careers-hero h1, .abs-contact-hero h1, .abs-blog-hero h1 { font-size: clamp(1.95rem, 3.6vw, 2.75rem) !important; line-height: 1.18 !important; letter-spacing: -0.015em !important; }
/* numbers and labels */
.hx-proof strong, .pf-hero-stats strong, .pr-price strong, .pr-plan-price strong, .abs-stat-big strong, .abs-hero-stat strong { font-weight: 600 !important; }
.hp-eyebrow, .bn-label, .hp-case-tag, .hx-side-label, .pf-modal-grid h3, .sd-hero-card-head small { letter-spacing: 0.06em !important; font-weight: 600 !important; }
.hp-btn, .abs-btn-cta, .abs-btn-primary { font-weight: 500 !important; letter-spacing: 0; }
/* body copy sizes */
.sd-sub, .hx-sub { font-size: 1.05rem; line-height: 1.65; }
.hp-head p, .hp-lead, .hp-lead p { font-size: 1rem; line-height: 1.65; }
.hx-sub { margin-bottom: 1.75rem; }
.sd-title, .hx-title { margin-bottom: 0.9rem !important; }
/* vertical rhythm */
.hp-section { padding: 72px 0; }
.abs-section { padding: 72px 0 !important; }
.hp-head { margin-bottom: 2.25rem; }
.hp-head h2, .hp-h2, .hp-head-split h2 { margin-bottom: 0.6rem; }
.hp-head-split { margin-bottom: 2rem; }
.hp-eyebrow { margin-bottom: 0.6rem; }
.sd-hero { padding: 112px 0 64px; }
.sd-crumbs { margin-bottom: 1.25rem; }
.hx { padding-top: 124px; }
.hx-head .hp-badge, .sd-hero .hp-badge { margin-bottom: 1rem; }
.hx-proof { margin-top: 1.75rem; }
.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero { padding: 120px 0 64px !important; }
.abs-cta-band { padding: 64px 0 !important; }
.sd-cta { padding-bottom: 72px; }
.sd-cta-box { padding: 2.5rem; }
.pf-grid-section { padding: 48px 0 72px; }
.pf-featured, .pr-flagship { padding-top: 48px; }
.bl-main { padding-bottom: 72px; }
.bd-main { padding-bottom: 72px; }
.abs-footer { padding-top: 56px !important; }
/* cards: a little less air inside */
.bn-grid { gap: 1rem; }
.bn-tile { padding: 1.4rem; }
.bn-proj { padding: 0; }
.bn-ico { margin-bottom: 0.9rem; }
@media (max-width: 767.98px) {
    .hp-section { padding: 52px 0; }
    .abs-section { padding: 52px 0 !important; }
    .sd-hero { padding: 100px 0 48px; }
    .hx { padding-top: 104px; }
    .abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero { padding: 104px 0 48px !important; }
}
/* hero headlines keep a readable measure and stay clear of the 3D mark */
.sd-title, .abs-page-hero h1, .abs-careers-hero h1, .abs-contact-hero h1, .abs-blog-hero h1 { max-width: 24ch; }
/* the 3D mark replaces the flat background chevron of the older heroes (phones keep the flat one) */
@media (min-width: 768px) {
    :is(.abs-page-hero, .abs-blog-hero, .abs-contact-hero, .abs-careers-hero):has(> .i3d-stage)::before { display: none !important; }
}

/* ── HOME HERO IMAGE CAROUSEL (hx-slides) ───────────────────────────────── */
/* with slides the hero splits: copy left, carousel right */
.hx-has-slides .hx-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; text-align: left; }
.hx-has-slides .hx-title { margin-left: 0; max-width: 20ch !important; }
.hx-has-slides .hx-sub { margin-left: 0; max-width: 54ch; }
.hx-has-slides .hx-ctas, .hx-has-slides .hx-proof { justify-content: flex-start; }
.hx-has-slides .hx-proof li:first-child { padding-left: 0; }
.hx-has-slides .hx-mark { display: none; }

.hx-slides { position: relative; z-index: 1; }
.hx-slides-frame {
    position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden;
    background: #11163b; border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hx-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.hx-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s; }
.hx-slide a { display: block; width: 100%; height: 100%; color: inherit; }
.hx-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transform: scale(1.04); transition: transform 6s ease-out; }
.hx-slide.is-active img { transform: scale(1); }
.hx-slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.25rem 1rem;
    background: linear-gradient(transparent, rgba(10, 14, 40, 0.85)); color: #fff;
    font-size: 0.92rem; font-weight: 500; line-height: 1.4;
}
.hx-slide a:focus-visible { outline: 2px solid var(--b-sky); outline-offset: -4px; }

.hx-slides-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.hx-slides-btn {
    width: 40px; height: 40px; flex: none; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.hx-slides-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
.hx-slides-dots { display: flex; gap: 0.4rem; flex: 1; justify-content: center; }
.hx-slides-dots button { flex: 0 1 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hx-slides-dots span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.hx-slides-dots span::after { content: ""; position: absolute; inset: 0; background: var(--b-sky); transform: scaleX(0); transform-origin: left; }
.hx-slides-dots [aria-current] span::after { transform: scaleX(1); }
/* while autoplaying, the current dot fills up until the next slide */
@keyframes hx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hx-slides.is-running [aria-current] span::after { animation: hx-progress var(--interval, 5500ms) linear both; }
.hx-slides.is-paused [aria-current] span::after { animation: none; transform: scaleX(1); }

@media (max-width: 991.98px) {
    .hx-has-slides .hx-head { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .hx-has-slides .hx-title, .hx-has-slides .hx-sub { margin-left: auto; margin-right: auto; }
    .hx-has-slides .hx-ctas, .hx-has-slides .hx-proof { justify-content: center; }
    .hx-has-slides .hx-proof li:first-child { padding-left: 1.25rem; }
    .hx-slides { max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-slide, .hx-slide img { transition: none !important; transform: none !important; }
}
.hx-has-slides .hx-proof { gap: 0.6rem 1.75rem; }
.hx-has-slides .hx-proof li, .hx-has-slides .hx-proof li:first-child { padding: 0; border: 0; }
.hx-slide figcaption { text-align: left; }
@media (max-width: 991.98px) { .hx-has-slides .hx-proof li, .hx-has-slides .hx-proof li:first-child { padding: 0; } }

/* ── FAQ blocks (fq-*) ─────────────────────────────────────────────────── */
.fq-list { display: grid; gap: 0.6rem; }
.fq-item { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.fq-item[open] { border-color: rgba(45, 145, 207, 0.45); box-shadow: 0 14px 30px -24px rgba(25, 32, 81, 0.5); }
.fq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-family: var(--b-head); font-weight: 600; color: var(--b-text); }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary i { flex: none; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); transition: transform 0.25s; }
[data-bs-theme="dark"] .fq-item summary i { color: var(--b-accent); }
.fq-item[open] summary i { transform: rotate(45deg); }
.fq-item summary:focus-visible { outline: 2px solid var(--b-sky); outline-offset: -2px; border-radius: 12px; }
.fq-answer { padding: 0 1.25rem 1.15rem; color: var(--b-muted); line-height: 1.7; }
.fq-search { position: relative; display: block; max-width: 520px; margin: 0; }
.fq-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--b-muted); }
.fq-search input { width: 100%; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.95); color: #171a40; border-radius: 10px; padding: 0.8rem 1rem 0.8rem 2.6rem; font-size: 1rem; outline: 0; }
.fq-search input:focus { box-shadow: 0 0 0 3px rgba(45, 145, 207, 0.45); }
.fq-nav { position: sticky; top: 90px; display: grid; gap: 0.25rem; margin-bottom: 1.5rem; }
.fq-nav a { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.85rem; border-radius: 8px; color: var(--b-text); text-decoration: none; font-weight: 600; }
.fq-nav a:hover { background: var(--b-card); color: var(--b-accent); }
.fq-nav a span { font-size: 0.78rem; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--b-tint); color: var(--b-sky-ink); }
.fq-help { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 14px; padding: 1.4rem; }
.fq-help > i { font-size: 1.6rem; color: var(--b-sky); }
.fq-help h3 { font-size: 1.05rem; margin: 0.6rem 0 0.3rem; }
.fq-help p { color: var(--b-muted); font-size: 0.92rem; }
.fq-group + .fq-group { margin-top: 2.5rem; }
.fq-group h2 { font-size: 1.25rem; margin-bottom: 1rem; }
@media (max-width: 991.98px) { .fq-nav { position: static; display: flex; flex-wrap: wrap; } .fq-help { display: none; } }

/* ── INDUSTRIES (ix-*) ─────────────────────────────────────────────────── */
.ix-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ix-mosaic figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, 0.12); }
.ix-mosaic figure:nth-child(2) { transform: translateY(1.5rem); }
.ix-mosaic figure:nth-child(4) { transform: translateY(1.5rem); }
.ix-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.ix-mosaic figcaption { position: absolute; left: 0.6rem; bottom: 0.6rem; display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.3rem 0.65rem; border-radius: 8px; background: rgba(17, 22, 59, 0.85); color: #fff; font-size: 0.82rem; font-weight: 600; }
.pf-tabs a { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text); font-family: var(--b-head); font-weight: 600; font-size: 0.88rem; padding: 0.5rem 0.95rem; border-radius: 8px; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.pf-tabs a:hover { border-color: var(--b-sky); color: var(--b-accent); }
.ix-jump { padding: 0.75rem 0; }
.ix-tile { padding: 0; }
.ix-tile-img { position: relative; height: 170px; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bn-xl .ix-tile-img { height: auto; flex: 1 1 auto; min-height: 260px; }
.ix-tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ix-tile-img > i { font-size: 3rem; color: rgba(255, 255, 255, 0.85); }
a.ix-tile:hover .ix-tile-img img { transform: scale(1.04); }
.ix-count { position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--b-navy); font-size: 0.78rem; font-weight: 600; }
.ix-tile-body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.bn-xl .ix-tile-body { flex: 0 0 auto; }
.ix-tile-body h3 { display: flex; align-items: center; gap: 0.5rem; }
.ix-tile-body h3 i { color: var(--b-sky); }
.ix-stats { background: var(--b-navy); padding: 44px 0; }
[data-bs-theme="dark"] .ix-stats { background: #121215; }
.ix-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.ix-stats strong { display: block; font-size: 2rem; font-weight: 600; color: #fff; }
.ix-stats span { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.ix-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px -40px rgba(25, 32, 81, 0.55); }
.ix-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ix-photo-icon { font-size: 5rem; color: rgba(255, 255, 255, 0.85); }
.ix-photo-stats { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); }
.ix-photo-stats div { background: rgba(17, 22, 59, 0.82); padding: 0.8rem 0.9rem; }
.ix-photo-stats strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 600; }
.ix-photo-stats span { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; line-height: 1.3; display: block; }
.ix-checks { grid-template-columns: 1fr 1fr; gap: 0.65rem 1.25rem; margin: 1.25rem 0; font-size: 0.95rem; }
.ix-solutions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ix-solutions span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 500; padding: 0.35rem 0.7rem; border-radius: 8px; background: var(--b-card); border: 1px solid var(--b-line); color: var(--b-text); }
.ix-solutions i { color: var(--b-sky); }
@media (max-width: 991.98px) { .ix-mosaic { margin-top: 0.5rem; } }
@media (max-width: 575.98px) { .ix-checks { grid-template-columns: 1fr; } .ix-photo-stats { grid-template-columns: 1fr 1fr 1fr; } .ix-photo-stats div { padding: 0.6rem; } .ix-photo-stats strong { font-size: 1rem; } }

/* ── SUCCESS STORIES (ss-*) ────────────────────────────────────────────── */
.ss-clients { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.ss-clients > span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-ice); }
.ss-clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; color: rgba(255, 255, 255, 0.82); font-weight: 600; }
.ss-photo { padding: 0; overflow: hidden; align-items: flex-end; }
.ss-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-photo-metrics { position: relative; z-index: 1; margin: 1.25rem; flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.18); }
.ss-photo-metrics div { background: rgba(17, 22, 59, 0.85); padding: 0.9rem 1rem; }
.ss-photo-metrics strong { display: block; color: #fff; font-size: 1.4rem; font-weight: 600; }
.ss-photo-metrics span { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.ss-quote { margin: 1.25rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--b-sky); background: var(--b-bg-alt); border-radius: 0 10px 10px 0; }
.ss-quote p { margin: 0 0 0.4rem; color: var(--b-text); font-style: italic; line-height: 1.6; }
.ss-quote cite { font-style: normal; font-size: 0.86rem; font-weight: 600; color: var(--b-muted); }
.ss-metrics { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--b-line); }
.ss-metrics div { padding: 0.8rem 1.4rem; }
.ss-metrics div + div { border-left: 1px solid var(--b-line); }
.ss-metrics strong { display: block; font-size: 1.2rem; font-weight: 600; color: var(--b-accent); }
.ss-metrics span { font-size: 0.8rem; color: var(--b-muted); }
.ss-metrics-lg { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: var(--b-bg-alt); }
.ss-metrics-lg div + div { border-left: 1px solid var(--b-line); }
.story-card .pf-card-visual img { object-position: center; }
@media (max-width: 575.98px) { .ss-photo-metrics { grid-template-columns: 1fr; } }

/* ── CAREERS (cr-*) ────────────────────────────────────────────────────── */
.cr-proof { justify-content: flex-start; }
.cr-proof li:first-child { padding-left: 0; }
.cr-collage { position: relative; min-height: 380px; }
.cr-collage img { position: absolute; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.cr-collage-a { top: 0; right: 0; width: 78%; aspect-ratio: 4 / 3; }
.cr-collage-b { bottom: 0; left: 0; width: 52%; aspect-ratio: 4 / 3; }
.cr-collage-card { position: absolute; right: 6%; bottom: 6%; display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border-radius: 12px; background: #fff; color: var(--b-navy); text-decoration: none; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); transition: transform 0.2s; }
.cr-collage-card:hover { transform: translateY(-3px); color: var(--b-navy); }
.cr-collage-card strong { font-size: 2.1rem; font-weight: 600; line-height: 1; }
.cr-collage-card span { font-size: 0.86rem; line-height: 1.35; color: #586181; }
.cr-collage-card i { color: var(--b-sky-ink); }
.cr-count { font-weight: 600; color: var(--b-muted); }
.cr-tabs { margin-bottom: 1.25rem; flex-wrap: wrap; overflow: visible; }
.cr-jobs { display: grid; gap: 0.75rem; }
.cr-job { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 1.4rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.cr-job:hover { border-color: rgba(45, 145, 207, 0.45); box-shadow: 0 16px 34px -26px rgba(25, 32, 81, 0.5); }
.cr-job[hidden] { display: none; }
.cr-job .hp-case-tag { margin-bottom: 0.2rem; }
.cr-job h3 { font-size: 1.1rem; margin: 0 0 0.45rem; }
.cr-job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; padding: 0; margin: 0; color: var(--b-muted); font-size: 0.9rem; }
.cr-job-meta i { color: var(--b-sky); margin-right: 0.3rem; }
.cr-job .hp-btn { flex: none; }
.cr-open { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.4rem; border: 1px dashed var(--b-line); border-radius: 12px; }
.cr-open h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.cr-open p { margin: 0; color: var(--b-muted); }
.cr-photo-tile { padding: 0; }
.cr-photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.cr-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cr-perk { display: flex; gap: 0.85rem; padding: 1.2rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; }
.cr-perk > i { flex: none; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1.1rem; }
[data-bs-theme="dark"] .cr-perk > i { color: var(--b-accent); }
.cr-perk h3 { font-size: 0.98rem; margin: 0.1rem 0 0.25rem; }
.cr-perk p { margin: 0; color: var(--b-muted); font-size: 0.88rem; line-height: 1.5; }
.cr-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; counter-reset: none; }
.cr-steps li { position: relative; padding: 1.4rem; background: var(--b-card); border: 1px solid var(--b-line); border-radius: 12px; }
.cr-steps li > i { font-size: 1.4rem; color: var(--b-sky); }
.cr-step-num { position: absolute; top: 1.1rem; right: 1.2rem; font-size: 1.6rem; font-weight: 600; color: var(--b-line); }
.cr-steps h3 { font-size: 1rem; margin: 0.7rem 0 0.35rem; }
.cr-steps p { margin: 0; color: var(--b-muted); font-size: 0.9rem; }
.cr-modal { max-width: 760px; }
.cr-modal-head { padding: 2rem 2.5rem 1.25rem; background: var(--b-bg-alt); border-bottom: 1px solid var(--b-line); }
.cr-modal-head h2 { font-size: 1.6rem; margin: 0.2rem 0 0.75rem; padding-right: 2.5rem; }
.cr-modal-head .pf-meta { margin: 0; }
.cr-modal-h { font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.06em !important; text-transform: uppercase; color: var(--b-accent); margin: 0 0 0.6rem; }
.cr-pre { white-space: pre-line; color: var(--b-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.cr-form { margin-top: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--b-line); }
.cr-form label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--b-text); margin-bottom: 0.35rem; }
.cr-form label small { font-weight: 400; color: var(--b-muted); }
.cr-form input, .cr-form textarea { width: 100%; border: 1px solid var(--b-line); background: var(--b-bg-alt); color: var(--b-text); border-radius: 8px; padding: 0.65rem 0.8rem; font-size: 0.95rem; outline: 0; }
.cr-form input[type=file] { padding: 0.5rem; }
.cr-form input:focus, .cr-form textarea:focus { border-color: var(--b-sky); box-shadow: 0 0 0 3px rgba(45, 145, 207, 0.15); background: var(--b-card); }
.cr-form .is-invalid { border-color: #dc3545; }
.cr-form-error { color: #dc3545; font-weight: 600; font-size: 0.9rem; }
.cr-form-note { text-align: center; font-size: 0.82rem; color: var(--b-muted); margin: 0.6rem 0 0; }
.cr-success { text-align: center; padding: 2rem 1rem; }
.cr-success i { font-size: 2.6rem; color: #16a34a; }
.cr-success h3 { margin: 0.8rem 0 0.3rem; }
.cr-success p { color: var(--b-muted); }
@media (max-width: 991.98px) { .cr-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-collage { min-height: 320px; } }
@media (max-width: 767.98px) {
    .cr-job { flex-direction: column; align-items: flex-start; }
    .cr-modal-head { padding: 1.5rem 1.25rem 1rem; }
    .cr-perks { grid-template-columns: 1fr; }
    .cr-collage { min-height: 260px; }
}
@media (max-width: 767.98px) { .cr-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -12px; margin-right: -12px; padding: 0 12px; } }
.hp-tech-label a { color: var(--b-accent); font-weight: 600; text-decoration: none; }
.hp-tech-label a:hover { text-decoration: underline; }
.bn-chip-ico i[class*="devicon"] { font-size: 1rem; color: var(--b-navy); }

/* ── WEBSITE CHATBOT (cb-*) ────────────────────────────────────────────── */
.cb { position: fixed; right: 20px; bottom: 20px; z-index: 1050; font-family: var(--b-body); }
.cb-launch {
    width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--b-navy); color: #fff; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px -10px rgba(25, 32, 81, 0.65); transition: transform 0.2s, background 0.2s;
}
.cb-launch:hover { background: var(--b-sky-ink); transform: translateY(-2px); }
[data-bs-theme="dark"] .cb-launch { background: var(--b-sky); }
.cb.is-open .cb-launch { transform: scale(0.9); opacity: 0; pointer-events: none; }
.cb-panel {
    position: absolute; right: 0; bottom: 0; width: 370px; height: min(560px, calc(100vh - 40px));
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px;
    box-shadow: 0 30px 70px -24px rgba(17, 22, 59, 0.55); animation: cb-in 0.2s ease;
}
.cb-panel[hidden] { display: none; }
@keyframes cb-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.cb-head { display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem 0.75rem 0.85rem 1rem; background: var(--b-navy); color: #fff; }
[data-bs-theme="dark"] .cb-head { background: #121530; }
.cb-avatar { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(255, 255, 255, 0.1); display: inline-flex; align-items: center; justify-content: center; }
.cb-avatar img { width: 16px; }
.cb-head-text { flex: 1; min-width: 0; line-height: 1.25; }
.cb-head-text strong { display: block; font-weight: 600; font-size: 0.98rem; }
.cb-head-text span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }
.cb-icon-btn { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, 0.85); cursor: pointer; }
.cb-icon-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.cb-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--b-bg-alt); }
.cb-msg { display: flex; }
.cb-user { justify-content: flex-end; }
.cb-bubble { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.cb-bot .cb-bubble { background: var(--b-card); color: var(--b-text); border: 1px solid var(--b-line); border-top-left-radius: 4px; }
.cb-user .cb-bubble { background: var(--b-navy); color: #fff; border-top-right-radius: 4px; }
[data-bs-theme="dark"] .cb-user .cb-bubble { background: #1f74ad; }
.cb-bubble a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cb-bot .cb-bubble a { color: var(--b-accent); }
.cb-li { position: relative; padding-left: 1rem; }
.cb-li::before { content: "•"; position: absolute; left: 0.2rem; color: var(--b-sky); }
.cb-typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.8rem 0.9rem; }
.cb-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--b-muted); animation: cb-dot 1s infinite ease-in-out; }
.cb-typing i:nth-child(2) { animation-delay: 0.15s; }
.cb-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes cb-dot { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.cb-suggest { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.75rem; background: var(--b-bg-alt); }
.cb-suggest[hidden] { display: none; }
.cb-suggest button { border: 1px solid var(--b-line); background: var(--b-card); color: var(--b-text); border-radius: 999px; padding: 0.35rem 0.75rem; font-size: 0.84rem; cursor: pointer; }
.cb-suggest button:hover { border-color: var(--b-sky); color: var(--b-accent); }
.cb-form { display: flex; align-items: flex-end; gap: 0.5rem; padding: 0.7rem 0.75rem; border-top: 1px solid var(--b-line); background: var(--b-card); }
.cb-form textarea {
    flex: 1; resize: none; max-height: 120px; border: 1px solid var(--b-line); border-radius: 12px; padding: 0.55rem 0.8rem;
    background: var(--b-bg-alt); color: var(--b-text); font: inherit; font-size: 0.93rem; line-height: 1.45; outline: 0;
}
.cb-form textarea:focus { border-color: var(--b-sky); box-shadow: 0 0 0 3px rgba(45, 145, 207, 0.15); }
.cb-send { width: 40px; height: 40px; flex: none; border: 0; border-radius: 10px; background: var(--b-navy); color: #fff; cursor: pointer; }
[data-bs-theme="dark"] .cb-send { background: var(--b-sky); }
.cb-send:disabled { opacity: 0.5; cursor: default; }
.cb-foot { margin: 0; padding: 0 0.9rem 0.6rem; background: var(--b-card); font-size: 0.75rem; color: var(--b-muted); text-align: center; }
.cb-foot a { color: var(--b-accent); }
@media (max-width: 575.98px) {
    .cb { right: 14px; bottom: 14px; }
    .cb-panel { position: fixed; inset: auto 8px 8px 8px; width: auto; height: min(78vh, 600px); }
}
@media (prefers-reduced-motion: reduce) { .cb-panel, .cb-typing i { animation: none; } }

/* ==========================================================================
   MOBILE MENU (< 1200px) — replaces the Bootstrap collapse.
   A "Menu" button (text + two-bar mark that folds into ×) opens a full-height
   panel under the bar: big tap rows, Services expands in place, call/email
   shortcuts, and the theme switch + "Talk to us" pinned to the bottom.
   Tablets get a 420px sheet on the right with the page dimmed behind it.
   Behaviour: js/script.js
   ========================================================================== */
.abs-nav { z-index: 1040 !important; }
.abs-nav > .container { flex-wrap: nowrap; }

.abs-burger {
    display: inline-flex; align-items: center; gap: 0.6rem; height: 42px; padding: 0 0.8rem 0 0.95rem; margin-left: auto;
    border: 1px solid var(--b-line); border-radius: 10px; background: transparent; color: var(--b-text);
    font-family: var(--b-head); font-size: 0.88rem; font-weight: 600; line-height: 1; cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.abs-burger:hover { border-color: var(--b-sky); }
.abs-burger:focus-visible { outline: 2px solid var(--b-sky); outline-offset: 2px; }
.abs-burger-text { min-width: 2.6em; text-align: left; }
.abs-burger-icon { position: relative; width: 18px; height: 12px; }
.abs-burger-icon i { position: absolute; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s, width 0.25s, top 0.25s; }
.abs-burger-icon i:first-child { top: 1px; width: 18px; }
.abs-burger-icon i:last-child { top: 9px; width: 11px; }
.abs-burger[aria-expanded="true"] { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
[data-bs-theme="dark"] .abs-burger[aria-expanded="true"] { background: var(--b-sky); border-color: var(--b-sky); }
.abs-burger[aria-expanded="true"] .abs-burger-icon i { top: 5px; width: 18px; }
.abs-burger[aria-expanded="true"] .abs-burger-icon i:first-child { transform: rotate(45deg); }
.abs-burger[aria-expanded="true"] .abs-burger-icon i:last-child { transform: rotate(-45deg); }

.abs-menu {
    position: fixed; z-index: 1035; top: var(--abs-nav-h, 64px); left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; background: var(--b-bg); overflow: hidden;
    opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.22s ease;
}
.abs-menu[hidden] { display: none; }
html.abs-menu-open .abs-menu { opacity: 1; transform: none; }
/* the logo's chevron, faint, in the lower corner */
.abs-menu::before {
    content: ""; position: absolute; right: -70px; bottom: 40px; width: 260px; height: 260px; pointer-events: none;
    background: url("../images/brand-mark.svg") no-repeat center / contain; opacity: 0.045;
}
[data-bs-theme="dark"] .abs-menu::before { background-image: url("../images/brand-mark-light.svg"); opacity: 0.05; }

.abs-menu-scroll { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0.5rem 20px 1.5rem; }
.abs-menu-list { list-style: none; margin: 0; padding: 0; }
.abs-menu-item { border-bottom: 1px solid var(--b-line); }
.abs-menu-link {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 58px; padding: 0.85rem 0;
    border: 0; background: none; text-align: left; text-decoration: none; color: var(--b-text);
    font-family: var(--b-head); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.005em;
}
.abs-menu-link i { font-size: 1rem; color: var(--b-muted); transition: transform 0.25s, color 0.2s; }
.abs-menu-link:hover, .abs-menu-link:focus-visible { color: var(--b-accent); }
.abs-menu-link:hover i { color: var(--b-accent); }
.abs-menu-link:focus-visible { outline: 2px solid var(--b-sky); outline-offset: -2px; border-radius: 6px; }
.abs-menu-group[aria-expanded="true"] i { transform: rotate(180deg); color: var(--b-accent); }
/* current page: sky tick on the left of the label */
.abs-menu-item.is-active > .abs-menu-link { color: var(--b-accent); font-weight: 600; }
.abs-menu-item.is-active > .abs-menu-link > span { position: relative; padding-left: 0.9rem; }
.abs-menu-item.is-active > .abs-menu-link > span::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 3px; border-radius: 2px; background: var(--b-sky); }

.abs-menu-sub { padding: 0 0 0.9rem; }
.abs-menu-sub[hidden] { display: none; }
.abs-menu-sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.15rem; }
.abs-menu-sub a:not(.abs-menu-all) {
    display: flex; align-items: center; gap: 0.75rem; min-height: 48px; padding: 0.4rem 0.5rem; border-radius: 10px;
    text-decoration: none; color: var(--b-text); font-size: 0.98rem; font-weight: 500; line-height: 1.3;
}
.abs-menu-sub a:not(.abs-menu-all):hover, .abs-menu-sub a.is-current { background: var(--b-tint); color: var(--b-accent); }
.abs-menu-ico { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--b-tint); color: var(--b-sky-ink); font-size: 1rem; }
[data-bs-theme="dark"] .abs-menu-ico { color: var(--b-accent); }
.abs-menu-all { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin: 0.25rem 0 0 0.5rem; font-size: 0.92rem; font-weight: 600; color: var(--b-accent); text-decoration: none; }
.abs-menu-all i { transition: transform 0.2s; }
.abs-menu-all:hover i { transform: translateX(3px); }

.abs-menu-contact { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.abs-menu-contact a { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0.85rem; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-card); text-decoration: none; color: var(--b-text); font-weight: 500; font-size: 0.95rem; overflow-wrap: anywhere; }
.abs-menu-contact a:hover { border-color: var(--b-sky); }
.abs-menu-contact i { font-size: 1.1rem; color: var(--b-accent); }
.abs-menu-contact small { display: block; font-size: 0.78rem; font-weight: 400; color: var(--b-muted); line-height: 1.2; }

.abs-menu-foot {
    position: relative; display: flex; gap: 0.6rem; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--b-line); background: var(--b-bg);
}
.abs-menu-theme { width: 50px; height: 50px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-card); color: var(--b-text); font-size: 1.05rem; }
.abs-menu-theme:hover { border-color: var(--b-sky); color: var(--b-accent); }
.abs-menu .abs-menu-cta { flex: 1; justify-content: center; min-height: 50px; font-size: 1rem !important; border-radius: 12px !important; }

/* rows fade in one after another */
.abs-menu-item, .abs-menu-contact { opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; transition-delay: calc(40ms + var(--i, 6) * 28ms); }
.abs-menu-contact { --i: 7; }
html.abs-menu-open .abs-menu-item, html.abs-menu-open .abs-menu-contact { opacity: 1; transform: none; }

/* while open: solid bar, page locked, chat bubble out of the way */
html.abs-menu-open, html.abs-menu-open body { overflow: hidden !important; }
html.abs-menu-open .abs-nav { background: var(--b-bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html.abs-menu-open .cb { display: none; }

@media (min-width: 480px) { .abs-menu-sub.is-services ul { grid-template-columns: 1fr 1fr; } }
/* tablets: a sheet on the right; the page stays visible, dimmed */
@media (min-width: 768px) {
    .abs-menu { left: auto; width: 420px; border-left: 1px solid var(--b-line); transform: translateX(16px); box-shadow: 0 0 0 100vmax rgba(10, 14, 40, 0); transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.25s ease; overflow: visible; }
    html.abs-menu-open .abs-menu { box-shadow: 0 0 0 100vmax rgba(10, 14, 40, 0.45); }
    .abs-menu-scroll, .abs-menu-foot { padding-left: 28px; padding-right: 28px; }
    .abs-menu::before { right: -40px; }
    .abs-menu-sub.is-services ul { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) { .abs-menu, .abs-burger { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
    .abs-menu, .abs-menu-item, .abs-menu-contact, .abs-burger-icon i { transition: none !important; }
}

/* ==========================================================================
   PHONE LAYOUT PASS (≤ 767px / ≤ 575px)
   Tighter gutters, full-width CTAs, compact list-style cards instead of tall
   stacked tiles, and swipeable rows for case studies.
   ========================================================================== */
@media (max-width: 767.98px) {
    /* g-5 gutters (3rem) pushed rows 12px past the screen edge */
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .row.g-5 { --bs-gutter-y: 2rem; }
    .abs-nav, .abs-nav.inner-nav, .abs-nav.scrolled { padding: 0.55rem 0 !important; }
    .abs-logo-img { height: 34px !important; max-height: 34px !important; }

    /* hero: one-line badge, equal full-width buttons */
    .hx-head .hp-badge { font-size: 0.78rem !important; padding: 0.4rem 0.8rem; margin-bottom: 1.1rem; max-width: 100%; }
    .hx-ctas, .sd-hero .hx-ctas { display: grid !important; grid-template-columns: 1fr; gap: 0.6rem; width: 100%; }
    .hx-ctas .hp-btn { width: 100%; justify-content: center; }
    .hp-head-split { margin-bottom: 1.75rem; }

    /* service cards → compact rows (icon left, text right) */
    #services .row.g-4 { --bs-gutter-y: 0.75rem; }
    .hp-svc { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 0.95rem; align-items: start; padding: 1.1rem 1.1rem 1rem; }
    .hp-svc-ico { grid-row: span 3; width: 44px; height: 44px; font-size: 1.2rem; margin: 0; border-radius: 10px; }
    .hp-svc h3 { font-size: 1.02rem; margin: 0.1rem 0 0.3rem; }
    .hp-svc p { font-size: 0.9rem; line-height: 1.55; margin-bottom: 0.5rem; }
    .hp-svc .hp-more { min-height: 0; font-size: 0.88rem; }

    /* industries → icon + name rows, two per line */
    .hp-ind { flex-direction: row; justify-content: flex-start; text-align: left; gap: 0.7rem; min-height: 64px; padding: 0.8rem 0.85rem; font-size: 0.9rem; line-height: 1.3; }
    .hp-ind i { font-size: 1.35rem; flex: none; }

    /* process → vertical timeline */
    .hp-steps { grid-template-columns: 1fr; gap: 1.25rem; }
    .hp-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 1rem; text-align: left; padding: 0; }
    .hp-step-ico { grid-row: span 3; width: 52px; height: 52px; margin: 0; font-size: 1.25rem; }
    .hp-step-num { position: static !important; grid-column: 2; justify-self: start; margin-bottom: 0.3rem; font-size: 0.75rem !important; }
    .hp-step h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }

    /* case studies → swipe sideways instead of three tall cards */
    #portfolio .row.g-4 { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; --bs-gutter-x: 0.85rem; margin-left: -12px; margin-right: -12px; padding: 0 calc(12px - var(--bs-gutter-x) * 0.5) 0.25rem; scroll-padding-left: calc(12px - var(--bs-gutter-x) * 0.5); }
    #portfolio .row.g-4::-webkit-scrollbar { display: none; }
    #portfolio .row.g-4 > [class*="col-"] { flex: 0 0 82%; max-width: 82%; scroll-snap-align: start; }
    .hp-case-img { aspect-ratio: 16 / 9; }
    .hp-case-body { padding: 1.1rem 1.2rem 1.2rem !important; }

    /* stats panel: less nesting padding */
    .hp-stats-panel { padding: 1.25rem; }
    .hp-stat { padding: 1.1rem 1rem; }
    .hp-stat strong { font-size: 1.75rem; }
    .hp-stat span { font-size: 0.85rem; }

    /* CTA band: call / WhatsApp side by side, equal width */
    .abs-cta-band .d-flex.flex-wrap.gap-3 { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0.6rem !important; }
    .abs-cta-band .d-flex.flex-wrap.gap-3 > a { justify-content: center; padding-left: 0.75rem !important; padding-right: 0.75rem !important; font-size: 0.9rem !important; white-space: nowrap; }

    /* contact page */
    .abs-map-container { aspect-ratio: auto; height: 320px; min-height: 0; }
    .abs-map-container iframe { width: 100%; height: 100%; min-height: 0 !important; }
    .abs-hero-chip { min-height: 40px; }
    .abs-ccard { display: grid !important; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; padding: 1.15rem 1.2rem !important; }
    .abs-ccard > * { grid-column: 2; }
    .abs-ccard .abs-ccard-icon { grid-column: 1; grid-row: span 3; width: 48px !important; height: 48px !important; margin: 0 !important; font-size: 1.15rem !important; }
    .abs-ccard-title { margin-top: 0 !important; }

    /* footer: brand, then link groups two per row, tighter rows */
    .abs-footer { padding-top: 44px !important; }
    .abs-footer .row.g-5 { --bs-gutter-y: 1.75rem; }
    .abs-footer .row.g-5 > .col-12.col-lg-2:nth-last-child(2) { flex: 0 0 50%; max-width: 50%; }
    .abs-footer .row.g-5 > .col-12.col-lg-2:last-child { flex: 0 0 50%; max-width: 50%; }
    .abs-footer-links { gap: 0.1rem !important; }
    .abs-footer-links a { padding: 0.4rem 0; overflow-wrap: anywhere; }
    .abs-footer-bottom { text-align: center; }
    .abs-footer-bottom > .d-flex { justify-content: center !important; gap: 0.25rem !important; }
    .abs-footer-bottom .d-flex.gap-4 { gap: 1rem !important; justify-content: center; }
}
@media (max-width: 420px) {
    /* contact column holds a long email: give it the full row on narrow phones */
    .abs-footer .row.g-5 > .col-12.col-lg-2:nth-last-child(2),
    .abs-footer .row.g-5 > .col-12.col-lg-2:last-child { flex: 0 0 100%; max-width: 100%; }
    .abs-footer .row.g-5 > .col-12.col-lg-2:nth-last-child(2) .abs-footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
}
@media (max-width: 359.98px) {
    .abs-burger-text { display: none; }
    .abs-burger { padding: 0 0.75rem; }
    .hp-ind { font-size: 0.84rem; padding: 0.7rem; }
    .abs-cta-band .d-flex.flex-wrap.gap-3 { grid-template-columns: 1fr; }
}
/* desktop bar: current section */
.abs-nav .nav-link.active, .abs-nav.inner-nav .nav-link.active { color: var(--b-accent) !important; }
@media (max-width: 767.98px) {
    .abs-info-item > div:last-child { min-width: 0; }
    .abs-info-item .val { overflow-wrap: anywhere; }
    .hp-tech-label a { display: inline-block; padding: 0.5rem 0.25rem; margin: -0.5rem 0; }
}

/* ── INDUSTRY POPUP (ix-modal) ──────────────────────────────────────────────
   Bootstrap modal: photo + stats on the left, details on the right; on phones
   it fills the screen with the photo on top and the actions pinned below. */
.ix-tile { cursor: pointer; }
.ix-modal .modal-content { position: relative; border: 0; border-radius: 18px; background: var(--b-card); color: var(--b-text); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.modal-backdrop.show { opacity: 0.7; }
.ix-modal .modal-body { padding: 0; }
.ix-m-close { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 5; width: 40px; height: 40px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.94); color: var(--b-navy); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
.ix-m-close:hover { background: #fff; }
.ix-m-close:focus-visible { outline: 2px solid var(--b-sky); outline-offset: 2px; }
.ix-m-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; min-height: 100%; }
.ix-m-photo { aspect-ratio: auto; min-height: 100%; border-radius: 0; box-shadow: none; }
.ix-m-body { padding: 2.25rem 2.5rem 2rem; }
.ix-m-title { font-family: var(--b-head); font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 0.4rem 0 0.75rem; padding-right: 2.5rem; color: var(--b-text); }
.ix-m-lead { color: var(--b-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 1.4rem; }
.ix-m-h { font-family: var(--b-head); font-size: 0.95rem; font-weight: 600; color: var(--b-text); margin: 0 0 0.6rem; }
.ix-modal .ix-checks { margin: 0 0 1.4rem; font-size: 0.93rem; }
.ix-modal .ix-solutions span { background: var(--b-bg-alt); }
.ix-m-foot { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.9rem 1.25rem; border-top: 1px solid var(--b-line); background: var(--b-card); }
.ix-m-foot > * { margin: 0; }
.ix-m-pager { display: flex; gap: 0.4rem; min-width: 0; }
.ix-m-pager button { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 44px; height: 44px; padding: 0 0.85rem; justify-content: center; border: 1px solid var(--b-line); border-radius: 10px; background: transparent; color: var(--b-text); font-size: 0.9rem; font-weight: 500; min-width: 0; }
.ix-m-pager button:first-child { flex: none; width: 44px; padding: 0; }
.ix-m-pager button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ix-m-pager button:hover { border-color: var(--b-sky); color: var(--b-accent); }
.ix-m-cta { flex: none; }

@media (max-width: 991.98px) {
    .ix-m-grid { grid-template-columns: 1fr; }
    .ix-m-photo { aspect-ratio: 16 / 9; min-height: 0; }
    .ix-m-body { padding: 1.5rem 1.5rem 1.75rem; }
    .ix-m-title { padding-right: 0; }
}
@media (max-width: 767.98px) {
    .ix-modal .modal-content { border-radius: 0; }
    .ix-m-photo { aspect-ratio: 16 / 10; }
    .ix-m-body { padding: 1.25rem 16px 1.5rem; }
    .ix-m-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
    .ix-m-pager button span { display: none; }
    .ix-m-pager button { width: 44px; padding: 0; }
    .ix-m-cta { flex: 1; justify-content: center; padding-left: 0.75rem !important; padding-right: 0.75rem !important; font-size: 0.9rem !important; min-width: 0; }
    .ix-photo-stats { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; }
}
[data-bs-theme="dark"] .ix-modal .hp-btn-navy { background: var(--b-sky); }
[data-bs-theme="dark"] .ix-modal .hp-btn-navy:hover { background: var(--b-sky-ink); }

/* ── LEGAL PAGES (lg-*): Privacy Policy, Terms & Conditions ─────────────────
   Content lives in Admin → Pages (custom HTML block). Sticky contents list on
   desktop, collapsible on phones; a readable measure for long text. */
.lg-wrap { padding: 56px 0 80px; background: var(--b-bg); }
.lg-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.lg-toc { position: sticky; top: 96px; padding: 1rem 1.1rem; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-bg-alt); font-size: 0.9rem; }
.lg-toc summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-family: var(--b-head); font-weight: 600; color: var(--b-text); }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: 0.85rem; color: var(--b-muted); transition: transform 0.2s; }
.lg-toc[open] summary::after { transform: rotate(180deg); }
.lg-toc ol { margin: 0.75rem 0 0; padding: 0; list-style: none; counter-reset: lg; display: grid; gap: 0.1rem; }
.lg-toc li { counter-increment: lg; }
.lg-toc a { display: flex; gap: 0.55rem; padding: 0.3rem 0.4rem; border-radius: 6px; color: var(--b-muted); text-decoration: none; line-height: 1.35; }
.lg-toc a::before { content: counter(lg); min-width: 1.2rem; color: var(--b-accent); font-variant-numeric: tabular-nums; }
.lg-toc a:hover { color: var(--b-accent); background: var(--b-tint); }

.lg-doc { max-width: 760px; font-size: 1rem; line-height: 1.75; color: var(--b-text); }
.lg-doc p, .lg-doc li { color: color-mix(in srgb, var(--b-text) 86%, var(--b-bg)); }
.lg-doc a { color: var(--b-accent); text-underline-offset: 2px; }
.lg-meta { display: inline-block; margin-bottom: 1rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--b-tint); color: var(--b-accent) !important; font-size: 0.85rem; font-weight: 500; }
.lg-intro { font-size: 1.08rem; }
.lg-doc h2 { font-family: var(--b-head); font-size: 1.3rem; font-weight: 600; color: var(--b-text); margin: 2.5rem 0 0.75rem; padding-top: 1.75rem; border-top: 1px solid var(--b-line); scroll-margin-top: 90px; }
.lg-doc h3 { font-family: var(--b-head); font-size: 1.02rem; font-weight: 600; color: var(--b-text); margin: 1.4rem 0 0.5rem; }
.lg-doc ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.lg-doc li { margin-bottom: 0.45rem; }
.lg-doc li::marker { color: var(--b-sky); }
.lg-doc strong { color: var(--b-text); font-weight: 600; }
.lg-doc code { font-size: 0.88em; color: var(--b-accent); }
.lg-table-wrap { overflow-x: auto; margin: 0.5rem 0 1.25rem; border: 1px solid var(--b-line); border-radius: 12px; }
.lg-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.55; }
.lg-table th { text-align: left; font-family: var(--b-head); font-weight: 600; color: var(--b-text); background: var(--b-bg-alt); padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--b-line); }
.lg-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--b-line); vertical-align: top; color: color-mix(in srgb, var(--b-text) 86%, var(--b-bg)); }
.lg-table tr:last-child td { border-bottom: 0; }
.lg-table td:first-child { font-weight: 500; color: var(--b-text); min-width: 140px; }
.lg-contact { padding: 1.25rem 1.4rem; border: 1px solid var(--b-line); border-left: 3px solid var(--b-sky); border-radius: 12px; background: var(--b-bg-alt); }
.lg-contact p { margin-bottom: 0.4rem; }
.lg-contact p:last-child { margin-bottom: 0; }
.lg-small { font-size: 0.88rem; color: var(--b-muted) !important; }

@media (max-width: 991.98px) {
    .lg-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .lg-toc { position: static; }
    .lg-toc ol { grid-template-columns: 1fr 1fr; column-gap: 0.75rem; }
}
@media (max-width: 575.98px) {
    .lg-wrap { padding: 32px 0 56px; }
    .lg-toc ol { grid-template-columns: 1fr; }
    .lg-doc { font-size: 0.97rem; }
    .lg-doc h2 { font-size: 1.15rem; margin-top: 2rem; padding-top: 1.4rem; }
    /* tables become stacked cards on phones */
    .lg-table-wrap { border: 0; overflow: visible; }
    .lg-table thead { display: none; }
    .lg-table, .lg-table tbody, .lg-table tr, .lg-table td { display: block; width: 100%; }
    .lg-table tr { border: 1px solid var(--b-line); border-radius: 10px; margin-bottom: 0.6rem; overflow: hidden; }
    .lg-table td { border: 0; padding: 0.55rem 0.85rem; }
    .lg-table td:first-child { background: var(--b-bg-alt); }
}
@media (max-width: 767.98px) { .modal-dialog.modal-fullscreen-md-down { margin: 0 !important; } }

/* ── SERVICES OVERVIEW (sx-*): SEO copy + every service ─────────────────── */
.sx-overview p { color: var(--b-muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem; }
.sx-overview p a { color: var(--b-accent); }
.sx-list { border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-card); padding: 1.25rem 1.25rem 0.75rem; }
.sx-list h3 { font-family: var(--b-head); font-size: 1rem; font-weight: 600; color: var(--b-text); margin: 0 0 0.5rem; }
.sx-list ul { list-style: none; margin: 0; padding: 0; }
.sx-list li + li { border-top: 1px solid var(--b-line); }
.sx-list a { display: flex; align-items: center; gap: 0.7rem; min-height: 46px; padding: 0.45rem 0.25rem; color: var(--b-text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.sx-list a i:first-child { color: var(--b-accent); font-size: 1.05rem; }
.sx-list a i:last-child { color: var(--b-muted); font-size: 0.85rem; transition: transform 0.2s; }
.sx-list a:hover { color: var(--b-accent); }
.sx-list a:hover i:last-child { transform: translateX(3px); color: var(--b-accent); }
