/* --- 0. Fonts (self-hosted Inter variable) ------------------------------ */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   ITS Global - design system
   One hand-written stylesheet. No framework, no build step, no runtime cost.
   Sections: 1 tokens  2 base  3 layout  4 typography  5 buttons  6 cards
             7 header  8 hero  9 components  10 forms  11 footer  12 admin
             13 utilities  14 motion  15 responsive
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
    /* Brand */
    --navy:        #08111F;   /* primary dark   */
    --navy-700:    #0D1830;   /* secondary navy */
    --navy-600:    #16233f;
    --blue:        #2563EB;
    --blue-600:    #1d4ed8;
    --blue-400:    #60a5fa;
    --cyan:        #06B6D4;
    --cyan-400:    #22d3ee;

    /* Neutrals */
    --white:       #FFFFFF;
    --bg:          #FFFFFF;
    --bg-soft:     #F8FAFC;
    --bg-tint:     #F1F5F9;
    --border:      #E2E8F0;
    --border-soft: #EEF2F7;
    --text:        #0F172A;
    --text-soft:   #334155;
    --muted:       #64748B;
    --muted-light: #94A3B8;

    /* On-dark */
    --on-dark:       #E8EDF6;
    --on-dark-muted: #9AA8C0;
    --on-dark-border: rgba(255, 255, 255, .10);
    --on-dark-surface: rgba(255, 255, 255, .045);

    /* Status */
    --success:     #059669;
    --success-bg:  #ECFDF5;
    --danger:      #DC2626;
    --danger-bg:   #FEF2F2;
    --warning:     #B45309;
    --warning-bg:  #FFFBEB;

    /* Typography */
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Scale - fluid between 400px and 1280px viewports */
    --fs-display: clamp(2.35rem, 1.45rem + 3.6vw, 4rem);
    --fs-h1:      clamp(2rem, 1.4rem + 2.5vw, 3.15rem);
    --fs-h2:      clamp(1.6rem, 1.24rem + 1.5vw, 2.35rem);
    --fs-h3:      clamp(1.22rem, 1.08rem + .6vw, 1.5rem);
    --fs-h4:      clamp(1.05rem, 1rem + .25vw, 1.18rem);
    --fs-lead:    clamp(1.03rem, .98rem + .38vw, 1.22rem);
    --fs-body:    1rem;
    --fs-sm:      .9375rem;
    --fs-xs:      .8125rem;

    /* Spacing */
    --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;
    --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
    --space-7: 2.5rem;  --space-8: 3rem;    --space-9: 4rem;
    --space-10: 5rem;   --space-12: 7rem;
    --section-y: clamp(3.75rem, 2.5rem + 5vw, 6.5rem);

    /* Shape */
    --radius-sm:  8px;
    --radius:     12px;
    --radius-lg:  16px;
    --radius-xl:  22px;
    --radius-pill: 999px;

    /* Elevation - low-contrast, cool-tinted */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow:    0 4px 14px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .04);
    --shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, .16), 0 4px 12px rgba(15, 23, 42, .06);
    --shadow-blue: 0 10px 26px -8px rgba(37, 99, 235, .45);

    /* Motion */
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur: .22s;

    /* Layout */
    --container: 1200px;
    --container-narrow: 780px;
    --header-h: 76px;
    --z-header: 100;
    --z-menu: 110;
    --z-overlay: 120;
}

/* --- 2. Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    overflow-x: hidden;
}

img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
img { background-color: var(--bg-tint); }

a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-600); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-7) 0; }

::selection { background: rgba(37, 99, 235, .16); color: var(--text); }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}
.on-dark :focus-visible,
.site-header--dark :focus-visible { outline-color: var(--cyan-400); }

.skip-link {
    position: absolute; left: 12px; top: -100px;
    z-index: 999; padding: .7rem 1.1rem;
    background: var(--navy); color: #fff;
    border-radius: var(--radius-sm); font-weight: 600;
    transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --- 3. Layout ---------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--bordered { border-top: 1px solid var(--border); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-8); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.stack > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* --- 4. Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--space-4);
    color: var(--text);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.021em;
    text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.025em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: var(--muted);
}
.on-dark .lead, .section--dark .lead { color: var(--on-dark-muted); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: var(--space-3);
}
.eyebrow::before {
    content: ""; width: 22px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--cyan-400); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head--split {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: var(--space-6); max-width: none;
}
.section-head--split > div { max-width: 640px; }

.prose { color: var(--text-soft); }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 var(--space-4); }
.prose li + li { margin-top: .4rem; }
.prose img { border-radius: var(--radius); margin-block: var(--space-5); }
.prose blockquote {
    margin: var(--space-6) 0; padding: var(--space-4) var(--space-5);
    border-left: 3px solid var(--blue);
    background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0;
    font-size: var(--fs-lead); color: var(--text);
}
.prose code {
    font-family: var(--font-mono); font-size: .875em;
    background: var(--bg-tint); padding: .15em .4em; border-radius: 5px;
}
.prose pre {
    background: var(--navy); color: var(--on-dark); padding: var(--space-5);
    border-radius: var(--radius); overflow-x: auto; font-size: var(--fs-sm);
}
.prose pre code { background: none; padding: 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--border); text-align: left; }

.text-gradient {
    background: linear-gradient(96deg, var(--blue-400) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
    --btn-bg: var(--blue);
    --btn-fg: #fff;
    --btn-border: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .78rem 1.4rem;
    font-size: var(--fs-sm); font-weight: 600; line-height: 1.2;
    letter-spacing: -.005em;
    color: var(--btn-fg); background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: var(--radius-sm);
    text-align: center; white-space: nowrap;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
                color var(--dur) var(--ease), transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 17px; height: 17px; flex: none; }
.btn .icon--arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary { box-shadow: var(--shadow-blue); }
.btn--primary:hover { --btn-bg: var(--blue-600); }

.btn--secondary {
    --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--border);
    box-shadow: var(--shadow-xs);
}
.btn--secondary:hover { --btn-bg: var(--bg-soft); --btn-border: var(--muted-light); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue); --btn-border: transparent; padding-inline: .5rem; }
.btn--ghost:hover { --btn-fg: var(--blue-600); transform: none; }

.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--navy-600); }

.on-dark .btn--secondary, .section--dark .btn--secondary,
.hero .btn--secondary, .cta-band .btn--secondary, .media-panel .btn--secondary {
    --btn-fg: var(--on-dark); --btn-border: rgba(255,255,255,.22); box-shadow: none;
}
.on-dark .btn--secondary:hover, .section--dark .btn--secondary:hover,
.hero .btn--secondary:hover, .cta-band .btn--secondary:hover, .media-panel .btn--secondary:hover {
    --btn-bg: rgba(255,255,255,.08); --btn-border: rgba(255,255,255,.34);
}
.on-dark .btn--ghost, .section--dark .btn--ghost,
.hero .btn--ghost, .cta-band .btn--ghost { --btn-fg: var(--cyan-400); }
.hero .link-arrow, .cta-band .link-arrow, .media-panel .link-arrow { color: var(--cyan-400); }

.btn--lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; font-size: var(--fs-sm);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --- 6. Cards ----------------------------------------------------------- */
.card {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--space-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}
.card h3, .card h4 { margin-bottom: var(--space-2); }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card--hover:hover { border-color: rgba(37,99,235,.35); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card__foot { margin-top: auto; padding-top: var(--space-4); }
.card--flat { border-color: var(--border-soft); background: var(--bg-soft); }
.card--pad-lg { padding: var(--space-6); }

/* Whole-card link: the heading anchor stretches over the card. */
.card--linked { cursor: pointer; }
.card--linked .card-link::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
}
.card--linked .card-link { color: inherit; }
.card--linked:hover .card-link { color: var(--blue); }

.card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; flex: none;
    margin-bottom: var(--space-4);
    border-radius: var(--radius);
    background: linear-gradient(150deg, rgba(37,99,235,.12), rgba(6,182,212,.12));
    color: var(--blue);
    border: 1px solid rgba(37,99,235,.14);
}
.card-icon .icon { width: 22px; height: 22px; }
.card-icon--cyan { color: var(--cyan); }
.card-icon--sm { width: 38px; height: 38px; margin-bottom: var(--space-3); border-radius: var(--radius-sm); }
.card-icon--sm .icon { width: 18px; height: 18px; }

.section--dark .card, .on-dark .card {
    background: var(--on-dark-surface); border-color: var(--on-dark-border); color: var(--on-dark-muted);
}
.section--dark .card h3, .section--dark .card h4,
.on-dark .card h3, .on-dark .card h4 { color: var(--white); }
.section--dark .card p, .on-dark .card p { color: var(--on-dark-muted); }
.section--dark .card-icon, .on-dark .card-icon {
    background: rgba(255,255,255,.06); border-color: var(--on-dark-border); color: var(--cyan-400);
}
.section--dark .card--hover:hover, .on-dark .card--hover:hover {
    border-color: rgba(34,211,238,.4); background: rgba(255,255,255,.07);
}

.badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .25rem .6rem;
    font-size: var(--fs-xs); font-weight: 600; line-height: 1.5;
    letter-spacing: .01em;
    border-radius: var(--radius-pill);
    background: var(--bg-tint); color: var(--muted);
    border: 1px solid var(--border);
}
.badge--blue { background: rgba(37,99,235,.09); color: var(--blue); border-color: rgba(37,99,235,.2); }
.badge--cyan { background: rgba(6,182,212,.1); color: #0e7490; border-color: rgba(6,182,212,.24); }
.badge--success { background: var(--success-bg); color: var(--success); border-color: rgba(5,150,105,.22); }
.badge--warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(180,83,9,.22); }
.badge--danger { background: var(--danger-bg); color: var(--danger); border-color: rgba(220,38,38,.2); }
.badge .icon { width: 13px; height: 13px; }
.section--dark .badge, .on-dark .badge, .hero .badge {
    background: rgba(255,255,255,.07); border-color: var(--on-dark-border); color: var(--on-dark-muted);
}
.hero .badge--cyan { background: rgba(6,182,212,.16); color: var(--cyan-400); border-color: rgba(6,182,212,.3); }
.hero .badge .icon { color: inherit; }

/* --- 7. Header and navigation ------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: var(--z-header);
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 20px rgba(15,23,42,.06);
}
.site-header__inner {
    display: flex; align-items: center; gap: var(--space-5);
    min-height: var(--header-h);
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.logo__mark {
    display: grid; place-items: center;
    width: 36px; height: 36px; flex: none;
    border-radius: 10px;
    background: linear-gradient(140deg, var(--blue) 0%, var(--cyan) 100%);
    color: #fff; font-weight: 800; font-size: .84rem; letter-spacing: -.03em;
    box-shadow: 0 4px 12px -3px rgba(37,99,235,.5);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
    font-size: 1.06rem; font-weight: 700; letter-spacing: -.028em; color: var(--text);
}
.logo__tag {
    font-size: .6rem; font-weight: 600; letter-spacing: .13em;
    text-transform: uppercase; color: var(--muted-light);
}
.site-header--dark .logo__name { color: #fff; }
.site-footer .logo__name { color: #fff; }

/* Primary nav */
.nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .55rem .8rem;
    font-size: var(--fs-sm); font-weight: 550; color: var(--text-soft);
    border-radius: var(--radius-sm);
    background: none; border: 0;
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--text); background: var(--bg-tint); }
.nav__link.is-active { color: var(--blue); }
.nav__link .icon { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

/* Mega menu */
.megamenu {
    position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    width: min(1260px, calc(100vw - 2.5rem));
    z-index: var(--z-menu);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__item.is-open .megamenu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.megamenu__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 200px; gap: var(--space-4); }
.megamenu__col--lead .megamenu__heading .icon { color: var(--cyan); }
.megamenu__col--lead { position: relative; }
.megamenu__col--lead::after {
    content: "Core"; position: absolute; top: -2px; right: 0;
    font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); background: rgba(37,99,235,.1);
    padding: .12rem .38rem; border-radius: 3px;
}
@media (max-width: 1320px) {
    .megamenu { width: min(900px, calc(100vw - 2.5rem)); }
    .megamenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
    .megamenu__promo { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .megamenu__promo p { flex: 1; }
    .megamenu__promo .btn { margin-top: 0; }
}
.megamenu__col { min-width: 0; }
.megamenu__heading {
    display: flex; align-items: center; gap: .5rem;
    margin: 0 0 var(--space-3); padding-bottom: .6rem;
    border-bottom: 1px solid var(--border-soft);
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.megamenu__heading .icon { width: 15px; height: 15px; color: var(--blue); }
.megamenu__list { list-style: none; margin: 0; padding: 0; }
.megamenu__link {
    display: flex; gap: .7rem; align-items: flex-start;
    padding: .5rem .6rem; margin-inline: -.6rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: background-color var(--dur) var(--ease);
}
.megamenu__link:hover, .megamenu__link:focus-visible { background: var(--bg-soft); color: var(--text); }
.megamenu__link .icon { width: 17px; height: 17px; margin-top: .18rem; flex: none; color: var(--muted-light); transition: color var(--dur) var(--ease); }
.megamenu__link:hover .icon { color: var(--blue); }
.megamenu__label { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.megamenu__desc { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.megamenu__footer {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    margin-top: var(--space-5); padding-top: var(--space-4);
    border-top: 1px solid var(--border-soft);
}
.megamenu__footer p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

/* Mobile controls */
.nav-toggle {
    display: none;
    width: 42px; height: 42px; flex: none;
    align-items: center; justify-content: center;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text);
}
.nav-toggle .icon { width: 21px; height: 21px; }
.nav-toggle:hover { background: var(--bg-soft); }

/* No-JavaScript fallback navigation */
.nav-noscript {
    display: flex; flex-wrap: wrap; gap: .25rem .5rem;
    padding: .35rem 0 .85rem;
    border-top: 1px solid var(--border);
}
.nav-noscript a {
    padding: .5rem .7rem; min-height: 40px;
    display: inline-flex; align-items: center;
    font-size: var(--fs-sm); font-weight: 550; color: var(--text-soft);
    border-radius: var(--radius-sm);
}
.nav-noscript a:hover { background: var(--bg-tint); color: var(--blue); }
.no-js .nav-toggle { display: none; }

/* Mobile drawer */
.mobile-nav {
    position: fixed; inset: 0; z-index: var(--z-overlay);
    display: flex; flex-direction: column;
    background: var(--white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s var(--ease-out), visibility .3s;
    overscroll-behavior: contain;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    padding: 1rem clamp(1.15rem, 4vw, 2rem);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-h);
}
.mobile-nav__body {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: var(--space-4) clamp(1.15rem, 4vw, 2rem) var(--space-6);
}
.mobile-nav__foot {
    padding: var(--space-4) clamp(1.15rem, 4vw, 2rem);
    padding-bottom: max(var(--space-4), env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}
.mobile-nav__link {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-3);
    width: 100%; min-height: 52px;
    padding: .5rem .25rem;
    font-size: 1.02rem; font-weight: 600; color: var(--text);
    background: none; border: 0; border-bottom: 1px solid var(--border-soft);
    text-align: left;
}
.mobile-nav__link .icon { width: 19px; height: 19px; color: var(--muted-light); transition: transform var(--dur) var(--ease); }
.mobile-nav__link[aria-expanded="true"] { color: var(--blue); }
.mobile-nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--blue); }
.mobile-nav__link.is-active { color: var(--blue); }

.mobile-nav__panel { display: none; padding: .25rem 0 .75rem; }
.mobile-nav__panel.is-open { display: block; }
.mobile-nav__group + .mobile-nav__group { margin-top: var(--space-4); }
.mobile-nav__group-title {
    display: flex; align-items: center; gap: .45rem;
    margin: 0 0 .35rem;
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.mobile-nav__group-title .icon { width: 14px; height: 14px; color: var(--blue); }
.mobile-nav__sub { list-style: none; margin: 0; padding: 0; }
.mobile-nav__sub a {
    display: flex; align-items: center; gap: .6rem;
    min-height: 46px; padding: .35rem .6rem;
    font-size: var(--fs-sm); font-weight: 500; color: var(--text-soft);
    border-radius: var(--radius-sm);
}
.mobile-nav__sub a:hover, .mobile-nav__sub a.is-active { background: var(--bg-soft); color: var(--blue); }
.mobile-nav__sub .icon { width: 16px; height: 16px; color: var(--muted-light); flex: none; }
.mobile-nav__contact { display: grid; gap: .4rem; margin-top: var(--space-4); font-size: var(--fs-sm); }
.mobile-nav__contact a { display: flex; align-items: center; gap: .55rem; color: var(--muted); min-height: 40px; }
.mobile-nav__contact .icon { width: 16px; height: 16px; }

body.nav-open { overflow: hidden; }

/* --- 8. Hero ------------------------------------------------------------ */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--on-dark);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(58% 78% at 78% 4%, rgba(37,99,235,.30) 0%, transparent 62%),
        radial-gradient(46% 62% at 8% 96%, rgba(6,182,212,.16) 0%, transparent 60%),
        linear-gradient(168deg, #0B1220 0%, #101a30 52%, #0B1220 100%);
}
/* Faint engineering grid - decorative, masked so it fades out */
.hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 62px 62px;
    -webkit-mask-image: radial-gradient(78% 70% at 50% 22%, #000 0%, transparent 78%);
    mask-image: radial-gradient(78% 70% at 50% 22%, #000 0%, transparent 78%);
    opacity: .75;
}
.hero__inner {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: clamp(3.5rem, 2.5rem + 6vw, 7rem);
}
/* When capability tiles follow, the hero does not need its full bottom space. */
.hero__inner:has(+ .hero-tiles) { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero--simple .hero__inner { grid-template-columns: 1fr; max-width: 860px; }
.hero h1 { color: #fff; font-size: var(--fs-display); margin-bottom: var(--space-5); }
.hero--page h1 { font-size: var(--fs-h1); }
.hero p.lead { color: var(--on-dark-muted); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__note {
    display: flex; align-items: center; gap: .5rem;
    margin-top: var(--space-5);
    font-size: var(--fs-sm); color: var(--on-dark-muted);
}
.hero__note .icon { width: 16px; height: 16px; color: var(--cyan-400); flex: none; }

.hero-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    max-width: 100%;
    padding: .35rem .85rem .35rem .4rem;
    margin-bottom: var(--space-5);
    font-size: var(--fs-xs); font-weight: 550; color: var(--on-dark-muted);
    background: rgba(255,255,255,.06);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--radius-pill);
}
.hero-pill strong {
    display: inline-flex; align-items: center; padding: .12rem .55rem;
    white-space: nowrap; flex: none;
    font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: #fff; background: linear-gradient(120deg, var(--blue), var(--cyan));
    border-radius: var(--radius-pill);
}

/* Abstract product visual - pure CSS/SVG, no image weight */
.hero-visual { position: relative; }
.hero-visual__panel {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.13);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}
.hero-visual__bar {
    display: flex; align-items: center; gap: .4rem;
    padding-bottom: var(--space-3); margin-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,.09);
}
.hero-visual__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.hero-visual__dot:nth-child(1) { background: rgba(239,68,68,.55); }
.hero-visual__dot:nth-child(2) { background: rgba(245,158,11,.55); }
.hero-visual__dot:nth-child(3) { background: rgba(16,185,129,.55); }
.hero-visual__title {
    margin-left: auto; font-size: .68rem; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.35);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: var(--space-4); }
.hero-stat {
    padding: .7rem .75rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
}
.hero-stat__label {
    font-size: .625rem; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.42); margin-bottom: .15rem;
}
.hero-stat__value { font-size: 1.02rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero-stat__value span { font-size: .7rem; color: var(--cyan-400); margin-left: .2rem; font-weight: 600; }

.hero-chart { display: flex; align-items: flex-end; gap: .38rem; height: 92px; padding-top: .5rem; }
.hero-chart__bar {
    flex: 1; border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(37,99,235,.85), rgba(6,182,212,.35));
    transform-origin: bottom;
    animation: bar-rise .9s var(--ease-out) backwards;
}
.hero-chart__bar:last-child { background: linear-gradient(180deg, var(--cyan-400), rgba(6,182,212,.4)); }

.hero-visual__rows { display: grid; gap: .5rem; margin-top: var(--space-4); }
.hero-visual__row {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .7rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs); color: rgba(255,255,255,.72);
}
.hero-visual__row .icon { width: 15px; height: 15px; color: var(--cyan-400); flex: none; }
.hero-visual__row span:last-child { margin-left: auto; color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }

.hero-visual__float {
    position: absolute; right: -14px; bottom: -18px;
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem .9rem;
    background: rgba(11,18,32,.92);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    box-shadow: 0 16px 36px -14px rgba(0,0,0,.8);
    font-size: var(--fs-xs);
}
.hero-visual__float .icon { width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: rgba(6,182,212,.16); color: var(--cyan-400); }
.hero-visual__float strong { display: block; color: #fff; font-size: var(--fs-sm); line-height: 1.3; }
.hero-visual__float span { color: rgba(255,255,255,.5); }

/* Breadcrumbs */
.breadcrumbs { padding-block: .9rem; font-size: var(--fs-xs); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: .35rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 550; }
.breadcrumbs .icon { width: 13px; height: 13px; color: var(--muted-light); }
.breadcrumbs--on-dark { border-bottom: 1px solid rgba(255,255,255,.08); }
.breadcrumbs--on-dark li, .breadcrumbs--on-dark a { color: rgba(255,255,255,.55); }
.breadcrumbs--on-dark a:hover { color: var(--cyan-400); }
.breadcrumbs--on-dark [aria-current="page"] { color: rgba(255,255,255,.9); }

/* --- 9. Components ------------------------------------------------------ */

/* Capability strip */
.capability-strip { border-block: 1px solid var(--border); background: var(--bg-soft); }
.capability-strip__inner {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-4); padding-block: var(--space-5);
}
.capability {
    display: flex; flex-direction: column; align-items: center; gap: .55rem;
    text-align: center; color: var(--text-soft);
    padding: .4rem;
    border-radius: var(--radius);
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
a.capability:hover { color: var(--blue); background: var(--white); }
.capability .icon { width: 24px; height: 24px; color: var(--blue); }
.capability span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }

/* Division cards */
.division {
    display: flex; flex-direction: column;
    padding: var(--space-6);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.division::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.division:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.division:hover::before { transform: scaleX(1); }
.division__list { list-style: none; margin: var(--space-4) 0 var(--space-5); padding: 0; display: grid; gap: .45rem; }
.division__list li { display: flex; align-items: flex-start; gap: .5rem; font-size: var(--fs-sm); color: var(--muted); }
.division__list .icon { width: 15px; height: 15px; color: var(--cyan); margin-top: .3rem; flex: none; }
.division__foot { margin-top: auto; padding-top: var(--space-3); }

/* Feature list with check marks */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--fs-sm); }
.checklist .icon {
    width: 20px; height: 20px; flex: none; margin-top: .1rem; padding: 2.5px;
    color: var(--blue); background: rgba(37,99,235,.1); border-radius: 50%;
}
.checklist--cyan .icon { color: #0e7490; background: rgba(6,182,212,.13); }
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem var(--space-5); }
.section--dark .checklist .icon, .on-dark .checklist .icon,
.media-panel .checklist .icon, .sidebar__block--dark .checklist .icon {
    color: var(--cyan-400); background: rgba(6,182,212,.15);
}
.media-panel .checklist li { color: var(--on-dark-muted); }

/* Numbered process timeline */
.process { position: relative; display: grid; gap: var(--space-5); }
.process--rail::before {
    content: ""; position: absolute; left: 27px; top: 42px; bottom: 42px; width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--cyan), transparent);
    opacity: .28;
}
.process__step {
    position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr);
    gap: var(--space-4); align-items: start;
}
.process__num {
    display: grid; place-items: center;
    width: 56px; height: 56px; flex: none;
    font-size: 1.02rem; font-weight: 700; letter-spacing: -.03em;
    color: var(--blue);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative; z-index: 1;
}
.process__step:hover .process__num { border-color: rgba(37,99,235,.4); color: var(--blue-600); }
.process__body h3 { margin-bottom: .3rem; font-size: var(--fs-h4); }
.process__body p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
/* Cap the measure: full-width paragraphs on a 1440px screen are hard to read. */
.process__body p, .process__body .lead { max-width: 78ch; }
.process__body .price-card__section-label {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-soft);
    max-width: none;
}
.section--dark .process__num, .on-dark .process__num {
    background: rgba(255,255,255,.06); border-color: var(--on-dark-border); color: var(--cyan-400); box-shadow: none;
}

/* Horizontal step cards */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.step-card { position: relative; padding: var(--space-5); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-card__num {
    font-size: .72rem; font-weight: 700; letter-spacing: .1em;
    color: var(--blue); margin-bottom: .6rem; display: block;
}
.step-card h3 { font-size: var(--fs-h4); margin-bottom: .35rem; }
.step-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-6); }
.filter-btn {
    padding: .5rem 1rem;
    font-size: var(--fs-sm); font-weight: 550; color: var(--text-soft);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--muted-light); background: var(--bg-soft); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.work-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.work-card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.work-card__media {
    position: relative; aspect-ratio: 16 / 10; overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, #16233f 100%);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.work-card:hover .work-card__media img { transform: scale(1.035); }
.work-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.work-card h3 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.work-card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-4); }
.work-card__foot {
    margin-top: auto; padding-top: var(--space-4);
    border-top: 1px solid var(--border-soft);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.work-card__go {
    display: grid; place-items: center; flex: none;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--border); color: var(--muted);
    transition: all var(--dur) var(--ease);
}
.work-card__go .icon { width: 15px; height: 15px; }
.work-card:hover .work-card__go { background: var(--blue); border-color: var(--blue); color: #fff; }
.work-card__cat { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--space-4); }

/* Placeholder artwork for projects without a cover image */
.media-placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background:
        radial-gradient(70% 90% at 74% 8%, rgba(37,99,235,.35) 0%, transparent 60%),
        radial-gradient(60% 70% at 12% 92%, rgba(6,182,212,.22) 0%, transparent 60%),
        linear-gradient(150deg, #0B1220, #16233f);
    color: rgba(255,255,255,.55);
}
.media-placeholder::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 34px 34px;
}
.media-placeholder .icon { width: 36px; height: 36px; position: relative; opacity: .8; }
.media-placeholder span {
    position: relative; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase;
}

/* Testimonials */
.quote-card {
    display: flex; flex-direction: column; gap: var(--space-4);
    margin: 0;
    padding: var(--space-6);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.quote-card__mark { width: 26px; height: 26px; color: var(--blue); opacity: .32; }
.quote-card blockquote { margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }
.quote-card__author { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border-soft); }
.avatar {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex: none; border-radius: 50%;
    background: linear-gradient(140deg, var(--blue), var(--cyan));
    color: #fff; font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.02em;
    overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__name { display: block; font-weight: 650; color: var(--text); font-size: var(--fs-sm); line-height: 1.3; }
.quote-card__role { display: block; font-size: var(--fs-xs); color: var(--muted); }
.stars { display: flex; gap: .12rem; color: #F59E0B; }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke-width: 1; }

/* Empty state */
.empty-state {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: var(--space-4);
    padding: clamp(2.5rem, 5vw, 4rem) var(--space-5);
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.empty-state__icon {
    display: grid; place-items: center; width: 56px; height: 56px;
    border-radius: var(--radius); background: var(--white);
    border: 1px solid var(--border); color: var(--muted-light);
}
.empty-state__icon .icon { width: 26px; height: 26px; }
.empty-state h3 { margin-bottom: 0; }
.empty-state p { color: var(--muted); max-width: 46ch; margin: 0; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-5); align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    padding: var(--space-6);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.price-card--featured { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.price-card--featured::before {
    content: attr(data-flag);
    position: absolute; top: -11px; left: var(--space-6);
    padding: .2rem .7rem;
    font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: #fff; background: var(--blue); border-radius: var(--radius-pill);
}
.price-card__name { font-size: var(--fs-h4); margin-bottom: .3rem; }
.price-card__for { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--space-4); min-height: 2.6em; }
.price-card__amount { display: flex; align-items: baseline; gap: .35rem; margin-bottom: var(--space-2); }
.price-card__value { font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }
.price-card__value--quote { font-size: 1.35rem; }
.price-card__period { font-size: var(--fs-sm); color: var(--muted); }
.price-card__note { font-size: var(--fs-xs); color: var(--muted-light); margin-bottom: var(--space-5); }
.price-card__divider { height: 1px; background: var(--border); margin-bottom: var(--space-5); }
.price-card__features { flex: 1; margin-bottom: var(--space-5); }
.price-card__section-label {
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin: var(--space-4) 0 .6rem;
}
.price-card__section-label:first-child { margin-top: 0; }

/* FAQ accordion */
.faq { display: grid; gap: .6rem; }
.faq__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq__item.is-open { border-color: rgba(37,99,235,.32); }
.faq__button {
    display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4);
    width: 100%; padding: 1.05rem 1.25rem;
    font-size: var(--fs-body); font-weight: 600; color: var(--text); text-align: left;
    background: none; border: 0;
}
.faq__button:hover { color: var(--blue); }
.faq__icon {
    flex: none; width: 22px; height: 22px; margin-top: .1rem;
    color: var(--muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--blue); }
/* Open by default: with JavaScript disabled the answers must still be
   readable and indexable. The .js class collapses them for the accordion. */
.faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .26s var(--ease); }
.js .faq__panel { grid-template-rows: 0fr; }
.js .faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p { padding: 0 1.25rem 1.15rem; margin: 0; color: var(--muted); font-size: var(--fs-sm); max-width: 76ch; }
.faq-search { position: relative; margin-bottom: var(--space-5); }
.faq-search .icon { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-light); pointer-events: none; }
.faq-search input { padding-left: 2.7rem; }
.faq-group + .faq-group { margin-top: var(--space-7); }
.faq-group__title { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-h4); margin-bottom: var(--space-4); }
.faq-group__title .icon { width: 19px; height: 19px; color: var(--blue); }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: var(--fs-h4); margin-bottom: .5rem; }
.post-card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-4); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--muted); margin-top: auto; }
.post-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-light); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: var(--space-8); }
.pagination a, .pagination span {
    display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: .7rem;
    font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-disabled { opacity: .45; }

/* Sidebar */
.sidebar { display: grid; gap: var(--space-5); align-content: start; position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar__block { padding: var(--space-5); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.sidebar__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }
.sidebar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sidebar__list a { display: block; padding: .45rem .6rem; margin-inline: -.6rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); color: var(--text-soft); }
.sidebar__list a:hover, .sidebar__list a.is-active { background: var(--white); color: var(--blue); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-5); }
.stat { text-align: left; }
.stat__value { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; color: var(--text); line-height: 1.1; margin-bottom: .2rem; }
.stat__label { font-size: var(--fs-sm); color: var(--muted); }
.section--dark .stat__value, .on-dark .stat__value { color: #fff; }
.section--dark .stat__label, .on-dark .stat__label { color: var(--on-dark-muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); isolation: isolate; }
.cta-band::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(52% 100% at 82% 0%, rgba(37,99,235,.36) 0%, transparent 62%),
        radial-gradient(40% 90% at 10% 100%, rgba(6,182,212,.2) 0%, transparent 60%);
}
.cta-band__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: var(--space-6);
    padding-block: clamp(2.75rem, 2rem + 3.5vw, 4.75rem);
}
.cta-band__text { max-width: 620px; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-band p { color: var(--on-dark-muted); margin: 0; font-size: var(--fs-lead); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Value grid (why choose us) */
.value-card { position: relative; padding: var(--space-5) var(--space-5) var(--space-5) 0; }
.value-card__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.value-card__head h3 { margin: 0; font-size: var(--fs-h4); }
.value-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* Two-column media block */
.media-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-block--reverse > :first-child { order: 2; }
.media-panel {
    position: relative; padding: var(--space-6);
    background: linear-gradient(155deg, var(--navy) 0%, #16233f 100%);
    border-radius: var(--radius-xl); color: var(--on-dark);
    overflow: hidden;
}
.media-panel::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%);
    mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%);
}
.media-panel > * { position: relative; }
.media-panel h3 { color: #fff; }

/* Notices */
.notice {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--bg-soft); font-size: var(--fs-sm);
}
.notice .icon { width: 19px; height: 19px; flex: none; margin-top: .12rem; }
.notice p { margin: 0; }
.notice strong { display: block; color: var(--text); margin-bottom: .15rem; }
.notice--success { background: var(--success-bg); border-color: rgba(5,150,105,.25); color: #065f46; }
.notice--success .icon, .notice--success strong { color: var(--success); }
.notice--error { background: var(--danger-bg); border-color: rgba(220,38,38,.25); color: #991b1b; }
.notice--error .icon, .notice--error strong { color: var(--danger); }
.notice--info { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.2); color: var(--text-soft); }
.notice--info .icon, .notice--info strong { color: var(--blue); }
.notice--warning { background: var(--warning-bg); border-color: rgba(180,83,9,.24); color: #92400e; }
.notice--warning .icon, .notice--warning strong { color: var(--warning); }

/* --- 10. Forms ---------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field > label {
    font-size: var(--fs-sm); font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: .3rem;
}
.field__req { color: var(--danger); font-weight: 700; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }

.input, .select, .textarea {
    width: 100%;
    padding: .72rem .9rem;
    font-size: var(--fs-sm);
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    appearance: none;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 17px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-light); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted-light); }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--danger); }
.field--error .input:focus, .field--error .select:focus, .field--error .textarea:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.13); }
.field__error { display: flex; align-items: center; gap: .3rem; font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.field__error .icon { width: 14px; height: 14px; flex: none; }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; }
.checkbox input {
    width: 18px; height: 18px; margin: .18rem 0 0; flex: none;
    accent-color: var(--blue); cursor: pointer;
}

/* Honeypot: hidden from people, present for bots. Never display:none - some
   bots skip those - and always removed from the tab order. */
.hp-field {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
}

.form-card {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-footnote { font-size: var(--fs-xs); color: var(--muted); }

.btn.is-loading { pointer-events: none; opacity: .78; }
.btn.is-loading .icon--arrow { display: none; }
.btn.is-loading::after {
    content: ""; width: 15px; height: 15px;
    border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
    border-radius: 50%; animation: spin .7s linear infinite;
}

/* Contact cards */
.contact-item { display: flex; gap: .9rem; align-items: flex-start; padding: var(--space-4) 0; border-bottom: 1px solid var(--border-soft); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
    display: grid; place-items: center; width: 40px; height: 40px; flex: none;
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,.09); color: var(--blue);
}
.contact-item__icon .icon { width: 19px; height: 19px; }
.contact-item__label { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.contact-item__value { font-weight: 600; color: var(--text); font-size: var(--fs-sm); word-break: break-word; }
.contact-item__value a { color: var(--text); }
.contact-item__value a:hover { color: var(--blue); }

/* --- 11. Footer --------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); }
.site-footer__cta { border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, .82fr)) minmax(0, 1.2fr);
    gap: var(--space-6) var(--space-5);
    padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem);
}
.site-footer__about p { font-size: var(--fs-sm); color: var(--on-dark-muted); margin-block: var(--space-4); max-width: 34ch; }
.footer-col h3 {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: rgba(255,255,255,.92); margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--on-dark-muted); }
.footer-col a:hover { color: var(--cyan-400); }
.footer-contact { display: grid; gap: .7rem; }
.footer-contact a, .footer-contact span { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--on-dark-muted); }
.footer-contact .icon { width: 16px; height: 16px; flex: none; margin-top: .18rem; color: var(--cyan-400); }
.social { display: flex; gap: .5rem; }
.social a {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-border);
    color: var(--on-dark-muted);
    font-size: .82rem; font-weight: 700; letter-spacing: -.01em;
    transition: all var(--dur) var(--ease);
}
.social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: var(--fs-xs);
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.site-footer__legal a { color: var(--on-dark-muted); }
.site-footer__legal a:hover { color: var(--cyan-400); }

/* --- 12. Admin ---------------------------------------------------------- */
.admin { min-height: 100vh; background: var(--bg-soft); }
.admin-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--navy); color: var(--on-dark-muted); padding: var(--space-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-5); }
.admin-side__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.admin-side__nav a {
    display: flex; align-items: center; gap: .6rem;
    padding: .58rem .7rem; border-radius: var(--radius-sm);
    font-size: var(--fs-sm); font-weight: 550; color: var(--on-dark-muted);
}
.admin-side__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side__nav a.is-active { background: var(--blue); color: #fff; }
.admin-side__nav .icon { width: 17px; height: 17px; flex: none; }
.admin-side__foot { margin-top: auto; font-size: var(--fs-xs); }
.admin-main { padding: var(--space-6) clamp(1.15rem, 3vw, 2.25rem); min-width: 0; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.admin-head h1 { margin: 0; font-size: var(--fs-h2); }
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
.admin-card + .admin-card { margin-top: var(--space-5); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.table th, .table td { padding: .8rem 1rem; text-align: left; vertical-align: middle; }
.table thead th {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.table tbody tr + tr { border-top: 1px solid var(--border-soft); }
.table tbody tr:hover { background: var(--bg-soft); }
.table td strong { color: var(--text); }
.table__actions { display: flex; gap: .4rem; justify-content: flex-end; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-bottom: var(--space-6); }
.stat-tile { padding: var(--space-5); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-tile__label { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.stat-tile__value { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; color: var(--text); line-height: 1.1; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: var(--space-6) var(--space-4); background: var(--navy); }
.login-card { width: 100%; max-width: 400px; padding: var(--space-6); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* --- 13. Utilities ------------------------------------------------------ */
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--space-3); } .mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--space-4); } .mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.w-full { width: 100%; }
.flex-center { display: flex; align-items: center; gap: var(--space-3); }
.justify-between { justify-content: space-between; }
.ml-auto { margin-left: auto; }
.divider { height: 1px; background: var(--border); border: 0; margin-block: var(--space-6); }
.icon {
    width: 20px; height: 20px; flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nowrap { white-space: nowrap; }

/* --- 14. Motion --------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar-rise { from { transform: scaleY(.15); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes float-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal: elements start hidden ONLY when JS is available to reveal
   them, so the page is fully readable with JavaScript disabled. */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(10px); }
.reveal-on [data-reveal].is-visible {
    opacity: 1; transform: none;
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.reveal-on [data-reveal][data-reveal-delay="1"].is-visible { transition-delay: .05s; }
.reveal-on [data-reveal][data-reveal-delay="2"].is-visible { transition-delay: .1s; }
.reveal-on [data-reveal][data-reveal-delay="3"].is-visible { transition-delay: .15s; }
.reveal-on [data-reveal][data-reveal-delay="4"].is-visible { transition-delay: .15s; }
.reveal-on [data-reveal][data-reveal-delay="5"].is-visible { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal-on [data-reveal] { opacity: 1; transform: none; }
}

/* --- 15. Responsive ----------------------------------------------------- */
@media (max-width: 1100px) {
    .site-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-footer__about, .footer-col#subscribe { grid-column: span 3; }
    .capability-strip__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .nav, .header__actions .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .header__actions { margin-left: auto; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
    .grid--sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .grid--split, .media-block { grid-template-columns: 1fr; }
    .media-block--reverse > :first-child { order: 0; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { flex-direction: row; align-items: center; gap: var(--space-4); overflow-x: auto; padding: var(--space-3) var(--space-4); }
    .admin-side__nav { grid-auto-flow: column; gap: .3rem; }
    .admin-side__foot { margin-top: 0; margin-left: auto; }
    .admin-side .logo { flex: none; }
}

@media (max-width: 860px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head--split { flex-direction: column; align-items: flex-start; }
    .checklist--2col { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .price-card__for { min-height: 0; }
}

/* Touch targets: standalone links need a comfortable hit area on a phone.
   Links inside a sentence are deliberately left alone - WCAG exempts them. */
@media (max-width: 800px) {
    .link-arrow { min-height: 44px; align-items: center; }
    .footer-col a,
    .site-footer__legal a,
    .sidebar__list a,
    .breadcrumbs a,
    .breadcrumbs [aria-current="page"] { padding-block: .32rem; display: inline-flex; align-items: center; }
    .footer-contact a { min-height: 40px; }
    .post-meta { row-gap: .3rem; }
    .btn--sm { min-height: 40px; }
    .filter-btn { min-height: 40px; }
}

@media (max-width: 640px) {
    :root { --section-y: 3.25rem; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .capability-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-visual__float { display: none; }
    .site-footer__main { grid-template-columns: 1fr; gap: var(--space-6); }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .process--rail::before { left: 21px; }
    .process__step { grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-3); }
    .process__num { width: 44px; height: 44px; font-size: .9rem; }
    .filters { gap: .4rem; }
    .filter-btn { padding: .45rem .8rem; font-size: var(--fs-xs); }
    .quote-card, .price-card, .card--pad-lg { padding: var(--space-5); }
    .admin-head { align-items: flex-start; }
}

@media (max-width: 420px) {
    .logo__tag { display: none; }
    .hero-pill { font-size: .7rem; }
}

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle, .mobile-nav, .breadcrumbs, .filters { display: none !important; }
    body { color: #000; background: #fff; }
    .hero { background: #fff; color: #000; }
    .hero h1, .hero p.lead { color: #000; }
    a { text-decoration: underline; }
}

/* ==========================================================================
   16. Conversion and visual system
   Components that carry meaning graphically so pages can say more with less
   prose: product mockups, an architecture diagram, a comparison, a process
   flow, a scope builder and the persistent calls to action.
   ========================================================================== */

/* --- Chips ---------------------------------------------------------------- */
.chip {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .22rem .6rem;
    font-size: .74rem; font-weight: 550; letter-spacing: .005em;
    color: var(--muted); background: var(--bg-tint);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    white-space: nowrap;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.section--dark .chip, .on-dark .chip, .hero .chip {
    color: var(--on-dark-muted); background: rgba(255,255,255,.06); border-color: var(--on-dark-border);
}

/* --- Hero: product-led ---------------------------------------------------- */
.hero--product .hero__inner { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
/* The two hero buttons belong on one line; the column is sized to hold them. */
@media (min-width: 1025px) { .hero--product .hero__actions { flex-wrap: nowrap; } }
.hero__trust {
    display: flex; flex-wrap: wrap; gap: .5rem 1.35rem;
    margin-top: var(--space-6); padding-top: var(--space-5);
    border-top: 1px solid rgba(255,255,255,.09);
}
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.hero__trust .icon { width: 15px; height: 15px; color: var(--cyan-400); }

/* App mockup - a plausible product surface rather than a stock photograph. */
.app-mock {
    position: relative;
    background: linear-gradient(158deg, rgba(255,255,255,.10), rgba(255,255,255,.028));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 80px -34px rgba(0,0,0,.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}
.app-mock__chrome {
    display: flex; align-items: center; gap: .5rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}
.app-mock__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.app-mock__url {
    margin-left: .5rem; flex: 1;
    padding: .2rem .6rem;
    font-family: var(--font-mono); font-size: .64rem;
    color: rgba(255,255,255,.45);
    background: rgba(0,0,0,.28); border-radius: var(--radius-pill);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-mock__body { display: grid; grid-template-columns: 108px minmax(0, 1fr); min-height: 320px; }
.app-mock__side {
    padding: .85rem .7rem; border-right: 1px solid rgba(255,255,255,.07);
    display: flex; flex-direction: column; gap: .3rem;
}
.app-mock__tenant {
    display: flex; align-items: center; gap: .4rem;
    padding: .4rem .5rem; margin-bottom: .5rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius-sm);
    font-size: .62rem; color: rgba(255,255,255,.72);
}
.app-mock__tenant b { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px;
    background: linear-gradient(140deg, var(--blue), var(--cyan)); color: #fff; font-size: .5rem; }
.app-mock__nav {
    display: flex; align-items: center; gap: .4rem;
    padding: .3rem .5rem; border-radius: var(--radius-sm);
    font-size: .63rem; color: rgba(255,255,255,.5);
}
.app-mock__nav .icon { width: 12px; height: 12px; }
.app-mock__nav.is-current { background: rgba(37,99,235,.24); color: #fff; }
.app-mock__main { padding: .9rem; display: flex; flex-direction: column; gap: .6rem; }
.app-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.app-mock__kpi { padding: .5rem .55rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 7px; }
.app-mock__kpi i { display: block; font-style: normal; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.app-mock__kpi b { display: block; font-size: .92rem; color: #fff; letter-spacing: -.02em; }
.app-mock__kpi s { text-decoration: none; font-size: .58rem; color: var(--cyan-400); }
.app-mock__chart { display: flex; align-items: flex-end; gap: .22rem; height: 84px; padding: .5rem .3rem 0; }
.app-mock__chart i {
    flex: 1; border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, rgba(96,165,250,.9), rgba(37,99,235,.25));
    transform-origin: bottom; animation: bar-rise .8s var(--ease-out) backwards;
}
.app-mock__chart i:last-child { background: linear-gradient(180deg, var(--cyan-400), rgba(6,182,212,.3)); }
.app-mock__rows { display: grid; gap: .3rem; }
.app-mock__row {
    display: flex; align-items: center; gap: .45rem;
    padding: .4rem .55rem;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
    border-radius: 6px; font-size: .62rem; color: rgba(255,255,255,.66);
}
.app-mock__row .icon { width: 12px; height: 12px; color: var(--cyan-400); }
.app-mock__row em { font-style: normal; margin-left: auto; color: rgba(255,255,255,.38); font-variant-numeric: tabular-nums; }
.app-mock__row .ok { color: #34d399; }

.float-card {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: .55rem;
    padding: .6rem .8rem;
    background: rgba(9,15,27,.94);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -16px rgba(0,0,0,.85);
    font-size: var(--fs-xs);
}
.float-card .icon { width: 26px; height: 26px; padding: 5px; border-radius: 7px; flex: none; }
.float-card strong { display: block; color: #fff; font-size: .78rem; line-height: 1.25; }
.float-card span { color: rgba(255,255,255,.5); font-size: .68rem; }
.float-card--tl { top: -14px; left: -16px; }
.float-card--br { bottom: -18px; right: -14px; }
.float-card--tl .icon { background: rgba(52,211,153,.16); color: #34d399; }
.float-card--br .icon { background: rgba(6,182,212,.16); color: var(--cyan-400); }

/* Deliberately sets no position: it is applied to elements that are already
   positioned, and declaring `relative` here would override their `absolute`. */
.pulse::after {
    content: ""; position: absolute; inset: -4px;
    border-radius: inherit; border: 1px solid rgba(52,211,153,.4);
    animation: pulse-ring 2.6s var(--ease-out) infinite;
}
@keyframes pulse-ring {
    0%   { transform: scale(.96); opacity: .8; }
    70%  { transform: scale(1.12); opacity: 0; }
    100% { opacity: 0; }
}

/* --- Technology marquee --------------------------------------------------- */
.marquee {
    position: relative; overflow: hidden;
    padding-block: var(--space-5);
    border-block: 1px solid var(--border);
    background: var(--bg-soft);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: .6rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__item {
    display: inline-flex; align-items: center;
    padding: .45rem .95rem;
    font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
    letter-spacing: -.01em; color: var(--text-soft);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
    /* The second pass exists only to make the loop seamless. */
    .marquee__item--dup { display: none; }
}

/* --- Build cards ---------------------------------------------------------- */
.build-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: var(--space-4); }
.build-card {
    position: relative; display: flex; flex-direction: column;
    padding: var(--space-5);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.build-card::after {
    content: ""; position: absolute; right: -46px; top: -46px;
    width: 132px; height: 132px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.09), transparent 70%);
    pointer-events: none;
}
.build-card:hover { border-color: rgba(37,99,235,.36); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.build-card__flag {
    position: absolute; top: .9rem; right: .9rem;
    font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); background: var(--accent-soft, rgba(37,99,235,.1));
    padding: .18rem .45rem; border-radius: 4px;
}
.build-card__art {
    position: relative;
    display: grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: var(--space-4);
    border-radius: 14px;
    background: linear-gradient(148deg, var(--navy), #1b2a48);
    color: var(--cyan-400);
    box-shadow: 0 10px 22px -12px rgba(11,18,32,.8);
}
.build-card__art .icon { width: 24px; height: 24px; }
.build-card h3 { font-size: var(--fs-h4); margin-bottom: .35rem; position: relative; }
.build-card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-4); position: relative; }
.build-card .chip-row { margin-bottom: var(--space-5); position: relative; }
.build-card__foot { margin-top: auto; position: relative; }

/* --- Proof band ----------------------------------------------------------- */
.proof {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
    overflow: hidden;
}
.proof__cell { padding: var(--space-5); background: rgba(255,255,255,.035); }
.proof__value {
    font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); font-weight: 700;
    letter-spacing: -.04em; line-height: 1; color: #fff;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, #fff 20%, var(--cyan-400));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof__label { margin-top: .5rem; font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.proof__note { margin-top: .15rem; font-size: var(--fs-xs); color: var(--on-dark-muted); }

/* --- Architecture diagram -------------------------------------------------- */
.arch { width: 100%; height: auto; display: block; }
.arch-wrap {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow-x: auto;
}
.arch text { font-family: var(--font); }
.arch .a-box { fill: var(--bg-soft); stroke: var(--border); }
.arch .a-box-accent { fill: rgba(37,99,235,.07); stroke: rgba(37,99,235,.35); }
.arch .a-box-dark { fill: var(--navy); stroke: var(--navy); }
.arch .a-title { fill: var(--text); font-size: 13px; font-weight: 650; }
.arch .a-title-inv { fill: #fff; font-size: 13px; font-weight: 650; }
.arch .a-sub { fill: var(--muted); font-size: 10.5px; }
.arch .a-sub-inv { fill: #9AA8C0; font-size: 10.5px; }
.arch .a-line { stroke: var(--muted-light); stroke-width: 1.4; fill: none; }
.arch .a-line-accent { stroke: var(--blue); stroke-width: 1.6; fill: none; }
.arch .a-cap { fill: var(--muted); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.arch .a-dot { fill: var(--cyan); }
.arch .a-flow { stroke-dasharray: 5 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) { .arch .a-flow { animation: none; } }

/* --- Comparison ------------------------------------------------------------ */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--space-4); }
.compare__col {
    padding: var(--space-5);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.compare__col--win { border-color: rgba(37,99,235,.45); box-shadow: var(--shadow-blue); }
.compare__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border-soft); }
.compare__head h3 { margin: 0; font-size: var(--fs-h4); }
.compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.compare__list li { display: flex; align-items: flex-start; gap: .65rem; font-size: var(--fs-sm); }
.compare__mark {
    display: grid; place-items: center; flex: none;
    width: 20px; height: 20px; margin-top: .08rem; border-radius: 50%;
}
.compare__mark .icon { width: 12px; height: 12px; }
.compare__mark--yes { background: rgba(5,150,105,.12); color: var(--success); }
.compare__mark--no  { background: rgba(220,38,38,.1);  color: var(--danger); }

/* --- Process flow ---------------------------------------------------------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-4); }
.flow::before {
    content: ""; position: absolute; left: 26px; right: 26px; top: 25px; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: .3;
}
.flow__step { position: relative; text-align: left; }
.flow__node {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 52px; height: 52px; margin-bottom: var(--space-4);
    border-radius: 15px;
    background: var(--white); border: 1px solid var(--border);
    color: var(--blue); box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.flow__node .icon { width: 21px; height: 21px; }
.flow__step:hover .flow__node { transform: translateY(-3px); border-color: rgba(37,99,235,.45); }
.flow__num { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; color: var(--muted-light); display: block; margin-bottom: .25rem; }
.flow__step h3 { font-size: .96rem; margin-bottom: .25rem; }
.flow__step p { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
@media (max-width: 700px) { .flow::before { display: none; } }

/* --- Scope builder ---------------------------------------------------------- */
.scoper {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.scoper__form { padding: clamp(1.25rem, 3vw, 2.1rem); display: grid; gap: var(--space-5); align-content: start; }
.scoper__q { display: grid; gap: .6rem; }
.scoper__q > p { margin: 0; font-size: var(--fs-sm); font-weight: 650; color: var(--text); }
.scoper__q > p span { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--muted); margin-top: .1rem; }
.opt-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt {
    position: relative;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem .85rem; min-height: 42px;
    font-size: var(--fs-sm); font-weight: 550; color: var(--text-soft);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer;
    transition: all var(--dur) var(--ease);
}
.opt .icon { width: 16px; height: 16px; color: var(--muted-light); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt:hover { border-color: var(--muted-light); background: var(--bg-soft); }
.opt:has(input:checked) {
    border-color: var(--blue); background: rgba(37,99,235,.07); color: var(--blue);
}
.opt:has(input:checked) .icon { color: var(--blue); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
/* Fallback for browsers without :has() - JS mirrors the state onto a class. */
.opt.is-picked { border-color: var(--blue); background: rgba(37,99,235,.07); color: var(--blue); }
.opt.is-picked .icon { color: var(--blue); }

.scoper__out {
    padding: clamp(1.25rem, 3vw, 2.1rem);
    background: linear-gradient(160deg, var(--navy), #16233f);
    color: var(--on-dark-muted);
    display: flex; flex-direction: column; gap: var(--space-4);
}
.scoper__out h3 { color: #fff; font-size: var(--fs-h4); margin: 0; }
.scoper__brief {
    flex: 1;
    padding: var(--space-4);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    font-size: var(--fs-sm); line-height: 1.6;
    min-height: 128px;
}
.scoper__brief dl { margin: 0; display: grid; gap: .55rem; }
.scoper__brief div { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: .5rem; align-items: baseline; }
.scoper__brief dt { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.scoper__brief dd { margin: 0; color: #fff; font-weight: 550; }
.scoper__empty { color: rgba(255,255,255,.45); font-size: var(--fs-sm); }

/* --- Sticky call to action --------------------------------------------------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none;
    align-items: center; gap: .75rem;
    padding: .7rem clamp(1rem, 4vw, 1.5rem);
    padding-bottom: max(.7rem, env(safe-area-inset-bottom));
    background: rgba(11,18,32,.96);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.12);
    transform: translateY(110%);
    transition: transform .28s var(--ease-out);
}
.sticky-cta.is-shown { transform: translateY(0); }
.sticky-cta__text { min-width: 0; }
.sticky-cta__text strong { display: block; color: #fff; font-size: var(--fs-sm); line-height: 1.25; }
.sticky-cta__text span { display: block; color: var(--on-dark-muted); font-size: var(--fs-xs); }
.sticky-cta .btn { margin-left: auto; flex: none; }
@media (max-width: 860px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 0; }
}

/* --- Section rhythm helpers --------------------------------------------------- */
.section--flush { padding-block: 0; }
.stack-note { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 1024px) {
    .hero--product .hero__inner { grid-template-columns: 1fr; }
    .scoper { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .app-mock__body { grid-template-columns: 1fr; }
    .app-mock__side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .app-mock__tenant { margin-bottom: 0; }
    .float-card--tl, .float-card--br { display: none; }
    .app-mock__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
    .app-mock__kpi { padding: .45rem .4rem; }
}

/* --- Outcome tiles (service pages) ---------------------------------------- */
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); }
.outcome {
    position: relative;
    padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-5) + 4px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.outcome::before {
    content: ""; position: absolute; left: 0; top: var(--space-5); bottom: var(--space-5);
    width: 3px; border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.outcome__icon {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; margin-bottom: var(--space-3);
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,.08); color: var(--blue);
    border: 1px solid rgba(37,99,235,.14);
}
.outcome__icon .icon { width: 18px; height: 18px; }
.outcome h3 { font-size: var(--fs-h4); margin-bottom: .3rem; }
.outcome p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* --- Callout -------------------------------------------------------------- */
.callout {
    display: grid; grid-template-columns: 3px minmax(0,1fr); gap: var(--space-5);
    margin-top: var(--space-6);
}
.callout::before { content: ""; background: linear-gradient(180deg, var(--blue), var(--cyan)); border-radius: 3px; }
.callout p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.callout strong { display: block; color: var(--text); font-size: var(--fs-body); margin-bottom: .35rem; }

/* --- Inline conversion strip ---------------------------------------------- */
.inline-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(140deg, var(--navy), #16233f);
    border-radius: var(--radius-lg);
    color: var(--on-dark-muted);
}
.inline-cta p { margin: 0; max-width: 52ch; }
.inline-cta strong { display: block; color: #fff; font-size: var(--fs-h4); margin-bottom: .2rem; }
.inline-cta .btn { margin-left: auto; }
@media (max-width: 700px) { .inline-cta .btn { margin-left: 0; width: 100%; } }

/* ==========================================================================
   17. Imagery
   One treatment for every picture on the site: the same radius, the same
   border weight, the same shadow, space reserved before it loads.
   ========================================================================== */

.img-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Placeholder shown when an asset has not been supplied yet. Deliberately
   designed, so an empty slot reads as intentional rather than broken. */
.img-ph {
    display: grid; place-items: center;
    width: 100%;
    background:
        radial-gradient(70% 90% at 74% 8%, rgba(37,99,235,.22) 0%, transparent 62%),
        radial-gradient(60% 70% at 12% 92%, rgba(6,182,212,.14) 0%, transparent 60%),
        linear-gradient(150deg, #0B1220, #16233f);
    color: rgba(255,255,255,.5);
    border-radius: inherit;
    position: relative; overflow: hidden;
}
.img-ph::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 34px 34px;
}
.img-ph__inner { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 1rem; text-align: center; }
.img-ph__inner .icon { width: 30px; height: 30px; opacity: .75; }
.img-ph__label { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }

/* --- Product showcase -------------------------------------------------------
   A screenshot presented as software, inside a browser frame, rather than
   dropped into the page as a bare rectangle. */
.showcase {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(158deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 40px 80px -34px rgba(0,0,0,.85);
}
.showcase--light {
    background: var(--white);
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
}
.showcase__bar {
    display: flex; align-items: center; gap: .5rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
}
.showcase--light .showcase__bar { border-bottom-color: var(--border); background: var(--bg-soft); }
.showcase__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.showcase--light .showcase__dot { background: var(--muted-light); }
.showcase__url {
    margin-left: .5rem; flex: 1;
    padding: .2rem .6rem;
    font-family: var(--font-mono); font-size: .64rem;
    color: rgba(255,255,255,.45);
    background: rgba(0,0,0,.28); border-radius: var(--radius-pill);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.showcase--light .showcase__url { color: var(--muted); background: var(--bg-tint); }
.showcase__media { display: block; position: relative; background: var(--navy); }
.showcase__media img, .showcase__media .img-ph { display: block; width: 100%; height: auto; }

/* Glow behind a hero showcase, so the panel sits in the composition rather
   than on top of it. */
.showcase-stage { position: relative; }
.showcase-stage::before {
    content: ""; position: absolute; z-index: -1;
    left: 8%; right: 8%; top: 12%; bottom: 4%;
    background: radial-gradient(60% 60% at 50% 50%, rgba(37,99,235,.5), transparent 70%);
    filter: blur(52px);
}

/* --- Framed figure (service illustrations, about, case studies) ------------- */
.figure {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}
.figure img, .figure .img-ph { display: block; width: 100%; height: auto; }
.figure figcaption {
    padding: .7rem 1rem;
    font-size: var(--fs-xs); color: var(--muted);
    border-top: 1px solid var(--border-soft); background: var(--white);
}
.section--dark .figure, .on-dark .figure { border-color: var(--on-dark-border); background: rgba(255,255,255,.04); }
.section--dark .figure figcaption, .on-dark .figure figcaption {
    background: rgba(255,255,255,.04); border-top-color: var(--on-dark-border); color: var(--on-dark-muted);
}

/* Fixed-ratio media wells keep a grid tidy however the source is cropped. */
.ratio { position: relative; width: 100%; overflow: hidden; }
.ratio > img, .ratio > .img-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.ratio--16x10 { aspect-ratio: 16 / 10; }
.ratio--16x9  { aspect-ratio: 16 / 9; }
.ratio--4x3   { aspect-ratio: 4 / 3; }
.ratio--3x2   { aspect-ratio: 3 / 2; }

@media (max-width: 640px) {
    /* A wide desktop crop wastes vertical space on a phone. */
    .showcase-stage::before { display: none; }
    .figure .ratio--16x10 { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   18. Art-directed composition
   The hero product scene, the numbered service cards, the device previews and
   the closing globe. Everything here is drawn in CSS and SVG so it stays sharp
   at any density and costs no image requests.
   ========================================================================== */

/* --- Hero: dashboard + handset + floating labels -------------------------- */
.scene { position: relative; padding: 3.25rem 0 4rem; }
.scene__panel { position: relative; z-index: 1; }
.scene::before {
    content: ""; position: absolute; z-index: 0;
    left: 6%; right: 10%; top: 14%; bottom: 10%;
    background: radial-gradient(58% 58% at 50% 50%, rgba(37,99,235,.55), transparent 72%);
    filter: blur(58px);
}

/* Handset overlapping the dashboard, as in the composition. */
.phone {
    position: absolute; z-index: 3;
    right: -6px; bottom: -14px;
    width: 132px;
    border-radius: 20px;
    padding: 5px;
    background: linear-gradient(160deg, #2b3550, #131c2e);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 26px 48px -18px rgba(0,0,0,.9);
}
.phone__screen {
    border-radius: 15px; overflow: hidden;
    background: linear-gradient(170deg, #12203c, #0a1120);
    padding: .55rem .5rem;
    display: grid; gap: .4rem;
}
.phone__notch {
    width: 34px; height: 4px; border-radius: 3px;
    background: rgba(255,255,255,.22);
    margin: .1rem auto .35rem;
}
.phone__title { font-size: .5rem; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.phone__title b { display: block; font-size: .62rem; color: #fff; font-weight: 650; line-height: 1.25; }
.phone__chart { display: flex; align-items: flex-end; gap: .14rem; height: 34px; }
.phone__chart i { flex: 1; border-radius: 2px; background: linear-gradient(180deg, var(--cyan-400), rgba(37,99,235,.55)); }
.phone__pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: .2rem; }
.phone__pills span {
    height: 15px; border-radius: 4px;
    background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.07);
}

/* Small labelled cards floating around the scene. */
.tag-card {
    position: absolute; z-index: 4;
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .85rem;
    background: rgba(12,19,34,.92);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    box-shadow: 0 16px 34px -16px rgba(0,0,0,.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    white-space: nowrap;
}
.tag-card .icon {
    width: 32px; height: 32px; padding: 7px; flex: none;
    border-radius: 9px;
    background: rgba(37,99,235,.24); color: var(--blue-400);
}
.tag-card b { display: block; font-size: .82rem; font-weight: 650; color: #fff; line-height: 1.25; }
.tag-card span { display: block; font-size: .68rem; color: rgba(255,255,255,.5); }
.tag-card--a { top: 0; left: 6%; }
.tag-card--b { top: -1%; right: 4%; }
.tag-card--c { bottom: 0; left: 2%; }
.tag-card--d { bottom: -1%; right: 26%; }
.tag-card--c .icon, .tag-card--d .icon { background: rgba(6,182,212,.18); color: var(--cyan-400); }

/* Hero capability chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem clamp(1.25rem, 3vw, 2.5rem); margin-top: var(--space-7); }
.hero-chips span {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark-muted);
}
.hero-chips .icon {
    width: 24px; height: 24px; padding: 5px; flex: none;
    border-radius: 50%; color: var(--blue-400);
    background: rgba(37,99,235,.18);
}

/* --- Technology strip ------------------------------------------------------ */
.techstrip { border-block: 1px solid var(--border); background: var(--bg-soft); }
.techstrip__inner { padding-block: var(--space-7); text-align: center; }
.techstrip__label {
    font-size: var(--fs-xs); color: var(--muted);
    letter-spacing: .04em; margin: 0 0 var(--space-5);
}
.techstrip__row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--space-5) clamp(1.75rem, 5vw, 3.5rem);
}
.techstrip__row span {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); font-weight: 650;
    letter-spacing: -.03em; color: #46536a; opacity: .9;
    transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
}
.techstrip__row span:hover { opacity: 1; color: var(--text); }
.techstrip__row .icon { width: 24px; height: 24px; opacity: .75; }

/* --- Numbered core service cards ------------------------------------------- */
.core-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--space-5); }
.core-card {
    display: flex; flex-direction: column;
    padding: var(--space-6);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.core-card:hover { border-color: rgba(37,99,235,.35); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.core-card__step {
    display: flex; align-items: center; gap: .6rem;
    font-family: var(--font-mono); font-size: .7rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light);
    margin-bottom: var(--space-3);
}
.core-card__step b { color: var(--blue); font-weight: 700; font-size: .8rem; }
.core-card__step em {
    font-style: normal; width: 17px; height: 17px; flex: none;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(37,99,235,.12); color: var(--blue);
}
.core-card__step em .icon { width: 9px; height: 9px; }
.core-card__step i { font-style: normal; letter-spacing: .14em; }
.core-card h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); margin-bottom: var(--space-5); }
.core-card__list {
    list-style: none; margin: 0 0 var(--space-5); padding: 0;
    display: grid; gap: .45rem; align-content: start;
    min-height: 9.5rem;
}
.core-card__list li { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: var(--text-soft); }
.core-card__list li::before {
    content: ""; width: 13px; height: 13px; border-radius: 50%; flex: none;
    background: var(--blue);
    box-shadow: inset 0 0 0 3px var(--white), 0 0 0 1.5px rgba(37,99,235,.35);
}
.core-card__art {
    margin-bottom: var(--space-5);
    border-radius: var(--radius);
    background: linear-gradient(160deg, #0e1728, #16233f);
    border: 1px solid rgba(255,255,255,.08);
    padding: var(--space-4);
    min-height: 132px;
    display: grid; align-items: end;
}
.core-card p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-5); min-height: 2.7em; }
.core-card__foot { margin-top: auto; }

/* Bar chart used inside a core card */
.spark { display: flex; align-items: flex-end; gap: .3rem; height: 88px; }
.spark i {
    flex: 1; border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, rgba(96,165,250,.95), rgba(37,99,235,.3));
}
.spark i:last-child { background: linear-gradient(180deg, var(--cyan-400), rgba(6,182,212,.35)); }

/* Miniature dashboard used inside a core card */
.mini-dash { display: grid; gap: .35rem; width: 100%; }
.mini-dash__bar { display: flex; gap: .25rem; align-items: center; }
.mini-dash__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); font-style: normal; }
.mini-dash__row {
    height: 13px; border-radius: 4px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.06);
}
.mini-dash__row--accent { background: linear-gradient(90deg, rgba(37,99,235,.55), rgba(6,182,212,.28)); border-color: transparent; }
.mini-dash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; }
.mini-dash__tile { height: 30px; border-radius: 5px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.06); }

/* Two handsets used inside a core card */
.duo { display: flex; justify-content: center; align-items: flex-end; gap: .55rem; height: 108px; }
.duo i {
    position: relative; display: block; width: 46px; border-radius: 9px;
    font-style: normal; padding: 6px 4px 4px;
    background: linear-gradient(165deg, #2b3550, #131c2e);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 20px -10px rgba(0,0,0,.8);
}
.duo i::before {
    content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.25);
}
.duo i::after {
    content: ""; display: block; height: 100%; border-radius: 5px;
    background: linear-gradient(170deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
}
.duo i:first-child { height: 82px; }
.duo i:last-child { height: 102px; }
.duo i:last-child::after { background: linear-gradient(170deg, rgba(37,99,235,.75), rgba(6,182,212,.3)); }

/* --- Why ITS Global: dark tile grid ----------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-4); }
.why-tile {
    padding: var(--space-5);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius-lg);
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.why-tile:hover { border-color: rgba(96,165,250,.35); }
.why-tile:hover { background: rgba(255,255,255,.07); }
.why-tile__icon {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; margin-bottom: var(--space-4);
    border-radius: 11px;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(96,165,250,.28);
    color: var(--blue-400);
}
.why-tile__icon .icon { width: 20px; height: 20px; }
.why-tile h3 { font-size: .95rem; color: #fff; margin-bottom: .25rem; }
.why-tile p { font-size: var(--fs-xs); color: var(--on-dark-muted); margin: 0; line-height: 1.55; }

/* --- Device preview for project cards --------------------------------------- */
.device {
    position: relative; width: 100%; height: 100%;
    display: grid; place-items: center;
    background: linear-gradient(160deg, #0d1524 0%, #17233d 100%);
    overflow: hidden;
}
.device::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 30px 30px;
}
.device__screen {
    position: relative;
    width: 76%; border-radius: 8px; overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 34px -16px rgba(0,0,0,.9);
}
.device__bar { display: flex; gap: .2rem; padding: .3rem .4rem; background: rgba(255,255,255,.06); }
.device__bar i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); font-style: normal; }
.device__body { padding: .5rem; display: grid; gap: .3rem; }
.device__line { height: 7px; border-radius: 3px; background: rgba(255,255,255,.09); }
.device__line--wide { width: 80%; }
.device__line--accent { background: linear-gradient(90deg, rgba(37,99,235,.7), rgba(6,182,212,.3)); width: 55%; }
.device__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; margin-top: .15rem; }
.device__grid i { height: 18px; border-radius: 3px; background: rgba(255,255,255,.07); font-style: normal; }
.device__phone {
    position: absolute; right: 7%; bottom: 6%;
    width: 15%; border-radius: 7px; padding: 3px;
    background: linear-gradient(160deg, #2b3550, #131c2e);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,.9);
}
.device__phone i {
    display: block; aspect-ratio: 9 / 17; border-radius: 5px; font-style: normal;
    background: linear-gradient(170deg, rgba(37,99,235,.55), rgba(6,182,212,.2));
}

/* --- Closing call to action with a horizon --------------------------------- */
.cta-band--horizon { overflow: hidden; }
.cta-band--horizon::after {
    content: ""; position: absolute; z-index: -1;
    left: 50%; bottom: -78%;
    width: min(140%, 1500px); aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 0%, rgba(96,165,250,.55) 0%, rgba(37,99,235,.28) 34%, transparent 62%);
    border-top: 1px solid rgba(147,197,253,.32);
    pointer-events: none;
}

/* --- Footer newsletter ------------------------------------------------------ */
.subscribe { display: flex; gap: .4rem; margin-top: var(--space-4); }
.subscribe input {
    flex: 1; min-width: 0;
    padding: .6rem .8rem;
    font-size: var(--fs-sm); color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--radius-sm);
}
.subscribe input::placeholder { color: rgba(255,255,255,.42); }
.subscribe input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.subscribe button {
    flex: none; width: 42px;
    display: grid; place-items: center;
    background: var(--blue); color: #fff;
    border: 0; border-radius: var(--radius-sm);
    transition: background-color var(--dur) var(--ease);
}
.subscribe button:hover { background: var(--blue-600); }
.subscribe .icon { width: 17px; height: 17px; }

/* --- Tabs (contact) ---------------------------------------------------------- */
.tabs { display: flex; gap: .3rem; padding: .3rem; background: var(--bg-tint); border-radius: var(--radius); margin-bottom: var(--space-5); }
.tabs button {
    flex: 1; min-height: 42px; padding: .55rem 1rem;
    font-size: var(--fs-sm); font-weight: 600; color: var(--muted);
    background: transparent; border: 0; border-radius: var(--radius-sm);
    transition: all var(--dur) var(--ease);
}
.tabs button[aria-selected="true"] { background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }

/* --- Project overview panel --------------------------------------------------- */
.overview-panel { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.overview-panel__head { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.overview-panel__head h2, .overview-panel__head h3 { margin: 0; font-size: var(--fs-h4); }
.overview-row { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: .8rem; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--border-soft); }
.overview-row:last-child { border-bottom: 0; }
.overview-row__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(37,99,235,.09); color: var(--blue); }
.overview-row__icon .icon { width: 16px; height: 16px; }
.overview-row dt { font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.overview-row dd { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--text); }

/* --- Mega-menu promo column ------------------------------------------------- */
.megamenu__promo {
    padding: var(--space-4);
    background: linear-gradient(160deg, var(--navy), #16233f);
    border-radius: var(--radius);
    color: var(--on-dark-muted);
    display: flex; flex-direction: column; gap: .5rem;
}
.megamenu__promo .card-icon { margin-bottom: .25rem; width: 38px; height: 38px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--cyan-400); }
.megamenu__promo .card-icon .icon { width: 18px; height: 18px; }
.megamenu__promo strong { color: #fff; font-size: var(--fs-body); line-height: 1.3; }
.megamenu__promo p { font-size: var(--fs-xs); margin: 0; line-height: 1.5; }
.megamenu__promo .btn { margin-top: auto; }

@media (max-width: 1024px) {
    .scene { padding: 1.5rem 0 2rem; }
}
@media (max-width: 700px) {
    /* Two labels rather than four: enough to say what we do, without
       crowding a narrow screen. */
    .tag-card--b, .tag-card--d { display: none; }
    .tag-card { padding: .42rem .6rem; }
    .tag-card--a { top: -10px; left: 0; }
    .tag-card--c { bottom: -10px; left: 0; }
}

@media (max-width: 560px) {
    /* Icon-only cards read as stray glyphs, so the labels go entirely and the
       dashboard carries the hero on its own. */
    .tag-card { display: none; }
    .scene { padding: 1rem 0 1.5rem; }
    .phone { width: 92px; right: -2px; bottom: 12%; }
    /* The sidebar cannot be read at this width and clipped when laid out as a
       row, so the panel shows its main pane only. */
    .app-mock__side { display: none; }
    .app-mock__body { grid-template-columns: 1fr; }
    .techstrip__row { gap: var(--space-4) var(--space-5); }
    .techstrip__row span { font-size: .92rem; }
    .core-card__list { min-height: 0; }
    .core-card p { min-height: 0; }
}

/* --- Feature tiles sitting on the hero (service pages) --------------------- */
.hero-tiles {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
    padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.hero-tile {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: var(--space-4) var(--space-5);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-tile:hover { background: rgba(255,255,255,.08); border-color: rgba(96,165,250,.4); }
.hero-tile__icon {
    display: grid; place-items: center; flex: none;
    width: 34px; height: 34px; border-radius: 9px;
    background: rgba(37,99,235,.24); color: var(--blue-400);
}
.hero-tile__icon .icon { width: 17px; height: 17px; }
.hero-tile h2, .hero-tile h3 { font-size: .95rem; color: #fff; margin: 0 0 .2rem; }
.hero-tile p { font-size: var(--fs-xs); color: var(--on-dark-muted); margin: 0; line-height: 1.55; }

/* ==========================================================================
   19. Homepage composition, matched to the supplied design
   ========================================================================== */

/* --- Hero dashboard -------------------------------------------------------
   An outer frame holding a sidebar card and a main pane, as drawn. */
.dash {
    position: relative;
    padding: 11px;
    border-radius: 20px;
    background: linear-gradient(160deg, #16203a 0%, #0d1526 100%);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 44px 84px -36px rgba(0,0,0,.9);
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 11px;
}
.dash__side {
    padding: .6rem .5rem;
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
    display: flex; flex-direction: column; gap: .16rem;
}
.dash__brand {
    display: flex; align-items: center; gap: .4rem;
    padding: .2rem .3rem .6rem;
    font-size: .6rem; font-weight: 650; color: #fff;
}
.dash__brand b {
    width: 20px; height: 20px; flex: none;
    display: grid; place-items: center; border-radius: 6px;
    background: linear-gradient(140deg, var(--blue), var(--cyan));
    color: #fff; font-size: .5rem; font-weight: 800;
}
.dash__nav {
    display: flex; align-items: center; gap: .4rem;
    padding: .34rem .4rem; border-radius: 7px;
    font-size: .58rem; color: rgba(255,255,255,.45);
}
.dash__nav i {
    width: 15px; height: 15px; flex: none; font-style: normal;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(255,255,255,.07);
}
.dash__nav i .icon { width: 8px; height: 8px; }
.dash__nav.is-current { background: var(--blue); color: #fff; }
.dash__nav.is-current i { background: rgba(255,255,255,.25); }

.dash__main { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.dash__top { display: flex; align-items: center; gap: .4rem; }
.dash__search {
    display: flex; align-items: center; gap: .3rem;
    padding: .3rem .55rem; border-radius: var(--radius-pill);
    background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07);
    font-size: .52rem; color: rgba(255,255,255,.35);
    min-width: 0;
}
.dash__search--sm { width: 34%; }
.dash__search--lg { flex: 1; }
.dash__search .icon { width: 9px; height: 9px; flex: none; }

.dash__card {
    padding: .75rem .85rem .4rem;
    border-radius: 13px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.07);
}
.dash__label { font-size: .54rem; color: rgba(255,255,255,.5); }
.dash__value b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.15; }
.dash__value s { text-decoration: none; font-size: .58rem; font-weight: 600; color: #4ade80; }
.dash__chart { display: block; width: 100%; height: auto; margin-top: .2rem; }

.dash__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
.dash__tile {
    display: grid; justify-items: center; gap: .25rem;
    padding: .45rem .2rem;
    border-radius: 9px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
}
.dash__tile i {
    width: 18px; height: 18px; font-style: normal;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(37,99,235,.35); color: #bfdbfe;
}
.dash__tile i .icon { width: 9px; height: 9px; }
.dash__tile span { font-size: .42rem; color: rgba(255,255,255,.4); letter-spacing: .02em; }

/* --- Handset: taller, at the right edge, extending past the panel --------- */
.hand {
    position: absolute; z-index: 3;
    right: -42px; bottom: -19%;
    width: 118px;
    padding: 5px;
    border-radius: 22px;
    background: linear-gradient(165deg, #3a4767, #121a2c);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 30px 56px -18px rgba(0,0,0,.95);
}
.hand__screen {
    border-radius: 18px; overflow: hidden;
    background: linear-gradient(178deg, #16274a, #0a1120);
    padding: .55rem .45rem .7rem;
}
.hand__notch { width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); margin: 0 auto .45rem; }
.hand__title { font-size: .55rem; line-height: 1.28; color: #fff; font-weight: 650; margin-bottom: .1rem; }
.hand__sub { display: block; height: 3px; width: 74%; border-radius: 2px; background: rgba(96,165,250,.5); margin-bottom: .5rem; }
.hand__apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: .26rem; }
.hand__apps span {
    display: grid; justify-items: center; gap: .18rem;
    padding: .3rem .1rem;
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
}
.hand__apps i {
    width: 16px; height: 16px; font-style: normal;
    display: grid; place-items: center; border-radius: 50%;
    background: rgba(37,99,235,.55); color: #fff;
}
.hand__apps i .icon { width: 8px; height: 8px; }
.hand__apps b { font-size: .38rem; font-weight: 500; color: rgba(255,255,255,.45); }
.hand__bar { display: block; width: 38%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); margin: .5rem auto 0; }

/* --- Core service cards: artwork sits inside the card ---------------------- */
.core-card__inline {
    display: grid; grid-template-columns: minmax(0, 1fr) 128px;
    gap: var(--space-4); align-items: end;
    margin-bottom: var(--space-5);
}
.core-card__inline .core-card__list { margin-bottom: 0; min-height: 0; }
.core-card__well {
    border-radius: 10px;
    background: linear-gradient(160deg, #0e1728, #16233f);
    border: 1px solid rgba(255,255,255,.09);
    padding: .7rem;
    display: grid; align-items: end;
}
.core-card__well--wide { grid-column: 1 / -1; }

/* --- Why tiles: three across, as drawn -------------------------------------- */
.grid--why { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --- Closing call to action with a horizon ---------------------------------- */
.cta-horizon {
    position: relative; overflow: hidden;
    background: linear-gradient(165deg, #16337a 0%, #102a63 45%, #0d1f4a 100%);
    color: rgba(219,234,254,.78);
}
/* Ambient wash across the top. */
.cta-horizon::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(58% 90% at 88% 12%, rgba(96,165,250,.4), transparent 60%);
    pointer-events: none;
}
/* The planet: a huge circle whose top edge rises into the bottom of the band.
   Anchoring the top to the band's bottom edge is what keeps the lit rim in
   view - positioning it from the bottom pushes the rim off-screen. */
.cta-horizon::after {
    content: ""; position: absolute; z-index: 0;
    left: 62%; top: calc(100% - 190px);
    width: min(120%, 1250px); aspect-ratio: 1;
    transform: translateX(-30%);
    border-radius: 50%;
    background: radial-gradient(circle at 46% 6%,
        rgba(191,219,254,.85) 0%,
        rgba(96,165,250,.62) 9%,
        rgba(37,99,235,.5) 20%,
        rgba(23,53,124,.42) 34%,
        rgba(13,31,74,0) 52%);
    box-shadow: inset 0 3px 0 rgba(219,234,254,.7), 0 -30px 90px rgba(96,165,250,.35);
    pointer-events: none;
}
.cta-horizon__inner { position: relative; z-index: 1; }
.cta-horizon__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: var(--space-6);
    padding-block: clamp(3rem, 2.5rem + 4vw, 5.5rem);
    padding-bottom: clamp(6rem, 4rem + 8vw, 10rem);
}
.cta-horizon__text { max-width: 560px; }
.cta-horizon h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-horizon .eyebrow { color: #93c5fd; }
.cta-horizon .eyebrow::before { background: #93c5fd; }
.cta-horizon p { margin: 0; color: var(--on-dark-muted); }
.cta-horizon__side { display: grid; gap: .7rem; justify-items: start; }
.cta-horizon__side small { font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

@media (max-width: 1024px) {
    .grid--why { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .core-card__inline { grid-template-columns: 1fr; }
    .core-card__inline .core-card__well { min-height: 96px; }
}
@media (max-width: 560px) {
    .dash { grid-template-columns: 1fr; }
    .dash__side { display: none; }
    .hand { width: 96px; right: 2%; bottom: 4%; }
    .why-grid { grid-template-columns: 1fr; }
    .cta-horizon__inner { flex-direction: column; align-items: flex-start; }
    .cta-horizon__side { width: 100%; }
    .cta-horizon__side .btn { width: 100%; }
}
.techstrip__note { margin: var(--space-5) 0 0; font-size: var(--fs-xs); color: var(--muted-light); }

/* --- Article cover fallback ------------------------------------------------
   Keeps the blog grid even until real cover images are uploaded. */
.post-cover {
    position: relative;
    display: grid; place-items: center;
    width: 100%; height: 100%;
    background: linear-gradient(150deg, #101a2e 0%, #17243f 100%);
    overflow: hidden;
}
.post-cover::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 28px 28px;
}
.post-cover::after {
    content: ""; position: absolute; right: -30%; top: -60%;
    width: 130%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.35), transparent 62%);
}
.post-cover span {
    position: relative;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .35rem .8rem;
    font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-pill);
}
.post-cover .icon { width: 15px; height: 15px; color: var(--cyan-400); }
/* A per-article hue shift so a grid of drawn covers does not read as one
   repeated tile. Real cover images override this entirely. */
.post-cover { --tint: 0; }
.post-cover::after { filter: hue-rotate(calc(var(--tint) * 0.35deg)); }

/* ==========================================================================
   20. Outcome cards — "What are you trying to achieve?"
   The question a visitor arrives with, answered by the service that solves it.
   ========================================================================== */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
}
.outcome-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--space-5) var(--space-5) var(--space-4);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.outcome-card::before {
    content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.outcome-card:hover { border-color: rgba(37,99,235,.35); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.outcome-card:hover::before { transform: scaleX(1); }
.outcome-card__q {
    font-size: var(--fs-h4); font-weight: 650; letter-spacing: -.015em;
    color: var(--text); margin: 0 0 .5rem; text-wrap: balance;
}
.outcome-card__q a { color: inherit; }
.outcome-card__q a::after { content: ""; position: absolute; inset: 0; }
.outcome-card p:not(.outcome-card__answer) { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--space-5); }
.outcome-card__answer {
    display: flex; align-items: center; gap: .55rem;
    margin-top: auto; padding-top: var(--space-4);
    border-top: 1px solid var(--border-soft);
    font-size: var(--fs-sm); font-weight: 600; color: var(--blue);
}
.outcome-card__answer .icon { width: 17px; height: 17px; flex: none; }
.outcome-card__answer .icon--arrow { margin-left: auto; transition: transform var(--dur) var(--ease); }
.outcome-card:hover .icon--arrow { transform: translateX(3px); }

/* --- Wide category tab bar (packages) ------------------------------------- */
.tabs--wide {
    justify-content: center; flex-wrap: wrap;
    max-width: max-content; margin-inline: auto;
    background: var(--bg-tint); border: 1px solid var(--border-soft);
}
.tabs--wide button {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.15rem; white-space: nowrap;
}
.tabs--wide button .icon { width: 17px; height: 17px; }

/* --- "Need a custom solution?" panel -------------------------------------- */
.custom-panel {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
    gap: var(--space-6) var(--space-7);
    align-items: center;
    padding: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(6,182,212,.20), transparent 58%),
        linear-gradient(140deg, var(--navy), var(--navy-700));
    color: var(--white);
    box-shadow: var(--shadow-xl);
}
.custom-panel .eyebrow { color: var(--cyan); }
.custom-panel h2 { color: var(--white); margin: 0 0 .65rem; }
.custom-panel__body > p { color: var(--on-dark-muted); max-width: 56ch; margin: 0 0 var(--space-5); }
.custom-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.custom-panel__list li {
    display: flex; gap: .7rem; align-items: flex-start;
    font-size: var(--fs-sm); color: var(--on-dark-muted);
    padding-bottom: .85rem; border-bottom: 1px solid rgba(255,255,255,.09);
}
.custom-panel__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.custom-panel__list .icon { width: 18px; height: 18px; flex: none; color: var(--cyan); margin-top: .12rem; }
@media (max-width: 860px) { .custom-panel { grid-template-columns: 1fr; } }

/* --- Blog search + featured article --------------------------------------- */
.blog-search {
    position: relative;
    display: flex; align-items: center; gap: .6rem;
    max-width: 620px; margin: 0 auto var(--space-6);
    padding: .4rem .4rem .4rem 2.65rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.13); }
.blog-search > .icon {
    position: absolute; left: .95rem; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.blog-search input[type="search"] {
    flex: 1 1 auto; min-width: 0;
    border: 0; background: none; padding: .55rem 0;
    font: inherit; color: var(--text);
}
.blog-search input[type="search"]:focus { outline: none; }
.blog-search .btn { flex: none; border-radius: 999px; padding-inline: 1.35rem; }
.blog-search__clear { flex: none; font-size: var(--fs-sm); color: var(--muted); padding-right: .6rem; }
.blog-search__result { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin: -1rem 0 var(--space-6); }

.featured-post {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0; align-items: stretch;
    margin-bottom: var(--space-7);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.featured-post__media { display: block; }
.featured-post__media .media { height: 100%; border-radius: 0; }
.featured-post__body {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.featured-post__body h2 { font-size: var(--fs-h2); margin: 0 0 .6rem; text-wrap: balance; }
.featured-post__body h2 a { color: inherit; }
.featured-post__body h2 a:hover { color: var(--blue); }
.featured-post__body .lead { margin: 0 0 var(--space-4); }
.featured-post__meta { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 var(--space-5); }
@media (max-width: 860px) {
    .featured-post { grid-template-columns: 1fr; }
    .featured-post__media .media { height: auto; }
}

/* --- FAQ: sticky category index beside the grouped accordions -------------- */
.faq-layout {
    display: grid; grid-template-columns: 258px minmax(0, 1fr);
    gap: var(--space-7);
    align-items: start;
}
.faq-index { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.faq-index__title {
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em;
    text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem;
}
.faq-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.faq-index a {
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .75rem; border-radius: var(--radius-sm);
    font-size: var(--fs-sm); font-weight: 550; color: var(--text);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq-index a:hover { background: var(--bg-tint); color: var(--blue); }
.faq-index a .icon { width: 17px; height: 17px; flex: none; color: var(--blue); }
.faq-index a > span:first-of-type { flex: 1 1 auto; }
.faq-index__count {
    flex: none; min-width: 1.6rem; text-align: center;
    padding: .1rem .4rem; border-radius: 999px;
    background: var(--bg-tint); color: var(--muted);
    font-size: var(--fs-xs); font-variant-numeric: tabular-nums;
}
.faq-index a:hover .faq-index__count { background: var(--white); }
.faq-groups { display: grid; gap: var(--space-7); }
.faq-group__count {
    margin-left: auto; flex: none;
    font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
    letter-spacing: .02em;
}
@media (max-width: 960px) {
    .faq-layout { grid-template-columns: 1fr; gap: var(--space-6); }
    .faq-index { position: static; }
    .faq-index ul { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .faq-index a { border: 1px solid var(--border); }
}

/* --- Portfolio: fewer, larger previews ------------------------------------ */
.grid--work {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: var(--space-6);
}
.grid--work .work-card__media { aspect-ratio: 16 / 10; }
.grid--work .work-card__body { padding: var(--space-5) var(--space-5) var(--space-4); }
.grid--work .work-card h3 { font-size: var(--fs-h4); }
@media (max-width: 900px) { .grid--work { grid-template-columns: 1fr; } }

/* ==========================================================================
   21. Service pages — the problem, and the technical visuals
   ========================================================================== */
.problem {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-6) var(--space-7);
    align-items: start;
}
.problem__head .eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--amber, #b45309); }
.problem__head .eyebrow .icon { width: 16px; height: 16px; }
.problem__head h2 { margin: 0 0 .75rem; }
.problem__head .lead { margin: 0 0 var(--space-4); }
.problem__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.problem__list li {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: var(--space-4) var(--space-5);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid rgba(180,83,9,.55);
    border-radius: var(--radius);
}
.problem__list strong { display: block; font-size: var(--fs-base); margin-bottom: .2rem; color: var(--text); }
.problem__list li > span:last-child > span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.problem__mark {
    display: grid; place-items: center; flex: none;
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(180,83,9,.10); color: #b45309;
}
.problem__mark .icon { width: 17px; height: 17px; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }

.section-visual { margin-bottom: var(--space-6); }
.section-visual__dash, .section-visual__device {
    padding: clamp(1.25rem, .8rem + 2vw, 2.5rem);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(110% 130% at 85% 0%, rgba(6,182,212,.16), transparent 60%),
        linear-gradient(140deg, var(--navy), var(--navy-700));
    box-shadow: var(--shadow-lg);
}
.section-visual__dash .dash { margin: 0 auto; max-width: 820px; }
.section-visual__device { display: grid; place-items: center; }
.section-visual__device .device { position: static; transform: none; }
.figure-note { font-size: var(--fs-sm); color: var(--muted); margin: .8rem 0 0; }

/* --- Composition corrections found in the rendered pages ------------------- */

/* Five outcomes fill two rows cleanly as 3 + 2 rather than 4 + 1 orphan. */
@media (min-width: 1040px) {
    .outcome-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .outcome-card { grid-column: span 2; }
    .outcome-card:nth-child(4), .outcome-card:nth-child(5) { grid-column: span 3; }
}

/* The category tabs sit directly above the panel they control. */
.tabs--wide { margin-bottom: 0; }
[data-tab-panel-body] { padding-top: var(--space-5); }

/* Core cards: let the drawn art absorb the slack instead of the card foot. */
.core-card__inline { flex: 1 1 auto; align-items: stretch; }
.core-card__well--wide { flex: 1 1 auto; min-height: 130px; }
.section-visual__device .device { width: min(100%, 460px); }
.section-visual__device .device__phone { position: absolute; }
.featured-post__media .post-cover, .featured-post__media img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* On a narrow screen the category tabs scroll sideways instead of stacking
   into a block taller than the content they filter. */
@media (max-width: 780px) {
    .tabs--wide {
        max-width: none; flex-wrap: nowrap;
        overflow-x: auto; justify-content: flex-start;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .tabs--wide::-webkit-scrollbar { display: none; }
    .tabs--wide button { flex: none; }
}

/* Breadcrumb links are small text; give the touch target the height a thumb
   needs without changing how the trail looks. */
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; }

/* ==========================================================================
   22. Homepage composition, to the reference design
   ========================================================================== */

/* --- Hero trust chips gain a second line ----------------------------------- */
.hero-chips { flex-wrap: wrap; row-gap: var(--space-4); gap: .6rem clamp(1rem, 1.8vw, 1.75rem); }
.hero-chips span {
    display: inline-grid; grid-template-columns: auto auto; align-items: center;
    column-gap: .6rem; row-gap: 0; width: auto;
}
.hero-chips span .icon { grid-row: span 2; }
.hero-chips span b { font-size: .84rem; font-weight: 600; color: #fff; line-height: 1.25; }
.hero-chips span i {
    font-style: normal; font-size: .7rem; line-height: 1.3;
    color: rgba(255,255,255,.5);
}

/* --- The second metric tile in the hero scene ------------------------------ */
.stat-tile {
    position: absolute; right: -14px; top: 22%;
    display: grid; gap: .3rem;
    width: 152px; padding: .7rem .8rem;
    border-radius: 14px;
    background: linear-gradient(160deg, #16203a, #0d1526);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 24px 48px -22px rgba(0,0,0,.85);
}
.stat-tile__label { font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.stat-tile__value { font-size: 1.05rem; font-weight: 650; color: #fff; font-variant-numeric: tabular-nums; }
.stat-tile__value s { text-decoration: none; font-size: 9.5px; font-weight: 600; color: #34d399; margin-left: .3rem; }
.stat-tile__bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.stat-tile__bars i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #60a5fa, #2563eb); }
@media (max-width: 1180px) { .stat-tile { display: none; } }

/* --- Section head tools (link + rail arrows) ------------------------------- */
.head-tools { display: flex; align-items: center; gap: var(--space-4); flex: none; }
.rail-nav { display: flex; gap: .4rem; }
.rail-nav button {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--white); color: var(--text);
    border: 1px solid var(--border); cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rail-nav button:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.rail-nav button:disabled { opacity: .38; cursor: default; }
.rail-nav .icon { width: 16px; height: 16px; }
.section--dark .rail-nav button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.section--dark .head-tools .link-arrow { color: var(--cyan-400); }

/* A rail is the same grid until it has to scroll, and then it scrolls. */
.rail { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 900px) {
    .rail { grid-auto-flow: column; grid-auto-columns: minmax(280px, 84%); grid-template-columns: none; }
}

/* --- Goal cards: the problem, the answer, the work ------------------------- */
.goal-grid {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-4);
}
.goal-card {
    display: grid; align-content: start; gap: .4rem;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--white);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.goal-card:hover {
    background: rgba(37,99,235,.14);
    border-color: rgba(96,165,250,.42);
    transform: translateY(-3px);
}
.goal-card__icon {
    display: grid; place-items: center;
    width: 38px; height: 38px; margin-bottom: var(--space-4);
    border-radius: 11px;
    background: rgba(37,99,235,.22); color: var(--cyan-400);
}
.goal-card__icon .icon { width: 19px; height: 19px; }
.goal-card__q {
    font-size: var(--fs-base); font-weight: 650; line-height: 1.3;
    color: #fff; text-wrap: balance;
}
.goal-card__a { margin-top: var(--space-4); font-size: var(--fs-sm); font-weight: 600; color: var(--cyan-400); }
.goal-card__sub { font-size: var(--fs-xs); color: rgba(255,255,255,.48); }
@media (max-width: 1080px) { .goal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .goal-grid { grid-template-columns: 1fr; } }

/* --- The band of figures --------------------------------------------------- */
.stat-band { background: var(--bg-soft); border-block: 1px solid var(--border-soft); padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.stat-band__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin: 0; }
.stat-band__item { display: grid; gap: .2rem; }
.stat-band__value {
    margin: 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem);
    font-weight: 700; letter-spacing: -.03em; color: var(--blue);
    font-variant-numeric: tabular-nums; line-height: 1.05;
}
.stat-band__label { font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.stat-band__note { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 780px) { .stat-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }

/* --- The process, as a rail of connected steps -----------------------------
   The base .flow already draws one continuous rail behind the row; this only
   resizes it to the smaller dots the homepage uses and adds the step markers. */
/* The base rail spans the whole row, which overshoots the first and last dots.
   Each step draws its own segment instead, so it starts and stops on a dot. */
.section--dark .flow::before { display: none; }
.flow__step::before {
    content: ""; position: absolute; top: 19px; left: 38px; right: calc(-1 * var(--space-4));
    height: 1px; background: rgba(255,255,255,.20);
}
.flow__step:last-child::before { display: none; }
.flow { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.flow__step { display: grid; align-content: start; gap: .25rem; padding-top: 52px; }
.flow__dot {
    position: absolute; top: 0; left: 0;
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--navy-600); border: 1px solid rgba(96,165,250,.45);
    color: var(--cyan-400); z-index: 1;
}
.flow__dot .icon { width: 17px; height: 17px; }
/* A marker on the rail between one step and the next. */
.flow__step::after {
    content: ""; position: absolute; top: 16px; right: calc(-1 * var(--space-4) / 2 - 3px);
    width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.flow__step:last-child::after { display: none; }
.section--dark .flow__num { color: rgba(255,255,255,.4); }
.flow__title { font-size: var(--fs-base); font-weight: 650; color: #fff; }
.flow__text { font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.5; }
@media (max-width: 1080px) {
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow__step::before, .flow__step::after { display: none; }
}
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* --- Testimonials: one lead card beside two shorter ones ------------------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.quote-card--lead { padding: var(--space-6); }
.quote-card--lead blockquote { font-size: var(--fs-lg); }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; } }

/* --- The header sits over the dark hero, as in the reference --------------- */
.site-header--dark { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--dark .logo__tag { color: rgba(255,255,255,.5); }
.site-header--dark .nav__link { color: rgba(255,255,255,.72); }
.site-header--dark .nav__link:hover,
.site-header--dark .nav__link[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.site-header--dark .nav__link.is-active { color: var(--cyan-400); }
.site-header--dark .burger { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.site-header--dark.is-stuck {
    background: rgba(8,17,31,.9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: rgba(255,255,255,.10);
    box-shadow: 0 1px 24px rgba(0,0,0,.4);
}

/* --- Dashboard: address pill, month axis, second metric card --------------- */
.dash { grid-template-columns: 132px minmax(0, 1fr); }
.dash__url {
    display: flex; align-items: center; gap: .35rem;
    flex: 1 1 auto; min-width: 0;
    padding: .3rem .6rem; border-radius: 999px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
    font-size: 8.5px; color: rgba(255,255,255,.5);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash__url .icon { width: 9px; height: 9px; flex: none; }
.dash__row { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 9px; }
.dash--solo .dash__row { grid-template-columns: minmax(0, 1fr); }
.dash__axis { display: flex; justify-content: space-between; margin-top: .3rem; }
.dash__axis i { font-style: normal; font-size: 7.5px; color: rgba(255,255,255,.32); }
.dash__card--aside { display: grid; align-content: start; gap: .35rem; }
.dash__bars { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin-top: .2rem; }
.dash__bars i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #60a5fa, #2563eb); }

/* --- Project previews drawn to the project's own kind ---------------------- */
/* A dashboard project: a navigation rail and a chart, not a marketing page. */
.device--dash .device__body { background: linear-gradient(150deg, #101a30, #0a1120); padding: .45rem; }
.device__split { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .35rem; }
.device__rail { display: grid; align-content: start; gap: .22rem; }
.device__rail i { height: 6px; border-radius: 2px; background: rgba(255,255,255,.12); font-style: normal; }
.device__rail i:first-child { background: linear-gradient(90deg, rgba(37,99,235,.9), rgba(6,182,212,.4)); }
.device__panel { display: grid; gap: .35rem; align-content: start; }
.device__chart { display: flex; align-items: flex-end; gap: 3px; height: 46px; }
.device__chart i { flex: 1; border-radius: 2px 2px 0 0; font-style: normal; background: linear-gradient(180deg, rgba(96,165,250,.95), rgba(37,99,235,.3)); }
.device__chart i:last-child { background: linear-gradient(180deg, var(--cyan-400), rgba(6,182,212,.35)); }

/* A mobile project: two phone screens instead of a browser window. */
.device--mobile { display: grid; place-items: center; }
.device--mobile::before { content: none; }
.device--mobile .device__phone { position: static; width: 58px; height: 108px; display: grid; align-content: start; gap: .22rem; padding: 7px 5px; }
.device--mobile .device__phone i { display: block; width: 100%; height: 6px; border-radius: 2px; background: rgba(255,255,255,.16); font-style: normal; }
.device--mobile .device__phone i:first-child { background: linear-gradient(90deg, rgba(37,99,235,.9), rgba(6,182,212,.4)); }
.device--mobile .device__phone--back { transform: rotate(-8deg) translateX(24%); opacity: .72; }
.device--mobile .device__phone--front { transform: rotate(5deg) translateX(-24%); margin-left: -34px; }
/* The phone hangs off the panel's lower-right corner, clear of the metric card. */
.scene .hand { right: -58px; bottom: -30%; }

/* --- Core card artwork ----------------------------------------------------- */
/* The wells were stretching to absorb card slack, which turned a landscape
   chart into a portrait one. Fix the height and let the foot take the slack. */
.core-card__inline { flex: none; align-items: center; }
.core-card__well { height: 118px; }
.core-card__well .spark { height: 84px; }
.core-card__well--wide { flex: none; min-height: 0; height: 132px; }

/* Layered application cards, for the build card. */
.stack { position: relative; display: block; width: 100%; height: 92px; }
.stack i {
    position: absolute; display: block;
    border-radius: 9px; font-style: normal;
    background: linear-gradient(165deg, #2b3550, #131c2e);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 12px 22px -12px rgba(0,0,0,.85);
}
.stack i:nth-child(1) { inset: 26px 34px 6px 4px;  transform: rotate(-7deg); }
.stack i:nth-child(2) { inset: 14px 18px 14px 16px; transform: rotate(-2deg); }
.stack i:nth-child(3) {
    inset: 4px 4px 22px 30px; transform: rotate(5deg);
    background: linear-gradient(165deg, rgba(37,99,235,.85), rgba(6,182,212,.35));
    border-color: rgba(125,211,252,.45);
}

/* The head tools sit level with the heading, as in the reference. */
.section-head--split { align-items: center; }
/* The inline drawing takes a fixed column so the list beside it never wraps. */
.core-card__inline { gap: var(--space-4); }
.core-card__inline .core-card__list { flex: 1 1 auto; min-width: 0; }
.core-card__inline .core-card__well { flex: none; width: 128px; }
/* The answer sits at the foot of the card, so the five line up across the row. */
.goal-card { align-content: stretch; grid-template-rows: auto 1fr auto auto; }
.goal-card__a { margin-top: 0; align-self: end; }
/* On a phone the drawn dashboard has no room for a second metric beside the
   first, and the two collide. Show the headline card alone. */
@media (max-width: 720px) {
    .dash__row { grid-template-columns: minmax(0, 1fr); }
    .dash__card--aside { display: none; }
}


/* ==========================================================================
   ITS GLOBAL - DESIGN BOARD BUILD
   Built to the ten-panel mockup: dark editorial heroes, a light product body,
   centred section heads, and one card language reused across services, work,
   pricing, quotes and posts. Scoped under .site-body so the admin is untouched.
   ========================================================================== */

.site-body {
    --mk-ink:        #0B1524;
    --mk-ink-2:      #101E33;
    --mk-blue:       #2B6CF6;
    --mk-blue-600:   #1D55D6;
    --mk-blue-soft:  #EEF3FF;
    --mk-line:       #E4E9F1;
    --mk-line-soft:  #EDF1F7;
    --mk-body:       #4B5768;
    --mk-muted:      #7A879B;
    --mk-surface:    #FFFFFF;
    --mk-surface-2:  #F6F8FC;
    --mk-radius:     14px;
    --mk-radius-lg:  20px;
    --mk-shadow:     0 1px 2px rgba(11,21,36,.04), 0 8px 24px rgba(11,21,36,.05);
    --mk-shadow-lg:  0 24px 60px rgba(11,21,36,.12);
    background: var(--mk-surface);
}

.site-body .container { max-width: 1200px; }
.site-body h1, .site-body h2, .site-body h3, .site-body h4 { letter-spacing: -.028em; }

/* --- Section rhythm ------------------------------------------------------ */
.mk-section { padding-block: clamp(3.75rem, 5.5vw, 6.25rem); }
.mk-section--tint { background: var(--mk-surface-2); }
.mk-section--tight { padding-block: clamp(2.75rem, 4vw, 4rem); }

.mk-head { max-width: 640px; margin: 0 auto clamp(2.25rem, 3.5vw, 3.25rem); text-align: center; }
.mk-head h2 {
    margin: 0 0 .7rem;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.35rem);
    font-weight: 700;
    color: var(--mk-ink);
}
.mk-head p { margin: 0; color: var(--mk-muted); font-size: 1rem; line-height: 1.65; }
.mk-head--left { margin-inline: 0; text-align: left; }

/* --- Buttons ------------------------------------------------------------- */
.site-body .btn {
    border-radius: 9px;
    font-weight: 600;
    letter-spacing: -.005em;
}
.site-body .btn--primary {
    background: var(--mk-blue);
    border-color: var(--mk-blue);
    color: #fff;
    box-shadow: 0 6px 16px rgba(43,108,246,.24);
}
.site-body .btn--primary:hover { background: var(--mk-blue-600); border-color: var(--mk-blue-600); }
.site-body .btn--pill { border-radius: 999px; padding-inline: 1.35rem; }

.mk-btn-ghost {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .72rem 1.05rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none;
    background: rgba(255,255,255,.05);
    transition: background .18s ease, border-color .18s ease;
}
.mk-btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); }
.mk-btn-ghost .icon { width: 17px; height: 17px; }

/* --- Header -------------------------------------------------------------- */
.site-body .site-header__inner { min-height: 74px; gap: 1.5rem; }
.site-body .site-header--dark { background: rgba(11,21,36,.92); border-bottom: 1px solid rgba(255,255,255,.07); }
.site-body .site-header--dark.is-stuck { background: rgba(11,21,36,.985); box-shadow: 0 8px 26px rgba(0,0,0,.18); }
.site-body .nav { margin-inline: auto; }
.site-body .nav__link { font-size: .875rem; font-weight: 550; }
.site-body .site-header--dark .nav__link:hover,
.site-body .site-header--dark .nav__link.is-active { color: #fff; }
.site-body .header__actions .btn--primary {
    border-radius: 999px;
    padding: .6rem 1.3rem;
    font-size: .86rem;
    box-shadow: none;
}

/* The light pages in the board carry a white bar with a dark logo. */
.site-body .site-header--light { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--mk-line); }
.site-body .site-header--light.is-stuck { box-shadow: 0 6px 22px rgba(11,21,36,.07); }
.site-body .site-header--light .nav__link { color: #33415A; }
.site-body .site-header--light .nav__link:hover,
.site-body .site-header--light .nav__link.is-active { color: var(--mk-ink); }
.site-body .site-header--light .logo__name { color: var(--mk-ink); }
.site-body .site-header--light .logo__tag { color: var(--mk-muted); }
.site-body .site-header--light .nav-toggle { color: var(--mk-ink); border-color: var(--mk-line); }

/* --- Dark hero (homepage, about) ----------------------------------------- */
.mk-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(72% 100% at 78% 8%, rgba(43,108,246,.26), transparent 62%),
        radial-gradient(48% 72% at 4% 96%, rgba(6,182,212,.11), transparent 64%),
        linear-gradient(140deg, #08111F 0%, #0C1A2D 54%, #08111F 100%);
    color: #fff;
    isolation: isolate;
}
.mk-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
}
.mk-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    padding-block: clamp(3.5rem, 6vw, 6rem) clamp(3rem, 5vw, 4.5rem);
}
.mk-hero h1 {
    margin: 0 0 1.15rem;
    font-size: clamp(2.4rem, 1.5rem + 3.1vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: -.042em;
    font-weight: 700;
    color: #fff;
}
.mk-hero h1 em { font-style: normal; color: #6FA0FF; }
.mk-hero__lead {
    margin: 0;
    max-width: 46ch;
    color: #A7B4C8;
    font-size: 1.03rem;
    line-height: 1.72;
}
.mk-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.9rem; }
.mk-hero__visual { position: relative; }
.mk-hero__visual > img { display: block; width: 100%; border-radius: var(--mk-radius-lg); }

/* --- Stat bar ------------------------------------------------------------ */
.mk-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.10);
    padding-block: clamp(1.6rem, 2.4vw, 2.25rem);
}
.mk-stats > div { padding-inline: clamp(.5rem, 2vw, 1.5rem); text-align: center; }
.mk-stats > div + div { border-left: 1px solid rgba(255,255,255,.10); }
.mk-stats b {
    display: block;
    font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.035em;
    color: #fff;
}
.mk-stats span { display: block; margin-top: .3rem; font-size: .82rem; color: #93A2B8; }

/* --- Trust / platform strip ---------------------------------------------- */
.mk-logos { background: var(--mk-surface); border-bottom: 1px solid var(--mk-line-soft); padding-block: 2.1rem; }
.mk-logos__label {
    margin: 0 0 1.15rem;
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #9AA6B8;
}
.mk-logos__row {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: clamp(1.75rem, 5vw, 3.75rem);
}
.mk-logos__row span {
    display: inline-flex; align-items: center; gap: .5rem;
    color: #63718A; font-weight: 650; font-size: 1.02rem; letter-spacing: -.015em;
    opacity: .85; transition: opacity .18s ease;
}
.mk-logos__row span:hover { opacity: 1; }
.mk-logos__row .icon { width: 20px; height: 20px; }

/* --- Card grid (services, values, work, posts, quotes) ------------------- */
.mk-grid { display: grid; gap: 1.5rem; }
.mk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.mk-card {
    display: flex; flex-direction: column;
    padding: 1.75rem 1.6rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mk-card:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow); border-color: #D3DBE8; }
.mk-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 1.1rem;
    border: 1px solid var(--mk-line); border-radius: 11px;
    background: var(--mk-surface-2); color: var(--mk-ink);
}
.mk-card__icon .icon { width: 21px; height: 21px; }
.mk-card h3 { margin: 0 0 .5rem; font-size: 1.02rem; font-weight: 650; color: var(--mk-ink); }
.mk-card p { margin: 0; color: var(--mk-muted); font-size: .89rem; line-height: 1.62; }
.mk-card__more {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: 1.35rem; color: var(--mk-blue);
    font-size: .85rem; font-weight: 600; text-decoration: none;
}
.mk-card__more .icon { width: 16px; height: 16px; transition: transform .18s ease; }
.mk-card:hover .mk-card__more .icon { transform: translateX(3px); }
.mk-card--link { position: relative; }
.mk-card--link > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* --- Full-bleed image call to action ------------------------------------- */
.mk-cta-band {
    position: relative; overflow: hidden;
    border-radius: var(--mk-radius-lg);
    background: linear-gradient(135deg, #0A1626 0%, #14263F 48%, #0A1626 100%);
    color: #fff;
    isolation: isolate;
}
.mk-cta-band img {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover; opacity: .38;
}
.mk-cta-band::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(8,17,31,.95) 8%, rgba(8,17,31,.55) 62%, rgba(8,17,31,.2) 100%);
}
.mk-cta-band__inner { padding: clamp(2.75rem, 5vw, 4.25rem) clamp(1.75rem, 4vw, 3.5rem); max-width: 640px; }
.mk-cta-band h2 {
    margin: 0 0 .7rem;
    font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.3rem);
    font-weight: 700; line-height: 1.16; color: #fff;
}
.mk-cta-band p { margin: 0 0 1.75rem; color: #B4C0D2; font-size: 1rem; line-height: 1.6; }

/* --- Filter chips (services, work) --------------------------------------- */
.mk-chips {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: .5rem; margin-bottom: 2.25rem;
}
.mk-chip {
    padding: .52rem 1.1rem;
    border: 1px solid var(--mk-line); border-radius: 999px;
    background: var(--mk-surface); color: var(--mk-body);
    font-size: .84rem; font-weight: 600; cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.mk-chip:hover { border-color: #C6D1E2; color: var(--mk-ink); }
.mk-chip.is-active { background: var(--mk-ink); border-color: var(--mk-ink); color: #fff; }

/* --- Services overview tiles --------------------------------------------- */
.mk-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.mk-tile {
    display: flex; flex-direction: column; gap: .7rem;
    padding: 1.3rem 1.15rem;
    border: 1px solid var(--mk-line); border-radius: 12px;
    background: var(--mk-surface); text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mk-tile:hover { transform: translateY(-2px); box-shadow: var(--mk-shadow); border-color: #D3DBE8; }
.mk-tile__icon { color: var(--mk-blue); }
.mk-tile__icon .icon { width: 22px; height: 22px; }
.mk-tile b { font-size: .88rem; font-weight: 620; color: var(--mk-ink); line-height: 1.35; }
.mk-tile .icon--arrow { width: 15px; height: 15px; color: var(--mk-muted); margin-top: auto; }

/* --- Light interior hero (service detail, list pages) -------------------- */
.mk-page-hero { background: var(--mk-surface); border-bottom: 1px solid var(--mk-line-soft); }
.mk-page-hero__inner {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center; gap: clamp(2rem, 4.5vw, 4rem);
    padding-block: clamp(2.5rem, 4.5vw, 4.25rem);
}
.mk-page-hero__inner--solo { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.mk-page-hero__inner--centre { text-align: center; margin-inline: auto; }
.mk-page-hero h1 {
    margin: 0 0 .85rem;
    font-size: clamp(2rem, 1.35rem + 2.3vw, 3rem);
    line-height: 1.1; font-weight: 700; color: var(--mk-ink);
}
.mk-page-hero__lead { margin: 0; max-width: 58ch; color: var(--mk-muted); font-size: 1.02rem; line-height: 1.7; }
.mk-page-hero__inner--centre .mk-page-hero__lead { margin-inline: auto; }
.mk-page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.mk-page-hero__inner--centre .mk-page-hero__actions { justify-content: center; }
.mk-page-hero__visual img { display: block; width: 100%; border-radius: var(--mk-radius); }

/* --- Anchored tab bar (service detail) ----------------------------------- */
.mk-tabbar {
    position: sticky; top: 74px; z-index: 30;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--mk-line);
}
.mk-tabbar__row { display: flex; gap: clamp(1.1rem, 2.6vw, 2.25rem); overflow-x: auto; scrollbar-width: none; }
.mk-tabbar__row::-webkit-scrollbar { display: none; }
.mk-tabbar a {
    flex: none; padding: 1rem .15rem; border-bottom: 2px solid transparent;
    color: var(--mk-muted); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: color .16s ease, border-color .16s ease;
}
.mk-tabbar a:hover { color: var(--mk-ink); }
.mk-tabbar a.is-active { color: var(--mk-blue); border-bottom-color: var(--mk-blue); }

/* --- Split feature block -------------------------------------------------- */
.mk-split {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center; gap: clamp(2.25rem, 5vw, 4.5rem);
}
.mk-split--flip > *:first-child { order: 2; }
.mk-split h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.15rem); font-weight: 700; color: var(--mk-ink); }
.mk-split p { color: var(--mk-muted); font-size: .98rem; line-height: 1.72; }
.mk-split img { display: block; width: 100%; border-radius: var(--mk-radius); }
.mk-ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .8rem; }
.mk-ticks li {
    display: flex; align-items: flex-start; gap: .65rem;
    color: var(--mk-ink); font-size: .93rem; font-weight: 550; line-height: 1.5;
}
.mk-ticks .icon { flex: none; width: 18px; height: 18px; margin-top: .12rem; color: var(--mk-blue); }

/* --- Pricing -------------------------------------------------------------- */
.mk-toggle {
    display: inline-flex; align-items: center; gap: .3rem;
    margin: 0 auto 2.5rem; padding: .3rem;
    background: var(--mk-surface-2); border: 1px solid var(--mk-line); border-radius: 999px;
}
.mk-toggle button {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1.15rem; border: 0; border-radius: 999px;
    background: transparent; color: var(--mk-muted);
    font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: background .16s ease, color .16s ease;
}
.mk-toggle button.is-active { background: var(--mk-surface); color: var(--mk-ink); box-shadow: 0 1px 3px rgba(11,21,36,.10); }
.mk-toggle__save {
    padding: .16rem .45rem; border-radius: 999px;
    background: #E7F6EE; color: #067647;
    font-size: .66rem; font-weight: 700; letter-spacing: .02em;
}
.mk-toggle-wrap { display: flex; justify-content: center; }

.mk-tier {
    display: flex; flex-direction: column;
    padding: 1.9rem 1.7rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
}
.mk-tier--featured {
    border-color: var(--mk-blue);
    box-shadow: 0 20px 48px rgba(43,108,246,.14);
    transform: translateY(-8px);
}
.mk-tier__flag {
    align-self: center; margin: -2.55rem 0 1.25rem;
    padding: .34rem .95rem; border-radius: 999px;
    background: var(--mk-blue); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.mk-tier h3 { margin: 0 0 .55rem; font-size: 1.06rem; font-weight: 650; color: var(--mk-ink); }
.mk-tier__price { display: flex; align-items: baseline; gap: .3rem; margin: 0 0 .3rem; }
.mk-tier__price b { font-size: 2.35rem; font-weight: 700; letter-spacing: -.04em; color: var(--mk-ink); }
.mk-tier__price span { color: var(--mk-muted); font-size: .85rem; }
.mk-tier__note { margin: 0 0 1.4rem; color: var(--mk-muted); font-size: .85rem; line-height: 1.55; }
.mk-tier__list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .68rem; }
.mk-tier__list li {
    display: flex; align-items: flex-start; gap: .55rem;
    color: var(--mk-body); font-size: .87rem; line-height: 1.5;
}
.mk-tier__list .icon { flex: none; width: 16px; height: 16px; margin-top: .16rem; color: var(--mk-blue); }
.mk-tier .btn { margin-top: auto; width: 100%; justify-content: center; }

/* --- Work cards ----------------------------------------------------------- */
.mk-work {
    position: relative; overflow: hidden;
    border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
    background: var(--mk-surface); text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mk-work:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow); }
.mk-work__shot { position: relative; aspect-ratio: 16 / 10; background: var(--mk-ink); overflow: hidden; }
.mk-work__shot img { width: 100%; height: 100%; object-fit: cover; }
.mk-work__body { padding: 1.05rem 1.15rem 1.25rem; }
.mk-work__body b { display: block; font-size: .95rem; font-weight: 640; color: var(--mk-ink); }
.mk-work__body span { display: block; margin-top: .18rem; font-size: .82rem; color: var(--mk-muted); }

/* --- Quote cards ---------------------------------------------------------- */
.mk-quote {
    display: flex; flex-direction: column;
    padding: 1.75rem 1.6rem;
    background: var(--mk-surface);
    border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
}
.mk-quote__who { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.mk-quote__av {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 42px; height: 42px; border-radius: 50%;
    background: var(--mk-blue-soft); color: var(--mk-blue);
    font-size: .84rem; font-weight: 700; overflow: hidden;
}
.mk-quote__av img { width: 100%; height: 100%; object-fit: cover; }
.mk-quote__who b { display: block; font-size: .9rem; font-weight: 640; color: var(--mk-ink); }
.mk-quote__who span { display: block; font-size: .78rem; color: var(--mk-muted); }
.mk-quote blockquote { margin: 0; color: var(--mk-body); font-size: .92rem; line-height: 1.68; }
.mk-stars { display: flex; gap: .12rem; margin-top: 1.15rem; color: #F5A623; }
.mk-stars .icon { width: 15px; height: 15px; }

/* --- Post cards ----------------------------------------------------------- */
.mk-post {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--mk-surface);
    border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mk-post:hover { transform: translateY(-4px); box-shadow: var(--mk-shadow); }
.mk-post__shot { aspect-ratio: 16 / 9; background: var(--mk-ink); overflow: hidden; }
.mk-post__shot img { width: 100%; height: 100%; object-fit: cover; }
.mk-post__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.4rem; }
.mk-post__date { margin: 0 0 .5rem; font-size: .76rem; color: var(--mk-muted); }
.mk-post h3 { margin: 0 0 1rem; font-size: .99rem; font-weight: 640; line-height: 1.42; color: var(--mk-ink); }
.mk-post h3 a { color: inherit; text-decoration: none; }
.mk-post h3 a:hover { color: var(--mk-blue); }
.mk-post__more {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: auto;
    color: var(--mk-blue); font-size: .84rem; font-weight: 600; text-decoration: none;
}
.mk-post__more .icon { width: 15px; height: 15px; }

/* --- Values row ----------------------------------------------------------- */
.mk-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
.mk-value__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: .95rem;
    border: 1px solid var(--mk-line); border-radius: 14px;
    background: var(--mk-surface); color: var(--mk-blue);
}
.mk-value__icon .icon { width: 23px; height: 23px; }
.mk-value b { display: block; font-size: .96rem; font-weight: 640; color: var(--mk-ink); }
.mk-value p { margin: .45rem 0 0; font-size: .85rem; line-height: 1.6; color: var(--mk-muted); }

/* --- Contact -------------------------------------------------------------- */
.mk-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.mk-contact__rows { display: grid; gap: 1.15rem; margin-top: 2rem; }
.mk-contact__row { display: flex; align-items: flex-start; gap: .9rem; }
.mk-contact__chip {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 40px; height: 40px; border-radius: 11px;
    background: var(--mk-blue-soft); color: var(--mk-blue);
}
.mk-contact__chip .icon { width: 18px; height: 18px; }
.mk-contact__row b { display: block; font-size: .82rem; font-weight: 640; color: var(--mk-ink); }
.mk-contact__row a, .mk-contact__row span { font-size: .9rem; color: var(--mk-muted); text-decoration: none; }
.mk-contact__row a:hover { color: var(--mk-blue); }
.mk-form-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--mk-surface);
    border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow);
}
.mk-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

/* --- Footer --------------------------------------------------------------- */
.site-body .site-footer { background: var(--mk-ink); }
.mk-footer-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1.25rem; padding-block: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mk-footer-strip__links { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.mk-footer-strip__links a { color: #A9B6CB; font-size: .84rem; text-decoration: none; }
.mk-footer-strip__links a:hover { color: #fff; }
.mk-footer-strip__site { color: #7F8DA4; font-size: .84rem; text-decoration: none; }
.mk-footer-strip__site:hover { color: #fff; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
    .mk-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mk-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .mk-hero__inner,
    .mk-page-hero__inner,
    .mk-split,
    .mk-contact { grid-template-columns: minmax(0, 1fr); }
    /* The heading leads on narrow screens; the picture follows it. */
    .mk-split--flip > *:first-child { order: 0; }
    .mk-hero__visual, .mk-page-hero__visual { margin-top: 2rem; }
    .mk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-tier--featured { transform: none; }
    .mk-tabbar { top: 66px; }
}
@media (max-width: 720px) {
    .mk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0; }
    .mk-stats > div { border-left: 0 !important; }
    .mk-stats > div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.10) !important; }
    .mk-grid--3, .mk-grid--2, .mk-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mk-values { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .mk-value { display: grid; grid-template-columns: 52px 1fr; gap: 0 1rem; align-items: start; }
    .mk-value__icon { grid-row: span 2; margin-bottom: 0; }
    .mk-form-row { grid-template-columns: minmax(0, 1fr); }
    .mk-hero__actions .btn, .mk-hero__actions .mk-btn-ghost,
    .mk-page-hero__actions .btn { width: 100%; justify-content: center; }
    .mk-cta-band__inner { padding-inline: 1.5rem; }
    .mk-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .mk-chips::-webkit-scrollbar { display: none; }
    .mk-chip { flex: none; }
}
@media (max-width: 480px) {
    .mk-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* Motion is decorative only: nothing here is required to read the page. */
@media (prefers-reduced-motion: reduce) {
    .mk-card, .mk-work, .mk-post, .mk-tile { transition: none; }
    .mk-card:hover, .mk-work:hover, .mk-post:hover, .mk-tile:hover { transform: none; }
}


/* The board gives a dark bar only to the pages that open on a dark hero.
   Everywhere else the bar is white. Browsers without :has() keep the dark bar,
   which is legible either way. */
.site-body:not(:has(.mk-hero)) .site-header--dark {
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--mk-line);
}
.site-body:not(:has(.mk-hero)) .site-header--dark.is-stuck {
    background: rgba(255,255,255,.985);
    box-shadow: 0 6px 22px rgba(11,21,36,.07);
}
.site-body:not(:has(.mk-hero)) .site-header--dark .nav__link { color: #46536B; }
.site-body:not(:has(.mk-hero)) .site-header--dark .nav__link:hover,
.site-body:not(:has(.mk-hero)) .site-header--dark .nav__link.is-active { color: var(--mk-ink); }
.site-body:not(:has(.mk-hero)) .site-header--dark .logo__name { color: var(--mk-ink); }
.site-body:not(:has(.mk-hero)) .site-header--dark .logo__tag { color: var(--mk-muted); }
.site-body:not(:has(.mk-hero)) .site-header--dark .nav-toggle { color: var(--mk-ink); border-color: var(--mk-line); }
.site-body:not(:has(.mk-hero)) .site-header--dark .btn--primary { background: var(--mk-blue); border-color: var(--mk-blue); color: #fff; }

/* The package grid inherits the board's three-up tier layout. */
.site-body .price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .site-body .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .site-body .price-grid { grid-template-columns: minmax(0, 1fr); } }

/* --- Contact page: the board puts the details beside the form card ------- */
.site-body .mk-contact-grid { grid-template-columns: 320px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.site-body .mk-contact-grid > div { order: 2; }
.site-body .mk-contact-grid > .sidebar { order: 1; position: static; }
.site-body .sidebar__block { border: 0; background: transparent; padding: 0; margin-bottom: 2rem; }
.site-body .sidebar__title { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); margin-bottom: 1.1rem; }
.site-body .contact-item { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.15rem; }
.site-body .contact-item__icon {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 40px; height: 40px; border-radius: 11px;
    background: var(--mk-blue-soft); color: var(--mk-blue); border: 0;
}
.site-body .contact-item__icon .icon { width: 18px; height: 18px; }
.site-body .contact-item__label { display: block; font-size: .8rem; font-weight: 640; color: var(--mk-ink); }
.site-body .contact-item__value, .site-body .contact-item__value a { font-size: .9rem; color: var(--mk-muted); text-decoration: none; }
.site-body .contact-item__value a:hover { color: var(--mk-blue); }
.site-body .form-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--mk-surface);
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow);
}
@media (max-width: 960px) {
    .site-body .mk-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .site-body .mk-contact-grid > div { order: 1; }
    .site-body .mk-contact-grid > .sidebar { order: 2; }
}

/* ==========================================================================
   HOMEPAGE - MATCHED TO PANEL 01 OF THE DESIGN BOARD
   The hero picture is drawn (a laptop and a globe), the trust strip carries
   wordmarks, the service cards are soft tiles with an arrow, and the closing
   band is a full-bleed night landscape. These rules come after the board
   build above and refine it; nothing here touches the admin.
   ========================================================================== */

/* --- Logo: globe mark and an uppercase wordmark, as the board draws it ---- */
.site-body .logo { gap: .65rem; }
.site-body .logo__mark {
    width: 38px; height: 38px; border-radius: 50%;
    background: transparent;
    border: 1.5px solid currentColor;
    color: #fff; box-shadow: none;
}
.site-body .logo__mark .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.site-body .logo__name {
    font-size: 1.02rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}
.site-body .site-header .logo__tag { display: none; }
.site-body .site-header--light .logo__mark,
.site-body:not(:has(.mk-hero)) .site-header--dark .logo__mark { color: var(--mk-ink); }
.site-body .site-footer .logo__mark { color: #fff; }
.site-body .site-footer .logo__tag { color: rgba(255,255,255,.5); letter-spacing: .12em; }

/* --- Hero copy ------------------------------------------------------------ */
.mk-hero--home .mk-hero__inner {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.mk-hero--home h1 {
    font-size: clamp(2.3rem, 1.1rem + 2.9vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.mk-hero--home h1 em { color: #9DC0FF; white-space: nowrap; }
.mk-hero--home .mk-hero__lead { max-width: 42ch; }
.mk-hero--home .btn--primary { background: #3B82F6; border-color: #3B82F6; box-shadow: 0 10px 26px rgba(59,130,246,.32); }
.mk-hero--home .btn--primary:hover { background: var(--mk-blue-600); border-color: var(--mk-blue-600); }
.mk-watch {
    display: inline-flex; align-items: center; gap: .7rem;
    padding: .5rem .35rem;
    color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none;
}
.mk-watch__play {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.06);
    transition: background .18s ease, transform .18s ease;
}
.mk-watch__play .icon { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.3; color: #fff; }
.mk-watch:hover .mk-watch__play { background: rgba(255,255,255,.16); transform: scale(1.05); }

/* --- Hero picture: globe behind, laptop in front ------------------------- */
.mk-hero--home .mk-hero__visual { min-height: 380px; }
.mk-device { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.mk-globe {
    position: absolute; z-index: 0;
    width: 88%; height: auto;
    right: -14%; top: -20%;
    opacity: .95;
    filter: drop-shadow(0 0 60px rgba(63,120,240,.22));
    pointer-events: none;
}
.mk-laptop {
    position: absolute; z-index: 2;
    left: 6%; right: 2%; top: 13%;
    transform: perspective(1500px) rotateY(-13deg) rotateX(7deg);
    transform-origin: 50% 60%;
    transform-style: preserve-3d;
}
.mk-laptop__lid {
    position: relative;
    aspect-ratio: 16 / 10.2;
    padding: 2.4%;
    background: linear-gradient(160deg, #262F3E, #10161F 60%);
    border-radius: 14px 14px 4px 4px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow:
        0 40px 80px -20px rgba(0,0,0,.65),
        0 0 0 1px rgba(0,0,0,.4),
        inset 0 0 0 1px rgba(255,255,255,.05);
}
.mk-laptop__lid::before {
    /* the camera notch */
    content: ""; position: absolute; top: 4px; left: 50%; width: 5px; height: 5px;
    margin-left: -2px; border-radius: 50%; background: #0A0E14;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.mk-laptop__base {
    position: relative; margin: 0 -6% 0 -6%; height: 16px;
    background: linear-gradient(180deg, #C4CCD8 0%, #98A3B3 38%, #6E7887 100%);
    border-radius: 3px 3px 12px 12px;
    box-shadow: 0 10px 22px -6px rgba(0,0,0,.6);
}
.mk-laptop__base span {
    position: absolute; left: 50%; top: 0; width: 18%; height: 5px;
    transform: translateX(-50%);
    background: #5B6574; border-radius: 0 0 6px 6px;
}
.mk-device__glow {
    position: absolute; z-index: 1;
    left: 8%; right: 4%; bottom: -6%;
    height: 22%;
    background: radial-gradient(50% 60% at 50% 50%, rgba(80,140,255,.38), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* The dashboard on the screen */
.mk-dash {
    display: grid; grid-template-columns: 17% 1fr;
    height: 100%;
    background: #0B1220;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0;
}
.mk-dash__side {
    display: flex; flex-direction: column; gap: 7%;
    padding: 9% 14%;
    background: #0E1626;
    border-right: 1px solid rgba(255,255,255,.06);
}
.mk-dash__logo {
    width: 60%; aspect-ratio: 1; margin-bottom: 8%;
    border-radius: 24%; background: linear-gradient(140deg, #4F8DFF, #22D3EE);
}
.mk-dash__nav { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); }
.mk-dash__nav.is-on { background: #5B9CFF; box-shadow: 0 0 10px rgba(91,156,255,.6); }
.mk-dash__main { display: flex; flex-direction: column; gap: 3.5%; padding: 3.5% 3.5% 3.5%; min-width: 0; }
.mk-dash__top { display: flex; align-items: center; gap: 3%; }
.mk-dash__title { width: 24%; height: 5px; border-radius: 3px; background: rgba(255,255,255,.55); margin-right: auto; }
.mk-dash__pill { width: 11%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); }
.mk-dash__pill--accent { background: #3B82F6; }
.mk-dash__grid {
    flex: 1; min-height: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1.35fr 1fr;
    gap: 3.5%;
}
.mk-dash__card {
    position: relative; min-width: 0; min-height: 0;
    padding: 5%;
    background: #121B2E;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 6px;
    display: flex; flex-direction: column; gap: 6%;
}
.mk-dash__card--bars  { grid-column: span 3; }
.mk-dash__card--line  { grid-column: span 3; }
.mk-dash__card--donut { grid-column: span 2; flex-direction: row; align-items: center; gap: 8%; }
.mk-dash__card--rows  { grid-column: span 2; justify-content: space-evenly; }
.mk-dash__card--kpis  { grid-column: span 2; justify-content: space-evenly; }
.mk-dash__label { width: 32%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); flex: none; }
.mk-dash__bars { flex: 1; display: flex; align-items: flex-end; gap: 4%; min-height: 0; }
.mk-dash__bars i {
    flex: 1; height: var(--h);
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, #7FB2FF, #2B6CF6);
    opacity: .9;
}
.mk-dash__bars i:nth-child(odd) { opacity: .55; }
.mk-dash__card--line svg { flex: 1; width: 100%; min-height: 0; }
.mk-dash__donut {
    flex: none; width: 46%; aspect-ratio: 1; border-radius: 50%;
    background: conic-gradient(#22C55E 0 34%, #3B82F6 34% 72%, #F59E0B 72% 100%);
    display: grid; place-items: center;
}
.mk-dash__donut i { width: 58%; aspect-ratio: 1; border-radius: 50%; background: #121B2E; }
.mk-dash__legend { flex: 1; display: grid; gap: 14%; min-width: 0; }
.mk-dash__legend span { display: block; width: var(--w); height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); }
.mk-dash__row { position: relative; display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); }
.mk-dash__row::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 2px; background: #5B9CFF; }
.mk-dash__kpi { display: block; height: 22%; border-radius: 4px; background: rgba(255,255,255,.07); }
.mk-dash__kpi::before { content: ""; display: block; margin: 12% 0 0 8%; width: 40%; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }

/* --- Stat bar: the board's larger figures -------------------------------- */
.mk-hero--home .mk-stats { border-top-color: rgba(255,255,255,.14); }
.mk-hero--home .mk-stats b { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); color: #CFE0FF; }
.mk-hero--home .mk-stats span { color: #A5B4CB; font-size: .86rem; }
.mk-hero--home .mk-stats > div + div { border-left-color: rgba(255,255,255,.14); }

/* --- Trust strip: wordmarks in one quiet grey ---------------------------- */
.mk-logos { background: #F3F6FB; border-bottom: 0; padding-block: 1.9rem 2.1rem; }
.mk-logos__label { color: #6B7A90; letter-spacing: .2em; font-size: .68rem; }
.mk-logos__row { gap: clamp(1.5rem, 5.2vw, 4.5rem); }
.brand-mark {
    display: inline-flex; align-items: center; gap: .45rem;
    color: #3F4C61; opacity: .9; transition: opacity .18s ease;
}
.brand-mark:hover { opacity: 1; }
.brand-mark svg { width: 24px; height: 24px; flex: none; }
.brand-mark__name { font-size: 1.28rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.brand-mark--google .brand-mark__name { font-weight: 600; letter-spacing: -.02em; }
.brand-mark--microsoft .brand-mark__name { font-weight: 600; letter-spacing: -.02em; }
.brand-mark--stripe .brand-mark__name { font-weight: 800; letter-spacing: -.045em; }
.brand-mark--aws { flex-direction: column; gap: 0; }
.brand-mark--aws .brand-mark__name { font-weight: 800; letter-spacing: -.04em; }
.brand-mark--aws .brand-mark__smile { width: 40px; height: 12px; margin-top: -1px; color: #E8912E; }
.brand-mark--microsoft svg { width: 20px; height: 20px; }

/* --- Service tiles: soft, borderless, arrow-led -------------------------- */
.mk-card--soft {
    padding: 2rem 1.7rem 1.6rem;
    background: #F3F6FB;
    border-color: transparent;
}
.mk-card--soft:hover { border-color: #DCE4F0; background: #fff; }
.mk-card--soft .mk-card__icon {
    width: 56px; height: 56px; margin-bottom: 1.4rem;
    border: 0; border-radius: 14px;
    background: #fff; color: var(--mk-blue);
    box-shadow: 0 1px 2px rgba(11,21,36,.05);
}
.mk-card--soft .mk-card__icon .icon { width: 24px; height: 24px; }
.mk-card--soft h3 { font-size: 1.04rem; }
.mk-card--soft p { min-height: 2.9em; }
.mk-card__more--arrow { margin-top: 1.6rem; color: var(--mk-ink); }
.mk-card__more--arrow .icon { width: 20px; height: 20px; }

/* --- Closing band: full-bleed night landscape ---------------------------- */
.mk-band {
    position: relative; overflow: hidden;
    background: #0B1528; color: #fff;
    isolation: isolate;
}
.mk-band__art {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%;
}
.mk-band::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(95deg, rgba(8,17,31,.94) 0%, rgba(8,17,31,.72) 34%, rgba(8,17,31,.12) 58%, rgba(8,17,31,0) 100%);
}
.mk-band__inner { max-width: 600px; padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.mk-band h2 {
    margin: 0 0 .8rem;
    font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.5rem);
    line-height: 1.14; font-weight: 700; color: #fff;
}
.mk-band h2 br + * { color: #9DC0FF; }
.mk-band p { margin: 0 0 1.75rem; color: #B4C0D2; font-size: 1rem; line-height: 1.6; }
.mk-band .btn--primary { background: #3B82F6; border-color: #3B82F6; box-shadow: 0 10px 26px rgba(59,130,246,.3); }

/* --- Work tiles without a cover yet: a drawn product window --------------- */
.mk-work__shot .img-ph {
    display: block; position: relative;
    background: #E9EEF6; color: var(--mk-ink);
    overflow: hidden;
}
.mk-work__shot .img-ph::before {
    /* a dark sidebar and a white top bar */
    background:
        linear-gradient(#0E1626, #0E1626) 0 0 / 21% 100% no-repeat,
        linear-gradient(#fff, #fff) 0 0 / 100% 11% no-repeat;
    inset: 0; content: "";
}
.mk-work__shot .img-ph::after {
    /* three product cards on the work area */
    content: ""; position: absolute; left: 26%; right: 5%; top: 18%; bottom: 10%;
    background:
        linear-gradient(#fff, #fff) 0 0 / 48% 46% no-repeat,
        linear-gradient(#fff, #fff) 100% 0 / 48% 46% no-repeat,
        linear-gradient(#fff, #fff) 0 100% / 100% 44% no-repeat,
        linear-gradient(90deg, #3B82F6 0 6%, transparent 6% 12%, #3B82F6 12% 18%, transparent 18% 24%, #3B82F6 24% 30%, transparent 30% 36%, #3B82F6 36% 42%, transparent 42%) 8% 92% / 40% 24% no-repeat;
    border-radius: 6px;
}
.mk-work__shot .img-ph__inner {
    position: absolute; left: 6%; bottom: 8%; z-index: 1;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .38rem .7rem; border-radius: 999px;
    background: rgba(11,21,36,.86); color: #fff;
}
.mk-work__shot .img-ph__inner .icon { width: 14px; height: 14px; opacity: 1; }
.mk-work__shot .img-ph__label { font-size: .68rem; letter-spacing: .06em; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .mk-hero--home h1 em { white-space: normal; }
}
@media (max-width: 960px) {
    .mk-hero--home .mk-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .mk-hero--home .mk-hero__visual { min-height: 0; margin-top: 2.5rem; }
    .mk-device { aspect-ratio: 16 / 10; max-width: 560px; margin-inline: auto; }
    .mk-globe { right: -10%; top: -14%; }
    .mk-band::after { background: linear-gradient(180deg, rgba(8,17,31,.94) 0%, rgba(8,17,31,.78) 60%, rgba(8,17,31,.5) 100%); }
    .mk-band__inner { max-width: none; }
}
@media (max-width: 720px) {
    .mk-hero--home .mk-hero__inner { padding-top: 2.5rem; }
    .mk-hero--home .mk-hero__actions { gap: .75rem; }
    .mk-hero--home .mk-hero__actions .mk-watch { width: 100%; justify-content: center; }
    .mk-laptop { transform: perspective(1200px) rotateY(-9deg) rotateX(5deg); }
    .mk-logos__row { gap: 1.4rem 2rem; }
    .brand-mark__name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-watch:hover .mk-watch__play { transform: none; }
}

/* --- Drawn artwork on the cards ------------------------------------------ */
.work-art, .post-art { display: block; width: 100%; height: 100%; }
.mk-work__shot, .mk-post__shot { display: block; }
.mk-work__shot .work-art { position: absolute; inset: 0; }
.mk-stars .icon { fill: currentColor; stroke: currentColor; }
.mk-quote__av { width: 48px; height: 48px; background: transparent; }
.mk-quote__av .avatar-art { display: block; width: 100%; height: 100%; }
.mk-quote__av img { border-radius: 50%; }
.mk-quote__who { align-items: center; }
.featured-post__media .post-art, .ratio .post-art { position: absolute; inset: 0; object-fit: cover; }
.featured-post__media { background: linear-gradient(135deg, #14264A 0%, #0A1326 100%); }
.mk-work__shot img, .mk-post__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-post__shot { position: relative; }
.mk-quote__av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ==========================================================================
   HOMEPAGE V2 - THE DARK PRODUCT-RENDER DESIGN (2026-09-06, second board)
   Drawn device renders (.rd), the hero scene (.hs), and the section language
   of the second homepage board. Everything is sized with container units so
   a render scales with the card it sits in.
   ========================================================================== */

/* --- Device renders ----------------------------------------------------- */
.rd {
    position: relative; overflow: hidden;
    container-type: inline-size;
    aspect-ratio: var(--rd-ratio, 16 / 10);
    border-radius: 12px;
    background:
        radial-gradient(70% 90% at 80% 10%, rgba(43,108,246,.34), transparent 60%),
        radial-gradient(50% 60% at 10% 100%, rgba(6,182,212,.14), transparent 60%),
        linear-gradient(160deg, #0F1F3D 0%, #0A1428 55%, #070E1C 100%);
    isolation: isolate;
}
.rd::before {
    content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 9cqw 9cqw;
    mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%);
}
.rd-glow {
    position: absolute; z-index: 0; left: 15%; right: 15%; bottom: -8%; height: 30%;
    background: radial-gradient(50% 60% at 50% 50%, rgba(80,140,255,.45), transparent 70%);
    filter: blur(6cqw);
}
.rd-laptop { position: absolute; z-index: 1; left: 9%; right: 9%; top: 9%; transform: perspective(160cqw) rotateX(4deg); transform-origin: 50% 100%; }
.rd-laptop__lid {
    aspect-ratio: 16 / 10; padding: 1.5cqw;
    background: linear-gradient(160deg, #2A3444, #121923 65%);
    border-radius: 2.2cqw 2.2cqw .6cqw .6cqw;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 6cqw 8cqw -3cqw rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.04);
}
.rd-laptop__screen { height: 100%; border-radius: 1cqw; overflow: hidden; }
.rd-ui--image { position: absolute; inset: 0; }
.rd-ui--image picture, .rd-ui--image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rd-laptop__base {
    position: relative; margin: 0 -5%; height: 2.4cqw;
    background: linear-gradient(180deg, #C9D1DC, #97A2B2 45%, #6B7585);
    border-radius: .5cqw .5cqw 2cqw 2cqw;
    box-shadow: 0 2cqw 3cqw -1cqw rgba(0,0,0,.6);
}
.rd-laptop__base span { position: absolute; left: 50%; top: 0; width: 18%; height: .8cqw; transform: translateX(-50%); background: #5B6574; border-radius: 0 0 1cqw 1cqw; }
.rd-tablet {
    position: absolute; z-index: 1; left: 10%; right: 10%; top: 8%; bottom: 8%;
    padding: 1.6cqw; border-radius: 3cqw;
    background: linear-gradient(160deg, #2A3444, #121923 65%);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 6cqw 8cqw -3cqw rgba(0,0,0,.7);
    transform: perspective(160cqw) rotateY(-8deg) rotateX(3deg);
}
.rd-tablet__screen { height: 100%; border-radius: 1.8cqw; overflow: hidden; }
.rd-phone {
    position: absolute; z-index: 1; width: 34%; aspect-ratio: 9 / 18.5;
    padding: 1.3cqw; border-radius: 5cqw;
    background: linear-gradient(160deg, #2A3444, #0F151E 65%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 5cqw 7cqw -2cqw rgba(0,0,0,.7);
}
.rd-phone__screen { height: 100%; border-radius: 4cqw; overflow: hidden; background: #0C1425; }
.rd-phone--back  { left: 22%; top: 12%; transform: rotate(-9deg); z-index: 1; opacity: .92; }
.rd-phone--front { left: 46%; top: 16%; transform: rotate(7deg); z-index: 2; }
.rd-phone--solo  { left: 33%; top: 8%; }
.rd-phone::before { content: ""; position: absolute; top: 2.2cqw; left: 50%; width: 26%; height: 2cqw; transform: translateX(-50%); background: #0F151E; border-radius: 2cqw; z-index: 3; }

/* Screens */
.rd-ui { display: grid; grid-template-columns: 21% 1fr; height: 100%; background: #0C1425; font-family: 'Inter', system-ui, sans-serif; }
.rd-ui--plain { grid-template-columns: 1fr; }
.rd-ui--light { background: #F4F7FC; }
.rd-side { display: grid; align-content: start; gap: 1.4cqw; padding: 3.2cqw 2.2cqw; background: #0F1930; border-right: 1px solid rgba(255,255,255,.06); }
.rd-side i { display: block; height: 1cqw; border-radius: .6cqw; background: rgba(255,255,255,.14); }
.rd-side i.is-on { background: #4F8DFF; box-shadow: 0 0 1.6cqw rgba(79,141,255,.7); }
.rd-side--light { background: #0B1524; }
.rd-main { display: grid; gap: 2cqw; align-content: start; padding: 3cqw; min-width: 0; }
.rd-head { display: flex; align-items: center; justify-content: space-between; }
.rd-title { font-size: 2cqw; font-weight: 700; color: #fff; }
.rd-title--dark { color: #0B1524; }
.rd-pill { font-size: 1.4cqw; padding: .5cqw 1.4cqw; border-radius: 99cqw; background: rgba(255,255,255,.1); color: #B7C5DD; }
.rd-pill--blue { background: #2B6CF6; color: #fff; }
.rd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.rd-kpi { padding: 2cqw; border-radius: 1.4cqw; background: #142140; border: 1px solid rgba(255,255,255,.07); min-width: 0; }
.rd-kpi--wide { grid-column: span 2; }
.rd-kpi small { display: block; font-size: 1.4cqw; color: #93A4C0; margin-bottom: .8cqw; }
.rd-kpi b { display: inline-block; font-size: 3cqw; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.rd-kpi em { font-style: normal; font-size: 1.4cqw; font-weight: 700; color: #22C55E; margin-left: 1cqw; }
.rd-chart { padding: 1.5cqw; border-radius: 1.4cqw; background: #142140; border: 1px solid rgba(255,255,255,.07); }
.rd-chart svg { display: block; width: 100%; height: 12cqw; }
.rd-rows { display: grid; gap: 1.2cqw; }
.rd-rows i { display: block; position: relative; height: 1.6cqw; border-radius: .8cqw; background: rgba(255,255,255,.08); }
.rd-rows i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #7FB2FF, #2B6CF6); }
.rd-table { display: grid; gap: 1.1cqw; }
.rd-tr { display: grid; grid-template-columns: 2cqw 1fr 1fr auto; align-items: center; gap: 1.4cqw; padding: 1.2cqw 1.6cqw; border-radius: 1cqw; background: rgba(255,255,255,.05); }
.rd-table--light .rd-tr { background: #fff; border: 1px solid #E4E9F1; grid-template-columns: 2cqw 1fr auto; }
.rd-dot { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; }
.rd-td { font-size: 1.6cqw; color: #DCE6F5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-table--light .rd-td { color: #0B1524; }
.rd-td--num { color: #93A4C0; }
.rd-td--muted { color: #7A879B; }
.rd-bar { position: relative; height: 1.2cqw; border-radius: .6cqw; background: rgba(255,255,255,.08); overflow: hidden; }
.rd-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; }
.rd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.rd-card { padding: 1.8cqw; border-radius: 1.2cqw; background: #fff; border: 1px solid #E4E9F1; }
.rd-card small { display: block; font-size: 1.3cqw; color: #7A879B; }
.rd-card b { display: block; font-size: 2.6cqw; font-weight: 700; color: #0B1524; letter-spacing: -.03em; }
.rd-bars { display: flex; align-items: flex-end; gap: 2%; height: 22cqw; padding: 0 1cqw; }
.rd-bars i { flex: 1; height: var(--h); border-radius: .8cqw .8cqw 0 0; background: linear-gradient(180deg, #7FB2FF, #2B6CF6); box-shadow: 0 0 2cqw rgba(91,156,255,.35); }
.rd-bars i:nth-child(odd) { opacity: .6; }
.rd-brands { display: flex; gap: 1.6cqw; }
.rd-brands span { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 1.4cqw; background: var(--bg, #fff); color: var(--c); font-size: 3.2cqw; font-weight: 800; }
.rd-main--code { grid-template-rows: auto 1fr auto; height: 100%; }
.rd-tabs { display: flex; gap: 1cqw; }
.rd-tabs i { width: 12cqw; height: 2.2cqw; border-radius: .6cqw .6cqw 0 0; background: rgba(255,255,255,.06); }
.rd-tabs i.is-on { background: rgba(255,255,255,.14); }
.rd-code { display: grid; gap: 1.3cqw; padding: 2cqw; border-radius: 1cqw; background: #0A1120; }
.rd-ln { display: flex; align-items: center; gap: 1.6cqw; }
.rd-ln i { width: 2cqw; height: 1cqw; border-radius: .5cqw; background: rgba(255,255,255,.12); flex: none; }
.rd-ln span { display: block; height: 1.2cqw; border-radius: .6cqw; opacity: .85; }
.rd-perf { display: flex; align-items: center; gap: 1.6cqw; }
.rd-perf b { font-size: 3cqw; color: #22C55E; }
.rd-perf i { flex: 1; height: 1.2cqw; border-radius: .6cqw; background: linear-gradient(90deg, #22C55E 96%, rgba(255,255,255,.1) 96%); }
.rd-ui--phone { display: grid; grid-template-columns: 1fr; align-content: start; gap: 2.2cqw; padding: 5cqw 2.6cqw 2.6cqw; background: linear-gradient(180deg, #14264A, #0C1425); }
.rd-ph-top { height: 1cqw; }
.rd-ph-title { font-size: 2.4cqw; font-weight: 700; color: #fff; }
.rd-ph-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.rd-ph-tiles i { aspect-ratio: 1 / .78; border-radius: 1.6cqw; background: #1A2C50; border: 1px solid rgba(255,255,255,.1); position: relative; }
.rd-ph-tiles i::before { content: ""; position: absolute; left: 14%; top: 16%; width: 30%; aspect-ratio: 1; border-radius: 30%; background: #3B82F6; }
.rd-ph-tiles i::after { content: ""; position: absolute; left: 14%; bottom: 16%; width: 60%; height: 1cqw; border-radius: .5cqw; background: rgba(255,255,255,.35); }
.rd-ph-list { display: grid; gap: 1.3cqw; }
.rd-ph-list i { display: block; height: 3.2cqw; border-radius: 1cqw; background: rgba(255,255,255,.07); position: relative; }
.rd-ph-list i::after { content: ""; position: absolute; left: 8%; top: 40%; width: var(--w); height: 1cqw; border-radius: .5cqw; background: rgba(255,255,255,.3); }
.rd-badge {
    position: absolute; z-index: 3; right: 6%; bottom: 10%;
    display: inline-flex; align-items: center; gap: 1.6cqw;
    padding: 1.8cqw 2.4cqw; border-radius: 2cqw;
    background: rgba(255,255,255,.96); color: #0B1524;
    font-family: 'Inter', system-ui, sans-serif; font-size: 2.2cqw; font-weight: 700;
    box-shadow: 0 3cqw 5cqw -1cqw rgba(0,0,0,.55);
}
.rd-badge svg, .rd-badge .icon { width: 5cqw; height: 5cqw; }

/* --- Section language --------------------------------------------------- */
.hv2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.hv2-head h2 { margin: .5rem 0 .45rem; font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.15rem); font-weight: 700; color: var(--mk-ink); letter-spacing: -.03em; }
.hv2-head p { margin: 0; color: var(--mk-muted); font-size: 1rem; }
.hv2-head .eyebrow { color: var(--mk-blue); }
.hv2-head .eyebrow::before { background: var(--mk-blue); }
.hv2-tools { display: flex; align-items: center; gap: .6rem; flex: none; padding-bottom: .3rem; }
.hv2-tools .hv2-link { display: inline-flex; align-items: center; gap: .35rem; margin-right: .5rem; color: var(--mk-blue); font-size: .88rem; font-weight: 600; text-decoration: none; }
.hv2-tools .hv2-link .icon { width: 15px; height: 15px; }
.hv2-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); cursor: pointer; }
.hv2-arrow .icon { width: 15px; height: 15px; }
.hv2-arrow:disabled { opacity: .45; cursor: default; }
.on-dark .hv2-head h2, .on-dark .hv2-head p { color: #fff; }
.on-dark .hv2-head p { color: #A7B4C8; }
.on-dark .hv2-head .eyebrow { color: #7FB2FF; }
.on-dark .hv2-head .eyebrow::before { background: #7FB2FF; }
.hv2-section { padding-block: clamp(3.25rem, 5vw, 5rem); }
.hv2-section--tint { background: #F6F8FC; }
.hv2-section--dark { background: linear-gradient(160deg, #0B1628 0%, #0D1B33 100%); color: #fff; }
.hv2-link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--mk-blue); font-size: .86rem; font-weight: 600; text-decoration: none; }
.hv2-link-arrow .icon { width: 15px; height: 15px; transition: transform .18s ease; }
.hv2-link-arrow:hover .icon { transform: translateX(3px); }

/* --- Header / logo: the original square mark with its tagline ------------ */
.site-body .logo__mark {
    width: 38px; height: 38px; border-radius: 10px; border: 0;
    background: linear-gradient(140deg, #2B6CF6 0%, #22D3EE 100%);
    color: #fff; font-weight: 800; font-size: .84rem; letter-spacing: -.03em;
    box-shadow: 0 4px 12px -3px rgba(43,108,246,.5);
}
.site-body .logo__name { font-size: 1.02rem; letter-spacing: -.02em; text-transform: none; }
.site-body .site-header .logo__tag { display: block; }
.site-body .site-header--dark .logo__tag { color: rgba(255,255,255,.5); }
.site-body .header__actions .btn--primary { border-radius: 9px; padding: .62rem 1.15rem; }

/* --- Hero ------------------------------------------------------------------ */
.hv2-hero {
    position: relative; overflow: hidden; color: #fff; isolation: isolate;
    background:
        radial-gradient(60% 80% at 84% 0%, rgba(43,108,246,.32), transparent 60%),
        radial-gradient(40% 60% at 0% 100%, rgba(6,182,212,.10), transparent 60%),
        linear-gradient(160deg, #08111F 0%, #0C1A30 55%, #08111F 100%);
}
.hv2-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(75% 75% at 60% 40%, #000 30%, transparent 100%);
}
.hv2-hero__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2.75rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem); }
.hv2-hero .eyebrow { color: #7FB2FF; margin-bottom: 1rem; }
.hv2-hero .eyebrow::before { background: #7FB2FF; }
.hv2-hero h1 { margin: 0 0 1.1rem; font-size: clamp(2.3rem, 1.1rem + 2.9vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; color: #fff; }
.hv2-hero h1 em { font-style: normal; color: #4F8DFF; }
.hv2-hero__lead { margin: 0; max-width: 44ch; color: #A7B4C8; font-size: 1.03rem; line-height: 1.7; }
.hv2-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.hv2-hero .btn--primary { background: #2B6CF6; border-color: #2B6CF6; box-shadow: 0 10px 26px rgba(43,108,246,.35); }
.hv2-ghost { display: inline-flex; align-items: center; gap: .55rem; padding: .72rem 1.1rem; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; color: #fff; font-weight: 600; font-size: .93rem; text-decoration: none; background: rgba(255,255,255,.05); }
.hv2-ghost:hover { background: rgba(255,255,255,.12); }
.hv2-ghost .icon { width: 18px; height: 18px; }
.hv2-feats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.25rem; margin-top: 2.2rem; }
.hv2-feat { display: flex; align-items: center; gap: .7rem; }
.hv2-feat__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(43,108,246,.16); border: 1px solid rgba(127,178,255,.22); color: #7FB2FF; }
.hv2-feat__icon .icon { width: 17px; height: 17px; }
.hv2-feat b { display: block; font-size: .86rem; font-weight: 650; color: #fff; }
.hv2-feat span { display: block; font-size: .74rem; color: #93A2B8; }

/* The hero scene: dashboard panel, phone, floating chips, globe behind */
.hs { position: relative; container-type: inline-size; aspect-ratio: 16 / 12; }
.hs-globe { position: absolute; z-index: 0; width: 86%; height: auto; right: -18%; top: -22%; opacity: .95; filter: drop-shadow(0 0 60px rgba(63,120,240,.25)); pointer-events: none; }
.hs-panel {
    position: absolute; z-index: 2; left: 4%; right: 3%; top: 14%; bottom: 12%;
    display: grid; grid-template-columns: 18% 1fr; grid-template-rows: auto 1fr;
    border-radius: 2.4cqw; overflow: hidden;
    background: rgba(12,20,37,.94);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 6cqw 10cqw -3cqw rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.3);
    font-family: 'Inter', system-ui, sans-serif;
}
.hs-panel__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4cqw; padding: 1.6cqw 2.2cqw; border-bottom: 1px solid rgba(255,255,255,.07); }
.hs-panel__logo { width: 3.2cqw; height: 3.2cqw; border-radius: .8cqw; background: linear-gradient(140deg, #2B6CF6, #22D3EE); display: grid; place-items: center; font-size: 1.2cqw; font-weight: 800; color: #fff; }
.hs-panel__name { font-size: 1.7cqw; font-weight: 700; color: #fff; }
.hs-panel__search { margin-left: auto; width: 24%; height: 2.6cqw; border-radius: 99cqw; background: rgba(255,255,255,.07); }
.hs-side { display: grid; align-content: start; gap: .6cqw; padding: 2cqw 1.6cqw; background: #0F1930; border-right: 1px solid rgba(255,255,255,.06); }
.hs-side span { display: flex; align-items: center; gap: 1cqw; padding: 1.1cqw 1.4cqw; border-radius: 1cqw; font-size: 1.45cqw; color: #93A4C0; }
.hs-side span::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; border: 1px solid currentColor; opacity: .7; }
.hs-side span.is-on { background: rgba(43,108,246,.22); color: #fff; }
.hs-main { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: auto 1fr; gap: 1.6cqw; padding: 2cqw; min-width: 0; }
.hs-card { min-width: 0; padding: 1.8cqw; border-radius: 1.6cqw; background: #142140; border: 1px solid rgba(255,255,255,.07); display: grid; align-content: start; gap: 1cqw; }
.hs-card small { font-size: 1.4cqw; color: #93A4C0; }
.hs-card b { font-size: 3.2cqw; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hs-card em { font-style: normal; font-size: 1.4cqw; font-weight: 700; color: #22C55E; margin-left: .8cqw; }
.hs-card svg { display: block; width: 100%; height: 10cqw; }
.hs-card--activity { grid-column: 2; }
.hs-card--chart2 { grid-column: 1; }
.hs-act { display: grid; gap: 1.2cqw; }
.hs-act span { display: grid; grid-template-columns: auto 1fr; gap: 1cqw; align-items: center; font-size: 1.35cqw; color: #DCE6F5; }
.hs-act span::before { content: ""; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #3B82F6; box-shadow: 0 0 1.2cqw rgba(59,130,246,.7); }
.hs-act span i { display: block; font-style: normal; font-size: 1.1cqw; color: #7A879B; }
.hs-bars { display: flex; align-items: flex-end; gap: 4%; height: 9cqw; }
.hs-bars i { flex: 1; height: var(--h); border-radius: .5cqw .5cqw 0 0; background: linear-gradient(180deg, #7FB2FF, #2B6CF6); }
.hs-bars i:nth-child(odd) { opacity: .55; }
.hs-phone {
    position: absolute; z-index: 3; left: 22%; bottom: -2%; width: 23%; aspect-ratio: 9 / 18.5;
    padding: 1.1cqw; border-radius: 4.5cqw;
    background: linear-gradient(160deg, #2A3444, #0F151E 65%);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 5cqw 7cqw -2cqw rgba(0,0,0,.8);
    transform: rotate(-6deg);
}
.hs-phone::before { content: ""; position: absolute; top: 2cqw; left: 50%; width: 26%; height: 1.8cqw; transform: translateX(-50%); background: #0F151E; border-radius: 2cqw; z-index: 3; }
.hs-phone__screen { height: 100%; border-radius: 3.6cqw; overflow: hidden; }
.hs-phone .rd-ui--phone { padding: 4.5cqw 2.2cqw 2.2cqw; gap: 1.8cqw; }
.hs-phone .rd-ph-title { font-size: 2cqw; }
.hs-chip {
    position: absolute; z-index: 4;
    display: inline-flex; align-items: center; gap: 1.4cqw;
    padding: 1.6cqw 2cqw; border-radius: 1.8cqw;
    background: rgba(13,24,44,.92); border: 1px solid rgba(127,178,255,.25);
    box-shadow: 0 2.4cqw 5cqw -1cqw rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.03);
    font-family: 'Inter', system-ui, sans-serif; white-space: nowrap;
    backdrop-filter: blur(6px);
}
.hs-chip__icon { display: inline-grid; place-items: center; width: 4.6cqw; height: 4.6cqw; border-radius: 1.2cqw; background: rgba(43,108,246,.2); color: #7FB2FF; }
.hs-chip__icon .icon { width: 2.4cqw; height: 2.4cqw; }
.hs-chip b { display: block; font-size: 1.7cqw; font-weight: 700; color: #fff; }
.hs-chip span { display: block; font-size: 1.25cqw; color: #93A2B8; }
.hs-chip--tl { left: 8%; top: 1%; }
.hs-chip--tr { right: -2%; top: 8%; }
.hs-chip--bl { left: -3%; bottom: 8%; }
.hs-chip--br { right: 0; bottom: 4%; }

/* --- Platform strip ------------------------------------------------------ */
.hv2-logos { background: #F6F8FC; border-bottom: 1px solid var(--mk-line-soft); padding-block: 1.6rem 1.8rem; }
.hv2-logos__label { margin: 0 0 1.1rem; text-align: center; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #9AA6B8; }
.hv2-logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem clamp(1.5rem, 4.6vw, 4rem); }
.brand-mark--colour { opacity: 1; }
.brand-mark--php .brand-mark__name { display: inline-block; padding: .18rem .7rem; border-radius: 99px; background: #777BB4; color: #fff; font-style: italic; font-weight: 800; font-size: 1.05rem; letter-spacing: 0; }
.brand-mark--laravel { color: #FF2D20; }
.brand-mark--laravel .brand-mark__name { font-weight: 600; letter-spacing: -.02em; }
.brand-mark--mysql { color: #00618A; }
.brand-mark--mysql .brand-mark__name { font-weight: 700; letter-spacing: -.02em; }
.brand-mark--mysql svg { color: #F29111; }
.brand-mark--wordpress { color: #21759B; }
.brand-mark--wordpress .brand-mark__name { font-weight: 600; }
.brand-mark--google .brand-mark__name { font-weight: 600; letter-spacing: -.02em; background: linear-gradient(90deg, #4285F4 0 22%, #EA4335 22% 40%, #FBBC05 40% 56%, #4285F4 56% 72%, #34A853 72% 86%, #EA4335 86%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark--meta { color: #0081FB; }
.brand-mark--aws { color: #232F3E; }
.brand-mark--aws .brand-mark__smile { color: #FF9900; }
.brand-mark--stripe { color: #635BFF; }

/* --- Service cards ------------------------------------------------------- */
.hv2-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.hv2-service { display: flex; flex-direction: column; padding: 1.5rem 1.4rem 1.35rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.hv2-service:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); }
.hv2-service__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 11px; background: #EEF3FF; color: var(--mk-blue); }
.hv2-service__icon .icon { width: 21px; height: 21px; }
.hv2-service h3 { margin: 0 0 .4rem; font-size: 1.02rem; font-weight: 700; color: var(--mk-ink); }
.hv2-service p { margin: 0 0 1.1rem; color: var(--mk-muted); font-size: .88rem; line-height: 1.6; min-height: 2.9em; }
.hv2-service .rd { margin-bottom: 1.1rem; }
.hv2-service .hv2-link-arrow { margin-top: auto; }
.hv2-service { position: relative; }
.hv2-service > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* --- Why: dark band with six tiles --------------------------------------- */
.hv2-why { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hv2-why h2 { margin: .6rem 0 .8rem; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.15; }
.hv2-why p { margin: 0 0 1.6rem; color: #A7B4C8; font-size: 1rem; line-height: 1.7; max-width: 44ch; }
.hv2-why .eyebrow { color: #7FB2FF; }
.hv2-why .eyebrow::before { background: #7FB2FF; }
.hv2-outline { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.15rem; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; background: rgba(255,255,255,.04); }
.hv2-outline:hover { background: rgba(255,255,255,.1); }
.hv2-outline .icon { width: 16px; height: 16px; }
.hv2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hv2-tile { padding: 1.35rem 1.25rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.hv2-tile__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: .9rem; border-radius: 10px; background: rgba(43,108,246,.18); color: #7FB2FF; }
.hv2-tile__icon .icon { width: 19px; height: 19px; }
.hv2-tile b { display: block; margin-bottom: .3rem; font-size: .95rem; font-weight: 650; color: #fff; }
.hv2-tile p { margin: 0; font-size: .83rem; line-height: 1.55; color: #93A2B8; }

/* --- Work cards ----------------------------------------------------------- */
.hv2-work { display: block; overflow: hidden; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.hv2-work:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); }
.hv2-work .rd, .hv2-work__shot { border-radius: 0; }
.hv2-work__shot { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0B1524; }
.hv2-work__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2-work__body { padding: 1.1rem 1.25rem 1.3rem; }
.hv2-work__body b { display: block; font-size: 1rem; font-weight: 700; color: var(--mk-ink); }
.hv2-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .65rem 0 .9rem; }
.hv2-chip { padding: .28rem .6rem; border-radius: 6px; background: #EEF2F8; color: #4B5768; font-size: .72rem; font-weight: 600; }

/* --- Testimonials --------------------------------------------------------- */
.hv2-quote { display: flex; flex-direction: column; padding: 1.5rem 1.4rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; }
.hv2-quote__mark { width: 26px; height: 26px; color: var(--mk-blue); margin-bottom: .6rem; }
.hv2-quote__mark .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.hv2-quote blockquote { margin: 0 0 1.25rem; color: var(--mk-body); font-size: .93rem; line-height: 1.7; }
.hv2-quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.hv2-quote__av { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #64748B; color: #fff; font-size: .95rem; font-weight: 700; overflow: hidden; }
.hv2-quote__av img { width: 100%; height: 100%; object-fit: cover; }
.hv2-quote__who b { display: block; font-size: .9rem; font-weight: 700; color: var(--mk-ink); }
.hv2-quote__who span { display: block; font-size: .78rem; color: var(--mk-muted); }
.hv2-quote__who .mk-stars { margin-top: .25rem; }
.hv2-quote__who .mk-stars .icon { width: 13px; height: 13px; }

/* --- Insight cards -------------------------------------------------------- */
.hv2-post { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.hv2-post:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); }
.hv2-post__shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0B1524; }
.hv2-post__shot .rd { border-radius: 0; position: absolute; inset: 0; aspect-ratio: auto; }
.hv2-post__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2-post__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.hv2-cat { align-self: flex-start; padding: .28rem .6rem; border-radius: 6px; background: #EEF3FF; color: var(--mk-blue); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hv2-post__date { margin: .7rem 0 .35rem; font-size: .76rem; color: var(--mk-muted); }
.hv2-post h3 { margin: 0 0 .9rem; font-size: .98rem; font-weight: 700; line-height: 1.4; color: var(--mk-ink); }
.hv2-post h3 a { color: inherit; text-decoration: none; }
.hv2-post h3 a:hover { color: var(--mk-blue); }
.hv2-post .hv2-link-arrow { margin-top: auto; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .hv2-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .hv2-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hs { margin-top: 2rem; max-width: 620px; margin-inline: auto; }
    .hv2-why { grid-template-columns: minmax(0, 1fr); }
    .hv2-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
    .hv2-services, .hv2-tiles { grid-template-columns: minmax(0, 1fr); }
    .hv2-hero__actions .btn, .hv2-hero__actions .hv2-ghost { width: 100%; justify-content: center; }
    .hs-chip--tl { left: 0; top: 0; } .hs-chip--tr { right: 0; } .hs-chip--bl { left: 0; } .hs-chip--br { right: 0; }
    .hs-chip { padding: 1.4cqw 1.8cqw; }
}
/* second-board touch-ups */
.nowrap { white-space: nowrap; }
.hv2-hero h1 { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.1rem); }
.hv2-feats { gap: 1rem 1.35rem; }
.hv2-feat__icon { width: 32px; height: 32px; }
.hv2-feat b { font-size: .84rem; }
.hv2-feat span { font-size: .72rem; }
.hv2-quote__who .hv2-quote__av { display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 700; }
.hv2-quote__who .mk-stars { display: flex; gap: .12rem; margin-top: .3rem; }
.hs-panel { bottom: 15%; }
.hs-chip--bl { left: -3%; bottom: 3%; }
.hs-chip--br { right: 0; bottom: 0; }
.hv2-hero__inner { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
.hv2-feats { gap: .75rem 1rem; flex-wrap: nowrap; }
.hv2-feat { gap: .5rem; min-width: 0; }
.hv2-feat b, .hv2-feat span { white-space: nowrap; }
@media (max-width: 1200px) { .hv2-feats { flex-wrap: wrap; } }
/* Phone screens with data */
.rd-ui--phone { gap: 1.6cqw; padding: 1.6cqw 2cqw 2cqw; }
.rd-ph-top { display: flex; justify-content: space-between; font-size: 1.1cqw; font-weight: 700; color: #fff; opacity: .8; padding: 0 1cqw; height: auto; }
.rd-ph-title { display: flex; align-items: center; gap: 1cqw; font-size: 2.1cqw; }
.rd-ph-title em { font-style: normal; font-size: 1.2cqw; font-weight: 700; padding: .3cqw .9cqw; border-radius: 99cqw; background: #2B6CF6; color: #fff; }
.rd-ph-hero { display: grid; gap: .3cqw; padding: 1.6cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, #2B6CF6, #1D4FBF); }
.rd-ph-hero b { font-size: 3cqw; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.rd-ph-hero em { font-style: normal; font-size: 1.15cqw; color: rgba(255,255,255,.8); }
.rd-ph-tiles i { aspect-ratio: auto; display: grid; align-content: start; gap: .3cqw; padding: 1.3cqw 1.4cqw; font-style: normal; }
.rd-ph-tiles i::before, .rd-ph-tiles i::after { content: none; }
.rd-ph-tiles small { font-size: 1.05cqw; color: #93A4C0; }
.rd-ph-tiles b { font-size: 2cqw; font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -.02em; }
.rd-ph-tiles em { font-style: normal; font-size: 1cqw; font-weight: 700; color: #22C55E; }
.rd-ph-rows { display: grid; gap: 1cqw; }
.rd-ph-rows span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.1cqw; align-items: center; padding: 1.1cqw 1.3cqw; border-radius: 1.3cqw; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); }
.rd-ph-rows span i { grid-row: span 2; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: var(--c, #3B82F6); box-shadow: 0 0 1.4cqw var(--c, #3B82F6); }
.rd-ph-rows span b { font-size: 1.3cqw; font-weight: 650; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-ph-rows span small { font-size: 1.05cqw; color: #93A4C0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-ph-cta { margin-top: auto; padding: 1.3cqw; border-radius: 1.2cqw; background: #2B6CF6; color: #fff; font-size: 1.35cqw; font-weight: 700; text-align: center; }
.rd-ph-map { aspect-ratio: 10 / 7; border-radius: 1.4cqw; overflow: hidden; background: #132847; }
.rd-ph-map svg { display: block; width: 100%; height: 100%; }
.hs-phone .rd-ui--phone { padding: 3.6cqw 1.6cqw 1.6cqw; gap: 1.2cqw; }
.hs-phone .rd-ph-title { font-size: 1.8cqw; }
.hs-phone .rd-ph-tiles b { font-size: 1.6cqw; }
.hs-phone .rd-ph-tiles small, .hs-phone .rd-ph-rows small { font-size: .9cqw; }
.hs-phone .rd-ph-rows b { font-size: 1.1cqw; }
.hs-phone .rd-ph-top { font-size: .95cqw; }
.rd--phones .rd-ui--phone { padding-top: 3.2cqw; }
/* the text-span rules above must not reach the icon boxes */
.hv2-feat .hv2-feat__icon, .hs-chip .hs-chip__icon { display: inline-grid; place-items: center; flex: none; }
.hv2-feat .hv2-feat__icon .icon, .hs-chip .hs-chip__icon .icon { display: block; margin: 0; }
/* named sidebars on the drawn screens */
.rd-ui { grid-template-columns: 26% 1fr; }
.rd-side { gap: .5cqw; padding: 2cqw 1.4cqw; font-family: 'Inter', system-ui, sans-serif; }
.rd-side__brand { display: flex; align-items: center; gap: .9cqw; margin-bottom: 1.4cqw; padding: 0 .6cqw; font-size: 1.45cqw; font-weight: 700; color: #fff; white-space: nowrap; }
.rd-side__brand i { width: 2.4cqw; height: 2.4cqw; border-radius: .7cqw; background: linear-gradient(140deg, #2B6CF6, #22D3EE); flex: none; }
.rd-side__item { display: flex; align-items: center; gap: .9cqw; padding: .9cqw 1.1cqw; border-radius: .9cqw; font-size: 1.35cqw; color: #93A4C0; white-space: nowrap; overflow: hidden; }
.rd-side__item i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; border: 1px solid currentColor; opacity: .7; flex: none; }
.rd-side__item.is-on { background: rgba(43,108,246,.22); color: #fff; }
.rd-side__item.is-on i { background: #4F8DFF; border-color: #4F8DFF; opacity: 1; box-shadow: 0 0 1.4cqw rgba(79,141,255,.7); }
.rd-side--light .rd-side__item { color: #A9B6CB; }
.rd-side--light .rd-side__item.is-on { color: #fff; }
/* the narrow KPI: number and delta stay on one line, smaller */
.rd-kpi b { font-size: 2.6cqw; }
.rd-kpi em { font-size: 1.2cqw; white-space: nowrap; }
.rd-kpi > div { display: flex; align-items: baseline; flex-wrap: nowrap; gap: .6cqw; }
.rd-ph-hero b { font-size: 2.5cqw; white-space: nowrap; }
.rd-ph-hero em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd--phones .rd-phone { width: 36%; }
.rd-ui.rd-ui--phone, .rd-ui.rd-ui--plain { grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   INTERIOR PAGES IN THE HOMEPAGE LANGUAGE
   The dark page hero, and the legacy components (.section, .card, .hero,
   .process, .faq, .tabs, tiers, tiles, forms) restyled to the second board
   so every page reads as one site. Scoped under .site-body: admin untouched.
   ========================================================================== */

/* --- Page hero ---------------------------------------------------------- */
.hv2-hero--page .hv2-hero__inner { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem); }
.hv2-hero--page h1 { font-size: clamp(2rem, 1rem + 2.4vw, 2.85rem); }
.hv2-hero__inner--solo { grid-template-columns: minmax(0, 1fr); max-width: 800px; margin-inline: auto; text-align: center; padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2.5rem, 4.5vw, 3.75rem); }
.hv2-hero__inner--solo .eyebrow { justify-content: center; }
.hv2-hero__inner--solo .hv2-hero__lead { margin-inline: auto; max-width: 60ch; }
.hv2-hero__inner--solo .hv2-hero__actions { justify-content: center; }
.hv2-hero__visual .rd { border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); }
.hv2-hero .breadcrumbs { padding-block: 1rem .25rem; }
.hv2-hero .breadcrumbs a, .hv2-hero .breadcrumbs li { color: rgba(255,255,255,.55); }
.hv2-hero .breadcrumbs a:hover { color: #fff; }
.hv2-hero .breadcrumbs [aria-current="page"] { color: #fff; }
.hv2-hero .breadcrumbs .icon { color: rgba(255,255,255,.35); }
.site-body .breadcrumbs--on-dark a, .site-body .breadcrumbs--on-dark li { color: rgba(255,255,255,.55); }
.site-body .breadcrumbs--on-dark [aria-current="page"] { color: #fff; }

/* --- Legacy dark hero (article and case-study pages) --------------------- */
.site-body .hero {
    background:
        radial-gradient(60% 80% at 84% 0%, rgba(43,108,246,.32), transparent 60%),
        linear-gradient(160deg, #08111F 0%, #0C1A30 55%, #08111F 100%);
}
.site-body .hero::before, .site-body .hero::after { opacity: .35; }
.site-body .hero .eyebrow { color: #7FB2FF; }
.site-body .hero .eyebrow::before { background: #7FB2FF; }
.site-body .hero--page h1 { font-size: clamp(2rem, 1rem + 2.4vw, 2.85rem); letter-spacing: -.03em; }
.site-body .hero p.lead { color: #A7B4C8; }

/* --- Sections, heads, eyebrows ------------------------------------------- */
.site-body .section { padding-block: clamp(3.25rem, 5vw, 5rem); }
.site-body .section--tight { padding-block: clamp(2.5rem, 3.5vw, 3.75rem); }
.site-body .section--soft, .site-body .section--tint, .site-body .mk-section--tint { background: #F6F8FC; }
.site-body .section--dark {
    background: linear-gradient(160deg, #0B1628 0%, #0D1B33 100%);
    color: #A7B4C8;
}
.site-body .eyebrow { color: var(--mk-blue); font-size: .72rem; letter-spacing: .12em; }
.site-body .eyebrow::before { background: var(--mk-blue); }
.site-body .section--dark .eyebrow, .site-body .on-dark .eyebrow, .site-body .mk-hero .eyebrow { color: #7FB2FF; }
.site-body .section--dark .eyebrow::before, .site-body .on-dark .eyebrow::before { background: #7FB2FF; }
.site-body .section-head h2, .site-body .mk-head h2, .site-body .section h2:not(.faq-group__title) {
    font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink);
}
.site-body .section--dark h2, .site-body .section--dark h3, .site-body .mk-cta-band h2 { color: #fff; }
.site-body .section-head .lead, .site-body .mk-head p, .site-body p.lead { color: var(--mk-muted); }
.site-body .section--dark p.lead, .site-body .section--dark .lead { color: #A7B4C8; }
.site-body .section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* --- Cards and icons ----------------------------------------------------- */
.site-body .card, .site-body .mk-card, .site-body .mk-tile, .site-body .mk-tier, .site-body .value-card,
.site-body .form-card, .site-body .sidebar__block, .site-body .overview-panel, .site-body .featured-post,
.site-body .faq-item, .site-body .step-card, .site-body .custom-panel, .site-body .inline-cta, .site-body .notice, .site-body .media-panel {
    border-radius: 16px;
}
.site-body .card, .site-body .mk-card, .site-body .value-card, .site-body .step-card {
    background: #fff; border: 1px solid var(--mk-line); box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-body .card--hover:hover, .site-body .mk-card:hover, .site-body .mk-tile:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); border-color: var(--mk-line); }
.site-body .card h3, .site-body .value-card h3, .site-body .step-card h3 { color: var(--mk-ink); font-weight: 700; }
.site-body .card p, .site-body .value-card p { color: var(--mk-muted); }
.site-body .card-icon, .site-body .mk-card__icon, .site-body .mk-tile__icon, .site-body .mk-value__icon, .site-body .contact-item__icon, .site-body .overview-row__icon, .site-body .process__num {
    background: #EEF3FF; color: var(--mk-blue); border: 0; box-shadow: none; border-radius: 11px;
}
.site-body .card-icon { width: 44px; height: 44px; }
.site-body .card-icon--sm { width: 38px; height: 38px; border-radius: 10px; }
.site-body .mk-tile__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; }
.site-body .mk-tile { padding: 1.25rem 1.15rem; border-radius: 14px; }
.site-body .mk-tile b { color: var(--mk-ink); }
.site-body .section--dark .card, .site-body .on-dark .card, .site-body .section--dark .value-card {
    background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.09); color: #A7B4C8;
}
.site-body .section--dark .card h3, .site-body .section--dark .card h4 { color: #fff; }
.site-body .section--dark .card p { color: #93A2B8; }
.site-body .section--dark .card-icon, .site-body .on-dark .card-icon { background: rgba(43,108,246,.18); color: #7FB2FF; }
.site-body .media-panel { background: linear-gradient(160deg, #0F1F3D, #0A1428); border: 1px solid rgba(255,255,255,.1); }
.site-body .checklist .icon, .site-body .mk-ticks .icon { color: var(--mk-blue); }
.site-body .section--dark .checklist .icon { color: #7FB2FF; }
.site-body .section--dark .checklist { color: #A7B4C8; }

/* --- Buttons, chips, badges, tabs ---------------------------------------- */
.site-body .btn--secondary { border-color: var(--mk-line); color: var(--mk-ink); background: #fff; border-radius: 9px; }
.site-body .btn--secondary:hover { border-color: #C6D1E2; background: #F6F8FC; }
.site-body .section--dark .btn--secondary, .site-body .hero .btn--secondary, .site-body .cta-band .btn--secondary { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.25); color: #fff; }
.site-body .badge, .site-body .chip { border-radius: 6px; background: #EEF2F8; color: #4B5768; border: 0; font-weight: 600; }
.site-body .hero .badge, .site-body .section--dark .badge { background: rgba(255,255,255,.08); color: #DCE6F5; }
.site-body .tabs button, .site-body .mk-chip { border-radius: 999px; }
.site-body .tabs button[aria-selected="true"], .site-body .mk-chip.is-active { background: var(--mk-ink); color: #fff; border-color: var(--mk-ink); }
.site-body .link-arrow { color: var(--mk-blue); font-weight: 600; }

/* --- Process rail, steps, FAQ, packages ---------------------------------- */
.site-body .process__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mk-blue); color: #fff; font-weight: 700; font-size: .8rem; }
.site-body .step-card__num { color: var(--mk-blue); font-weight: 700; }
.site-body .faq-item { border: 1px solid var(--mk-line); background: #fff; }
.site-body .faq-item + .faq-item { margin-top: .6rem; }
.site-body .faq-group__title .icon, .site-body .faq-index a .icon { color: var(--mk-blue); }
.site-body .faq-index a.is-active, .site-body .sidebar__list a.is-active { color: var(--mk-blue); }
.site-body .mk-tier { border-radius: 16px; }
.site-body .mk-tier--featured { border-color: var(--mk-blue); box-shadow: 0 24px 60px rgba(43,108,246,.16); }
.site-body .mk-tier .btn--secondary { border-color: var(--mk-line); }
.site-body .custom-panel { background: linear-gradient(160deg, #0B1628, #0D1B33); border: 1px solid rgba(255,255,255,.08); }
.site-body .inline-cta { background: #F6F8FC; border: 1px solid var(--mk-line); }
.site-body .notice--info { background: #EEF3FF; border-color: rgba(43,108,246,.2); }

/* --- Forms ---------------------------------------------------------------- */
.site-body .input, .site-body .select, .site-body .textarea { border-radius: 10px; border-color: var(--mk-line); }
.site-body .input:focus, .site-body .select:focus, .site-body .textarea:focus { border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
.site-body .form-card { border: 1px solid var(--mk-line); box-shadow: var(--mk-shadow); }

/* --- Service detail: overview render, showcase ---------------------------- */
.site-body .section-visual .rd, .site-body .overview-render .rd { border-radius: 16px; }
.site-body .section-visual { margin-bottom: 2rem; }
.site-body .figure-note { color: var(--mk-muted); font-size: .8rem; }
.site-body .mk-tabbar { top: 74px; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
    .hv2-hero__inner--solo { text-align: left; }
    .hv2-hero__inner--solo .eyebrow, .hv2-hero__inner--solo .hv2-hero__actions { justify-content: flex-start; }
    .hv2-hero__inner--solo .hv2-hero__lead { margin-inline: 0; }
}
.mk-stats--hv2 { border-top-color: rgba(255,255,255,.14); }
.mk-stats--hv2 b { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem); color: #CFE0FF; }
.mk-stats--hv2 span { color: #A5B4CB; font-size: .86rem; }
.mk-stats--hv2 > div + div { border-left-color: rgba(255,255,255,.14); }
.featured-post__media .rd { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.ratio .rd { position: absolute; inset: 0; aspect-ratio: auto; }
.rd-table--light .rd-tr--4 { grid-template-columns: 2cqw 1.2fr 1fr auto; }

/* ==========================================================================
   SERVICE DETAIL PAGES - THE SERVICE BOARD
   ========================================================================== */
.hv2-hero--service .hv2-hero__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.svc-stats { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 2rem; }
.svc-stat { display: flex; align-items: center; gap: .6rem; }
.svc-stat__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(43,108,246,.16); border: 1px solid rgba(127,178,255,.22); color: #7FB2FF; flex: none; }
.svc-stat__icon .icon { width: 15px; height: 15px; }
.svc-stat b { display: block; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.1; }
.svc-stat small { display: block; font-size: .72rem; color: #93A2B8; white-space: nowrap; }

/* hero scene */
.ss { position: relative; container-type: inline-size; aspect-ratio: 16 / 11.5; }
.ss-laptop { position: absolute; left: 0; right: 16%; top: 9%; z-index: 1; transform: perspective(160cqw) rotateX(3deg); transform-origin: 50% 100%; }
.ss-laptop .rd-laptop__lid { aspect-ratio: 16 / 10.4; }
.ss-main { grid-template-rows: auto auto 1fr auto; }
.ss-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6cqw; }
.rd-label-text { display: block; font-size: 1.25cqw; color: #93A4C0; margin-bottom: .8cqw; }
.ss-chart svg { height: 10cqw; }
.ss-top { display: grid; align-content: start; gap: .9cqw; }
.ss-row { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 1cqw; font-size: 1.15cqw; color: #DCE6F5; }
.ss-row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-row i { display: block; height: .9cqw; border-radius: .5cqw; background: rgba(255,255,255,.1); overflow: hidden; }
.ss-row u { display: block; height: 100%; background: linear-gradient(90deg, #7FB2FF, #2B6CF6); }
.ss-row em { font-style: normal; color: #93A4C0; }
.ss-activity { display: grid; gap: .8cqw; }
.ss-act { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1cqw; font-size: 1.2cqw; color: #DCE6F5; }
.ss-act i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #3B82F6; box-shadow: 0 0 1.2cqw rgba(59,130,246,.7); }
.ss-act b { font-weight: 500; }
.ss-act em { font-style: normal; color: #7A879B; font-size: 1.05cqw; }
.ss-phone {
    position: absolute; z-index: 3; right: 0; bottom: 2%; width: 29%; aspect-ratio: 9 / 18.5;
    padding: 1.1cqw; border-radius: 4.5cqw;
    background: linear-gradient(160deg, #2A3444, #0F151E 65%);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 5cqw 7cqw -2cqw rgba(0,0,0,.8);
}
.ss-phone::before { content: ""; position: absolute; top: 2cqw; left: 50%; width: 26%; height: 1.8cqw; transform: translateX(-50%); background: #0F151E; border-radius: 2cqw; z-index: 3; }
.ss-phone__screen { height: 100%; border-radius: 3.6cqw; overflow: hidden; background: linear-gradient(180deg, #14264A, #0C1425); padding: 4cqw 2cqw 2cqw; display: grid; grid-template-rows: auto 1fr; gap: 1.6cqw; font-family: 'Inter', system-ui, sans-serif; }
.ss-phone .rd-ph-top { font-size: .95cqw; }
.ss-pitch { display: grid; align-content: start; gap: 1.2cqw; }
.ss-pitch small { font-size: 1.2cqw; color: #93A4C0; letter-spacing: .06em; text-transform: uppercase; }
.ss-pitch b { font-size: 2.2cqw; line-height: 1.15; color: #fff; }
.ss-pitch b::first-line { color: #fff; }
.ss-checks { display: grid; gap: .8cqw; margin-top: .6cqw; }
.ss-checks span { display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.2cqw; border-radius: 1.2cqw; background: rgba(255,255,255,.07); font-size: 1.3cqw; color: #DCE6F5; }
.ss-checks i { display: inline-grid; place-items: center; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #22C55E; color: #fff; flex: none; }
.ss-checks i .icon { width: 1.3cqw; height: 1.3cqw; stroke-width: 3; }
.ss-btn { display: block; margin-top: 1cqw; padding: 1.2cqw; border-radius: 1.2cqw; background: #2B6CF6; color: #fff; font-size: 1.3cqw; font-weight: 700; text-align: center; }
.ss-chip { top: 0; right: 4%; z-index: 4; }

/* highlights */
.svc-highlights { padding-block: 2.5rem 3rem; }
.svc-highlight { position: relative; padding: 1.6rem 1.4rem 1.5rem; }
.svc-highlight__plus { position: absolute; top: 1rem; right: 1rem; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--mk-line); color: var(--mk-muted); }
.svc-highlight__plus .icon { width: 12px; height: 12px; }
.svc-highlight p { min-height: 0; margin-bottom: 0; }

/* split sections */
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.svc-split--wide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.svc-split h2 { margin: .6rem 0 .8rem; font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); line-height: 1.18; }
.svc-text { margin: 0 0 1.4rem; color: var(--mk-muted); font-size: 1rem; line-height: 1.7; }
.svc-text--small { font-size: .92rem; margin-top: -.6rem; }
.svc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.svc-tiles--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-tile { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.15rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; }
.svc-tile__icon { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #EEF3FF; color: var(--mk-blue); }
.svc-tile__icon .icon { width: 19px; height: 19px; }
.svc-tile b { display: block; font-size: .93rem; font-weight: 700; color: var(--mk-ink); margin-bottom: .2rem; }
.svc-tile small { display: block; font-size: .8rem; line-height: 1.5; color: var(--mk-muted); }
.svc-checks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.svc-checks li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; font-weight: 500; color: var(--mk-ink); line-height: 1.5; }
.svc-checks .icon { flex: none; width: 18px; height: 18px; color: var(--mk-blue); margin-top: .1rem; }
.svc-checks--dark li { color: #DCE6F5; }
.svc-checks--dark .icon { color: #7FB2FF; }
.svc-checks--small li { font-size: .86rem; font-weight: 400; color: #B7C5DD; }

/* the two tablets */
.svc-compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; padding: 1.5rem 1rem 3rem; }
.svc-tab { position: relative; padding: 1.4rem 1.25rem; border-radius: 18px; background: linear-gradient(160deg, #10203C, #0A1428); border: 6px solid #1B2333; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); display: grid; gap: .6rem; }
.svc-tab--bad { transform: rotate(-4deg) translateY(.75rem); }
.svc-tab--good { transform: rotate(3deg); }
.svc-tab b { display: block; margin-bottom: .4rem; font-size: 1.02rem; font-weight: 700; color: #fff; line-height: 1.25; }
.svc-tab span { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border-radius: 10px; background: rgba(255,255,255,.06); font-size: .82rem; color: #DCE6F5; }
.svc-tab i { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; }
.svc-tab i .icon { width: 11px; height: 11px; stroke-width: 3; }
.svc-tab i.is-bad { background: #EF4444; color: #fff; }
.svc-tab i.is-good { background: #22C55E; color: #fff; }
.svc-compare__note { position: absolute; left: 50%; bottom: .2rem; margin: 0; transform: translateX(-50%) rotate(-3deg); font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: .95rem; color: var(--mk-blue); white-space: nowrap; }

/* solution map */
.svc-head-aside { max-width: 360px; margin: 0; font-size: .92rem; color: var(--mk-muted); line-height: 1.6; padding-bottom: .3rem; }
.smap { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1.25rem; align-items: center; }
.smap__col { display: grid; gap: .8rem; }
.smap__item { position: relative; display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; }
.smap__item::after { content: ""; position: absolute; top: 50%; width: 1.25rem; border-top: 1px dashed #B8C6DC; }
.smap__col--left .smap__item::after { right: -1.3rem; }
.smap__col--right .smap__item::after { left: -1.3rem; }
.smap__icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #EEF3FF; color: var(--mk-blue); }
.smap__icon .icon { width: 16px; height: 16px; }
.smap__item b { display: block; font-size: .88rem; font-weight: 700; color: var(--mk-ink); }
.smap__item small { display: block; font-size: .76rem; color: var(--mk-muted); line-height: 1.45; }
.smap__centre { display: grid; gap: .55rem; padding: 1.4rem 1.3rem; border-radius: 16px; background: linear-gradient(160deg, #0F1F3D, #0A1428); border: 1px solid rgba(127,178,255,.25); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.smap__centre > b { display: flex; align-items: center; gap: .55rem; margin-bottom: .4rem; font-size: 1rem; color: #fff; }
.smap__dot { width: 10px; height: 10px; border-radius: 50%; background: #3B82F6; box-shadow: 0 0 10px rgba(59,130,246,.8); }
.smap__promise { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #DCE6F5; }
.smap__promise .icon { width: 16px; height: 16px; color: #22C55E; flex: none; }

/* technology strip */
.svc-tech { padding-block: 2.25rem; }
.svc-tech .eyebrow { margin-bottom: 1rem; }
.svc-tech__row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.svc-tech__row .brand-mark { padding: .7rem 1.1rem; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; }
.svc-tech__row .brand-mark__name { font-size: 1rem; }
.svc-tech__row .hv2-link-arrow { margin-left: .5rem; }
.brand-mark--react { color: #61DAFB; } .brand-mark--vue { color: #42B883; } .brand-mark--node { color: #3C873A; } .brand-mark--postgres { color: #336791; }
.brand-mark--kotlin { color: #7F52FF; } .brand-mark--swift { color: #F05138; } .brand-mark--flutter { color: #02569B; } .brand-mark--firebase { color: #F5820D; }
.brand-mark--tiktok { color: #111; } .brand-mark--mailchimp { color: #FFE01B; text-shadow: 0 0 1px #6b5a00; } .brand-mark--hubspot { color: #FF7A59; } .brand-mark--js { color: #b89b00; }
.brand-mark--php.brand-mark--colour .brand-mark__name { font-size: .95rem; }

/* process row */
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.svc-step { position: relative; display: grid; justify-items: start; gap: .35rem; }
.svc-step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #EEF3FF; border: 2px solid var(--mk-blue); color: var(--mk-blue); font-size: .78rem; font-weight: 700; margin-bottom: .5rem; }
.svc-step:not(:last-child)::after { content: ""; position: absolute; left: 52px; top: 19px; right: 8px; border-top: 1px dashed #B8C6DC; }
.svc-step b { font-size: .92rem; font-weight: 700; color: var(--mk-ink); }
.svc-step small { font-size: .78rem; line-height: 1.5; color: var(--mk-muted); }

/* benefits band */
.svc-benefits { position: relative; overflow: hidden; }
.svc-benefits__globe { position: absolute; right: -8%; top: -10%; width: 42%; height: auto; opacity: .95; pointer-events: none; }
.svc-benefits__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 1.5rem; align-items: center; }
.svc-benefits h2 { margin: .6rem 0 1.2rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.2; }
.svc-fit { padding: 1.4rem 1.3rem; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.svc-fit .svc-tile__icon { background: rgba(43,108,246,.2); color: #7FB2FF; margin-bottom: .8rem; }
.svc-fit > b { display: block; margin-bottom: .8rem; font-size: 1rem; color: #fff; }
.svc-fit .svc-checks { margin: 0; }
.svc-benefits__cta { display: flex; justify-content: flex-end; }
.svc-cta-chip { display: grid; gap: .9rem; padding: 1.25rem; border-radius: 16px; background: rgba(13,24,44,.9); border: 1px solid rgba(127,178,255,.3); box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.svc-cta-chip b { font-size: 1.1rem; color: #fff; line-height: 1.2; }

/* FAQs and related */
.svc-faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; align-items: start; }
.svc-faqs .faq__item { border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; margin-bottom: .6rem; }
.svc-faqs .faq__button { padding: .9rem 1rem; font-size: .9rem; }
.svc-faqs .faq__icon { color: var(--mk-blue); }
.hv2-services--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv2-services--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-related p { min-height: 0; }

@media (max-width: 1080px) {
    .svc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .svc-step:nth-child(3n)::after { display: none; }
    .svc-benefits__grid { grid-template-columns: 1fr 1fr; }
    .svc-benefits__cta { grid-column: 1 / -1; justify-content: flex-start; }
    .smap { grid-template-columns: 1fr; }
    .smap__item::after { display: none; }
    .smap__centre { order: -1; }
}
@media (max-width: 960px) {
    .hv2-hero--service .hv2-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .svc-split, .svc-split--wide { grid-template-columns: minmax(0, 1fr); }
    .svc-tiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-faqs { grid-template-columns: minmax(0, 1fr); }
    .svc-benefits__globe { display: none; }
}
@media (max-width: 720px) {
    .svc-tiles, .svc-tiles--wide, .svc-steps { grid-template-columns: minmax(0, 1fr); }
    .svc-step::after { display: none !important; }
    .svc-compare { grid-template-columns: 1fr; padding: .5rem 0 2.5rem; }
    .svc-tab--bad, .svc-tab--good { transform: none; }
    .svc-benefits__grid { grid-template-columns: minmax(0, 1fr); }
    .svc-stats { gap: .8rem 1.2rem; }
}
.svc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: 1.9rem; }
.svc-stat { gap: .5rem; min-width: 0; }
.svc-stat__icon { width: 28px; height: 28px; }
.svc-stat b { font-size: .95rem; }
.svc-stat small { font-size: .66rem; }
@media (max-width: 1200px) { .svc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* service hero stats: four across, labels may wrap, nothing overlaps */
.hv2-hero--service .hv2-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.svc-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem .9rem; }
.svc-stat { align-items: flex-start; }
.svc-stat__icon { margin-top: .1rem; }
.svc-stat b { font-size: .98rem; }
.svc-stat small { font-size: .66rem; line-height: 1.25; white-space: normal; }

/* solution map: visible links from every card to the centre panel */
.smap { column-gap: 2.5rem; }
.smap__col { position: relative; }
.smap__item::after { width: 2.5rem; border-top: 2px dashed #9DB8E6; }
.smap__col--left .smap__item::after { right: -2.5rem; }
.smap__col--right .smap__item::after { left: -2.5rem; }
.smap__col--left::after, .smap__col--right::after { content: ""; position: absolute; top: 12%; bottom: 12%; width: 0; border-left: 2px dashed #9DB8E6; }
.smap__col--left::after { right: -1.25rem; }
.smap__col--right::after { left: -1.25rem; }
.smap__centre { position: relative; }
.smap__centre::before, .smap__centre::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #3B82F6; box-shadow: 0 0 0 5px rgba(59,130,246,.18); transform: translateY(-50%); z-index: 1; }
.smap__centre::before { left: -1.25rem; margin-left: -6px; }
.smap__centre::after { right: -1.25rem; margin-right: -6px; }
@media (max-width: 1080px) { .smap__col--left::after, .smap__col--right::after, .smap__centre::before, .smap__centre::after { display: none; } }
.svc-stats { gap: .75rem .5rem; }
.svc-stat { gap: .45rem; }
.svc-stat__icon { width: 26px; height: 26px; }
.svc-stat__icon .icon { width: 14px; height: 14px; }
.svc-stat b { font-size: .95rem; }
.svc-stat small { font-size: .62rem; letter-spacing: -.01em; }

/* ==========================================================================
   PACKAGES PAGE - THE PACKAGES BOARD
   ========================================================================== */
.pk-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-feats .svc-stat b { font-size: .88rem; }

/* hero panel */
.pk-scene { position: relative; container-type: inline-size; aspect-ratio: 16 / 11; }
.pk-panel {
    position: absolute; left: 4%; right: 4%; top: 10%; bottom: 8%;
    display: grid; grid-template-rows: auto 1fr auto; gap: 2.2cqw;
    padding: 3cqw; border-radius: 2.4cqw;
    background: rgba(12,20,37,.94); border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 6cqw 10cqw -3cqw rgba(0,0,0,.75);
    font-family: 'Inter', system-ui, sans-serif;
}
.pk-panel__head { display: flex; align-items: center; justify-content: space-between; }
.pk-panel__head b { font-size: 2.4cqw; color: #fff; }
.pk-panel__badge { display: inline-flex; align-items: center; gap: .6cqw; padding: .8cqw 1.6cqw; border-radius: 99cqw; background: rgba(34,197,94,.18); color: #4ADE80; font-size: 1.6cqw; font-weight: 700; }
.pk-panel__badge .icon { width: 1.8cqw; height: 1.8cqw; }
.pk-panel__bars { display: flex; align-items: flex-end; gap: 1.4%; min-height: 0; padding: 0 1cqw; border-bottom: 1px solid rgba(255,255,255,.08); }
.pk-panel__bars i { flex: 1; height: var(--h); border-radius: .8cqw .8cqw 0 0; background: linear-gradient(180deg, #7FB2FF, #2B6CF6); box-shadow: 0 0 2cqw rgba(91,156,255,.3); }
.pk-panel__bars i:nth-child(odd) { opacity: .55; }
.pk-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.pk-panel__stats span { display: grid; gap: .4cqw; }
.pk-panel__stats b { font-size: 3cqw; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.pk-panel__stats small { font-size: 1.3cqw; color: #93A4C0; }
.pk-chip { top: 2%; right: 0; }

/* category strip */
.pk-strip { position: relative; z-index: 2; margin-top: -2.2rem; }
.pk-strip__row { display: flex; flex-wrap: wrap; gap: .75rem; padding: .75rem; border-radius: 18px; background: #fff; border: 1px solid var(--mk-line); box-shadow: 0 20px 50px -20px rgba(11,21,36,.25); }
.pk-strip__tab { display: inline-flex; align-items: center; gap: .6rem; flex: 1 1 auto; justify-content: center; padding: .8rem 1.1rem; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--mk-ink); font-size: .9rem; font-weight: 600; cursor: pointer; }
.pk-strip__tab:hover { background: #F6F8FC; }
.pk-strip__tab[aria-selected="true"] { background: #EEF3FF; border-color: rgba(43,108,246,.35); color: var(--mk-blue); }
.pk-strip__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #EEF3FF; color: var(--mk-blue); }
.pk-strip__tab[aria-selected="true"] .pk-strip__icon { background: var(--mk-blue); color: #fff; }
.pk-strip__icon .icon { width: 16px; height: 16px; }
.pk-strip__row[hidden] { display: none; }
.pk-currency { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem .75rem; margin: 0 0 .75rem; font-size: .84rem; color: var(--mk-muted); }
.pk-currency label { font-weight: 600; color: var(--mk-ink); }
.pk-currency select { font: inherit; font-weight: 600; color: var(--mk-ink); padding: .4rem 2rem .4rem .7rem; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b1524' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; -webkit-appearance: none; appearance: none; }
.pk-currency small { flex-basis: 100%; text-align: right; font-size: .76rem; }
@media (max-width: 640px) { .pk-currency { justify-content: flex-start; } .pk-currency small { text-align: left; } }

/* billing toggle */
.pk-billing { display: inline-flex; align-items: center; gap: .2rem; padding: .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--mk-line); position: relative; }
.pk-billing button { padding: .5rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--mk-muted); font-size: .85rem; font-weight: 600; cursor: pointer; }
.pk-billing button.is-active { background: var(--mk-blue); color: #fff; }
.pk-billing__save { position: absolute; top: -.8rem; right: .2rem; padding: .16rem .5rem; border-radius: 999px; background: #E7F6EE; color: #067647; font-size: .64rem; font-weight: 700; }

/* tiers */
.pk-group { padding-top: 3.25rem; }
.pk-tiers { display: grid; gap: 1.25rem; align-items: stretch; }
.pk-tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pk-tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.pk-tiers--1 { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.pk-tier { display: flex; flex-direction: column; padding: 1.5rem 1.4rem 1.4rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.pk-tier:hover { transform: translateY(-3px); box-shadow: var(--mk-shadow-lg); }
.pk-tier--featured { border-color: var(--mk-blue); box-shadow: 0 24px 60px rgba(43,108,246,.16); background: linear-gradient(180deg, #F4F8FF, #fff 30%); }
.pk-tier__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.pk-tier__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #EEF3FF; color: var(--mk-blue); }
.pk-tier__icon .icon { width: 21px; height: 21px; }
.pk-tier__flag { padding: .32rem .8rem; border-radius: 999px; background: var(--mk-blue); color: #fff; font-size: .68rem; font-weight: 700; }
.pk-tier h3 { margin: 0 0 .3rem; font-size: 1.08rem; font-weight: 700; color: var(--mk-ink); }
.pk-tier__aud { margin: 0 0 1rem; font-size: .8rem; line-height: 1.5; color: var(--mk-muted); min-height: 2.4em; }
.pk-tier__price { display: flex; align-items: baseline; gap: .3rem; padding: .9rem 1rem; margin-bottom: 1.1rem; border-radius: 12px; background: #F6F8FC; }
.pk-tier__price b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--mk-ink); }
.pk-tier__price span { font-size: .8rem; color: var(--mk-muted); }
.pk-tier__note { margin: -.6rem 0 1.1rem; font-size: .76rem; line-height: 1.4; color: var(--mk-muted); }
.pk-tier__list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.pk-tier__list li { display: flex; align-items: flex-start; gap: .55rem; font-size: .84rem; line-height: 1.45; color: var(--mk-body); }
.pk-tier__list .icon { flex: none; width: 16px; height: 16px; margin-top: .12rem; color: var(--mk-blue); }
.pk-tier__btn { margin-top: auto; width: 100%; justify-content: center; }
.pk-tier .btn--secondary { border-color: var(--mk-blue); color: var(--mk-blue); background: #fff; }
.pk-tier .btn--secondary:hover { background: #EEF3FF; }

/* compare table */
.pk-compare { margin-top: 2.5rem; }
.pk-compare h3 { margin: 0 0 .3rem; font-size: 1.25rem; font-weight: 700; color: var(--mk-ink); }
.pk-compare > p { margin: 0 0 1.1rem; font-size: .9rem; color: var(--mk-muted); }
.pk-table-wrap { overflow-x: auto; border: 1px solid var(--mk-line); border-radius: 14px; background: #fff; }
.pk-table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 640px; }
.pk-table th, .pk-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--mk-line-soft); text-align: center; }
.pk-table th:first-child, .pk-table td:first-child { text-align: left; }
.pk-table thead th { background: #F6F8FC; font-weight: 700; color: var(--mk-ink); font-size: .84rem; }
.pk-table tbody th { font-weight: 600; color: var(--mk-ink); }
.pk-table td { color: var(--mk-body); }
.pk-table .is-featured { background: #EEF3FF; }
.pk-table thead th.is-featured { color: var(--mk-blue); }
.pk-table tbody tr:last-child th, .pk-table tbody tr:last-child td { border-bottom: 0; }
.pk-table__yes .icon { width: 16px; height: 16px; color: #16A34A; stroke-width: 3; }
.pk-table__no { color: #B4BFCF; }

/* why tiles, steps, platforms */
.svc-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.pk-step { position: relative; display: flex; gap: .8rem; align-items: flex-start; }
.pk-step__icon { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--mk-line); color: var(--mk-blue); }
.pk-step__icon .icon { width: 20px; height: 20px; }
.pk-step small { display: block; font-size: .72rem; font-weight: 700; color: var(--mk-blue); letter-spacing: .04em; }
.pk-step b { display: block; font-size: 1rem; font-weight: 700; color: var(--mk-ink); margin: .1rem 0 .25rem; }
.pk-step > span > span { display: block; font-size: .82rem; line-height: 1.5; color: var(--mk-muted); }
.pk-step:not(:last-child)::after { content: ""; position: absolute; right: -.75rem; top: 20px; width: 1.25rem; height: 1px; background: #B8C6DC; }
.pk-process { background: #F0F4FA; }
.pk-platforms { padding-block: 2.5rem 3rem; }
.pk-platforms__row { justify-content: flex-start; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); }
.brand-mark--linkedin { color: #0A66C2; } .brand-mark--amazon { color: #232F3E; }

@media (max-width: 1080px) {
    .pk-tiers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc-tiles--4, .pk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pk-step:nth-child(2n)::after { display: none; }
}
@media (max-width: 720px) {
    .pk-tiers--4, .pk-tiers--3, .pk-tiers--2, .svc-tiles--4, .pk-steps { grid-template-columns: minmax(0, 1fr); }
    .pk-step::after { display: none !important; }
    .pk-strip { margin-top: 1rem; }
    .pk-feats { grid-template-columns: minmax(0, 1fr); }
}
/* solution map: drawn connectors replace the CSS dashes */
.smap { position: relative; }
.smap__item::after, .smap__col--left::after, .smap__col--right::after, .smap__centre::before, .smap__centre::after { display: none; }
.smap__lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.smap__lines path { fill: none; stroke: #6FA0FF; stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; animation: smap-flow 1.1s linear infinite; }
.smap__lines circle { fill: #6FA0FF; }
.smap__lines .smap__tip { fill: #2B6CF6; stroke: rgba(43,108,246,.25); stroke-width: 6; }
.smap__col, .smap__centre { position: relative; z-index: 1; }
@keyframes smap-flow { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .smap__lines path { animation: none; } }
.pk-strip__tab { padding: .7rem .85rem; font-size: .84rem; gap: .5rem; flex: 1 1 0; white-space: nowrap; }
.pk-strip__icon { width: 28px; height: 28px; }
.smap__lines path { marker-end: none; }
.smap__lines path[marker-end] { stroke-dasharray: 6 6; }
@media (max-width: 1080px) { .pk-strip__tab { flex: 1 1 auto; } }

/* ==========================================================================
   PORTFOLIO PAGE - THE PORTFOLIO BOARD
   ========================================================================== */
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
.pf-stats b { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.pf-stats small { display: block; font-size: .7rem; color: #93A2B8; }
.pf-grid { padding-top: 2.25rem; }
.pf-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.pf-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.pf-chip { padding: .55rem 1.05rem; border: 1px solid var(--mk-line); border-radius: 999px; background: #fff; color: var(--mk-body); font-size: .84rem; font-weight: 600; cursor: pointer; }
.pf-chip:hover { border-color: #C6D1E2; color: var(--mk-ink); }
.pf-chip.is-active { background: var(--mk-ink); border-color: var(--mk-ink); color: #fff; }
.pf-search { position: relative; flex: none; width: 220px; }
.pf-search input { width: 100%; padding: .6rem 2.2rem .6rem .9rem; border: 1px solid var(--mk-line); border-radius: 999px; font: inherit; font-size: .85rem; background: #fff; }
.pf-search input:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
.pf-search .icon { position: absolute; right: .8rem; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--mk-muted); pointer-events: none; }
.pf-empty { margin: 1.5rem 0 0; color: var(--mk-muted); }

.hv2-badge { display: inline-block; margin-bottom: .55rem; padding: .22rem .6rem; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #fff; background: var(--mk-blue); }
.hv2-badge--navy { background: #1D4ED8; } .hv2-badge--green { background: #16A34A; } .hv2-badge--teal { background: #0D9488; } .hv2-badge--violet { background: #7C3AED; } .hv2-badge--amber { background: #D97706; }
.hv2-work__sum { display: block; margin: .35rem 0 .1rem; font-size: .85rem; line-height: 1.55; color: var(--mk-muted); }
.hv2-work__foot { display: flex; align-items: center; justify-content: space-between; }
.hv2-work__go { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--mk-line); color: var(--mk-blue); transition: background .18s ease, color .18s ease; }
.hv2-work__go .icon { width: 14px; height: 14px; }
.hv2-work:hover .hv2-work__go { background: var(--mk-blue); border-color: var(--mk-blue); color: #fff; }

.pf-industries__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .9rem; }
.pf-industry { display: grid; justify-items: center; gap: .6rem; padding: 1.1rem .6rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; text-align: center; }
.pf-industry__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #EEF3FF; color: var(--mk-blue); }
.pf-industry__icon .icon { width: 19px; height: 19px; }
.pf-industry b { font-size: .8rem; font-weight: 600; color: var(--mk-ink); }

.pf-quotes { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.pf-slider { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; }
.pf-slider__arrow { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; }
.pf-slider__arrow:hover { background: rgba(255,255,255,.12); }
.pf-slider__arrow .icon { width: 16px; height: 16px; }
.pf-quote { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 2rem; margin: 0; }
.pf-quote h2 { margin: .4rem 0 .9rem; font-size: 1.4rem; font-weight: 700; color: #fff; }
.pf-quote blockquote { margin: 0; font-size: .98rem; line-height: 1.7; color: #DCE6F5; }
.pf-quote__who { display: flex; align-items: center; gap: 1rem; }
.pf-quote__av { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--mk-blue); }
.pf-quote__av .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.pf-quote__who b { display: block; font-size: .98rem; color: #fff; }
.pf-quote__who > span > span { display: block; font-size: .8rem; color: #93A2B8; }
.pf-quote__who .mk-stars { display: flex; gap: .12rem; margin-top: .3rem; }

@media (max-width: 1080px) { .pf-industries__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
    .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-bar { flex-direction: column; align-items: stretch; }
    .pf-search { width: 100%; }
    .pf-industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-quote { grid-template-columns: minmax(0, 1fr); }
    .pf-slider { grid-template-columns: 1fr; }
    .pf-slider__arrow { display: none; }
}
/* catalogue screens: storefront, listings, courses */
.rd-shop { display: grid; grid-template-rows: auto auto 1fr; gap: 1.6cqw; padding: 0; background: #F4F7FC; font-family: 'Inter', system-ui, sans-serif; }
.rd-shop__bar { display: flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2.4cqw; background: #fff; border-bottom: 1px solid #E4E9F1; }
.rd-shop__bar b { font-size: 1.8cqw; color: #0B1524; }
.rd-shop__bar span { flex: 1; height: 2.4cqw; border-radius: 99cqw; background: #EEF2F8; margin: 0 2cqw; }
.rd-shop__bar i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #C9D3E2; }
.rd-shop__hero { display: grid; gap: .5cqw; margin: 0 2.4cqw; padding: 2.4cqw; border-radius: 1.6cqw; background: linear-gradient(135deg, #2B6CF6, #1D4FBF); color: #fff; }
.rd-shop__hero b { font-size: 2.4cqw; }
.rd-shop__hero small { font-size: 1.3cqw; color: rgba(255,255,255,.8); }
.rd-shop__hero span { justify-self: start; margin-top: .8cqw; padding: .7cqw 1.6cqw; border-radius: 99cqw; background: #fff; color: #1D4FBF; font-size: 1.2cqw; font-weight: 700; }
.rd-shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 2.4cqw 2.4cqw; min-height: 0; }
.rd-shop__item { display: grid; align-content: start; gap: .6cqw; padding: 1.4cqw; border-radius: 1.4cqw; background: #fff; border: 1px solid #E4E9F1; min-width: 0; }
.rd-shop__item i { display: block; aspect-ratio: 4 / 3; border-radius: 1cqw; }
.rd-shop__item b { font-size: 1.35cqw; color: #0B1524; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-shop__item span { font-size: 1.5cqw; font-weight: 700; color: #2B6CF6; }
.rd-shop__item em { font-style: normal; font-size: 1.1cqw; color: #7A879B; }
/* the slider: one slide at a time, gold stars */
.pf-quote[hidden] { display: none; }
.pf-quote__who .mk-stars { color: #F5A623; }
/* labelled charts on the drawn screens */
.chart-area { display: block; width: 100%; height: 100%; font-family: 'Inter', system-ui, sans-serif; }
.chart-area text { font-size: 7px; fill: #93A4C0; }
.chart-area__title { font-size: 8.5px; font-weight: 700; fill: #fff; }
.chart-area__legend text { font-size: 6.5px; fill: #B7C5DD; }
.chart-area__grid line { stroke: rgba(255,255,255,.08); stroke-width: .8; }
.chart-area__x text { font-size: 6.5px; }
.rd-chart--tall { height: 17cqw; }
.rd-chart--tall .chart-area { height: 100%; }
.rd-main--dash { grid-template-rows: auto auto auto 1fr; }
.rd-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6cqw; min-height: 0; }
.rd-split .rd-chart { display: grid; align-content: start; gap: .9cqw; }
.hs-card .chart-area { height: 11cqw; }
.ss-chart .chart-area { height: 12cqw; }
.rd-main--chart { grid-template-rows: auto auto 1fr auto; height: 100%; }
.rd-head--mini { margin-bottom: .8cqw; }
.rd-legend { display: inline-flex; align-items: center; gap: .6cqw; font-size: 1.15cqw; color: #93A4C0; }
.rd-legend i { width: 1.4cqw; height: 1.4cqw; border-radius: .3cqw; margin-left: 1cqw; }
.rd-bars--labelled { align-items: stretch; gap: 1.2%; height: 18cqw; }
.rd-bar-col { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; column-gap: .3cqw; align-items: end; }
.rd-bar-col i { display: block; height: var(--h); border-radius: .6cqw .6cqw 0 0; align-self: end; }
.rd-bar-col i.is-g { background: linear-gradient(180deg, #7FB2FF, #2B6CF6); }
.rd-bar-col i.is-m { background: linear-gradient(180deg, #67E8F9, #0891B2); }
.rd-bar-col small { grid-column: 1 / -1; text-align: center; font-size: 1.05cqw; color: #7A879B; margin-top: .6cqw; }
.hs-bars--labelled { align-items: stretch; height: 10.5cqw; }
.hs-bars--labelled span { flex: 1; display: grid; grid-template-rows: 1fr auto; align-items: end; row-gap: .5cqw; }
.hs-bars--labelled i { height: var(--h); align-self: end; }
.hs-bars--labelled small { text-align: center; font-size: 1cqw; color: #7A879B; line-height: 1; }
.hs-bars--short { height: 9cqw; }
/* real code on the code screen, with Lighthouse-style scores */
.rd-tabs i { width: auto; padding: .6cqw 1.6cqw; font-style: normal; font-size: 1.15cqw; color: #93A4C0; font-family: 'Inter', system-ui, sans-serif; }
.rd-tabs i.is-on { color: #fff; }
.rd-code { margin: 0; padding: 2cqw; border-radius: 1cqw; background: #0A1120; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.35cqw; line-height: 1.7; color: #DCE6F5; white-space: pre; overflow: hidden; }
.tk-kw { color: #C792EA; } .tk-fn { color: #82AAFF; } .tk-cls { color: #FFCB6B; } .tk-p { color: #C3D0E6; }
.rd-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4cqw; }
.rd-score { display: grid; justify-items: center; gap: .6cqw; }
.rd-score i { display: grid; place-items: center; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: conic-gradient(#22C55E calc(var(--v) * 1%), rgba(255,255,255,.08) 0); position: relative; }
.rd-score i::before { content: ""; position: absolute; inset: .7cqw; border-radius: 50%; background: #0C1425; }
.rd-score i b { position: relative; font-size: 1.6cqw; font-weight: 700; color: #22C55E; font-family: 'Inter', system-ui, sans-serif; }
.rd-score small { font-size: 1.05cqw; color: #93A4C0; font-family: 'Inter', system-ui, sans-serif; text-align: center; }
/* packages panel with a labelled chart */
.pk-panel { grid-template-rows: auto 1fr auto; }
.pk-panel__chart { min-height: 0; }
.pk-panel__chart .chart-area { height: 100%; }
.pk-panel__foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2cqw; align-items: start; }
.pk-panel__acts { display: grid; gap: .9cqw; }
.rd-ln-no { display: inline-block; width: 3cqw; color: rgba(255,255,255,.25); text-align: right; margin-right: 1.6cqw; }
.tk-str { color: #C3E88D; }
.hv2-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.25rem; padding: 1.5rem 1.75rem; border-radius: 16px; background: linear-gradient(135deg, #0F1F3D, #0B1628); border: 1px solid rgba(127,178,255,.2); color: #fff; }
.hv2-inline-cta b { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.hv2-inline-cta span { display: block; font-size: .9rem; color: #A7B4C8; max-width: 60ch; }
.hv2-inline-cta .btn { flex: none; }
@media (max-width: 720px) { .hv2-inline-cta { flex-direction: column; align-items: flex-start; } }
.rd-code { display: block; gap: 0; }
.rd-code span { display: inline; }
.rd-code .rd-ln-no { display: inline-block; }
/* website mock with photography */
.rd-site { display: grid; grid-template-rows: auto auto 1fr; gap: 1.6cqw; background: #fff; font-family: 'Inter', system-ui, sans-serif; }
.rd-site__nav { display: flex; align-items: center; gap: 2cqw; padding: 1.6cqw 2.6cqw; border-bottom: 1px solid #E4E9F1; }
.rd-site__nav b { font-size: 1.9cqw; color: #0B1524; }
.rd-site__nav span { display: flex; gap: 1.8cqw; margin-left: 1cqw; }
.rd-site__nav i { font-style: normal; font-size: 1.25cqw; color: #4B5768; }
.rd-site__nav em { margin-left: auto; font-style: normal; padding: .7cqw 1.6cqw; border-radius: 99cqw; background: #2B6CF6; color: #fff; font-size: 1.2cqw; font-weight: 700; }
.rd-site__hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2cqw; padding: 0 2.6cqw; align-items: center; }
.rd-site__copy { display: grid; gap: .7cqw; }
.rd-site__copy small { font-size: 1.1cqw; letter-spacing: .1em; text-transform: uppercase; color: #2B6CF6; font-weight: 700; }
.rd-site__copy b { font-size: 2.8cqw; line-height: 1.12; color: #0B1524; letter-spacing: -.02em; }
.rd-site__copy span { font-size: 1.25cqw; line-height: 1.5; color: #4B5768; }
.rd-site__copy em { justify-self: start; margin-top: .6cqw; font-style: normal; padding: .9cqw 1.8cqw; border-radius: 1cqw; background: #0B1524; color: #fff; font-size: 1.2cqw; font-weight: 700; }
.rd-site__photo { aspect-ratio: 4 / 3; border-radius: 1.6cqw; overflow: hidden; background: #E4E9F1; }
.rd-site__photo img, .rd-site__thumb img, .rd-feed__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; padding: 0 2.6cqw 2.4cqw; min-height: 0; }
.rd-site__card { display: grid; align-content: start; gap: .5cqw; min-width: 0; }
.rd-site__thumb { display: block; aspect-ratio: 4 / 3; border-radius: 1.2cqw; overflow: hidden; background: #E4E9F1; margin-bottom: .4cqw; }
.rd-site__card b { font-size: 1.35cqw; color: #0B1524; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-site__card small { font-size: 1.1cqw; color: #7A879B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* phone feed with photography */
.rd-feed { gap: 1cqw; }
.rd-feed__sub { font-size: 1.1cqw; color: #93A4C0; margin-top: -.6cqw; }
.rd-feed__items { display: grid; gap: 1.1cqw; margin-top: .6cqw; }
.rd-feed__item { display: grid; grid-template-columns: 6.2cqw 1fr auto; gap: 1.2cqw; align-items: center; padding: 1cqw; border-radius: 1.4cqw; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06); }
.rd-feed__thumb { display: block; width: 6.2cqw; height: 6.2cqw; border-radius: 1cqw; overflow: hidden; background: #1A2C50; }
.rd-feed__item b { display: block; font-size: 1.25cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-feed__item small { display: block; font-size: 1cqw; color: #93A4C0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-feed__item em { font-style: normal; font-size: 1.2cqw; font-weight: 700; color: #7FB2FF; }
.rd-site__photo, .rd-site__thumb, .rd-feed__thumb { position: relative; }
.rd-site__photo img, .rd-site__thumb img, .rd-feed__thumb img { position: absolute; inset: 0; }
/* article cards: meta row, excerpt, author row */
.hv2-post__meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.hv2-post__date { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--mk-muted); margin: 0; }
.hv2-post__date .icon { width: 14px; height: 14px; }
.hv2-post h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.hv2-post__excerpt { margin: 0 0 1.1rem; font-size: .86rem; line-height: 1.6; color: var(--mk-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv2-post__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--mk-line-soft); }
.hv2-post__author { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.hv2-post__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #E8EEF8; color: var(--mk-ink); font-size: .8rem; font-weight: 700; overflow: hidden; position: relative; }
.hv2-post__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv2-post__author b { display: block; font-size: .86rem; font-weight: 700; color: var(--mk-ink); }
.hv2-post__author small { display: block; font-size: .74rem; color: var(--mk-muted); }
.hv2-post .hv2-link-arrow { margin-top: 0; flex: none; }
.hv2-pill-link { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.2rem; border-radius: 999px; background: #EEF3FF; color: var(--mk-blue); font-size: .9rem; font-weight: 700; text-decoration: none; }
.hv2-pill-link .icon { width: 16px; height: 16px; }
.hv2-pill-link:hover { background: #E0E9FF; }
.rd-chip { right: 4%; bottom: 8%; z-index: 4; }
.rd--s-dashboard .rd-chip { bottom: 24%; }
.rd--s-code .rd-chip { top: 8%; bottom: auto; }
.rd--phones .rd-chip { right: 3%; bottom: 6%; }
.rd--s-dashboard .rd-chip { top: 8%; bottom: auto; }
/* portfolio grid: icon chips, view toggle, full cards, tech marks */
.pf-chip { display: inline-flex; align-items: center; gap: .45rem; }
.pf-chip .icon { width: 15px; height: 15px; }
.pf-bar__right { display: flex; align-items: center; gap: .6rem; flex: none; }
.pf-view { display: inline-flex; gap: .35rem; }
.pf-view__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); cursor: pointer; }
.pf-view__btn .icon { width: 16px; height: 16px; }
.pf-view__btn.is-active { background: var(--mk-blue); border-color: var(--mk-blue); color: #fff; }
.hv2-work__meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .55rem; }
.hv2-work__meta .hv2-badge { margin-bottom: 0; }
.hv2-work__date { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--mk-muted); }
.hv2-work__date .icon { width: 14px; height: 14px; }
.hv2-work__actions { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; }
.hv2-work__cta { flex: 1; justify-content: center; }
.hv2-work__ext { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: #EEF3FF; color: var(--mk-blue); }
.hv2-work__ext .icon { width: 18px; height: 18px; }
.tech-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .6rem .32rem .45rem; border-radius: 8px; background: #EEF2F8; color: #33415A; font-size: .76rem; font-weight: 600; }
.tech-chip__mark { display: inline-grid; place-items: center; width: 18px; height: 18px; }
.tech-chip__mark .icon, .tech-chip__mark svg { width: 15px; height: 15px; }
.tech-chip__mark b { font-size: .62rem; font-weight: 800; }
.tech-chip__mark .brand-mark { gap: 0; opacity: 1; color: inherit; }
.tech-chip__mark .brand-mark__name { display: none; }
.pf-cards.is-list { grid-template-columns: minmax(0, 1fr); }
.pf-cards.is-list .hv2-work { display: grid; grid-template-columns: 380px minmax(0, 1fr); align-items: center; }
.pf-cards.is-list .hv2-work__shot { aspect-ratio: 16 / 10; }
@media (max-width: 960px) { .pf-cards.is-list .hv2-work { grid-template-columns: minmax(0, 1fr); } .pf-bar__right { width: 100%; } .pf-bar__right .pf-search { flex: 1; } }

/* ==========================================================================
   ABOUT PAGE - THE ABOUT BOARD
   ========================================================================== */
.ab-hero .hv2-hero__inner { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ab-hero__visual { position: relative; }
.ab-hero__note { position: absolute; right: 2%; bottom: -4%; transform: rotate(-8deg); font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: 1.05rem; color: #CFE0FF; max-width: 12ch; line-height: 1.25; text-align: center; }
.ab-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ab-story h2 { margin: .6rem 0 .9rem; font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); }
.ab-story__media { position: relative; padding-bottom: 3rem; padding-left: 1rem; }
.ab-story__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0B1524; box-shadow: var(--mk-shadow-lg); }
.ab-story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-story__sign { position: absolute; right: 1.25rem; top: 1.25rem; display: grid; gap: .3rem; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(11,21,36,.88); color: #fff; backdrop-filter: blur(6px); }
.ab-story__sign .logo__mark { width: 34px; height: 34px; }
.ab-story__sign .logo__name { color: #fff; }
.ab-story__sign .logo__tag { display: block; color: rgba(255,255,255,.55); }
.ab-story__sign small { font-size: .74rem; color: #B7C5DD; }
.ab-story__card { position: absolute; left: -1rem; bottom: 0; display: grid; gap: .55rem; padding: 1.25rem 1.3rem; border-radius: 16px; background: linear-gradient(160deg, #0F1F3D, #0A1428); border: 1px solid rgba(127,178,255,.25); box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); color: #fff; }
.ab-story__card > b { font-size: 1rem; line-height: 1.25; margin-bottom: .3rem; }
.ab-story__card span { display: flex; align-items: center; gap: .55rem; font-size: .84rem; color: #DCE6F5; }
.ab-story__card i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2B6CF6; color: #fff; }
.ab-story__card i .icon { width: 11px; height: 11px; stroke-width: 3; }
.ab-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ab-principle { padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; }
.ab-principle h3 { margin: .9rem 0 .5rem; font-size: 1.05rem; font-weight: 700; color: var(--mk-ink); }
.ab-principle p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--mk-muted); }
.svc-checks--tight { margin: .6rem 0 0; gap: .45rem; }
.svc-checks--tight li { font-size: .88rem; font-weight: 500; }
.ab-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ab-tile { display: grid; gap: .25rem; padding: 1.25rem 1.2rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; }
.ab-tile .svc-tile__icon { margin-bottom: .5rem; }
.ab-tile b { font-size: 1.5rem; font-weight: 700; color: var(--mk-ink); letter-spacing: -.03em; }
.ab-tile small { font-size: .82rem; color: var(--mk-muted); }
.ab-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.ab-journey__step { position: relative; display: grid; gap: .3rem; justify-items: start; }
.ab-journey__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--mk-line); color: var(--mk-blue); margin-bottom: .5rem; }
.ab-journey__icon .icon { width: 22px; height: 22px; }
.ab-journey__step:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: 12px; top: 24px; border-top: 2px dashed #B8C6DC; }
.ab-journey__step small { font-size: .82rem; font-weight: 700; color: var(--mk-blue); letter-spacing: .04em; }
.ab-journey__step b { font-size: .95rem; font-weight: 700; color: var(--mk-ink); }
.ab-journey__step > span { font-size: .8rem; line-height: 1.5; color: var(--mk-muted); }
.ab-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ab-member { overflow: hidden; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.ab-member__photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.4; background: linear-gradient(160deg, #1B2F55, #0F1B33); overflow: hidden; }
.ab-member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-member__photo b { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(127,178,255,.16); border: 1px solid rgba(127,178,255,.3); color: #CFE0FF; font-size: 1.5rem; font-weight: 700; }
.ab-member__body { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1rem; }
.ab-member__body b { display: block; font-size: .95rem; font-weight: 700; color: #fff; }
.ab-member__body small { display: block; font-size: .78rem; color: #93A2B8; }
.ab-member__body i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(43,108,246,.25); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; }
.ab-quotes { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.ab-quotes__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 2rem; align-items: center; }
.ab-quotes h2 { margin: .5rem 0 1.2rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 700; color: var(--mk-ink); letter-spacing: -.03em; }
.pf-slider__nav { display: flex; gap: .5rem; }
.pf-slider__arrow--light { border-color: var(--mk-line); background: #fff; color: var(--mk-ink); }
.ab-quote { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; margin: 0; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; }
.ab-quote[hidden] { display: none; }
.ab-quote__mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EEF3FF; color: var(--mk-blue); }
.ab-quote__mark .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ab-quote blockquote { margin: 0; font-size: .95rem; line-height: 1.7; color: var(--mk-body); }
.ab-quote .pf-quote__who b { color: var(--mk-ink); }
.ab-quote .pf-quote__who > span > span { color: var(--mk-muted); }
@media (max-width: 1080px) { .ab-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ab-journey__step:nth-child(3n)::after { display: none; } .ab-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab-principles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) { .ab-story, .ab-quotes__grid { grid-template-columns: minmax(0, 1fr); } .ab-quote { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .ab-journey, .ab-team, .ab-tiles { grid-template-columns: minmax(0, 1fr); } .ab-journey__step::after { display: none !important; } .ab-story__media { padding-left: 0; } .ab-story__card { position: static; margin-top: 1rem; } }
.ab-quote .mk-stars { color: #F5A623; display: flex; gap: .12rem; margin-top: .3rem; }
.ab-member { display: grid; align-content: start; gap: .45rem; padding: 1.5rem 1.4rem; }
.ab-member__role { display: inline-block; justify-self: start; padding: .28rem .7rem; border-radius: 999px; background: rgba(43,108,246,.2); color: #7FB2FF; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ab-member > b { font-size: 1.1rem; font-weight: 700; color: #fff; margin-top: .3rem; }
.ab-member p { margin: 0; font-size: .86rem; line-height: 1.6; color: #A7B4C8; }

/* ---- Project detail board --------------------------------------------- */
.pj-hero .hv2-hero__inner { align-items: start; }
.pj-cat { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(127,178,255,.35); background: rgba(43,108,246,.16); color: #CFE0FF; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.pj-cat .icon { width: 12px; height: 12px; }
.pj-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 1rem 1.5rem; margin: 1.5rem 0 0; justify-content: start; }
.pj-meta div { min-width: 0; }
.pj-meta dt { display: flex; align-items: center; gap: .35rem; font-size: .68rem; color: #93A2B8; letter-spacing: .04em; text-transform: uppercase; }
.pj-meta dt .icon { width: 13px; height: 13px; color: #7FB2FF; }
.pj-meta dd { margin: .25rem 0 0; font-size: .86rem; font-weight: 600; color: #fff; }
.pj-hero .hv2-hero__actions { margin-top: 1.6rem; }
.pj-hero__visual { display: grid; gap: 1.2rem; }
.ss--project { aspect-ratio: 16 / 10.5; }
.ss--project .ss-laptop { right: 24%; top: 6%; }
.ss-phone--app { right: 0; bottom: 3%; width: 26%; }
.ss-phone--app .ss-phone__screen { padding: 0; display: block; }
.ss-phone--app .rd-ui--phone { height: 100%; padding-top: 4cqw; }
.pj-note { position: absolute; right: 0; top: -7%; transform: rotate(-8deg); font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: 1.05rem; line-height: 1.25; color: #CFE0FF; text-align: center; z-index: 4; }
.pj-hstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.pj-hstat { padding: .9rem .6rem; text-align: center; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pj-hstat b { display: block; font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.pj-hstat small { display: block; margin-top: .25rem; font-size: .7rem; color: #93A2B8; }

.pj-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pj-overview h2, .pj-cols h2 { margin: .6rem 0 .8rem; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); line-height: 1.2; }
.pj-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #0B1524; box-shadow: 0 20px 50px rgba(15,31,61,.18); }
.pj-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-media .rd { position: absolute; inset: 0; border-radius: 0; }
.pj-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,14,28,0) 40%, rgba(7,14,28,.7)); }
.pj-media__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); color: #fff; transition: transform .18s ease, background .18s ease; }
.pj-media__play svg { width: 24px; height: 24px; margin-left: 3px; }
.pj-media:hover .pj-media__play { transform: translate(-50%, -50%) scale(1.06); background: var(--mk-blue); }
.pj-media__label { position: absolute; z-index: 2; left: 50%; top: calc(50% + 48px); transform: translateX(-50%); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pj-media__chip { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; font-size: .7rem; font-weight: 600; }
.pj-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.25rem; }
.pj-chip { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--mk-ink); }
.pj-chip i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--mk-blue); color: #fff; }
.pj-chip .icon { width: 13px; height: 13px; }

.pj-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.pj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.pj-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--mk-body); line-height: 1.5; }
.pj-list i { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: .1rem; }
.pj-list .icon { width: 11px; height: 11px; }
.pj-list--bad i { background: #FEE2E2; color: #DC2626; }
.pj-list--good i { background: #DBEAFE; color: var(--mk-blue); }
.pj-glance { padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(15,31,61,.06); }
.pj-glance h2 { margin: 0 0 1rem; font-size: 1.05rem; }
.pj-glance dl { margin: 0; display: grid; gap: .9rem; }
.pj-glance__row { display: flex; gap: .75rem; align-items: flex-start; }
.pj-glance__icon { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #EEF3FF; color: var(--mk-blue); }
.pj-glance__icon .icon { width: 15px; height: 15px; }
.pj-glance dt { font-size: .66rem; color: var(--mk-muted); letter-spacing: .04em; text-transform: uppercase; }
.pj-glance dd { margin: .1rem 0 0; font-size: .88rem; font-weight: 600; color: var(--mk-ink); }

.pj-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pj-feature { padding: 1.4rem 1.3rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease; }
.pj-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,31,61,.08); }
.pj-feature b { display: block; margin: .9rem 0 .3rem; font-size: .95rem; font-weight: 700; color: var(--mk-ink); }
.pj-feature small { display: block; font-size: .8rem; line-height: 1.5; color: var(--mk-muted); }

.pj-results__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.pj-results h2 { margin: .6rem 0 .6rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 700; color: #fff; letter-spacing: -.03em; }
.pj-results__text { margin: 0 0 1.6rem; color: #B7C5DD; font-size: .95rem; line-height: 1.65; max-width: 52ch; }
.pj-impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.pj-impact__tile { padding: 1rem .9rem; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pj-impact__tile b { display: block; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.pj-impact__tile b.is-long { font-size: 1.15rem; line-height: 1.15; }
.pj-impact__tile small { display: block; margin-top: .35rem; font-size: .7rem; color: #93A2B8; line-height: 1.3; }
.pj-quote-card { position: relative; padding: 1.6rem 1.75rem 1.5rem; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.pj-quote-card .eyebrow { color: var(--mk-blue); }
.pj-quote-card .eyebrow::before { background: var(--mk-blue); }
.pj-quote { margin: .8rem 0 0; }
.pj-quote[hidden] { display: none; }
.pj-quote blockquote { margin: 0 0 1.2rem; font-size: .95rem; line-height: 1.7; color: var(--mk-body); }
.pj-quote__who { display: flex; align-items: center; gap: .8rem; padding-right: 5.5rem; }
.pj-quote__who b { display: block; font-size: .95rem; color: var(--mk-ink); }
.pj-quote__who small { display: block; font-size: .78rem; color: var(--mk-muted); }
.pj-quote-card__nav { position: absolute; right: 1.5rem; bottom: 1.5rem; display: flex; gap: .5rem; }
.pj-quote-card__nav .pf-slider__arrow { width: 34px; height: 34px; }

.pj-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.pj-shot { margin: 0; }
.pj-shot__frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--mk-line); box-shadow: 0 10px 24px rgba(15,31,61,.08); }
.pj-shot__frame .rd { border-radius: 0; }
.pj-shot__frame .rd-tablet { left: 5%; right: 5%; top: 7%; bottom: 7%; transform: perspective(160cqw) rotateY(-4deg) rotateX(2deg); }
.pj-shot__frame .rd-phone--solo { width: 26%; left: 37%; top: 7%; }
.pj-shot figcaption { margin-top: .65rem; font-size: .85rem; font-weight: 600; color: var(--mk-ink); }

.pj-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hv2-work--row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .75rem; }
.hv2-work--row .hv2-work__shot { aspect-ratio: 16 / 10; border-radius: 8px; }
.hv2-work--row .hv2-work__tag { position: absolute; left: .4rem; bottom: .4rem; margin: 0; font-size: .58rem; padding: .15rem .45rem; z-index: 2; }
.hv2-work--row .hv2-work__body { padding: 0; }
.hv2-work--row .hv2-work__body b { font-size: .92rem; }
.hv2-work--row .hv2-work__sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .78rem; margin: .25rem 0 0; }

@media (max-width: 1100px) {
    .pj-features, .pj-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pj-cols { grid-template-columns: 1fr 1fr; }
    .pj-glance { grid-column: 1 / -1; }
    .pj-related { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .pj-hero .hv2-hero__inner { grid-template-columns: 1fr; }
    .pj-overview, .pj-results__grid { grid-template-columns: 1fr; }
    .pj-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pj-note { top: 0; right: 2%; font-size: .95rem; }
}
@media (max-width: 640px) {
    .pj-cols, .pj-features, .pj-shots { grid-template-columns: 1fr; }
    .pj-hstats, .pj-impact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hv2-work--row { grid-template-columns: 96px minmax(0, 1fr) auto; }
    .pj-quote__who { padding-right: 0; }
    .pj-quote-card__nav { position: static; margin-top: 1rem; }
}

/* ---- Article board (blog detail) --------------------------------------- */
.bp-hero { position: relative; }
.bp-hero .hv2-hero__inner { align-items: center; }
.bp-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1.15; }
.bp-hero__visual .rd, .bp-hero__visual img { border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.bp-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.5rem; }
.bp-byline__author { display: inline-flex; align-items: center; gap: .65rem; }
.bp-byline__author b { display: block; font-size: .92rem; color: #fff; }
.bp-byline__author small { display: block; font-size: .74rem; color: #93A2B8; }
.bp-byline__meta { display: inline-flex; flex-wrap: wrap; gap: 1.1rem; font-size: .82rem; color: #A7B4C8; }
.bp-byline__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.bp-byline__meta .icon { width: 15px; height: 15px; color: #7FB2FF; }
.bp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.bp-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--mk-blue), #22D3EE); transition: width .12s linear; }

.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.bp-article { min-width: 0; }
.bp-prose { color: var(--mk-body); font-size: 1.04rem; line-height: 1.8; }
.bp-prose > * + * { margin-top: 1.15rem; }
.bp-prose h2 { margin-top: 2.6rem; padding-top: .2rem; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; color: var(--mk-ink); line-height: 1.25; scroll-margin-top: 110px; }
.bp-prose h3 { margin-top: 1.9rem; font-size: 1.15rem; font-weight: 700; color: var(--mk-ink); }
.bp-prose ul, .bp-prose ol { padding-left: 1.4rem; }
.bp-prose li + li { margin-top: .55rem; }
.bp-prose li::marker { color: var(--mk-blue); font-weight: 700; }
.bp-prose strong { color: var(--mk-ink); }
.bp-prose blockquote { margin: 1.6rem 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--mk-blue); background: #F5F8FF; border-radius: 0 12px 12px 0; color: var(--mk-ink); font-weight: 500; }
.bp-prose a { color: var(--mk-blue); text-decoration: underline; text-underline-offset: 3px; }
.bp-prose code { background: #EEF3FF; color: #1D4ED8; border-radius: 4px; padding: .1em .35em; font-size: .9em; }
.bp-prose pre { background: #0B1524; color: #DCE6F5; padding: 1.1rem 1.3rem; border-radius: 12px; overflow-x: auto; }
.bp-prose pre code { background: none; color: inherit; padding: 0; }
.bp-prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bp-prose th { text-align: left; padding: .7rem .8rem; background: #F5F8FF; color: var(--mk-ink); border-bottom: 1px solid var(--mk-line); }
.bp-prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--mk-line); }
.bp-prose img { border-radius: 12px; margin-block: 1.6rem; }
.bp-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.bp-tags .hv2-chip { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.bp-tags .hv2-chip .icon { width: 12px; height: 12px; }
.bp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding: 1rem 0; border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.bp-share__label { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--mk-ink); }
.bp-share__label .icon { width: 16px; height: 16px; color: var(--mk-blue); }
.bp-share__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.bp-share__btn { display: inline-flex; align-items: center; padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); font-size: .8rem; font-weight: 600; text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.bp-share__btn:hover { background: var(--mk-blue); border-color: var(--mk-blue); color: #fff; }
.bp-author { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; margin-top: 2rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; }
.bp-author__avatar { width: 60px; height: 60px; font-size: 1.15rem; }
.bp-author__kicker { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }
.bp-author b { display: block; margin-top: .15rem; font-size: 1.02rem; color: var(--mk-ink); }
.bp-author__role { display: block; font-size: .8rem; color: var(--mk-blue); font-weight: 600; }
.bp-author p { margin: .5rem 0 0; font-size: .9rem; line-height: 1.6; color: var(--mk-muted); }
.bp-article .hv2-inline-cta { margin-top: 2rem; }

.bp-side { min-width: 0; }
.bp-side__sticky { position: sticky; top: 96px; display: grid; gap: 1rem; }
.bp-side__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; font-size: .9rem; font-weight: 700; color: var(--mk-ink); }
.bp-side__title .icon { width: 16px; height: 16px; color: var(--mk-blue); }
.bp-toc, .bp-side__block { padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; }
.bp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: toc; }
.bp-toc a { position: relative; display: block; padding: .45rem .6rem .45rem 1.2rem; border-radius: 8px; font-size: .84rem; line-height: 1.4; color: var(--mk-muted); text-decoration: none; transition: background .15s ease, color .15s ease; }
.bp-toc a::before { content: ""; position: absolute; left: .35rem; top: .85rem; width: 5px; height: 5px; border-radius: 50%; background: var(--mk-line); transition: background .15s ease; }
.bp-toc a:hover { background: #F5F8FF; color: var(--mk-ink); }
.bp-toc a.is-active { background: #EEF3FF; color: var(--mk-blue); font-weight: 600; }
.bp-toc a.is-active::before { background: var(--mk-blue); }
.bp-consult { display: grid; gap: .6rem; padding: 1.4rem 1.3rem; border-radius: 14px; background: linear-gradient(160deg, #0F1F3D, #0A1428); color: #DCE6F5; box-shadow: 0 16px 36px rgba(15,31,61,.25); }
.bp-consult__icon { background: rgba(43,108,246,.2); color: #7FB2FF; }
.bp-consult b { font-size: 1rem; color: #fff; }
.bp-consult > span { font-size: .84rem; line-height: 1.55; color: #A7B4C8; }
.bp-consult .btn { margin-top: .4rem; justify-content: center; }
.bp-consult .hv2-link-arrow { color: #7FB2FF; font-size: .82rem; }
.bp-side__list { list-style: none; margin: 0; padding: 0; display: grid; }
.bp-side__list li + li { border-top: 1px solid var(--mk-line); }
.bp-side__list a { display: grid; gap: .15rem; padding: .7rem 0; text-decoration: none; }
.bp-side__list a span { font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--mk-ink); }
.bp-side__list a small { font-size: .74rem; color: var(--mk-muted); }
.bp-side__list a:hover span { color: var(--mk-blue); }

@media (max-width: 1100px) { .bp-layout { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 960px) {
    .bp-layout { grid-template-columns: 1fr; }
    .bp-side__sticky { position: static; }
    .bp-toc, .bp-consult { display: none; }   /* the inline prompt above already asks; no second card on phones */
    .bp-hero .hv2-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .bp-author { grid-template-columns: 1fr; } .bp-share { flex-direction: column; align-items: flex-start; } }

/* ---- Insights board (blog index) ---------------------------------------- */
.bl-hero .hv2-hero__inner { align-items: center; }
.bl-stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2rem; }
.bl-stats b { display: block; font-size: 1.7rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.bl-stats small { display: block; margin-top: .3rem; font-size: .78rem; color: #93A2B8; }
.bl-feature { overflow: hidden; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.bl-feature__shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0B1524; }
.bl-feature__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-feature__shot .rd { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.bl-feature__tag { position: absolute; z-index: 2; left: .9rem; top: .9rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 6px; background: var(--mk-blue); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bl-feature__tag .icon { width: 11px; height: 11px; fill: currentColor; }
.bl-feature__body { padding: 1.1rem 1.3rem 1.25rem; }
.bl-feature__body .hv2-post__date .icon { color: var(--mk-muted); }
.bl-feature__body h2 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--mk-ink); }
.bl-feature__body h2 a { color: inherit; text-decoration: none; }
.bl-feature__body h2 a:hover { color: var(--mk-blue); }
.bl-feature__body p { margin: 0 0 .8rem; font-size: .86rem; line-height: 1.6; color: var(--mk-muted); }
.bl-strip { position: sticky; top: 72px; z-index: 20; background: #fff; border-bottom: 1px solid var(--mk-line); }
.bl-strip__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.bl-strip .pf-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bl-strip .pf-filters::-webkit-scrollbar { display: none; }
.bl-strip .pf-chip { flex: none; text-decoration: none; padding: .5rem .95rem; font-size: .8rem; }
.bl-search { width: 200px; }
.bl-second__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.bl-second h2 { margin: .5rem 0 .6rem; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.bl-second h2 a { color: var(--mk-ink); text-decoration: none; }
.bl-second h2 a:hover { color: var(--mk-blue); }
.bl-second .hv2-post__date { display: inline-flex; margin-bottom: .8rem; }
.bl-second .svc-text { margin-bottom: 1.2rem; }
.bl-second__shot { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: 16px; overflow: hidden; background: #0B1524; box-shadow: 0 20px 50px rgba(15,31,61,.18); }
.bl-second__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-second__shot .rd { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.bl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.bl-popular { padding: 1.6rem 1.75rem; background: #F5F8FF; border-radius: 16px; }
.bl-popular h2, .bl-topics h2 { margin: .4rem 0 1rem; font-size: 1.45rem; font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); }
.bl-popular__list { list-style: none; margin: 0; padding: 0; }
.bl-popular__list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--mk-line); }
.bl-popular__list li:first-child { border-top: 0; padding-top: 0; }
.bl-popular__num { font-size: 1.15rem; font-weight: 700; color: var(--mk-blue); }
.bl-popular__body a { display: block; font-size: .92rem; font-weight: 700; line-height: 1.4; color: var(--mk-ink); text-decoration: none; }
.bl-popular__body a:hover { color: var(--mk-blue); }
.bl-popular__body small { display: block; margin-top: .2rem; font-size: .74rem; color: var(--mk-muted); }
.bl-popular__body em { font-style: normal; color: var(--mk-blue); font-weight: 600; }
.bl-popular .hv2-work__go { text-decoration: none; }
.bl-topics__intro { margin: .4rem 0 1.1rem; color: var(--mk-muted); }
.bl-topics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.bl-topic { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.bl-topic:hover { border-color: #C6D1E2; box-shadow: 0 10px 24px rgba(15,31,61,.08); transform: translateY(-2px); }
.bl-topic__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #EEF3FF; color: var(--mk-blue); }
.bl-topic__icon .icon { width: 18px; height: 18px; }
.bl-topic b { display: block; font-size: .9rem; color: var(--mk-ink); }
.bl-topic small { display: block; font-size: .74rem; color: var(--mk-muted); }
.bl-topic i { color: var(--mk-blue); }
.bl-topic i .icon { width: 16px; height: 16px; }
.hv2-section--tight { padding-block: 0 clamp(2.5rem, 5vw, 4.5rem); }
.bl-news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; align-items: center; padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 20px; background: linear-gradient(160deg, #0F1F3D, #0A1428); color: #fff; }
.bl-news .eyebrow { color: #7FB2FF; }
.bl-news .eyebrow::before { background: #7FB2FF; }
.bl-news h2 { margin: .5rem 0 .6rem; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #fff; }
.bl-news p { margin: 0; font-size: .92rem; line-height: 1.6; color: #A7B4C8; }
.bl-news__form { display: flex; gap: .6rem; }
.bl-news__field { position: relative; flex: 1; min-width: 0; }
.bl-news__field .icon { position: absolute; left: .9rem; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--mk-muted); pointer-events: none; }
.bl-news__field input { width: 100%; padding: .85rem .9rem .85rem 2.5rem; border: 1px solid transparent; border-radius: 10px; background: #fff; color: var(--mk-ink); font: inherit; font-size: .9rem; }
.bl-news__field input:focus { outline: 0; box-shadow: 0 0 0 3px rgba(43,108,246,.35); }
.bl-news .btn { flex: none; }
.bl-news__note { margin: .6rem 0 0 !important; font-size: .78rem !important; color: #93A2B8 !important; }
.bl-news__note.is-ok { color: #6EE7B7 !important; }
.bl-news__note.is-error { color: #FCA5A5 !important; }

@media (max-width: 960px) {
    .bl-hero .hv2-hero__inner, .bl-second__grid, .bl-two, .bl-news { grid-template-columns: 1fr; }
    .bl-strip { position: static; }
    .bl-strip__row { flex-direction: column; align-items: stretch; }
    .bl-search { width: 100%; }
}
@media (max-width: 640px) { .bl-topics__grid { grid-template-columns: 1fr; } .bl-news__form { flex-direction: column; } .bl-stats { gap: 1rem 1.5rem; } }

/* ---- Offices and mailboxes (footer + About) ------------------------------ */
.footer-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.4rem 0; margin-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-office { display: flex; gap: .8rem; align-items: flex-start; }
.footer-office__icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(43,108,246,.16); border: 1px solid rgba(127,178,255,.22); color: #7FB2FF; }
.footer-office__icon .icon { width: 16px; height: 16px; }
.footer-office b { display: block; font-size: .86rem; color: #fff; margin-bottom: .2rem; }
.footer-office span { display: block; font-size: .8rem; line-height: 1.5; color: var(--on-dark-muted); }
.footer-office .footer-office__mails { display: grid; gap: .15rem; }
.footer-office__mails a { font-size: .8rem; color: var(--on-dark-muted); text-decoration: none; }
.footer-office__mails a:hover { color: var(--cyan-400); }
.ab-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ab-office { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; }
.ab-office b { display: block; font-size: 1.02rem; color: var(--mk-ink); }
.ab-office span { display: block; margin-top: .25rem; font-size: .9rem; line-height: 1.5; color: var(--mk-body); }
.ab-office small { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font-size: .78rem; color: var(--mk-muted); }
.ab-office small .icon { width: 14px; height: 14px; color: var(--mk-blue); }
@media (max-width: 960px) { .footer-offices { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ab-offices { grid-template-columns: 1fr; } }

/* ---- Inquiry board (contact page) ---------------------------------------- */
.ct-hero .hv2-hero__inner { align-items: center; }
.ct-trust { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.8rem; }
.ct-trust__item { display: flex; align-items: center; gap: .6rem; }
.ct-trust__item b { display: block; font-size: .9rem; color: #fff; }
.ct-trust__item small { display: block; font-size: .72rem; color: #93A2B8; }
.ct-hero__visual { position: relative; min-height: 360px; container-type: inline-size; }
.ct-globe { width: 82%; height: auto; margin-left: 9%; display: block; }
.ct-chip { position: absolute; z-index: 3; }
.ct-chip--1 { left: 0; top: 10%; }
.ct-chip--2 { right: 0; top: 20%; }
.ct-chip--3 { left: 2%; bottom: 26%; }
.ct-chip--4 { right: 4%; bottom: 14%; }
.ct-note { right: 4%; top: auto; bottom: -2%; }
.ct-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.ct-side h2 { margin: .5rem 0 .7rem; font-size: clamp(1.4rem, 1.05rem + 1.1vw, 1.85rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); }
.ct-items { display: grid; gap: 1.2rem; margin: 1.6rem 0 2rem; }
.ct-item { display: flex; gap: .9rem; align-items: flex-start; }
.ct-item__icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--mk-line); color: var(--mk-blue); box-shadow: 0 6px 16px rgba(15,31,61,.06); }
.ct-item__icon .icon { width: 19px; height: 19px; }
.ct-item b { display: block; font-size: .92rem; color: var(--mk-ink); margin-bottom: .25rem; }
.ct-item__mail { display: flex; align-items: baseline; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--mk-blue); text-decoration: none; padding: .1rem 0; }
.ct-item__mail small { font-size: .74rem; font-weight: 500; color: var(--mk-muted); }
.ct-item__mail:hover { text-decoration: underline; }
.ct-item__value { display: block; font-size: .9rem; font-weight: 600; color: var(--mk-ink); text-decoration: none; }
.ct-item__office { display: block; padding: .15rem 0; }
.ct-item__office em { display: block; font-style: normal; font-size: .9rem; font-weight: 600; color: var(--mk-ink); }
.ct-item__office span { display: block; font-size: .82rem; color: var(--mk-body); line-height: 1.5; }
.ct-item__note { display: block; margin-top: .3rem; font-size: .76rem; color: var(--mk-muted); }
.ct-why { margin-bottom: 1.8rem; }
.ct-why .eyebrow { margin-bottom: .8rem; }
.ct-why .svc-checks { margin-bottom: 0; }
.ct-why .svc-checks li { font-size: .88rem; font-weight: 500; }
.ct-quote { margin: 0; padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(15,31,61,.06); }
.ct-quote .ab-quote__mark { float: left; margin: 0 .8rem .3rem 0; width: 36px; height: 36px; }
.ct-quote blockquote { margin: 0 0 1rem; font-size: .9rem; line-height: 1.65; color: var(--mk-ink); font-weight: 500; }
.ct-quote .pf-quote__who { clear: both; flex-wrap: wrap; }
.ct-quote .pf-quote__who b { color: var(--mk-ink); }
.ct-quote .pf-quote__who > span > span { color: var(--mk-muted); }
.ct-quote__stars { margin-left: auto; color: #F5A623; display: flex; gap: .12rem; }
.ct-quote__stars .icon { width: 15px; height: 15px; fill: currentColor; }
.ct-card { padding: 1.4rem clamp(1.2rem, 2vw, 2rem) 1.8rem; border-radius: 18px; }
.ct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .35rem; margin-bottom: 1.4rem; background: #F5F8FF; border-radius: 14px; }
.ct-tabs button { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border: 0; border-radius: 11px; background: transparent; color: var(--mk-ink); text-align: left; cursor: pointer; font: inherit; transition: background .18s ease, color .18s ease; }
.ct-tabs button b { display: block; font-size: .9rem; font-weight: 700; }
.ct-tabs button small { display: block; font-size: .72rem; color: var(--mk-muted); }
.ct-tab__icon { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: #fff; color: var(--mk-blue); }
.ct-tab__icon .icon { width: 17px; height: 17px; }
.ct-tabs button[aria-selected="true"] { background: var(--mk-ink); color: #fff; }
.ct-tabs button[aria-selected="true"] small { color: #A7B4C8; }
.ct-tabs button[aria-selected="true"] .ct-tab__icon { background: rgba(255,255,255,.12); color: #7FB2FF; }
.ct-card__title { margin: 0 0 .3rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--mk-ink); }
.ct-card__sub { margin: 0 0 1.4rem; font-size: .9rem; color: var(--mk-muted); line-height: 1.55; }
.ct-card .form { display: grid; gap: 1.1rem; }
.ct-card .field label { font-weight: 600; font-size: .86rem; color: var(--mk-ink); }
.ct-phone { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: .5rem; }
.ct-phone__code { padding-inline: .6rem; font-size: .88rem; }
.ct-counter { display: flex; justify-content: space-between; gap: 1rem; }
.ct-counter span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.ct-upload { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px dashed #C6D1E2; border-radius: 12px; background: #F8FAFF; }
.ct-upload.is-over { border-color: var(--mk-blue); background: #EEF3FF; }
.ct-upload__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; border: 1px solid var(--mk-line); color: var(--mk-blue); }
.ct-upload__icon .icon { width: 22px; height: 22px; }
.ct-upload label { display: block; font-size: .9rem; color: var(--mk-ink); }
.ct-upload__hint { display: block; font-size: .76rem; color: var(--mk-muted); line-height: 1.45; }
.ct-upload__btn { position: relative; overflow: hidden; }
.ct-upload__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ct-upload__list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .3rem; }
.ct-upload__list li { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--mk-ink); }
.ct-upload__list li i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mk-blue); }
.ct-upload__list li small { color: var(--mk-muted); }
.ct-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ct-secure { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--mk-muted); max-width: 26ch; line-height: 1.4; }
.ct-secure .icon { flex: none; width: 18px; height: 18px; color: var(--mk-muted); }
.ct-card .form-footnote { margin: 0; font-size: .76rem; color: var(--mk-muted); }
.ct-reach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.ct-map { position: relative; padding: 1.2rem; border-radius: 20px; background: linear-gradient(160deg, #0F1F3D, #0A1428); box-shadow: 0 20px 50px rgba(15,31,61,.25); overflow: hidden; }
.wmap { display: block; width: 100%; height: auto; }
.wmap__arc { stroke-dashoffset: 0; animation: wmap-flow 2.4s linear infinite; }
@keyframes wmap-flow { to { stroke-dashoffset: -22; } }
.ct-map__label { position: absolute; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(11,21,36,.85); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .7rem; font-weight: 600; }
.ct-map__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--mk-blue); }
.ct-map__label--lahore { left: 69.5%; top: 29%; }
.ct-map__label--dubai { left: 55%; top: 44%; }
.ct-map__label--dubai i { background: #22D3EE; }
.ct-map__chip { position: absolute; left: 1.2rem; bottom: 1.2rem; }
.ct-map__chip .hs-chip__icon { width: 34px; height: 34px; border-radius: 9px; }
.ct-map__chip .hs-chip__icon .icon { width: 16px; height: 16px; }
.ct-map__chip b { font-size: .84rem; }
.ct-map__chip span span { font-size: .7rem; }
.ct-reach__text h2 { margin: .5rem 0 .7rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; color: var(--mk-ink); }
.ct-reach__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ct-reach__stats > div + div { border-left: 1px solid var(--mk-line); padding-left: 1rem; }
.ct-reach__stats b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--mk-blue); letter-spacing: -.03em; line-height: 1.05; }
.ct-reach__stats small { display: block; margin-top: .25rem; font-size: .76rem; color: var(--mk-muted); }
@media (max-width: 1100px) { .ct-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
@media (max-width: 960px) {
    .ct-hero .hv2-hero__inner, .ct-layout, .ct-reach { grid-template-columns: 1fr; }
    .ct-side { order: 2; }
    .ct-hero__visual { min-height: 0; margin-top: 1rem; }
    .ct-chip--1, .ct-chip--3 { left: 0; } .ct-chip--2, .ct-chip--4 { right: 0; }
}
@media (max-width: 640px) {
    .ct-upload { grid-template-columns: auto minmax(0, 1fr); }
    .ct-upload__btn { grid-column: 1 / -1; justify-content: center; }
    .ct-phone { grid-template-columns: 104px minmax(0, 1fr); }
    .ct-reach__stats { gap: .6rem; }
    .ct-tabs button small { display: none; }
}

/* ---- Brand logo image ------------------------------------------------------- */
.logo--img { display: inline-flex; align-items: center; transition: transform .2s ease, filter .2s ease; }
.logo--img:hover { transform: translateY(-1px); filter: drop-shadow(0 6px 14px rgba(43,108,246,.28)); }
.logo--img picture, .logo--img img { display: block; height: 54px; width: auto; background: transparent; }
.site-footer .logo--img img { height: 68px; }
.mobile-nav .logo--img img { height: 44px; }
.ab-story__sign .logo--img img { height: 44px; }
.admin-side .logo--img img { height: 40px; }
@media (max-width: 640px) { .logo--img img { height: 42px; } .site-footer .logo--img img { height: 56px; } }

/* ---- Services mega menu (board) ------------------------------------------- */
.site-header__inner { position: relative; }
.nav__item:has(.megamenu--board) { position: static; }
.megamenu--board { left: 0; right: 0; width: auto; transform: translateY(-6px); padding: 1.25rem; border-radius: 20px; box-shadow: 0 30px 70px rgba(15,31,61,.22); }
.nav__item.is-open .megamenu--board { transform: none; }
.megamenu--board .megamenu__grid { grid-template-columns: repeat(4, minmax(0, 1fr)) 260px; gap: 0; }
.megamenu--board .megamenu__col { display: flex; flex-direction: column; padding: .5rem 1.25rem 0; border-right: 1px solid var(--mk-line); }
.megamenu--board .megamenu__col:first-child { padding-left: .5rem; }
.megamenu--board .megamenu__col:nth-child(4) { border-right: 0; }
.megamenu__head-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #EEF3FF; color: var(--mk-blue); margin-bottom: 1rem; }
.megamenu__head-icon .icon { width: 26px; height: 26px; }
.megamenu__head { display: block; margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--mk-ink); text-decoration: none; }
.megamenu__head:hover { color: var(--mk-blue); }
.megamenu__blurb { margin: 0 0 1rem; font-size: .88rem; line-height: 1.5; color: var(--mk-muted); min-height: 2.7em; }
.megamenu--board .megamenu__list { display: block; margin: 0 0 1rem; border-top: 1px solid var(--mk-line); }
.megamenu--board .megamenu__list li + li { border-top: 1px solid var(--mk-line); }
.megamenu--board .megamenu__link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .1rem; margin: 0; border-radius: 0; font-size: .92rem; font-weight: 500; color: var(--mk-ink); background: none; }
.megamenu--board .megamenu__link .icon { width: 16px; height: 16px; margin: 0; color: var(--mk-blue); transition: transform .18s ease; }
.megamenu--board .megamenu__link:hover, .megamenu--board .megamenu__link:focus-visible { background: none; color: var(--mk-blue); }
.megamenu--board .megamenu__link:hover .icon { transform: translateX(3px); }
.megamenu__all { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: auto; padding: .9rem .6rem; border-radius: 12px; background: #EEF3FF; color: var(--mk-blue); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s ease; }
.megamenu__all:hover { background: #DDE7FF; }
.megamenu__all .icon { width: 18px; height: 18px; }
.megamenu__all .icon:last-child { width: 15px; height: 15px; }
.megamenu--board .megamenu__promo { position: relative; overflow: hidden; margin-left: 1.25rem; padding: 1.5rem 1.4rem; border-radius: 16px; background: linear-gradient(160deg, #0F1F3D, #0A1428); gap: .6rem; }
.megamenu--board .megamenu__promo::after { content: ""; position: absolute; right: -45%; bottom: -30%; width: 110%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(127,178,255,.25); background: radial-gradient(circle at 30% 30%, rgba(43,108,246,.5), transparent 62%); pointer-events: none; }
.megamenu__promo-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #7FB2FF; margin-bottom: .6rem; }
.megamenu__promo-icon .icon { width: 26px; height: 26px; }
.megamenu__promo-note { position: absolute; right: 1.2rem; top: 1.1rem; transform: rotate(-8deg); font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; font-size: .9rem; line-height: 1.2; color: #CFE0FF; text-align: center; }
.megamenu--board .megamenu__promo strong { position: relative; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.megamenu--board .megamenu__promo p { position: relative; font-size: .9rem; color: #A7B4C8; line-height: 1.55; }
.megamenu__checks { list-style: none; margin: .3rem 0 .8rem; padding: 0; display: grid; gap: .5rem; position: relative; }
.megamenu__checks li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: #DCE6F5; }
.megamenu__checks i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.megamenu__checks i .icon { width: 11px; height: 11px; }
.megamenu--board .megamenu__promo .btn { position: relative; justify-content: center; }
.megamenu__trust { position: relative; display: flex; align-items: center; gap: .7rem; margin-top: .5rem; font-size: .82rem; color: #A7B4C8; }
.megamenu__avatars { display: flex; }
.megamenu__avatars i { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; border: 2px solid #0F1F3D; background: #3B5FA8; color: #fff; font-size: .62rem; font-weight: 700; font-style: normal; }
.megamenu__avatars i:first-child { margin-left: 0; }
.megamenu--board .megamenu__footer { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--mk-line); border-radius: 14px; background: #F8FAFF; }
.megamenu--board .megamenu__footer p { display: flex; align-items: center; gap: .9rem; }
.megamenu--board .megamenu__footer p b { display: block; font-size: 1.05rem; color: var(--mk-ink); }
.megamenu--board .megamenu__footer p small { display: block; font-size: .88rem; color: var(--mk-muted); }
.megamenu__foot-icon { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: #EEF3FF; color: var(--mk-blue); }
.megamenu__foot-icon .icon { width: 24px; height: 24px; }
@media (max-width: 1320px) {
    .megamenu--board .megamenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 0; }
    .megamenu--board .megamenu__col:nth-child(2n) { border-right: 0; }
    .megamenu--board .megamenu__col:nth-child(n+3) { border-top: 1px solid var(--mk-line); padding-top: 1rem; }
    .megamenu--board .megamenu__promo { grid-column: 1 / -1; margin: .8rem 0 0; }
}


/* ---- Footer board ---------------------------------------------------------- */
.site-footer--board { position: relative; overflow: hidden; background: linear-gradient(180deg, #0B1524 0%, #0A1220 100%); }
.site-footer--board::before { content: ""; position: absolute; right: -6%; top: 22%; width: 22%; aspect-ratio: 1; background-image: radial-gradient(rgba(127,178,255,.22) 1.2px, transparent 1.6px); background-size: 12px 12px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 70%); pointer-events: none; }
.ft-offices { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.03); }
.ft-office { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 1.5rem 1.6rem; }
.ft-office > div { display: grid; gap: .3rem; align-content: center; }
.ft-office + .ft-office { border-left: 1px solid rgba(255,255,255,.1); }
.ft-office .ft-office__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: rgba(43,108,246,.16); border: 1px solid rgba(127,178,255,.22); color: #7FB2FF; }
.ft-office .ft-office__icon .icon { display: block; width: 26px; height: 26px; margin: 0; }
.ft-office b { display: block; font-size: 1.02rem; line-height: 1.3; color: #fff; margin: 0; }
.ft-office span { display: block; font-size: .92rem; line-height: 1.5; color: var(--on-dark-muted); }
.ft-office a { display: block; font-size: .95rem; line-height: 1.5; font-weight: 600; color: #fff; text-decoration: none; }
.ft-office a:hover { color: var(--cyan-400); }
.ft-main { display: grid; grid-template-columns: 1.5fr 1fr .95fr .85fr .85fr 1.35fr; gap: 2rem 1.5rem; padding: clamp(2.5rem, 4vw, 3.5rem) 0 2.5rem; position: relative; }
.ft-about p { margin: 1.25rem 0 1.4rem; font-size: .95rem; line-height: 1.65; color: var(--on-dark-muted); max-width: 32ch; }
.ft-social { display: flex; gap: .6rem; }
.ft-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.ft-social a:hover { background: var(--mk-blue); border-color: var(--mk-blue); transform: translateY(-2px); }
.ft-social svg { width: 20px; height: 20px; }
.ft-main .footer-col h3 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: .4rem 0 1.1rem; }
.ft-main .footer-col ul { gap: .8rem; }
.ft-main .footer-col a { font-size: .95rem; color: var(--on-dark-muted); text-decoration: none; }
.ft-main .footer-col a:hover { color: #fff; }
.ft-updates { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.1); }
.ft-updates > p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; color: var(--on-dark-muted); }
.ft-subscribe { display: flex; gap: .5rem; }
.ft-subscribe input[type="email"] { flex: 1; min-width: 0; padding: .95rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .95rem; }
.ft-subscribe input[type="email"]::placeholder { color: #93A2B8; }
.ft-subscribe input[type="email"]:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.3); }
.ft-subscribe button { display: inline-grid; place-items: center; flex: none; width: 52px; border: 0; border-radius: 10px; background: var(--mk-blue); color: #fff; cursor: pointer; transition: background .18s ease; }
.ft-subscribe button:hover { background: #1D4ED8; }
.ft-subscribe button .icon { width: 18px; height: 18px; }
.ft-note { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 0; font-size: .82rem; color: #93A2B8; }
.ft-note .icon { width: 14px; height: 14px; }
.ft-note.is-ok { color: #6EE7B7; } .ft-note.is-error { color: #FCA5A5; }
.ft-phone { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; color: var(--on-dark-muted); text-decoration: none; }
.ft-phone .icon { width: 16px; height: 16px; color: #7FB2FF; }
.ft-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0 2rem; }
.ft-bottom p, .ft-bottom .site-footer__legal { font-size: .95rem; color: var(--on-dark-muted); }
.ft-bottom .site-footer__legal a { text-decoration: none; }
.ft-bottom .site-footer__legal a:hover { color: #fff; }
.ft-sep { color: rgba(255,255,255,.25); }
@media (max-width: 1100px) {
    .ft-main { grid-template-columns: 1fr 1fr 1fr; }
    .ft-about { grid-column: 1 / -1; }
    .ft-updates { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
}
@media (max-width: 960px) { .ft-offices { grid-template-columns: 1fr; } .ft-office + .ft-office { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); } }
@media (max-width: 640px) { .ft-main { grid-template-columns: 1fr 1fr; } .ft-office { padding: 1.2rem; } .ft-office__icon { width: 50px; height: 50px; } }

/* ---- Header board: top bar, search, pill nav ------------------------------ */
.topbar { background: #EEF3FF; border-bottom: 1px solid #DDE6F7; font-size: .84rem; color: var(--mk-body); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__left { display: flex; align-items: center; gap: .6rem; }
.topbar__left b { color: var(--mk-ink); font-weight: 700; }
.topbar__icon { display: inline-grid; place-items: center; color: var(--mk-blue); }
.topbar__icon .icon { width: 17px; height: 17px; }
.topbar__sep { width: 1px; height: 16px; background: #C6D1E2; margin: 0 .35rem; }
.topbar__right { display: flex; align-items: center; }
.topbar__right a { display: inline-flex; align-items: center; gap: .4rem; padding: 0 1rem; color: var(--mk-body); text-decoration: none; border-left: 1px solid #C6D1E2; }
.topbar__right a:first-child { border-left: 0; }
.topbar__right a:last-child { padding-right: 0; }
.topbar__right a:hover { color: var(--mk-blue); }
.topbar__right .icon { width: 15px; height: 15px; color: var(--mk-blue); }
.site-header--board { background: #fff; }
.site-header--board .site-header__inner { min-height: 84px; }
.site-header--board .nav__link { font-weight: 600; color: var(--mk-ink); position: relative; }
.site-header--board .nav__link.is-active, .site-header--board .nav__link[aria-current="page"] { color: var(--mk-blue); }
.site-header--board .nav__link.is-active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -.35rem; height: 3px; border-radius: 3px; background: var(--mk-blue); }
.site-header--board .header__actions { display: flex; align-items: center; gap: .8rem; }
.site-header--board .header__actions::before { content: ""; width: 1px; height: 26px; background: var(--mk-line); margin-right: .2rem; }
.hd-search { position: relative; }
.hd-search__btn { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--mk-line); background: #fff; color: var(--mk-ink); cursor: pointer; transition: border-color .18s ease, color .18s ease; }
.hd-search__btn:hover, .hd-search.is-open .hd-search__btn { border-color: var(--mk-blue); color: var(--mk-blue); }
.hd-search__btn .icon { width: 20px; height: 20px; }
.hd-search__form[hidden] { display: none; }
.hd-search__form { position: absolute; right: 0; top: calc(100% + .6rem); display: flex; gap: .5rem; width: 320px; padding: .6rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15,31,61,.16); z-index: 30; }
.hd-search__form input { flex: 1; min-width: 0; padding: .55rem .8rem; border: 1px solid var(--mk-line); border-radius: 8px; font: inherit; font-size: .9rem; }
.hd-search__form input:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
@media (max-width: 1100px) { .topbar__left > span:last-child, .topbar__sep { display: none; } .topbar__right a:not(:last-child) { display: none; } }
@media (max-width: 960px) { .topbar { display: none; } .hd-search { display: none; } .site-header--board .header__actions::before { display: none; } }

/* ---- Category page cards ---------------------------------------------------- */
.gp-card h3 a { color: var(--mk-ink); text-decoration: none; }
.gp-card h3 a:hover { color: var(--mk-blue); }
.gp-card__points { list-style: none; margin: .2rem 0 1rem; padding: 0; display: grid; gap: .4rem; }
.gp-card__points li { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 500; color: var(--mk-ink); }
.gp-card__points .icon { flex: none; width: 14px; height: 14px; color: var(--mk-blue); }

/* ---- Live search --------------------------------------------------------- */
.hd-search__form { flex-direction: column; width: 420px; padding: .6rem; }
.hd-search__row { display: flex; align-items: center; gap: .5rem; }
.hd-search__row > .icon { flex: none; width: 18px; height: 18px; color: var(--mk-muted); margin-left: .3rem; }
.hd-search__results { max-height: 420px; overflow-y: auto; margin-top: .5rem; border-top: 1px solid var(--mk-line); padding-top: .4rem; }
.hd-search__results[hidden] { display: none; }
.hd-search__group { padding: .5rem .6rem .25rem; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }
.hd-search__item { display: block; padding: .5rem .6rem; border-radius: 8px; text-decoration: none; color: var(--mk-ink); }
.hd-search__item b { display: block; font-size: .9rem; font-weight: 600; }
.hd-search__item small { display: block; font-size: .78rem; color: var(--mk-muted); line-height: 1.4; }
.hd-search__item mark { background: #DDE7FF; color: var(--mk-blue); border-radius: 3px; padding: 0 .05em; }
.hd-search__item:hover, .hd-search__item.is-active { background: #F5F8FF; }
.hd-search__more { display: block; margin-top: .3rem; padding: .6rem; border-top: 1px solid var(--mk-line); font-size: .84rem; font-weight: 600; color: var(--mk-blue); text-decoration: none; }
.hd-search__empty { padding: .8rem .6rem; font-size: .86rem; color: var(--mk-muted); }
.sr-form { display: flex; align-items: center; gap: .6rem; max-width: 720px; margin: 0 auto 2rem; padding: .5rem .5rem .5rem 1rem; border: 1px solid var(--mk-line); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(15,31,61,.06); }
.sr-form > .icon { flex: none; width: 20px; height: 20px; color: var(--mk-muted); }
.sr-form input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; padding: .6rem 0; background: transparent; }
.sr-form input:focus { outline: 0; }
.sr-form .btn { border-radius: 999px; }
.sr-group { max-width: 900px; margin: 0 auto 2rem; }
.sr-list { display: grid; gap: .6rem; }
.sr-hit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 14px; text-decoration: none; color: var(--mk-ink); transition: border-color .18s ease, box-shadow .18s ease; }
.sr-hit:hover { border-color: #C6D1E2; box-shadow: 0 10px 24px rgba(15,31,61,.08); }
.sr-hit__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #EEF3FF; color: var(--mk-blue); }
.sr-hit__icon .icon { width: 19px; height: 19px; }
.sr-hit b { display: block; font-size: .98rem; }
.sr-hit small { display: block; font-size: .84rem; color: var(--mk-muted); line-height: 1.45; }
.sr-hit > .icon { width: 16px; height: 16px; color: var(--mk-blue); }

/* ---- Chat assistant ------------------------------------------------------- */
.chat { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; font-family: inherit; }
.chat__launch { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem .7rem .8rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, #2B6CF6, #1D4ED8); color: #fff; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: 0 14px 34px rgba(43,108,246,.42); transition: transform .18s ease, box-shadow .18s ease; }
.chat__launch:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(43,108,246,.5); }
.chat__launch-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); }
.chat__launch-icon .icon { width: 20px; height: 20px; }
.chat__launch-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; border: 2px solid #1D4ED8; animation: chat-pulse 2s ease-in-out infinite; }
@keyframes chat-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.chat.is-open .chat__launch { display: none; }
.chat__panel { position: fixed; right: 1.25rem; bottom: 1.25rem; width: min(400px, calc(100vw - 2.5rem)); height: min(640px, calc(100vh - 2.5rem)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(15,31,61,.35); overflow: hidden; }
.chat__panel[hidden] { display: none; }
.chat__head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: linear-gradient(160deg, #0F1F3D, #0A1428); color: #fff; }
.chat__avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); overflow: hidden; }
.chat__avatar img { width: 36px; height: 36px; border-radius: 9px; }
.chat__who { flex: 1; min-width: 0; }
.chat__who b { display: block; font-size: .98rem; }
.chat__who small { display: flex; align-items: center; gap: .35rem; font-size: .74rem; color: #A7B4C8; }
.chat__online { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.chat__close { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.chat__close .icon { width: 16px; height: 16px; }
.chat__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: #F5F8FF; }
.chat__msg { max-width: 86%; padding: .7rem .9rem; border-radius: 14px; font-size: .9rem; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.chat__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--mk-line); border-bottom-left-radius: 4px; color: var(--mk-ink); }
.chat__msg--user { align-self: flex-end; background: var(--mk-blue); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg a { color: var(--mk-blue); text-decoration: underline; word-break: break-all; }
.chat__msg--user a { color: #fff; }
.chat__msg--sys { align-self: center; background: transparent; color: var(--mk-muted); font-size: .78rem; text-align: center; padding: .2rem; }
.chat__typing { display: inline-flex; gap: .3rem; align-items: center; padding: .6rem .9rem; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #93A2B8; animation: chat-dot 1.2s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat__starters { display: flex; flex-wrap: wrap; gap: .4rem; padding: .5rem 1rem .6rem; background: #F5F8FF; }
.chat__starters[hidden] { display: none; }
.chat__starter { padding: .4rem .7rem; border: 1px solid #C6D1E2; border-radius: 999px; background: #fff; color: var(--mk-blue); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.chat__starter:hover { border-color: var(--mk-blue); background: #EEF3FF; }
.chat__lead { padding: .8rem 1rem; border-top: 1px solid var(--mk-line); background: #fff; }
.chat__lead[hidden] { display: none; }
.chat__lead-title { margin: 0 0 .6rem; font-size: .82rem; color: var(--mk-body); line-height: 1.45; }
.chat__lead-grid { display: grid; gap: .45rem; }
.chat__lead-grid input { width: 100%; padding: .6rem .75rem; border: 1px solid var(--mk-line); border-radius: 9px; font: inherit; font-size: .88rem; }
.chat__lead-grid input:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
.chat__lead-actions { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; }
.chat__lead-cancel { border: 0; background: none; color: var(--mk-muted); font: inherit; font-size: .82rem; cursor: pointer; }
.chat__lead-note { margin: .5rem 0 0; font-size: .8rem; color: var(--mk-muted); }
.chat__lead-note.is-error { color: #DC2626; } .chat__lead-note.is-ok { color: #16A34A; }
.chat__form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .8rem .5rem; border-top: 1px solid var(--mk-line); background: #fff; }
.chat__form textarea { flex: 1; min-width: 0; max-height: 120px; padding: .65rem .8rem; border: 1px solid var(--mk-line); border-radius: 12px; font: inherit; font-size: .9rem; line-height: 1.4; resize: none; }
.chat__form textarea:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
.chat__send { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--mk-blue); color: #fff; cursor: pointer; }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__send .icon { width: 18px; height: 18px; }
.chat__foot { display: flex; gap: .4rem; padding: 0 .8rem .7rem; background: #fff; }
.chat__foot-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border: 1px solid var(--mk-line); border-radius: 999px; background: #fff; color: var(--mk-muted); font: inherit; font-size: .74rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.chat__foot-btn:hover { color: var(--mk-blue); border-color: #C6D1E2; }
.chat__foot-btn .icon { width: 13px; height: 13px; }
@media (max-width: 640px) { .chat__launch-label { display: none; } .chat__launch { padding: .5rem; } .chat__panel { right: .6rem; bottom: .6rem; left: .6rem; width: auto; height: min(78vh, 640px); } }
@media print { .chat { display: none; } }

.chat__avatar--person { position: relative; background: linear-gradient(135deg, #2B6CF6, #22D3EE); color: #fff; font-weight: 700; font-size: 1.05rem; border-radius: 50%; overflow: visible; }
.chat__avatar--person .chat__online { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border: 2px solid #0F1F3D; }
.chat__online.is-away { background: #F59E0B; }
.chat__who-org { font-weight: 500; color: #A7B4C8; font-size: .82rem; }

.chat__row { display: flex; flex-direction: column; max-width: 86%; }
.chat__row--user { align-self: flex-end; align-items: flex-end; }
.chat__row--bot { align-self: flex-start; align-items: flex-start; }
.chat__row--sys { align-self: center; max-width: 100%; }
.chat__row .chat__msg { max-width: 100%; }
.chat__meta { display: inline-flex; align-items: center; gap: .3rem; margin: .2rem .3rem 0; font-size: .68rem; color: #93A2B8; }
.chat__meta--typing { font-style: italic; }
.chat__ticks { display: inline-grid; place-items: center; color: #A7B4C8; }
.chat__ticks svg { height: 11px; width: auto; }
.chat__ticks[data-ticks="read"] { color: #2B6CF6; }

.chat__avatar--brand { position: relative; background: rgba(255,255,255,.08); border-radius: 12px; overflow: visible; }
.chat__avatar--brand img { width: 34px; height: 34px; border-radius: 9px; }
.chat__avatar--brand .chat__online { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 2px solid #0F1F3D; }
.chat__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat__body[hidden] { display: none; }
.chat__intro { display: grid; gap: .55rem; padding: 1.4rem 1.2rem; background: #F5F8FF; flex: 1; align-content: start; }
.chat__intro[hidden] { display: none; }
.chat__intro-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--mk-ink); }
.chat__intro-text { margin: 0 0 .5rem; font-size: .88rem; color: var(--mk-muted); line-height: 1.5; }
.chat__intro input { width: 100%; padding: .75rem .85rem; border: 1px solid var(--mk-line); border-radius: 10px; background: #fff; font: inherit; font-size: .92rem; }
.chat__intro input:focus { outline: 0; border-color: var(--mk-blue); box-shadow: 0 0 0 3px rgba(43,108,246,.15); }
.chat__intro .btn { justify-content: center; margin-top: .3rem; }
.chat__intro-note { display: flex; align-items: center; gap: .4rem; margin: .4rem 0 0; font-size: .74rem; color: var(--mk-muted); line-height: 1.4; }
.chat__intro-note .icon { flex: none; width: 13px; height: 13px; }
.chat__intro-note.is-error { color: #DC2626; }
.chat__meta b { color: #64748B; font-weight: 600; }
.chat__msg--sys { background: #E8EEFB; color: #475569; border-radius: 999px; padding: .3rem .75rem; font-size: .74rem; }

.chat__teaser { position: absolute; right: 0; bottom: calc(100% + .8rem); width: 300px; padding: 1rem 2.2rem 1rem 1rem; background: #fff; border: 1px solid var(--mk-line); border-radius: 16px 16px 4px 16px; box-shadow: 0 20px 50px rgba(15,31,61,.2); animation: chat-teaser .35s ease; }
.chat__teaser[hidden] { display: none; }
.chat__teaser p { margin: 0 0 .6rem; font-size: .88rem; line-height: 1.5; color: var(--mk-ink); }
.chat__teaser-btn { padding: .4rem .8rem; border: 0; border-radius: 999px; background: var(--mk-blue); color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.chat__teaser-close { position: absolute; right: .5rem; top: .5rem; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #F5F8FF; color: var(--mk-muted); cursor: pointer; }
.chat__teaser-close .icon { width: 12px; height: 12px; }
@keyframes chat-teaser { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- Responsive corrections (2026-09-07 audit) ---------------------------------
   The later "touch-up" grid rules re-applied two hero columns on phones, which
   squeezed the copy into a 150px column and clipped the buttons. These win by
   being last. */
@media (max-width: 960px) {
    .hv2-hero__inner, .hv2-hero--service .hv2-hero__inner, .pj-hero .hv2-hero__inner, .ab-hero .hv2-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .pf-bar { flex-wrap: wrap; }
}
@media (max-width: 720px) {
    .hv2-hero__actions .btn, .hv2-hero__actions .hv2-ghost { white-space: normal; text-align: center; }
    .eyebrow { letter-spacing: .06em; }
}
.megamenu__all { white-space: normal; text-align: center; line-height: 1.3; }

/* Chat on phones: a full-height sheet that sits above the sticky bar and is
   sized to the visual viewport, so the keyboard never covers the input. */
.chat { z-index: 96; }
.chat.is-open { z-index: calc(var(--z-header, 100) + 10); }
body.chat-open .sticky-cta { display: none; }
@media (max-width: 860px) { body.cta-shown .chat:not(.is-open) { bottom: calc(1.25rem + 78px); } }
@media (max-width: 640px) {
    .chat__panel { top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
    body.chat-open { overflow: hidden; }
    .chat__form { padding-bottom: max(.5rem, env(safe-area-inset-bottom)); }
}

/* --- Admin: repeater fields and content blocks ------------------------------- */
.field--wide { grid-column: 1 / -1; }
.repeater { display: grid; gap: .6rem; }
.repeater__row { position: relative; padding: .9rem 1rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-tint, #F7F9FC); }
.repeater__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem .8rem; }
.repeater__field { display: grid; gap: .3rem; min-width: 0; }
.repeater__field > label { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.repeater__field--textarea, .repeater__field--lines, .repeater__field--wide { grid-column: 1 / -1; }
.repeater__tools { display: flex; gap: .4rem; justify-content: flex-end; margin-top: .6rem; }
.repeater__remove { color: var(--danger); }
.repeater__add { justify-self: start; }
.content-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.content-block { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.content-block h2 { margin: 0; font-size: var(--fs-h5, 1.05rem); }
.content-block p { margin: 0; font-size: var(--fs-sm); color: var(--muted); flex: 1; }
.content-block__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; }

/* Packages: the four quoting tiles sit two by two rather than three plus one. */
#how-we-quote .svc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { #how-we-quote .svc-tiles { grid-template-columns: minmax(0, 1fr); } }

/* --- Reviews that keep scrolling ------------------------------------------- */
.qm { overflow: hidden; padding: .25rem 0 .5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.qm__track { display: flex; gap: 1rem; width: max-content; animation: qm-left var(--qm-speed, 60s) linear infinite; will-change: transform; }
.qm--right .qm__track { animation-name: qm-right; }
.qm:hover .qm__track, .qm:focus-within .qm__track { animation-play-state: paused; }
.qm__item { flex: 0 0 340px; max-width: 86vw; display: flex; }
.qm__item .hv2-quote { width: 100%; }
.qm__item .hv2-quote blockquote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.qm-stack { display: grid; gap: 1rem; }
@keyframes qm-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes qm-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
    .qm { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .qm__track { animation: none; }
    .qm__item[aria-hidden="true"] { display: none; }
}
