/* =========================================================
   DEVISOFTS — ICONIC BENTO STUDIO
   Liquid Glassmorphism · Atmospheric Minimalist · Motion-Centric
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    /* Midnight foundation */
    --bg-midnight: #07040f;
    --bg-void: #040208;
    --bg-panel: #0d0819;
    --bg-panel-2: #140a2a;

    /* Brand — from logo (purple → magenta) */
    --accent-primary: #a855f7;   /* Royal Purple */
    --accent-secondary: #e11d8c; /* Magenta */
    --accent-tertiary: #06b6d4;  /* Iridescent Cyan */
    --accent-amber: #fbbf24;
    --accent-mint: #34d399;

    /* Iridescent glow */
    --glow-primary: rgba(168, 85, 247, 0.35);
    --glow-secondary: rgba(225, 29, 140, 0.3);
    --glow-tertiary: rgba(6, 182, 212, 0.25);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-strong: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-border-hot: rgba(168, 85, 247, 0.35);

    /* Text */
    --text-primary: #f5f3ff;
    --text-dim: rgba(245, 243, 255, 0.62);
    --text-faint: rgba(245, 243, 255, 0.38);

    /* Type */
    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-serif: 'Instrument Serif', serif;

    /* Motion */
    --ease-bento: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-liquid: cubic-bezier(0.77, 0, 0.175, 1);
    --tr-fast: 250ms var(--ease-bento);
    --tr-med: 600ms var(--ease-bento);
    --tr-slow: 1200ms var(--ease-bento);

    /* Radii */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg-midnight);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
}

/* ---------- Atmospheric Background Layers ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(168, 85, 247, 0.18), transparent 60%),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(225, 29, 140, 0.14), transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(6, 182, 212, 0.10), transparent 60%);
    z-index: -2;
    pointer-events: none;
    animation: meshDrift 30s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes meshDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-2%, 1%) scale(1.05); }
    100% { transform: translate(1%, -1%) scale(1); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-primary);
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--text-dim); font-size: 1.0625rem; line-height: 1.65; }

.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.gradient-text {
    background: linear-gradient(110deg, #f5f3ff 0%, #c4b5fd 35%, #f472b6 65%, #06b6d4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 8s linear infinite;
}
@keyframes shineText {
    to { background-position: 200% center; }
}

.text-dim  { color: var(--text-dim); }
.text-faint{ color: var(--text-faint); }
.text-accent{ color: var(--accent-primary); }

/* Eyebrow pill */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.eyebrow .dot {
    width: 7px; height: 7px;
    background: var(--accent-tertiary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-tertiary);
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100%{opacity:1;} 50%{opacity:0.4;}
}

/* ---------- Layout ---------- */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
}
/* Defer offscreen sections from layout/paint until near viewport */
.section:not(:first-of-type) {
    content-visibility: auto;
    contain-intrinsic-size: 0 1000px;
}

/* Optimize heavy case-tile background images */
.case-tile .case-media {
    content-visibility: auto;
    contain-intrinsic-size: 400px 400px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}
.section-head > div:last-child { max-width: 440px; }

/* ---------- Liquid Glass ---------- */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    position: relative;
    overflow: hidden;
}
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 40%, rgba(168,85,247,0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Bento block — the canonical studio block */
.bento {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    overflow: hidden;
    transition: transform var(--tr-med), border-color var(--tr-fast), background var(--tr-fast);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    isolation: isolate;
}
.bento::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 45%, rgba(168,85,247,0.22));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    transition: background var(--tr-med);
}
.bento::after {
    /* inner glow that follows cursor */
    content: '';
    position: absolute;
    width: 360px; height: 360px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%);
    border-radius: 50%;
    top: var(--my, 50%);
    left: var(--mx, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tr-med);
    z-index: -1;
    filter: blur(40px);
}
.bento:hover { transform: translateY(-4px); border-color: var(--glass-border-hot); }
.bento:hover::after { opacity: 1; }

.bento.accent-purple::after   { background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%); }
.bento.accent-magenta::after  { background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 60%); }
.bento.accent-cyan::after     { background: radial-gradient(circle, var(--glow-tertiary) 0%, transparent 60%); }

/* ---------- Bento Grid ---------- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    grid-auto-rows: minmax(180px, auto);
}
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .col-2, .col-3, .col-4, .col-6 { grid-column: span 2; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.95rem 1.75rem;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--tr-fast);
    white-space: nowrap;
}
.btn i { width: 16px; height: 16px; transition: transform var(--tr-fast); }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 10px 40px -10px var(--glow-primary), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px -10px var(--glow-secondary), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-glass {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    color: var(--text-primary);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--glass-border-hot);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dim);
    padding: 0.6rem 1rem;
}
.btn-ghost:hover { color: var(--text-primary); }

/* Icon link */
.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap var(--tr-fast);
}
.link-inline i { width: 16px; height: 16px; }
.link-inline:hover { gap: 14px; color: var(--accent-primary); }

/* ---------- Navigation — Floating Glass Pill ---------- */
.site-nav {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: min(1200px, calc(100% - 2rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    background: rgba(10, 6, 20, 0.55);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    transition: all var(--tr-fast);
}
.site-nav.scrolled {
    background: rgba(10, 6, 20, 0.82);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}
.nav-logo img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 0 12px var(--glow-primary));
    transition: transform var(--tr-fast);
}
.nav-logo:hover img { transform: scale(1.04) rotate(-2deg); }
.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 100px;
    transition: color var(--tr-fast), background var(--tr-fast);
}
.nav-links a:hover { color: var(--text-primary); background: var(--glass-bg-strong); }
.nav-links a.active { color: var(--text-primary); background: var(--glass-bg-strong); }

.nav-cta {
    padding: 0.65rem 1.3rem !important;
    font-size: 0.88rem !important;
}

.nav-toggle {
    display: none;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 0.6rem 0.85rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
    .site-nav.open .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(10, 6, 20, 0.92);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-md);
        padding: 1rem;
        backdrop-filter: blur(22px);
    }
    .site-nav.open .nav-links a { width: 100%; }
}

/* ---------- Custom Cursor (magnetic) ---------- */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 300ms;
    opacity: 0;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    transition: transform 300ms var(--ease-bento), width 250ms, height 250ms, border-color 250ms, opacity 300ms;
}
.cursor-ring.expand { width: 70px; height: 70px; border-color: var(--accent-primary); }
body.cursor-ready .cursor-dot, body.cursor-ready .cursor-ring { opacity: 1; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Hero ---------- */
.hero {
    padding: 9rem 0 3rem;
    position: relative;
}
.hero-orb {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}
.hero-orb.one { background: radial-gradient(circle, var(--accent-primary), transparent 70%); top: -10%; left: -15%; animation: float 14s ease-in-out infinite; }
.hero-orb.two { background: radial-gradient(circle, var(--accent-secondary), transparent 70%); bottom: -10%; right: -15%; animation: float 18s ease-in-out infinite reverse; }

/* Diagonal accent grid behind hero */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(115deg, transparent 49.9%, rgba(168,85,247,0.12) 50%, transparent 50.1%),
        linear-gradient(115deg, transparent 49.9%, rgba(6,182,212,0.08) 50%, transparent 50.1%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 180px 180px, 260px 260px, 48px 48px, 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
}

/* ---------- Watch-reel mini CTA ---------- */
.reel-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 6px 16px 6px 6px;
    border: 1px solid transparent;
    border-radius: 100px;
    transition: all var(--tr-fast);
}
.reel-btn:hover {
    background: var(--glass-bg-strong);
    border-color: var(--glass-border);
}
.reel-ring {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 22px -6px var(--glow-primary);
    position: relative;
}
.reel-ring i { width: 16px; height: 16px; margin-left: 2px; }
.reel-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    opacity: 0.6;
    animation: reelPulse 2.4s ease-out infinite;
}
@keyframes reelPulse {
    0%   { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.reel-label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 500;
}
.reel-label small {
    font-size: 0.68rem;
    color: var(--text-faint);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Micro trust badges under CTAs ---------- */
.micro-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin-top: 1.75rem;
    color: var(--text-dim);
    font-size: 0.82rem;
}
.micro-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.micro-trust svg, .micro-trust i {
    width: 14px; height: 14px;
    color: var(--accent-primary);
}

/* ---------- Trust line + avatar stack ---------- */
.trust-line {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--text-faint);
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.trust-line strong {
    color: var(--text-primary);
    font-weight: 600;
}
.avatar-stack { display: inline-flex; }
.avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-midnight);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    transition: transform var(--tr-fast);
}
.avatar + .avatar { margin-left: -10px; }
.avatar:hover { transform: translateY(-2px) scale(1.08); z-index: 2; }
.avatar.avatar-plus {
    background: var(--glass-bg-strong);
    border-color: var(--bg-midnight);
    color: var(--text-primary);
    font-size: 0.68rem;
    backdrop-filter: blur(8px);
}

/* ---------- Status-card wrapper (for satellite chips) ---------- */
.status-wrap {
    position: relative;
    display: block;
}

/* ---------- Satellite chips around the status card ---------- */
.sat-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(160deg, rgba(20, 10, 42, 0.9), rgba(7, 4, 15, 0.85));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    z-index: 3;
    box-shadow: 0 18px 40px -14px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
    animation: satFloat 6s ease-in-out infinite;
}
.sat-chip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    line-height: 1.1;
}
.sat-chip small {
    display: block;
    font-size: 0.68rem;
    color: var(--text-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}
.sat-chip i {
    width: 22px; height: 22px;
    color: var(--accent-amber);
}
.sat-chip--tl {
    top: -18px;
    left: -22px;
    animation-delay: 0s;
}
.sat-chip--br {
    bottom: -18px;
    right: -22px;
    animation-delay: -3s;
}
.sat-chip--br i { color: var(--accent-mint); }
.sat-stars {
    display: inline-flex;
    color: var(--accent-amber);
    font-size: 0.82rem;
    letter-spacing: -2px;
    line-height: 1;
}
@keyframes satFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ---------- Traveling sheen around status card ---------- */
.sc-sheen {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    padding: 1px;
    z-index: 2;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 230deg,
        rgba(168,85,247,0.7) 280deg,
        rgba(225,29,140,0.9) 310deg,
        rgba(6,182,212,0.7) 340deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: scSpin 5s linear infinite;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes scSpin {
    to { --angle: 360deg; }
}
/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from var(--angle), red, blue)) {
    .sc-sheen {
        animation: scSpinFallback 5s linear infinite;
    }
}
@keyframes scSpinFallback {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

/* Responsive — hide satellite chips on narrow screens */
@media (max-width: 1100px) {
    .sat-chip--tl { top: -14px; left: 8px; }
    .sat-chip--br { bottom: -14px; right: 8px; }
}
@media (max-width: 760px) {
    .sat-chip { display: none; }
    .reel-btn { margin-top: 0.5rem; }
    .micro-trust { gap: 0.3rem 1rem; font-size: 0.78rem; }
}
@keyframes float {
    0%, 100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-heading {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 2rem;
}
.hero-heading .serif-italic { font-weight: 400; color: transparent; background-image: linear-gradient(110deg, #c4b5fd, #f472b6 50%, #06b6d4); -webkit-background-clip: text; background-clip: text; }
.hero-sub {
    font-size: 1.2rem;
    max-width: 560px;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats row */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}
.stat .n {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.stat .l {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

/* ---------- Marquee (tech stack / clients) ---------- */
.marquee {
    overflow: hidden;
    position: relative;
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 40s linear infinite;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color var(--tr-fast);
}
.marquee-item:hover { color: var(--text-primary); }
.marquee-item i { width: 26px; height: 26px; color: var(--accent-primary); }
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ---------- Service Bento Tile ---------- */
.service-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    gap: 2rem;
}
.service-tile .icon-chip {
    display: inline-flex;
    width: 56px; height: 56px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(225,29,140,0.15));
    border: 1px solid var(--glass-border);
    color: var(--accent-primary);
    box-shadow: inset 0 0 20px rgba(168,85,247,0.15);
}
.service-tile h3 { font-size: 1.35rem; margin-top: 1rem; }
.service-tile p { font-size: 0.98rem; color: var(--text-dim); margin-top: 0.5rem; }
.service-tile .arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--tr-fast);
}
.service-tile:hover .arrow { background: var(--accent-primary); border-color: var(--accent-primary); transform: rotate(-45deg); }

/* ---------- Case study tile ---------- */
.case-tile {
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 360px;
}
.case-tile .case-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s var(--ease-bento);
    border: 0;
    display: block;
}
.case-tile:hover .case-media { transform: scale(1.08); }
.case-tile .case-veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,4,15,0.1) 0%, rgba(7,4,15,0.6) 55%, rgba(7,4,15,0.92) 100%);
}
.case-tile .case-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    padding: 2rem;
    min-height: 360px;
    z-index: 1;
}
.case-tile .case-tag {
    display: inline-flex;
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.case-tile h3 { color: #fff; }

/* ---------- Process step ---------- */
.process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: padding var(--tr-fast);
}
.process-step:last-child { border-bottom: none; }
.process-step .n {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.5rem;
    color: var(--accent-primary);
    line-height: 1;
}
.process-step h3 { margin-bottom: 0.5rem; }
.process-step:hover { padding-left: 1rem; }

/* ---------- Reveal (scroll-in) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s var(--ease-bento), transform 1s var(--ease-bento);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Footer ---------- */
.site-footer {
    padding: 6rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}
.footer-hero {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}
.footer-hero h2 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

/* Main grid: wider brand column, three narrower link columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 1fr 1.1fr;
    gap: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.25rem;
}
.footer-logo img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 16px var(--glow-primary));
    transition: transform var(--tr-fast);
}
.footer-logo:hover img { transform: scale(1.04); }
.footer-bio {
    color: var(--text-dim);
    max-width: 380px;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    width: max-content;
    max-width: 100%;
}
.footer-status .fs-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 10px var(--accent-mint);
    animation: pulseDot 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.footer-col h5 {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}
.footer-col a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--tr-fast), padding-left var(--tr-fast);
    display: inline-block;
}
.footer-col a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

/* Contact column — icon + text rows */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.92rem;
}
.footer-contact li svg {
    color: var(--accent-primary);
    flex-shrink: 0;
    opacity: 0.8;
}
.footer-contact a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--tr-fast);
}
.footer-contact a:hover { color: var(--accent-primary); }

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-faint);
    font-size: 0.82rem;
    position: relative;
    z-index: 2;
}
.footer-legal { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-legal a {
    color: var(--text-faint);
    text-decoration: none;
    transition: color var(--tr-fast);
}
.footer-legal a:hover { color: var(--text-primary); }

/* Social icons — inline SVG, bulletproof rendering */
.social-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.social-row a {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: 50%;
    color: var(--text-dim);
    transition: all var(--tr-fast);
    text-decoration: none;
}
.social-row a svg { display: block; }
.social-row a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -8px var(--glow-primary);
}

/* Giant faded wordmark */
.footer-wordmark {
    position: absolute;
    left: 50%;
    bottom: -2.5vw;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(6rem, 18vw, 16rem);
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, rgba(168,85,247,0.14) 0%, rgba(168,85,247,0) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    line-height: 0.85;
    user-select: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-contact { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
    .footer-contact li { flex: 0 1 auto; }
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { flex-direction: column; gap: 0.75rem; }
    .footer-wordmark { font-size: clamp(5rem, 22vw, 10rem); bottom: -1.5vw; }
}

/* ---------- Forms ---------- */
.field {
    display: grid;
    gap: 10px;
}
.field label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
}
.field input, .field textarea, .field select {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    padding: 1rem 1.1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.98rem;
    outline: none;
    transition: all var(--tr-fast);
    resize: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--accent-primary);
    background: rgba(168,85,247,0.06);
    box-shadow: 0 0 0 4px rgba(168,85,247,0.1);
}
.field ::placeholder { color: var(--text-faint); }
select option { background: var(--bg-panel); color: #fff; }

/* =========================================================
   TOOLKIT SECTION (services.php) — Real brand logos + filter
   ========================================================= */

.toolkit-section {
    position: relative;
    overflow: hidden;
}
.toolkit-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 80% at 20% 10%, rgba(168,85,247,0.10), transparent 60%),
        radial-gradient(ellipse 70% 70% at 85% 90%, rgba(225,29,140,0.08), transparent 60%);
}

/* Filter tabs */
.toolkit-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 8px;
    margin: 0 auto 2.5rem;
    max-width: max-content;
    border-radius: 100px;
    background: rgba(13, 8, 25, 0.55);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px) saturate(140%);
}
.tk-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.1rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--tr-fast);
}
.tk-tab:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}
.tk-tab--active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    box-shadow: 0 8px 22px -6px var(--glow-primary);
}
.tk-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 0 6px;
    height: 20px;
    border-radius: 100px;
    background: rgba(255,255,255,0.08);
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.tk-tab--active .tk-tab-count { background: rgba(255,255,255,0.2); }

/* Grid */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.tk-card { grid-column: span 2; }
.tk-card.tk-lg { grid-column: span 3; }

/* Rich card */
.tk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.3rem 1.2rem;
    min-height: 180px;
    background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    backdrop-filter: blur(14px);
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast);
    animation: tkEnter 700ms var(--ease-bento) both;
    animation-delay: var(--reveal-delay, 0ms);
}
@keyframes tkEnter {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tk-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 45%, color-mix(in srgb, var(--brand) 40%, transparent));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Brand-coloured hover glow */
.tk-glow {
    position: absolute;
    top: -40%;
    right: -30%;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: var(--brand);
    filter: blur(80px);
    opacity: 0;
    z-index: -1;
    transition: opacity 380ms var(--ease-bento);
}
.tk-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand) 55%, var(--glass-border));
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 7%, rgba(255,255,255,0.03)), rgba(255,255,255,0.01));
}
.tk-card:hover .tk-glow { opacity: 0.28; }

/* Card head */
.tk-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.tk-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 300ms var(--ease-bento), box-shadow 300ms var(--ease-bento);
}
.tk-card:hover .tk-logo {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--brand) 60%, transparent);
}
.tk-logo img { width: 24px; height: 24px; display: block; }

.tk-cat {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
}

/* Body */
.tk-body { flex: 1; }
.tk-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}
.tk-desc {
    font-size: 0.83rem;
    color: var(--text-dim);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

/* Foot */
.tk-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0.8rem;
    border-top: 1px dashed rgba(255,255,255,0.06);
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.tk-stat-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 8px var(--brand);
    flex-shrink: 0;
}
.tk-card:hover .tk-stat { color: var(--text-primary); }

/* Filter hidden state */
.tk-card.tk-hidden {
    display: none;
}

/* Large variant tweaks — featured tools get more breathing room */
.tk-card.tk-lg {
    min-height: 200px;
    padding: 1.5rem 1.6rem 1.4rem;
}
.tk-card.tk-lg .tk-logo { width: 52px; height: 52px; }
.tk-card.tk-lg .tk-logo img { width: 28px; height: 28px; }
.tk-card.tk-lg .tk-name { font-size: 1.35rem; }
.tk-card.tk-lg .tk-desc { font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1000px) {
    .toolkit-grid { grid-template-columns: repeat(4, 1fr); }
    .tk-card    { grid-column: span 2; }
    .tk-card.tk-lg { grid-column: span 2; min-height: 180px; }
}
@media (max-width: 640px) {
    .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
    .tk-card, .tk-card.tk-lg { grid-column: span 1; padding: 1rem; min-height: 150px; }
    .toolkit-tabs { padding: 6px; gap: 4px; overflow-x: auto; max-width: 100%; border-radius: 20px; flex-wrap: nowrap; }
    .tk-tab { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
}

/* =========================================================
   CONTACT PAGE — Premium polish
   ========================================================= */

.contact-section { position: relative; overflow: hidden; }
.contact-orb {
    position: absolute;
    top: 30%;
    right: -8%;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225,29,140,0.22), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: float 22s ease-in-out infinite;
}

.contact-info {
    display: grid;
    gap: 1rem;
    align-content: start;
}

/* Base info card */
.info-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast);
}
.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 45%, rgba(168,85,247,0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
a.info-card:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-hot);
    background: linear-gradient(160deg, rgba(168,85,247,0.08), rgba(255,255,255,0.02));
}
a.info-card:hover .ic-arrow { transform: translate(4px, -4px); color: var(--accent-primary); }

.ic-chip {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05));
    border: 1px solid rgba(168,85,247,0.25);
    color: var(--accent-primary);
}
.ic-chip--magenta { background: linear-gradient(135deg, rgba(225,29,140,0.2), rgba(225,29,140,0.05)); border-color: rgba(225,29,140,0.25); color: var(--accent-secondary); }
.ic-chip--cyan    { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(6,182,212,0.05));   border-color: rgba(6,182,212,0.25);   color: var(--accent-tertiary); }
.ic-chip--purple  { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05)); border-color: rgba(168,85,247,0.25);  color: var(--accent-primary); }

.ic-body { flex: 1; min-width: 0; }
.ic-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 500;
}
.ic-value {
    font-weight: 500;
    margin-top: 3px;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ic-arrow { color: var(--text-faint); transition: transform var(--tr-fast), color var(--tr-fast); }

/* ----- Status card (top of left column) ----- */
.info-card--status {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 22px 22px;
    background: linear-gradient(155deg, rgba(52,211,153,0.10), rgba(168,85,247,0.05));
    border-color: rgba(52,211,153,0.22);
}
.info-card--status::before {
    background: linear-gradient(135deg, rgba(52,211,153,0.4), transparent 50%, rgba(168,85,247,0.3));
}
.status-beam {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52,211,153,0.35), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.ic-head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-mint);
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.ic-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 12px var(--accent-mint);
    animation: pulseDot 1.8s ease-in-out infinite;
}
.ic-big {
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.ic-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--accent-mint));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.ic-sub {
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}
.ic-foot {
    font-size: 0.82rem;
    color: var(--text-dim);
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.07);
    width: 100%;
    position: relative;
    z-index: 1;
}
.ic-foot strong { color: var(--text-primary); font-weight: 600; }

.info-card--compact {
    padding: 12px 14px;
    gap: 12px;
}
.info-card--compact .ic-chip { width: 36px; height: 36px; border-radius: 10px; }
.info-card--compact .ic-value { font-size: 0.88rem; }

.info-card--social {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px 16px;
}

/* ----- Form container polish ----- */
.contact-form {
    position: relative;
    z-index: 1;
}

.form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: -0.5rem;
}
.form-progress { display: flex; align-items: center; gap: 8px; }
.fp-step {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-faint);
    transition: all var(--tr-fast);
}
.fp-step--active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px -4px var(--glow-primary);
}
.fp-line {
    width: 28px; height: 1px;
    background: var(--glass-border);
}
.form-meta { display: flex; gap: 1rem; align-items: center; }
.fm-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-mint);
    font-weight: 500;
}

/* Fields with leading icon */
.field--icon { position: relative; }
.field--icon input {
    padding-left: 42px;
}
.field-icon {
    position: absolute;
    left: 14px;
    top: calc(50% + 11px); /* offset for label above */
    transform: translateY(-50%);
    color: var(--text-faint);
    pointer-events: none;
    transition: color var(--tr-fast);
    display: flex;
}
.field--icon input:focus ~ .field-icon,
.field--icon:focus-within .field-icon { color: var(--accent-primary); }

/* Custom select chevron */
.field--select .select-wrap {
    position: relative;
}
.field--select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    width: 100%;
}
.select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-faint);
    transition: transform var(--tr-fast), color var(--tr-fast);
}
.field--select .select-wrap:focus-within .select-chevron {
    color: var(--accent-primary);
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea: label hint + quick-prompt chips + character counter */
.label-hint {
    font-weight: 400;
    color: var(--text-faint);
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.72rem;
    margin-left: 8px;
}
.field--textarea textarea { min-height: 140px; }
.textarea-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}
.textarea-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tq-chip {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 4px 10px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--tr-fast);
}
.tq-chip:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
}
.textarea-count {
    font-family: var(--font-display);
    font-size: 0.78rem;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}
.textarea-count.near-limit { color: var(--accent-amber); }
.textarea-count.at-limit   { color: #f472b6; }

/* Submit row + button with loading state */
.form-submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
}
.submit-btn {
    position: relative;
    padding: 0.95rem 2rem !important;
    min-width: 240px;
    justify-content: center;
}
.submit-btn .sb-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.submit-btn .sb-loading span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: chatDot 1s ease-in-out infinite;
}
.submit-btn .sb-loading span:nth-child(2) { animation-delay: 0.15s; }
.submit-btn .sb-loading span:nth-child(3) { animation-delay: 0.3s; }
.submit-btn.is-loading .sb-text,
.submit-btn.is-loading .sb-arrow { opacity: 0; }
.submit-btn.is-loading .sb-loading { display: flex; }
.submit-btn:disabled { opacity: 0.85; cursor: wait; }

/* ---------- Form Banners (contact form result) ---------- */
.form-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    animation: bannerSlideIn 480ms var(--ease-bento) both;
}
@keyframes bannerSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-banner strong {
    display: block;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}
.form-banner span {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.5;
}
.form-banner-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.form-banner-icon i { width: 20px; height: 20px; }

/* =========================================================
   SITEMAP PAGE — Visual navigation of the whole site
   ========================================================= */

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.sm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(14px);
    transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.sm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 45%, rgba(168,85,247,0.2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.sm-card:hover {
    border-color: var(--glass-border-hot);
    transform: translateY(-3px);
}
.sm-card--lg { grid-column: span 2; }

.sm-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.sm-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}
.sm-head h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
}
.sm-head p {
    font-size: 0.88rem;
    color: var(--text-faint);
    margin: 4px 0 0;
}

.sm-list {
    list-style: none;
    display: grid;
    gap: 2px;
    padding: 0;
    margin: 0;
}
.sm-list li { margin: 0; padding: 0; }
.sm-list li::before { display: none; }

.sm-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--text-dim);
    text-decoration: none;
    transition: all var(--tr-fast);
    border: 1px solid transparent;
}
.sm-list a:hover {
    background: var(--glass-bg-strong);
    border-color: var(--glass-border);
    color: var(--text-primary);
}
.sm-list a:hover .sm-arrow { transform: translate(3px, -3px); color: var(--accent-primary); }

.sm-link-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05));
    border: 1px solid rgba(168,85,247,0.25);
    color: var(--accent-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sm-link-icon i { width: 18px; height: 18px; }

.sm-list a > div {
    flex: 1;
    min-width: 0;
}
.sm-list a strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.sm-list a small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-faint);
    margin-top: 2px;
    line-height: 1.4;
}
.sm-arrow {
    width: 14px; height: 14px;
    color: var(--text-faint);
    transition: transform var(--tr-fast), color var(--tr-fast);
    flex-shrink: 0;
}

/* Compact list variant (smaller cards) */
.sm-list--compact a {
    gap: 12px;
    padding: 9px 12px;
    font-size: 0.92rem;
}
.sm-list--compact a i {
    width: 16px; height: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
}
.sm-list--compact a:hover i { color: var(--accent-secondary); }

/* Responsive */
@media (max-width: 1000px) {
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-card--lg  { grid-column: span 2; }
}
@media (max-width: 640px) {
    .sitemap-grid { grid-template-columns: 1fr; }
    .sm-card--lg { grid-column: span 1; }
    .sm-head { flex-wrap: wrap; }
}

/* =========================================================
   LEGAL PAGES — Privacy / Terms / Cookies
   ========================================================= */

.legal-hero .hero-heading { font-weight: 600; }

.legal-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin-top: 2.25rem;
    font-size: 0.82rem;
    color: var(--text-faint);
}
.legal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.legal-meta i, .legal-meta svg {
    width: 14px; height: 14px;
    color: var(--accent-primary);
}

.legal-section {
    padding-top: 3rem;
}
.legal-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sticky TOC */
.legal-toc {
    position: sticky;
    top: 120px;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    backdrop-filter: blur(18px);
}
.toc-head {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.legal-toc nav {
    display: grid;
    gap: 0.5rem;
}
.legal-toc a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 6px 10px;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all var(--tr-fast);
    line-height: 1.4;
}
.legal-toc a:hover {
    color: var(--text-primary);
    background: var(--glass-bg-strong);
    border-left-color: var(--accent-primary);
    padding-left: 14px;
}

/* Long-form content typography */
.legal-content {
    max-width: 760px;
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.75;
}
.legal-lede {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(225,29,140,0.04));
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent-primary);
    border-radius: var(--r-md);
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 3rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    scroll-margin-top: 120px;
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
}

.legal-content p { margin: 0 0 1rem; }
.legal-content p:last-child { margin-bottom: 0; }

.legal-content ul, .legal-content ol {
    margin: 1rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}
.legal-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 8px rgba(168,85,247,0.4);
}
.legal-content ol {
    counter-reset: l-ol;
}
.legal-content ol > li::before {
    counter-increment: l-ol;
    content: counter(l-ol);
    width: auto; height: auto;
    top: 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: none;
    box-shadow: none;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}
.legal-content em {
    color: var(--text-primary);
    font-style: italic;
}
.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed rgba(168,85,247,0.4);
    transition: all var(--tr-fast);
}
.legal-content a:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
    border-bottom-style: solid;
}

.legal-content code {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(168,85,247,0.1);
    border: 1px solid rgba(168,85,247,0.2);
    border-radius: 6px;
    font-family: 'SF Mono', Consolas, 'Courier New', monospace;
    font-size: 0.82em;
    color: #c4b5fd;
}

/* Data table for cookies list */
.legal-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-md);
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.legal-table thead th {
    text-align: left;
    padding: 14px 16px;
    background: rgba(168,85,247,0.08);
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}
.legal-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: top;
    line-height: 1.5;
}
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table tbody tr:hover { background: rgba(168,85,247,0.03); }

/* Contact card at bottom of each legal page */
.legal-contact-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(168,85,247,0.1), rgba(225,29,140,0.05));
    border: 1px solid var(--glass-border-hot);
    border-radius: var(--r-lg);
    flex-wrap: wrap;
}
.lc-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 600;
    margin-bottom: 6px;
}
.lc-email {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 0;
}

/* Footer credit link */
.footer-credit {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--tr-fast);
}
.footer-credit:hover { color: var(--accent-secondary); }

/* Responsive */
@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
    .legal-toc { position: static; order: -1; }
    .legal-toc nav { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); display: grid; }
}
@media (max-width: 600px) {
    .legal-content { font-size: 0.95rem; }
    .legal-content h2 { font-size: 1.25rem; }
    .legal-contact-card { flex-direction: column; align-items: flex-start; }
    .legal-toc nav { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Form banner success variant (legacy overrides from below)
   ========================================================= */
.form-banner--ok   { border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.08); }
.form-banner--ok   .form-banner-icon { background: rgba(52,211,153,0.2); color: var(--accent-mint); }
.form-banner--warn { border-color: rgba(251,191,36,0.35); background: rgba(251,191,36,0.08); }
.form-banner--warn .form-banner-icon { background: rgba(251,191,36,0.2); color: var(--accent-amber); }
.form-banner--err  { border-color: rgba(244,114,182,0.35); background: rgba(244,114,182,0.08); }
.form-banner--err  .form-banner-icon { background: rgba(244,114,182,0.2); color: #f472b6; }

/* ---------- Chatbot ---------- */
#chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
#chat-toggle {
    width: 58px; height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 12px 40px -8px var(--glow-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--tr-fast);
}
#chat-toggle:hover { transform: scale(1.08); }
#chat-toggle i { width: 22px; height: 22px; }

#chat-window {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 360px;
    height: 520px;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: rgba(13, 8, 25, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 25px 80px -20px rgba(0,0,0,0.7);
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--tr-fast), transform var(--tr-fast);
}
.chat-head {
    padding: 1.2rem 1.25rem;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(225,29,140,0.1));
    border-bottom: 1px solid var(--glass-border);
}
.chat-head .live {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 12px var(--accent-mint);
    animation: pulseDot 1.6s infinite;
}
.chat-head h5 { margin: 0; font-size: 0.95rem; }
.chat-head small { color: var(--text-dim); font-size: 0.75rem; display: block; }

#chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.chat-bubble {
    padding: 0.7rem 1rem;
    max-width: 82%;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}
.chat-bubble.bot {
    align-self: flex-start;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    border-top-left-radius: 4px;
    color: var(--text-primary);
}
.chat-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border-top-right-radius: 4px;
}
.chat-input-row {
    padding: 0.8rem;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--glass-border);
}
#chat-input {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 100px;
    padding: 0.6rem 1rem;
    outline: none;
    font-size: 0.9rem;
}
#chat-send {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#chat-send i { width: 16px; height: 16px; }

/* Animated typing indicator */
.chat-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 0.75rem 1rem !important;
}
.chat-typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    opacity: 0.35;
    animation: chatDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; background: var(--accent-secondary); }
.chat-typing span:nth-child(3) { animation-delay: 0.3s;  background: var(--accent-tertiary); }
@keyframes chatDot {
    0%, 100% { transform: translateY(0); opacity: 0.35; }
    40%      { transform: translateY(-4px); opacity: 1; }
}

/* Quick-reply chip row */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-self: flex-start;
    max-width: 100%;
    margin-top: 2px;
}
.chat-chip {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    color: var(--text-primary);
    padding: 0.45rem 0.85rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--tr-fast);
    white-space: nowrap;
}
.chat-chip:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px var(--glow-primary);
}
.chat-chip:active { transform: translateY(0); }

/* Unread pulse on toggle */
#chat-toggle.has-unread::after {
    content: '';
    position: absolute;
    top: 6px; right: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent-mint);
    border: 2px solid var(--bg-midnight);
    animation: pulseDot 1.4s ease-in-out infinite;
}
#chat-toggle { position: relative; }

/* Smoother chat window entrance */
#chat-window {
    transition: opacity 280ms var(--ease-bento), transform 280ms var(--ease-bento);
    transform-origin: bottom right;
}

/* Chat scrollbar */
#chat-messages::-webkit-scrollbar { width: 4px; }
#chat-messages::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 4px; }

/* =========================================================
   PREMIUM UPGRADES — Preloader, Progress, Announcement, Tilt
   ========================================================= */

/* ---------- Honeypot (invisible to users, fillable by bots) ---------- */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ---------- Skip-to-content (a11y) ---------- */
.skip-link {
    position: fixed;
    top: -100px;
    left: 8px;
    z-index: 10001;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    transition: top 200ms ease;
    box-shadow: 0 10px 30px -10px var(--glow-primary);
}
.skip-link:focus { top: 12px; }

/* Keep <main> focusable target invisible */
main:focus { outline: none; }

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: radial-gradient(ellipse at center, #0d0819, #040208 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 400ms var(--ease-bento), visibility 400ms;
}
.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.preloader-core img {
    height: 64px;
    animation: floatLogo 2.4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.6));
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.preloader-bar {
    width: 180px; height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}
.preloader-bar span {
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    animation: preloadSweep 1.4s ease-in-out infinite;
}
@keyframes preloadSweep {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    z-index: 1001;
    box-shadow: 0 0 12px var(--glow-primary);
    transition: width 80ms linear;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
    position: relative;
    z-index: 50;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(168,85,247,0.08), rgba(225,29,140,0.08), rgba(6,182,212,0.08));
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    padding: 10px 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.announcement-track {
    display: flex;
    gap: 5rem;
    white-space: nowrap;
    animation: announceScroll 32s linear infinite;
    width: max-content;
}
.announcement-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.announcement-track i {
    width: 14px; height: 14px;
    color: var(--accent-primary);
}
@keyframes announceScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Push the nav down below announcement bar */
body.has-announce .site-nav { top: 48px; }

/* ---------- Cursor label ---------- */
.cursor-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    overflow: hidden;
}
.cursor-label {
    opacity: 0;
    transition: opacity 180ms;
    white-space: nowrap;
}
.cursor-ring.has-label {
    width: 86px !important;
    height: 86px !important;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    mix-blend-mode: normal;
}
.cursor-ring.has-label .cursor-label { opacity: 1; }

/* ---------- 3D Tilt on Bento ---------- */
.bento {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ---------- Split-text reveal ---------- */
.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em) rotateX(-35deg);
    transform-origin: 50% 100%;
    transition: opacity 700ms var(--ease-bento), transform 900ms var(--ease-bento);
}
.split-ready .split-char.in {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ---------- Hero split layout ---------- */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}
@media (max-width: 1100px) {
    .hero-split { grid-template-columns: 1fr; gap: 3rem; }
}

.status-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    backdrop-filter: blur(22px) saturate(160%);
    overflow: hidden;
    isolation: isolate;
}
.status-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 40%, rgba(168,85,247,0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.status-card .sc-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at top right, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at top right, #000 20%, transparent 75%);
}
.status-card .sc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.25rem;
    gap: 1rem;
}
.sc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sc-brand img {
    height: 28px;
    filter: drop-shadow(0 0 8px var(--glow-primary));
}
.sc-brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.1;
}
.sc-brand-sub {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 2px;
}
.status-card .sc-head .availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-mint);
}
.status-card .sc-head .availability .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 10px var(--accent-mint);
    animation: pulseDot 1.6s infinite;
}
.sc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.sc-row:last-child { border-bottom: none; }
.sc-row .k {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.sc-row .v {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
}
.sc-row .v .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 0.7rem;
    background: rgba(168,85,247,0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(168,85,247,0.25);
}

/* Status card — mini chart */
.sc-chart {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
}
.sc-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}
.sc-chart-head .k {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.sc-chart-val {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--accent-mint);
    font-weight: 500;
}
.sc-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 42px;
}
.sc-bars span {
    flex: 1;
    height: 0;
    background: linear-gradient(180deg, var(--accent-tertiary), var(--accent-primary), var(--accent-secondary));
    border-radius: 3px;
    animation: barRise 900ms var(--ease-bento) forwards;
    opacity: 0.85;
}
@keyframes barRise {
    to { height: var(--h); }
}

/* Split-text: keep punctuation stuck to words */
.split-char {
    display: inline-block;
    white-space: nowrap;
}

/* Hero heading — prevent awkward orphan breaks */
.hero-heading {
    text-wrap: balance;
    text-wrap: pretty;
}
.hero-split .hero-heading {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 1.02;
    text-wrap: balance;
    hyphens: none;
}

/* ---------- Scroll Indicator ---------- */
.scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-faint);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 5rem;
    cursor: pointer;
    text-decoration: none;
    transition: color var(--tr-fast);
}
.scroll-down:hover { color: var(--text-primary); }
.scroll-down .ring {
    width: 32px; height: 50px;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    position: relative;
}
.scroll-down .ring::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, 0); }
    50%      { opacity: 1; transform: translate(-50%, 18px); }
}

/* ---------- Awards / Featured-in Ticker ---------- */
.awards-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1.5rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
}
.awards-row .label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
    max-width: 140px;
    line-height: 1.4;
}
.awards-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.awards-list .award {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: -0.01em;
    transition: color var(--tr-fast);
}
.awards-list .award:hover { color: var(--text-primary); }
.awards-list .award i {
    width: 22px; height: 22px;
    color: var(--accent-primary);
}
@media (max-width: 900px) {
    .awards-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    display: grid;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--tr-fast), background var(--tr-fast);
}
.faq-item[open] {
    border-color: var(--glass-border-hot);
    background: var(--glass-bg-strong);
}
.faq-item summary {
    list-style: none;
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color var(--tr-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 300ms var(--ease-bento);
    line-height: 1;
}
.faq-item[open] summary::after {
    content: '–';
    transform: rotate(180deg);
}
.faq-item[open] summary { color: var(--accent-primary); }
.faq-item .faq-body {
    padding: 0 1.75rem 1.75rem;
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 780px;
    line-height: 1.7;
}

/* ---------- Counter style ---------- */
[data-count] {
    font-variant-numeric: tabular-nums;
}

/* ---------- Case-tile "View" overlay ---------- */
.case-tile::after {
    content: 'View Case';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 300ms var(--ease-bento);
    z-index: 2;
    pointer-events: none;
}
.case-tile:hover::after {
    opacity: 1;
    transform: translateY(0);
}
.case-tile .case-body h3 {
    transition: transform 400ms var(--ease-bento);
}
.case-tile:hover .case-body h3 { transform: translateY(-4px); }

/* ---------- Refined bento shadow on hover ---------- */
.bento:hover {
    box-shadow:
        0 30px 70px -20px rgba(0,0,0,0.6),
        0 0 0 1px var(--glass-border-hot),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ---------- Section divider line ---------- */
.divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 4rem 0;
}

/* =========================================================
   LIGHTBOX — Glass Work Viewer with Zoom & Pan
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms var(--ease-bento);
}
.lightbox[aria-hidden="false"] { pointer-events: auto; }
.lightbox.open { opacity: 1; }

/* Backdrop */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 8, 0.78);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    cursor: zoom-out;
}

/* Shell */
.lightbox-shell {
    position: relative;
    width: min(1400px, 96vw);
    height: min(92vh, 1000px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(20, 10, 42, 0.72), rgba(7, 4, 15, 0.85));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    box-shadow:
        0 40px 120px -30px rgba(168, 85, 247, 0.35),
        0 0 0 1px rgba(255,255,255,0.04) inset;
    overflow: hidden;
    transform: scale(0.96) translateY(12px);
    transition: transform 380ms var(--ease-bento);
    isolation: isolate;
}
.lightbox.open .lightbox-shell { transform: scale(1) translateY(0); }

.lightbox-shell::before {
    /* iridescent top border sheen */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 40%, rgba(168,85,247,0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

/* Header */
.lightbox-head {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.25rem 1rem 1.75rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(13, 8, 25, 0.5);
    backdrop-filter: blur(18px);
    z-index: 3;
    flex-wrap: wrap;
}
.lightbox-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.lightbox-tag {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-weight: 600;
}
.lightbox-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}
.lightbox-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.lb-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--tr-fast);
    padding: 0;
}
.lb-btn i { width: 16px; height: 16px; }
.lb-btn:hover {
    background: var(--glass-bg-strong);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
}
.lb-btn.lb-btn-close:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #fff;
}
.lb-zoom-val {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
    min-width: 48px;
    text-align: center;
    letter-spacing: 0.06em;
}

/* Stage */
.lightbox-stage {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 0;
}
.lightbox-viewer {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(168,85,247,0.10), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(225,29,140,0.08), transparent 50%);
    cursor: zoom-in;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.lightbox-viewer.zoomed { cursor: grab; }
.lightbox-viewer.grabbing { cursor: grabbing; }
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 240ms var(--ease-bento);
    -webkit-user-drag: none;
    pointer-events: none;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
}
.lightbox-img.dragging {
    transition: none;
}
.lightbox-spinner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 200ms;
}
.lightbox-spinner.show { opacity: 1; }
.lightbox-spinner span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: chatDot 1.2s ease-in-out infinite;
}
.lightbox-spinner span:nth-child(2) { animation-delay: 0.15s; background: var(--accent-secondary); }
.lightbox-spinner span:nth-child(3) { animation-delay: 0.3s; background: var(--accent-tertiary); }

/* Navigation arrows */
.lb-nav {
    align-self: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(13, 8, 25, 0.6);
    backdrop-filter: blur(14px);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 1rem;
    transition: all var(--tr-fast);
    z-index: 2;
}
.lb-nav i { width: 22px; height: 22px; }
.lb-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.08);
}

/* Footer */
.lightbox-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(13, 8, 25, 0.5);
    font-size: 0.78rem;
    color: var(--text-faint);
    flex-wrap: wrap;
    z-index: 3;
    position: relative;
}
.lightbox-counter {
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}
.lightbox-hint { letter-spacing: 0.02em; }
.lightbox-hint kbd {
    display: inline-block;
    padding: 2px 7px;
    margin: 0 2px;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    background: var(--glass-bg);
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Body lock when open */
body.lb-open { overflow: hidden; }

/* Responsive */
@media (max-width: 768px) {
    .lightbox-shell { width: 100vw; height: 100vh; border-radius: 0; border: 0; }
    .lightbox-title { font-size: 1rem; max-width: 200px; }
    .lb-zoom-val, .lb-btn[data-lb="reset"], .lb-btn[data-lb="open"] { display: none; }
    .lb-nav { width: 44px; height: 44px; margin: 0 0.5rem; }
    .lightbox-hint { display: none; }
}

/* Signal that tiles are now clickable as viewers */
.case-tile { cursor: zoom-in; }

/* =========================================================
   TECH HUB — Centre logo + radiating tech icons with dashed lines
   ========================================================= */

.tech-hub-section {
    position: relative;
    overflow: hidden;
}
.tech-hub-aura {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 60% 90% at 14% 50%, rgba(225, 29, 140, 0.22), transparent 55%),
        radial-gradient(ellipse 80% 100% at 80% 50%, rgba(168, 85, 247, 0.16), transparent 60%),
        radial-gradient(ellipse 60% 60% at 50% 100%, rgba(6, 182, 212, 0.10), transparent 60%);
    pointer-events: none;
    animation: auraFlow 20s ease-in-out infinite alternate;
}
@keyframes auraFlow {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, -1%) scale(1.05); }
}

.tech-hub-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    max-width: 1200px;
    margin: 3rem auto 0;
    min-height: 380px;
}

/* SVG lines layer */
.hub-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}
.hub-line {
    fill: none;
    stroke: rgba(255,255,255,0.18);
    stroke-width: 1;
    stroke-dasharray: 4 5;
    stroke-linecap: round;
    stroke-dashoffset: 0;
    animation: lineDrawIn 1.6s var(--ease-bento) both, dashShift 40s linear infinite;
    opacity: 0;
}
@keyframes lineDrawIn {
    0%   { opacity: 0; stroke-dasharray: 0 1000; }
    60%  { opacity: 0.7; }
    100% { opacity: 0.7; stroke-dasharray: 4 5; }
}
@keyframes dashShift {
    to { stroke-dashoffset: -500; }
}

/* Pulse dots that travel along each path */
.hub-pulse {
    offset-rotate: 0deg;
    offset-distance: 0%;
    animation-name: pulseAlong;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    filter: drop-shadow(0 0 6px rgba(225,29,140,0.9));
    opacity: 0;
}
@keyframes pulseAlong {
    0%   { offset-distance: 0%;   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}

/* Centre Devisofts orb */
.hub-center {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(88px, 10vw, 130px);
    aspect-ratio: 1;
    z-index: 5;
    display: grid;
    place-items: center;
}
.hub-center-halo {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225,29,140,0.7), rgba(168,85,247,0.3) 40%, transparent 70%);
    filter: blur(18px);
    animation: haloPulse 3.5s ease-in-out infinite;
    z-index: -1;
}
@keyframes haloPulse {
    0%, 100% { transform: scale(1);   opacity: 0.85; }
    50%      { transform: scale(1.15); opacity: 1; }
}
.hub-center-orb {
    width: 100%; height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%),
        radial-gradient(circle, #0a0518, #040208 85%);
    border: 2px solid rgba(225, 29, 140, 0.85);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 40px rgba(225,29,140,0.55),
        0 20px 60px -10px rgba(0,0,0,0.8);
    display: grid;
    place-items: center;
    animation: orbBob 5s ease-in-out infinite;
}
.hub-center-orb img {
    width: 62%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(168,85,247,0.9));
}
@keyframes orbBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* Individual tech nodes */
.tech-node {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: grid;
    place-items: center;
    opacity: 0;
    animation:
        nodeEnter 700ms var(--ease-bento) both,
        nodeFloat 6s ease-in-out infinite;
}
@keyframes nodeEnter {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-20deg); }
    70%  { transform: translate(-50%, -50%) scale(1.08) rotate(3deg); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}
@keyframes nodeFloat {
    0%, 100% { margin-top: 0; }
    50%      { margin-top: -6px; }
}
.tech-node:nth-child(3n)   { animation-delay: inherit, 1.2s; }
.tech-node:nth-child(3n+1) { animation-delay: inherit, 0.4s; }
.tech-node:nth-child(3n+2) { animation-delay: inherit, 2s; }

.tech-bubble {
    position: relative;
    width: clamp(48px, 5.2vw, 66px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: #1a1028;
    transition: transform 280ms var(--ease-bento), box-shadow 280ms var(--ease-bento), background 280ms;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.1) inset;
    cursor: pointer;
    z-index: 2;
}
.tech-bubble::before {
    /* dashed decorative ring around each bubble */
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.25);
    animation: ringSpin 20s linear infinite;
}
@keyframes ringSpin {
    to { transform: rotate(360deg); }
}
.tech-bubble .tech-svg {
    width: 54%;
    height: 54%;
    display: block;
    object-fit: contain;
    transition: transform 280ms var(--ease-bento);
}
.tech-node:hover .tech-bubble .tech-svg { transform: scale(1.08); }

/* Brand-colour glow on hover */
.tech-node:hover .tech-bubble {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--brand, rgba(168,85,247,0.6)),
                0 20px 40px -10px var(--brand, rgba(168,85,247,0.7));
}
.tech-node:hover .tech-label {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Brand colour map — used for the hover glow ring */
.tech-node[data-tech="react"]      { --brand: #61dafb; }
.tech-node[data-tech="nextjs"]     { --brand: #ffffff; }
.tech-node[data-tech="vue"]        { --brand: #41b883; }
.tech-node[data-tech="typescript"] { --brand: #3178c6; }
.tech-node[data-tech="tailwind"]   { --brand: #06b6d4; }
.tech-node[data-tech="figma"]      { --brand: #f24e1e; }
.tech-node[data-tech="angular"]    { --brand: #dd0031; }
.tech-node[data-tech="wordpress"]  { --brand: #21759b; }
.tech-node[data-tech="shopify"]    { --brand: #7ab55c; }
.tech-node[data-tech="stripe"]     { --brand: #635bff; }
.tech-node[data-tech="cloudflare"] { --brand: #f38020; }
.tech-node[data-tech="vercel"]     { --brand: #ffffff; }
.tech-node[data-tech="firebase"]   { --brand: #ffa000; }
.tech-node[data-tech="nodejs"]     { --brand: #5fa04e; }
.tech-node[data-tech="laravel"]    { --brand: #ff2d20; }
.tech-node[data-tech="python"]     { --brand: #3776ab; }
.tech-node[data-tech="postgres"]   { --brand: #4169e1; }
.tech-node[data-tech="mongodb"]    { --brand: #47a248; }
.tech-node[data-tech="docker"]     { --brand: #2496ed; }
.tech-node[data-tech="anthropic"]  { --brand: #d97757; }

/* Tooltip label below each bubble */
.tech-label {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, -6px);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms, transform 200ms;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Highlight the line connecting the hovered node */
.tech-hub-stage:has(.tech-node[data-tech]:hover) .hub-line { opacity: 0.2; }
.tech-hub-stage:has(.tech-node:nth-child(3):hover)  .hub-line[data-i="0"],
.tech-hub-stage:has(.tech-node:nth-child(4):hover)  .hub-line[data-i="1"],
.tech-hub-stage:has(.tech-node:nth-child(5):hover)  .hub-line[data-i="2"],
.tech-hub-stage:has(.tech-node:nth-child(6):hover)  .hub-line[data-i="3"],
.tech-hub-stage:has(.tech-node:nth-child(7):hover)  .hub-line[data-i="4"],
.tech-hub-stage:has(.tech-node:nth-child(8):hover)  .hub-line[data-i="5"],
.tech-hub-stage:has(.tech-node:nth-child(9):hover)  .hub-line[data-i="6"] { opacity: 1 !important; stroke: var(--brand, #fff); stroke-width: 1.5; }

/* Responsive */
@media (max-width: 900px) {
    .tech-hub-stage {
        aspect-ratio: 3 / 4;
        min-height: 560px;
    }
    .hub-center { left: 50%; top: 50%; }
    .tech-bubble { width: 46px; }
    .tech-label { display: none; }
    /* Stack icons in vertical columns on small screens */
}
@media (max-width: 600px) {
    .tech-hub-stage { min-height: 480px; }
    .tech-bubble { width: 40px; }
    .tech-bubble::before { inset: -5px; }
}

/* =========================================================
   VIDEO MODAL — Studio reel popup (YouTube / Vimeo)
   ========================================================= */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms var(--ease-bento);
}
.video-modal[aria-hidden="false"] {
    pointer-events: auto;
    opacity: 1;
}

.video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 2, 8, 0.82);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    cursor: pointer;
}

.video-shell {
    position: relative;
    width: min(1100px, 94vw);
    transform: scale(0.94) translateY(20px);
    transition: transform 420ms var(--ease-bento);
    filter: drop-shadow(0 40px 100px rgba(168, 85, 247, 0.35));
}
.video-modal[aria-hidden="false"] .video-shell {
    transform: scale(1) translateY(0);
}

.video-title {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 1rem;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.video-frame::before {
    /* iridescent border sheen */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(168,85,247,0.4), transparent 45%, rgba(225,29,140,0.4));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    position: relative;
    z-index: 1;
}

.vm-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform var(--tr-fast);
    box-shadow: 0 12px 30px -8px var(--glow-primary);
}
.vm-close i { width: 20px; height: 20px; }
.vm-close:hover { transform: scale(1.08) rotate(90deg); }

.video-hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}
.video-hint kbd {
    display: inline-block;
    padding: 2px 7px;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    background: var(--glass-bg);
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0 2px;
}

/* Body lock when open */
body.vm-open { overflow: hidden; }

@media (max-width: 600px) {
    .video-shell { width: 100vw; }
    .video-frame { border-radius: 0; }
    .vm-close { top: 8px; right: 8px; width: 38px; height: 38px; }
    .vm-close i { width: 16px; height: 16px; }
}

/* =========================================================
   SERVICES — Product feature lists & tech-stack grid
   ========================================================= */

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
    padding: 0;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.45;
}
.feature-list li i {
    width: 14px; height: 14px;
    color: var(--accent-mint);
    flex-shrink: 0;
}

/* Tech-stack grid inside a bento */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.stack-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    border-radius: 16px;
    transition: transform var(--tr-fast), border-color var(--tr-fast), background var(--tr-fast);
}
.stack-item:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-hot);
    background: var(--glass-bg-strong);
}
.stack-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
}
.stack-sub {
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Accent variant: mint (for WhatsApp product tile) */
.bento.accent-mint::before {
    background: linear-gradient(135deg, rgba(52,211,153,0.25), transparent 45%, rgba(52,211,153,0.35));
}
.bento.accent-mint::after {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, transparent 60%);
}

/* Accent variant: amber (for POS / retail tiles) */
.bento.accent-amber::before {
    background: linear-gradient(135deg, rgba(251,191,36,0.28), transparent 45%, rgba(251,146,60,0.32));
}
.bento.accent-amber::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.22) 0%, transparent 60%);
}

/* =========================================================
   ERP Preview Strip (featured POS product)
   ========================================================= */
.erp-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 30% 0%, rgba(251, 191, 36, 0.18), transparent 60%),
        linear-gradient(160deg, rgba(13,8,25,0.4), rgba(7,4,15,0.7));
    border-left: 1px solid var(--glass-border);
    min-height: 100%;
}
.rp-main {
    position: relative;
    flex: 1;
    min-height: 260px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}
.rp-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 900ms var(--ease-bento);
}
.erp-preview:hover .rp-main img { transform: scale(1.04); }
.rp-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-faint);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.rp-fallback i {
    width: 28px; height: 28px;
    color: var(--text-faint);
}
.rp-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.rp-thumb {
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    transition: transform var(--tr-fast), border-color var(--tr-fast);
}
.rp-thumb:hover {
    transform: translateY(-2px);
    border-color: var(--accent-amber);
}
.rp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@media (max-width: 900px) {
    .bento.accent-amber.col-6 > div {
        grid-template-columns: 1fr !important;
    }
    .erp-preview { border-left: 0; border-top: 1px solid var(--glass-border); }
}

/* Inline product chips on services page */
.products-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
}
.products-inline i {
    width: 14px; height: 14px;
    color: var(--accent-primary);
}

/* =========================================================
   CASE-ART TILES — Design-only (no screenshot) product cards
   ========================================================= */

.case-art .art-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    z-index: 0;
}
.case-art .art-media::before {
    /* radial mesh backdrop */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 28%, var(--art-1, rgba(168,85,247,0.55)), transparent 55%),
        radial-gradient(circle at 78% 72%, var(--art-2, rgba(225,29,140,0.55)), transparent 55%),
        linear-gradient(160deg, #0a0518, #120a2c 60%, #040208);
    z-index: -2;
}
.case-art .art-media::after {
    /* subtle grid overlay */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 80%);
    z-index: -1;
}
.case-art .art-icon {
    width: 110px; height: 110px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 25px 60px -20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform 900ms var(--ease-bento);
}
.case-art:hover .art-icon { transform: scale(1.06) rotate(-3deg); }
.case-art .art-icon i {
    width: 54px; height: 54px;
    color: #fff;
    filter: drop-shadow(0 0 14px var(--art-glow, rgba(168,85,247,0.7)));
}
.case-art .art-name {
    position: absolute;
    left: 1.75rem;
    top: 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.92);
}
.case-art .art-name span {
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
}

/* Colour variants map to CSS vars consumed above */
.case-art--amber   { --art-1: rgba(251,191,36,0.6); --art-2: rgba(244,114,22,0.55); --art-glow: rgba(251,191,36,0.8); }
.case-art--cyan    { --art-1: rgba(6,182,212,0.55); --art-2: rgba(168,85,247,0.55); --art-glow: rgba(6,182,212,0.8); }
.case-art--magenta { --art-1: rgba(225,29,140,0.6); --art-2: rgba(244,114,182,0.5); --art-glow: rgba(244,114,182,0.85); }
.case-art--mint    { --art-1: rgba(52,211,153,0.55); --art-2: rgba(6,182,212,0.5); --art-glow: rgba(52,211,153,0.8); }
.case-art--purple  { --art-1: rgba(168,85,247,0.65); --art-2: rgba(225,29,140,0.5); --art-glow: rgba(168,85,247,0.85); }

/* Lightbox should not try to open art tiles (no real image to zoom) */
.case-art { cursor: default; }

@media (max-width: 600px) {
    .case-art .art-icon { width: 88px; height: 88px; }
    .case-art .art-icon i { width: 42px; height: 42px; }
    .case-art .art-name { font-size: 1.15rem; }
}

/* =========================================================
   PORTFOLIO — Sticky Filter Bar + Category Focus
   ========================================================= */

.filter-bar {
    position: sticky;
    top: 80px;               /* clears the floating nav */
    z-index: 80;
    padding: 12px 0;
    margin: 1rem 0 0;
    background: rgba(7, 4, 15, 0.75);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow var(--tr-fast);
}
.filter-bar.stuck {
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
}

.filter-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--tr-fast);
    position: relative;
}
.filter-chip:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
    border-color: var(--glass-border-hot);
}
.filter-chip.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    box-shadow: 0 8px 22px -6px var(--glow-primary);
}

.filter-count {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    background: var(--glass-bg);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
    white-space: nowrap;
}
.filter-count .fc-num {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Hidden tiles / sections — collapse from grid without animation flicker */
.case-tile.is-hidden,
.portfolio-section.is-hidden {
    display: none !important;
}

/* Fade-in when a tile becomes visible after filtering */
.case-tile.filter-enter {
    animation: filterIn 420ms var(--ease-bento) both;
}
@keyframes filterIn {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to   { opacity: 1; transform: none; }
}

/* Empty-state scope */
.portfolio-empty[hidden] { display: none; }
.portfolio-empty .bento { content-visibility: visible; }

@media (max-width: 720px) {
    .filter-bar { top: 72px; padding: 10px 0; }
    .filter-wrap { gap: 0.75rem; }
    .filter-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .filter-count { display: none; }
    .filter-chip { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
}

/* ---------- Utilities ---------- */
.u-center { text-align: center; }
.u-flex { display: flex; }
.u-gap-1 { gap: 0.5rem; }
.u-gap-2 { gap: 1rem; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-3 { margin-top: 3rem; }
.u-mt-4 { margin-top: 4rem; }

/* =========================================================
   GLOBAL RESPONSIVE PASS — every breakpoint 320px → 4K
   Mobile first, desktop progressive enhancement
   ========================================================= */

/* Fluid container across the board */
:root {
    --container-x: clamp(1rem, 4vw, 2rem);
}
.container { padding-left: var(--container-x); padding-right: var(--container-x); }

/* Prevent horizontal overflow on any device */
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video, iframe { max-width: 100%; }

/* ==================== 1440px and up (XL / desktop) ==================== */
@media (min-width: 1441px) {
    .container { max-width: 1440px; }
    .hero-heading { font-size: clamp(3rem, 5vw, 5.5rem); }
}

/* ==================== 1200-1440px (laptop) ==================== */
@media (max-width: 1200px) {
    .hero-split { gap: 2.5rem; }
    .bento-grid { gap: 1rem; }
    .tech-hub-stage { aspect-ratio: 4/3; }
}

/* ==================== 1024px (tablet landscape) ==================== */
@media (max-width: 1024px) {
    .site-nav { width: calc(100% - 1.5rem); padding: 0.55rem 0.55rem 0.55rem 1.25rem; }
    .hero-split { grid-template-columns: 1fr; gap: 3rem; }
    .hero-split .hero-heading { font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: 100%; }
    .status-wrap { max-width: 520px; margin: 0 auto; width: 100%; }
    .sat-chip--tl { top: -12px; left: 0; }
    .sat-chip--br { bottom: -12px; right: 0; }

    /* Bento falls back to 2-col at tablet */
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .col-2, .col-3, .col-4, .col-6 { grid-column: span 2; }

    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head > div:last-child { max-width: 100%; }

    /* Hero heading scales down */
    .hero { padding: 8rem 0 2rem; }

    /* Contact page */
    .contact-section .bento-grid { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: repeat(2, 1fr); display: grid; gap: 1rem; }
    .info-card--status { grid-column: 1 / -1; }

    /* Process step padding */
    .process-step { padding: 1.5rem 0; }
}

/* ==================== 900px (tablet portrait) ==================== */
@media (max-width: 900px) {
    /* Nav mobile pattern */
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
    .site-nav.open .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 10px);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(10, 6, 20, 0.96);
        border: 1px solid var(--glass-border);
        border-radius: var(--r-md);
        padding: 1rem;
        backdrop-filter: blur(22px);
        gap: 0.25rem;
    }
    .site-nav.open .nav-links a { width: 100%; padding: 0.75rem 1rem; }

    /* Announcement bar shorter */
    .announcement-bar { font-size: 0.72rem; padding: 8px 0; }
    body.has-announce .site-nav { top: 44px; }

    /* Hero orbs smaller */
    .hero-orb { width: 360px; height: 360px; }

    /* Tech hub switches to column-stack layout */
    .tech-hub-stage { aspect-ratio: auto; min-height: 560px; }
    .hub-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
    .hub-lines { display: none; }    /* connection lines break logic on stacked layout */
    .tech-node {
        position: static;
        transform: none;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        margin: 8px;
    }
    .tech-hub-stage > .tech-node { display: none; }   /* hide raw absolute nodes */

    /* Polaroid collage */
    .polaroid-collage { flex-wrap: wrap; height: auto; gap: 20px; }
    .polaroid { position: relative; left: auto !important; top: auto !important; transform: rotate(0) !important; }

    /* Hero Stats */
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    /* Legal / sitemap */
    .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
    .legal-toc { position: static; order: -1; }
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
    .sm-card--lg { grid-column: span 2; }

    /* Awards row */
    .awards-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }

    /* Filter bar on portfolio */
    .filter-bar { top: 72px; }
    .filter-wrap { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .filter-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; gap: 6px; }
    .filter-count { align-self: flex-start; }

    /* Toolkit */
    .toolkit-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
    .tk-card, .tk-card.tk-lg { grid-column: span 1; }

    /* ERP featured card */
    .bento.accent-amber.col-6 > div:first-child { grid-template-columns: 1fr !important; }
    .erp-preview { border-left: 0; border-top: 1px solid var(--glass-border); }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-wordmark { font-size: clamp(4rem, 18vw, 9rem); bottom: -1vw; }
}

/* ==================== 720px ==================== */
@media (max-width: 720px) {
    /* Smaller nav CTA */
    .nav-cta { padding: 0.5rem 1rem !important; font-size: 0.82rem !important; }
    .nav-cta i { width: 14px; height: 14px; }
    .site-nav { padding: 0.45rem 0.45rem 0.45rem 1rem; }

    /* Typography tightens */
    .hero-heading { font-size: clamp(2rem, 9vw, 3.25rem); }
    h1 { font-size: clamp(2rem, 7vw, 3rem); }
    h2 { font-size: clamp(1.6rem, 5.5vw, 2.5rem); }
    h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
    .section { padding: 4rem 0; }
    .section-head { gap: 1rem; margin-bottom: 2.5rem; }

    /* Reel button stacks */
    .reel-btn { padding-right: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hero-actions .btn, .hero-actions .reel-btn { justify-content: center; }

    /* Status card padding tighter */
    .status-card { padding: 1.25rem; }
    .sc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sc-row { font-size: 0.85rem; padding: 0.7rem 0; }

    /* Trust line wraps gracefully */
    .trust-line { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
    .micro-trust { gap: 0.3rem 1rem; font-size: 0.76rem; }

    /* Contact form */
    .contact-form { padding: 1.25rem !important; }
    .contact-form .form-top { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .contact-form [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    .form-submit-row { flex-direction: column-reverse; align-items: stretch; }
    .submit-btn { min-width: 0; width: 100%; }
    .contact-info { grid-template-columns: 1fr; }
    .info-card--status { grid-column: 1; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-hero h2 { font-size: clamp(2rem, 9vw, 3rem); }
    .footer-brand { grid-column: auto; }
    .footer-col h5 { margin-bottom: 1rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; text-align: left; }
    .footer-bottom span { font-size: 0.75rem; line-height: 1.5; }
    .footer-legal { gap: 1.25rem; }

    /* Toolkit */
    .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
    .toolkit-tabs { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; padding: 6px; border-radius: 22px; }
    .tk-tab { padding: 0.4rem 0.85rem; font-size: 0.78rem; }

    /* Sitemap */
    .sitemap-grid { grid-template-columns: 1fr; }
    .sm-card--lg { grid-column: span 1; }
    .sm-list a strong { font-size: 0.9rem; }
    .sm-list a small { font-size: 0.75rem; }

    /* Bento tile min-heights shrink to reduce dead space */
    .bento { padding: 1.25rem; min-height: auto; }
    .service-tile { min-height: 200px; }

    /* Portfolio tile heights shrink */
    .case-tile { min-height: 300px !important; }
    .case-tile .case-body { padding: 1.25rem; }
    .case-tile .case-body h3 { font-size: 1.25rem !important; }

    /* Marquee speed */
    .marquee-track { animation-duration: 28s; }
    .marquee-item { font-size: 1.15rem; gap: 8px; }
    .marquee-item i { width: 20px; height: 20px; }

    /* Tech hub smaller */
    .tech-hub-stage { min-height: 460px; }
    .hub-center { width: 80px; height: 80px; }
    .tech-bubble { width: 42px; }
    .tech-bubble::before { inset: -5px; }

    /* Process step */
    .process-step { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.25rem 0; }
    .process-step .n { font-size: 1.75rem; }

    /* Awards list wraps tightly */
    .awards-list { gap: 1.25rem; }
    .awards-list .award { font-size: 0.92rem; gap: 6px; }
    .awards-list .award i { width: 18px; height: 18px; }

    /* Lightbox full-bleed on phones */
    .lightbox-shell { width: 100vw; height: 100vh; border-radius: 0; border: 0; }
    .lightbox-head { padding: 0.75rem 0.9rem; gap: 0.75rem; }
    .lightbox-title { font-size: 0.9rem; max-width: 160px; }
    .lightbox-controls { gap: 4px; }
    .lb-btn { width: 36px; height: 36px; }
    .lb-nav { width: 38px; height: 38px; margin: 0 0.3rem; }

    /* Video modal full-bleed */
    .video-shell { width: 100vw; }
    .video-frame { border-radius: 0; }

    /* Chat widget smaller */
    #chat-widget { bottom: 16px; right: 16px; }
    #chat-toggle { width: 52px; height: 52px; }
    #chat-window { width: calc(100vw - 32px); max-width: 360px; height: 480px; }

    /* Stats row */
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; padding-top: 1.75rem; }
    .stat .n { font-size: 1.85rem; }

    /* Buttons full width where stacked */
    .btn { font-size: 0.9rem; padding: 0.85rem 1.4rem; }
}

/* ==================== 480px (small phone) ==================== */
@media (max-width: 480px) {
    .container { padding-left: 1rem; padding-right: 1rem; }

    /* Typography */
    .hero-heading { font-size: clamp(1.85rem, 8vw, 2.5rem); line-height: 1.05; }
    .hero-sub { font-size: 1rem; }

    /* Nav logo slightly smaller */
    .nav-logo img { height: 28px; }

    /* Announcement bar single-column cycle */
    .announcement-track { gap: 3rem; }
    .announcement-bar span { font-size: 0.7rem; }

    /* Hero stats collapse to 2 rows of 2 with tighter padding */
    .hero-stats { padding-top: 1.5rem; margin-top: 2.5rem; }
    .stat .n { font-size: 1.6rem; }
    .stat .l { font-size: 0.74rem; }

    /* Eyebrow smaller */
    .eyebrow { font-size: 0.7rem; padding: 6px 12px; }

    /* Status card */
    .status-card { padding: 1rem; }
    .sc-brand img { height: 22px; }
    .sc-brand-name { font-size: 0.88rem; }

    /* Toolkit → single column on tiny phones */
    .toolkit-grid { grid-template-columns: 1fr; }
    .tk-card, .tk-card.tk-lg { min-height: 150px; padding: 1rem; }

    /* Reel button compact */
    .reel-btn { padding: 6px 14px 6px 6px; gap: 10px; }
    .reel-label { font-size: 0.82rem; }
    .reel-label small { font-size: 0.62rem; }
    .reel-ring { width: 36px; height: 36px; }

    /* Contact info cards on phone */
    .info-card { padding: 14px 16px; gap: 12px; }
    .ic-big { flex-wrap: wrap; }
    .ic-num { font-size: 2rem; }

    /* Filter chips */
    .filter-chip { padding: 0.45rem 0.8rem; font-size: 0.78rem; }

    /* Portfolio featured tiles min-height */
    .case-tile { min-height: 260px !important; }
    .case-tile::after { top: 0.75rem; right: 0.75rem; padding: 0.35rem 0.75rem; font-size: 0.65rem; }

    /* Service chip inside dashboards card */
    .tk-cat { font-size: 0.6rem; padding: 3px 7px; }

    /* Manifesto / process tight */
    .process-step { padding: 1rem 0; }
    .process-step .n { font-size: 1.5rem; }
    .process-step h3 { font-size: 1.05rem; }

    /* Tables in legal scroll cleanly */
    .legal-table-wrap { margin-left: calc(var(--container-x) * -1); margin-right: calc(var(--container-x) * -1); border-radius: 0; }

    /* Avatars - single row, tighter */
    .avatar { width: 26px; height: 26px; font-size: 0.65rem; }
    .avatar-plus { font-size: 0.6rem; }

    /* Chart bars smaller */
    .sc-bars { height: 32px; }

    /* Social icons wrap */
    .social-row { flex-wrap: wrap; gap: 0.4rem; }
    .social-row a { width: 36px; height: 36px; }

    /* ERP preview */
    .rp-main { min-height: 180px; }
    .rp-thumbs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* ==================== 360px (tiny phone) ==================== */
@media (max-width: 360px) {
    .container { padding-left: 0.85rem; padding-right: 0.85rem; }
    .hero { padding: 7rem 0 1.5rem; }
    .hero-heading { font-size: clamp(1.65rem, 9vw, 2.2rem); }
    .eyebrow { font-size: 0.66rem; padding: 5px 10px; }
    .btn { padding: 0.75rem 1.15rem; font-size: 0.85rem; }
    .nav-cta { padding: 0.4rem 0.85rem !important; font-size: 0.75rem !important; }
    .site-nav { padding: 0.4rem 0.4rem 0.4rem 0.75rem; }
    .nav-logo img { height: 26px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat .n { font-size: 1.4rem; }
    .sat-chip { font-size: 0.72rem; padding: 6px 10px; }
    .sat-chip strong { font-size: 0.75rem; }
    .sat-chip small { font-size: 0.6rem; }
}

/* ==================== Landscape phones (short viewports) ==================== */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
    .hero { padding: 6rem 0 1.5rem; min-height: auto; }
    .hero-orb { width: 280px; height: 280px; }
    .scroll-down { display: none; }
}

/* ==================== Reduced motion ==================== */
@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;
    }
    .hero-orb, .announcement-track, .marquee-track,
    .cursor-dot, .cursor-ring, .hub-pulse, .sc-sheen,
    .preloader-bar span, .tk-glow { animation: none !important; }
}

/* ==================== High-DPI / Retina optimisation ==================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .tech-bubble, .tk-logo { image-rendering: -webkit-optimize-contrast; }
}

/* ==================== Print ==================== */
@media print {
    .site-nav, .announcement-bar, .scroll-progress, .cursor-dot, .cursor-ring,
    #chat-widget, .lightbox, .video-modal, .preloader, .hero-orb, .hero-grid-bg,
    .reveal, .reel-btn, .marquee, .tech-hub-section { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .container { max-width: 100%; padding: 0; }
    a { color: #000; text-decoration: underline; }
    .bento, .glass, .case-tile { border: 1px solid #ccc !important; background: #fff !important; }
}

/* ---------- Case tiles over light UI screenshots (e.g. SMAT Audit360): stronger veil for legible text ---------- */
.case-tile--light .case-veil {
    background: linear-gradient(180deg, rgba(7,4,15,0.45) 0%, rgba(7,4,15,0.82) 42%, rgba(7,4,15,0.96) 100%);
}
.case-tile--light:hover .case-veil {
    background: linear-gradient(180deg, rgba(7,4,15,0.3) 0%, rgba(7,4,15,0.78) 45%, rgba(7,4,15,0.95) 100%);
}

/* ---------- ERP workspace tiles: icon in the upper half so longer copy never overlaps it ---------- */
.case-art--upper { display: flex; flex-direction: column; }
.case-art--upper .art-media { place-items: start center; padding-top: 4.75rem; }
.case-art--upper .case-body { flex: 1 1 auto; }
@media (max-width: 600px) { .case-art--upper .art-media { padding-top: 4.25rem; } }

/* ---------- Badges over light UI screenshots: solid backing for contrast ---------- */
.case-tile--light > span[style*="position:absolute"] { background-color: rgba(7, 4, 15, 0.82) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Client work cards (portfolio + home): branded cover on top, caption below ---------- */
.case-tile.work-card { display: flex; flex-direction: column; min-height: 0; padding: 0; }
.work-card .work-media { position: relative; overflow: hidden; aspect-ratio: 1500 / 788; background: #0b0716; border-bottom: 1px solid var(--glass-border); }
.case-tile.work-card .case-media { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; transition: transform 900ms var(--ease-bento); }
.case-tile.work-card:hover .case-media { transform: scale(1.035); }
.work-card .work-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.25rem 1.4rem 1.5rem; flex: 1 1 auto; }
.work-card .case-tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-tertiary); }
.work-card h3 { font-size: 1.15rem; line-height: 1.3; }
.work-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text-dim); }
.work-chips { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.work-chips li { font-size: 0.74rem; line-height: 1.2; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.04); color: var(--text-dim); }
.work-link { margin-top: auto; padding-top: 0.6rem; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--accent-primary); text-decoration: none; cursor: pointer; }
.work-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.work-link svg, .work-link i { width: 15px; height: 15px; }
.case-tile.work-card::after { content: 'Zoom'; }
.work-note { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 1.75rem 0 0; font-size: 0.86rem; line-height: 1.6; color: var(--text-dim); }
.work-note svg, .work-note i { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-tertiary); }
@media (max-width: 1024px) {
    .case-tile.work-card { min-height: 0 !important; }
}
@media (max-width: 600px) {
    .work-card .work-body { padding: 1rem 1.1rem 1.25rem; }
}

/* ---------- Portfolio up front (2026-11-02): compact hero, grouped cards, product cards ---------- */
.hero.hero--compact { padding: 7rem 0 1rem; }
.hero--compact .hero-heading { font-size: clamp(2rem, 3.7vw, 3.2rem); line-height: 1.08; margin: 0.9rem 0 0.7rem; }
.hero--compact .hero-sub { font-size: 1.05rem; max-width: 660px; margin-bottom: 0; }
.filter-chip .chip-n { display: inline-block; margin-left: 3px; font-size: 0.72rem; opacity: 0.6; font-variant-numeric: tabular-nums; }
.filter-chip.is-active .chip-n { opacity: 0.9; }
.section.work-group { padding: 1.75rem 0 0.75rem; content-visibility: visible; }
.work-group-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 2rem; margin-bottom: 1.5rem; }
.work-group-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; margin-top: 0.75rem; }
.work-group-head p { max-width: 440px; font-size: 0.95rem; color: var(--text-dim); }
.work-card a.work-media { display: block; }
.work-card h3 a { color: inherit; text-decoration: none; }
.work-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.work-card.col-3 h3 { font-size: 1.3rem; }
.case-tile.work-card--product::after { content: 'Open'; }
.work-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; padding: clamp(2rem, 4vw, 3rem); }
.work-cta h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 0.75rem 0 0.5rem; }
.work-cta p { max-width: 560px; color: var(--text-dim); }
.work-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.section.home-work { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); content-visibility: visible; }
.home-work .section-head { margin-bottom: 2rem; }
.home-work-more { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 2rem; text-align: center; }
.home-work-more span { font-size: 0.9rem; color: var(--text-dim); }
@media (max-width: 600px) {
    .hero.hero--compact { padding: 6.25rem 0 1rem; }
    .section.work-group { padding-top: 2rem; }
    .work-group-head { margin-bottom: 1.1rem; }
}

/* ---------- Home hero: real work instead of the old "live feed" card (2026-11-02) ---------- */
.hero-showcase { position: relative; display: block; aspect-ratio: 1.12; max-width: 640px; margin-left: auto; text-decoration: none; color: inherit; }
.hs-card { position: absolute; width: 80%; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-border); background: #0b0716; box-shadow: 0 36px 80px -24px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(255, 255, 255, 0.03); transition: transform 700ms var(--ease-bento), opacity 700ms var(--ease-bento); }
.hs-card img { display: block; width: 100%; height: auto; }
.hs-card--1 { top: 2%; left: 0; z-index: 1; opacity: 0.8; transform: rotate(-6deg); }
.hs-card--2 { top: 12%; right: 0; z-index: 2; opacity: 0.9; transform: rotate(5deg); }
.hs-card--3 { bottom: 10%; left: 10%; z-index: 3; transform: rotate(-1deg); }
.hero-showcase:hover .hs-card--1 { transform: rotate(-9deg) translate(-10px, -8px); opacity: 1; }
.hero-showcase:hover .hs-card--2 { transform: rotate(8deg) translate(10px, -6px); opacity: 1; }
.hero-showcase:hover .hs-card--3 { transform: rotate(0deg) translateY(-6px); }
.hs-caption { position: absolute; right: 2%; bottom: 0; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-border-hot, rgba(255,255,255,0.22)); background: rgba(12, 7, 24, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 0.85rem; color: var(--text-dim); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7); }
.hs-caption strong { color: var(--text-primary); font-weight: 600; }
.hs-caption svg, .hs-caption i { width: 15px; height: 15px; color: var(--accent-primary); }
@media (max-width: 1024px) { .hero-showcase { margin: 0 auto; } }
@media (max-width: 600px) { .hs-card { border-radius: 12px; } .hs-caption { font-size: 0.78rem; padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { .hs-card { transition: none; } }
.work-actions { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; }
.work-actions .work-link { margin-top: 0; padding-top: 0; }
.work-enquire { font-size: 0.84rem; color: var(--text-dim); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.work-enquire:hover { color: var(--text-primary); text-decoration-color: var(--accent-primary); }

/* ---------- Google reviews + industry solutions (2026-11-02) ---------- */
.reviews-section .section-head { margin-bottom: 2.5rem; align-items: center; }
.review-score { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: var(--r-md); border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text-primary); text-decoration: none; transition: border-color var(--tr-fast), background var(--tr-fast); }
.review-score:hover { border-color: var(--glass-border-hot); background: var(--glass-bg-strong); }
.review-score > strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.review-score > span { display: flex; flex-direction: column; gap: 4px; }
.review-score small { font-size: 0.8rem; color: var(--text-dim); }
.stars { display: inline-flex; gap: 2px; font-size: 1rem; line-height: 1; color: rgba(255, 255, 255, 0.18); letter-spacing: 0; }
.stars .on { color: var(--accent-amber); }
.review-card { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 1.75rem 2rem; }
.review-card blockquote { margin: 0; flex: 1; font-size: 1.05rem; line-height: 1.6; color: var(--text-primary); }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; color: var(--text-dim); }
.review-card figcaption strong { color: var(--text-primary); font-weight: 600; font-size: 0.95rem; }
.reviews-more { margin-top: 1.75rem; text-align: center; }
.micro-trust a.micro-gbp { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--text-dim); text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); }
.micro-trust a.micro-gbp:hover { color: var(--text-primary); border-bottom-color: var(--accent-amber); }
.micro-trust a.micro-gbp svg, .micro-trust a.micro-gbp i { color: var(--accent-amber); fill: var(--accent-amber); }

.solutions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.solution-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border-radius: var(--r-md); border: 1px solid var(--glass-border); background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)); color: var(--text-primary); text-decoration: none; transition: border-color var(--tr-fast), background var(--tr-fast), transform var(--tr-fast); }
.solution-card:hover { border-color: var(--glass-border-hot); background: var(--glass-bg-strong); transform: translateY(-2px); }
.solution-card .icon-chip { flex: none; display: inline-flex; width: 48px; height: 48px; border-radius: 13px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(225,29,140,0.15)); border: 1px solid var(--glass-border); color: var(--accent-primary); }
.solution-card .icon-chip svg, .solution-card .icon-chip i { width: 22px; height: 22px; }
.solution-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.solution-text strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.solution-text small { font-size: 0.85rem; line-height: 1.45; color: var(--text-dim); }
.solution-arrow { flex: none; width: 18px; height: 18px; color: var(--text-faint); transition: color var(--tr-fast), transform var(--tr-fast); }
.solution-card:hover .solution-arrow { color: var(--accent-primary); transform: translate(2px, -2px); }
.section.solutions-section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.solutions-section .section-head { margin-bottom: 2rem; }
@media (max-width: 600px) {
    .review-card { padding: 1.4rem 1.4rem; }
    .review-score > strong { font-size: 2.1rem; }
    .solution-card { padding: 1rem; }
}

/* Footer with the "Software" column: five columns, then 3 / 2 / 1 */
.footer-grid.footer-grid--5 { grid-template-columns: 1.45fr 0.75fr 1.05fr 0.95fr 1.1fr; gap: 2.5rem; }
@media (max-width: 1100px) {
    .footer-grid.footer-grid--5 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid--5 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .footer-grid.footer-grid--5 { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 720px) { .footer-grid.footer-grid--5 { grid-template-columns: 1fr; } }
.ic-value a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.ic-value a:hover { text-decoration-color: var(--accent-primary); }
.solution-card.solution-card--wide { grid-column: 1 / -1; }

/* ---------- Guides (2026-11-02) ---------- */
.guide-hero { padding-bottom: 1.5rem; }
.guide-title { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; max-width: 900px; margin: 1.1rem 0 0.9rem; letter-spacing: -0.01em; }
.guide-intro { max-width: 720px; font-size: 1.12rem; color: var(--text-dim); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.2rem; font-size: 0.85rem; color: var(--text-faint); }
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.guide-meta svg, .guide-meta i { width: 14px; height: 14px; }
.section.guide-section { padding-top: 1.5rem; content-visibility: visible; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.guide-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 1rem; }
.guide-toc { padding: 1.1rem 1.2rem; border: 1px solid var(--glass-border); border-radius: var(--r-md); background: var(--glass-bg); font-size: 0.86rem; }
.guide-toc strong { display: block; margin-bottom: 0.6rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.guide-toc ol { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.guide-toc a { color: var(--text-dim); text-decoration: none; line-height: 1.35; }
.guide-toc a:hover { color: var(--text-primary); }
.guide-product { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--glass-border-hot); border-radius: var(--r-md); background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(225,29,140,0.06)); color: var(--text-primary); text-decoration: none; }
.guide-product .icon-chip { flex: none; display: inline-flex; width: 40px; height: 40px; border-radius: 11px; align-items: center; justify-content: center; background: rgba(168,85,247,0.2); color: var(--accent-primary); }
.guide-product .icon-chip svg { width: 19px; height: 19px; }
.guide-product small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.guide-product strong { display: block; font-family: var(--font-display); font-size: 1rem; margin: 2px 0 4px; }
.guide-product em { font-style: normal; font-size: 0.82rem; color: var(--text-dim); display: inline-flex; align-items: center; gap: 5px; }
.guide-product em svg { width: 13px; height: 13px; }
.guide-body { max-width: 760px; font-size: 1.04rem; line-height: 1.75; color: var(--text-dim); }
.guide-body .guide-lead { font-size: 1.15rem; color: var(--text-primary); line-height: 1.7; margin-bottom: 1.5rem; }
.guide-body h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--text-primary); line-height: 1.25; margin: 2.4rem 0 0.8rem; scroll-margin-top: 110px; }
.guide-body h3 { font-size: 1.15rem; color: var(--text-primary); margin: 1.6rem 0 0.5rem; }
.guide-body p { margin: 0 0 1rem; }
.guide-body ul, .guide-body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; }
.guide-body li::marker { color: var(--accent-primary); }
.guide-body strong { color: var(--text-primary); }
.guide-body a { color: var(--text-primary); text-decoration: underline; text-decoration-color: var(--accent-primary); text-underline-offset: 3px; }
.guide-body table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.4rem; font-size: 0.93rem; display: block; overflow-x: auto; }
.guide-body th, .guide-body td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--glass-border); vertical-align: top; }
.guide-body th { color: var(--text-primary); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--glass-bg); }
.guide-note { margin: 1.2rem 0 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent-secondary); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: rgba(225, 29, 140, 0.07); color: var(--text-dim); font-size: 0.96rem; }
.guide-narrow { max-width: 900px; }
.guide-more { margin-top: 3rem; }
.guide-more h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.2rem; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }
.bento.guide-card { display: flex; flex-direction: column; gap: 0.8rem; text-decoration: none; color: inherit; padding: 1.8rem; }
.guide-card .icon-chip { display: inline-flex; width: 48px; height: 48px; border-radius: 13px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(225,29,140,0.15)); border: 1px solid var(--glass-border); color: var(--accent-primary); }
.guide-card h2 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--text-primary); }
.guide-card p { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.guide-card-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-faint); }
.guide-card-meta svg { width: 14px; height: 14px; }
.guide-card:hover h2 { text-decoration: underline; text-decoration-color: var(--accent-primary); text-underline-offset: 4px; }
@media (max-width: 960px) {
    .guide-layout { grid-template-columns: 1fr; }
    .guide-aside { position: static; }
}
.landing-guide { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 420px; padding: 0.9rem 1.1rem; border: 1px solid var(--glass-border-hot); border-radius: var(--r-md); background: rgba(168, 85, 247, 0.08); color: var(--text-primary); text-decoration: none; font-size: 0.95rem; line-height: 1.4; }
.landing-guide small { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 2px; }
.landing-guide svg, .landing-guide i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent-primary); }
.landing-guide:hover { background: rgba(168, 85, 247, 0.16); }
.guide-toc ol { list-style: none; padding-left: 0; }
