/* =========================================================
   BSPOKE Software – Optimisation Site
   Brand: Poppins font, #039F03 primary green
   ========================================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:        #026b02;
    --green-dark:   #025002;
    --green-bright: #039F03;
    --green-light:  #e8f5e9;
    --ink:          #111827;
    --ink-mid:      #374151;
    --ink-soft:     #6b7280;
    --border:       #e5e7eb;
    --bg-light:     #f9fafb;
    --white:        #ffffff;
    --radius:       8px;
    --radius-lg:    14px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:    0 8px 32px rgba(0,0,0,.12);
    --frame:        1400px;
    --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-bright); }

/* --- Utility --- */
.frame {
    max-width: var(--frame);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.section--dark {
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* ── Animatable custom properties for independent orb drift ── */
@property --s-orb1-x { syntax: '<percentage>'; inherits: false; initial-value: 10%; }
@property --s-orb1-y { syntax: '<percentage>'; inherits: false; initial-value: 28%; }
@property --s-orb2-x { syntax: '<percentage>'; inherits: false; initial-value: 88%; }
@property --s-orb2-y { syntax: '<percentage>'; inherits: false; initial-value: 74%; }
@property --s-orb3-x { syntax: '<percentage>'; inherits: false; initial-value: 52%; }
@property --s-orb3-y { syntax: '<percentage>'; inherits: false; initial-value: 55%; }

/* ── Animated green-glow orbs - each drifts independently ── */
.section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--s-orb1-x) var(--s-orb1-y), rgba(3,159,3,.30) 0%, transparent 46%),
        radial-gradient(circle at var(--s-orb2-x) var(--s-orb2-y), rgba(3,140,3,.20) 0%, transparent 42%),
        radial-gradient(circle at var(--s-orb3-x) var(--s-orb3-y), rgba(6,200,6,.12) 0%, transparent 38%);
    filter: blur(90px);
    animation: sectionOrbDrift 22s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}
/* ── Subtle dot-grid overlay matching the hero grid ── */
.section--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.048) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.048) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 45%, black 22%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 22%, transparent 72%);
    pointer-events: none;
    z-index: -1;
}
/* Each orb drifts to a different position - produces organic floating glow */
@keyframes sectionOrbDrift {
    0%   { --s-orb1-x: 10%; --s-orb1-y: 28%; --s-orb2-x: 88%; --s-orb2-y: 74%; --s-orb3-x: 52%; --s-orb3-y: 55%; }
    25%  { --s-orb1-x: 18%; --s-orb1-y: 18%; --s-orb2-x: 80%; --s-orb2-y: 82%; --s-orb3-x: 60%; --s-orb3-y: 46%; }
    50%  { --s-orb1-x:  6%; --s-orb1-y: 36%; --s-orb2-x: 92%; --s-orb2-y: 64%; --s-orb3-x: 44%; --s-orb3-y: 62%; }
    75%  { --s-orb1-x: 20%; --s-orb1-y: 24%; --s-orb2-x: 78%; --s-orb2-y: 80%; --s-orb3-x: 58%; --s-orb3-y: 50%; }
    100% { --s-orb1-x: 14%; --s-orb1-y: 20%; --s-orb2-x: 84%; --s-orb2-y: 70%; --s-orb3-x: 48%; --s-orb3-y: 58%; }
}
.section--green { background: var(--green); color: var(--white); }
.section--light { background: var(--bg-light); }

.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-soft { color: var(--ink-soft); }
.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;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.25vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
/* Keep heading-to-copy spacing consistent when defaults are reset. */
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { margin-top: .75rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: .75rem;
}
.section--dark .eyebrow { color: #6ee86e; }

.lead {
    font-size: 1.15rem;
    color: var(--ink-mid);
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: .75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
    line-height: 1.4;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-bright);
    border-color: var(--green-bright);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3,159,3,.35);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-outline:hover {
    background: var(--green-bright);
    border-color: var(--green-bright);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.5);
}
.btn-ghost-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

/* --- Header / Nav --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    max-width: var(--frame);
    margin: 0 auto;
}

.site-logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }

.main-nav a {
    color: var(--ink-mid);
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem .85rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green); background: var(--green-light); }

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.nav-dropdown-toggle::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle::after { transform: translateY(1px) rotate(-135deg); }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: .75rem .5rem .5rem;
    z-index: 200;
}
/* Bridge gap so mouse can move to dropdown without losing hover */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -.75rem;
    left: 0;
    right: 0;
    height: .75rem;
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    border-radius: var(--radius);
    color: var(--ink-mid);
    font-size: .88rem;
    font-weight: 500;
}
.dropdown-menu a:hover { background: var(--green-light); color: var(--green); }

.dropdown-menu .dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .4rem .5rem 0;
    padding: .65rem 1rem;
    border-top: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--green);
    font-size: .85rem;
    font-weight: 600;
    gap: .5rem;
}
.dropdown-menu .dropdown-view-all:hover {
    background: var(--green-light);
    color: var(--green-dark);
}
.dropdown-menu .dropdown-view-all svg { flex-shrink: 0; }

.header-cta { margin-left: 1rem; }
.header-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}
.header-cta-text--short { display: none; }
.header-cta .btn {
    padding: .5rem 1.25rem;
    font-size: .82rem;
    font-weight: 600;
    background: transparent;
    color: var(--green);
    border-color: var(--green);
    border-width: 1.5px;
    letter-spacing: .01em;
}
.header-cta .btn:hover {
    background: var(--green);
    color: var(--white);
    transform: none;
    box-shadow: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: .5rem;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    background: #0a1628;
    color: var(--white);
    padding: 7rem 0 6.5rem;
    position: relative;
    overflow: hidden;
}

/* Animated background system */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}
.hero-bg-orb--1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(3,159,3,.38) 0%, transparent 62%);
    top: -280px;
    left: -200px;
    animation: heroOrb1 20s ease-in-out infinite alternate;
}
.hero-bg-orb--2 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(3,140,3,.26) 0%, transparent 62%);
    bottom: -140px;
    right: -120px;
    animation: heroOrb2 26s ease-in-out infinite alternate;
}
.hero-bg-orb--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6,200,6,.18) 0%, transparent 62%);
    top: 40%;
    left: 55%;
    animation: heroOrb3 18s ease-in-out infinite alternate;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

@keyframes heroOrb1 {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(130px, 100px) scale(1.2); opacity: .75; }
}
@keyframes heroOrb2 {
    0%   { transform: translate(0, 0) scale(1); opacity: .85; }
    100% { transform: translate(-120px, -90px) scale(1.25); opacity: 1; }
}
@keyframes heroOrb3 {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: .7; }
    100% { transform: translate(-42%, -60%) scale(1.4); opacity: 1; }
}

.hero-content--full {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.05fr .75fr;
    gap: 1.5rem;
    align-items: center;
}

.hero--split .hero-content {
    max-width: none;
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    overflow: hidden;
    transform: rotate(1.5deg);
    border: 1px solid rgba(110,232,110,.18);
    box-shadow:
        0 28px 72px rgba(0,0,0,.55),
        0 0 0 1px rgba(110,232,110,.07) inset;
}

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

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(3,159,3,.15);
    border: 1px solid rgba(3,159,3,.3);
    color: #6ee86e;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.hero-kicker-dot {
    width: 7px;
    height: 7px;
    background: #6ee86e;
    border-radius: 50%;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.4rem;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.hero h1 em {
    font-style: normal;
    color: #6ee86e;
    position: relative;
    white-space: nowrap;
}
.hero h1 em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6ee86e, rgba(110,232,110,.3));
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.12);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.hero-trust-item {
    display: flex;
    flex-direction: column;
}
.hero-trust-item strong {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}
.hero-trust-item span {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    margin-top: .25rem;
    display: block;
    white-space: nowrap;
}
.hero-trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,.18); flex-shrink: 0; }

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* --- Hero Team Card --- */
.hero-team-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    background: linear-gradient(160deg, rgba(10,26,50,.98) 0%, rgba(5,16,34,.99) 100%);
    border: 1px solid rgba(110,232,110,.18);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow:
        0 28px 64px rgba(0,0,0,.5),
        0 0 0 1px rgba(110,232,110,.06) inset,
        0 0 80px rgba(3,159,3,.06) inset;
    overflow: hidden;
}
.hero-team-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(3,159,3,.14) 0%, transparent 65%);
    pointer-events: none;
}
.hero-team-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(3,100,3,.1) 0%, transparent 65%);
    pointer-events: none;
}
.htc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.htc-label {
    font-size: .75rem;
    font-weight: 600;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.htc-status {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(3,159,3,.14);
    border: 1px solid rgba(3,159,3,.3);
    color: #6ee86e;
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .65rem;
    border-radius: 999px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.htc-status-dot {
    width: 6px;
    height: 6px;
    background: #6ee86e;
    border-radius: 50%;
    animation: htcPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes htcPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(110,232,110,.5); }
    50% { opacity: .6; box-shadow: 0 0 0 4px rgba(110,232,110,0); }
}
.htc-members {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.1rem;
}
.htc-member {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    padding: .65rem .85rem;
    transition: background var(--transition), border-color var(--transition);
}
.htc-member:hover {
    background: rgba(3,159,3,.07);
    border-color: rgba(3,159,3,.2);
}
.htc-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.htc-avatar--a { background: linear-gradient(135deg, #1e7a1e 0%, #039F03 100%); color: #fff; box-shadow: 0 0 12px rgba(3,159,3,.35); }
.htc-avatar--b { background: linear-gradient(135deg, #155e75 0%, #0891b2 100%); color: #fff; }
.htc-avatar--c { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); color: #fff; }
.htc-member-info { flex: 1; min-width: 0; }
.htc-member-name {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
}
.htc-member-meta {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.4);
    margin-top: .08rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.htc-tag {
    font-size: .62rem;
    font-weight: 600;
    background: rgba(3,159,3,.16);
    border: 1px solid rgba(3,159,3,.28);
    color: #6ee86e;
    padding: .15rem .5rem;
    border-radius: 999px;
    letter-spacing: .04em;
    flex-shrink: 0;
    text-transform: uppercase;
}
.htc-activity {
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: .85rem 1rem;
    margin-bottom: 1.1rem;
}
.htc-activity-label {
    display: block;
    font-size: .65rem;
    font-weight: 600;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .55rem;
}
.htc-feed {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.htc-feed li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    line-height: 1.3;
}
.htc-feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.htc-feed-dot--green { background: #6ee86e; box-shadow: 0 0 6px rgba(110,232,110,.6); }
.htc-feed-dot--blue { background: #38bdf8; }
.htc-feed-dot--amber { background: #fbbf24; }
.htc-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
.htc-stat { flex: 1; text-align: center; }
.htc-stat-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}
.htc-stat-label {
    display: block;
    font-size: .65rem;
    color: rgba(255,255,255,.38);
    margin-top: .2rem;
    white-space: nowrap;
}
.htc-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
}

/* --- Hero Proof Pillars --- */
.hero-proof-strip {
    background: #0d1b2a;
    border-top: 1px solid rgba(110,232,110,.15);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 0;
}
.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-proof-card {
    position: relative;
    padding: 3.25rem 2.75rem 3.25rem 3rem;
    border-right: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
    transition: background .3s ease;
}
.hero-proof-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(3,159,3,.6), rgba(3,159,3,.1));
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity .3s ease;
}
.hero-proof-card:hover { background: rgba(3,159,3,.05); }
.hero-proof-card:hover::after { opacity: 1; }
.hero-proof-num {
    position: absolute;
    bottom: 1.5rem;
    right: 1.75rem;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255,255,255,.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
}
.hero-proof-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.hero-proof-head h4 { margin: 0; }
.hero-proof-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(3,159,3,.18), rgba(3,159,3,.08));
    border: 1px solid rgba(3,159,3,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 0 24px rgba(3,159,3,.2),
        0 4px 12px rgba(0,0,0,.25);
    transition: box-shadow .3s ease, background .3s ease;
}
.hero-proof-card:hover .hero-proof-icon {
    background: linear-gradient(145deg, rgba(3,159,3,.28), rgba(3,159,3,.14));
    box-shadow:
        0 0 44px rgba(3,159,3,.35),
        0 6px 16px rgba(0,0,0,.25);
}
.hero-proof-icon svg {
    width: 28px;
    height: 28px;
    color: #6ee86e;
}
.hero-proof-card h4 {
    font-size: 1.15rem;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: -.01em;
}
.hero-proof-card p {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: .88rem;
    line-height: 1.75;
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 0;
}
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}
.stat-item span {
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: .25rem;
    display: block;
}
.stats-divider { width: 1px; height: 50px; background: var(--border); }

/* --- Section Headers --- */
.section-header { margin-bottom: 3rem; }
.section-header.text-center .section-desc { max-width: 640px; margin: .75rem auto 0; }
.section-desc { color: var(--ink-mid); font-size: 1rem; }

/* --- Problem / Pain Section --- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.pain-grid--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pain-grid-label {
    grid-column: 1 / -1;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8bf38b;
    margin: .5rem 0 -.25rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(139,243,139,.25);
}
.text-green { color: #6ee86e; font-style: normal; }
.pain-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pain-card h4 {
    margin-bottom: .5em;
}
.pain-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(3,159,3,.38);
}
.pain-card-num {
    display: none;
}
.pain-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    border: 1px solid rgba(3,159,3,.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pain-card-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .65rem;
    margin-bottom: .75rem;
}
.pain-card-head .pain-icon {
    margin-bottom: 0;
}
.pain-card-head h4 {
    margin: 0 !important;
    font-size: 1.08rem;
    color: var(--ink);
}
.pain-icon svg {
    width: 20px;
    height: 20px;
    color: var(--green);
}
.pain-card p {
    font-size: .9rem;
    color: var(--ink-mid);
    margin: 0;
    line-height: 1.62;
}

.pain-section {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(3,159,3,.18) 0%, rgba(3,159,3,0) 40%),
        radial-gradient(circle at 86% 82%, rgba(110,232,110,.14) 0%, rgba(110,232,110,0) 36%),
        linear-gradient(155deg, #060f1f 0%, #08142a 52%, #0b1b35 100%);
    color: var(--white);
    overflow: hidden;
}
.pain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 30%),
        linear-gradient(300deg, rgba(3,159,3,.1) 0%, rgba(3,159,3,0) 36%);
    pointer-events: none;
}
.pain-section .frame {
    position: relative;
    z-index: 1;
}
.pain-header .eyebrow {
    color: #8bf38b;
    background: rgba(110,232,110,.16);
    border: 1px solid rgba(139,243,139,.35);
    padding: .35rem .9rem;
    border-radius: 999px;
}
.pain-section .section-header.text-center .section-desc {
    max-width: 760px;
}
.pain-section .section-desc {
    color: rgba(255,255,255,.72);
}
.pain-section h2 {
    color: var(--white);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.pain-section .pain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.pain-section .pain-card {
    background: linear-gradient(170deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.03) 100%);
    border: 1px solid rgba(255,255,255,.16);
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(1,8,18,.3);
    backdrop-filter: blur(4px);
}
.pain-section .pain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139,243,139,.5);
    box-shadow: 0 20px 38px rgba(1,8,18,.42);
}
.pain-section .pain-icon {
    width: 40px;
    height: 40px;
    background: rgba(3,159,3,.18);
    border: 1px solid rgba(139,243,139,.35);
}
.pain-section .pain-card-head h4 {
    color: #ffffff;
}
.pain-section .pain-icon svg {
    color: #95f795;
}
.pain-section .pain-card p {
    color: rgba(255,255,255,.72);
}

/* --- Solution Section --- */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.solution-list { list-style: none; margin-top: 1.5rem; }
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
}
.solution-list li:last-child { border-bottom: none; }
.solution-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}
.solution-check svg { width: 14px; height: 14px; color: var(--green); }
.solution-list li div strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.solution-list li div p { font-size: .88rem; color: var(--ink-mid); margin: 0; }
.how-work-fit-callout {
    margin: 0 0 1.35rem;
    padding: .95rem 1rem;
    border-radius: 12px;
    border-left: 3px solid var(--green);
    background: linear-gradient(135deg, #f3faf3 0%, #edf8ed 100%);
    border-top: 1px solid rgba(3,159,3,.18);
    border-right: 1px solid rgba(3,159,3,.12);
    border-bottom: 1px solid rgba(3,159,3,.12);
}
.how-work-fit-callout p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.6;
    color: var(--ink-mid);
}

.solution-visual {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
}
.solution-visual h3 { color: var(--white); margin-bottom: 1rem; }
.solution-visual p { color: rgba(255,255,255,.85); font-size: .95rem; }

/* --- Process Section --- */
.process-section {
    position: relative;
}
.process-section--dark {
    background:
        radial-gradient(circle at 12% 18%, rgba(3,159,3,.22) 0%, rgba(3,159,3,0) 40%),
        radial-gradient(circle at 85% 82%, rgba(110,232,110,.14) 0%, rgba(110,232,110,0) 36%),
        linear-gradient(155deg, #071224 0%, #0a1830 50%, #0d1f3c 100%);
    color: var(--white);
    overflow: hidden;
}
.process-section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 68%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 68%);
    pointer-events: none;
}
.process-section--dark .frame {
    position: relative;
    z-index: 1;
}
.process-section--dark .eyebrow {
    color: #8bf38b;
}
.process-section--dark h2 {
    color: var(--white);
}
.process-section--dark .section-desc {
    color: rgba(255,255,255,.74);
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right, var(--green), var(--green-dark));
}
.process-step { text-align: center; padding: 0 1rem; position: relative; }
.step-num {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green);
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    background: var(--white);
}
.section--light .step-num { background: var(--bg-light); }
.process-step h4 { font-size: 1.08rem; margin-bottom: .5rem; }
.process-step p { font-size: .88rem; color: var(--ink-mid); }
.process-section--dark .process-steps::before {
    background: linear-gradient(to right, rgba(139,243,139,.65), rgba(139,243,139,.9));
}
.process-section--dark .step-num {
    background: rgba(9,23,43,.95);
    border-color: #95f795;
    color: #9cf99c;
    box-shadow: 0 8px 22px rgba(1,8,18,.35);
}
.process-section--dark .process-step h4 {
    color: #ffffff;
}
.process-section--dark .process-step p {
    color: rgba(255,255,255,.72);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
    margin-bottom: 1.1rem;
    border: 1px solid var(--border);
    background: #f7f9fb;
}
.service-card-icon-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--radius-lg) - 6px);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #071224 0%, #0a1830 55%, #0d1f3c 100%);
    border: 1px solid rgba(255,255,255,.06);
    position: relative;
    overflow: hidden;
}
.service-card-icon-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 28% 38%, rgba(3,159,3,.18) 0%, transparent 58%);
    pointer-events: none;
}
.service-card-icon-media svg {
    width: 72px;
    height: 72px;
    color: rgba(110,232,110,.85);
    position: relative;
    z-index: 1;
    stroke-width: 1.3;
}
.service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--green);
}
.service-icon {
    width: 48px;
    height: 48px;
    background: var(--green-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}
.service-icon svg { width: 26px; height: 26px; color: var(--green); }
.service-card-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .9rem;
}
.service-card-head .service-icon { align-self: center; flex-shrink: 0; }
.service-card-head h3 { margin: 0 !important; font-size: 1.18rem; line-height: 1.3; align-self: center; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 0; }
.service-card p { font-size: .9rem; color: var(--ink-mid); flex: 1; }
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .5rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--green);
}
.service-card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(3px); }

/* Core services layout: icon inline with title */
.services-grid--core .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: .8rem;
    row-gap: .8rem;
    align-items: start;
    height: 100%;
}
.services-grid--core .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}
.services-grid--core .service-icon svg {
    width: 22px;
    height: 22px;
}
.services-grid--core .service-card h3 {
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}
.services-grid--core .service-card p,
.services-grid--core .service-card-link {
    grid-column: 1 / -1;
}
.services-grid--core .service-card p {
    margin-top: .2rem;
    align-self: start;
}
.services-grid--core .service-card-link {
    margin-top: 0;
    align-self: end;
}

/* --- Case Study Cards --- */
/* ── Case Study Rows ── */
.case-study-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.case-study-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: row;
    min-height: 380px;
}
.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(3,159,3,.35);
}

/* ── Dark left panel: before → after diagram ── */
.csc-header {
    background: linear-gradient(155deg, #071224 0%, #0a1830 55%, #0d1f3c 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    width: 38%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}
.csc-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(3,159,3,.22) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(3,140,3,.14) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Vertical before → after flow - space-between distributes evenly */
.csc-transform {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    flex: 1;
    gap: .75rem;
}
.csc-state {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    position: relative;
}
.csc-state--after {
    background: rgba(3,159,3,.11);
    border-color: rgba(3,159,3,.28);
}
.csc-state-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
}
.csc-state--after .csc-state-icon {
    background: rgba(3,159,3,.2);
    border-color: rgba(3,159,3,.35);
}
.csc-state-icon svg { width: 28px; height: 28px; color: rgba(255,255,255,.5); stroke-width: 1.4; }
.csc-state--after .csc-state-icon svg { color: #6ee86e; }
.csc-state-content { flex: 1; }
.csc-state-tag {
    position: absolute;
    top: .75rem;
    right: .75rem;
    display: inline-flex;
    align-items: center;
    padding: .14rem .52rem;
    border-radius: 999px;
    font-size: .57rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.4);
    border: 1px solid rgba(255,255,255,.12);
}
.csc-state--after .csc-state-tag {
    background: rgba(3,159,3,.2);
    border-color: rgba(110,232,110,.32);
    color: rgba(110,232,110,.85);
}
.csc-state-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    line-height: 1.3;
    margin-bottom: .3rem;
}
.csc-state-detail {
    display: block;
    font-size: .74rem;
    color: rgba(255,255,255,.4);
    line-height: 1.55;
}
.csc-state--after .csc-state-detail { color: rgba(110,232,110,.58); }

/* Centred down-arrow connector */
.csc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,.22);
    gap: .5rem;
}
.csc-arrow::before,
.csc-arrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
    max-width: 3rem;
}
.csc-arrow svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Stat bar pinned to bottom of left panel */
.csc-stat-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 1;
}
.csc-stat { display: flex; align-items: flex-start; gap: .45rem; width: 100%; }
.csc-stat strong { font-size: 1.75rem; font-weight: 800; color: #6ee86e; line-height: 1; flex-shrink: 0; }
.csc-stat span { font-size: .7rem; color: rgba(255,255,255,.45); font-weight: 500; line-height: 1.35; flex: 1; padding-top: .15rem; }
.csc-tags { display: flex; flex-wrap: wrap; gap: .32rem; }
.csc-tag {
    display: inline-block;
    padding: .18rem .5rem;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    background: rgba(110,232,110,.15);
    border: 1px solid rgba(139,243,139,.26);
    color: #9cf99c;
}
.csc-tag--sector {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.11);
    color: rgba(255,255,255,.42);
}

/* ── Right narrative panel ── */
.case-study-card-body {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-left: 1px solid var(--border);
}
.case-study-card-body h3 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 0 0 1.5rem;
    color: var(--ink);
    font-weight: 700;
}
.csc-sections { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.csc-section-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .3rem;
}
.csc-section-text { margin: 0; font-size: .93rem; color: var(--ink-mid); line-height: 1.72; }
.csc-quote {
    margin: 1.5rem 0 0;
    border-left: 3px solid var(--green);
    padding: .85rem 1.1rem;
    background: linear-gradient(135deg, #f3faf3, #eef8ee);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    font-size: .88rem;
    color: var(--ink-mid);
    line-height: 1.7;
}

/* Alternate: even cards flip the dark panel to the right */
.case-study-card:nth-child(even) { flex-direction: row-reverse; }
.case-study-card:nth-child(even) .case-study-card-body {
    border-left: none;
    border-right: 1px solid var(--border);
}

/* Responsive: stack on mobile */
@media (max-width: 820px) {
    .case-study-card { flex-direction: column !important; min-height: 0; }
    .csc-header { width: 100%; }
    .case-study-card-body { border-left: none !important; border-right: none !important; border-top: 1px solid var(--border); }
}

/* --- Industries --- */
.industries-section {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(3,159,3,.22) 0%, rgba(3,159,3,0) 38%),
        radial-gradient(circle at 82% 78%, rgba(110,232,110,.14) 0%, rgba(110,232,110,0) 34%),
        linear-gradient(155deg, #071224 0%, #0a1830 50%, #0d1f3c 100%);
    color: var(--white);
    overflow: hidden;
}
.industries-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 28%);
    pointer-events: none;
}
.industries-section .frame {
    position: relative;
    z-index: 1;
}
.industries-section .eyebrow {
    color: #8bf38b;
}
.industries-section h2 {
    color: var(--white);
}
.industries-section .section-desc {
    color: rgba(255,255,255,.75);
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.industry-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    min-height: 168px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.industry-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(3,12,28,.12) 18%, rgba(3,12,28,.75) 100%),
        var(--tile-bg, radial-gradient(circle at 25% 20%, rgba(110,232,110,.55) 0%, rgba(110,232,110,0) 42%), linear-gradient(145deg, #0a1932 0%, #102a4e 100%));
    background-size: cover;
    background-position: center;
    transition: transform var(--transition);
    z-index: -2;
}
.industry-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,14,26,0) 35%, rgba(8,14,26,.8) 100%);
    z-index: -1;
}
.industry-tile:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}
.industry-tile:hover::before {
    transform: scale(1.04);
}
.industry-tile svg { width: 36px; height: 36px; color: var(--green); margin: 0 auto .85rem; }
.industry-tile h4 {
    font-size: .95rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgba(2,10,24,.38);
    border: 1px solid rgba(255,255,255,.22);
}
.industry-tile--all::before,
.industry-tile--all::after {
    display: none;
}
.industry-tile--all {
    background: linear-gradient(145deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 100%);
    border-color: rgba(255,255,255,.22);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem 1rem;
}
.industry-tile--all:hover {
    background: linear-gradient(145deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 100%);
    border-color: rgba(139,243,139,.55);
}
.industry-all-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(3,159,3,.2);
    border: 1px solid rgba(139,243,139,.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.industry-all-icon svg {
    width: 20px;
    height: 20px;
    margin: 0;
    color: var(--green);
}
.industry-tile--all h4 {
    color: #ffffff;
    text-shadow: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}
.industry-all-text {
    font-size: .78rem;
    color: rgba(255,255,255,.72);
    line-height: 1.4;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--white); }
.testimonials-section h2 { color: var(--ink); }
.testimonials-section .eyebrow { color: var(--green-bright); }
.testimonials-section .section-desc { color: var(--ink-mid); }

.video-testimonial-wrap {
    margin: 0 auto 3.5rem;
    max-width: 820px;
    text-align: center;
}
.video-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.1);
}
.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-testimonial-label {
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--ink-soft);
    font-style: italic;
    letter-spacing: .03em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}
.testimonial-card--dark {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--green-light);
    font-family: Georgia, serif;
    opacity: .3;
}
.testimonial-card--dark::before { color: #6ee86e; opacity: .2; }
.testimonial-card p {
    font-size: .95rem;
    color: var(--ink-mid);
    font-style: italic;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}
.testimonial-card--dark p { color: rgba(255,255,255,.75); }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-initials,
.author-icon {
    width: 42px;
    height: 42px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.author-icon svg {
    width: 24px;
    height: 24px;
    color: var(--green);
    stroke-width: 1.5;
}
.author-initials--dark,
.testimonial-card--dark .author-icon {
    background: rgba(3,159,3,.2);
}
.testimonial-card--dark .author-icon svg { color: #6ee86e; }
.author-name { font-weight: 600; font-size: .9rem; }
.author-company { font-size: .8rem; color: var(--ink-soft); }
.testimonial-card--dark .author-company { color: rgba(255,255,255,.45); }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--ink) 0%, #1a2942 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(3,159,3,.12) 0%, transparent 65%);
    pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Inline CTA Strip --- */
.cta-strip {
    background: var(--white);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 24px rgba(3,12,28,.05);
}
.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: var(--frame);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.cta-strip p { color: var(--ink-mid); font-size: 1rem; font-weight: 400; margin: 0; max-width: 680px; line-height: 1.65; }

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: #0a1628;
    color: var(--white);
    padding: 4.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero-inner {
    max-width: 80%;
    position: relative;
    z-index: 1;
}
.page-hero h1 { color: var(--white); margin-bottom: .85rem; }
.page-hero .lead { color: rgba(255,255,255,.75); }

/* ── Page hero with right-hand image ── */
.page-hero-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3.5rem;
    align-items: center;
}

.page-hero--split .page-hero-inner {
    max-width: none;
}

.page-hero-image {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    transform: rotate(1.5deg);
    border: 1px solid rgba(110,232,110,.18);
    box-shadow:
        0 28px 72px rgba(0,0,0,.55),
        0 0 0 1px rgba(110,232,110,.07) inset;
}

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

.page-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
}

@media (max-width: 860px) {
    .page-hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .page-hero-image {
        width: 100%;
        max-width: 32rem;
        margin: 0 auto;
        transform: none;
        aspect-ratio: 16 / 9;
    }
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* --- Feature List (service pages) --- */
.feature-list { list-style: none; margin-top: .5rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .6rem 0;
}
.feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--green-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23039F03' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: .2rem;
}
.feature-list li span { font-size: .93rem; color: var(--ink-mid); line-height: 1.6; }
.feature-list--cross li::before {
    background-color: #fef3f2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e53935' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* --- Two-column content --- */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

/* --- FAQ --- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .35s ease, padding .35s ease; }
.faq-answer-inner { padding-bottom: 1.25rem; font-size: .93rem; color: var(--ink-mid); line-height: 1.75; }

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--green-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; color: var(--green); }
.contact-detail-text strong { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.contact-detail-text a, .contact-detail-text span { font-size: .95rem; color: var(--ink); }

.contact-form { background: var(--bg-light); border-radius: var(--radius-lg); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink-mid); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: .93rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(3,159,3,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
.form-error-msg { font-size: .76rem; color: #dc2626; margin-top: .3rem; display: none; }
.form-group.has-error .form-error-msg { display: block; }
.req { color: #dc2626; }

/* --- Form Mode Toggle --- */
.form-mode-toggle {
    display: flex;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 1rem;
}
.form-mode-btn {
    flex: 1;
    padding: .55rem 1rem;
    border: none;
    background: transparent;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.form-mode-btn.active {
    background: var(--green);
    color: #fff;
}
.form-mode-desc {
    font-size: .82rem;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
    min-height: 1.2em;
}

/* --- Spec Wizard Progress --- */
.wizard-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.wizard-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.wizard-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    color: var(--ink-soft);
    position: relative;
    z-index: 1;
    transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}
.wizard-progress-step.done .wizard-progress-dot {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}
.wizard-progress-step.active .wizard-progress-dot {
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 0 4px rgba(3,159,3,.15);
}
.wizard-progress-label {
    font-size: .65rem;
    color: var(--ink-soft);
    margin-top: .35rem;
    text-align: center;
    white-space: nowrap;
}
.wizard-progress-step.active .wizard-progress-label,
.wizard-progress-step.done .wizard-progress-label {
    color: var(--green);
    font-weight: 600;
}
.wizard-progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin-top: 13px;
    transition: background var(--transition);
    min-width: 8px;
}
.wizard-progress-line.done { background: var(--green); }

/* --- Wizard Steps --- */
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.wizard-step-heading { margin-bottom: 1.5rem; }
.wizard-step-heading h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.wizard-step-heading p { font-size: .83rem; color: var(--ink-soft); margin: 0; }

/* --- Card Selector --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    margin-bottom: 1.25rem;
}
.card-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: .8rem .9rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    user-select: none;
}
.card-option:hover {
    border-color: var(--green);
    background: rgba(3,159,3,.04);
}
.card-option.selected {
    border-color: var(--green);
    background: rgba(3,159,3,.07);
}
.card-option-icon { font-size: 1.15rem; line-height: 1.3; flex-shrink: 0; }
.card-option-text strong {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .15rem;
    line-height: 1.3;
}
.card-option.selected .card-option-text strong { color: var(--green); }
.card-option-text span { font-size: .75rem; color: var(--ink-soft); line-height: 1.4; }
.card-grid-error { font-size: .76rem; color: #dc2626; margin-top: -.5rem; margin-bottom: 1rem; display: none; }
.card-grid-error.visible { display: block; }

/* --- Wizard Nav --- */
.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.wizard-step-count { font-size: .8rem; color: var(--ink-soft); }

/* --- Form Success --- */
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success h3 { margin-bottom: .75rem; }
.form-success p { color: var(--ink-mid); font-size: .95rem; }

/* --- Industry Case Study Snapshot Diagram --- */
/*
 * Layout: full-width horizontal diagram card on top row,
 * then Context / Challenge / Result in a 3-col row below.
 * The grid is 3 columns; .case-snap spans all three.
 */
.ind-cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Full-width dark card spanning all 3 columns */
.case-snap {
    grid-column: 1 / -1;
    background: linear-gradient(155deg, #071224 0%, #0a1830 55%, #0d1f3c 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.case-snap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(3,159,3,.18) 0%, transparent 48%),
        radial-gradient(circle at 88% 50%, rgba(3,140,3,.12) 0%, transparent 44%);
    pointer-events: none;
}

/* Horizontal before → after flow inside the wide card */
.case-snap .csc-transform {
    flex-direction: row;
    align-items: stretch;
    position: relative;
    z-index: 1;
    gap: 0;
}
.case-snap .csc-state { flex: 1; min-width: 0; }

/* Vertical connector between Before and After in horizontal mode */
.csd-arrow-h {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    gap: .3rem;
    flex-shrink: 0;
}
.csd-arrow-h::before,
.csd-arrow-h::after {
    content: '';
    flex: 1;
    width: 1px;
    background: rgba(255,255,255,.1);
}
.csd-arrow-h svg { width: 20px; height: 20px; color: rgba(255,255,255,.3); flex-shrink: 0; }

/* Stat / tag bar pinned to bottom of the wide card */
.case-snap-stat {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 860px) {
    .ind-cs-grid { grid-template-columns: 1fr 1fr; }
    .case-snap .csc-transform { flex-direction: column; }
    .csd-arrow-h { flex-direction: row; padding: .75rem 0; }
    .csd-arrow-h::before, .csd-arrow-h::after { width: auto; height: 1px; flex: 1; }
}
@media (max-width: 540px) {
    .ind-cs-grid { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 86px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-brand h6 {
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 1.5rem 0 1rem;
}
.footer-col h6 { color: var(--white); font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-line { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: .2rem; }
.footer-contact-line span, .footer-contact-line a { font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-contact-line a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: .75rem;
}
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .8rem;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--green); color: var(--white); }

/* --- Mobile Nav --- */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2000;
    overflow-y: auto;
    flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: .5rem;
}
.mobile-nav-close svg { width: 24px; height: 24px; }
.mobile-nav-links { padding: 1.5rem; flex: 1; }
.mobile-nav-links > a {
    display: block;
    padding: .85rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}
.mobile-nav-links > a:last-of-type { border-bottom: none; }

.mobile-nav-group {
    border-bottom: 1px solid var(--border);
}
.mobile-nav-group summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: .85rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
}
.mobile-nav-group summary::-webkit-details-marker {
    display: none;
}
.mobile-nav-group summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition);
    margin-right: .2rem;
}
.mobile-nav-group[open] summary::after {
    transform: rotate(-135deg);
}

.mobile-nav-submenu {
    padding: 0 0 .5rem 1rem;
}
.mobile-nav-submenu a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 0;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-mid);
}
.mobile-nav-submenu a::before {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: .65;
    flex-shrink: 0;
}
.mobile-nav-submenu a.active {
    color: var(--green);
}
.mobile-nav-submenu a.active::before {
    opacity: 1;
}
.mobile-nav-footer { padding: 1.5rem; }

/* =========================================================
   EXTENDED SECTIONS
   ========================================================= */

/* --- Reveal animation (only applied below the fold) --- */
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal-init.revealed { opacity: 1; transform: none; }
/* Prevent FOUC on page load before JS runs */
html:not(.js-loaded) [data-reveal] { opacity: 1 !important; transform: none !important; }

/* --- Image split section --- */
.img-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
    overflow-x: clip;
    --split-edge-gutter: max(1.5rem, calc((100vw - var(--frame)) / 2 + 1.5rem));
    --split-inner-gap: clamp(1.5rem, 3vw, 3rem);
}
#how-we-work.img-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.img-split-content {
    padding: 4rem var(--split-inner-gap) 4rem var(--split-edge-gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.img-split-content-inner {
    max-width: 560px;
    width: 100%;
    margin-left: 0;
}
.img-split-visual {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
#how-we-work .img-split-visual {
    display: block;
    overflow: visible;
    padding: 3rem var(--split-edge-gutter) 3rem var(--split-inner-gap);
}
.img-split-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.img-split-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,159,3,.6) 0%, rgba(0,80,0,.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    color: var(--white);
    text-align: center;
}
.img-split-visual-overlay h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .75rem; }
.img-split-visual-overlay p { color: rgba(255,255,255,.85); font-size: .95rem; }

/* --- AI Section --- */
.ai-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #0a1628 100%);
    color: var(--white);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}
.ai-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(3,159,3,.08) 0%, transparent 60%);
    pointer-events: none;
}
.ai-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(3,100,200,.06) 0%, transparent 60%);
    pointer-events: none;
}
.ai-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.ai-section h2 { color: var(--white); }
.ai-section .eyebrow { color: #6ee86e; }
.ai-section .lead { color: rgba(255,255,255,.75); }
.ai-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    margin-top: 2rem;
}
.ai-capability {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: background var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}
.ai-capability::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 56px;
    height: 56px;
    background: rgba(3,159,3,.12);
    border-radius: 50%;
    transition: background var(--transition);
}
.ai-capability:hover {
    background: rgba(3,159,3,.1);
    border-color: rgba(3,159,3,.3);
}
.ai-capability:hover::after { background: rgba(3,159,3,.2); }
.ai-capability-header {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .5rem;
}
.ai-capability-icon {
    width: 36px;
    height: 36px;
    background: rgba(3,159,3,.2);
    border: 1px solid rgba(3,159,3,.25);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ai-capability-icon svg { width: 18px; height: 18px; color: #6ee86e; }
.ai-capability h4 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin: 0; line-height: 1.3; }
.ai-capability p { color: rgba(255,255,255,.62); font-size: .84rem; margin: 0; line-height: 1.6; }

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(3,159,3,.15);
    border: 1px solid rgba(3,159,3,.3);
    color: #6ee86e;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.ai-badge svg { width: 14px; height: 14px; }

/* --- Hourly Rate / Flexible Engagement --- */
.flex-model {
    background: var(--white);
}
.flex-model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.flex-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.flex-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--green);
    transform: translateY(-2px);
}
.flex-card-num {
    position: absolute;
    bottom: 0.75rem;
    right: 1.25rem;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: rgba(0,0,0,.045);
    pointer-events: none;
    user-select: none;
    font-variant-numeric: tabular-nums;
    z-index: 0;
}
.flex-card h4 { font-size: 1.1rem; margin-bottom: .6rem; position: relative; z-index: 1; }
.flex-card p { font-size: .88rem; color: var(--ink-mid); margin: 0; position: relative; z-index: 1; }
.flex-model-highlight {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.flex-model-highlight h3 { color: var(--white); margin-bottom: .5rem; }
.flex-model-highlight p { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; max-width: 600px; }

/* --- Tech Stack --- */
.tech-stack-section { background: var(--white); }
.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.tech-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.tech-category:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
}
.tech-category h5 {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--green-light);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.tech-category h5::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    flex-shrink: 0;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .3rem .75rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--ink-mid);
    transition: all var(--transition);
}
.tech-pill:hover {
    border-color: var(--border);
    color: var(--ink-mid);
    background: var(--bg-light);
    cursor: default;
}
.tech-pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    opacity: .5;
    flex-shrink: 0;
}

/* --- Client logos bar --- */
.clients-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 0;
    overflow: hidden;
}
.clients-bar-label {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}
.clients-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    min-height: 40px;
}
.client-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1) opacity(.5);
    transition: filter var(--transition), transform var(--transition);
    display: block;
}
.client-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* --- Section with bg image --- */
.section-bg-img {
    position: relative;
    overflow: hidden;
}
.section-bg-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    opacity: .06;
    pointer-events: none;
}

/* --- Numbered feature list --- */
.numbered-features { list-style: none; counter-reset: feat; }
.numbered-features li {
    counter-increment: feat;
    display: flex;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.numbered-features li:last-child { border-bottom: none; }
.numbered-features li::before {
    content: counter(feat, decimal-leading-zero);
    font-size: .8rem;
    font-weight: 700;
    color: #6ee86e;
    background: rgba(3,159,3,.2);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: .1rem;
}
.numbered-features li div strong { display: block; font-size: .95rem; margin-bottom: .25rem; color: var(--white); }
.numbered-features li div p { font-size: .88rem; color: rgba(255,255,255,.65); margin: 0; }

/* --- Split dark/light --- */
.half-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}
.half-split-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(3,159,3,.18) 0%, rgba(3,159,3,0) 40%),
        radial-gradient(circle at 84% 82%, rgba(110,232,110,.12) 0%, rgba(110,232,110,0) 34%),
        linear-gradient(155deg, #071224 0%, #0a1830 50%, #0d1f3c 100%);
}
.half-split-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 28%);
    pointer-events: none;
}
.half-split-band .half-split {
    max-width: var(--frame);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
.half-split--all-dark {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
}
.half-split-dark {
    background: var(--ink);
    color: var(--white);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.half-split-dark-inner {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}
.half-split-dark h2, .half-split-dark h3 { color: var(--white); }
.half-split-dark p { color: rgba(255,255,255,.75); }
.half-split-light {
    background: var(--bg-light);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Client name bar (text-based) --- */
.client-name {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    opacity: .65;
    transition: opacity var(--transition), color var(--transition);
    white-space: nowrap;
}
.client-name:hover { opacity: 1; color: var(--ink-mid); }
.client-sep {
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- img-split CSS-only visual --- */
.img-split-visual--css {
    background: linear-gradient(135deg, #039F03 0%, #027302 60%, #014d01 100%);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.img-split-visual--brand-dark {
    background: linear-gradient(145deg, #f7fafd 0%, #eef4fb 58%, #e6eef8 100%);
}
.img-split-visual--css::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 60%);
    pointer-events: none;
}
.img-split-visual-overlay--full {
    position: relative;
    inset: auto;
    background: none !important;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}
.img-split-delivery-panel {
    padding: 3.5rem var(--split-edge-gutter) 3.5rem var(--split-inner-gap);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
    position: relative;
    z-index: 1;
}
#how-we-work .img-split-delivery-panel {
    min-height: auto;
    width: min(560px, 100%);
    padding: 2rem;
    margin-top: 0;
    border-radius: 20px;
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
    position: sticky;
    top: calc(76px + 1.25rem);
}
#how-we-work .img-split-delivery-panel h3 {
    color: var(--ink);
    margin-bottom: .95rem;
}
.delivery-fit-note {
    margin: .65rem 0 1rem;
    padding: .7rem .85rem;
    background: linear-gradient(135deg, #f3faf3 0%, #eef8ee 100%);
    border: 1px solid rgba(3,159,3,.2);
    border-left: 3px solid var(--green);
    border-radius: 10px;
    color: var(--ink-mid);
    font-size: .83rem;
    line-height: 1.55;
}
#how-we-work .delivery-list {
    margin: 0 0 1rem;
}
#how-we-work .delivery-list li {
    border-bottom: 1px solid var(--border);
    color: var(--ink-mid);
}
#how-we-work .delivery-list li:last-child {
    border-bottom: none;
}
#how-we-work .delivery-list li svg {
    color: var(--green);
}
#how-we-work .delivery-stat-row {
    margin-top: 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
}
#how-we-work .delivery-stat strong {
    color: var(--ink);
}
#how-we-work .delivery-stat span {
    color: var(--ink-soft);
}
.img-split-delivery-panel > * {
    max-width: 560px;
    width: 100%;
    margin-left: auto;
}
#how-we-work .img-split-delivery-panel > * {
    margin-left: 0;
}
.delivery-list {
    list-style: none;
    margin: 1.5rem 0;
    width: 100%;
}
.delivery-list li {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: .95rem;
    color: rgba(255,255,255,.9);
}
.delivery-list li:last-child { border-bottom: none; }
.delivery-list li svg {
    width: 18px;
    height: 18px;
    color: #6ee86e;
    flex-shrink: 0;
}
.delivery-stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.15);
}
.delivery-stat { display: flex; flex-direction: column; }
.delivery-stat strong { font-size: 1.75rem; font-weight: 800; color: #ffffff; line-height: 1; }
.delivery-stat span { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* --- Half-split proof panel --- */
.half-split-proof {
    background: var(--bg-light);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
}
.half-split-proof-inner {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}
.half-split--all-dark .half-split-dark {
    background: transparent;
    padding: 3rem 0;
}
.half-split--all-dark .half-split-proof {
    background: transparent;
    padding: 3rem 0;
}
.half-split--all-dark .half-split-dark-inner {
    max-width: 620px;
    margin: 0 auto 0 0;
}
.half-split--all-dark .half-split-proof-inner {
    max-width: 580px;
    padding: 1.15rem;
    margin: 0 0 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(160deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 100%);
    box-shadow: 0 20px 45px rgba(1,8,18,.3);
}
.proof-context {
    margin-bottom: 1rem;
}
.proof-context-kicker {
    display: inline-block;
    padding: .28rem .72rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.proof-context h3 {
    margin: .6rem 0 .45rem;
    font-size: 1.05rem;
    line-height: 1.35;
}
.proof-context p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.6;
}
.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.proof-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.proof-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: .4rem;
}
.proof-stat span { font-size: .82rem; color: var(--ink-soft); }
.proof-quote {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.proof-quote p {
    font-size: .93rem;
    color: var(--ink-mid);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: .75rem;
}
.proof-quote cite { font-size: .8rem; color: var(--ink-soft); font-style: normal; font-weight: 600; }
.proof-outcomes {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}
.proof-outcomes li {
    position: relative;
    padding-left: 1.1rem;
    font-size: .83rem;
    line-height: 1.45;
}
.proof-outcomes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .48rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.half-split--all-dark .proof-stats {
    gap: 1rem;
    margin-bottom: 1.15rem;
}
.half-split--all-dark .proof-context-kicker {
    color: #8bf38b;
    background: rgba(110,232,110,.16);
    border: 1px solid rgba(139,243,139,.36);
}
.half-split--all-dark .proof-context h3 {
    color: #ffffff;
}
.half-split--all-dark .proof-context p {
    color: rgba(255,255,255,.74);
}
.half-split--all-dark .proof-stat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.2);
    text-align: left;
    padding: 1.25rem 1.1rem;
}
.half-split--all-dark .proof-stat strong {
    color: #8bf38b;
}
.half-split--all-dark .proof-stat span {
    color: rgba(255,255,255,.78);
}
.half-split--all-dark .proof-quote {
    background: rgba(7,18,36,.52);
    border: 1px solid rgba(255,255,255,.17);
    border-left: 3px solid rgba(139,243,139,.8);
}
.half-split--all-dark .proof-quote p {
    color: rgba(255,255,255,.86);
}
.half-split--all-dark .proof-quote cite {
    color: rgba(255,255,255,.72);
}
.half-split--all-dark .proof-outcomes li {
    color: rgba(255,255,255,.84);
}
.half-split--all-dark .proof-outcomes li::before {
    background: #8bf38b;
}

/* --- AI Industry Tabs --- */
.ai-section-grid--tabs {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.ai-section-grid--tabs .ai-section-intro {
    grid-column: 1;
}
.ai-section-grid--tabs .ai-section-panel {
    grid-column: 2;
}
.ai-intro-secondary {
    margin-top: 1rem;
    font-size: .95rem;
    color: rgba(255,255,255,.62);
    line-height: 1.65;
}
.ai-principles {
    margin-top: 1.75rem;
    display: grid;
    gap: 1rem;
}
.ai-principle {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}
.ai-principle-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(3,159,3,.15);
    border: 1px solid rgba(3,159,3,.25);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-principle-icon svg { width: 14px; height: 14px; color: #6ee86e; }
.ai-principle h4 {
    font-size: .92rem;
    color: var(--white);
    margin: 0 0 .2rem;
    font-weight: 600;
    line-height: 1.35;
}
.ai-principle p {
    font-size: .84rem;
    color: rgba(255,255,255,.58);
    margin: 0;
    line-height: 1.55;
}
.ai-section-grid--tabs .ai-section-ctas {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.ai-section-panel .ai-capabilities {
    margin-top: 0;
}
.ai-industry-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    margin-bottom: 1.25rem;
}
.ai-tab-label {
    width: 100%;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: .6rem;
}
.ai-tab-sticking-point {
    margin: 0 0 1.25rem;
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    border-left: 3px solid rgba(3,159,3,.5);
    padding-left: .85rem;
}
.ai-tab-sticking-point strong {
    color: rgba(255,255,255,.75);
}
.ai-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: rgba(255,255,255,.45);
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    padding: .7rem 1.1rem;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    letter-spacing: .01em;
    white-space: nowrap;
}
.ai-tab-btn:first-child { padding-left: 0; }
.ai-tab-btn:hover {
    color: rgba(255,255,255,.85);
    border-bottom-color: rgba(3,159,3,.5);
}
.ai-tab-btn.active {
    color: #6ee86e;
    border-bottom-color: #6ee86e;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-proof-grid { grid-template-columns: 1fr 1fr; }
    .hero-proof-card { padding: 2.25rem 2rem; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
    .process-step { margin-bottom: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .content-split { grid-template-columns: 1fr; }
    .content-split.reverse { direction: ltr; }
    .solution-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .form-mode-toggle { gap: 2px; }
    .form-mode-btn { font-size: .76rem; padding: .5rem .6rem; }
    .ai-section-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ai-section-grid--tabs {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .ai-section-grid--tabs .ai-section-intro { order: 1; }
    .ai-section-grid--tabs .ai-section-panel { order: 2; }
    .img-split { grid-template-columns: 1fr; }
    #how-we-work.img-split { grid-template-columns: 1fr; }
    .img-split-visual { min-height: 300px; }
    #how-we-work .img-split-visual { padding: 2rem 1.5rem 2.5rem; }
    #how-we-work .img-split-delivery-panel { width: 100%; position: relative; top: auto; z-index: 1; }
    .half-split { grid-template-columns: 1fr; }
    .half-split-dark, .half-split-light { padding: 3rem 2rem; }
    .half-split-proof { padding: 3rem 2rem; }
    .half-split-dark-inner { max-width: 100%; }
    .flex-model-grid { grid-template-columns: 1fr 1fr; }
    .tech-categories { grid-template-columns: 1fr 1fr; }
    .industries-grid { grid-template-columns: repeat(4, 1fr); }
    .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pain-grid--3col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pain-section .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Intermediate nav breakpoints ── */
/* Stage 1: 1280px – tighten spacing so nav fits without wrapping */
@media (max-width: 1280px) {
    .main-nav { gap: 0; }
    .main-nav a {
        font-size: .84rem;
        padding: .5rem .55rem;
    }
    .site-logo img { height: 44px; }
    .header-cta { margin-left: .5rem; }
    .header-cta .btn {
        padding: .45rem .9rem;
        font-size: .78rem;
    }
}

/* Stage 2: 1100px – further compress; hide standalone low-priority items */
@media (max-width: 1100px) {
    .main-nav a {
        font-size: .82rem;
        padding: .45rem .45rem;
    }
    /* Blog and About are accessible via footer / mobile nav;
       hide them at this width to free up space */
    .main-nav a[href="/blog"],
    .main-nav a[href="/about-bspoke-software"] { display: none; }
    .header-cta .btn {
        padding: .4rem .75rem;
        font-size: .76rem;
    }
}

/* Stage 3: 960px – collapse to hamburger */
@media (max-width: 960px) {
    .main-nav { display: none; }
    .header-actions { margin-left: auto; }
    .header-cta { margin-left: 0; }
    .header-cta .btn {
        padding: .4rem .75rem;
        font-size: .74rem;
        white-space: nowrap;
    }
    .hamburger { display: flex; }
}

@media (max-width: 480px) {
    .header-cta-text--long { display: none; }
    .header-cta-text--short { display: inline; }
    .header-cta .btn {
        padding: .4rem .65rem;
        font-size: .72rem;
    }
}

@media (max-width: 860px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image {
        max-width: 20rem;
        margin: 0 auto;
        transform: none;
    }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    /* main-nav already hidden above; hamburger + CTA shown in header-actions */
    .hero { padding: 4rem 0 3rem; }
    .hero-trust { gap: 1rem; }
    .hero-proof-grid { grid-template-columns: 1fr; }
    .hero-proof-card { padding: 2rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
    .hero-proof-card:last-child { border-bottom: none; }
    .hero-proof-num { font-size: 4rem; }
    .stats-row { gap: 1.5rem; }
    .stats-divider { display: none; }
    .process-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cta-strip-inner { flex-direction: column; align-items: flex-start; }
    .ai-capabilities { grid-template-columns: 1fr; }
    .flex-model-grid { grid-template-columns: 1fr; }
    .tech-categories { grid-template-columns: 1fr; }
    .img-split-content { padding: 2.5rem 1.5rem; }
    #how-we-work .img-split-content { padding: 2.5rem 1.5rem; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .pain-grid { grid-template-columns: 1fr; }
    .pain-grid--3col { grid-template-columns: 1fr; }
    .pain-section .pain-grid { grid-template-columns: 1fr; }
    .pain-card { padding: 1.1rem; }
}

/* ── Industries section on light backgrounds ─────────────────────────────── */
/* The industries-section tile grid was originally styled for dark contexts;   */
/* these rules restore dark-on-light text when placed in a non-dark section.  */
.section:not(.section--dark) .industries-section h2           { color: var(--ink); }
.section:not(.section--dark) .industries-section .eyebrow     { color: var(--green-bright); }
.section:not(.section--dark) .industries-section .section-desc{ color: var(--ink-mid); }

/* ── Dark section overrides ──────────────────────────────────────────────── */
/* Elements with explicit colours need resetting when placed in section--dark */

.section--dark .section-desc { color: rgba(255,255,255,.72); }

/* White cards (service-card, pain-card) inside dark sections must keep dark text */
.section--dark .service-card { color: var(--ink); }
.section--dark .service-card h3 { color: var(--ink); }
.section--dark .service-card p  { color: var(--ink-mid); }
.section--dark .pain-card       { color: var(--ink); }
.section--dark .pain-card h4    { color: var(--ink); }
.section--dark .pain-card p     { color: var(--ink-mid); }

/* Testimonials inside dark sections: cards are white bg so text stays dark */
.section--dark .testimonial-card        { color: var(--ink); }
.section--dark .testimonial-card p      { color: var(--ink-mid); }
.section--dark .testimonial-card .author-name    { color: var(--ink); }
.section--dark .testimonial-card .author-company { color: var(--ink-soft); }
/* Label and section headings outside cards are on dark bg, use light text */
.section--dark .video-testimonial-label { color: rgba(255,255,255,.7); }

/* FAQ inside dark sections */
.section--dark .faq-item        { border-bottom-color: rgba(255,255,255,.12); }
.section--dark .faq-question    { color: var(--white); }
.section--dark .faq-answer-inner{ color: rgba(255,255,255,.72); }

/* Tech-stack inside dark sections: override the section's forced white bg */
.section--dark.tech-stack-section          { background: var(--ink); }
.section--dark .tech-category              { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section--dark .tech-category h5           { color: #6ee86e; border-bottom-color: rgba(3,159,3,.3); }
.section--dark .tech-category h5::before   { background: #6ee86e; }
.section--dark .tech-pill                  { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.section--dark .tech-pill:hover            { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.8); cursor: default; }

/* ── Article prose styles ─────────────────────────────────────────── */
.article-prose {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ink-mid);
    max-width: 72ch;
}
.article-prose > * + * {
    margin-top: 1.4rem;
}
.article-prose h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    color: var(--ink);
    margin-top: 3rem;
    margin-bottom: .6rem;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.article-prose h2:first-child { margin-top: 0; }
.article-prose h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink);
    margin-top: 2.25rem;
    margin-bottom: .4rem;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.article-prose p {
    margin-bottom: 0;
}
.article-prose h2 + p,
.article-prose h3 + p {
    margin-top: .6rem;
}
.article-prose p + p {
    margin-top: 1.2rem;
}
.article-prose ul,
.article-prose ol {
    margin-top: .75rem;
    margin-bottom: .75rem;
    padding-left: 1.5rem;
}
.article-prose li {
    margin-bottom: .55rem;
    line-height: 1.75;
}
.article-prose strong {
    font-weight: 700;
    color: var(--ink);
}
.article-prose em {
    font-style: italic;
}
.article-prose blockquote {
    border-left: 3px solid var(--green);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--ink-mid);
    font-style: italic;
}
.article-prose a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-prose a:hover {
    color: var(--green-dark);
}

/* ── Article page layout ──────────────────────────────────────────── */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

/* ── Article sidebar ──────────────────────────────────────────────── */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Sidebar CTA card ─────────────────────────────────────────────── */
.article-sidebar-cta {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.article-sidebar-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(2,107,2,.45) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(2,107,2,.25) 0%, transparent 50%);
    pointer-events: none;
}
.article-sidebar-cta > * { position: relative; }
.article-sidebar-cta-eyebrow {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6ee86e;
    margin-bottom: .6rem;
}
.article-sidebar-cta-heading {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}
.article-sidebar-cta-body {
    font-size: .83rem;
    line-height: 1.65;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.1rem;
}
.article-sidebar-cta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.article-sidebar-cta-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    line-height: 1.4;
}
.article-sidebar-cta-list li svg {
    flex-shrink: 0;
    color: #6ee86e;
}
.article-sidebar-cta-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    background: #026b02;
    border: 1px solid rgba(110,232,110,.25);
}
.article-sidebar-cta-btn:hover {
    background: #025002;
    color: #fff;
}
.article-sidebar-cta-sub {
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    margin-top: .75rem;
}
.article-sidebar-cta-sub a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
}
.article-sidebar-cta-sub a:hover { color: #6ee86e; }

/* ══════════════════════════════════════════════════════════════════
   PHOTO ELEMENTS - office scenes & team imagery
   ══════════════════════════════════════════════════════════════════ */

/* ── img-split with real photo background ── */
.img-split-visual--photo {
    position: relative;
    overflow: hidden;
    background: #081408;
}

.img-split-visual--photo .img-split-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .42;
    display: block;
}

.img-split-visual--photo .img-split-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(1,45,1,.6) 0%, rgba(2,18,28,.75) 100%);
    pointer-events: none;
}

/* ── 3-photo mosaic strip ── */
.photo-strip-section {
    padding: 4rem 0 0;
}

.photo-strip {
    display: grid;
    grid-template-columns: 1fr 1.55fr 1fr;
    gap: .65rem;
}

.photo-strip-item {
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    position: relative;
}

.photo-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.photo-strip-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 700px) {
    .photo-strip {
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }
    .photo-strip-item:last-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 6;
    }
}

.photo-strip--two {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 500px) {
    .photo-strip--two {
        grid-template-columns: 1fr;
    }
}

/* ── Full-width photo band ── */
.photo-band {
    position: relative;
    height: 340px;
    overflow: hidden;
}

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

.photo-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.22) 100%);
    display: flex;
    align-items: center;
}

.photo-band-quote {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    max-width: 560px;
    line-height: 1.45;
    font-style: italic;
    padding: 0 1.5rem;
}

.photo-band-quote span {
    color: #6ee86e;
    font-style: normal;
}

@media (max-width: 700px) {
    .photo-band { height: 240px; }
    .photo-band-quote { font-size: 1.1rem; }
}

/* ── About 'Our role' photo ── */
.about-role-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 340px;
}

.about-role-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT - TRACK RECORD / PROOF SECTION
   ══════════════════════════════════════════════════════════════════ */

.about-proof-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.about-proof {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-proof-header {
    flex: 0 0 320px;
}

.about-proof-header h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: .5rem 0 .75rem;
}

.about-proof-header p {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin: 0;
}

.about-proof-stats {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-proof-stat {
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.about-proof-stat strong {
    display: block;
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    letter-spacing: -.025em;
}

.about-proof-stat span {
    display: block;
    font-size: .8rem;
    color: var(--ink-soft);
    margin-top: .55rem;
    line-height: 1.45;
    max-width: 130px;
    margin-left: auto;
    margin-right: auto;
}

.about-proof-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .about-proof {
        flex-direction: column;
        gap: 2.5rem;
    }

    .about-proof-header {
        flex: none;
        width: 100%;
        max-width: 560px;
        text-align: center;
        margin: 0 auto;
    }

    .about-proof-stats {
        width: 100%;
        justify-content: center;
        gap: 0;
    }
}

@media (max-width: 640px) {
    .about-proof-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 0;
    }

    .about-proof-divider { display: none; }

    .about-proof-stat strong { font-size: 2.1rem; }
}

/* ══════════════════════════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════════════════════════ */

.team-intro {
    color: rgba(255,255,255,.72);
    margin-top: .1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

/* ── Card wrapper (perspective host) ── */
.team-card {
    perspective: 1000px;
    height: 370px;
    cursor: pointer;
    outline: none;
}

/* ── Inner (flips) ── */
.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner,
.team-card.is-flipped .team-card-inner {
    transform: rotateY(180deg);
}

/* ── Shared face styles ── */
.team-card-front,
.team-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ── Front face ── */
.team-card-front {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition);
}

.team-card:hover .team-card-front {
    border-color: rgba(110,232,110,.22);
}

.team-card-photo {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(25%) brightness(.95);
    transition: filter 0.4s ease, transform 0.45s ease;
    display: block;
}

.team-card:hover .team-card-photo img {
    filter: grayscale(0%) brightness(1.02);
    transform: scale(1.04);
}

.team-card-nameplate {
    padding: .8rem 1rem .9rem;
    background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 100%);
    backdrop-filter: blur(4px);
}

.team-card-nameplate h4 {
    margin: 0;
    font-size: .95rem;
    color: var(--white);
    font-weight: 600;
    line-height: 1.25;
}

/* ── Role badge ── */
.team-role-badge {
    display: inline-flex;
    align-items: center;
    margin-top: .3rem;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    padding: .16rem .52rem;
    border-radius: 50px;
    background: rgba(3,159,3,.18);
    color: #6ee86e;
    border: 1px solid rgba(110,232,110,.22);
}

.team-role-badge--leadership {
    background: rgba(3,159,3,.3);
    color: #8bff8b;
    border-color: rgba(110,232,110,.48);
}

.team-role-badge--specialist {
    background: rgba(60,110,200,.22);
    color: #99c2ff;
    border-color: rgba(100,160,255,.3);
}

/* ── Flip hint ── */
.team-card-hint {
    position: absolute;
    bottom: .55rem;
    right: .7rem;
    font-size: .62rem;
    color: rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    gap: .28rem;
    pointer-events: none;
    transition: opacity var(--transition);
    letter-spacing: .03em;
}

.team-card-hint svg {
    width: 11px;
    height: 11px;
    opacity: .55;
    flex-shrink: 0;
}

.team-card:hover .team-card-hint {
    opacity: 0;
}

/* ── Back face ── */
.team-card-back {
    background: linear-gradient(160deg, rgba(2,36,2,.97) 0%, rgba(5,16,34,.99) 100%);
    border: 1px solid rgba(110,232,110,.22);
    transform: rotateY(180deg);
    padding: 1.2rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    box-shadow: 0 0 60px rgba(3,159,3,.07) inset;
}

.team-card-back::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(3,159,3,.12) 0%, transparent 65%);
    pointer-events: none;
}

.team-back-header {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-bottom: .6rem;
}

.team-back-name {
    font-size: .88rem;
    font-weight: 700;
    color: #6ee86e;
    letter-spacing: .04em;
    line-height: 1.2;
}

.team-back-role {
    font-size: .72rem;
    color: rgba(255,255,255,.4);
    margin-top: .18rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.team-card-bio {
    font-size: .79rem;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
    flex: 1;
    overflow: hidden;
}

.team-card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: .32rem;
}

.team-skill-tag {
    font-size: .65rem;
    font-weight: 600;
    padding: .17rem .5rem;
    background: rgba(3,159,3,.14);
    border: 1px solid rgba(110,232,110,.18);
    border-radius: 50px;
    color: rgba(110,232,110,.82);
    letter-spacing: .04em;
}

/* ── "More" placeholder card ── */
.team-card--more {
    cursor: default;
    pointer-events: none;
}

.team-card-front--more {
    background: rgba(255,255,255,.025);
    border: 1px dashed rgba(255,255,255,.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.team-more-avatars {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -0.5rem;
    padding-top: 1.5rem;
}

.team-more-avatars span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 2px solid rgba(255,255,255,.1);
    display: block;
    margin-left: -12px;
    position: relative;
}

.team-more-avatars span:first-child { margin-left: 0; }

.team-more-avatars span::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
}

.team-card-front--more .team-card-nameplate {
    background: transparent;
    text-align: center;
    padding-bottom: 1.25rem;
}

.team-card-front--more .team-card-nameplate h4 {
    color: rgba(255,255,255,.45);
    font-size: .88rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .9rem;
    }
    .team-card { height: 320px; }
    .team-card-bio { font-size: .75rem; }
    .team-back-name { font-size: .82rem; }
}

@media (max-width: 360px) {
    .team-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .team-card { height: 300px; }
}

/* ── Article page responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    /* Sidebar loses sticky and sits below the article */
    .article-sidebar {
        position: static;
        /* Show CTA in a horizontal row on tablet, stack back on mobile */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .article-prose { font-size: 1rem; line-height: 1.8; }
    .article-prose h2 { margin-top: 2.25rem; }
    .article-prose h3 { margin-top: 1.75rem; }
}
@media (max-width: 600px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }
}
