:root {
    /* Palette matched to digitusegis.com — deep navy with an electric-blue accent */
    --bg: #0a0e17;
    --ink: #e8ecef;
    --muted: #9aa4ad;
    --line: rgba(255, 255, 255, 0.10);
    --surface: #111827;
    --surface-2: #161d2e;
    --blue: #2563eb;
    --cyan: #60a5fa;
    --green: #19a974;
    --amber: #e89a12;
    --orange: #f5821f;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius: 16px;
    --heading-font: "Poppins", "Segoe UI", sans-serif;
    --nav-font: "Raleway", "Segoe UI", sans-serif;
    --body-font: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body-font);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg);
}

.main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Dock and CTA are both position:fixed — they float over the full-width
   page rather than reserving layout space. Sections carry their own left
   clearance (below) so copy never sits under the dock. */
@media (max-width: 767px) {
    .main-content {
        padding-bottom: 96px;
    }
}

/* CTA — fixed top-right on every page */
.floating-cta {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-family: var(--nav-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.5);
    color: #fff;
}

.floating-cta i {
    font-size: 14px;
}

@media (max-width: 640px) {
    .floating-cta {
        top: 16px;
        right: 16px;
        padding: 12px;
    }

    .floating-cta span {
        display: none;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 104px;
    padding: 12px clamp(18px, 5vw, 72px);
    border-bottom: 1px solid rgba(220, 229, 238, 0.85);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    transition: min-height 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.site-header.is-scrolled {
    min-height: 76px;
    box-shadow: 0 12px 30px rgba(9, 17, 31, 0.1);
    background: rgba(255, 255, 255, 0.97);
}

.site-header.is-scrolled .brand img {
    width: 100px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
}

.brand img {
    width: 128px;
    height: 86px;
    object-fit: contain;
    transition: width 0.22s ease, height 0.22s ease;
}

.brand strong,
.footer-brand {
    display: block;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-nav a,
.header-action,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-family: var(--nav-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-nav a {
    padding: 0 14px;
    border-radius: 8px;
    color: var(--muted);
    transition: background-color 0.16s ease, color 0.16s ease;
}

.site-nav a.active,
.site-nav a:hover {
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
}

.header-action,
.button {
    transition: transform 0.18s ease, box-shadow 0.2s ease,
        background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

/* primary — solid blue gradient pill, matching the Digitus Egis platform site */
.header-action,
.button.primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}

.header-action {
    padding: 0 20px;
    white-space: nowrap;
}

.button {
    padding: 0 22px;
    border: 1px solid var(--line);
}

/* secondary — quiet glass button on the dark surface */
.button.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink);
    box-shadow: none;
}

.header-action:hover,
.button.primary:hover {
    background: linear-gradient(135deg, #1d4ed8, var(--blue));
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

.button.secondary:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: var(--blue);
    color: #fff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.header-action:active,
.button:active {
    transform: translateY(0) scale(0.985);
    box-shadow: 0 4px 12px rgba(9, 17, 31, 0.16);
}

.header-action:focus-visible,
.button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.nav-toggle,
.nav-button {
    display: none;
}

main {
    flex: 1;
}

.hero,
.page-hero,
.section,
.site-footer {
    padding-left: clamp(128px, 12vw, 168px);
    padding-right: clamp(18px, 5vw, 72px);
}

@media (max-width: 767px) {

    .hero,
    .page-hero,
    .section,
    .site-footer {
        padding-left: clamp(18px, 5vw, 72px);
    }
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    padding-top: 52px;
    padding-bottom: 52px;
    background:
        linear-gradient(rgba(120, 180, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 180, 255, 0.045) 1px, transparent 1px),
        radial-gradient(62% 82% at 74% 46%, rgba(96, 165, 250, 0.22), transparent 60%),
        linear-gradient(125deg, #05080f 0%, #0a1f33 55%, #072a38 100%);
    background-size: 46px 46px, 46px 46px, 100% 100%, 100% 100%;
    color: #fff;
}

.hl-cyan {
    color: #fff;
}

.hero-est {
    position: absolute;
    right: clamp(18px, 5vw, 72px);
    bottom: 20px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

/* ---------- hero — heavenly decorative header strip ---------- */
.hero-sky-strip {
    position: absolute;
    inset: 0 0 auto 0;
    height: 46px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-sky-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(147, 197, 253, 0.16), transparent 85%);
}

/* same rotating conic-gradient light ring used on the "One team. Four
   disciplines." hub core (.philosophy-hub .ig-core::before) — reused here
   at strip scale, letterboxed by .hero-sky-strip's overflow:hidden. */
.hero-sky-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    max-width: 640px;
    max-height: 640px;
    min-width: 320px;
    min-height: 320px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0 70%, rgba(147, 197, 253, 0.45) 85%, transparent 100%);
}

.hero:after {
    position: absolute;
    right: -9vw;
    bottom: -12vw;
    width: 32vw;
    height: 32vw;
    min-width: 320px;
    min-height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: "";
}

.hero::before,
.page-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(38vw 38vw at 82% 8%, rgba(96, 165, 250, 0.22), transparent 62%),
        radial-gradient(30vw 30vw at 8% 92%, rgba(37, 99, 235, 0.2), transparent 60%);
    content: "";
    pointer-events: none;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.hero-copy,
.signal-panel {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 7px 16px 7px 13px;
    border: 1px solid rgba(37, 99, 235, 0.28);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
    font-family: var(--nav-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

/* eyebrow pills on dark backgrounds */
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow,
.stats-band .eyebrow,
.product-band .eyebrow {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* keyword treatment */
.grad-text {
    color: #fff;
}

.hero h1,
.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

/* short punchy headline on the home hero; supporting detail lives in .hero-lede */
.hero.hero-showcase h1 {
    max-width: 640px;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.2;
}

.hero-lede,
.page-hero p:not(.eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 2vw, 21px);
}

.hero-tagline {
    max-width: 640px;
    margin: 22px 0 0;
    padding-left: 18px;
    border-left: 3px solid var(--cyan);
    color: #fff;
    font-size: clamp(15px, 1.7vw, 18px);
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.signal-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(7, 18, 33, 0.74);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-header span {
    color: #fff;
    font-weight: 900;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.signal-grid div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.signal-grid span,
.signal-grid strong {
    display: block;
}

.signal-grid span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 800;
}

.signal-grid strong {
    margin-top: 4px;
    color: #fff;
    font-size: 22px;
}

.trace-lines {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.trace-lines span {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.section,
.page-hero {
    position: relative;
    overflow: hidden;
    padding-top: 68px;
    padding-bottom: 68px;
    background: var(--surface);
}

.page-hero {
    background: linear-gradient(135deg, #0a0e17, #1e3a8a 62%, #2563eb);
    color: #fff;
}

.page-hero.compact {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-copy-block {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

/* elegant circular icon badge, one per page banner, echoing the page's dock icon */
.hero-badge {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    font-size: 42px;
}

.hero-badge i {
    color: #fff;
    filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.55));
}

/* faint decorative watermark image tucked behind the banner copy */
.page-hero.compact.has-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-img);
    background-repeat: no-repeat;
    background-position: right -8% bottom -12%;
    background-size: 460px auto;
    opacity: 0.24;
    pointer-events: none;
}

@media (max-width: 760px) {
    .hero-badge {
        display: none;
    }

    .page-hero.compact.has-visual::after {
        opacity: 0.14;
        background-size: 300px auto;
    }
}

/* prominent photo panel — real photography paired with the banner copy */
.page-hero.compact.has-photo {
    align-items: stretch;
    gap: 32px;
}

.hero-photo {
    position: relative;
    z-index: 1;
    flex: 1 1 340px;
    max-width: 420px;
    align-self: center;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.hero-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 38px 72px rgba(0, 0, 0, 0.5), 0 14px 30px rgba(37, 99, 235, 0.2);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-photo:hover img {
    transform: scale(1.05);
}

/* "live" status pill on a product screenshot */
.hero-live-tag {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 14, 26, 0.55);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(25, 169, 116, 0.25);
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(200deg, rgba(10, 14, 23, 0) 45%, rgba(10, 14, 23, 0.6) 100%),
                linear-gradient(0deg, rgba(37, 99, 235, 0.18), transparent 55%);
    pointer-events: none;
}

.hero-photo .hero-badge {
    position: absolute;
    z-index: 2;
    right: -16px;
    bottom: -16px;
    width: 78px;
    height: 78px;
    font-size: 32px;
}

@media (max-width: 900px) {
    .hero-photo {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .hero-photo {
        display: none;
    }
}

.section.muted {
    background: linear-gradient(170deg, #0d1220 0%, #131a2b 55%, #111827 100%);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading h2,
.product-band h2,
.two-column h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3.1vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-heading p:not(.eyebrow),
.product-band p,
.two-column p,
.feature-card p,
.capability-card p,
.service-card p,
.contact-card p {
    color: var(--muted);
    font-size: 16px;
}

.card-grid {
    display: grid;
    gap: 20px;
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.capability-card,
.service-card,
.contact-card,
.contact-form {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(9, 17, 31, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover,
.capability-card:hover,
.service-card:hover {
    transform: translateY(-4px) perspective(900px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 22px 46px rgba(9, 17, 31, 0.13);
}

/* pointer-tilt + spotlight glow (bound in site-animations.js) */
.capability-card,
.feature-card,
.service-card,
.ig-build-tile,
.gallery-card,
.ig-value-tile {
    position: relative;
    --tiltx: 0deg;
    --tilty: 0deg;
    --glow: 0;
    --glow-x: 50%;
    --glow-y: 50%;
    transform-style: preserve-3d;
}

.capability-card::after,
.feature-card::after,
.service-card::after,
.ig-build-tile::after,
.gallery-card::after,
.ig-value-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--glow-x) var(--glow-y), rgba(37, 99, 235, 0.14), transparent 65%);
    opacity: var(--glow);
    transition: opacity 0.25s ease;
    pointer-events: none;
}

/* dark achievements / stats band */
.stats-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--surface);
    color: #fff;
}

.stats-band .section-heading {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.stats-band .section-heading h2 {
    color: #fff;
}

.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    max-width: 1120px;
    margin: 30px auto 0;
}

.stat-tile {
    padding: 30px 16px 26px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--tile-accent, var(--cyan));
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 34px rgba(4, 10, 20, 0.35);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.stat-tile:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
}

.stat-ic {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tile-accent, var(--cyan));
}

.stat-ic svg {
    width: 22px;
    height: 22px;
}

.stat-tile strong {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.stat-tile span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.stat-tile.accent-blue { --tile-accent: var(--blue); }
.stat-tile.accent-cyan { --tile-accent: var(--cyan); }
.stat-tile.accent-green { --tile-accent: var(--green); }
.stat-tile.accent-amber { --tile-accent: var(--amber); }
.stat-tile.accent-violet { --tile-accent: #6d4bd8; }

.feature-card h3,
.capability-card h3,
.service-card h3 {
    margin: 10px 0 10px;
    color: var(--ink);
    font-size: 21px;
    font-weight: 900;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.card-grid.four .feature-card h3 {
    font-size: 18px;
}

.icon-dot {
    display: block;
    width: 36px;
    height: 12px;
    border-radius: 999px;
    background: var(--blue);
}

.icon-dot.amber {
    background: var(--amber);
}

.icon-dot.green {
    background: var(--green);
}

/* ---------- four disciplines (home) ---------- */

.pillars-section {
    position: relative;
}

.pillars-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.pillars-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
}

.pillars-orbs span:nth-child(1) {
    top: -16%;
    right: 8%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 70%);
}

.pillars-orbs span:nth-child(2) {
    bottom: -20%;
    left: 6%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(25, 169, 116, 0.32), transparent 70%);
}

.pillars-grid .feature-card {
    --card-accent: var(--blue);
    --card-accent-soft: rgba(37, 99, 235, 0.16);
    --card-accent-glow: rgba(37, 99, 235, 0.34);
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, border-top-color 0.25s ease;
}

.pillars-grid .feature-card.accent-amber {
    --card-accent: var(--amber);
    --card-accent-soft: rgba(232, 154, 18, 0.16);
    --card-accent-glow: rgba(232, 154, 18, 0.34);
}

.pillars-grid .feature-card.accent-green {
    --card-accent: var(--green);
    --card-accent-soft: rgba(25, 169, 116, 0.16);
    --card-accent-glow: rgba(25, 169, 116, 0.34);
}

.pillars-grid .feature-card.accent-violet {
    --card-accent: #6d4bd8;
    --card-accent-soft: rgba(109, 75, 216, 0.16);
    --card-accent-glow: rgba(109, 75, 216, 0.34);
}

.pillars-grid .feature-card:hover {
    border-top-color: var(--card-accent);
}

.pillars-grid .feature-card::before {
    content: "";
    position: absolute;
    top: -44px;
    right: -44px;
    z-index: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--card-accent-glow), transparent 72%);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.pillars-grid .feature-card:hover::before {
    transform: scale(1.3);
}

.pillars-grid .feature-card > * {
    position: relative;
    z-index: 1;
}

.pillar-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 15px;
    background: var(--card-accent-soft);
    border: 1px solid var(--card-accent-glow);
    color: var(--card-accent);
}

.pillar-icon svg {
    width: 26px;
    height: 26px;
}

.product-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #09111f;
}

.product-band.has-photo {
    flex-wrap: wrap;
}

.product-band .section-photo {
    flex: 1 1 280px;
    max-width: 320px;
}

.product-band h2,
.product-band p {
    color: #fff;
}

.product-band p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.76);
}

.evidence-section {
    background: var(--surface-2);
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.logo-row img {
    width: 100%;
    height: 96px;
    object-fit: contain;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.two-column .button {
    margin-top: 16px;
}

.stacked-list {
    display: grid;
    gap: 14px;
}

.stacked-list div {
    padding: 20px;
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 10px 28px rgba(9, 17, 31, 0.06);
}

.stacked-list strong,
.stacked-list span {
    display: block;
}

.stacked-list strong {
    color: var(--ink);
    font-size: 18px;
}

.stacked-list span {
    margin-top: 6px;
    color: var(--muted);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.timeline article {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface-2);
    border: 1px solid var(--line);
}

.timeline span {
    color: #fff;
    font-weight: 900;
}

.timeline h2 {
    margin: 12px 0 8px;
    font-size: 26px;
    font-weight: 900;
}

.timeline p {
    color: var(--muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
    gap: 24px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.site-footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    background: linear-gradient(160deg, #0a1424 0%, #07101d 55%, #061019 100%);
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(34vw 24vw at 88% -10%, rgba(96, 165, 250, 0.10), transparent 60%),
                radial-gradient(26vw 20vw at 6% 110%, rgba(37, 99, 235, 0.10), transparent 60%);
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer p {
    max-width: 520px;
    margin: 8px 0 0;
}

.site-footer .footer-brand {
    color: #fff;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.site-footer nav a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.site-footer nav a:hover {
    color: #fff;
}

/* ---------- dropdown navigation ---------- */

.nav-group {
    position: relative;
}

.nav-group-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.nav-group-trigger svg {
    width: 11px;
    height: 8px;
    transition: transform 0.18s ease;
}

.nav-group:hover .nav-group-trigger,
.nav-group:focus-within .nav-group-trigger {
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
}

.nav-group:hover .nav-group-trigger svg,
.nav-group:focus-within .nav-group-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    width: 320px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-2);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:before {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    content: "";
}

.site-nav .nav-dropdown a {
    display: block;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 7px;
    text-align: left;
}

.site-nav .nav-dropdown a strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.site-nav .nav-dropdown a small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.site-nav .nav-dropdown a:hover strong,
.site-nav .nav-dropdown a.active strong {
    color: #fff;
}

/* ---------- hero additions ---------- */

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hero-chips li {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 800;
}

/* ---------- hero capability showcase ---------- */

.hero-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.94fr);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.hero-metrics li {
    display: grid;
    gap: 2px;
}

.hero-metrics strong {
    color: #fff;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 900;
    line-height: 1;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-slideshow {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1408 / 768;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0a1a2f;
    box-shadow: 0 24px 64px rgba(4, 10, 20, 0.5);
}

.hero-slide-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: hero-fade 40s infinite;
    animation-delay: calc(var(--i) * 10s);
}

.hero-slide-layer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes hero-fade {
    0% { opacity: 0; }
    2% { opacity: 1; }
    23% { opacity: 1; }
    27% { opacity: 0; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-layer {
        animation: none;
        opacity: 0;
    }

    .hero-slide-layer:first-child {
        opacity: 1;
    }
}

/* ---------- section split / priority list ---------- */

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.section-split .section-heading {
    margin-bottom: 0;
}

.priority-list {
    display: grid;
    gap: 14px;
}

.priority-list div {
    padding: 20px 22px;
    border-left: 4px solid var(--cyan);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 10px 28px rgba(9, 17, 31, 0.06);
}

.priority-list strong,
.priority-list span {
    display: block;
}

.priority-list strong {
    color: var(--ink);
    font-size: 17px;
}

.priority-list span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- service columns ---------- */

.service-columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.service-columns article {
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.service-columns article.lead {
    border-color: transparent;
    background: linear-gradient(160deg, #0d2f5d, #09111f);
    color: #fff;
}

.service-columns h3 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
    font-size: 17px;
    font-weight: 900;
}

.service-columns article.lead h3 {
    border-bottom-color: var(--cyan);
    color: #fff;
}

.service-columns ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-columns li {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.service-columns article.lead li {
    color: rgba(255, 255, 255, 0.82);
}

.service-spine {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.service-spine span {
    padding: 13px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

/* ---------- product band additions ---------- */

.band-list {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.band-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 700;
}

.band-list li:before {
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.band-actions {
    display: grid;
    gap: 10px;
    align-content: center;
}

.button.ghost {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    box-shadow: none;
}

.button.ghost:hover {
    border-color: var(--cyan);
    color: #fff;
    background: rgba(96, 165, 250, 0.12);
    box-shadow: 0 12px 26px rgba(4, 10, 20, 0.32);
    transform: translateY(-2px);
}

/* ---------- vertical grid ---------- */

.vertical-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vertical-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.vertical-grid article.lead {
    border-color: var(--blue);
    background: rgba(37, 99, 235, 0.14);
}

.vertical-grid strong,
.vertical-grid span {
    display: block;
}

.vertical-grid strong {
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.vertical-grid span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

.section-footnote {
    margin: 26px 0 0;
}

.section-footnote a {
    color: #fff;
    font-weight: 800;
    border-bottom: 2px solid rgba(37, 99, 235, 0.28);
}

/* ---------- technology chips ---------- */

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-chips span {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.tech-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tech-columns article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.tech-columns h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
}

.tech-columns ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-columns li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 15px;
}

.tech-columns li:before {
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    content: "";
}

/* ---------- offering columns ---------- */

.offering-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.offering-columns article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.offering-columns h3 {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 900;
}

.offering-columns ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offering-columns li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.offering-columns li:before {
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
    content: "";
}

.skills-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- clients page ---------- */

.featured-client,
.featured-product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.85fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.featured-client h2,
.featured-product h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.05;
}

.featured-client p,
.featured-product p {
    color: var(--muted);
    font-size: 16px;
}

.featured-client .button,
.featured-product .button {
    margin-top: 18px;
}

.product-console {
    display: grid;
    gap: 10px;
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #0d2f5d, #09111f);
    box-shadow: var(--shadow);
}

.product-console span {
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.client-sectors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.client-sectors article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.client-sectors h3 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
    font-size: 17px;
    font-weight: 900;
}

.client-sectors ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-sectors li {
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

/* ---------- portfolio / stats ---------- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
}

.portfolio-grid strong,
.portfolio-grid span {
    display: block;
}

.portfolio-grid strong {
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
}

.portfolio-grid span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
}

.stat-strip div {
    padding: 26px 22px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #0d2f5d, #09111f);
    color: #fff;
}

.stat-strip strong {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.stat-strip span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

/* ---------- legacy product cards ---------- */

.legacy-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 12px 34px rgba(9, 17, 31, 0.07);
}

.legacy-product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 6px;
    background: var(--surface-2);
    padding: 12px;
}

.legacy-product-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 900;
}

.legacy-product-card p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.product-status {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(25, 169, 116, 0.13);
    color: #34d399;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- news cards & advisories ---------- */

.news-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 16px 40px rgba(9, 17, 31, 0.14);
}

.news-card > span:first-child {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-card.advisory > span:first-child {
    background: rgba(232, 154, 18, 0.15);
    color: #f4b942;
}

.news-card time {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.news-card h3 {
    margin: 12px 0 10px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
}

.news-card p {
    flex: 1;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.news-card a,
.feature-card a {
    display: inline-block;
    margin-top: 16px;
    color: #fff;
    font-weight: 800;
}

.advisory-list {
    display: grid;
    gap: 18px;
}

.advisory-list article {
    padding: 30px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 12px 34px rgba(9, 17, 31, 0.06);
}

.advisory-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.advisory-meta time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tag.high {
    background: rgba(211, 47, 47, 0.12);
    color: #ff6b5e;
}

.tag.compliance {
    background: rgba(232, 154, 18, 0.15);
    color: #f4b942;
}

.advisory-list h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.advisory-list p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 16px;
}

.advisory-take {
    padding: 14px 18px;
    border-radius: 6px;
    background: var(--surface-2);
}

.advisory-take strong {
    color: var(--ink);
}

.advisory-list a {
    display: inline-block;
    color: #fff;
    font-weight: 800;
}

/* ---------- profile / contact cards ---------- */

.profile-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 12px 34px rgba(9, 17, 31, 0.07);
}

.profile-card h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
}

.profile-card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 15px;
}

.contact-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.contact-card h2 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 900;
}

.contact-card p {
    margin: 0 0 14px;
}

.contact-card strong {
    color: var(--ink);
}

.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 14px;
    font: inherit;
    background: var(--surface-2);
}

/* ---------- CTA band ---------- */

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
    background: linear-gradient(125deg, #1e3a8a, #0a0e17 62%, #2563eb);
}

.cta-band h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.9vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cta-band p {
    max-width: 640px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

/* ---------- footer ---------- */

.footer-about {
    max-width: 460px;
}

.footer-contact {
    display: grid;
    gap: 4px;
    margin-top: 16px;
    font-size: 14px;
}

.footer-contact a {
    color: #fff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, auto));
    gap: 28px;
}

.footer-links nav {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-links nav p {
    margin: 0 0 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links nav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.footer-links nav a:hover {
    color: #fff;
}

.timeline.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ---------- reusable photo panel (rounded, shadowed, gradient-scrimmed) ---------- */
.section-photo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.section-photo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.section-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(200deg, rgba(10, 14, 23, 0) 45%, rgba(10, 14, 23, 0.55) 100%),
                linear-gradient(0deg, rgba(37, 99, 235, 0.16), transparent 55%);
    pointer-events: none;
}

.section-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 38px 72px rgba(0, 0, 0, 0.46), 0 14px 30px rgba(37, 99, 235, 0.16);
}

/* ---------- ambient background photo watermark for otherwise-flat sections ----------
   Kept deliberately faint and uniformly dark — these sections carry full-width
   readable content (cards, columns, pills), so the photo must read as texture,
   never compete with foreground contrast. */
.section-visual {
    position: relative;
}

.section-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.88)),
        var(--section-img);
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    pointer-events: none;
}

.section-visual.muted::before {
    background-image:
        linear-gradient(rgba(13, 18, 32, 0.9), rgba(13, 18, 32, 0.9)),
        var(--section-img);
}

/* the illustrated SVG watermarks carry their own baked-in headline text on the
   left; crop that out by anchoring to the right so only the decorative
   graphic (not a second, confusing headline) shows through. */
.section-visual.pos-right::before {
    background-position: center, right center;
}

.section-visual > * {
    position: relative;
    z-index: 1;
}

/* ---------- our philosophy (home) ---------- */

.philosophy-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.philosophy-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
}

.philosophy-orbs span:nth-child(1) {
    top: -14%;
    left: 2%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 70%);
}

.philosophy-orbs span:nth-child(2) {
    bottom: -20%;
    right: 4%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.42), transparent 70%);
}

.philosophy-orbs span:nth-child(3) {
    top: 42%;
    left: 44%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(25, 169, 116, 0.28), transparent 70%);
}

.philosophy-heading.section-heading {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 44px;
    text-align: center;
}

.philosophy-heading p:not(.eyebrow) {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.philosophy-hub.ig-hub {
    gap: 14px;
}

.philosophy-hub .ig-core {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #123a70, #0a1526 68%);
    border: 1px solid rgba(96, 165, 250, 0.28);
}

.philosophy-hub .ig-core::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: conic-gradient(from 0deg, transparent 0 70%, rgba(96, 165, 250, 0.35) 85%, transparent 100%);
}

.philosophy-hub .ig-core > * {
    position: relative;
    z-index: 1;
}

.philosophy-hub .ig-spoke {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.philosophy-hub .ig-spoke:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.32);
}

.philosophy-spoke-ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.14);
    color: var(--cyan);
}

.philosophy-spoke-ic svg {
    width: 20px;
    height: 20px;
}

.philosophy-promise {
    position: relative;
    padding: 28px 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(9, 17, 31, 0.55);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.philosophy-promise-lead {
    margin: 0 0 20px;
    color: #fff;
    font-size: 16px;
}

.philosophy-promise ol {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 18px;
}

.philosophy-promise ol::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 15px;
    width: 1px;
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.5), rgba(96, 165, 250, 0.05));
}

.philosophy-promise li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.philosophy-promise-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(96, 165, 250, 0.5);
    background: #0a0e17;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
}

.philosophy-promise li span:last-child {
    color: #fff;
    font-weight: 600;
    font-size: 15.5px;
}

.philosophy-promise li:last-child span:last-child {
    color: var(--cyan);
}

@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- who we are / pull quote ---------- */

.who-we-are {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.who-we-are .section-heading {
    max-width: none;
    margin-bottom: 0;
}

.who-we-are-aside {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pull-quote {
    position: relative;
    margin: 0;
    padding: 34px 32px 34px 40px;
    border-left: 5px solid var(--cyan);
    border-radius: var(--radius);
    background: linear-gradient(160deg, #0d2f5d, #09111f);
    color: #fff;
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 800;
    line-height: 1.4;
    box-shadow: var(--shadow);
}

.pull-quote:before {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 46px;
    font-weight: 900;
    line-height: 0.6;
    content: "\201C";
}

/* ---------- product gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: 0 14px 34px rgba(9, 17, 31, 0.12);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.gallery-card:hover {
    transform: translateY(-3px) perspective(900px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
    border-color: var(--blue);
    box-shadow: 0 22px 48px rgba(9, 17, 31, 0.2);
}

.gallery-thumb {
    display: block;
    width: calc(100% + 48px);
    height: 120px;
    margin: -24px -24px 16px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.gallery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.gallery-badge.green { background: var(--green); }
.gallery-badge.amber { background: var(--amber); }
.gallery-badge.cyan { background: var(--cyan); }
.gallery-badge.violet { background: #6d4bd8; }
.gallery-badge.slate { background: var(--muted); }

.gallery-card strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.gallery-card:hover strong {
    color: #fff;
}

.gallery-desc {
    display: block;
    flex: 1;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.gallery-sector {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 16px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-card.more {
    border-style: dashed;
    background: var(--surface-2);
}

/* ---------- footer product gallery strip ---------- */

.footer-gallery {
    position: relative;
    overflow: hidden;
    padding: 36px clamp(18px, 5vw, 72px) 34px clamp(128px, 12vw, 168px);
    background: linear-gradient(180deg, #0d1a34 0%, #0b1526 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 48px rgba(2, 6, 14, 0.4);
}

.footer-gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(40vw 26vw at 10% 0%, rgba(96, 165, 250, 0.12), transparent 62%),
                radial-gradient(32vw 22vw at 95% 100%, rgba(37, 99, 235, 0.12), transparent 60%);
    pointer-events: none;
}

.footer-gallery > * {
    position: relative;
    z-index: 1;
}

.footer-gallery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-gallery-head .eyebrow {
    margin: 0;
}

.footer-gallery-head a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.footer-gallery-head a:hover {
    color: #fff;
}

.footer-gallery-strip {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 10px;
}

.footer-gallery-strip a {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 14px 8px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.footer-gallery-strip a:hover {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.09);
}

.footer-gallery-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.footer-gallery-strip span.green { background: var(--green); }
.footer-gallery-strip span.amber { background: var(--amber); }
.footer-gallery-strip span.cyan { background: var(--cyan); }
.footer-gallery-strip span.violet { background: #6d4bd8; }
.footer-gallery-strip span.slate { background: var(--muted); }

.footer-gallery-strip small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.footer-gallery-strip a:hover small {
    color: #fff;
}

/* ---------- polish ---------- */

/* FocusOnNavigate moves focus to h1 on route change for screen readers;
   suppress the visible ring for pointer users only. */
h1:focus,
h1[tabindex]:focus {
    outline: none;
}

.section-heading h2 + p,
.section-heading h2 + p:not(.eyebrow) {
    margin-top: 16px;
}

.client-sectors,
.tech-columns,
.service-columns,
.offering-columns {
    align-items: start;
}

.cta-band > div {
    max-width: 820px;
}

.cta-band .button {
    flex: 0 0 auto;
}

.blazor-error-boundary {
    padding: 1rem;
    color: #fff;
    background: #b32121;
}

@media (max-width: 980px) {
    .site-header {
        flex-wrap: wrap;
    }

    .header-action {
        display: none;
    }

    .nav-button {
        display: grid;
        gap: 5px;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--surface-2);
    }

    .nav-button span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--ink);
    }

    .site-nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .site-nav a {
        justify-content: flex-start;
    }

    /* dropdowns become inline stacked groups on mobile */
    .nav-group {
        border-top: 1px solid var(--line);
        padding-top: 8px;
        margin-top: 4px;
    }

    .nav-group-trigger {
        width: 100%;
        justify-content: flex-start;
        color: var(--muted);
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        cursor: default;
        pointer-events: none;
    }

    .nav-group-trigger svg {
        display: none;
    }

    .nav-dropdown {
        position: static;
        width: auto;
        padding: 0 0 0 6px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav .nav-dropdown a small {
        display: none;
    }

    .site-nav .nav-dropdown a strong {
        font-size: 14px;
    }

    .hero,
    .two-column,
    .contact-layout,
    .section-split,
    .featured-client,
    .featured-product,
    .who-we-are {
        grid-template-columns: 1fr;
    }

    .card-grid.four,
    .timeline,
    .timeline.five,
    .logo-row,
    .vertical-grid,
    .portfolio-grid,
    .tech-columns,
    .client-sectors,
    .service-columns,
    .service-spine,
    .gallery-grid,
    .skills-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-gallery-strip {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(120px, auto));
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 96px;
        height: 64px;
    }

    .brand small {
        display: none;
    }

    .hero,
    .page-hero,
    .section,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        min-height: auto;
        padding-top: 58px;
        padding-bottom: 56px;
    }

    .section,
    .page-hero {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero-sky-strip {
        height: 34px;
    }

    .signal-grid,
    .card-grid.two,
    .card-grid.three,
    .card-grid.four,
    .timeline,
    .timeline.five,
    .logo-row,
    .vertical-grid,
    .portfolio-grid,
    .tech-columns,
    .client-sectors,
    .service-columns,
    .service-spine,
    .offering-columns {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-card {
        padding: 18px;
    }

    .footer-gallery-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-gallery {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pull-quote {
        margin-top: 24px;
        padding: 26px 22px 26px 26px;
    }

    .product-band,
    .site-footer,
    .cta-band {
        display: block;
    }

    .product-band .button,
    .cta-band .button {
        margin-top: 18px;
    }

    .band-actions {
        margin-top: 20px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 26px;
    }

    .advisory-list article {
        padding: 22px;
    }
}

/* ============================================================
   Legal / policy prose — Privacy, Cookies and Data policy pages.
   ============================================================ */
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.legal-copy {
    max-width: 840px;
    display: grid;
    gap: 14px;
}

.legal-copy + .legal-copy {
    margin-top: 8px;
}

.legal-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.legal-copy h3 {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.legal-copy ul,
.legal-copy ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.legal-copy strong {
    color: var(--ink);
}

.legal-copy a {
    color: #fff;
    font-weight: 700;
    border-bottom: 2px solid rgba(37, 99, 235, 0.28);
}

.legal-clause {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.legal-clause:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.legal-clauses {
    display: grid;
    gap: 30px;
}

.legal-crosslinks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.legal-crosslinks a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
}

.legal-crosslinks a:hover {
    border-color: rgba(96, 165, 250, 0.4);
    color: #fff;
}

.legal-crosslinks a span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================================
   Infographic toolkit — process flows, pipelines, stacks,
   rings, timelines, bars. Theme-aware (blue / cyan / orange).
   ============================================================ */

.ig {
    margin-top: 8px;
}

/* ---- horizontal process flow / pipeline ---- */
.ig-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
    counter-reset: igstep;
}

.ig-flow .ig-step {
    position: relative;
    flex: 1 1 170px;
    min-width: 150px;
    padding: 0 14px;
    text-align: center;
}

.ig-flow .ig-step::before {
    counter-increment: igstep;
    content: counter(igstep, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #60a5fa 0%, var(--blue) 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    position: relative;
    z-index: 1;
}

.ig-flow .ig-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 33px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    z-index: 0;
    opacity: 0.55;
}

.ig-flow.accent .ig-step:nth-child(even)::before {
    background: linear-gradient(180deg, #ff9d42 0%, var(--orange) 100%);
    box-shadow: 0 10px 24px rgba(245, 130, 31, 0.3);
}

.ig-step h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 900;
    color: var(--ink);
}

.ig-step p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
}

/* ---- layered stack (tech / defense-in-depth) ---- */
.ig-stack {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.ig-layer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(9, 17, 31, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ig-layer:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 30px rgba(9, 17, 31, 0.1);
}

.ig-layer.lead {
    border-left-color: var(--orange);
    background: linear-gradient(90deg, rgba(245, 130, 31, 0.14), var(--surface) 60%);
}

.ig-layer strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--ink);
}

.ig-layer span {
    color: var(--muted);
    font-size: 13.5px;
}

.ig-layer .ig-tag {
    flex: none;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

/* ---- donut ring stats ---- */
.ig-rings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 26px;
    justify-items: center;
}

.ig-ring {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.ig-ring .ig-dial {
    --p: var(--pt, 72%);
    position: relative;
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: conic-gradient(from -90deg, var(--blue) 0 var(--p), var(--cyan) var(--p) calc(var(--p) + 6%), rgba(255, 255, 255, 0.08) calc(var(--p) + 6%) 100%);
    display: grid;
    place-items: center;
}

.ig-ring .ig-dial::before {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: inset 0 2px 10px rgba(9, 17, 31, 0.06);
}

.ig-ring .ig-dial b {
    position: relative;
    font-variant-numeric: tabular-nums;
    font-size: 26px;
    font-weight: 900;
    color: var(--ink);
}

.ig-ring small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    max-width: 160px;
}

/* ---- horizontal milestone timeline ---- */
.ig-htimeline {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 0;
    padding-top: 30px;
}

.ig-htimeline::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 6%;
    right: 6%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--orange));
    opacity: 0.5;
}

.ig-htimeline .ig-mile {
    position: relative;
    flex: 1 1 200px;
    min-width: 170px;
    padding: 0 16px;
    text-align: center;
}

.ig-htimeline .ig-mile::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 3px var(--blue);
}

.ig-htimeline .ig-mile time {
    display: block;
    margin: 8px 0 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.ig-htimeline .ig-mile strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.ig-htimeline .ig-mile p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

/* ---- horizontal proportion bars ---- */
.ig-bars {
    display: grid;
    gap: 14px;
    max-width: 760px;
}

.ig-bar {
    display: grid;
    grid-template-columns: 150px 1fr 46px;
    align-items: center;
    gap: 14px;
}

.ig-bar > span:first-child {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
}

.ig-bar .ig-track {
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.ig-bar .ig-fill {
    display: block;
    width: var(--w, 0);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.ig-bar > span:last-child {
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    color: var(--muted);
}

/* ---- hub and spokes ---- */
.ig-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.ig-hub .ig-core,
.ig-hub .ig-spoke {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(9, 17, 31, 0.06);
}

.ig-hub .ig-core {
    grid-column: 1 / -1;
    border: none;
    background: linear-gradient(135deg, #0d2f5d, #09111f);
    color: #fff;
    text-align: center;
}

.ig-hub .ig-core strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.ig-hub .ig-core span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.ig-hub .ig-spoke strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-weight: 900;
}

.ig-hub .ig-spoke span {
    color: var(--muted);
    font-size: 13.5px;
}

/* dark-section variants */
.stats-band .ig-step h4,
.product-band .ig-step h4 {
    color: #fff;
}

@media (max-width: 680px) {
    .ig-flow .ig-step:not(:last-child)::after,
    .ig-htimeline::before {
        display: none;
    }

    .ig-bar {
        grid-template-columns: 110px 1fr 42px;
        gap: 10px;
    }
}

/* animatable ring fill */
@property --p {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

/* ---- "What we build" tiles ---- */
.ig-build {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.ig-build-tile {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(9, 17, 31, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ig-build-tile:hover {
    transform: translateY(-5px) perspective(900px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 22px 44px rgba(9, 17, 31, 0.12);
}

.ig-build-tile .ig-ic {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.05));
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ig-build-tile .ig-ic svg {
    width: 27px;
    height: 27px;
}

.ig-build-tile:hover .ig-ic {
    transform: scale(1.08) rotate(-4deg);
}

.ig-build-tile strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.ig-build-tile span {
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- "what we build" carousel — slide, drag/flick, shadow-elevated active card ---------- */
.build-carousel {
    position: relative;
    padding: 0 8px;
}

.build-carousel-viewport {
    overflow: hidden;
    border-radius: 20px;
}

.build-carousel-track {
    display: flex;
    touch-action: pan-y;
    user-select: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: grab;
}

.build-carousel-track.dragging {
    transition: none;
    cursor: grabbing;
}

.build-carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

@media (min-width: 720px) {
    .build-carousel-slide {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media (min-width: 1080px) {
    .build-carousel-slide {
        flex-basis: 33.3334%;
        max-width: 33.3334%;
    }
}

.build-carousel-slide .ig-build-tile {
    height: 100%;
}

.build-carousel-slide.is-active .ig-build-tile {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(96, 165, 250, 0.22),
        0 0 46px rgba(37, 99, 235, 0.16);
    transform: translateY(-4px);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.carousel-arrow:hover {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.carousel-arrow.prev {
    left: -8px;
}

.carousel-arrow.next {
    right: -8px;
}

@media (max-width: 640px) {
    .carousel-arrow {
        display: none;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, width 0.25s ease;
}

.carousel-dots button:hover {
    background: rgba(96, 165, 250, 0.55);
}

.carousel-dots button.active {
    width: 26px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.ig-group-title {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.ig-group-title + .ig-build {
    margin-bottom: 28px;
}

.ig-build.compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ig-build.compact .ig-build-tile {
    align-items: center;
    padding: 14px 18px;
}

.ig-build.compact .ig-build-tile .ig-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.ig-build.compact .ig-build-tile .ig-ic svg {
    width: 18px;
    height: 18px;
}

.ig-build.compact .ig-build-tile strong {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
}

/* ============================================================
   Value-prop tiles — .ig-value
   ============================================================ */
.ig-value {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.ig-value-tile {
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(9, 17, 31, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ig-value-tile:hover {
    transform: translateY(-5px) perspective(900px) rotateX(var(--tiltx, 0deg)) rotateY(var(--tilty, 0deg));
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 22px 46px rgba(9, 17, 31, 0.13);
}

.ig-value-tile .ig-ic {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 13px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.05));
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ig-value-tile:hover .ig-ic {
    transform: scale(1.08) rotate(-4deg);
}

.ig-value-tile .ig-ic svg {
    width: 26px;
    height: 26px;
}

.ig-value-tile strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 900;
}

.ig-value-tile span {
    color: var(--muted);
    font-size: 13.5px;
}

/* ============================================================
   Comparison diagram — .ig-compare
   ============================================================ */
.ig-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
}

.ig-compare-col {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.ig-compare-col.against {
    background: var(--surface-2);
}

.ig-compare-col.for {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(170deg, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.04) 100%);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.15);
}

.ig-compare-col h4 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 900;
    color: var(--ink);
}

.ig-compare-col.for h4 {
    color: #fff;
}

.ig-compare-col ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ig-compare-col li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 13.5px;
}

.ig-compare-col.against li::before {
    content: "\2715";
    position: absolute;
    left: 0;
    color: #ff6b5e;
    font-weight: 800;
}

.ig-compare-col.for li {
    color: var(--ink);
}

.ig-compare-col.for li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 800;
}

.ig-compare-vs {
    display: grid;
    place-items: center;
    width: 56px;
    margin: auto -28px;
    border-radius: 50%;
    aspect-ratio: 1;
    background: linear-gradient(180deg, #ff9d42 0%, var(--orange) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(245, 130, 31, 0.32);
    z-index: 1;
}

@media (max-width: 760px) {
    .ig-compare {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ig-compare-vs {
        margin: -6px auto;
    }
}

/* ============================================================
   Seamless marquee — .marquee-row
   ============================================================ */
.marquee-row {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-row .marquee-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: marquee 26s linear infinite;
}

.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ============================================================
   Testimonial carousel — .testimonial-track
   ============================================================ */
.testimonial-wrap {
    display: grid;
    gap: 18px;
    justify-items: center;
}

.testimonial-track {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 720px;
}

.testimonial-card {
    grid-area: 1 / 1;
    padding: 32px clamp(22px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 18px 46px rgba(9, 17, 31, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    text-align: center;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.testimonial-placeholder-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(232, 154, 18, 0.14);
    color: #f4b942;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.testimonial-quote {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.testimonial-author {
    color: var(--muted);
    font-size: 13.5px;
}

.testimonial-author strong {
    color: var(--ink);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.testimonial-dots button.active {
    background: var(--blue);
    transform: scale(1.2);
}

/* ---------------------------------------------------------------
   Section divider — thin gradient rule with a glowing center mark,
   used between stacked page sections. Draw-in + sweep are animated
   (see the .anim-ready block below); the line itself always renders.
   --------------------------------------------------------------- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(18px, 5vw, 72px);
}

.section-divider span {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55) 50%, transparent);
}

.section-divider span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px 3px rgba(96, 165, 250, 0.55);
    transform: translate(-50%, -50%);
}

/* ============================================================
   Scroll-reveal + entrance + continuous animations
   Hidden states gate on .anim-ready so no-JS always shows content.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .anim-ready .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--reveal-delay, 0ms);
    }

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }

    /* process-flow nodes pop, connectors draw */
    .anim-ready .ig-flow .ig-step::before {
        transform: scale(0.4);
        opacity: 0;
        transition: transform 0.55s cubic-bezier(0.2, 1.5, 0.4, 1), opacity 0.4s ease;
        transition-delay: calc(var(--reveal-delay, 0ms) + 60ms);
    }

    .ig-flow .ig-step.is-visible::before {
        transform: scale(1);
        opacity: 1;
    }

    .anim-ready .ig-flow .ig-step:not(:last-child)::after {
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 0.7s ease;
        transition-delay: calc(var(--reveal-delay, 0ms) + 240ms);
    }

    .ig-flow .ig-step.is-visible:not(:last-child)::after {
        transform: scaleX(1);
    }

    /* bar fills grow */
    .anim-ready .ig-bar .ig-fill {
        width: 0;
        transition: width 1.05s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
    }

    .ig-bar.is-visible .ig-fill {
        width: var(--w, 0);
    }

    /* ring dials sweep */
    .anim-ready .ig-ring .ig-dial {
        --p: 0%;
        transition: --p 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
    }

    .ig-ring.is-visible .ig-dial {
        --p: var(--pt, 72%);
    }

    /* timeline dots pop */
    .anim-ready .ig-htimeline .ig-mile::before {
        transform: translateX(-50%) scale(0.3);
        transition: transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1);
        transition-delay: calc(var(--reveal-delay, 0ms) + 80ms);
    }

    .ig-htimeline .ig-mile.is-visible::before {
        transform: translateX(-50%) scale(1);
    }

    /* section divider draws in from the center, then sweeps once visible */
    .anim-ready .section-divider span {
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: var(--reveal-delay, 0ms);
    }

    .section-divider.is-visible span {
        transform: scaleX(1);
    }

    .section-divider span::after {
        content: "";
        position: absolute;
        top: 0;
        left: -20%;
        width: 20%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
        opacity: 0;
    }

    .section-divider.is-visible span::after {
        animation: divider-sweep 4s ease-in-out 0.9s infinite;
    }

    @keyframes divider-sweep {
        0% { left: -20%; opacity: 0; }
        12% { opacity: 1; }
        50% { left: 60%; opacity: 1; }
        68% { opacity: 0; }
        100% { left: 120%; opacity: 0; }
    }

    /* ---- subtle continuous motion ---- */
    .eyebrow::before {
        animation: ig-pulse 2.6s ease-in-out infinite;
    }

    @keyframes ig-pulse {
        0%, 100% { box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22); }
        50% { box-shadow: 0 0 0 7px rgba(96, 165, 250, 0.04); }
    }

    /* ambient photo backgrounds drift slowly, Ken-Burns style */
    .section-visual::before {
        animation: ig-kenburns 22s ease-in-out infinite alternate;
    }

    @keyframes ig-kenburns {
        0% { transform: scale(1.04) translate(0, 0); }
        100% { transform: scale(1.12) translate(-1.5%, -1%); }
    }

    .ig-htimeline::before {
        background-size: 220% 100%;
        animation: ig-shimmer 6s linear infinite;
    }

    @keyframes ig-shimmer {
        to { background-position: -220% 0; }
    }

    .hero::after {
        animation: ig-float 9s ease-in-out infinite;
    }

    @keyframes ig-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-16px); }
    }

    /* products hero — live-status dot pulses, badge bobs gently */
    .hero-live-dot {
        animation: hero-live-pulse 2.2s ease-in-out infinite;
    }

    @keyframes hero-live-pulse {
        0%, 100% { box-shadow: 0 0 0 3px rgba(25, 169, 116, 0.25); }
        50% { box-shadow: 0 0 0 7px rgba(25, 169, 116, 0.05); }
    }

    .live-photo-hero .hero-photo .hero-badge {
        animation: hero-badge-bob 5s ease-in-out infinite;
    }

    @keyframes hero-badge-bob {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    /* dock tooltip — twinkling sparkles while shown */
    .dock-hover-tip.is-visible::before,
    .dock-hover-tip.is-visible::after {
        animation: dock-tip-sparkle 1.1s ease-in-out infinite;
    }

    .dock-hover-tip.is-visible::after {
        animation-delay: 0.35s;
    }

    @keyframes dock-tip-sparkle {
        0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
        50% { opacity: 1; transform: scale(1) rotate(20deg); }
    }

    /* hero sky strip — same rotating conic glow as the philosophy hub core */
    .hero-sky-glow {
        animation: philosophy-spin 9s linear infinite;
    }

    /* hero kicker — moving light sweep across the header label */
    .hero-kicker {
        animation: hero-kicker-shimmer 4.5s linear infinite;
    }

    @keyframes hero-kicker-shimmer {
        to { background-position: -220% 0; }
    }

    .hero::before,
    .page-hero::before {
        animation: ig-aurora 16s ease-in-out infinite alternate;
    }

    @keyframes ig-aurora {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(-2.5%, 2%) scale(1.08); }
    }

    /* hub spokes breathe, staggered per position */
    .ig-hub .ig-spoke {
        animation: ig-spoke-glow 3.6s ease-in-out infinite;
    }

    .ig-hub .ig-spoke:nth-child(2) { animation-delay: 0.15s; }
    .ig-hub .ig-spoke:nth-child(3) { animation-delay: 0.3s; }
    .ig-hub .ig-spoke:nth-child(4) { animation-delay: 0.45s; }
    .ig-hub .ig-spoke:nth-child(5) { animation-delay: 0.6s; }
    .ig-hub .ig-spoke:nth-child(6) { animation-delay: 0.75s; }

    @keyframes ig-spoke-glow {
        0%, 100% { box-shadow: 0 10px 26px rgba(9, 17, 31, 0.06); }
        50% { box-shadow: 0 10px 26px rgba(9, 17, 31, 0.06), 0 0 0 3px rgba(37, 99, 235, 0.1); }
    }

    /* philosophy section — drifting glow orbs + spinning core ring */
    .philosophy-orbs span {
        animation: philosophy-drift 15s ease-in-out infinite alternate;
    }

    .philosophy-orbs span:nth-child(2) {
        animation-duration: 19s;
        animation-delay: -4s;
    }

    .philosophy-orbs span:nth-child(3) {
        animation-duration: 12s;
        animation-delay: -2s;
    }

    @keyframes philosophy-drift {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(4%, -5%) scale(1.15); }
    }

    .philosophy-hub .ig-core::before {
        animation: philosophy-spin 9s linear infinite;
    }

    @keyframes philosophy-spin {
        to { transform: rotate(360deg); }
    }

    /* promise list — numbered steps pop in after the connecting line reveals */
    .anim-ready .philosophy-promise-num {
        transform: scale(0.4);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.2, 1.5, 0.4, 1), opacity 0.35s ease;
        transition-delay: calc(var(--reveal-delay, 0ms) + 80ms);
    }

    .philosophy-promise li.is-visible .philosophy-promise-num {
        transform: scale(1);
        opacity: 1;
    }

    /* four disciplines — drifting orbs, breathing icon badges */
    .pillars-orbs span {
        animation: pillars-drift 16s ease-in-out infinite alternate;
    }

    .pillars-orbs span:nth-child(2) {
        animation-duration: 20s;
        animation-delay: -5s;
    }

    @keyframes pillars-drift {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(-4%, 4%) scale(1.14); }
    }

    .pillars-grid .pillar-icon {
        animation: pillar-icon-glow 3.4s ease-in-out infinite;
    }

    .pillars-grid .feature-card:nth-child(2) .pillar-icon { animation-delay: 0.2s; }
    .pillars-grid .feature-card:nth-child(3) .pillar-icon { animation-delay: 0.4s; }
    .pillars-grid .feature-card:nth-child(4) .pillar-icon { animation-delay: 0.6s; }

    @keyframes pillar-icon-glow {
        0%, 100% { box-shadow: 0 0 0 0 var(--card-accent-soft); }
        50% { box-shadow: 0 0 0 6px var(--card-accent-soft); }
    }

    .ig-layer,
    .gallery-card,
    .feature-card,
    .capability-card,
    .service-card,
    .ig-value-tile,
    .ig-build-tile {
        will-change: transform;
    }
}

/* ---------------------------------------------------------------
   Dock item tooltip — rendered as a single reusable element appended
   to <body> by site-animations.js. It must live outside .dock-items
   (which needs overflow-y:auto to scroll), because mixing an
   overflow-y value with overflow-x:visible on the same element makes
   the browser clip both axes — any tooltip positioned inside would be
   invisibly cropped the moment it overflows sideways.
   --------------------------------------------------------------- */
.dock-hover-tip {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-50%) translateX(-6px) scale(0.9);
    transform-origin: left center;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(9, 14, 24, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    font-family: var(--nav-font);
    padding: 7px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 7px;
    white-space: nowrap;
    border: 1px solid rgba(96, 165, 250, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-hover-tip.is-visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0) scale(1);
}

/* sparkle flecks that twinkle around the tooltip while it's shown */
.dock-hover-tip::before,
.dock-hover-tip::after {
    content: "\2726";
    position: absolute;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
}

.dock-hover-tip::before {
    top: -6px;
    left: 12px;
    font-size: 9px;
    color: #93c5fd;
}

.dock-hover-tip::after {
    bottom: -7px;
    right: 16px;
    font-size: 7px;
    color: #ffb347;
}

.dock-hover-tip em {
    font-style: normal;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffb347;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 170, 60, 0.16);
}

@media (max-width: 767px) {
    .dock-hover-tip {
        display: none;
    }
}

/* ---------------------------------------------------------------
   Status pages (404 / error) — same card/shadow/radius language
   as the rest of the site, centered in an otherwise empty section.
   --------------------------------------------------------------- */
.status-page {
    display: flex;
    justify-content: center;
    min-height: 62vh;
    background: linear-gradient(170deg, #0d1220 0%, #131a2b 55%, #111827 100%);
}

.status-card {
    position: relative;
    max-width: 640px;
    width: 100%;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

.status-card::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(60% 60% at 18% 0%, rgba(37, 99, 235, 0.09), transparent 65%),
        radial-gradient(50% 50% at 100% 100%, rgba(96, 165, 250, 0.1), transparent 60%);
    content: "";
    pointer-events: none;
}

.status-card > * {
    position: relative;
    z-index: 1;
}

.status-code {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(37, 99, 235, 0.18);
    animation: ig-float 5.5s ease-in-out infinite;
}

.status-card h1 {
    margin: 20px 0 0;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.status-card > p {
    max-width: 480px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 16px;
}

.status-card .actions {
    justify-content: center;
    margin-top: 28px;
}

.status-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.status-links a {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.status-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.14);
    color: #fff;
}

.status-request-id {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.status-request-id code {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--surface-2);
}

.status-dev-note {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-2);
    text-align: left;
}

.status-dev-note h3 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
}

.status-dev-note p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    .status-code {
        animation: none;
    }
}

/* ============================================================
   Hero value-proposition pattern (kicker, feature icons,
   build line) + technology marquee.
   ============================================================ */
.hero-kicker {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.55) 0%,
        #fff 22%,
        var(--cyan) 50%,
        #fff 78%,
        rgba(255, 255, 255, 0.55) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 18px;
    margin: 24px 0 2px;
    padding: 0;
    list-style: none;
}

.hero-features li {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 82px;
    text-align: center;
}

.hf-ic {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(160deg, #60a5fa, #2563eb);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.22s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.hero-features li:hover .hf-ic {
    transform: translateY(-4px) scale(1.06);
}

.hf-ic svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

/* nav flagship item + product flagship badge */
.nav-dropdown a.nav-featured {
    background: linear-gradient(90deg, rgba(245, 130, 31, 0.09), transparent);
}

.nav-flag {
    display: inline-block;
    margin-left: 7px;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(160deg, #ff9d42, var(--orange));
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
}

.flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 14px;
    padding: 7px 15px;
    border-radius: 999px;
    background: linear-gradient(160deg, #ff9d42, var(--orange));
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(245, 130, 31, 0.32);
}

.hf-ic.ic-cyan {
    background: linear-gradient(160deg, #60a5fa, #1d4ed8);
    box-shadow: 0 12px 24px rgba(96, 165, 250, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hf-ic.ic-orange {
    background: linear-gradient(160deg, #ff9d42, #e5730c);
    box-shadow: 0 12px 24px rgba(245, 130, 31, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-features strong {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.05;
}

.hero-features small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    font-weight: 700;
}

.hero-buildline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.hero-buildline .bl-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(160deg, #ff9d42, var(--orange));
    box-shadow: 0 8px 18px rgba(245, 130, 31, 0.4);
}

.hero-buildline .bl-ic svg {
    width: 22px;
    height: 22px;
}

.hero-buildline strong {
    color: #fff;
    font-weight: 900;
}

.tech-marquee {
    overflow: hidden;
    padding: 20px 0;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.tech-marquee-track {
    display: flex;
    align-items: center;
    gap: 46px;
    width: max-content;
    animation: tech-scroll 34s linear infinite;
}

.tech-marquee:hover .tech-marquee-track {
    animation-play-state: paused;
}

.tech-marquee-track span {
    color: var(--muted);
    font-size: 19px;
    font-weight: 900;
    white-space: nowrap;
}

@keyframes tech-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .tech-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* hero build-scene illustration (replaces slideshow on landing) */
.hero-illustration {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration img {
    width: 100%;
    max-width: 580px;
    height: auto;
    filter: drop-shadow(0 30px 55px rgba(4, 10, 20, 0.5));
}

@media (prefers-reduced-motion: no-preference) {
    .hero-illustration img {
        animation: hero-illo-float 7s ease-in-out infinite;
    }

    @keyframes hero-illo-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }
}
