/* AOBLE – main stylesheet (header, footer, home, base) */
/* Metrics-matched fallbacks: same space as web fonts so no layout shift on load */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial');
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
    size-adjust: 107.64%;
}
@font-face {
    font-family: 'Space Grotesk Fallback';
    src: local('Arial');
    ascent-override: 92%;
    descent-override: 24%;
    line-gap-override: 0%;
    size-adjust: 105.5%;
}
:root {
    --primary: #7B2CBF;
    --accent: #5A67D8;
    --text: #111827;
    --text-gray: #6B7280;
    --border: #E5E7EB;
    --bg: #F9FAFB;
    --font-sans: 'Inter', 'Inter Fallback', sans-serif;
    --font-heading: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
    /* Shared “minimal premium” surfaces (blog, portfolio, about, business, CMS). Public business URLs: /business (BEM .business-* list, .business-single-* detail; legacy /services → 301). */
    --page-hero-gradient: radial-gradient(1200px 360px at 15% -20%, rgba(255,255,255,0.18), transparent 55%), linear-gradient(135deg, #1E1B4B 0%, #5B21B6 58%, #7C3AED 100%);
    --page-hero-border: 1px solid rgba(255,255,255,0.12);
    --page-shell-bg: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 42%);
    --page-card-border: 1px solid rgba(148,163,184,0.24);
    --page-card-shadow: 0 10px 24px rgba(15,23,42,0.06);
    --page-card-shadow-lg: 0 14px 30px rgba(15,23,42,0.08);
    --page-radius-lg: 18px;
    --primary-light: #9D4EDD;
    --dark: #1A1D2E;
    --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

html { overflow-x: hidden; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: left 0.2s ease;
}
.skip-link:focus,
.skip-link.skip-link--focused {
    left: 0;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Consistent page canvas for editorial / listing templates */
body.page-shell { background: var(--page-shell-bg); }

/* Header */
.site-header { background: #FFF; border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.site-header__logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.site-header__logo img { display: block; height: 54px; width: auto; max-width: 290px; }
.site-header__nav { display: flex; align-items: center; gap: 32px; }
.site-header__link { color: #1F2937; font-weight: 500; font-size: 15px; text-decoration: none; }
.site-header__link:hover { text-decoration: underline; }
.site-header__cta { padding: 12px 24px; border-radius: 8px; background: var(--primary); color: #FFF; font-weight: 500; font-size: 15px; text-decoration: none; }
.site-header__cta:hover { opacity: 0.95; text-decoration: none; color: #FFF; }
.site-header__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.site-header__hamburger { display: block; width: 24px; height: 2px; background: #111; box-shadow: 0 7px 0 #111, 0 -7px 0 #111; }
@media (max-width: 767px) {
    .site-header__nav { display: none; }
    .site-header__toggle { display: block; min-width: 44px; min-height: 44px; padding: 10px; }
    .site-header { padding: 12px 0; }
    .site-header__logo img { height: 46px; max-width: 240px; }
}
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; padding: 24px; }
.nav-overlay.is-open { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nav-overlay__nav { display: flex; flex-direction: column; gap: 24px; text-align: center; background: #FFF; padding: 32px 24px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); max-width: 320px; width: 100%; }
.nav-overlay__close { position: absolute; top: 24px; right: 24px; background: none; border: none; cursor: pointer; color: #FFF; padding: 12px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; z-index: 201; }
.nav-overlay__link { color: #1F2937; font-size: 18px; text-decoration: none; padding: 12px 20px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.nav-overlay__link:hover { text-decoration: underline; color: var(--primary); }
.nav-overlay__cta { display: inline-block; margin-top: 16px; padding: 14px 28px; min-height: 48px; line-height: 20px; border-radius: 8px; background: var(--primary); color: #FFF; text-decoration: none; font-weight: 500; }
.nav-overlay__cta:hover { opacity: 0.95; color: #FFF; }
@media (max-width: 767px) {
    .nav-overlay { padding: 16px; }
    .nav-overlay__close { top: 16px; right: 16px; min-width: 44px; min-height: 44px; }
    .nav-overlay__nav { padding: 24px 20px; gap: 20px; max-width: 280px; margin: 0 auto; }
    .nav-overlay__link { font-size: 17px; padding: 10px 16px; min-height: 44px; }
    .nav-overlay__cta { margin-top: 12px; padding: 12px 24px; min-height: 48px; font-size: 15px; }
}

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(123, 44, 191, 0.4); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s; }
.back-to-top:hover { opacity: 1; background: linear-gradient(135deg, var(--accent), var(--primary)); }
.back-to-top:focus { outline: none; }
.back-to-top:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 767px) { .back-to-top { bottom: 20px; right: 16px; width: 44px; height: 44px; } .back-to-top svg { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* Main + container responsive */
#main { min-height: 50vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* Footer */
.site-footer { background: linear-gradient(180deg, #15182a 0%, #0f1118 100%); color: #9CA3AF; padding: 72px 0 0; margin-top: 80px; border-top: 1px solid rgba(123, 44, 191, 0.2); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr); gap: 48px 64px; padding-bottom: 48px; border-bottom: 1px solid rgba(55, 65, 81, 0.6); }
.site-footer__intro { max-width: 380px; }
.site-footer__brand { display: inline-flex; margin-bottom: 18px; text-decoration: none; line-height: 1; }
.site-footer__brand img { display: block; height: 38px; width: auto; max-width: 190px; }
.site-footer__tagline { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #CBD5E1; }
.site-footer__cta { display: inline-block; font-size: 14px; font-weight: 600; color: #E9D5FF; text-decoration: none; border-bottom: 1px solid rgba(233, 213, 255, 0.35); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.site-footer__cta:hover { color: #FFF; border-bottom-color: #FFF; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.site-footer__cols h4 { color: #FFF; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer__cols a { color: #9CA3AF; font-size: 14px; line-height: 1.9; text-decoration: none; }
.site-footer__cols a:hover { color: #FFF; }
.site-footer__muted { font-size: 13px; line-height: 1.6; color: #6B7280; }
.site-footer__loc { margin: 10px 0 0; font-size: 13px; color: #6B7280; }
.site-footer__middle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0 28px; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__badge { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: rgba(226, 232, 240, 0.85); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(148, 163, 184, 0.2); }
.site-footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.site-footer__social-label { color: #6B7280; margin-right: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__social a { color: #CBD5E1; text-decoration: none; }
.site-footer__social a:hover { color: #FFF; }
.site-footer__dot { color: #4B5563; padding: 0 4px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 0; padding: 22px 0 32px; border-top: 1px solid rgba(55, 65, 81, 0.5); font-size: 13px; color: #6B7280; }
.site-footer__legal a { color: #9CA3AF; text-decoration: none; }
.site-footer__legal a:hover { color: #E5E7EB; }
body.home .site-footer { margin-top: 0; }
body.contact .site-footer { margin-top: 0; }
@media (max-width: 1023px) {
    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .site-footer { padding: 48px 0 0; margin-top: 48px; }
    .site-footer__cols { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ========== Home page ========== */
body.home .home-section { padding: 72px 0; }
/* Home scroll reveals: GSAP in main.js (homeFrom = same pattern as About workflow: once, immediateRender, clearProps). Parallax on .hero-visual__inner; tilt on .hero-visual — no transform fight. */
body.home .home-section h2 { font-size: 34px; font-weight: 700; margin: 0 0 28px; color: var(--text); text-align: center; letter-spacing: -0.02em; }
@media (max-width: 767px) { body.home .home-section { padding: 32px 0; } body.home .home-section h2 { font-size: 24px; margin-bottom: 20px; } }
@media (max-width: 480px) { body.home .home-section h2 { font-size: 22px; } }

/* Hero */
body.home .home-hero { padding: 46px 0 70px; }
body.home .home-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
body.home .home-hero h1 { font-family: var(--font-heading); font-size: clamp(52px, 7.2vw, 82px); font-weight: 700; line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 18px; color: #0B1220; }
body.home .home-hero p { font-family: var(--font-sans); font-size: 19px; color: #475569; margin: 0 0 28px; line-height: 1.6; max-width: 52ch; }
body.home .home-hero a { display: inline-block; padding: 12px 24px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; font-weight: 500; font-size: 15px; text-decoration: none; }
body.home .home-hero a:hover { opacity: 0.95; text-decoration: none; color: #FFF; }
body.home .hero-visual { position: relative; isolation: isolate; perspective: 1000px; transform-style: preserve-3d; }
body.home .hero-visual img { max-width: 100%; height: auto; border-radius: 0; position: relative; z-index: 2; box-shadow: none; border: none; }
body.home .hero-visual__mesh { position: absolute; inset: -8% -6% -6% -6%; z-index: 1; filter: blur(20px); pointer-events: none; }
body.home .hero-visual__orb { position: absolute; display: block; border-radius: 999px; mix-blend-mode: multiply; opacity: 0.28; }
body.home .hero-visual__orb--one { width: 54%; height: 54%; left: -2%; top: 8%; background: radial-gradient(circle at 30% 30%, rgba(157,78,221,0.35), rgba(123,44,191,0.02) 70%); animation: heroOrbFloatA 12s ease-in-out infinite; }
body.home .hero-visual__orb--two { width: 48%; height: 48%; right: -2%; top: 22%; background: radial-gradient(circle at 45% 40%, rgba(90,103,216,0.3), rgba(90,103,216,0.02) 72%); animation: heroOrbFloatB 13s ease-in-out infinite; }
body.home .hero-visual__orb--three { width: 44%; height: 44%; left: 30%; bottom: -6%; background: radial-gradient(circle at 50% 35%, rgba(125,211,252,0.24), rgba(59,130,246,0.01) 74%); animation: heroOrbFloatC 14s ease-in-out infinite; }
body.home .home-lottie { width: min(220px, 45vw); height: min(220px, 45vw); margin: 16px auto 0; pointer-events: none; }
body.home .home-signature { padding: 26px 0 30px; }
body.home .home-signature .container { max-width: 980px; text-align: center; }
body.home .home-signature__eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #7C3AED; font-weight: 700; }
body.home .home-signature__text { margin: 0 auto; font-size: clamp(28px, 4vw, 44px); line-height: 1.22; letter-spacing: -0.025em; color: #0F172A; font-family: var(--font-heading); max-width: 950px; }
body.home .home-trust { padding-top: 18px; padding-bottom: 30px; border-top: 1px solid rgba(226,232,240,0.65); }
body.home .home-trust__label { text-align: center; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #64748B; margin: 0 0 14px; }
body.home .home-trust__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
body.home .home-trust__logos span { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: #475569; background: transparent; border: none; border-radius: 0; padding: 8px 4px; }
body.home .home-trust__logos span strong { display: block; font-size: 22px; line-height: 1.1; color: #0F172A; font-family: var(--font-heading); margin-bottom: 4px; letter-spacing: -0.01em; }
body.home .home-differentiators {
    background: linear-gradient(165deg, #F3EEFF 0%, #FAF8FF 42%, #FFFFFF 100%);
    border-top: 1px solid rgba(167, 139, 250, 0.28);
    border-bottom: none;
    padding-top: 56px;
    padding-bottom: 56px;
}
body.home .home-differentiators__kicker {
    text-align: center;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7C3AED;
}
body.home .home-differentiators > .container > h2 { margin: 0 0 14px; }
body.home .home-differentiators__intro { max-width: 760px; margin: 0 auto 36px; text-align: center; color: #64748B; font-size: 17px; }
body.home .home-differentiators__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
body.home .home-differentiators__card {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 12px;
    padding: 20px 16px 18px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
body.home .home-differentiators__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.95;
}
body.home .home-differentiators__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(124, 58, 237, 0.35);
    background: rgba(255, 255, 255, 0.95);
    color: #5B21B6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
body.home .home-differentiators__card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.02em; color: #0F172A; }
body.home .home-differentiators__card p { margin: 0; font-size: 14px; color: #64748B; line-height: 1.6; }
body.home .home-differentiators__card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.32);
    box-shadow: 0 18px 40px -24px rgba(91, 33, 182, 0.35);
}

/* Selected work */
body.home .home-selected-work { background: #FFFFFF; border-top: 1px solid rgba(226,232,240,0.72); }
body.home .home-selected-work__head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
body.home .home-selected-work__kicker { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: #7C3AED; font-weight: 700; }
body.home .home-selected-work__head p { margin: 0; color: #64748B; font-size: 17px; line-height: 1.6; }
body.home .home-selected-work__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: stretch; }
body.home .home-selected-work__card { border: var(--page-card-border); border-radius: 16px; overflow: hidden; background: #FFF; box-shadow: var(--page-card-shadow); display: flex; flex-direction: column; }
body.home .home-selected-work__card.is-primary { box-shadow: var(--page-card-shadow-lg); }
body.home .home-selected-work__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #E5E7EB; }
body.home .home-selected-work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
body.home .home-selected-work__card:hover .home-selected-work__media img { transform: scale(1.02); }
body.home .home-selected-work__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #E2E8F0, #F8FAFC); }
body.home .home-selected-work__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
body.home .home-selected-work__body h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.2em);
}
body.home .home-selected-work__body p {
    margin: 0;
    color: #64748B;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(3 * 1.6em);
}
body.home .home-selected-work__stats { margin: 2px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.home .home-selected-work__stats li { border: var(--page-card-border); border-radius: 10px; padding: 9px 8px; background: rgba(248,250,252,0.9); text-align: center; }
body.home .home-selected-work__stats strong { display: block; font-family: var(--font-heading); font-size: 20px; line-height: 1.05; color: #0F172A; }
body.home .home-selected-work__stats span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #64748B; }
body.home .home-selected-work__actions { margin-top: auto; display: flex; align-items: center; gap: 12px; }
body.home .home-selected-work__btn { display: inline-block; padding: 11px 16px; border-radius: 8px; background: #111827; color: #FFF; text-decoration: none; font-size: 14px; font-weight: 600; }
body.home .home-selected-work__btn:hover { opacity: 0.94; color: #FFF; text-decoration: none; }
body.home .home-selected-work__link { font-size: 14px; font-weight: 600; color: #7C3AED; text-decoration: none; }
body.home .home-selected-work__link:hover { text-decoration: underline; }
body.home .home-selected-work__foot { margin-top: 28px; text-align: center; }
body.home .home-selected-work__foot a { font-size: 15px; font-weight: 600; color: #5B21B6; text-decoration: none; }
body.home .home-selected-work__foot a:hover { text-decoration: underline; }
/* Parallax runs on .hero-visual__inner; tilt runs on .hero-visual — split avoids GSAP vs inline transform fight */
body.home .hero-visual__inner { position: relative; z-index: 1; will-change: transform; }
body.home .home-business__row,
body.home .home-process__card { will-change: transform, opacity; }
body.home .home-hero a { transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; }
body.home .home-hero a:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(90, 103, 216, 0.18); }
@media (max-width: 767px) {
    body.home .home-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    body.home .home-hero { padding: 24px 0 32px; }
    body.home .home-hero h1 { font-size: 36px; }
    body.home .home-hero p { font-size: 16px; }
    body.home .hero-visual { order: -1; }
}

/* Home: “What we deliver” — dark catalog rail (not a 4-card grid; full-width rows) */
body.home .home-business-highlights {
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 42%, #312e81 100%);
    color: #e2e8f0;
    border-top: 1px solid rgba(99, 102, 241, 0.35);
    padding: 56px 0 60px;
}
body.home .home-business-highlights__inner {
    max-width: 880px;
    margin: 0 auto;
}
body.home .home-business-highlights__head {
    text-align: center;
    margin-bottom: 28px;
}
body.home .home-business-highlights__kicker {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a5b4fc;
}
body.home .home-business-highlights__head h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f8fafc;
    font-family: var(--font-heading);
}
body.home .home-business-highlights__intro {
    margin: 0 auto;
    max-width: 52ch;
    font-size: 17px;
    line-height: 1.65;
    color: #cbd5e1;
}
body.home .home-business__catalog {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body.home .home-business__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px 22px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
body.home .home-business__row:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(165, 180, 252, 0.45);
    transform: translateX(4px);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.45);
}
body.home .home-business__row:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 3px;
}
body.home .home-business__row-glyph {
    flex-shrink: 0;
}
body.home .home-business__row .home-business__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.4);
}
body.home .home-business__icon--svg {
    background: rgba(255, 255, 255, 0.06);
}
body.home .home-business__svg {
    display: block;
    color: #e9d5ff;
    opacity: 0.92;
}
body.home .home-business__row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
body.home .home-business__row-title {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.2vw, 21px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f1f5f9;
}
body.home .home-business__row-teaser {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    color: #94a3b8;
}
body.home .home-business__row-cta {
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
body.home .home-business__row:hover .home-business__row-cta {
    opacity: 1;
    transform: translateX(3px);
}
body.home .home-business__row-arrow {
    font-size: 22px;
    font-weight: 300;
    color: #c4b5fd;
    line-height: 1;
}
body.home .home-business__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
body.home .home-business-highlights__foot {
    margin-top: 32px;
    text-align: center;
}
body.home .home-business-highlights__foot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1e1b4b;
    background: #f8fafc;
    border: 1px solid rgba(248, 250, 252, 0.95);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
body.home .home-business-highlights__foot-btn:hover {
    background: #e0e7ff;
    color: #312e81;
    transform: translateY(-2px);
}
body.home .home-business-highlights__empty {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    margin: 0 auto 20px;
    max-width: 42ch;
}

@media (max-width: 639px) {
    body.home .home-business__row {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        padding: 16px 16px;
    }
    body.home .home-business__row-glyph {
        grid-row: 1 / span 2;
    }
    body.home .home-business__row-cta {
        grid-column: 2;
        justify-self: end;
        align-self: end;
    }
}

/* Business focus */
body.home .home-focus { background: linear-gradient(180deg, rgba(248,250,252,0.8) 0%, #FFFFFF 40%); position: relative; overflow: hidden; border-top: 1px solid rgba(226,232,240,0.85); }
body.home .home-focus__intro { max-width: 760px; margin: 0 auto 30px; text-align: center; color: var(--text-gray); font-size: 17px; }
body.home .home-focus__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; }
body.home .home-focus__card { background: transparent; border: 0; border-top: 1px solid rgba(148,163,184,0.35); border-radius: 0; padding: 18px 6px 6px; transition: border-color 0.2s ease, transform 0.2s ease; box-shadow: none; position: relative; }
body.home .home-focus__card::before { content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px; background: linear-gradient(125deg, rgba(123,44,191,0.35), rgba(90,103,216,0.0) 50%, rgba(90,103,216,0.35)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; }
body.home .home-focus__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #6B7280; margin-bottom: 10px; }
body.home .home-focus__kicker::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
body.home .home-focus__card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.3; }
body.home .home-focus__card p { margin: 0; font-size: 14px; color: var(--text-gray); line-height: 1.55; }
body.home .home-focus__link { margin-top: 14px; display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); }
body.home .home-focus__card:hover { transform: translateY(-2px); border-color: rgba(123,44,191,0.55); box-shadow: none; }
body.home .home-focus__card:hover::before { opacity: 0; }
body.home .home-focus__more { margin: 26px 0 0; text-align: center; }
body.home .home-focus__btn { display: inline-block; padding: 12px 24px; border-radius: 8px; background: #111827; color: #FFF; font-size: 14px; font-weight: 500; text-decoration: none; }
body.home .home-focus__btn:hover { opacity: 0.94; color: #FFF; text-decoration: none; }
@media (max-width: 1023px) { body.home .home-focus__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { body.home .home-focus__grid { grid-template-columns: 1fr; } }

/* Featured case */
body.home .home-featured-case { background: #0F172A; color: #E2E8F0; border-top: 1px solid rgba(148,163,184,0.2); border-bottom: 1px solid rgba(148,163,184,0.22); position: relative; overflow: hidden; }
body.home .home-featured-case::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(15,23,42,0) 100%); pointer-events: none; }
body.home .home-featured-case::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(255,255,255,0.34) 100%); pointer-events: none; }
body.home .home-featured-case h2 { color: #FFF; text-align: left; max-width: 720px; margin-bottom: 14px; }
body.home .home-featured-case__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 34px; align-items: center; }
body.home .home-featured-case__kicker { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #A78BFA; }
body.home .home-featured-case__content p { margin: 0 0 16px; color: #CBD5E1; line-height: 1.65; font-size: 16px; }
body.home .home-featured-case__stats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
body.home .home-featured-case__stats li { background: rgba(30,41,59,0.8); border: 1px solid rgba(148,163,184,0.25); border-radius: 12px; padding: 12px 10px; }
body.home .home-featured-case__stats strong { display: block; font-size: 24px; color: #F8FAFC; margin-bottom: 3px; font-family: var(--font-heading); }
body.home .home-featured-case__stats span { font-size: 12px; color: #94A3B8; }
body.home .home-featured-case__btn { display: inline-block; padding: 12px 24px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; text-decoration: none; font-weight: 600; }
body.home .home-featured-case__visual { position: relative; min-height: 280px; border-radius: 18px; background: radial-gradient(circle at 30% 20%, rgba(123,44,191,0.45), rgba(15,23,42,0.2) 45%, rgba(15,23,42,0.95) 100%); border: 1px solid rgba(148,163,184,0.2); overflow: hidden; }
body.home .home-featured-case__glow { position: absolute; inset: 16% 20% auto; height: 120px; filter: blur(34px); border-radius: 999px; background: linear-gradient(90deg, rgba(167,139,250,0.6), rgba(96,165,250,0.5)); }
body.home .home-featured-case__panel { position: absolute; border-radius: 14px; border: 1px solid rgba(148,163,184,0.32); background: rgba(30,41,59,0.68); box-shadow: 0 10px 24px rgba(2,6,23,0.35); }
body.home .home-featured-case__panel--one { width: 76%; height: 46%; left: 12%; top: 20%; transform: rotate(-4deg); }
body.home .home-featured-case__panel--two { width: 70%; height: 42%; left: 16%; bottom: 12%; transform: rotate(3deg); }

/* How We Work */
body.home .home-process__intro { text-align: center; margin-bottom: 44px; color: var(--text-gray); max-width: 660px; margin-left: auto; margin-right: auto; font-size: 17px; }
body.home .home-process__flowchart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; position: relative; }
body.home .home-process__steps { display: contents; }
body.home .home-process__lines { position: absolute; left: 0; right: 0; top: 0; height: 55px; z-index: 0; pointer-events: none; }
body.home .home-process__line-track { position: absolute; left: 12.5%; width: 75%; top: 26px; height: 4px; background: #E5E7EB; border-radius: 2px; overflow: hidden; }
body.home .home-process__line-fill { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; transform-origin: left center; transform: scaleX(0); }
body.home .home-process__step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
body.home .home-process__node { width: 52px; height: 52px; border-radius: 50%; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; transition: background 0.45s, color 0.4s, box-shadow 0.45s; }
body.home .home-process__node:not(.home-process__node--filled) { background: #E5E7EB !important; color: var(--text-gray) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; }
body.home .home-process__node--filled { background: linear-gradient(135deg, var(--primary), var(--accent)) !important; color: #FFF !important; box-shadow: 0 4px 14px rgba(123, 44, 191, 0.35) !important; }
body.home .home-process__card { background: #FFF; border: var(--page-card-border); border-radius: 16px; padding: 40px 32px; flex: 1; min-height: 200px; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease; box-shadow: var(--page-card-shadow); }
body.home .home-process__card:hover { transform: translateY(-4px); box-shadow: var(--page-card-shadow-lg); border-color: rgba(123, 44, 191, 0.26); }
body.home .home-process__label { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: #374151; }
body.home .home-process__desc { font-size: 15px; color: var(--text-gray); margin: 0; line-height: 1.5; }
@media (max-width: 1023px) and (min-width: 640px) {
    body.home .home-process__flowchart { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
    body.home .home-process__lines { display: none; }
}
@media (max-width: 639px) {
    body.home .home-process__flowchart { grid-template-columns: 1fr; }
    body.home .home-process__lines { display: none; }
    body.home .home-process__card { min-height: auto; padding: 20px 16px; }
    body.home .home-process__intro { margin-bottom: 28px; padding: 0 8px; }
}

/* Metrics strip */
body.home .home-metrics { background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%); color: #334155; padding: 34px 0; border-top: 1px solid rgba(226,232,240,0.8); }
body.home .home-metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
body.home .home-metrics__item { text-align: center; padding: 12px 8px; border: none; border-right: 1px solid rgba(148,163,184,0.32); border-radius: 0; background: transparent; }
body.home .home-metrics__item:last-child { border-right: 0; }
body.home .home-metrics__item strong { display: block; font-size: 34px; line-height: 1.05; color: #0F172A; margin-bottom: 8px; font-family: var(--font-heading); }
body.home .home-metrics__item span { font-size: 13px; color: #64748B; }
@media (max-width: 1023px) { body.home .home-metrics__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { body.home .home-metrics__grid { grid-template-columns: 1fr; } }

/* Engagement */
body.home .home-engagement { background: #FFFFFF; border-top: 1px solid rgba(226,232,240,0.82); }
body.home .home-engagement__intro { margin: 0 auto 26px; text-align: center; max-width: 620px; color: var(--text-gray); }
body.home .home-engagement__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.home .home-engagement__card { background: transparent; border: 0; border-bottom: 1px solid rgba(148,163,184,0.35); border-radius: 0; padding: 10px 0 16px; box-shadow: none; transition: transform 0.2s ease, border-color 0.2s ease; }
body.home .home-engagement__tag { display: inline-block; margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); background: rgba(123,44,191,0.10); border: 1px solid rgba(123,44,191,0.22); padding: 5px 9px; border-radius: 999px; }
body.home .home-engagement__card h3 { margin: 0 0 10px; font-size: 19px; }
body.home .home-engagement__card p { margin: 0; color: var(--text-gray); font-size: 14px; line-height: 1.6; }
body.home .home-engagement__list { margin: 14px 0 0; padding: 0; list-style: none; }
body.home .home-engagement__list li { font-size: 13px; color: #475569; position: relative; padding-left: 14px; margin-bottom: 7px; }
body.home .home-engagement__list li::before { content: ''; width: 6px; height: 6px; border-radius: 999px; position: absolute; left: 0; top: 7px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
body.home .home-engagement__card:hover { transform: translateX(2px); border-color: rgba(123,44,191,0.45); box-shadow: none; }
@media (max-width: 1023px) { body.home .home-engagement__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    body.home .home-focus__card,
    body.home .home-engagement__card,
    body.home .home-hero a,
    body.home .hero-visual__orb { transition: none !important; animation: none !important; transform: none !important; }
}

@keyframes heroOrbFloatA {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(8px, -10px, 0) scale(1.04); }
}
@keyframes heroOrbFloatB {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-10px, 12px, 0) scale(1.03); }
}
@keyframes heroOrbFloatC {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(12px, -8px, 0) scale(1.05); }
}

/* CTA */
body.home .home-cta { background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); color: var(--text); text-align: center; padding: 78px 24px 86px; border-top: none; }
body.home .home-cta h2 { color: var(--text); margin-bottom: 12px; font-size: clamp(32px, 4.3vw, 52px); letter-spacing: -0.03em; }
body.home .home-cta p { font-size: 20px; color: #475569; margin: 0 0 28px; }
@media (max-width: 639px) {
    body.home .home-cta { padding: 40px 16px; }
    body.home .home-cta h2 { font-size: 24px; }
    body.home .home-cta p { font-size: 16px; margin-bottom: 20px; }
    body.home .home-cta__btn { padding: 12px 24px; font-size: 14px; min-height: 48px; }
}
body.home .home-cta__btn { display: inline-block; padding: 15px 32px; border-radius: 10px; background: var(--primary); color: #FFF; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 10px 24px rgba(123,44,191,0.24); }
body.home .home-cta__btn:hover { opacity: 0.95; text-decoration: none; color: #FFF; }

/* Proof */
body.home .home-proof { background: #FFF; border-top: 1px solid rgba(226,232,240,0.75); }
body.home .home-proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
body.home .home-proof__quote { background: transparent; border: none; border-left: 3px solid rgba(123,44,191,0.4); border-radius: 0; padding: 2px 0 2px 14px; }
body.home .home-proof__quote p { margin: 0 0 10px; color: #334155; line-height: 1.65; font-size: 16px; }
body.home .home-proof__quote span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #7C3AED; font-weight: 700; }
body.home .home-proof__faq { display: grid; gap: 10px; }
body.home .home-proof__faq details { border: 0; border-bottom: 1px solid rgba(148,163,184,0.34); border-radius: 0; background: transparent; padding: 0; }
body.home .home-proof__faq summary { cursor: pointer; font-weight: 600; color: #0F172A; padding: 14px 0; list-style: none; }
body.home .home-proof__faq summary::-webkit-details-marker { display: none; }
body.home .home-proof__faq p { margin: 0 0 14px; color: #64748B; font-size: 14px; line-height: 1.55; }

/* Tech strip */
body.home .home-tech-strip { background: #F8FAFC; padding: 24px 0; overflow: hidden; border-top: 1px solid rgba(226,232,240,0.8); }
body.home .home-tech-strip__track { display: flex; width: max-content; }
body.home .home-tech-strip__icons { display: flex; align-items: center; gap: 48px; padding: 0 32px; flex-shrink: 0; }
body.home .home-tech-strip__icons svg { width: 24px; height: 24px; color: #64748B; flex-shrink: 0; }
@media (max-width: 639px) {
    body.home .home-tech-strip { padding: 24px 0; }
    body.home .home-tech-strip__icons { gap: 32px; padding: 0 20px; }
    body.home .home-tech-strip__icons svg { width: 24px; height: 24px; }
}

/* ========== About page ========== */
.about-hero { min-height: min(60vh, 500px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 70px 24px 56px; background: var(--page-hero-gradient); color: #FFF; border-bottom: var(--page-hero-border); }
.about-hero h1 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 48px); font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
.about-hero .subtitle { font-size: 18px; opacity: 0.9; margin: 0 0 24px; }
.about-hero .btn-outline { display: inline-block; padding: 12px 24px; border-radius: 8px; border: 2px solid #FFF; color: #FFF; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s; }
.about-hero .btn-outline:hover { background: #FFF; color: #1A1D2E; text-decoration: none; }
.about-intro { padding: 64px 0; background: transparent; }
.about-intro .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro h2 { font-size: 28px; margin: 0 0 20px; }
.about-intro .body { font-size: 16px; color: var(--text-gray); line-height: 1.7; margin: 0 0 24px; }
.about-intro .btn-primary { display: inline-block; padding: 12px 24px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; font-weight: 500; text-decoration: none; }
.about-intro .img-wrap { border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); overflow: hidden; aspect-ratio: 600/400; max-width: 600px; background: #E5E7EB; }
.about-intro .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-metrics { padding: 24px 0 12px; background: transparent; }
.about-metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-metrics__item { background: transparent; border: 0; border-right: 1px solid rgba(148,163,184,0.32); border-radius: 0; padding: 12px 10px; text-align: center; }
.about-metrics__item:last-child { border-right: 0; }
.about-metrics__item strong { display: block; font-family: var(--font-heading); font-size: 30px; line-height: 1.1; margin-bottom: 6px; color: #111827; }
.about-metrics__item span { font-size: 13px; color: #64748B; }
.about-values { padding: 64px 0; background: var(--bg); }
.about-values__label { text-align: center; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7C3AED; }
.about-values h2 { text-align: center; margin-bottom: 12px; font-size: 32px; letter-spacing: -0.02em; }
.about-values__intro { text-align: center; max-width: 760px; margin: 0 auto 30px; color: #64748B; line-height: 1.6; }
.about-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto; }
.about-values__item { background: #FFF; border: var(--page-card-border); border-radius: 14px; padding: 20px 18px; box-shadow: var(--page-card-shadow); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.about-values__item:hover { transform: translateY(-2px); border-color: rgba(123,44,191,0.35); box-shadow: var(--page-card-shadow-lg); }
.about-values__icon { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; color: #FFF; }
.about-values__icon svg { flex-shrink: 0; width: 20px; height: 20px; }
.about-values__item h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.about-values__item p { font-size: 14px; color: var(--text-gray); margin: 0; line-height: 1.6; }
.about-passion { padding: 64px 0; background: var(--bg); }
.about-passion .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-passion__label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin: 0 0 16px; }
.about-passion .body { font-size: 16px; color: var(--text-gray); line-height: 1.7; margin: 0 0 16px; }
.about-passion__visual { display: flex; align-items: center; justify-content: center; }
.about-passion__framework { width: min(100%, 420px); padding-left: 24px; border-left: 2px solid rgba(123,44,191,0.28); }
.about-passion__framework-label { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7C3AED; }
.about-passion__framework h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -0.02em; color: #0F172A; }
.about-passion__framework ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about-passion__framework li { display: grid; grid-template-columns: 30px 1fr; align-items: baseline; column-gap: 10px; font-size: 15px; color: #334155; }
.about-passion__framework li span { font-family: var(--font-heading); font-size: 14px; letter-spacing: 0.02em; color: #7C3AED; }
.about-workflow { padding: 74px 0; background: linear-gradient(135deg, #1A1D2E 0%, #2D1B4E 100%); color: #E5E7EB; }
.about-workflow__label { text-align: center; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #C4B5FD; }
.about-workflow h2 { text-align: center; margin-bottom: 12px; font-size: 32px; letter-spacing: -0.02em; color: #FFF; }
.about-workflow__intro { text-align: center; max-width: 680px; margin: 0 auto 40px; color: rgba(226,232,240,0.86); font-size: 16px; line-height: 1.6; }
.about-workflow__timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.about-workflow__step { background: rgba(255,255,255,0.04); border: 1px solid rgba(196,181,253,0.2); border-radius: 12px; padding: 18px 16px; backdrop-filter: blur(2px); }
.about-workflow__num { display: inline-flex; width: 34px; height: 34px; border-radius: 999px; align-items: center; justify-content: center; background: linear-gradient(135deg, #8B5CF6, #6366F1); color: #FFF; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.about-workflow__step h3 { font-size: 17px; margin: 0 0 8px; color: #FFF; }
.about-workflow__step p { font-size: 14px; color: rgba(226,232,240,0.88); margin: 0; line-height: 1.55; }
.about-timeline { padding: 64px 0; background: var(--bg); }
.about-timeline__intro { text-align: center; max-width: 560px; margin: 0 auto 32px; color: var(--text-gray); font-size: 16px; line-height: 1.6; }
.about-timeline h2 { text-align: center; margin-bottom: 40px; font-size: 28px; }
.about-timeline .line { position: relative; padding-left: 62px; --timeline-line-x: 20px; --timeline-start: 8px; --timeline-end: calc(100% - 8px); }
.about-timeline .line::before { content: ''; position: absolute; left: var(--timeline-line-x); top: var(--timeline-start); width: 3px; height: calc(var(--timeline-end) - var(--timeline-start)); background: rgba(148,163,184,0.35); border-radius: 2px; }
.about-timeline__line-fill { position: absolute; left: var(--timeline-line-x); top: var(--timeline-start); width: 3px; height: 0; background: linear-gradient(180deg, var(--primary), var(--accent)); border-radius: 2px; }
.about-timeline .node { position: relative; margin-bottom: 34px; }
.about-timeline .node:last-child { margin-bottom: 0; }
.about-timeline .node::before { content: ''; position: absolute; left: -48px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #CBD5E1; border: 3px solid #FFF; box-shadow: 0 0 0 2px rgba(148,163,184,0.38); transform: scale(0.92); transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.about-timeline .line.is-enhanced .node { opacity: 0.58; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.about-timeline .line.is-enhanced .node.is-active { opacity: 1; transform: translateY(0); }
.about-timeline .line.is-enhanced .node.is-active::before { background: var(--primary); box-shadow: 0 0 0 2px var(--primary); transform: scale(1); }
.about-timeline .line.is-enhanced .node.is-pulsing::before { animation: aboutTimelineDotPulse 0.72s ease-out 1; }
.about-timeline .year { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.about-timeline .event { font-size: 15px; color: var(--text-gray); margin: 0; line-height: 1.5; }
.about-timeline .line.is-enhanced .year,
.about-timeline .line.is-enhanced .event { will-change: transform, opacity; }

@keyframes aboutTimelineDotPulse {
    0% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 0 rgba(123,44,191,0.4); }
    70% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 8px rgba(123,44,191,0); }
    100% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 0 rgba(123,44,191,0); }
}
.about-cta { padding: 68px 0 76px; background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%); text-align: center; border-top: 1px solid rgba(226,232,240,0.85); }
.about-cta h2 { font-family: var(--font-heading); font-size: 34px; margin: 0 0 12px; letter-spacing: -0.02em; color: #111827; }
.about-cta p { max-width: 680px; margin: 0 auto 24px; font-size: 17px; color: #64748B; line-height: 1.6; }
.about-cta__btn { display: inline-block; padding: 14px 28px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; font-weight: 600; text-decoration: none; }
.about-cta__btn:hover { opacity: 0.95; color: #FFF; text-decoration: none; }
@media (max-width: 1023px) {
    .about-intro .grid { grid-template-columns: 1fr; gap: 32px; }
    .about-intro .img-wrap { max-width: 100%; margin: 0 auto; }
    .about-passion .grid { grid-template-columns: 1fr; gap: 32px; }
    .about-passion__visual { order: -1; }
    .about-metrics__grid { grid-template-columns: repeat(2, 1fr); }
    .about-metrics__item { border-right: 0; border-bottom: 1px solid rgba(148,163,184,0.28); }
    .about-metrics__item:nth-last-child(-n+2) { border-bottom: 0; }
    .about-values__grid { grid-template-columns: repeat(2, 1fr); }
    .about-workflow__timeline { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .about-workflow__timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
    .about-hero { padding: 40px 16px; min-height: auto; }
    .about-hero h1 { font-size: 28px; }
    .about-hero .subtitle { font-size: 16px; }
    .about-intro, .about-passion, .about-values, .about-workflow, .about-timeline, .about-cta { padding: 40px 0; }
    .about-metrics { padding: 8px 0 4px; }
    .about-metrics__grid { grid-template-columns: 1fr; gap: 10px; }
    .about-metrics__item { border-bottom: 1px solid rgba(148,163,184,0.28); }
    .about-metrics__item:last-child { border-bottom: 0; }
    .about-intro h2, .about-values h2, .about-workflow h2, .about-timeline h2 { font-size: 24px; margin-bottom: 24px; }
    .about-passion__label { font-size: 13px; }
    .about-values__grid { grid-template-columns: 1fr; gap: 14px; }
    .about-workflow__timeline { grid-template-columns: 1fr; gap: 12px; }
    .about-workflow__intro, .about-timeline__intro { font-size: 15px; margin-bottom: 28px; padding: 0 8px; }
    .about-cta h2 { font-size: 28px; }
    .about-cta p { font-size: 15px; }
    .about-timeline .line { padding-left: 46px; --timeline-line-x: 14px; }
    .about-timeline .line::before,
    .about-timeline__line-fill { width: 3px; }
    .about-timeline .node::before { left: -37px; top: 3px; width: 14px; height: 14px; border-width: 2px; }
}

/* ========== Contact page ========== */
/* Contact – two-column layout: form left, info + map right */
.contact-wrap { padding: 56px 0 0; background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px 44px; align-items: start; }
.contact-header { grid-column: 1 / -1; }
.contact-header__kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #7C3AED; }
.contact-header h1 { font-family: var(--font-heading); font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--text); }
.contact-header__subtitle { font-size: 18px; color: #5B667A; margin: 0 0 18px; line-height: 1.62; max-width: 680px; }
.contact-header__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-header__meta span { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(123,44,191,0.2); background: rgba(123,44,191,0.06); color: #5B21B6; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
.contact-banner { grid-column: 1 / -1; padding: 16px 20px; border-radius: 10px; font-weight: 500; }
.contact-banner.success { background: #D1FAE5; color: #065F46; }
.contact-banner.error { background: #FEE2E2; color: #991B1B; }
.contact-form-card { background: linear-gradient(180deg, #FFFFFF 0%, #FCFBFF 100%); border-radius: 18px; padding: 28px 28px 26px; border: 1px solid rgba(148,163,184,0.25); box-shadow: 0 14px 36px rgba(15,23,42,0.08); }
.contact-form-card__head { margin-bottom: 20px; }
.contact-form-card__head h2 { margin: 0 0 6px; font-size: 23px; letter-spacing: -0.01em; color: #0F172A; }
.contact-form-card__head p { margin: 0; color: #64748B; line-height: 1.6; font-size: 14px; }
.contact-form .field { margin-bottom: 20px; }
.contact-form .field--honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__row .field { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #D6DEEA; border-radius: 10px; font-size: 15px; font-family: inherit; color: #0F172A; background: #FFF; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #94A3B8; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #8B5CF6; box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.12); background-color: #FCFAFF; }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form__btn { width: 100%; padding: 14px 24px; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; font-size: 15px; font-weight: 700; letter-spacing: 0.01em; cursor: pointer; margin-top: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease; }
.contact-form__btn:hover { opacity: 0.98; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(123, 44, 191, 0.28); }
.contact-form .error { font-size: 13px; color: #DC2626; margin-top: 4px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }
.contact-sidebar__card { background: #FFF; border-radius: 16px; padding: 22px; border: 1px solid rgba(148,163,184,0.24); box-shadow: 0 10px 24px rgba(15,23,42,0.06); }
.contact-sidebar { position: sticky; top: 92px; }
.contact-sidebar__card--accent { background: linear-gradient(145deg, #1E1B4B 0%, #2D1B4E 100%); border-color: rgba(196,181,253,0.25); color: #EDE9FE; }
.contact-sidebar__card--accent .contact-sidebar__title { color: #FFF; }
.contact-sidebar__title { font-size: 18px; font-weight: 600; margin: 0 0 20px; color: var(--text); }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { margin-bottom: 16px; }
.contact-info li:last-child { margin-bottom: 0; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: color 0.2s; }
.contact-info li:last-child .contact-info__item { border-bottom: none; }
.contact-info__item:hover { color: var(--primary); }
.contact-info__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, rgba(123, 44, 191, 0.12), rgba(90, 103, 216, 0.12)); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-info__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-gray); }
.contact-info__value { font-size: 15px; font-weight: 500; color: var(--text); }
.contact-next-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; display: grid; gap: 12px; }
.contact-next-steps li { position: relative; padding-left: 34px; color: rgba(237,233,254,0.92); line-height: 1.55; font-size: 14px; }
.contact-next-steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(139,92,246,0.26); border: 1px solid rgba(196,181,253,0.35); color: #DDD6FE; font-size: 11px; font-weight: 700; }
.contact-map-section { margin-top: 46px; width: 100%; padding-bottom: 0; }
.contact-map-full__title { margin: 0 0 10px; padding: 0 6px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: #6D28D9; }
.contact-map-full__wrap { width: 100%; height: clamp(500px, 66vh, 760px); overflow: hidden; background: #E2E8F0; border-radius: 16px 16px 0 0; border: 1px solid rgba(148,163,184,0.26); border-bottom: 0; box-shadow: 0 12px 28px rgba(15,23,42,0.08); }
.contact-map-full__iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Hide maplibre attribution bar when provider injects it */
.contact-map-section .maplibregl-ctrl-bottom-left,
.contact-map-section .maplibregl-ctrl-bottom-right,
.contact-map-section .maplibregl-ctrl-attrib {
    display: none !important;
}

/* ========== Dynamic DB Pages ========== */
.db-page__intro { padding: 46px 0 18px; }
.db-page__intro h1 { margin: 0 0 10px; font-size: 42px; letter-spacing: -0.02em; }
.db-page__intro p { max-width: 760px; margin: 0; color: #64748B; line-height: 1.7; }
.db-page__hero { padding: 40px 0 46px; background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%); border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; }
.db-page__hero h2 { margin: 0 0 10px; font-size: 36px; letter-spacing: -0.02em; }
.db-page__hero p { max-width: 760px; margin: 0 0 16px; color: #475569; line-height: 1.7; }
.db-page__btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; text-decoration: none; font-weight: 600; }
.db-page__btn:hover { color: #FFF; text-decoration: none; opacity: 0.97; }
.db-page__text { padding: 28px 0; }
.db-page__text h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -0.01em; }
.db-page__text div { color: #334155; line-height: 1.75; }
.db-page__metrics { padding: 22px 0 18px; }
.db-page__metrics h2 { margin: 0 0 12px; font-size: 26px; }
.db-page__metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.db-page__metrics-grid article { background: #FFF; border: 1px solid #E2E8F0; border-radius: 12px; padding: 14px 12px; display: grid; gap: 4px; }
.db-page__metrics-grid strong { font-size: 24px; color: #111827; letter-spacing: -0.02em; }
.db-page__metrics-grid span { font-size: 13px; color: #64748B; }
.db-page__faq { padding: 26px 0; }
.db-page__faq h2 { margin: 0 0 12px; font-size: 28px; }
.db-page__faq details { background: #FFF; border: 1px solid #E2E8F0; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.db-page__faq summary { cursor: pointer; font-weight: 600; color: #1F2937; }
.db-page__faq p { margin: 8px 0 0; color: #475569; line-height: 1.7; }
.db-page__cta { padding: 34px 0 40px; background: linear-gradient(135deg, #1A1D2E 0%, #2D1B4E 100%); color: #E5E7EB; margin-top: 12px; }
.db-page__cta h2 { margin: 0 0 10px; color: #FFF; font-size: 30px; letter-spacing: -0.02em; }
.db-page__cta p { margin: 0 0 14px; max-width: 760px; color: rgba(226,232,240,0.9); line-height: 1.7; }
@media (max-width: 900px) {
    .db-page__metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
    .db-page__intro h1 { font-size: 30px; }
    .db-page__hero h2, .db-page__cta h2, .db-page__faq h2, .db-page__text h2 { font-size: 24px; }
    .db-page__metrics-grid { grid-template-columns: 1fr; }
}

/* ========== Business public — enterprise rhythm (bands, proof, motion hooks) ========== */
.business-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0a0f1a 0%, #0f172a 38%, #1e1b4b 100%);
    padding: clamp(72px, 12vw, 120px) 24px clamp(56px, 9vw, 88px);
    color: #F8FAFC;
    border-bottom: 1px solid rgba(123, 44, 191, 0.25);
}
.business-hero__glow {
    pointer-events: none;
    position: absolute;
    top: -40%;
    right: -15%;
    width: min(72vw, 720px);
    height: min(72vw, 720px);
    background: radial-gradient(circle at 40% 40%, rgba(123, 44, 191, 0.45) 0%, rgba(91, 103, 216, 0.12) 42%, transparent 70%);
    filter: blur(2px);
}
.business-hero__layout { position: relative; z-index: 1; max-width: 1200px; }
.business-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: rgba(196, 181, 253, 0.95);
}
.business-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6.5vw, 84px);
    font-weight: 700;
    margin: 0 0 22px;
    letter-spacing: -0.042em;
    color: #F8FAFC;
    line-height: 1.02;
    max-width: 14ch;
}
.business-hero__subtitle {
    font-size: clamp(17px, 1.65vw, 20px);
    margin: 0 0 28px;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.92);
    max-width: 38rem;
    font-weight: 450;
}
.business-hero__subtitle strong { color: #FFF; font-weight: 600; }
.business-hero__crumb { font-size: 11px; margin: 0; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(148, 163, 184, 0.88); }

.business-stack { background: #E8EDF3; }

.business-band { position: relative; }
.business-band__inner {
    padding: clamp(56px, 8vw, 104px) 0;
}
.business-band__inner--tight { padding: clamp(48px, 6vw, 80px) 0; }
.business-band__inner--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: clamp(56px, 8vw, 96px) 0;
}
@media (min-width: 900px) {
    .business-band__inner--split { grid-template-columns: 0.42fr 1fr; gap: 56px; }
}

.business-band--metrics {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #E2E8F0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.business-band--trust {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 42%, #1e293b 100%);
    color: #E2E8F0;
}
.business-band--lede { background: #F8FAFC; }
.business-band--capabilities { background: #E2E8F0; }
.business-band--systems {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 55%, #172033 100%);
    color: #E2E8F0;
}
.business-band--method { background: #FFF; }
.business-band--cases {
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(123, 44, 191, 0.18) 0%, transparent 55%), #0b1220;
    color: #E2E8F0;
}
.business-band--value { background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 100%); }
.business-band--faq { background: #FFF; }
.business-band--people {
    background: linear-gradient(180deg, #FFF 0%, #F1F5F9 50%, #E8EDF3 100%);
    border-top: 1px solid #E2E8F0;
}

.business-band__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 16px;
    color: #F8FAFC;
    max-width: 22ch;
}
.business-band__title--trust { max-width: 32ch; }
.business-band__accent {
    color: #DDD6FE;
    text-shadow: 0 0 40px rgba(167, 139, 250, 0.35);
}

.business-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #64748B;
}
.business-kicker--on-dark { color: rgba(196, 181, 253, 0.85); }

.business-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 40px);
}
.business-metrics__item {
    padding: 20px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.business-metrics__item:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.business-metrics__value {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 0 0 8px;
    color: #FFF;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.business-metrics__num { display: inline-block; }
.business-metrics__label { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(203, 213, 225, 0.92); }

.business-trust__lead {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.88);
    max-width: 52ch;
}
.business-trust__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.business-trust__logos > li { margin: 0; padding: 0; }
.business-trust__logo {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}
.business-trust__logo:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.business-lede__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    color: #0F172A;
    line-height: 1.12;
    max-width: 22ch;
}
.business-lede__title strong { color: #111c2e; }
.business-lede__text {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.65;
    color: #334155;
    max-width: 58ch;
}
.business-lede__text strong { color: #0F172A; font-weight: 600; }
.business-lede__meta {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
}

.business-panel {
    max-width: 1200px;
    margin: 0 auto;
    background: #FFF;
    border-radius: 18px;
    border: 1px solid #D8DEE6;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 24px 48px rgba(15, 23, 42, 0.08);
    padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 44px);
}

.business-section-head { margin: 0 0 32px; max-width: 68ch; }
.business-section-head__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.9vw, 36px);
    font-weight: 700;
    letter-spacing: -0.032em;
    margin: 0 0 12px;
    color: #0F172A;
    line-height: 1.15;
}
.business-section-head__lead { margin: 0; font-size: 16px; line-height: 1.65; color: #475569; }
.business-section-head__lead strong { color: #0F172A; }
.business-section-head--on-dark .business-section-head__title { color: #F8FAFC; }
.business-section-head--on-dark .business-section-head__lead { color: rgba(226, 232, 240, 0.88); }

.business-capabilities__head { margin: 0 0 28px; }
.business-capabilities__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.9vw, 36px);
    font-weight: 700;
    letter-spacing: -0.032em;
    margin: 0 0 10px;
    color: #0F172A;
}
.business-capabilities__lead { margin: 0; font-size: 16px; line-height: 1.65; color: #475569; max-width: 62ch; }
.business-capabilities__lead strong { color: #0F172A; font-weight: 600; }
.business-capabilities__empty { margin: 0; font-size: 16px; color: #64748B; text-align: center; padding: 32px 0; }

.business-cat { list-style: none; margin: 0; padding: 0; }
.business-cat__item { border-top: 1px solid #EEF2F6; }
.business-cat__item:first-child { border-top: none; }
.business-cat__row {
    display: grid;
    grid-template-columns: 52px 1fr 32px;
    align-items: center;
    gap: 0 18px;
    padding: 22px 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.business-cat__row:hover {
    background: linear-gradient(90deg, #F8FAFC 0%, #FFF 100%);
    color: inherit;
    text-decoration: none;
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 var(--primary, #7b2cbf);
}
.business-cat__row:focus-visible { outline: 2px solid #7b2cbf; outline-offset: 3px; }
.business-cat__mark { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; justify-self: start; }
.business-cat__mark--num {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #64748B;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #FAFBFC;
}
.business-cat__mark--img { border-radius: 10px; overflow: hidden; border: 1px solid #E2E8F0; background: #F1F5F9; width: 40px; height: 40px; }
.business-cat__mark--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.business-cat__main { min-width: 0; }
.business-cat__title { display: block; font-family: var(--font-heading); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: #0F172A; margin-bottom: 4px; }
.business-cat__desc { display: block; font-size: 15px; line-height: 1.5; color: #475569; }
.business-cat__arrow { font-size: 17px; color: #CBD5E1; justify-self: end; transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease; }
.business-cat__row:hover .business-cat__arrow { color: #7b2cbf; transform: translateX(6px); }

@media (max-width: 480px) {
    .business-cat__row { grid-template-columns: 44px 1fr 24px; gap: 0 12px; padding: 18px 6px; }
}

.business-systems__head { margin-bottom: 36px; max-width: 62ch; }
.business-systems__lead { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: rgba(203, 213, 225, 0.92); }
.business-systems__grid {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
@media (min-width: 960px) {
    .business-systems__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}
.business-sys-card {
    padding: 22px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-top: 3px solid rgba(123, 44, 191, 0.85);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.business-sys-card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.business-sys-card__title { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin: 0 0 8px; color: #F8FAFC; letter-spacing: -0.02em; }
.business-sys-card__text { margin: 0; font-size: 14px; line-height: 1.58; color: rgba(203, 213, 225, 0.9); }

.business-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.business-stack-pill {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 8px;
    color: rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.business-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.business-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(123, 44, 191, 0.5) 0%, #E2E8F0 55%);
    border-radius: 2px;
}
.business-timeline__step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 18px 24px; padding: 0 0 32px; margin: 0; }
.business-timeline__step:last-child { padding-bottom: 0; }
.business-timeline__badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid #E9D5FF;
    box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #5b21b6;
    position: relative;
    z-index: 1;
}
.business-timeline__body { padding-top: 2px; }
.business-timeline__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; margin: 0 0 8px; color: #0F172A; letter-spacing: -0.02em; }
.business-timeline__text { margin: 0; font-size: 15px; line-height: 1.65; color: #475569; max-width: 62ch; }

.business-cases { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 800px) {
    .business-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
.business-case {
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}
.business-case:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.business-case__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c4b5fd;
    margin: 0 0 12px;
}
.business-case__title { font-family: var(--font-heading); font-size: 19px; font-weight: 700; margin: 0 0 18px; color: #F8FAFC; letter-spacing: -0.02em; line-height: 1.25; }
.business-case__dl { margin: 0; }
.business-case__row { margin-bottom: 14px; }
.business-case__row:last-child { margin-bottom: 0; }
.business-case__row dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 4px;
}
.business-case__row dd { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(226, 232, 240, 0.9); }
.business-case__row dd strong { color: #FFF; }
.business-cases__foot { margin: 32px 0 0; text-align: center; }
.business-cases__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #e9d5ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(233, 213, 255, 0.35);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.business-cases__link:hover { color: #FFF; border-bottom-color: #FFF; }

.business-value__grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) {
    .business-value__grid { grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: start; }
}
.business-value__block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #E2E8F0; }
.business-value__block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.business-value__label { display: block; font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #7b2cbf; margin-bottom: 8px; }
.business-value__heading { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: #0F172A; letter-spacing: -0.02em; }
.business-value__copy { margin: 0; font-size: 15px; line-height: 1.65; color: #334155; }
.business-value__col--aside {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.business-value__aside-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #64748B; margin: 0 0 16px; }
.business-value__list { list-style: none; margin: 0; padding: 0; }
.business-value__list li { position: relative; padding: 10px 0 10px 20px; font-size: 15px; line-height: 1.5; color: #334155; border-bottom: 1px solid #F1F5F9; }
.business-value__list li:last-child { border-bottom: none; }
.business-value__list li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 2px; background: linear-gradient(90deg, #7b2cbf, #5b21b6); border-radius: 1px; }

.business-faq__list { border: 1px solid #E2E8F0; border-radius: 14px; overflow: hidden; background: #FAFBFC; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.business-faq__list .accordion-item { border-bottom: 1px solid #E8EDF3; background: #FFF; }
.business-faq__list .accordion-item:last-child { border-bottom: none; }
.business-faq__trigger {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    background: #FFF;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: #0F172A;
    transition: background 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.business-faq__trigger:hover { background: #F8FAFC; }
.business-faq__trigger[aria-expanded="true"] { background: #F5F3FF; }
.business-faq__chev { flex-shrink: 0; width: 8px; height: 8px; border-right: 2px solid #64748B; border-bottom: 2px solid #64748B; transform: rotate(45deg); margin-top: -2px; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.business-faq__trigger[aria-expanded="true"] .business-faq__chev { transform: rotate(225deg); margin-top: 2px; }
.business-faq__panel {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FAFAFF;
    padding: 0 20px;
}
.business-faq__answer { padding: 0 0 18px; font-size: 15px; line-height: 1.68; color: #334155; }

.business-people__visual { display: flex; justify-content: center; }
.business-people__orb {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c4b5fd 0%, #7b2cbf 38%, #312e81 100%);
    box-shadow: 0 24px 60px rgba(91, 33, 182, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.business-people__copy .business-lede__title { max-width: none; }
.business-people__values { list-style: none; margin: 20px 0 0; padding: 0; }
.business-people__values li { font-size: 15px; line-height: 1.65; color: #334155; padding: 8px 0; border-bottom: 1px solid #E2E8F0; }
.business-people__values li:last-child { border-bottom: none; }
.business-people__values strong { color: #0F172A; }

.business-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 10vw, 100px) 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #F8FAFC;
}
.business-cta--premium { border-top: 1px solid rgba(167, 139, 250, 0.35); }
.business-cta__sheen {
    pointer-events: none;
    position: absolute;
    inset: -50% -20% auto;
    height: 80%;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
}
.business-cta .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; text-align: center; }
.business-cta__content { max-width: 44rem; margin: 0 auto; }
.business-cta__content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    margin: 0 0 16px;
    color: #F8FAFC;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.business-cta__content p { font-size: 17px; line-height: 1.65; color: rgba(226, 232, 240, 0.9); margin: 0 0 28px; }
.business-cta__content p strong { color: #FFF; }
.business-cta__btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 999px;
    background: #FFF;
    color: #1e1b4b;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.business-cta__btn:hover {
    background: #f5f3ff;
    color: #1e1b4b;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(91, 33, 182, 0.35);
}

body.business.page-shell { background: #E8EDF3; }

@media (max-width: 767px) {
    .business-metrics { grid-template-columns: 1fr; }
}

/* Business single — same language as /business index: wide rhythm, bands, timeline */
.business-single-stack { background: #e8edf3; }

.business-single-hero {
    position: relative;
    overflow: hidden;
    min-height: min(58vh, 560px);
    display: flex;
    align-items: flex-end;
    padding: clamp(64px, 10vw, 96px) 24px clamp(52px, 8vw, 80px);
}
.business-single-hero:not(.has-hero-image) {
    background: linear-gradient(165deg, #0a0f1a 0%, #0f172a 45%, #1e1b4b 100%);
}
.business-single-hero__glow {
    pointer-events: none;
    position: absolute;
    top: -35%;
    right: -18%;
    width: min(70vw, 640px);
    height: min(70vw, 640px);
    background: radial-gradient(circle at 40% 40%, rgba(123, 44, 191, 0.42) 0%, rgba(91, 103, 216, 0.1) 45%, transparent 68%);
    filter: blur(1px);
    z-index: 1;
}
.business-single-hero .hero-bg-img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.business-single-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.business-single-hero:not(.has-hero-image)::after { background: linear-gradient(180deg, transparent 0%, rgba(15, 10, 26, 0.55) 100%); }
.business-single-hero.has-hero-image::after { background: linear-gradient(180deg, rgba(15, 10, 26, 0.25) 0%, rgba(15, 10, 26, 0.78) 100%); }

.business-single-hero__layout { position: relative; z-index: 3; max-width: 1200px; }
.business-single-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: rgba(196, 181, 253, 0.95);
}
.business-single-hero__crumb { font-size: 11px; margin: 0 0 16px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(148, 163, 184, 0.95); }
.business-single-hero__crumb a { color: rgba(248, 250, 252, 0.92); text-decoration: none; border-bottom: 1px solid transparent; }
.business-single-hero__crumb a:hover { border-bottom-color: rgba(248, 250, 252, 0.45); }
.business-single-hero__crumb span:last-of-type { color: rgba(226, 232, 240, 0.85); font-weight: 500; text-transform: none; letter-spacing: 0; }

.business-single-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.038em;
    line-height: 1.05;
    max-width: 22ch;
}
.business-single-hero__lead {
    font-size: clamp(17px, 1.65vw, 20px);
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
    margin: 0;
    max-width: 40rem;
    font-weight: 450;
}

.business-single-band { position: relative; }
.business-single-band__inner {
    padding: clamp(48px, 7vw, 88px) 0;
}
.business-single-band__inner--process {
    padding-top: clamp(56px, 8vw, 96px);
    padding-bottom: clamp(56px, 8vw, 96px);
}

.business-single-band--main { background: #fff; }
.business-single-band--main .business-single-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.business-single-main__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 14px;
}
.business-prose--single { max-width: none; font-size: 17px; color: #334155; line-height: 1.75; }
.business-prose--single strong { color: #0f172a; font-weight: 600; }

.business-single-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
.business-single-aside__card {
    background: linear-gradient(180deg, #fafaff 0%, #fff 45%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.business-single-aside__card:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1); }
.business-single-aside__card--muted {
    background: #f8fafc;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.business-single-aside__card--muted:hover { transform: none; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.business-single-aside__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b2cbf;
    margin: 0 0 10px;
}
.business-single-aside__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.2;
}
.business-single-aside__text { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #475569; }
.business-single-aside__btn {
    display: block;
    width: 100%;
    padding: 14px 22px;
    border-radius: 999px;
    background: #0f172a;
    color: #f8fafc;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.business-single-aside__btn:hover { background: #1e293b; color: #f8fafc; transform: translateY(-1px); text-decoration: none; }
.business-single-aside__link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #5b21b6;
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 33, 182, 0.25);
    padding-bottom: 1px;
}
.business-single-aside__link:hover { color: #4c1d95; border-bottom-color: #4c1d95; }
.business-single-aside__list-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 12px;
}
.business-single-aside__list { margin: 0; padding: 0 0 0 1.1em; font-size: 14px; line-height: 1.55; color: #475569; }
.business-single-aside__list li { margin-bottom: 0.4em; }

.business-single-band--process {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 55%, #111827 100%);
    color: #e2e8f0;
}
.business-single-process__head { max-width: 62ch; margin-bottom: 40px; }
.business-single-process__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(196, 181, 253, 0.9);
    margin: 0 0 12px;
}
.business-single-process__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #f8fafc;
}
.business-single-process__lead { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(203, 213, 225, 0.92); }

.business-single-timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 100%; }
.business-single-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(123, 44, 191, 0.55) 0%, rgba(148, 163, 184, 0.35) 100%);
    border-radius: 2px;
}
.business-single-timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px 28px;
    padding: 0 0 28px;
    margin: 0;
}
.business-single-timeline__step:last-child { padding-bottom: 0; }
.business-single-timeline__badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(167, 139, 250, 0.65);
    box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #e9d5ff;
    z-index: 1;
}
.business-single-timeline__body { padding-top: 2px; }
.business-single-timeline__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #f8fafc;
    letter-spacing: -0.02em;
}
.business-single-timeline__text { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(203, 213, 225, 0.92); max-width: 72ch; }

.business-prose { font-size: 17px; color: #374151; line-height: 1.75; }
.business-prose__inner > *:first-child { margin-top: 0; }
.business-prose__inner h2, .business-prose h2 { font-family: var(--font-heading); font-size: clamp(22px, 2vw, 28px); color: #111827; margin: 1.6em 0 0.5em; letter-spacing: -0.02em; }
.business-prose__inner h3, .business-prose h3 { font-size: 1.15rem; color: #1f2937; margin: 1.35em 0 0.45em; }
.business-prose__inner p, .business-prose > p, .business-prose p { margin: 0 0 1em; }
.business-prose__inner ul, .business-prose__inner ol, .business-prose ul { margin: 0 0 1em; padding-left: 1.25em; }
.business-prose__inner li, .business-prose li { margin-bottom: 0.35em; }
.business-prose__inner a { color: #334155; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.business-prose__inner a:hover { color: #0f172a; }

/* CTA reuses .business-cta--premium; .business-single-cta only adds top separation */
.business-single-cta.business-cta { margin-top: 0; }

@media (max-width: 1023px) {
    .business-single-band--main .business-single-band__inner { grid-template-columns: 1fr; }
    .business-single-aside { position: static; }
}
@media (max-width: 767px) {
    .business-single-hero { min-height: min(48vh, 440px); padding: 48px 18px 44px; }
    .business-single-hero h1 { font-size: clamp(30px, 8vw, 42px); max-width: none; }
    .business-single-timeline__step { grid-template-columns: 36px 1fr; gap: 14px 18px; padding-bottom: 22px; }
    .business-single-timeline::before { left: 15px; }
    .business-single-timeline__badge { width: 32px; height: 32px; font-size: 12px; }
}

/* ========== Portfolio list — flagship + spotlight + mosaic, depth & motion hooks ========== */
body.portfolio.page-shell { background: #eef2f7; }

.port-shell { position: relative; overflow: clip; }
.port-shell__ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.port-shell__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}
.port-shell__orb--a { width: min(55vw, 520px); height: min(55vw, 520px); top: -8%; left: -10%; background: rgba(123, 44, 191, 0.35); }
.port-shell__orb--b { width: min(45vw, 420px); height: min(45vw, 420px); top: 22%; right: -12%; background: rgba(91, 103, 216, 0.28); }

.port-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: clamp(72px, 11vw, 120px) 24px clamp(52px, 7vw, 80px);
    background: linear-gradient(155deg, #1a0f2e 0%, #312e81 38%, #5b21b6 88%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.port-hero__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 255, 255, 0.22) 0%, transparent 55%);
    pointer-events: none;
}
.port-hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.port-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 18px;
    color: rgba(233, 213, 255, 0.95);
}
.port-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 6.5vw, 88px);
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}
.port-hero__lead {
    margin: 0 auto;
    max-width: 38rem;
    color: rgba(248, 250, 252, 0.92);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.65;
    font-weight: 450;
}
.port-hero__lead strong { color: #fff; font-weight: 600; }

.port-filter { padding: 0 0 8px; position: relative; z-index: 1; margin-top: -28px; }
.port-filter__track {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.port-filter__pill {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    background: transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.port-filter__pill:hover {
    color: #5b21b6;
    border-color: rgba(123, 44, 191, 0.35);
    background: rgba(123, 44, 191, 0.08);
    transform: translateY(-1px);
}
.port-filter__pill.is-active {
    background: linear-gradient(135deg, #7b2cbf 0%, #5b21b6 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(91, 33, 182, 0.45);
}

.port-stage { position: relative; z-index: 1; padding: 36px 0 72px; }
.port-stage__gridfx {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: linear-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
    pointer-events: none;
}
.port-stage__inner { position: relative; z-index: 1; }

.port-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(280px, 1fr);
    gap: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 28px 56px rgba(15, 23, 42, 0.12);
    margin-bottom: 28px;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.port-featured:hover { box-shadow: 0 8px 12px rgba(15, 23, 42, 0.06), 0 36px 72px rgba(91, 33, 182, 0.14); transform: translateY(-2px); }
.port-featured__media {
    position: relative;
    display: block;
    min-height: clamp(360px, 52vh, 560px);
    background: #0f172a;
    overflow: hidden;
}
.port-featured__media--mock { background: #0b1220; }
.port-featured__media-inner { width: 100%; height: 100%; min-height: inherit; transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1); }
.port-featured__media:hover .port-featured__media-inner { transform: scale(1.04); }
.port-featured__media img,
.port-featured__media picture { display: block; width: 100%; height: 100%; min-height: inherit; }
.port-featured__media img { object-fit: cover; }
.port-featured__media-shine {
    position: absolute;
    inset: -20% -40%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
    pointer-events: none;
}
.port-featured__media:hover .port-featured__media-shine { transform: translateX(100%); }
.port-featured__body {
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}
.port-featured__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.port-featured__cat {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #5b21b6;
    background: rgba(123, 44, 191, 0.1);
    border: 1px solid rgba(123, 44, 191, 0.25);
    border-radius: 999px;
    padding: 6px 12px;
}
.port-featured__year { font-size: 12px; font-weight: 600; color: #94a3b8; letter-spacing: 0.06em; }
.port-featured__title {
    font-family: var(--font-heading);
    margin: 0 0 12px;
    font-size: clamp(32px, 3.8vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #0f172a;
}
.port-featured__metric {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #334155;
    padding-left: 14px;
    border-left: 3px solid #7b2cbf;
}
.port-featured__desc { margin: 0 0 18px; color: #475569; font-size: 16px; line-height: 1.68; max-width: 52ch; }
.port-featured__tech {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.port-featured__tech li {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 8px;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.port-featured__btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    width: fit-content;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.port-featured__btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(91, 33, 182, 0.35); }

.port-spotlight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}
.port-spotlight--single { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }

.port-card { position: relative; }
.port-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.port-card__link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(123, 44, 191, 0.18);
    border-color: rgba(123, 44, 191, 0.35);
}
.port-card--spot .port-card__visual { min-height: clamp(220px, 32vw, 320px); }
.port-card__visual { position: relative; overflow: hidden; background: #0f172a; }
.port-card__visual img,
.port-card__visual picture { display: block; width: 100%; height: 100%; object-fit: cover; min-height: inherit; }
.port-card__visual--mock { min-height: 220px; }
.port-card__panel { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.port-card__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7b2cbf;
    margin-bottom: 8px;
}
.port-card__title { font-family: var(--font-heading); font-size: 1.35rem; margin: 0 0 10px; letter-spacing: -0.02em; color: #0f172a; line-height: 1.2; }
.port-card__metric { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #475569; line-height: 1.45; }
.port-card__excerpt { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: #64748b; flex: 1; }
.port-card__tech {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.port-card__tech li {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.port-card__cta { font-size: 13px; font-weight: 700; color: #5b21b6; margin-top: 12px; }

.port-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
@media (min-width: 640px) and (max-width: 1099px) {
    .port-mosaic .port-card--tile.port-card--wide { grid-column: span 2; }
    .port-mosaic .port-card--tile.port-card--tall { grid-row: span 1; }
}
@media (min-width: 1100px) {
    .port-mosaic {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-flow: dense;
        /* Row track size × span − internal gaps must cover .port-card__link min-heights (300 / 320 / 380px)
           or tiles overflow and visually erase vertical gap between “rows”. */
        grid-auto-rows: minmax(96px, auto);
        gap: 18px;
    }
    .port-card--tile { grid-column: span 2; grid-row: span 3; }
    .port-card--tile.port-card--wide { grid-column: span 4; grid-row: span 3; }
    .port-card--tile.port-card--tall { grid-column: span 2; grid-row: span 4; }
}
.port-card--tile .port-card__link {
    display: block;
    position: relative;
    min-height: 300px;
    height: 100%;
    padding: 0;
    overflow: hidden;
}
.port-card--tile .port-card__visual {
    position: absolute;
    inset: 0;
    min-height: 100%;
}
.port-card--tile .port-card__visual img { min-height: 100%; height: 100%; }
.port-card--tile.port-card--wide .port-card__link { min-height: 320px; }
.port-card--tile.port-card--tall .port-card__link { min-height: 380px; }
.port-card__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, transparent 35%, rgba(15, 23, 42, 0.82) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.port-card--tile:hover .port-card__shade { opacity: 0.92; }
.port-card__float {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px 20px 22px;
    color: #fff;
}
.port-card--tile .port-card__cat { color: rgba(248, 250, 252, 0.85); }
.port-card--tile .port-card__title { color: #fff; font-size: clamp(17px, 1.4vw, 21px); margin-bottom: 6px; }
.port-card__hint { margin: 0 0 10px; font-size: 12px; line-height: 1.45; color: rgba(226, 232, 240, 0.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.port-card__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.port-card__tags li {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(248, 250, 252, 0.9);
}
.port-card--tile .port-card__visual img { transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.port-card--tile:hover .port-card__visual img { transform: scale(1.07); }

.port-mock {
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: linear-gradient(145deg, #1a0f2e 0%, #0f172a 42%, #172554 100%);
}
.port-mock--hero { min-height: clamp(360px, 52vh, 560px); padding: 20px; }
.port-mock--tile .port-mock__body { min-height: 120px; }
.port-mock__chrome { display: flex; gap: 7px; align-items: center; margin-bottom: 12px; }
.port-mock__chrome span { width: 10px; height: 10px; border-radius: 50%; background: #475569; opacity: 0.85; }
.port-mock__body { flex: 1; display: grid; grid-template-columns: minmax(56px, 18%) 1fr; gap: 12px; min-height: 0; }
.port-mock__sidebar {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.port-mock__canvas {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.port-mock__kpi {
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(123, 44, 191, 0.65) 0%, rgba(91, 33, 182, 0.15) 100%);
    box-shadow: 0 0 24px rgba(123, 44, 191, 0.25);
}
.port-mock__rows { display: flex; flex-direction: column; gap: 7px; }
.port-mock__rows span { height: 9px; border-radius: 5px; background: rgba(226, 232, 240, 0.14); }
.port-mock__rows span:nth-child(1) { width: 100%; }
.port-mock__rows span:nth-child(2) { width: 88%; }
.port-mock__rows span:nth-child(3) { width: 72%; }
.port-mock__rows span:nth-child(4) { width: 92%; }

.port-load { text-align: center; margin-top: 40px; }
.port-load a {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #5b21b6 0%, #7b2cbf 100%);
    box-shadow: 0 10px 28px rgba(91, 33, 182, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.port-load a:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(91, 33, 182, 0.45); color: #fff; }
.port-empty { text-align: center; padding: 48px 20px; color: #64748b; font-size: 16px; }

/* Portfolio device mockups – single page only (mobile = iPhone-like, tablet = iPad-like) */
.device-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 20px 16px 0; min-height: 200px; }
.device-mockup { flex-shrink: 0; transition: transform 0.25s ease; }
.device-mockup:hover { transform: translateY(-4px); }
.device-frame { position: relative; border-radius: 12px; background: #1a1a1a; box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.08); padding: 8px; }
/* Mobile: iPhone-style pill, Dynamic Island, home bar */
.device-mobile .device-frame { border-radius: 2.5rem; padding: 10px 8px 14px; max-width: 100px; background: linear-gradient(145deg, #2c2c2e 0%, #1c1c1e 100%); box-shadow: 0 12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06); }
.device-notch { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); width: 28%; min-width: 24px; max-width: 36px; height: 6px; background: #000; border-radius: 20px; z-index: 2; }
.device-mobile .device-screen { aspect-ratio: 390/844; border-radius: 1.75rem; position: relative; }
.device-home { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 28%; min-width: 28px; height: 4px; background: rgba(255,255,255,0.35); border-radius: 2px; z-index: 2; }
/* Tablet: iPad-style uniform bezel, front camera */
.device-tablet .device-frame { border-radius: 1.25rem; padding: 14px; max-width: 140px; background: linear-gradient(145deg, #2c2c2e 0%, #1c1c1e 100%); box-shadow: 0 12px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06); }
.device-camera { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: #0a0a0a; border: 1px solid #333; z-index: 2; box-shadow: inset 0 1px 2px rgba(0,0,0,0.5); }
.device-tablet .device-screen { aspect-ratio: 820/1180; border-radius: 0.75rem; }
/* Desktop: browser window */
.device-desktop .device-frame { border-radius: 8px; padding: 0; max-width: 180px; }
.device-chrome { height: 24px; background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%); border-radius: 8px 8px 0 0; display: flex; align-items: center; padding: 0 12px; }
.device-chrome::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840; }
.device-screen { overflow: hidden; border-radius: 6px; background: #fff; aspect-ratio: 16/10; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Single portfolio: devices + case study page */
.port-single-shell { position: relative; overflow: clip; background: #eef2f7; }
.port-single-shell__ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.port-single-shell__orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.38; }
.port-single-shell__orb--a { width: min(50vw, 480px); height: min(50vw, 480px); top: 8%; left: -8%; background: rgba(123, 44, 191, 0.35); }
.port-single-shell__orb--b { width: min(42vw, 400px); height: min(42vw, 400px); top: 28%; right: -10%; background: rgba(59, 130, 246, 0.2); }

.port-single-hero {
    position: relative;
    z-index: 1;
    min-height: min(56vh, 580px);
    display: flex;
    align-items: flex-end;
    padding: clamp(72px, 10vw, 120px) 24px clamp(56px, 9vw, 96px);
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.port-single-hero__glow {
    pointer-events: none;
    position: absolute;
    top: -30%;
    right: -15%;
    width: min(65vw, 600px);
    height: min(65vw, 600px);
    background: radial-gradient(circle at 40% 40%, rgba(123, 44, 191, 0.45) 0%, transparent 68%);
    z-index: 1;
    filter: blur(1px);
}
.port-single-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(10, 8, 22, 0.88) 100%);
}
.port-single-hero__inner { position: relative; z-index: 3; max-width: 900px; color: #fff; }
.port-single-hero__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: rgba(233, 213, 255, 0.95);
}
.port-single-hero__crumb { font-size: 12px; margin: 0 0 18px; color: rgba(203, 213, 225, 0.9); letter-spacing: 0.04em; }
.port-single-hero__crumb a { color: rgba(248, 250, 252, 0.95); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.port-single-hero__crumb a:hover { border-bottom-color: rgba(248, 250, 252, 0.45); }
.port-single-hero__crumb span[aria-hidden="true"] { margin: 0 6px; color: rgba(148, 163, 184, 0.7); }
.port-single-hero__crumb-current { color: rgba(226, 232, 240, 0.85); font-weight: 500; }
.port-single-hero__cat {
    display: inline-flex;
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(248, 250, 252, 0.95);
}
.port-single-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.038em;
    line-height: 1.05;
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.25);
}
.port-single-hero__lead {
    margin: 0 0 22px;
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.9);
    max-width: 40rem;
}
.port-single-hero__tech {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.port-single-hero__tech li {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(248, 250, 252, 0.88);
}

.port-single-band { position: relative; z-index: 1; }
.port-single-band--devices {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
/* Band padding lives here (not .port-single-devices { padding: 0 }) so “Surfaces” never sits flush under the hero */
.port-single-devices.port-single-band--devices {
    padding-top: clamp(56px, 9vw, 112px);
    padding-bottom: clamp(48px, 7vw, 88px);
    padding-left: 0;
    padding-right: 0;
}
.port-single-band__gridfx {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}
.port-single-devices__wrap { position: relative; z-index: 1; max-width: 1600px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.port-single-devices__head { max-width: 52ch; margin-bottom: clamp(28px, 4vw, 44px); }
.port-single-devices__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7b2cbf;
    margin: 0 0 10px;
}
.port-single-devices__title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #0f172a;
}
.port-single-devices__lead { margin: 0; font-size: 16px; line-height: 1.65; color: #475569; }

.port-single-devices .device-row--single { gap: 48px; padding: 8px 0 0; min-height: 420px; align-items: flex-end; justify-content: center; }
.port-single-devices .device-row--single .device-mockup { min-width: 0; display: flex; justify-content: center; }
.port-single-devices .device-row--single .device-desktop { flex: 2.5; max-width: 720px; min-width: 320px; }
.port-single-devices .device-row--single .device-tablet { flex: 0.9; max-width: 280px; }
.port-single-devices .device-row--single .device-mobile { flex: 0.5; max-width: 200px; }
.port-single-devices .device-row--single .device-desktop .device-frame { width: 100%; max-width: 680px; }
.port-single-devices .device-row--single .device-desktop .device-chrome { height: 38px; }
.port-single-devices .device-row--single .device-desktop .device-chrome::before { width: 12px; height: 12px; box-shadow: 24px 0 0 #febc2e, 48px 0 0 #28c840; }
.port-single-devices .device-row--single .device-tablet .device-frame { width: 100%; max-width: 260px; padding: 18px; border-radius: 1.5rem; }
.port-single-devices .device-row--single .device-tablet .device-screen { border-radius: 1rem; }
.port-single-devices .device-row--single .device-tablet .device-camera { top: 18px; width: 10px; height: 10px; }
.port-single-devices .device-row--single .device-mobile .device-frame { width: 100%; max-width: 200px; padding: 12px 8px 16px; border-radius: 2.75rem; }
.port-single-devices .device-row--single .device-mobile .device-screen { border-radius: 2rem; }
.port-single-devices .device-row--single .device-mobile .device-notch { top: 12px; height: 7px; min-width: 32px; max-width: 44px; border-radius: 24px; }
.port-single-devices .device-row--single .device-mobile .device-home { bottom: 12px; height: 5px; min-width: 38px; }
.port-single-devices .device-row--single .device-chrome { height: 32px; }
.port-single-devices .device-row--single .device-chrome::before { width: 10px; height: 10px; background: #ff5f57; box-shadow: 18px 0 0 #febc2e, 36px 0 0 #28c840; }

.port-single-band--story { padding: clamp(48px, 7vw, 88px) 0; background: #fff; border-top: 1px solid #e2e8f0; }
.port-single-details__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}
.port-single-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.port-single-summary span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
}
.port-single-summary strong { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; }
.port-single-summary a { color: #5b21b6; text-decoration: none; font-weight: 600; }
.port-single-summary a:hover { text-decoration: underline; }
.port-single-lede.content,
.port-single-main .content { font-size: 18px; line-height: 1.75; color: #334155; margin-bottom: 32px; max-width: 62ch; }

.port-single-narrative {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 900px) {
    .port-single-narrative { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.port-single-card {
    padding: 22px 20px 24px;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.port-single-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); }
.port-single-card--challenge { border-top: 3px solid #64748b; }
.port-single-card--solution { border-top: 3px solid #7b2cbf; }
.port-single-card--results { border-top: 3px solid #059669; }
.port-single-card__label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: #0f172a;
}
.port-single-card__body { font-size: 15px; line-height: 1.65; color: #475569; margin: 0; }

.port-single-aside { position: sticky; top: 100px; }
.port-single-aside__card {
    padding: 26px 22px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f8fafc 100%);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}
.port-single-aside__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7b2cbf; margin: 0 0 8px; }
.port-single-aside__title { font-family: var(--font-heading); font-size: 1.2rem; margin: 0 0 16px; color: #0f172a; letter-spacing: -0.02em; }
.port-single-aside__row { margin-bottom: 14px; font-size: 14px; }
.port-single-aside__row--stack { margin-bottom: 18px; }
.port-single-aside__k { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 4px; }
.port-single-aside__v { color: #334155; font-weight: 600; }
.port-single-aside__pills { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.port-single-aside__pills li {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.port-single-aside__btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.port-single-aside__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(91, 33, 182, 0.35); }
.port-single-aside__ghost {
    display: block;
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #5b21b6;
    text-decoration: none;
}
.port-single-aside__ghost:hover { text-decoration: underline; }

.port-single-band--gallery {
    padding: clamp(48px, 7vw, 88px) 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    color: #e2e8f0;
}
.port-single-gallery__head { margin-bottom: 28px; }
.port-single-gallery__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(196, 181, 253, 0.95); margin: 0 0 10px; }
.port-single-gallery__head h2 { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); margin: 0; letter-spacing: -0.03em; color: #fff; }
.port-single-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.port-single-gallery__fig {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.port-single-gallery__fig:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35); }
.port-single-gallery__fig img,
.port-single-gallery__fig picture { display: block; width: 100%; height: auto; vertical-align: middle; }
.port-single-gallery__cap { padding: 10px 12px 12px; font-size: 13px; color: rgba(226, 232, 240, 0.85); line-height: 1.45; }

.port-single-band--quote { padding: clamp(44px, 6vw, 72px) 0; background: #f1f5f9; border-top: 1px solid #e2e8f0; }
.port-single-quote__inner {
    margin: 0;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 32px;
    border-radius: 16px;
    border-left: 4px solid #7b2cbf;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    font-size: 18px;
    line-height: 1.65;
    color: #334155;
}
.port-single-quote__inner p { margin: 0 0 12px; }
.port-single-quote__inner cite { font-size: 15px; font-style: normal; font-weight: 600; color: #64748b; }

@media (max-width: 767px) {
    .port-single-devices .device-row--single { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 28px; min-height: 0; padding: 0; }
    .port-single-devices .device-row--single .device-mockup { flex: none; max-width: 100%; min-width: 0; }
    .port-single-devices .device-row--single .device-desktop .device-frame { max-width: 280px; width: 100%; }
    .port-single-devices .device-row--single .device-tablet .device-frame { max-width: 200px; padding: 14px; }
    .port-single-devices .device-row--single .device-mobile .device-frame { max-width: 140px; padding: 10px 6px 14px; }
    .port-single-devices__wrap { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 1023px) {
    .port-single-details__grid { grid-template-columns: 1fr; }
    .port-single-aside { position: static; }
    .port-single-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
    .port-single-gallery__grid { grid-template-columns: 1fr; }
    .port-single-hero h1 { font-size: clamp(30px, 8vw, 40px); }
}

/* ========== Blog list (editorial surface – doc 9.2a) ========== */
.blog-stage { position: relative; overflow: clip; background: #eef2f7; }
.blog-stage__ambient { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blog-stage__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.42; }
.blog-stage__orb--a { width: min(48vw, 520px); height: min(48vw, 520px); top: -6%; left: -12%; background: rgba(123, 44, 191, 0.32); }
.blog-stage__orb--b { width: min(40vw, 420px); height: min(40vw, 420px); top: 18%; right: -14%; background: rgba(59, 130, 246, 0.22); }

.blog-hero {
    position: relative;
    z-index: 1;
    background: var(--page-hero-gradient);
    padding: clamp(64px, 10vw, 96px) 24px clamp(56px, 8vw, 80px);
    text-align: center;
    color: #fff;
    border-bottom: var(--page-hero-border);
}
.blog-hero__glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
    opacity: 0.9;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(233, 213, 255, 0.95);
}
.blog-hero h1 { font-family: var(--font-heading); font-size: clamp(38px, 5.5vw, 56px); font-weight: 700; margin: 0 0 14px; letter-spacing: -0.03em; line-height: 1.05; }
.blog-hero__lead { margin: 0 auto; max-width: 42rem; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.92); line-height: 1.65; }
.blog-hero__meta { margin-top: 22px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.blog-hero__meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.blog-wrap {
    position: relative;
    z-index: 1;
    padding: clamp(48px, 7vw, 72px) 0 clamp(56px, 8vw, 88px);
    background:
        radial-gradient(ellipse 120% 80% at 10% 0%, rgba(123, 44, 191, 0.07) 0%, transparent 45%),
        radial-gradient(ellipse 90% 60% at 92% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 42%),
        linear-gradient(180deg, #f1f5f9 0%, #eef2f7 40%, #e8edf3 100%);
}
.blog-wrap__gridfx {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image: linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    pointer-events: none;
}
.blog-wrap .container { position: relative; z-index: 1; max-width: 1600px; display: grid; grid-template-columns: 1fr minmax(260px, 300px); gap: clamp(24px, 3vw, 40px); align-items: start; }
.blog-main { min-width: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(28px, 4vw, 40px); }
.blog-featured { margin: 0 0 clamp(28px, 4vw, 40px); }

.blog-card {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.blog-card:hover {
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(123, 44, 191, 0.12);
    transform: translateY(-4px);
    border-color: rgba(123, 44, 191, 0.28);
}
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card .thumb { position: relative; aspect-ratio: 1024/1204; overflow: hidden; background: #0f172a; }
.blog-card--placeholder .thumb { background: #020617; }
.blog-card .thumb picture,
.blog-card .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.blog-card .thumb picture { height: 100%; }
.blog-card .thumb img { object-position: center; }
.blog-card:hover .thumb img { transform: scale(1.035); }
.blog-card__thumb-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.25) 45%, rgba(15, 23, 42, 0.78) 100%);
}
.blog-card .body { padding: 26px 28px 30px; }
.blog-card__cat { display: inline-flex; margin-bottom: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #5b21b6; background: rgba(123, 44, 191, 0.1); border: 1px solid rgba(123, 44, 191, 0.22); border-radius: 999px; padding: 5px 10px; }
.blog-card .body h3 { font-family: var(--font-heading); font-size: clamp(20px, 1.35vw, 23px); margin: 0 0 12px; line-height: 1.28; color: #0f172a; letter-spacing: -0.02em; }
.blog-card .excerpt { font-size: 15px; color: #64748b; margin: 0 0 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; font-size: 12px; color: #64748b; font-weight: 600; }
.blog-card__meta-item { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 8px; background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; }
.blog-card__meta-item time { color: inherit; }
.blog-card .more { font-size: 14px; font-weight: 700; color: #5b21b6; letter-spacing: 0.02em; }
.blog-card .more::after { content: ' →'; opacity: 0.75; transition: transform 0.2s ease; display: inline-block; }
.blog-card:hover .more::after { transform: translateX(3px); }

.blog-card__featured-note {
    display: inline-flex;
    align-items: center;
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #c4b5fd;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(196, 181, 253, 0.35);
}
.blog-card__featured-note::before { content: ''; width: 6px; height: 6px; border-radius: 999px; margin-right: 8px; background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 0 10px rgba(167, 139, 250, 0.7); }

.blog-card--stripe { border-left: 3px solid #7b2cbf; padding-left: 0; }

.blog-card--hero {
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(135deg, #fff 0%, #faf5ff 55%, #f8fafc 100%);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.blog-card--hero:hover { transform: translateY(-5px); box-shadow: 0 32px 64px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(123, 44, 191, 0.15); }
.blog-card--hero a { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 100%; }
.blog-card--hero .thumb { aspect-ratio: auto; min-height: min(52vh, 520px); max-height: 620px; }
.blog-card--hero .body {
    padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: -32px 0 48px rgba(15, 23, 42, 0.04);
}
.blog-card--hero .blog-card__cat { margin-bottom: 14px; }
.blog-card--hero .body h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.035em; color: #0f172a; }
.blog-card--hero .excerpt {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 50ch;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card--hero .blog-card__meta { margin-bottom: 14px; }
.blog-card--hero .blog-card__meta-item { background: #fff; border-color: #e8e0f5; color: #334155; }
.blog-card--hero .more { margin-top: auto; font-size: 15px; }
.blog-card__byline { margin-top: 4px; margin-bottom: 8px; }
.blog-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: linear-gradient(145deg, #5b21b6 0%, #312e81 100%);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 20px rgba(91, 33, 182, 0.35);
}

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.blog-pagination a { display: inline-block; padding: 10px 16px; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, 0.8); transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.blog-pagination a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.blog-pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

.blog-sidebar { position: sticky; top: 100px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.blog-sidebar__panel {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-sidebar__panel:hover { border-color: rgba(123, 44, 191, 0.22); box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.blog-sidebar__panel--cta:hover {
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.45);
}
.blog-sidebar__kicker {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7b2cbf;
}
.blog-sidebar h3 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 12px; letter-spacing: -0.02em; }
.blog-sidebar .search-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
}
.blog-sidebar .search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.12); }
.blog-sidebar__panel--cta { background: linear-gradient(160deg, rgba(30, 27, 75, 0.94) 0%, rgba(15, 23, 42, 0.97) 100%); border-color: rgba(99, 102, 241, 0.35); color: #e2e8f0; }
.blog-sidebar__panel--cta .blog-sidebar__kicker { color: #c4b5fd; }
.blog-sidebar__cta-text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: rgba(226, 232, 240, 0.9); }
.blog-sidebar__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-sidebar__cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(91, 33, 182, 0.45); }
.blog-sidebar .cat-list { list-style: none; margin: 0; padding: 0; }
.blog-sidebar .cat-list li { margin: 0; border-bottom: 1px solid rgba(226, 232, 240, 0.9); }
.blog-sidebar .cat-list li:first-child { border-top: 1px solid rgba(226, 232, 240, 0.9); }
.blog-sidebar .cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.blog-sidebar .cat-list a:hover { color: #5b21b6; padding-left: 4px; }
.cat-list__count { font-size: 12px; font-weight: 700; color: #94a3b8; }
.blog-sidebar .tags { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-sidebar .tags a {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    background: rgba(241, 245, 249, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.blog-sidebar .tags a:hover { background: rgba(237, 233, 254, 0.95); color: #5b21b6; border-color: rgba(123, 44, 191, 0.35); transform: translateY(-1px); }
.blog-sidebar .recent { list-style: none; margin: 0; padding: 0; }
.blog-sidebar .recent li { margin-bottom: 12px; }
.blog-sidebar .recent a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.blog-sidebar .recent a:hover .title { color: var(--primary); }
.blog-sidebar .recent img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; border: 1px solid rgba(148, 163, 184, 0.25); }
.blog-sidebar .recent .title { flex: 1; min-width: 0; }

@media (max-width: 1023px) {
    .blog-wrap .container { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-card--hero a { grid-template-columns: 1fr; }
    .blog-card--hero .thumb { min-height: min(42vh, 400px); max-height: none; }
    .blog-card--hero .body { box-shadow: none; padding-top: 24px; }
    .blog-card--hero .body h3 { font-size: clamp(26px, 5vw, 34px); }
}

/* ========== Blog single ========== */
.blog-single { padding: 56px 0 74px; background: transparent; }
.blog-single__shell { max-width: 1160px; }
.blog-single__head { margin-bottom: 26px; padding: 22px 24px; border-radius: 16px; border: var(--page-card-border); background: #FFF; box-shadow: var(--page-card-shadow); }
.blog-single .breadcrumb { font-size: 13px; margin-bottom: 14px; color: #64748B; }
.blog-single .breadcrumb a { color: var(--primary); text-decoration: none; }
.blog-single h1 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 700; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.02em; }
.blog-single .meta { margin: 0 0 14px; color: #64748B; font-size: 14px; }
.blog-single__lead { margin: 0 0 22px; max-width: 860px; font-size: 20px; line-height: 1.7; color: #475569; }
.blog-single .cat-tag { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(123,44,191,0.24); background: rgba(123,44,191,0.08); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: #5B21B6; }
.blog-single .cat-tag:hover { background: rgba(123,44,191,0.14); text-decoration: none; }
.blog-single-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-single-share > span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #6B7280; font-weight: 700; margin-right: 4px; }
.blog-single-share a { width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(148,163,184,0.35); color: #475569; background: #FFF; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.blog-single-share a svg { width: 16px; height: 16px; }
.blog-single-share a:hover { transform: translateY(-1px); border-color: rgba(123,44,191,0.4); color: #5B21B6; }
.blog-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.blog-single__main { min-width: 0; border: var(--page-card-border); background: #FFF; border-radius: 16px; padding: 20px; box-shadow: var(--page-card-shadow); }
.blog-single__aside { position: sticky; top: 102px; }
.blog-single .featured-img { margin: 0 0 22px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(148,163,184,0.22); box-shadow: 0 14px 28px rgba(15,23,42,0.08); }
.blog-single .content { font-size: 18px; line-height: 1.75; color: var(--text); }
.blog-single .content img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; display: block; }
.blog-single .content figure { margin: 24px 0; }
.blog-single .content figcaption { font-size: 14px; color: #64748B; margin-top: 8px; line-height: 1.45; }
.blog-single .content iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 220px; border: 0; border-radius: 12px; margin: 24px 0; display: block; }
.blog-single .content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95em; }
.blog-single .content th, .blog-single .content td { border: 1px solid rgba(148, 163, 184, 0.45); padding: 10px 12px; text-align: left; }
.blog-single .content th { background: #F8FAFC; font-weight: 600; }
.blog-single .content a { color: var(--primary); }
.blog-single .content blockquote { border-left: 4px solid var(--primary); padding-left: 24px; margin: 24px 0; font-style: italic; color: var(--text-gray); }
.blog-single .content p { margin: 0 0 18px; }
.blog-single .content h2, .blog-single .content h3 { margin: 30px 0 12px; letter-spacing: -0.01em; }
.blog-single .content ul, .blog-single .content ol { padding-left: 22px; margin: 0 0 18px; }
.blog-single .tags-list { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.blog-single .tags-list > span { font-size: 13px; color: #64748B; margin-right: 4px; }
.blog-single .tags-list a { display: inline-flex; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(148,163,184,0.34); text-decoration: none; color: #374151; background: #FFF; font-size: 13px; }
.blog-single .tags-list a:hover { border-color: rgba(123,44,191,0.38); color: #5B21B6; background: rgba(123,44,191,0.06); }
.blog-single-author { display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 14px; border: 1px solid rgba(148,163,184,0.22); border-radius: 14px; background: #FFF; padding: 16px; box-shadow: 0 8px 20px rgba(15,23,42,0.05); }
.blog-single-author .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.blog-single-author .name { margin: 0 0 6px; font-size: 16px; }
.blog-single-author .bio { margin: 0 0 10px; font-size: 13px; color: #64748B; line-height: 1.55; }
.blog-single-author .social { display: flex; gap: 6px; }
.blog-single-author .social a { color: var(--text-gray); text-decoration: none; }
.blog-single-author .social svg { width: 16px; height: 16px; }
.blog-single-author .social a:hover { color: var(--primary); }

/* ========== Errors ========== */
section[style*="padding: 80px"] .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== Responsive – global ========== */
@media (max-width: 639px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .site-header { padding: 12px 0; }
    .site-header__logo img { height: 40px; max-width: 210px; }
}

/* ========== Responsive – home ========== */
@media (max-width: 1023px) {
    body.home .home-hero__grid { gap: 32px; }
    body.home .home-hero h1 { font-size: 48px; }
    body.home .home-trust__logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.home .home-differentiators__grid { grid-template-columns: repeat(2, 1fr); }
    body.home .home-selected-work__grid { grid-template-columns: 1fr; }
    body.home .home-featured-case__grid { grid-template-columns: 1fr; }
    body.home .home-proof__grid { grid-template-columns: 1fr; }
    body.home .home-metrics__item { border-right: 0; border-bottom: 1px solid rgba(148,163,184,0.28); padding: 14px 8px; }
    body.home .home-metrics__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 767px) {
    body.home .home-hero { padding: 24px 0 32px; }
    body.home .home-hero__grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    body.home .home-hero h1 { font-size: 44px; }
    body.home .home-hero p { font-size: 16px; }
    body.home .home-section { padding: 32px 0; }
    body.home .home-section h2 { font-size: 24px; margin-bottom: 20px; }
    body.home .home-process__intro { margin-bottom: 28px; padding: 0 16px; font-size: 15px; }
    body.home .home-process__card { padding: 20px 16px; min-height: 180px; }
    body.home .home-process__label { font-size: 16px; }
    body.home .home-process__desc { font-size: 14px; }
    body.home .home-cta { padding: 40px 16px; }
    body.home .home-cta h2 { font-size: 24px; }
    body.home .home-cta p { font-size: 16px; margin-bottom: 20px; }
    body.home .home-tech-strip { padding: 24px 0; }
    body.home .home-tech-strip__icons { gap: 32px; padding: 0 20px; }
    body.home .home-tech-strip__icons svg { width: 24px; height: 24px; }
    body.home .home-featured-case__stats { grid-template-columns: 1fr; }
    body.home .home-signature__text { font-size: clamp(22px, 7vw, 30px); }
}
@media (max-width: 639px) {
    body.home .home-section { padding: 28px 0; }
    body.home .home-trust__logos { grid-template-columns: 1fr; }
    body.home .home-differentiators__grid { grid-template-columns: 1fr; }
    body.home .home-selected-work__body { padding: 16px; }
    body.home .home-selected-work__body h3 { font-size: 20px; }
    body.home .home-selected-work__stats { grid-template-columns: 1fr; }
    body.home .home-metrics__item { border-bottom: 1px solid rgba(148,163,184,0.28); }
    body.home .home-metrics__item:last-child { border-bottom: 0; }
    body.home .home-business-highlights { padding: 40px 0 44px; }
    body.home .home-business__row .home-business__icon { width: 44px; height: 44px; }
    body.home .home-process__intro { padding: 0 4px; }
}
@media (max-width: 480px) {
    body.home .home-hero h1 { font-size: 36px; }
    body.home .home-section h2 { font-size: 22px; }
    body.home .home-business-highlights__head h2 { font-size: clamp(24px, 6.5vw, 30px); }
}

/* ========== Responsive – About ========== */
@media (max-width: 767px) {
    .about-hero { padding: 40px 16px; min-height: auto; }
    .about-hero h1 { font-size: 32px; }
    .about-hero .subtitle { font-size: 16px; }
    .about-intro { padding: 40px 0; }
    .about-intro h2 { font-size: 24px; }
    .about-values { padding: 40px 0; }
    .about-values h2 { font-size: 24px; margin-bottom: 28px; }
    .about-team { padding: 40px 0; }
    .about-team h2 { font-size: 24px; margin-bottom: 28px; }
    .about-timeline { padding: 40px 0; }
    .about-timeline h2 { font-size: 24px; margin-bottom: 28px; }
    .about-timeline .line { padding-left: 36px; }
    .about-timeline .node::before { left: -32px; }
}
@media (max-width: 639px) {
    .about-hero h1 { font-size: 26px; }
    .about-intro .img-wrap { max-width: 100%; }
}

/* ========== Responsive – Contact ========== */
@media (max-width: 1023px) {
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form-card { padding: 28px 24px; }
    .contact-sidebar__card { padding: 24px; }
    .contact-sidebar { position: static; }
}
@media (max-width: 639px) {
    .contact-wrap { padding: 32px 0 0; }
    .contact-header h1 { font-size: 28px; }
    .contact-header__subtitle { font-size: 16px; margin-bottom: 16px; }
    .contact-header__meta { gap: 8px; }
    .contact-form-card { padding: 24px 20px; }
    .contact-form-card__head h2 { font-size: 21px; }
    .contact-form__row { grid-template-columns: 1fr; gap: 0; }
    .contact-form__row .field { margin-bottom: 20px; }
    .contact-sidebar__card { padding: 20px; }
    .contact-info__item { padding: 10px 0; }
    .contact-map-section { margin-top: 32px; }
    .contact-map-full__wrap { height: min(72vh, 520px); border-radius: 12px 12px 0 0; }
}

/* ========== Responsive – Business (.business-*) ========== */
@media (max-width: 767px) {
    .business-hero { padding: 52px 18px 44px; }
    .business-hero h1 { font-size: clamp(32px, 9vw, 44px); max-width: none; }
    .business-hero__subtitle { font-size: 16px; }
    .business-band__inner { padding: clamp(40px, 8vw, 64px) 0; }
    .business-panel { padding: 24px 18px; border-radius: 14px; }
    .business-lede__title { font-size: clamp(24px, 6vw, 32px); }
    .business-lede__text { font-size: 16px; }
    .business-lede__meta { font-size: 13px; }
    .business-capabilities__head { margin-bottom: 20px; }
    .business-capabilities__lead { font-size: 15px; }
    .business-timeline::before { left: 15px; }
    .business-timeline__step { grid-template-columns: 32px 1fr; gap: 12px 16px; padding-bottom: 24px; }
    .business-timeline__badge { width: 32px; height: 32px; font-size: 12px; }
    .business-timeline__title { font-size: 17px; }
    .business-systems__grid { grid-template-columns: 1fr; }
    .business-value__grid { gap: 28px; }
    .business-value__col--aside { padding: 20px 18px; }
    .business-faq__trigger { font-size: 15px; padding: 16px 16px; }
    .business-faq__panel { padding: 0 16px; }
    .business-cta { padding: 48px 18px 56px; }
    .business-band__title { font-size: clamp(24px, 5.5vw, 32px); }
}
@media (max-width: 639px) {
    .business-hero__eyebrow { letter-spacing: 0.14em; }
    .business-cta__content h2 { font-size: 24px; }
}

/* ========== Responsive – Portfolio ========== */
@media (max-width: 767px) {
    .port-hero { padding: 56px 16px 48px; }
    .port-hero h1 { font-size: clamp(36px, 9vw, 52px); }
    .port-hero__lead { font-size: 16px; }
    .port-filter { margin-top: -20px; padding: 0 0 4px; }
    .port-filter__track { justify-content: flex-start; border-radius: 18px; }
    .port-stage { padding: 28px 0 48px; }
    .port-featured { grid-template-columns: 1fr; }
    .port-featured__media { min-height: clamp(280px, 42vh, 400px); }
    .port-featured__title { font-size: clamp(26px, 6vw, 34px); }
    .port-spotlight { grid-template-columns: 1fr; }
    .port-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .port-single-devices.port-single-band--devices { padding-top: clamp(44px, 10vw, 80px); }
    .port-single-hero { padding: 60px 16px 52px; min-height: 40vh; }
    .port-single-hero h1 { font-size: 28px; }
    .port-single-details { padding: 40px 0; }
}
@media (max-width: 639px) {
    .port-hero h1 { font-size: 32px; }
    .port-mosaic { grid-template-columns: 1fr; }
    .port-card--tile.port-card--wide,
    .port-card--tile.port-card--tall { grid-column: span 1; grid-row: span 1; }
    .port-featured__body { padding: 22px 18px 28px; }
    .port-featured__title { font-size: 24px; }
}

/* ========== Responsive – Blog ========== */
@media (max-width: 767px) {
    .blog-hero { padding: 48px 16px 44px; }
    .blog-hero h1 { font-size: 32px; }
    .blog-hero__lead { font-size: 16px; }
    .blog-hero__meta { margin-top: 14px; }
    .blog-wrap { padding: 32px 0; }
    .blog-grid { grid-template-columns: 1fr; gap: 28px; }
    .blog-card .body { padding: 24px; }
    .blog-card .body h3 { font-size: 20px; }
    .blog-card--hero .thumb { min-height: 230px; }
    .blog-card--hero .body { padding: 24px; }
    .blog-card--hero .body h3 { font-size: 26px; }
    .blog-sidebar { position: static; }
    .blog-single__lead { font-size: 17px; }
    .blog-single__head { padding: 16px; }
    .blog-single__layout { grid-template-columns: 1fr; }
    .blog-single__main { padding: 16px; }
    .blog-single__aside { position: static; }
}
@media (max-width: 639px) {
    .blog-hero h1 { font-size: 26px; }
    .blog-single h1 { font-size: 28px; }
    .blog-single .content { font-size: 16px; }
}

/* ========== Error pages (404: layout + main.css; 500: standalone + main.css) ========== */
.error-404 { padding: 80px 0; text-align: center; }
.error-404__title { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--text); margin: 0 0 16px; }
.error-404__lead { font-size: 18px; color: var(--text-gray); margin: 0 0 24px; }
.error-404__btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #FFF;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
}
.error-404__btn:hover { opacity: 0.95; color: #FFF; text-decoration: none; }
@media (max-width: 767px) {
    .error-404 { padding: 48px 0; }
    .error-404__title { font-size: 32px; }
}

body.error-500 {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: var(--bg);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
}
.error-500__box { max-width: 480px; }
.error-500__title { font-size: 28px; margin: 0 0 16px; }
.error-500__lead { color: var(--text-gray); margin: 0 0 24px; }
.error-500__pre {
    text-align: left;
    background: #FEE2E2;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    overflow: auto;
    max-height: 40vh;
    margin: 0 0 24px;
}
.error-500__link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    background: var(--primary);
    color: #FFF;
    font-weight: 500;
    text-decoration: none;
}
.error-500__link:hover { opacity: 0.95; color: #FFF; }

/* A11y – respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
