/* ─────────────────────────────────────────────────────────────────────────
   LePixo V2 — Studio / Digital Lab
   Light premium design system. Aéré, éditorial, builder-tone.
   ───────────────────────────────────────────────────────────────────────── */

:root {
    /* ── Surfaces (Bexon-inspired light) ────────────────── */
    --bg:           #ffffff;        /* clean white          */
    --bg-2:         #f4f7f7;        /* near-white teal      */
    --bg-3:         #d8e5e5;        /* Bexon theme-bg       */
    --surface:      #ffffff;
    --surface-2:    #f4f7f7;

    /* ── Ink (Bexon teal-blacks) ────────────────────────── */
    --ink:          #0c1e21;        /* heading-primary      */
    --ink-2:        #18292c;
    --ink-3:        #364e52;        /* body text            */
    --ink-4:        #67787a;
    --ink-5:        #a9b8b8;

    /* ── Accents (Bexon teal) ───────────────────────────── */
    --accent:       #1e8a8a;        /* theme-primary teal   */
    --accent-2:     #2dafaf;
    --accent-soft:  rgba(30,138,138,.08);
    --lime:         #cee0e0;        /* soft mint highlight  */
    --lime-2:       #b8d3d3;
    --ink-on-lime:  #0c1e21;
    --indigo:       #1e8a8a;        /* alias for legacy refs */

    /* ── Borders & shadows ──────────────────────────────── */
    --hairline:     rgba(12,30,33,.08);
    --border:       rgba(12,30,33,.12);
    --border-2:     rgba(12,30,33,.18);
    --shadow-sm:    0 1px 2px rgba(12,30,33,.04);
    --shadow:       0 4px 24px -8px rgba(12,30,33,.10), 0 1px 2px rgba(12,30,33,.04);
    --shadow-lg:    0 24px 48px -16px rgba(12,30,33,.14), 0 4px 12px rgba(12,30,33,.05);

    /* ── Typography (Bexon: Mona Sans single-family) ───── */
    --font-display: "Mona Sans", "Söhne", system-ui, -apple-system, sans-serif;
    --font-serif:   "Instrument Serif", "Source Serif 4", Georgia, serif;
    --font-body:    "Mona Sans", "Söhne", system-ui, -apple-system, sans-serif;
    --font-mono:    "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

    /* ── Layout ────────────────────────────────────────── */
    --container:    min(1240px, 92vw);
    --gap:          clamp(1rem, 2vw, 1.5rem);
    --radius-xs:    8px;
    --radius-sm:    12px;
    --radius:       18px;
    --radius-lg:    28px;
    --radius-xl:    40px;
}

/* ── Base reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ── Container / wrap ─────────────────────────────────── */
.wrap { width: var(--container); margin: 0 auto; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.04;
    color: var(--ink);
}
h1 em, h2 em, h3 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-3);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 999px;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.4rem;
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
    white-space: nowrap;
    line-height: 1;
}
.btn--primary {
    background: var(--ink);
    color: #fff;
}
.btn--primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(30,138,138,.45);
}
.btn--accent {
    background: var(--accent);
    color: #fff;
}
.btn--accent:hover {
    background: var(--ink);
    transform: translateY(-2px);
}
.btn--lime {
    background: var(--lime);
    color: var(--ink-on-lime);
}
.btn--lime:hover {
    background: var(--lime-2);
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.btn--lg { padding: 1rem 1.65rem; font-size: 1rem; }
.btn .arrow {
    display: inline-flex;
    transition: transform .25s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── Status badges (project cards) ────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 999px;
    border: 1px solid var(--hairline);
    background: var(--surface);
    color: var(--ink-3);
}
.badge--saas    { background: var(--lime);   color: var(--ink-on-lime); border-color: transparent; }
.badge--client  { background: var(--ink);    color: #fff;               border-color: transparent; }
.badge--interne { background: var(--bg-3);   color: var(--ink-2);       border-color: transparent; }
.badge--mvp     { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.badge--live    { background: #d6f5dd; color: #115b2a; border-color: transparent; }
.badge--beta    { background: #fff0a8; color: #6c5300; border-color: transparent; }
.badge--saas::before,
.badge--live::before,
.badge--beta::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .9;
}

/* ─────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 18px; left: 0; right: 0;
    z-index: 100;
    transition: top .3s, transform .3s;
}
.nav__wrap {
    width: var(--container);
    margin: 0 auto;
    background: rgba(12,30,33,.92);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    padding: .55rem .55rem .55rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px -8px rgba(10,10,10,.25);
}
.nav.scrolled .nav__wrap {
    background: rgba(12,30,33,.98);
    box-shadow: 0 12px 40px -8px rgba(12,30,33,.4);
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.02em;
    color: #fff;
}
.nav__logo-mark {
    width: 32px; height: 32px;
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
}
.nav__logo-mark span { transform: translateY(-1px); }
.nav__links {
    display: flex;
    gap: .25rem;
    list-style: none;
}
.nav__links a {
    padding: .55rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    border-radius: 999px;
    transition: color .2s, background .2s;
}
.nav__links a:hover,
.nav__links a.active {
    color: #fff;
    background: rgba(255,255,255,.08);
}
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.15rem;
    background: var(--accent);
    color: #fff;
    font-size: .88rem;
    font-weight: 500;
    border-radius: 999px;
    transition: background .25s, transform .25s;
}
.nav__cta:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-1px);
}
.nav__burger {
    width: 40px; height: 40px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
}
.nav__burger span {
    display: block;
    width: 16px; height: 1.5px;
    background: #fff;
    transition: transform .25s, opacity .25s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99;
    padding: 6rem 2rem 2rem;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.nav__mobile.open { transform: translateY(0); }
.nav__mobile a {
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline);
}
.nav__mobile-cta {
    margin-top: auto;
    padding: 1.1rem !important;
    background: var(--ink);
    color: #fff !important;
    text-align: center;
    border-radius: 999px;
    border-bottom: 0 !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
}

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30,138,138,.07), transparent 60%),
        radial-gradient(ellipse 50% 35% at 95% 30%, rgba(216,229,229,.7), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.75rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.04em;
    max-width: 18ch;
}
.hero__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.hero__title .underline-mark {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}
.hero__title .underline-mark::after {
    content: "";
    position: absolute;
    left: -2%;
    bottom: 4%;
    width: 104%;
    height: 38%;
    background: var(--lime);
    z-index: -1;
    border-radius: 4px;
    transform: skewY(-1.5deg);
}
.hero__bottom {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: end;
    padding-top: 1rem;
}
.hero__desc {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-3);
    max-width: 52ch;
}
.hero__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.hero__metric {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.hero__metric-val {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
}
.hero__metric-lbl {
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--ink-4);
}

/* ─────────────────────────────────────────────────────────
   MARQUEE (sectors strip)
   ───────────────────────────────────────────────────────── */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    background: var(--surface);
    padding: 1.25rem 0;
    margin-top: 4rem;
}
.marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 38s linear infinite;
    align-items: center;
}
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -.025em;
    color: var(--ink);
    white-space: nowrap;
}
.marquee__item em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.marquee__dot {
    width: 10px; height: 10px;
    background: var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────
   SECTION SHELL
   ───────────────────────────────────────────────────────── */
.section {
    padding: clamp(5rem, 10vw, 8rem) 0;
}
.section__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
    max-width: 18ch;
}
.section__sub {
    color: var(--ink-3);
    max-width: 60ch;
    font-size: 1.05rem;
}
@media (min-width: 900px) {
    .section__head {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

/* ─────────────────────────────────────────────────────────
   PROJECTS — cards
   ───────────────────────────────────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr));
    gap: 1.25rem;
}
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}
.project-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    overflow: hidden;
}
.project-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__placeholder {
    position: absolute; inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(10,10,10,.12);
    letter-spacing: -.05em;
}
.project-card__badges {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}
.project-card__body {
    padding: 1.5rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    flex: 1;
}
.project-card__sector {
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-4);
}
.project-card__name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
}
.project-card__tagline {
    color: var(--ink-3);
    font-size: .95rem;
    line-height: 1.55;
}
.project-card__cta {
    margin-top: auto;
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink);
    transition: color .2s, gap .2s;
}
.project-card:hover .project-card__cta {
    color: var(--accent);
    gap: .65rem;
}
.project-card__cta::after {
    content: "→";
    transition: transform .25s;
}
.project-card:hover .project-card__cta::after { transform: translateX(3px); }

/* Featured card: full-width hero card */
.project-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
}
.project-card--featured .project-card__media { aspect-ratio: 4 / 3; }
.project-card--featured .project-card__body {
    padding: clamp(2rem, 4vw, 3rem);
    justify-content: center;
}
.project-card--featured .project-card__name { font-size: clamp(2rem, 3.5vw, 2.75rem); }
@media (max-width: 900px) {
    .project-card--featured { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   APPROACH (3-column pillars)
   ───────────────────────────────────────────────────────── */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.25rem;
}
.pillar {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform .35s, border-color .35s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--border); }
.pillar__num {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--ink-4);
    letter-spacing: .14em;
}
.pillar__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.025em;
}
.pillar__desc { color: var(--ink-3); font-size: .95rem; }
.pillar__icon {
    width: 44px; height: 44px;
    background: var(--lime);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--ink-on-lime);
}

/* ─────────────────────────────────────────────────────────
   ECOSYSTEM (linked products vision)
   ───────────────────────────────────────────────────────── */
.ecosystem {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}
.ecosystem::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(30,138,138,.22), transparent 70%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(206,224,224,.12), transparent 70%);
    pointer-events: none;
}
.ecosystem__grid {
    position: relative;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .ecosystem__grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.ecosystem h2, .ecosystem .section__title { color: #fff; }
.ecosystem .eyebrow {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
    color: rgba(255,255,255,.7);
}
.ecosystem .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(206,224,224,.25); }
.eco-network {
    position: relative;
    aspect-ratio: 1;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}
/* Faint dashed orbital rings — visual cue of the planetary system */
.eco-network::before,
.eco-network::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}
.eco-network::before { width: 56%; height: 56%; }
.eco-network::after  { width: 92%; height: 92%; }

.eco-node {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    padding: .55rem .95rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: .78rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .3s, border-color .3s, color .3s;
    white-space: nowrap;
}
.eco-node:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.eco-node--center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: var(--lime);
    color: var(--ink-on-lime);
    border-color: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    padding: .95rem 1.55rem;
    letter-spacing: -.01em;
    box-shadow:
        0 0 0 6px rgba(206,224,224,.06),
        0 0 0 14px rgba(206,224,224,.03),
        0 12px 36px -8px rgba(206,224,224,.25);
}

/* ── Orbital arms (planets revolve around LePixo) ───── */
.orbit-arm {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: orbit-spin var(--period, 36s) linear infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform;
}
.orbit-arm > .eco-node {
    position: absolute;
    left: 50%;
    /* Counter-rotate the node so text stays upright while it sweeps the orbit */
    animation: orbit-counter var(--period, 36s) linear infinite;
    animation-delay: var(--delay, 0s);
    pointer-events: auto;
    will-change: transform;
}
/* Inner orbit (concepts) — radius ≈ 28% from center */
.orbit-arm--inner > .eco-node { top: 22%; }
/* Outer orbit (ventures) — radius ≈ 46% from center, reverse spin */
.orbit-arm--outer { animation-direction: reverse; }
.orbit-arm--outer > .eco-node { top: 4%; animation-direction: reverse; }

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes orbit-counter {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Pause orbits when hovering the system — gives users a chance to read */
.eco-network:hover .orbit-arm,
.eco-network:hover .orbit-arm > .eco-node {
    animation-play-state: paused;
}

/* Smaller screens: tighten the system */
@media (max-width: 575px) {
    .orbit-arm--inner > .eco-node { top: 26%; }
    .orbit-arm--outer > .eco-node { top: 8%; }
    .eco-node { font-size: .7rem; padding: .45rem .8rem; }
    .eco-node--center { font-size: .9rem; padding: .8rem 1.2rem; }
}

/* Reduced motion: stop spinning, distribute planets statically */
@media (prefers-reduced-motion: reduce) {
    .orbit-arm,
    .orbit-arm > .eco-node { animation: none; }
    .orbit-arm--inner:nth-of-type(2)        { transform: rotate(0deg); }
    .orbit-arm--inner:nth-of-type(3)        { transform: rotate(120deg); }
    .orbit-arm--inner:nth-of-type(4)        { transform: rotate(240deg); }
    .orbit-arm--inner:nth-of-type(2) > .eco-node { transform: translate(-50%, -50%) rotate(0deg); }
    .orbit-arm--inner:nth-of-type(3) > .eco-node { transform: translate(-50%, -50%) rotate(-120deg); }
    .orbit-arm--inner:nth-of-type(4) > .eco-node { transform: translate(-50%, -50%) rotate(-240deg); }
    .orbit-arm--outer:nth-of-type(5)        { transform: rotate(60deg); }
    .orbit-arm--outer:nth-of-type(6)        { transform: rotate(180deg); }
    .orbit-arm--outer:nth-of-type(7)        { transform: rotate(300deg); }
    .orbit-arm--outer:nth-of-type(5) > .eco-node { transform: translate(-50%, -50%) rotate(-60deg); }
    .orbit-arm--outer:nth-of-type(6) > .eco-node { transform: translate(-50%, -50%) rotate(-180deg); }
    .orbit-arm--outer:nth-of-type(7) > .eco-node { transform: translate(-50%, -50%) rotate(-300deg); }
}

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────────────────── */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.25rem;
}
.testi-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.testi-card__quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent);
    line-height: .5;
    height: .5em;
}
.testi-card__text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--ink-2);
    flex: 1;
}
.testi-card__author {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hairline);
}
.testi-card__avatar {
    width: 42px; height: 42px;
    background: var(--ink);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
}
.testi-card__name {
    font-weight: 600;
    font-size: .95rem;
}
.testi-card__role {
    color: var(--ink-4);
    font-size: .82rem;
}

/* ─────────────────────────────────────────────────────────
   CLIENTS / PARTNERS marquee
   ───────────────────────────────────────────────────────── */
.logos-strip {
    overflow: hidden;
    padding: 1.5rem 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.logos-strip__label {
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: .14em;
    text-align: center;
    margin-bottom: 1.25rem;
}
.logos-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 40s linear infinite;
    align-items: center;
}
.logos-track__item {
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink-3);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    opacity: .65;
    transition: opacity .25s;
}
.logos-track__item:hover { opacity: 1; }
.logos-track__item img {
    max-height: 36px;
    width: auto;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .25s, opacity .25s;
}
.logos-track__item:hover img { filter: grayscale(0); opacity: 1; }

/* ─────────────────────────────────────────────────────────
   FUNFACT (Bexon: tj-funfact-section — used for "Pas une agence")
   Mint bg, heading + circular progress on top, 3 white stat cards.
   ───────────────────────────────────────────────────────── */
.tj-funfact-section {
    background: var(--bg-3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 10vw, 7.5rem);
    padding-inline: clamp(1.5rem, 4vw, 4rem);
}
/* Diagonal line patterns (substitute Bexon's bg-shape SVGs) */
.tj-funfact-section::before,
.tj-funfact-section::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 280px;
    background: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 32px,
        rgba(12,30,33,.06) 32px,
        rgba(12,30,33,.06) 34px
    );
    pointer-events: none;
    z-index: 0;
}
.tj-funfact-section::before { left: 0; }
.tj-funfact-section::after  { right: 0; transform: scaleX(-1); }
.tj-funfact-section > .wrap { position: relative; z-index: 1; }

.heading-wrap-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.tj-funfact-section .heading-wrap-content .sec-heading {
    max-width: 620px;
    margin-bottom: 0;
}
.tj-funfact-section .heading-wrap-content .sec-heading .sec-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 700;
}
.tj-funfact-section .heading-wrap-content .sec-heading .sub-title {
    color: var(--accent);
    border-color: var(--accent);
}

/* ── Progress circle (SVG-driven) ─────────────────────── */
.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.progress-circle {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}
.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.progress-circle .ring-bg {
    fill: none;
    stroke: rgba(255,255,255,.7);
    stroke-width: 10;
}
.progress-circle .ring-fg {
    fill: none;
    stroke: var(--accent);
    stroke-width: 10;
    stroke-linecap: butt;
    /* circumference of r=54 ≈ 339.29 — set as initial offset */
    stroke-dasharray: 339.29;
    stroke-dashoffset: 339.29;
    transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1);
}
.progress-circle__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
}
.progress-text {
    max-width: 180px;
    font-family: var(--font-body);
    font-size: .98rem;
    color: var(--ink-2);
    line-height: 1.4;
}

/* ── Stat cards grid ──────────────────────────────────── */
.funfact-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 576px) {
    .funfact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .funfact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.countup-item.style-2 {
    background: #fff;
    border-radius: 10px;
    padding: 1.75rem 1.85rem 2rem;
    position: relative;
    text-align: start;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.countup-item.style-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -16px rgba(12,30,33,.14);
}
.countup-item.style-2 .count-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #ecf0f0;
    color: var(--accent);
    display: inline-grid;
    place-items: center;
    line-height: 1;
}
.countup-item.style-2 .count-icon svg {
    width: 30px;
    height: 30px;
}
.countup-item.style-2 .steps {
    position: absolute;
    top: 1.85rem;
    right: 1.85rem;
    color: var(--ink-3);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
}
.countup-item.style-2 .count-inner {
    padding-top: 4.5rem;
}
.countup-item.style-2 .count-text {
    color: var(--ink-3);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    margin-bottom: .55rem;
}
.countup-item.style-2 .inline-content {
    display: inline-flex;
    align-items: baseline;
    gap: .05em;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
    margin-top: .25rem;
}
.countup-item.style-2 .countup-number { display: inline-block; min-width: 1ch; }
.countup-item.style-2 .count-plus { color: var(--ink); }
@media (max-width: 575px) {
    .countup-item.style-2 { padding: 1.5rem 1.25rem 1.75rem; }
    .countup-item.style-2 .count-inner { padding-top: 3.5rem; }
    .countup-item.style-2 .count-icon { width: 60px; height: 60px; }
    .countup-item.style-2 .count-icon svg { width: 26px; height: 26px; }
}

/* ─────────────────────────────────────────────────────────
   CONTACT + TESTIMONIAL (Bexon: tj-contact-section h4-contact-section)
   Dark teal-black 2-col: glassy form left, glassy slider right.
   ───────────────────────────────────────────────────────── */
.tj-contact-section.h4-contact-section {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    padding-block: clamp(4rem, 8vw, 6.5rem);
}
.tj-contact-section.h4-contact-section::before {
    content: "";
    position: absolute;
    bottom: 4%;
    left: 38%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(80px);
    opacity: .35;
    z-index: 0;
    pointer-events: none;
}
.tj-contact-section.h4-contact-section::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -8%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--lime);
    filter: blur(90px);
    opacity: .15;
    z-index: 0;
    pointer-events: none;
}
.tj-contact-section.h4-contact-section .wrap { position: relative; z-index: 1; }
.tj-contact-section .h4-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}
@media (min-width: 992px) {
    .tj-contact-section .h4-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tj-contact-section.h4-contact-section::before { width: 280px; height: 280px; }
}
.tj-contact-section .sec-heading.style-4 {
    margin-bottom: 2.5rem;
}
.tj-contact-section .sec-heading.style-4 .sub-title {
    color: var(--accent);
    border-color: rgba(30,138,138,.5);
}
.tj-contact-section .sec-heading.style-4 .sec-title {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.025em;
}
.tj-contact-section .sec-heading.style-4 .sec-title em {
    color: var(--accent);
}

/* ── Form (style-3) ────────────────────────────────────── */
.contact-form.style-3 {
    max-width: 610px;
    width: 100%;
}
.contact-form.style-3 form { width: 100%; }
.contact-form.style-3 .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 576px) {
    .contact-form.style-3 .form-row.two-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.contact-form.style-3 .form-input {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.contact-form.style-3 .cf-label {
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    margin-bottom: .5rem;
    letter-spacing: 0;
    text-transform: none;
}
.contact-form.style-3 .form-input input,
.contact-form.style-3 .form-input textarea,
.contact-form.style-3 .form-input select {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: .7rem 1rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, background .2s;
    width: 100%;
    min-width: 0;
}
.contact-form.style-3 .form-input input::placeholder,
.contact-form.style-3 .form-input textarea::placeholder {
    color: rgba(255,255,255,.4);
}
.contact-form.style-3 .form-input input:focus,
.contact-form.style-3 .form-input textarea:focus,
.contact-form.style-3 .form-input select:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,.08);
}
.contact-form.style-3 .form-input textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form.style-3 .form-input select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}
.contact-form.style-3 .form-input select option {
    background: var(--ink);
    color: #fff;
}
.contact-form.style-3 .submit-btn {
    margin-top: .25rem;
}
.contact-form.style-3 .submit-btn .btn {
    width: 100%;
    justify-content: center;
}

/* ── Testimonial slider (h4-testimonial glass card) ───── */
.testimonial-wrapper-3 {
    position: relative;
    height: 100%;
    display: flex;
}
.testimonial-slider-2.h4-testimonial {
    flex: 1;
    background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(30,138,138,.06) 100%);
    border: 1px solid rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 2.75rem 0 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tes-title {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -.02em;
    padding: 0 2.5rem 0;
    margin: 0;
}
.tes-title span {
    color: rgba(255,255,255,.45);
    font-weight: 400;
}
.testi-viewport {
    overflow: hidden;
    flex: 1;
}
.testi-track {
    display: flex;
    width: 100%;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    will-change: transform;
    height: 100%;
}
.testimonial-item {
    flex: 0 0 100%;
    padding: 2.25rem 2.5rem 0;
    display: flex;
    flex-direction: column;
}
.testimonial-item .quote-icon {
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: .55;
    display: inline-flex;
    margin-bottom: .75rem;
    height: .55em;
}
.testimonial-item .desc {
    color: rgba(255,255,255,.9);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.45vw, 1.35rem);
    line-height: 1.5;
    margin: 0 0 2rem;
    font-weight: 400;
    flex: 1;
}
.testimonial-item .desc p { margin: 0; }
.testimonial-item .testimonial-author {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}
.testimonial-item .testimonial-author .author-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.testimonial-item .testimonial-author .author-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-item .testimonial-author .author-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.testimonial-item .testimonial-author .author-header .title {
    margin: 0 0 .25rem;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.1;
}
.testimonial-item .testimonial-author .author-header .designation {
    font-family: var(--font-body);
    font-size: .92rem;
    color: rgba(255,255,255,.55);
    letter-spacing: 0;
    text-transform: none;
}
.testimonial-item .testimonial-author .stars {
    display: none;
}

/* ── Slider controls (prev/next only — no dots) ───────── */
.testi-controls {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 2;
}
.testi-controls button {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.85);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.testi-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}
.testi-dots { display: none; }

@media (max-width: 575px) {
    .testimonial-slider-2.h4-testimonial { padding: 2rem 0 4rem; }
    .testimonial-item { padding: 1.75rem 1.25rem 0; }
    .tes-title { padding: 0 1.25rem 1rem; font-size: 1.05rem; }
    .testimonial-item .desc { font-size: 1rem; }
    .testi-controls { right: 1.25rem; bottom: 1.25rem; }
}

/* ─────────────────────────────────────────────────────────
   SERVICE-5 (Bexon: tj-service-section-5 — used for Ventures)
   Stacked dark cards with icon + numbered content + image.
   ───────────────────────────────────────────────────────── */
.section-gap {
    padding-block: clamp(4rem, 10vw, 7.5rem);
}
.text-center { text-align: center; }
.tj-service-section-5 {
    position: relative;
}
.tj-service-section-5 .sec-heading {
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.service-item.style-5 {
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: box-shadow .45s;
    will-change: transform, opacity;
}
/* Bexon-style stack pin: each card sticks below the nav and the next slides over it.
   The fade+scale on the previous card is driven by JS in studio.js. */
@media (min-width: 992px) {
    .service-wrapper { gap: 2rem; }
    .service-item.style-5.service-stack {
        position: sticky;
        top: 110px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .service-item.style-5.service-stack { position: static; }
}
.service-item.style-5 .service-content-area {
    flex: 1 1 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 3.75rem);
    gap: 2.5rem;
    min-height: 480px;
}
.service-item.style-5 .service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    color: var(--accent);
}
.service-item.style-5 .service-icon svg {
    width: 32px;
    height: 32px;
}
.service-item.style-5 .service-content { max-width: 460px; }
.service-item.style-5 .no {
    display: inline-flex;
    color: rgba(255,255,255,.45);
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    line-height: 1;
    margin-bottom: 1rem;
}
.service-item.style-5 .title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
}
.service-item.style-5 .title a { color: inherit; transition: color .25s; }
.service-item.style-5 .title a:hover { color: var(--accent); }
.service-item.style-5 .desc {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
.service-item.style-5 .service-meta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.service-item.style-5 .service-meta .badge {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
}
.service-item.style-5 .service-meta .badge--saas {
    background: var(--lime);
    color: var(--ink-on-lime);
    border-color: transparent;
}
.service-item.style-5 .tj-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.75rem;
    padding: .85rem 1.4rem;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 500;
    align-self: flex-start;
    transition: background .25s, transform .25s, gap .25s;
    text-decoration: none;
}
.service-item.style-5 .tj-primary-btn:hover {
    background: #fff;
    color: var(--ink);
    gap: .75rem;
}
.service-item.style-5 .tj-primary-btn .arrow { transition: transform .25s; }
.service-item.style-5 .tj-primary-btn:hover .arrow { transform: translateX(3px); }
.service-item.style-5 .service-img {
    flex: 1 1 480px;
    max-width: 581px;
    height: auto;
    align-self: stretch;
    background: rgba(255,255,255,.04);
    position: relative;
    overflow: hidden;
}
.service-item.style-5 .service-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.service-item.style-5:hover .service-img img { transform: scale(1.04); }
.service-item.style-5 .service-img-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 700;
    color: rgba(255,255,255,.08);
    letter-spacing: -.05em;
}
@media (max-width: 900px) {
    .service-item.style-5 .service-content-area {
        flex: 1 1 100%;
        min-height: auto;
    }
    .service-item.style-5 .service-img {
        flex: 1 1 100%;
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }
}

.service-bottom-text {
    margin-top: 2.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ink-3);
}
.service-bottom-text .desc { margin: 0; }
.service-bottom-text a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    transition: color .2s;
}
.service-bottom-text a:hover { color: var(--ink); }

/* ─────────────────────────────────────────────────────────
   TRUST SECTION (Bexon-style: tj-about-section-2)
   Soft mint card with heading + customer avatars + buttons +
   full-width logo marquee underneath. Teal-aligned.
   ───────────────────────────────────────────────────────── */
.section-gap-x {
    margin-inline: 15px;
}
@media (max-width: 767px) {
    .section-gap-x { margin-inline: 12px; }
}
.tj-about-section-2 {
    background: var(--bg-3);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-block: clamp(4rem, 10vw, 7.5rem);
}
.tj-about-section-2::before {
    content: "";
    position: absolute;
    top: -10%; right: -8%;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,138,138,.08), transparent 70%);
    pointer-events: none;
}
.tj-about-section-2::after {
    content: "";
    position: absolute;
    bottom: -10%; left: -6%;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%);
    pointer-events: none;
}
.tj-about-section-2 > .container,
.tj-about-section-2 > .wrap {
    position: relative;
}
.about-content-area.style-3 {
    max-width: 920px;
    margin-inline: auto;
}
.sec-heading.style-4 {
    margin-bottom: 2.25rem;
}
.sec-heading.style-4 .sub-title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
    color: var(--accent);
    border: 1px dashed var(--accent);
    background: transparent;
    border-radius: 6px;
    padding: .35rem .7rem;
    margin-bottom: 1.5rem;
}
.sec-heading.style-4 .sub-title svg {
    width: 14px; height: 14px;
}
.sec-heading.style-4 .sec-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.05;
    color: var(--ink);
}
.sec-heading.style-4 .sec-title em,
.sec-heading.style-4 .sec-title .accent {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.about-bottom-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}
.customers-box.style-3 {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 8px 28px -12px rgba(12,30,33,.10);
}
.customers ul {
    display: inline-flex;
    list-style: none;
    padding: 0; margin: 0;
}
.customers ul li {
    line-height: 1;
    margin-inline-start: -14px;
}
.customers ul li:first-child { margin-inline-start: 0; }
.customers ul li img,
.customers ul li .avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-2);
    object-fit: cover;
    box-shadow: 0 0 0 3px #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .82rem;
    color: var(--ink);
}
.customers ul li:last-child .plus-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 0 0 3px #fff;
}
.customers-text {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-2);
    line-height: 1.4;
}
.customers-text strong {
    color: var(--accent);
    font-weight: 700;
}
@media (max-width: 575px) {
    .customers-box.style-3 { padding: 1rem 1.1rem; gap: 1rem; }
    .customers ul li img,
    .customers ul li .avatar-fallback,
    .customers ul li:last-child .plus-mark { width: 44px; height: 44px; }
    .customers ul li { margin-inline-start: -12px; }
}
.about-btn-area-2 {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-left: auto;
}
@media (max-width: 767px) {
    .about-btn-area-2 { margin-left: 0; width: 100%; }
}
.client-container-2 {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-inline: 0;
    overflow: hidden;
}
.client-slider-3 {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 35s linear infinite;
    align-items: center;
    padding-inline: 1.5rem;
}
.client-slider-3 .client-item {
    flex-shrink: 0;
    width: 284px;
    height: 120px;
    background: #fff;
    border-radius: 16px;
    display: grid;
    place-items: center;
    padding: 1.25rem 2rem;
    box-shadow: 0 1px 2px rgba(12,30,33,.04);
    transition: box-shadow .3s, transform .3s;
}
.client-slider-3 .client-item:hover {
    box-shadow: 0 14px 32px -12px rgba(12,30,33,.18);
    transform: translateY(-3px);
}
.client-slider-3 .client-logo {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}
.client-slider-3 .client-logo img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .75;
    transition: filter .3s, opacity .3s;
}
.client-slider-3 .client-item:hover .client-logo img {
    filter: grayscale(0);
    opacity: 1;
}
.client-slider-3 .client-fallback {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ink-3);
    letter-spacing: -.02em;
    opacity: .8;
    transition: opacity .3s, color .3s;
}
.client-slider-3 .client-item:hover .client-fallback {
    opacity: 1;
    color: var(--ink);
}
@media (max-width: 575px) {
    .client-slider-3 .client-item { width: 220px; height: 100px; padding: 1rem 1.5rem; }
    .client-slider-3 .client-logo img { max-height: 56px; }
}

/* ─────────────────────────────────────────────────────────
   CTA Band
   ───────────────────────────────────────────────────────── */
.cta-band {
    background: var(--lime);
    color: var(--ink-on-lime);
    border-radius: var(--radius-xl);
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: center;
    overflow: hidden;
    position: relative;
}
@media (min-width: 900px) {
    .cta-band { grid-template-columns: 1.3fr 1fr; }
}
.cta-band__title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1;
    letter-spacing: -.03em;
}
.cta-band__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.cta-band__actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}
.cta-band .btn--primary {
    background: var(--ink);
    color: #fff;
}
.cta-band .btn--ghost {
    background: transparent;
    color: var(--ink-on-lime);
    border-color: rgba(10,10,10,.25);
}
.cta-band .btn--ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.site-footer {
    padding: clamp(4rem, 8vw, 6rem) 0 2rem;
    background: var(--ink);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: clamp(4rem, 8vw, 6rem);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 80% 0%, rgba(30,138,138,.10), transparent 60%),
        radial-gradient(ellipse 40% 30% at 10% 100%, rgba(206,224,224,.06), transparent 70%);
    pointer-events: none;
}
.site-footer > * { position: relative; }
.site-footer .nav__logo { color: #fff; }
.site-footer .nav__logo-mark { background: #fff; color: var(--ink); }
.site-footer__inner { display: grid; gap: 3rem; }
@media (min-width: 900px) {
    .site-footer__inner { grid-template-columns: 1.3fr 2fr; }
}
.site-footer__brand p {
    color: rgba(255,255,255,.55);
    margin: .75rem 0 1.5rem;
    max-width: 36ch;
}
.site-footer__socials { display: flex; gap: .5rem; }
.site-footer__socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    display: grid;
    place-items: center;
    transition: background .25s, color .25s, transform .25s, border-color .25s;
    font-family: var(--font-mono);
    font-size: .8rem;
}
.site-footer__socials a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.site-footer__nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.site-footer__nav h5 {
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255,255,255,.4);
    margin-bottom: 1rem;
}
.site-footer__nav a, .site-footer__nav span {
    display: block;
    padding: .35rem 0;
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    transition: color .2s;
}
.site-footer__nav a:hover { color: var(--lime); }
.site-footer__bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: .72rem;
    color: rgba(255,255,255,.4);
}
.site-footer__bottom em { color: var(--lime); font-style: normal; }

/* ─────────────────────────────────────────────────────────
   PROJECT DETAIL page
   ───────────────────────────────────────────────────────── */
.project-hero {
    padding: clamp(7rem, 14vh, 10rem) 0 clamp(2rem, 4vw, 4rem);
}
.project-hero__breadcrumb {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--ink-4);
    margin-bottom: 1.5rem;
}
.project-hero__breadcrumb a:hover { color: var(--accent); }
.project-hero__title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: -.03em;
    max-width: 18ch;
    margin-top: .5rem;
}
.project-hero__tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    color: var(--ink-3);
    margin-top: 1rem;
    max-width: 50ch;
}
.project-hero__meta {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: 1.75rem 0;
}
.project-hero__cover {
    margin-top: 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-3);
    box-shadow: var(--shadow);
}
.project-hero__cover img { width: 100%; height: 100%; object-fit: cover; }

.project-block {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid var(--hairline);
}
.project-block__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .project-block__grid { grid-template-columns: 1fr 2fr; }
}
.project-block__label {
    font-family: var(--font-mono);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
}
.project-block__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-top: .5rem;
    letter-spacing: -.025em;
    line-height: 1.05;
}
.project-block__body {
    font-size: 1.1rem;
    color: var(--ink-2);
    line-height: 1.7;
    white-space: pre-wrap;
}
.feature-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-sm);
}
.feature-list li::before {
    content: "";
    flex-shrink: 0;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--accent);
    margin-top: .55rem;
}

/* ─────────────────────────────────────────────────────────
   PROJECTS LISTING — filters
   ───────────────────────────────────────────────────────── */
.filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.filters a {
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-3);
    transition: background .2s, color .2s, border-color .2s;
}
.filters a:hover { color: var(--ink); border-color: var(--border); }
.filters a.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: .25rem;
    margin-top: 3rem;
}
.pagination a, .pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--hairline);
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: .82rem;
    transition: all .2s;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ─────────────────────────────────────────────────────────
   ABOUT page specifics
   ───────────────────────────────────────────────────────── */
.about-hero { padding: clamp(7rem, 14vh, 10rem) 0 clamp(2rem, 5vw, 4rem); }
.about-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    max-width: 16ch;
    line-height: 1;
    letter-spacing: -.03em;
}
.about-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.about-cards {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    margin-top: 3rem;
}
.about-card {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
}
.about-card__num {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--accent);
}
.about-card__title { font-family: var(--font-display); font-size: 1.2rem; margin: .75rem 0 .35rem; font-weight: 700; letter-spacing: -.02em; }
.about-card__desc { color: var(--ink-3); font-size: .92rem; }

/* ─────────────────────────────────────────────────────────
   CONTACT PAGE (light variant — sentence-case labels, white cards)
   ───────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}

.contact-form-light .cf-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 576px) {
    .contact-form-light .cf-row.two-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.contact-form-light .cf-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.contact-form-light .cf-label {
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-2);
    margin-bottom: .55rem;
    letter-spacing: 0;
    text-transform: none;
}
.contact-form-light input,
.contact-form-light textarea,
.contact-form-light select {
    width: 100%;
    min-width: 0;
    padding: .8rem 1rem;
    background: var(--bg);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder { color: var(--ink-5); }
.contact-form-light input:focus,
.contact-form-light textarea:focus,
.contact-form-light select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    background: #fff;
}
.contact-form-light textarea { min-height: 150px; resize: vertical; }
.contact-form-light select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23364e52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}

.contact-form-light .cf-submit-row {
    align-items: end;
}
.contact-form-light .cf-captcha-input {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.contact-form-light .cf-captcha-q {
    flex-shrink: 0;
    background: var(--accent-soft);
    border: 1px solid rgba(30,138,138,.2);
    border-radius: 8px;
    padding: .8rem 1rem;
    font-family: var(--font-mono);
    font-size: .95rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .04em;
    white-space: nowrap;
    line-height: 1.1;
}
.contact-form-light .cf-captcha input {
    max-width: 110px;
}
.contact-form-light .cf-submit .btn {
    width: 100%;
    justify-content: center;
}
@media (max-width: 575px) {
    .contact-form-light .cf-submit-row { gap: 1.5rem; }
}

/* ── Right column: direct info ────────────────────────── */
.contact-aside {
    position: sticky;
    top: 110px;
}
@media (max-width: 899px) {
    .contact-aside { position: static; }
}
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.contact-info-item:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; }
.contact-info-label {
    font-family: var(--font-mono);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-4);
    margin-bottom: .2rem;
}
.contact-info-val {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
    transition: color .2s;
    text-decoration: none;
}
a.contact-info-val:hover { color: var(--accent); }

.contact-promise {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-3);
    border-radius: 12px;
}
.contact-promise__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.contact-promise__icon svg { width: 18px; height: 18px; }

.alert-flash {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    font-size: .92rem;
}
.alert-flash--success { background: #d6f5dd; border-color: #aae0b5; color: #115b2a; }
.alert-flash--error   { background: #ffe0d6; border-color: #f5b8a0; color: #7a2912; }

/* ─────────────────────────────────────────────────────────
   Reveal animations (intersection observer driven)
   ───────────────────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
[data-reveal].visible {
    opacity: 1;
    transform: none;
}
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
[data-reveal-stagger].visible > * { opacity: 1; transform: none; }
[data-reveal-stagger].visible > *:nth-child(1) { transition-delay: .05s; }
[data-reveal-stagger].visible > *:nth-child(2) { transition-delay: .15s; }
[data-reveal-stagger].visible > *:nth-child(3) { transition-delay: .25s; }
[data-reveal-stagger].visible > *:nth-child(4) { transition-delay: .35s; }
[data-reveal-stagger].visible > *:nth-child(5) { transition-delay: .45s; }
[data-reveal-stagger].visible > *:nth-child(6) { transition-delay: .55s; }

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

/* ─────────────────────────────────────────────────────────
   Responsive tweaks
   ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; }
    .hero__bottom { grid-template-columns: 1fr; }
    .hero__metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero__metrics { grid-template-columns: 1fr; }
    .nav { top: 12px; }
    .nav__wrap { padding: .5rem .5rem .5rem 1rem; }
}
