/* ============================================================================
   DIGITT HYPE — THEME LAYER  (the "Morez" design language)
   Loaded LAST. Re-points the shared tokens and defines the component kit once,
   so every page that uses the shared classes changes together.

   Kit (one of each — build with these, do not invent new ones):
     BANDS     .band-dark  .band-light  (auto-alternate on <main> > section)
     MESH      .mesh  → soft animated multicolour gradient surface
     HERO      .hero-frame > .hero.mesh   |   .page-banner (inner pages)
     NAV       .navbar (floating pill) + .mega--simple dropdown
     TILE      .card .entity-card .link-card …  → black tile + gradient glow
     BUTTONS   .btn-primary (gradient pill)  .btn-secondary  .btn-ghost
     TYPE      Geist (display/UI) · Geist Mono (short copy, labels)
     CTA       .cta-panel (rendered once, by includes/footer.php)
   ============================================================================ */

/* ---------------------------------------------------------------------------
   01  TOKENS
   --------------------------------------------------------------------------- */
:root {
    --font-display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font:         'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    --step-3: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
    --step-4: clamp(2rem, 1.2rem + 3.2vw, 3.7rem);
    --step-5: clamp(2.6rem, 1.3rem + 5.6vw, 5.3rem);

    --frame: clamp(10px, 1.3vw, 17px);          /* gap between the viewport edge and panels */
    --nav-top: 14px;
    --nav-h: 56px;
    --header-height: calc(var(--nav-top) + var(--nav-h));
    --max-width: 1240px;

    --r-panel: clamp(20px, 2.4vw, 30px);
    --r-tile: 22px;

    /* Mesh palette */
    --mz-pink:   #E2586C;
    --mz-purple: #A56DB8;
    --mz-blue:   #5F88C6;
    --mz-yellow: #EDBB4C;
    --mz-green:  #86BB7B;
    --mz-coral:  #EB5F69;

    --grad-cta: linear-gradient(100deg, #A9D6A3 0%, #86B6D8 100%);

    /* DARK is the default token set (black body) */
    --bg: #000;
    --bg-alt: #0b0b0b;
    --text-1: #fff;
    --text-2: rgba(255,255,255,.80);
    --text-3: rgba(255,255,255,.62);
    --text-accent: #FF9AA2;
    --text-accent-gold: #F2CC72;
    --border: rgba(255,255,255,.14);
    --border-strong: rgba(255,255,255,.34);
    --surface-1: rgba(255,255,255,.04);
    --surface-2: rgba(255,255,255,.08);
    --surface-3: rgba(255,255,255,.12);
    --ring: 0 0 0 3px rgba(255,154,162,.7);
}

/* LIGHT band tokens — everything that reads tokens flips automatically */
.band-light,
:where(main > section:nth-of-type(even):not(.band-dark):not(.page-banner):not(.hero-frame):not(.cta-band)) {
    --bg: #fff;
    --bg-alt: #F6F4F7;
    --text-1: #0A0A0A;
    --text-2: #2E2E33;
    --text-3: #5A5A63;
    --text-accent: #B8222F;
    --text-accent-gold: #8A5A00;
    --border: rgba(0,0,0,.14);
    --border-strong: rgba(0,0,0,.4);
    --surface-1: rgba(0,0,0,.03);
    --surface-2: rgba(0,0,0,.06);
    --surface-3: rgba(0,0,0,.1);
    --ring: 0 0 0 3px rgba(0,0,0,.55);
    background: #fff;
    color: var(--text-1);
    margin-inline: var(--frame);
    border-radius: var(--r-panel);
}
/* breadcrumbs sit on black, between the banner and the first band */

/* ---------------------------------------------------------------------------
   02  BASE
   --------------------------------------------------------------------------- */
html { background: #000; }
body {
    background: #000;
    color: var(--text-2);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body::before { display: none; }                  /* old ambient gradient */
.noise, .orb, .grid-lines, .hero-glow, .hero-glow-2, .float-element, .cta-glow, .hero-overlay { display: none !important; }

.section { padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.container { max-width: var(--max-width); }

a { color: inherit; }
::selection { background: var(--mz-coral); color: #fff; }

/* ---------------------------------------------------------------------------
   03  TYPOGRAPHY
   --------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
h6 { letter-spacing: .08em; }

.section-title { font-size: var(--step-4); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; margin-bottom: var(--space-5); }
.section-header { max-width: 920px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-desc, .hero-subtitle, .page-banner > .container > p {
    font-family: var(--font-mono);
    font-size: clamp(.9rem, .86rem + .25vw, 1.02rem);
    line-height: 1.75;
    max-width: 58ch;
}
.eyebrow, .section-tag {
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--text-2);
    gap: var(--space-2);
}
.eyebrow::before, .section-tag::before {
    width: 8px; height: 8px; border-radius: 50%;
    background: conic-gradient(var(--mz-pink), var(--mz-yellow), var(--mz-green), var(--mz-blue), var(--mz-purple), var(--mz-pink));
}
.eyebrow--gold, .section-tag--gold { color: var(--text-2); }

/* The accent word: black/white ink with a colour marker underneath (no gradient text) */
.gradient-text, .section-title .gradient-text, .hero-glitch {
    background: linear-gradient(90deg, var(--mz-purple), var(--mz-pink) 55%, var(--mz-yellow)) 0 94% / 100% .14em no-repeat;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    padding-bottom: .04em;
}
.section-title span:not(.gradient-text) { background: none; -webkit-text-fill-color: currentColor; color: inherit; }
.gradient-text--gold { background-image: linear-gradient(90deg, var(--mz-yellow), var(--mz-pink)); }
.hero-glitch::before, .hero-glitch::after { display: none !important; }

.text-link, .read-more { color: var(--text-1); font-weight: 600; }
.prose, .prose p, .faq-answer p { font-family: var(--font); }
code { background: var(--surface-2); color: var(--text-1); }

/* ---------------------------------------------------------------------------
   04  BUTTONS  — pills, one system
   --------------------------------------------------------------------------- */
.btn {
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    box-shadow: none;
}
.btn-lg { min-height: 54px; padding: 15px 32px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 9px 20px; font-size: .9rem; }
.btn-primary {
    background: var(--grad-cta);
    color: #0A0A0A;
    box-shadow: none;
}
.btn-primary::before { background: linear-gradient(100deg, #C3E6BD, #A5CCEA); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(134,182,216,.35); color: #0A0A0A; }
.btn-secondary, .btn-outline {
    background: transparent;
    color: var(--text-1);
    border-color: var(--text-1);
    backdrop-filter: none;
}
.btn-secondary:hover, .btn-outline:hover {
    background: var(--text-1);
    color: var(--bg);
    border-color: var(--text-1);
    box-shadow: none;
    transform: translateY(-2px);
}
.btn-ghost { color: var(--text-1); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text-1); border-color: transparent; }
.btn-gold { background: var(--mz-yellow); color: #0A0A0A; box-shadow: none; }

/* ---------------------------------------------------------------------------
   05  NAVBAR — floating black pill
   --------------------------------------------------------------------------- */
.navbar,
.navbar.scrolled,
.navbar.is-scrolled {
    top: var(--nav-top);
    left: var(--frame);
    right: var(--frame);
    height: var(--nav-h);
    border-radius: 18px;
    background: #000;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 40px rgba(0,0,0,.28);
    backdrop-filter: none;
    padding-top: 0;
}
.navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    max-width: none;
    padding-inline: clamp(14px, 2vw, 24px);
    gap: var(--space-4);
}
.logo-mark { height: 26px; }
.nav-primary { justify-content: center; }
.nav-links { gap: 2px; }
.nav-link, .drop-trigger {
    height: 38px;
    padding: 0 14px;
    font-size: .92rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
}
.nav-link:hover, .drop-trigger:hover,
.nav-link:focus-visible, .drop-trigger:focus-visible,
.drop-trigger[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.12); }
.nav-link.active, .drop-trigger.active, .nav-link[aria-current="page"] { color: var(--mz-coral); background: transparent; }
.nav-cta { height: 40px; min-height: 40px; margin-left: 0; padding-inline: 20px; }

/* One simple dropdown (replaces the four mega panels) */
.mega--simple {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 310px;
    max-width: calc(100vw - 2 * var(--frame));
    max-height: none;
    overflow: visible;
    padding: 8px;
    border-radius: 20px;
    background: #0B0B0B;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    backdrop-filter: none;
}
.mega-links { display: flex; flex-direction: column; gap: 2px; }
.mega-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; transition: background-color var(--dur-fast) var(--ease-out); }
.mega-link:hover, .mega-link:focus-visible, .mega-link[aria-current="page"] { background: rgba(255,255,255,.1); }
.mega-link-title { color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.mega-link-teaser { color: rgba(255,255,255,.6); font-family: var(--font-mono); font-size: .74rem; line-height: 1.4; }

.drawer-toggle { border-radius: 12px; }
.drawer-panel { background: #000; border-left: 1px solid rgba(255,255,255,.12); }

/* ---------------------------------------------------------------------------
   06  MESH SURFACE + HERO
   --------------------------------------------------------------------------- */
.mesh {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #C4799A;
    color: #fff;
}
.mesh::before, .mesh::after {
    content: '';
    position: absolute;
    inset: -12%;
    z-index: -1;
    pointer-events: none;
    filter: blur(26px) saturate(1.25);
}
.mesh::before {
    background:
        radial-gradient(48% 58% at 4% 42%,   var(--mz-pink) 0, transparent 68%),
        radial-gradient(46% 54% at 34% 0%,   var(--mz-purple) 0, transparent 68%),
        radial-gradient(46% 60% at 100% 46%, var(--mz-yellow) 0, transparent 68%),
        radial-gradient(52% 56% at 14% 104%, var(--mz-blue) 0, transparent 68%);
    animation: mesh-drift 22s ease-in-out infinite alternate;
}
.mesh::after {
    background:
        radial-gradient(40% 46% at 80% 6%,   var(--mz-pink) 0, transparent 68%),
        radial-gradient(48% 52% at 70% 104%, var(--mz-green) 0, transparent 68%),
        radial-gradient(30% 36% at 52% 62%,  rgba(150,110,190,.5) 0, transparent 70%);
    transform: translate(calc(var(--cf-x, 0) * 46px), calc(var(--cf-y, 0) * 34px));
    transition: transform .6s var(--ease-out);
    opacity: .95;
}
.mesh > * { position: relative; z-index: 1; }
@keyframes mesh-drift {
    0%   { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
    50%  { transform: translate3d(3%, 3%, 0) rotate(6deg) scale(1.06); }
    100% { transform: translate3d(-2%, 4%, 0) rotate(-5deg) scale(1.02); }
}
/* legibility scrim so white type holds on the pale areas of the mesh */
.hero--mesh::selection { background: #000; }
.hero--mesh > .container, .page-banner > .container { position: relative; z-index: 2; }
.hero--mesh .scrim, .page-banner .scrim { display: none; }

.hero-frame { position: relative; margin: calc(var(--header-height) + 14px) var(--frame) 0; padding: 0; }
.hero-frame + * { margin-top: 0; }
.hero.hero--mesh {
    display: block;
    min-height: min(78svh, 760px);
    padding: clamp(80px, 11vw, 150px) 0 clamp(150px, 15vw, 210px);
    border-radius: var(--r-panel);
    text-align: center;
}
.hero.hero--mesh .hero-content { max-width: 980px; margin-inline: auto; }
.hero-title {
    font-size: var(--step-5);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(60,20,90,.25);
}
.hero-title .gradient-text { background-image: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.95)); background-size: 100% .1em; }
.hero-subtitle { color: #fff; margin-inline: auto; text-shadow: 0 1px 14px rgba(60,20,90,.35); }
.hero-subtitle a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hero--mesh .btn-secondary { color: #fff; border-color: #fff; }
.hero--mesh .btn-secondary:hover { background: #fff; color: #0A0A0A; }
.hero-buttons { justify-content: center; }

/* Rotating text badge (the round "scroll" call-to-action) */
.spin-badge {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 5;
    width: clamp(120px, 13vw, 164px);
    aspect-ratio: 1;
    transform: translate(-50%, 50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 0 clamp(8px, 1vw, 12px) #000;
}
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.spin-badge text { fill: #fff; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.spin-badge .spin-core {
    position: relative;
    width: 46%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad-cta);
    color: #0A0A0A;
    font-size: 1.2rem;
    transition: transform var(--dur) var(--ease-spring);
}
.spin-badge:hover .spin-core { transform: translateY(4px) scale(1.06); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Inner-page banner = same mesh panel, smaller */
.page-banner {
    margin: calc(var(--header-height) + 14px) var(--frame) 0;
    padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 100px);
    border: 0;
    border-radius: var(--r-panel);
    text-align: center;
    background: #C4799A;
    color: #fff;
}
.page-banner-bg { display: none; }
.page-banner::before {
    inset: -12%;
    z-index: -1;
    background:
        radial-gradient(48% 58% at 4% 42%,   var(--mz-pink) 0, transparent 68%),
        radial-gradient(46% 54% at 34% 0%,   var(--mz-purple) 0, transparent 68%),
        radial-gradient(46% 60% at 100% 46%, var(--mz-yellow) 0, transparent 68%),
        radial-gradient(52% 56% at 14% 104%, var(--mz-blue) 0, transparent 68%),
        radial-gradient(44% 50% at 72% 104%, var(--mz-green) 0, transparent 68%);
    filter: blur(26px) saturate(1.25);
    animation: mesh-drift 24s ease-in-out infinite alternate;
}
.page-banner h1 { color: #fff; font-size: var(--step-4); max-width: 22ch; margin-inline: auto; letter-spacing: -.04em; text-wrap: balance; }
.page-banner .eyebrow, .page-banner .eyebrow::before { color: #fff; }
.page-banner > .container > p, .page-banner .section-desc { color: #fff; margin-inline: auto; }
.page-banner .gradient-text { background-image: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.95)); background-size: 100% .1em; }
.page-banner .hero-buttons, .page-banner .chip-row, .page-banner .cluster { justify-content: center; }
.page-banner .split { text-align: left; }
.page-banner .split h1, .page-banner .split .section-desc { margin-inline: 0; }
.page-banner .split .hero-buttons, .page-banner .split .chip-row { justify-content: flex-start; }
.page-banner .btn-secondary, .page-banner .btn-ghost { color: #fff; border-color: #fff; }
.page-banner .btn-secondary:hover { background: #fff; color: #0A0A0A; }
.page-banner .chip { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.12); }

/* breadcrumbs */
.breadcrumbs, nav[aria-label="Breadcrumb"] { padding-block: var(--space-4); }

/* ---------------------------------------------------------------------------
   07  MARQUEES
   --------------------------------------------------------------------------- */
.logo-band { padding-block: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 48px); background: transparent; }
.logo-band .trusted-logos-rows { gap: var(--space-5); }
.word-band { padding-block: clamp(24px, 4vw, 48px); overflow: hidden; }
.word-band .dh-marquee__track { gap: 0; padding-right: 0; align-items: center; }
.word-band .word {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: clamp(1.4rem, 3.2vw, 2.6rem);
    letter-spacing: .04em;
    white-space: nowrap;
    color: #fff;
    padding-inline: .6em;
}
.word-band .word i { font-style: normal; color: var(--mz-pink); margin-left: 1.2em; }
.word-band .word:nth-child(3n+2) i { color: var(--mz-yellow); }
.word-band .word:nth-child(3n) i { color: var(--mz-green); }

/* ---------------------------------------------------------------------------
   08  TILES — black card + coloured glow (cards, entity-cards, link-cards)
   --------------------------------------------------------------------------- */
.card, .card-glass, .feature-card, .mv-card, .tool-card, .contact-info-card, .why-metrics-glass,
.testimonial-card, .process-step, .timeline-item, .blog-card, .case-study-card, .contact-form-card,
.entity-card, .link-card {
    --text-1: #fff;
    --text-2: rgba(255,255,255,.82);
    --text-3: rgba(255,255,255,.62);
    --text-accent: #fff;
    --border: rgba(255,255,255,.16);
    --border-strong: rgba(255,255,255,.4);
    --surface-1: rgba(255,255,255,.06);
    --surface-2: rgba(255,255,255,.1);
    --glow-a: var(--mz-purple);
    --glow-b: var(--mz-pink);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
    color: var(--text-2);
    border: 0;
    border-radius: var(--r-tile);
    box-shadow: none;
    backdrop-filter: none;
    transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
}
.card, .card-glass, .feature-card, .mv-card, .tool-card, .contact-info-card, .why-metrics-glass,
.testimonial-card, .process-step, .timeline-item, .blog-card, .case-study-card, .contact-form-card { padding: clamp(24px, 2.6vw, 34px); }
.entity-card { padding: clamp(20px, 2.2vw, 28px); gap: var(--space-4); }
.entity-card-media { margin: calc(clamp(20px, 2.2vw, 28px) * -1) calc(clamp(20px, 2.2vw, 28px) * -1) 0; }
.link-card { padding: var(--space-5); border-radius: 18px; }
.card-glass::before, .why-metrics-glass::before, .contact-form-card::before, .link-card::before, .entity-card::before { display: none; }

/* the glow */
.card::after, .card-glass::after, .feature-card::after, .mv-card::after, .tool-card::after,
.contact-info-card::after, .why-metrics-glass::after, .testimonial-card::after, .process-step::after,
.timeline-item::after, .blog-card::after, .case-study-card::after, .contact-form-card::after,
.entity-card::after, .link-card::after {
    content: '';
    position: absolute;
    left: -15%; right: -15%; bottom: -66%;
    height: 80%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(50% 60% at 28% 100%, var(--glow-a) 0, transparent 70%),
        radial-gradient(50% 60% at 78% 100%, var(--glow-b) 0, transparent 70%);
    filter: blur(22px);
    opacity: .85;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.card:hover::after, .entity-card:hover::after, .link-card:hover::after, .feature-card:hover::after,
.mv-card:hover::after, .tool-card:hover::after { opacity: 1; transform: translateY(-8%); }
.entity-card:hover, .link-card:hover, .card:hover, .entity-card:focus-visible, .link-card:focus-visible {
    transform: translateY(-4px);
    background: #000;
    box-shadow: none;
}
.card-glass:hover, .why-metrics-glass:hover, .contact-form-card:hover { transform: none; }
.link-card:hover .link-card-title, .entity-card:hover .entity-card-title { color: #fff; }

/* glow colour rotation — same five hues everywhere */
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+1) { --glow-a: var(--mz-purple); --glow-b: var(--mz-pink); }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+2) { --glow-a: var(--mz-blue);   --glow-b: var(--mz-green); }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+3) { --glow-a: var(--mz-pink);   --glow-b: var(--mz-yellow); }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+4) { --glow-a: var(--mz-green);  --glow-b: var(--mz-blue); }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n)   { --glow-a: var(--mz-yellow); --glow-b: var(--mz-purple); }

/* icon plate inside tiles: quiet monochrome, like Morez's line glyphs */
.card-icon, .link-card-icon, .entity-card-icon, .service-icon, .tool-card-icon, .next-step-icon,
.why-point > i, .feature-card > i, .process-step > i, .link-card > i {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
}
.entity-card:hover .entity-card-icon, .link-card:hover .link-card-icon, .link-card:hover > i { transform: none; background: #fff; color: #000; }

/* tile titles & copy */
.entity-card-title, .link-card-title { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); letter-spacing: -.025em; color: #fff; }
.card p, .entity-card-desc, .link-card-teaser, .link-card > p, .card-meta {
    font-family: var(--font-mono);
    font-size: .84rem;
    line-height: 1.7;
}
.link-card-eyebrow, .link-card > .eyebrow { color: rgba(255,255,255,.7); letter-spacing: 0; text-transform: none; font-family: var(--font-mono); font-size: .76rem; }

/* the navigation cue on every linked tile: a quiet pill */
.entity-card-arrow, .svc-cta, .link-card-arrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    opacity: 1;
    transform: none;
    transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.link-card-arrow { align-self: center; margin-top: 0; padding: 9px 11px; }
.entity-card:hover .entity-card-arrow, .link-card:hover .link-card-arrow, .svc-card:hover .svc-cta { background: #fff; color: #000; }
.entity-card .text-link { color: #fff; }

/* images inside tiles */
.entity-card-media { border-radius: 0; background: #111; }
.entity-card-media::after { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); }

/* metric badge on dark tile */
.badge-metric { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; border-radius: 999px; font-family: var(--font-mono); font-weight: 600; }

/* ---------------------------------------------------------------------------
   09  STATS, CHIPS, FAQ, LISTS — flat elements that follow the band tokens
   --------------------------------------------------------------------------- */
.stat, .stat-item, .hero-stat {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    padding: var(--space-5) 0 0;
}
.stat-value, .stat > strong, .stat-item h3, .hero-stat h3 {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-1);
    font-weight: 600;
    font-size: var(--step-4);
    letter-spacing: -.05em;
}
.stat-label, .stat > span, .stat-item p, .hero-stat p { font-family: var(--font-mono); font-size: .84rem; color: var(--text-3); }
.stat:hover { background: transparent; }

.chip, .pill-nav .filter-btn, .filter-btn {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-1);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 500;
}
.chip:hover, .filter-btn:hover { background: var(--surface-2); color: var(--text-1); }
.filter-btn.active, .filter-btn[aria-pressed="true"] { background: var(--text-1); color: var(--bg); border-color: var(--text-1); }

.faq-item { background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question { color: var(--text-1); font-weight: 600; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); }
.faq-answer p { color: var(--text-2); }

.why-point { align-items: flex-start; }
.why-point > i { margin-top: 2px; background: #000; color: #fff; }
.why-point h3 { font-size: 1.15rem; }
.why-point p { font-family: var(--font-mono); font-size: .86rem; line-height: 1.7; }

table { color: var(--text-2); }
th { background: var(--surface-1); color: var(--text-1); }
td { border-color: var(--border); }

/* ---------------------------------------------------------------------------
   10  HOME-SPECIFIC KIT PIECES
   --------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.svc-card { min-height: 380px; justify-content: space-between; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-index { font-family: var(--font-mono); font-size: .8rem; color: rgba(255,255,255,.55); }
.svc-title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); letter-spacing: -.03em; color: #fff; margin-bottom: var(--space-3); }
.svc-desc { color: rgba(255,255,255,.82); display: block; -webkit-line-clamp: unset; overflow: visible; }
.svc-card .svc-lede { margin-top: auto; padding-top: var(--space-7); }
.svc-card .svc-foot { margin-top: var(--space-5); }

.statement { font-size: var(--step-4); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; color: var(--text-1); max-width: 20ch; }
.statement span { color: var(--text-3); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); margin-top: clamp(40px, 6vw, 88px); }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) var(--space-5); }
.work-card { display: block; color: #fff; }
.work-card-media { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-tile); overflow: hidden; background: #111; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.work-card:hover .work-card-media img { transform: scale(1.05); }
.work-card-metric {
    position: absolute; left: 16px; bottom: 16px;
    padding: 8px 14px; border-radius: 999px;
    background: #000; color: #fff;
    font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
}
.work-card-title { display: block; margin-top: var(--space-4); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.work-card-meta { display: block; font-family: var(--font-mono); font-size: .8rem; color: rgba(255,255,255,.62); margin-top: 4px; }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) var(--space-7); }
.why-item { border-top: 1px solid var(--border); padding-top: var(--space-5); }
.why-item .num { font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); }
.why-item h3 { margin: var(--space-3) 0; color: var(--text-1); }
.why-item p { font-family: var(--font-mono); font-size: .88rem; line-height: 1.75; color: var(--text-2); max-width: 46ch; }

/* ---------------------------------------------------------------------------
   11  CTA PANEL  (rendered once by includes/footer.php)
   --------------------------------------------------------------------------- */
.cta-band { padding: clamp(64px, 8vw, 120px) var(--frame); }
.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    max-width: 1120px;
    margin-inline: auto;
    border-radius: var(--r-tile);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,.14);
}
.cta-panel-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: clamp(28px, 4vw, 56px); }
.cta-panel-copy h2 { font-size: var(--step-3); color: #fff; max-width: 14ch; line-height: 1.05; }
.cta-panel-text { font-family: var(--font-mono); font-size: .88rem; color: rgba(255,255,255,.75); max-width: 40ch; }
.cta-panel-art { min-height: 320px; border-radius: 0; }
.cta-panel-art .shape { position: absolute; z-index: 2; display: block; }
.shape--ring { width: 46%; aspect-ratio: 1; left: 14%; top: 14%; border-radius: 50%; border: clamp(14px, 2.2vw, 26px) solid #fff; animation: float-y 7s ease-in-out infinite alternate; }
.shape--dot  { width: 22%; aspect-ratio: 1; right: 12%; top: 12%; border-radius: 50%; background: #0A0A0A; animation: float-y 6s ease-in-out -2s infinite alternate; }
.shape--half { width: 44%; aspect-ratio: 2 / 1; right: 10%; bottom: 0; border-radius: 999px 999px 0 0; background: #0A0A0A; animation: float-y 8s ease-in-out -4s infinite alternate; }
.shape--bar  { width: 34%; height: 14%; left: 10%; bottom: 16%; border-radius: 999px; background: var(--mz-yellow); transform: rotate(-12deg); animation: float-y 5s ease-in-out -1s infinite alternate; }
@keyframes float-y { from { translate: 0 -10px; } to { translate: 0 12px; } }

/* ---------------------------------------------------------------------------
   12  FOOTER
   --------------------------------------------------------------------------- */
.footer { background: #000; border-top: 0; padding-top: clamp(24px, 4vw, 48px); }
.footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); padding-bottom: clamp(32px, 5vw, 64px); }
.footer-col h4 { font-family: var(--font-mono); font-size: .8rem; letter-spacing: 0; text-transform: none; color: rgba(255,255,255,.55); font-weight: 500; }
.footer-col ul a { color: #fff; font-weight: 500; font-size: .95rem; }
.footer-col ul a:hover { color: var(--mz-coral); }
.footer-brand p { font-family: var(--font-mono); font-size: .82rem; color: rgba(255,255,255,.62); }
.footer-mail { display: block; color: #fff; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.footer-mail:hover { color: var(--mz-coral); }
.footer-address { margin-top: var(--space-3); margin-bottom: 0 !important; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between; padding-block: var(--space-5); border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-mono); font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; color: inherit; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: transparent; border-color: rgba(255,255,255,.28); }
.footer-social a:hover { background: #fff; color: #000; border-color: #fff; }
.footer-bottom-links { display: flex; gap: var(--space-5); }
.footer-bottom-links a:hover { color: #fff; }
.back-to-top { background: #fff; color: #000; border: 0; border-radius: 50%; }

/* ---------------------------------------------------------------------------
   13  FORMS (inputs live in tiles or light bands — both work off the tokens)
   --------------------------------------------------------------------------- */
input, select, textarea { font-family: var(--font); }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea,
.form-group input, .form-group select, .form-group textarea {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.22);
    color: #fff;
    border-radius: 14px;
}

/* ---------------------------------------------------------------------------
   14  CLEAN-UP — retire effects that fight the new language
   --------------------------------------------------------------------------- */
.dh-cursor { display: none !important; }
.hero-icon-field, .hero-scroll-cue, .svc-rail-hint, .rail-hint { display: none !important; }
.related-section .eyebrow { display: none; }

/* ---------------------------------------------------------------------------
   15  RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .navbar-inner { grid-template-columns: 1fr auto auto; }
    .nav-primary { display: none; }
}
@media (max-width: 900px) {
    .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-panel { grid-template-columns: 1fr; }
    .cta-panel-art { min-height: 240px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .work-grid, .why-grid { grid-template-columns: 1fr; }
    .page-banner .split { text-align: center; }
    .page-banner .split h1, .page-banner .split .section-desc { margin-inline: auto; }
    .page-banner .split .hero-buttons, .page-banner .split .chip-row { justify-content: center; }
}
@media (max-width: 560px) {
    .svc-grid { grid-template-columns: 1fr; }
    .svc-card { min-height: 320px; }
    .nav-cta { display: none; }
    .hero.hero--mesh { padding-bottom: 150px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .mesh::before, .page-banner::before, .spin-badge svg, .cta-panel-art .shape { animation: none !important; }
}

/* ---------------------------------------------------------------------------
   16  SPACING RHYTHM — consistent gaps between stacked blocks
   --------------------------------------------------------------------------- */
.page-banner .section-desc, .page-banner > .container > p { margin-bottom: 0; }
.page-banner .hero-buttons { margin-top: var(--space-6); }
.page-banner .chip-row { margin-top: var(--space-5); }
.section-header + * { margin-top: 0; }
.prose > * + * { margin-top: var(--space-4); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.section .chip-row + p, .section p + .chip-row { margin-top: var(--space-5); }

/* ---------------------------------------------------------------------------
   17  GRID BALANCE — no orphaned tiles (desktop), one hairline on every tile
   --------------------------------------------------------------------------- */
.card, .card-glass, .feature-card, .mv-card, .tool-card, .contact-info-card, .why-metrics-glass,
.testimonial-card, .process-step, .timeline-item, .blog-card, .case-study-card,
.entity-card, .link-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }

@media (min-width: 901px) {
    .grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

    .grid-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .grid-3 > * { grid-column: span 2; }
    .grid-3 > :last-child:nth-child(3n+1) { grid-column: span 6; }
    .grid-3 > :nth-last-child(2):nth-child(3n+1),
    .grid-3 > :last-child:nth-child(3n+2) { grid-column: span 3; }

    .grid-4 > :last-child:nth-child(4n+1) { grid-column: 1 / -1; }
}

.work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .work-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid--3 { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* filter pills / pill-nav — same pill language as buttons */
.pill-nav a, .pill-nav button, .filter-btn, .case-filter-btn {
    min-height: 40px; padding: 8px 18px;
    background: transparent; border: 1px solid var(--border-strong); color: var(--text-1);
    font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
}
.pill-nav a:hover, .pill-nav button:hover, .filter-btn:hover, .case-filter-btn:hover { background: var(--surface-2); border-color: var(--text-1); color: var(--text-1); transform: none; }
.pill-nav a.active, .pill-nav button.active, .pill-nav [aria-current="page"], .pill-nav [aria-selected="true"],
.filter-btn.active, .case-filter-btn.active, .filter-btn[aria-pressed="true"] {
    background: var(--text-1); border-color: var(--text-1); color: var(--bg); box-shadow: none;
}

/* process steps: a plain, even grid — no scroll-stacking, no dimming */
.process-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
.process-step { padding-top: 76px; background: #000; }
.process-step .process-step-number { color: rgba(255,255,255,.5); -webkit-text-stroke: 0; font-family: var(--font-mono); font-weight: 500; font-size: 1rem; top: var(--space-5); right: var(--space-5); }
.process-step h3, .process-step h4 { font-size: 1.25rem; color: #fff; }
.process-step p { font-size: .84rem; }
.process-step:hover { background: #000; }

/* tiles that stack their content (legacy .contact-info-card was a flex ROW) */
.contact-info-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: clamp(24px, 2.6vw, 34px); }
.contact-info-card i { color: #fff; margin-top: 0; }
.contact-info-card h3 { margin: 0; }
.contact-info-card p { margin: 0; }
.contact-info-card a, .text-link { overflow-wrap: anywhere; }

/* .grid-N.rail is a flex scroller on phones, a real grid everywhere else */
@media (min-width: 561px) {
    .grid-2.rail, .grid-3.rail, .grid-4.rail { display: grid; }
    .grid-2.rail > *, .grid-3.rail > *, .grid-4.rail > * { flex: initial; }
}

/* legal documents: flat prose, one column — no tiles */
.page-privacy-policy .mission-vision, .page-terms-of-service .mission-vision { display: block; max-width: 760px; margin-inline: auto; }
.page-privacy-policy .mv-card, .page-terms-of-service .mv-card {
    --text-1: #0A0A0A; --text-2: #2E2E33; --text-3: #5A5A63;
    background: none; box-shadow: none; border-radius: 0; overflow: visible;
    padding: var(--space-6) 0; border-top: 1px solid var(--border);
}
.page-privacy-policy .mv-card::after, .page-terms-of-service .mv-card::after { display: none; }
.page-privacy-policy .mv-card h3, .page-terms-of-service .mv-card h3 { color: #0A0A0A; margin-bottom: var(--space-3); }
.page-privacy-policy .mv-card p, .page-terms-of-service .mv-card p { font-family: var(--font); font-size: 1rem; color: var(--text-2); }
.page-privacy-policy .mv-card > i, .page-terms-of-service .mv-card > i { display: none; }

/* a centred button after any grid/list always gets breathing room */
.work-grid + .text-center, .svc-grid + .text-center, .why-grid + .text-center, .stat-row + .text-center,
.work-grid + p, .svc-grid + p { margin-top: clamp(40px, 5vw, 64px); }

/* ---------------------------------------------------------------------------
   18  BLOG — editorial, minimal (post cards are NOT tiles: image + text)
   --------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--space-6); }
.post-card { display: flex; flex-direction: column; gap: var(--space-3); color: var(--text-1); }
.post-card-media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-meta { font-family: var(--font-mono); font-size: .76rem; color: var(--text-3); margin-top: var(--space-2); }
.post-card-title { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--text-1); text-wrap: balance; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease-out); align-self: flex-start; }
.post-card:hover .post-card-title { background-size: 100% 1px; }
.post-card-excerpt { font-family: var(--font-mono); font-size: .84rem; line-height: 1.7; color: var(--text-2); }

.post-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 6vw, 88px); }
.post-feature .post-card-media { aspect-ratio: 4 / 3; border-radius: var(--r-tile); }
.post-feature .post-card-title { font-size: var(--step-3); line-height: 1.08; }
.post-feature .post-card { gap: var(--space-4); }
.post-feature-body { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }

.blog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); margin-bottom: clamp(32px, 4vw, 48px); border-block: 1px solid var(--border); }
.blog-tools .pill-nav { margin: 0; padding: 0; justify-content: flex-start; }
.blog-count { font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); }

/* article */
.article-banner { padding-block: clamp(48px, 6vw, 88px); }
.article-banner h1 { font-size: var(--step-4); max-width: 24ch; }
.article-meta { font-family: var(--font-mono); font-size: .82rem; color: rgba(255,255,255,.9); margin-top: var(--space-5); }
.article-cover { max-width: 1040px; margin: 0 auto clamp(32px, 5vw, 64px); border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 21 / 9; background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { max-width: 720px; margin-inline: auto; }
.article h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.035em; margin: clamp(32px, 4vw, 52px) 0 var(--space-3); scroll-margin-top: 100px; }
.article h2:first-child { margin-top: 0; }
.article p { font-family: var(--font); font-size: 1.1rem; line-height: 1.8; color: var(--text-2); margin: 0 0 var(--space-4); }
.article blockquote { margin: var(--space-6) 0 0; padding: var(--space-4) 0 var(--space-4) var(--space-5); border-left: 3px solid var(--text-1); font-size: 1.1rem; color: var(--text-1); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article-foot { max-width: 720px; margin: clamp(40px, 5vw, 64px) auto 0; padding-top: var(--space-5); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; }
.article-foot .chip-row { margin: 0; }
.share-label { font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); }
.article-back { display: inline-flex; margin-bottom: var(--space-5); }

@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-feature { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* standalone images that borrow .entity-card-media (service/industry intros) */
img.entity-card-media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 var(--space-4); border-radius: var(--r-tile); }
.split > * { min-width: 0; }
.split .prose { max-width: 56ch; }

/* inline links inside running text stay inline — an inline-flex link collides with the
   next/previous wrapped line */
p .text-link, li .text-link, .prose .text-link, .section-desc .text-link, .hero-subtitle .text-link, blockquote .text-link, h3 .text-link, td .text-link {
    display: inline;
    padding: 0;
    min-height: 0;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
p .text-link::after, li .text-link::after, .prose .text-link::after { display: none; }
/* the clearance under the rotating badge is always larger than its overhang */
.logo-band { padding-top: calc(clamp(120px, 13vw, 164px) / 2 + 40px); }

/* ONE rule: any button/link row that follows a block gets the same clearance —
   no per-component special cases, so a new grid can never glue a button to its cards */
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .work-grid, .post-grid, .why-grid, .stat-row, .faq-list,
    .process-steps, .chip-row, .table-scroll, .split, .prose, .card, .stack, .trusted-logos-rows, form)
  + :is(.text-center, .cluster, .hero-buttons, p:has(> .btn:only-child), p:has(> .text-link:only-child)) {
    margin-top: clamp(32px, 4.5vw, 56px);
}
.hero-buttons, .cluster { row-gap: var(--space-3); }

/* ---------------------------------------------------------------------------
   19  CURSOR + STICKER TRAIL
   An oversized outlined arrow (white outline keeps it visible on black AND white
   bands); inverted fill over anything clickable. Pure CSS — zero input lag.
   --------------------------------------------------------------------------- */
html, body, html.dh-cursor-on, html.dh-cursor-on * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><path d='M5 3v24l6.5-6 4.5 10 5-2.2-4.5-9.8H25z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/></svg>") 5 3, auto !important;
}
a, a *, button, button *, [role="button"], .btn, .btn *, summary, label[for], select, .filter-btn, .faq-question, .chip,
html.dh-cursor-on a, html.dh-cursor-on a *, html.dh-cursor-on button, html.dh-cursor-on button *, html.dh-cursor-on .btn, html.dh-cursor-on .btn * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'><path d='M5 3v24l6.5-6 4.5 10 5-2.2-4.5-9.8H25z' fill='%23fff' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/></svg>") 5 3, pointer !important;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, html.dh-cursor-on input, html.dh-cursor-on textarea { cursor: text !important; }

.sticker-trail { position: fixed; inset: 0; z-index: 800; pointer-events: none; overflow: hidden; }
.sticker {
    --sticker-life: 1.15s;
    position: absolute;
    width: 58px; height: 58px;
    margin: -29px 0 0 -29px;
    display: grid; place-items: center;
    background: #fff;
    border-radius: var(--br, 50%);
    box-shadow: 0 0 0 3px #fff, 0 10px 22px rgba(0,0,0,.35);
    color: var(--c, #111);
    font-size: 26px;
    opacity: 0;
    will-change: transform, opacity;
    animation: sticker-life var(--sticker-life) cubic-bezier(.22,1,.36,1) forwards;
}
.sticker i { filter: drop-shadow(0 1px 0 rgba(0,0,0,.12)); }
@keyframes sticker-life {
    0%   { opacity: 0; transform: translateY(6px) rotate(calc(var(--r) - 14deg)) scale(.2); }
    16%  { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1.14); }
    28%  { transform: translateY(0) rotate(var(--r)) scale(1); }
    68%  { opacity: 1; transform: translateY(-4px) rotate(var(--r)) scale(1); }
    100% { opacity: 0; transform: translateY(-34px) rotate(calc(var(--r) * 1.6)) scale(.82); }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .sticker-trail { display: none; } }

/* ---------------------------------------------------------------------------
   21  BRAND COLOURS ON CTAs + CARDS
   Violet + gold come straight from the logo. Sections keep the multicolour mesh;
   everything you click or that holds content uses the brand pair.
   --------------------------------------------------------------------------- */
:root {
    --brand-violet: #8B5CF6;
    --brand-violet-deep: #6D28D9;
    --brand-violet-soft: #CDB4FE;
    --brand-gold: #F7BE22;
    --brand-gold-deep: #D89206;
    --grad-cta: linear-gradient(105deg, #7C3AED 0%, #8B5CF6 55%, #A98BF7 100%);
    --grad-gold: linear-gradient(105deg, #F7BE22 0%, #D89206 100%);
}

/* primary CTA = logo violet, white text (>= 5:1 on the deep end) */
.btn-primary { background: linear-gradient(105deg, #6D28D9 0%, #7C3AED 55%, #8B5CF6 100%); color: #fff; }
.btn-primary::before { background: linear-gradient(105deg, #7C3AED 0%, #8B5CF6 55%, #A98BF7 100%); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(139,92,246,.45); }
.btn-gold { background: var(--grad-gold); color: #1A1100; }
.btn-gold:hover { box-shadow: 0 12px 30px rgba(247,190,34,.4); }
.hero--mesh .btn-primary, .page-banner .btn-primary { box-shadow: 0 10px 28px rgba(60,20,120,.35); }
.spin-badge .spin-core { background: var(--grad-gold); color: #1A1100; }
.nav-cta { box-shadow: 0 0 0 1px rgba(205,180,254,.35); }
.nav-link.active, .drop-trigger.active, .nav-link[aria-current="page"] { color: var(--brand-gold); }
.footer-col ul a:hover, .footer-mail:hover { color: var(--brand-gold); }
.filter-btn.active, .pill-nav .active { box-shadow: none; }

/* cards: violet <-> gold glow pairs, icon plates tinted violet, hover pill turns gold */
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+1) { --glow-a: #8B5CF6; --glow-b: #F7BE22; }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+2) { --glow-a: #CDB4FE; --glow-b: #6D28D9; }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+3) { --glow-a: #F7BE22; --glow-b: #8B5CF6; }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n+4) { --glow-a: #6D28D9; --glow-b: #D89206; }
:is(.grid-2, .grid-3, .grid-4, .rail, .svc-grid, .stack) > :nth-child(5n)   { --glow-a: #A98BF7; --glow-b: #F7BE22; }
.card, .card-glass, .feature-card, .mv-card, .tool-card, .contact-info-card, .why-metrics-glass, .testimonial-card, .process-step,
.timeline-item, .blog-card, .case-study-card, .contact-form-card, .entity-card, .link-card { --glow-a: #8B5CF6; --glow-b: #F7BE22; }
.card-icon, .link-card-icon, .entity-card-icon, .service-icon, .tool-card-icon, .next-step-icon, .feature-card > i, .process-step > i, .link-card > i {
    background: linear-gradient(150deg, rgba(139,92,246,.45), rgba(139,92,246,.14));
    border-color: rgba(205,180,254,.45);
    color: #E9DEFE;
}
.entity-card:hover .entity-card-icon, .link-card:hover .link-card-icon, .link-card:hover > i { background: var(--grad-gold); color: #1A1100; border-color: transparent; }
.entity-card-arrow, .svc-cta, .link-card-arrow { background: rgba(139,92,246,.28); border-color: rgba(205,180,254,.45); }
.entity-card:hover .entity-card-arrow, .link-card:hover .link-card-arrow, .svc-card:hover .svc-cta { background: var(--grad-gold); color: #1A1100; border-color: transparent; }
.svc-index, .process-step .process-step-number { color: var(--brand-gold); }
.badge-metric, .work-card-metric { background: rgba(247,190,34,.16); border-color: rgba(247,190,34,.5); color: #FBD34D; }
.work-card-metric { background: #0A0A0A; border: 1px solid rgba(247,190,34,.6); }
.roi-kpi { border-color: rgba(205,180,254,.3); }
.roi-templates .chip[aria-pressed="true"], .roi-seg input:checked + span { background: var(--grad-cta); color: #fff; border-color: transparent; }
.roi-verdict { border-left-color: var(--brand-gold); }
.cta-panel { border-color: rgba(205,180,254,.35); }
.cta-panel .eyebrow::before { background: var(--grad-gold); }
.shape--bar { background: var(--brand-gold); }
.stat-value, .stat > strong { color: var(--text-1); }
.band-light .stat { border-top-color: rgba(109,40,217,.35); }
.faq-item.is-open .faq-question, .faq-question[aria-expanded="true"] { color: var(--text-accent); }
.band-light { --text-accent: #6D28D9; }

/* ---------------------------------------------------------------------------
   22  TEAM — two leads, then a 3-column grid. Portrait, name, speciality. Nothing else.
   --------------------------------------------------------------------------- */
.people-lead, .people-grid { display: grid; gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px); }
.people-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin: 0 auto clamp(40px, 5vw, 72px); }
.people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-tile); overflow: hidden; background: linear-gradient(160deg, #EDE6FF, #FFF3CF); margin-bottom: var(--space-3); }
.person--lead .person-photo { aspect-ratio: 5 / 4; border-radius: 28px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform var(--dur-slow) var(--ease-out); }
.person:hover .person-photo img { transform: scale(1.04); }
.person-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, #8B5CF6, #F7BE22); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.person:hover .person-photo::after { transform: scaleX(1); }
.person-name { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.45rem); font-weight: 600; letter-spacing: -.03em; color: var(--text-1); margin: 0; }
.person--lead .person-name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.person-role { font-family: var(--font-mono); font-size: .8rem; color: var(--text-3); margin: 0; }
.person--lead .person-role { font-size: .9rem; color: var(--text-2); }
@media (max-width: 900px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people-lead, .people-grid { grid-template-columns: 1fr; } .person-photo, .person--lead .person-photo { aspect-ratio: 4 / 5; } }
.person-photo { background: #ECE5FB; isolation: isolate; }
.person-photo img { mix-blend-mode: multiply; }
