/*
    Sepanta Pouya — Portfolio
    Redesigned design system (2025)
    Reuses original class names so every page is upgraded consistently.

    -- Table of Content --
    * # Tokens & Base
    * # Background FX
    * # Buttons
    * # Cards (shadow-box / info-box)
    * # Header / Nav
    * # Hero
    * # About
    * # Marquee
    * # Stats
    * # Projects
    * # Project Details
    * # Credentials
    * # Service
    * # Blog
    * # Contact
    * # Footer
    * # Preloader
    * # Cursor
    * # Animations
    * # Responsive
*/

/* ============================================================
   # Tokens & Base
============================================================ */
:root {
   
    --primary_color: #4647ae; 
    --brand: #4647ae;        
    --brand-2: #4382df;      
    --brand-3: #aaccd6;     
    --brand-glow: rgba(70, 71, 174, 0.5);
    --dark: #112e81;     

   
    --bg: #0b1126;           
    --bg-2: #112e81;         
    --surface: rgba(170, 204, 214, 0.05);
    --surface-2: rgba(170, 204, 214, 0.1);
    --border: rgba(170, 204, 214, 0.15);
    --border-strong: rgba(170, 204, 214, 0.3);

   
    --text: #f0f4f8;         
    --text-2: #aaccd6;        
    --text-3: #7a97a0;

    
    --bs-primary: var(--brand);
    --bs-info: var(--brand-2);
    --bs-light: var(--brand-3);
    --bs-dark: var(--dark);
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --ease-2: cubic-bezier(.22, 1, .36, 1);

   
    --radius: 26px;
    --radius-sm: 18px;
    --radius-lg: 32px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow-glow: 0 0 0 1px var(--border-strong), 0 24px 70px -30px var(--brand-glow);
    --container: 1200px;
    --mx: 50%;
    --my: 50%;
}


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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    color: var(--text-2);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

::selection {
    background: var(--brand);
    color: #fff;
}

.text-right { text-align: right; }
.flex-1 { flex: 1; }
.h-full { height: 100%; }
.gap-24 { gap: 24px; }
.gap-16 { gap: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

.container {
    max-width: var(--container);
    padding-left: 24px;
    padding-right: 24px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border: 3px solid var(--bg);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .2); }

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: 1;
    margin: 18px 0;
}

/* ============================================================
   # Background FX  — fixed ambient gradients + grid
============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(58% 48% at 12% -6%, rgba(255, 92, 138, .16), transparent 60%),
        radial-gradient(48% 44% at 96% 4%, rgba(168, 110, 255, .13), transparent 60%),
        radial-gradient(55% 45% at 50% 112%, rgba(255, 140, 100, .08), transparent 60%),
        var(--bg);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
    pointer-events: none;
}

/* slow-drifting brand orb */
.bg-orb {
    position: fixed;
    z-index: -2;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .5;
    pointer-events: none;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
    animation: orb-float 22s var(--ease) infinite alternate;
}
.bg-orb.two {
    background: radial-gradient(circle, rgba(168, 110, 255, .32), transparent 70%);
    right: -120px;
    top: 30%;
    animation-duration: 28s;
    animation-direction: alternate-reverse;
}

/* ============================================================
   # Buttons
============================================================ */
.theme-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 26px;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform .35s var(--ease), border-color .35s var(--ease),
                background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
    will-change: transform;
}
.theme-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
    transform: skewX(-18deg);
    transition: left .6s var(--ease);
}
.theme-btn:hover {
    background: #fff;
    color: #0a0a0c;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -12px rgba(255, 255, 255, .3);
}
.theme-btn:hover::after { left: 130%; }

/* Primary CTA (nav "Let's talk") gets the brand gradient */
.header-area .theme-btn {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 30px -12px var(--brand-glow);
}
.header-area .theme-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -12px var(--brand-glow);
    filter: brightness(1.08);
}

/* circular arrow buttons */
.about-btn,
.project-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    opacity: 1 !important;
    flex: none;
    transition: transform .4s var(--ease), background .4s var(--ease),
                border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.about-btn img,
.project-btn img {
    width: 16px;
    filter: brightness(0) invert(1);
    opacity: .6;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.info-box:hover .about-btn,
.about-area .about-me-box:hover .infos .about-btn,
.projects-area .project-item:hover .project-btn,
.shadow-box:hover .about-btn {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    box-shadow: 0 8px 22px -8px var(--brand-glow);
}
.info-box:hover .about-btn img,
.projects-area .project-item:hover .project-btn img,
.shadow-box:hover .about-btn img {
    transform: translate(3px, -3px);
    opacity: 1;
}

/* ============================================================
   # Cards (shadow-box / info-box)
============================================================ */
.shadow-box {
    position: relative;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
/* cursor spotlight */
.shadow-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(440px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 45%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}
/* top sheen / gradient border highlight */
.shadow-box::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, rgba(255, 255, 255, .16), transparent 35%, transparent 65%, rgba(255, 255, 255, .06));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .7;
    pointer-events: none;
}
.shadow-box:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft), 0 0 50px -22px var(--brand-glow);
}
/* gentle lift on the smaller cards only */
.projects-area .info-box:hover,
.projects-area .project-item:hover,
.about-area .about-credentials-wrap .info-box:hover,
.blog-service-profile-wrap .info-box:hover {
    transform: translateY(-5px);
}
.info-box .inner-profile-icons.shadow-box:hover { transform: none; box-shadow: none; }
.shadow-box:hover::before { opacity: 1; }
.shadow-box > * {
    position: relative;
    z-index: 2;
}
.bg-img {
    position: absolute !important;
    inset: 0;
    z-index: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .05;
    border-radius: inherit;
}

/* info box */
.info-box { padding: 26px; }
.info-box > img {
    display: block;
    margin: auto auto 16px auto;
}
.info-box .infos h4 {
    color: var(--text-3);
    font-size: 11px;
    letter-spacing: .12em;
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
}
.info-box .infos h1 {
    font-size: 21px;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -.01em;
}
.info-box .infos h5, .info-box .infos h6 { color: var(--text); font-weight: 600; }
.info-box .infos p { color: var(--text-2); }

.overlay-link {
    position: absolute;
    inset: 0;
    z-index: 9;
    border-radius: inherit;
    opacity: 0;
}

/* profile social icons */
.info-box .inner-profile-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.info-box .inner-profile-icons a {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    transition: transform .4s var(--ease), background .4s var(--ease),
                color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.info-box .inner-profile-icons a:hover {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -10px var(--brand-glow);
}
.info-box .inner-profile-icons a i { font-size: 26px; }

/* stats */
.info-box.about-client-box .clients .client-item {
    position: relative;
    border-radius: var(--radius-sm);
    text-align: center;
    flex: 1;
    padding: 38px 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.info-box.about-client-box .clients .client-item:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}
.info-box.about-client-box .clients .client-item h1 {
    font-size: 42px;
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -.03em;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.info-box.about-client-box .clients .client-item p {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}

/* contact / CTA box */
.info-box.about-contact-box {
    padding-top: 64px;
    padding-bottom: 36px;
}
.info-box.about-contact-box h1,
.info-box.about-contact-box h2 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.02em;
}
.info-box.about-contact-box h1 span,
.info-box.about-contact-box h2 span { color: var(--brand-2); }
.info-box.about-contact-box .about-btn {
    position: absolute;
    inset-inline-end: 26px;
    bottom: 26px;
}

.info-box.about-contact-box .star-icon { display: none; }
.info-box.about-profile-box,
.info-box.about-blog-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* smaller, balanced brand logos (Medium / UX Collective) */
.info-box.about-blog-box > img:not(.bg-img) {
    max-height: 52px !important;
    width: auto !important;
    max-width: 60% !important;
    margin: auto !important;
    transform: none !important;
    scale: 1 !important;
}
/* Profiles card: let the icon panel fill & center within the card */
.info-box.about-profile-box .inner-profile-icons {
    flex: 1;
    align-content: center;
    margin-bottom: 18px;
}

/* NDA / locked application card bits */
.app-ai-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    background: linear-gradient(135deg, rgba(255, 92, 138, .2), rgba(168, 110, 255, .16));
    border: 1px solid var(--border);
}
.app-ai-ico i { font-size: 24px; color: var(--brand-2); }
.theme-btn.nda-locked {
    opacity: .75;
    cursor: default;
    gap: 7px;
}
.theme-btn.nda-locked i { font-size: 14px; }
.theme-btn.nda-locked::after { display: none; }
.theme-btn.nda-locked:hover {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--border-strong);
    transform: none;
    box-shadow: none;
}

/* badge pills (Applications page inline) refined via attribute-free defaults */
.projects-area .infos span {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    backdrop-filter: blur(6px);
}

/* ============================================================
   # Section heading
============================================================ */
.section-heading {
    color: var(--text);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    line-height: 1.05;
}
.section-heading img { display: block; }

/* ============================================================
   # Header / Nav
============================================================ */
.header-area {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    transition: padding .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}
/* scrolled backdrop lives on a pseudo-element: backdrop-filter on the header
   itself would turn it into the containing block for the fixed mobile menu */
.header-area::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 10, 12, .72);
    backdrop-filter: blur(16px) saturate(150%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}
.header-area.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border);
}
.header-area.scrolled::before { opacity: 1; }
.header-area .logo { display: inline-block; z-index: 16; }
.header-area .logo img { display: block; height: 34px; transition: transform .4s var(--ease); }
.header-area .logo:hover img { transform: scale(1.05); }

.header-area .navbar { margin: 0; padding: 0; }
.header-area .navbar .theme-btn { display: none; }
.header-area .navbar .menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.header-area .navbar .menu li a {
    position: relative;
    font-size: 15px;
    color: var(--text-3);
    transition: color .3s var(--ease), background .3s var(--ease);
    display: block;
    padding: 8px 16px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 999px;
}
.header-area .navbar .menu li a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 1px;
    background: var(--brand-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.header-area .navbar .menu li.active a,
.header-area .navbar .menu li a:hover { color: var(--text); }
.header-area .navbar .menu > li > a:hover { background: rgba(255, 255, 255, .06); }
.header-area .navbar .menu li.active > a::after { transform: scaleX(1); }

.header-area .show-menu {
    display: none;
    cursor: pointer;
    width: 26px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 16;
}
.header-area .show-menu span {
    width: 100%;
    height: 2px;
    background: #fff;
    display: block;
    border-radius: 2px;
    transition: .4s var(--ease);
}
.header-area .show-menu.active span:first-child { transform: translateY(8px) rotate(45deg); }
.header-area .show-menu.active span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.header-area .show-menu.active span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* header right-side cluster: language toggle + CTA */
.header-area .header-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    z-index: 16;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
}
.lang-toggle .lang-opt {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--text-3);
    text-decoration: none;
    transition: color .3s var(--ease), background .3s var(--ease);
    cursor: pointer;
}
.lang-toggle a.lang-opt:hover { color: var(--text); }
.lang-toggle .lang-opt.active {
    background: var(--brand-2);
    color: #fff;
}

/* True-center the nav on desktop: absolutely position it in the header so
   the menu sits dead-center regardless of the logo / actions cluster widths
   (space-between alone pushes it off-centre). Scoped high enough that the
   centered menu can never collide with the logo / actions clusters. */
@media (min-width: 1050px) {
    .header-area .gx-row { position: relative; }
    .header-area .navbar {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }
}
/* Tablet range: static flex nav (space-between can't overlap) with a tighter
   fit; the CTA hides so the menu and language toggle have room to breathe. */
@media (min-width: 768px) and (max-width: 1049px) {
    .header-area .navbar { display: flex; align-items: center; }
    .header-area .navbar .menu { gap: 0; }
    .header-area .navbar .menu li a { padding: 8px 10px; font-size: 14px; }
    .header-area .header-actions .theme-btn { display: none; }
}

/* ============================================================
   # Hero (homepage)
============================================================ */
.hero-area {
    padding: 70px 0 30px;
    text-align: center;
    position: relative;
}
.hero-area .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero-area .hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ec16e;
    box-shadow: 0 0 0 0 rgba(46, 193, 110, .6);
    animation: pulse-dot 2s infinite;
}
.hero-area h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.16;
    color: var(--text);
    margin-bottom: 26px;
}
.hero-area h1 .grad {
    background: linear-gradient(120deg, var(--brand-3), var(--brand) 55%, #ff9ec4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-area p.lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-2);
    max-width: 620px;
    margin: 0 auto 38px;
    line-height: 1.7;
}
.hero-area .hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 46px;
}
.hero-area .hero-cta .theme-btn { padding: 13px 28px; }
.hero-area .hero-meta {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-3);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero-area .hero-meta b { color: var(--text); font-weight: 600; }

/* hero headline lines (kept simple & always visible) */
.reveal-line { display: inline; }
.reveal-line > span { display: inline; }

/* ============================================================
   # Capabilities (design systems / B2B-B2C / ecosystems)
============================================================ */
.capability-area { padding-top: 70px; }
.capability-area .cap-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    margin-bottom: 40px;
}
.capability-area .cap-block + .cap-block { margin-top: 24px; }
.capability-area .cap-block {
    padding: 36px;
}
.capability-area .cap-title {
    color: var(--text);
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 24px;
    text-align: center;
}
/* design-systems heading: centered as a block, but text left-aligned with a
   fixed width so the hover word-swap never shifts the lines */
.capability-area:not(.ecosystems-area) .cap-title {
    text-align: center;
    width: 14.5em;
    max-width: 100%;
    margin-inline: auto;
}
/* two fixed lines; the swapped word never changes the line count (= no height shift) */
.capability-area .cap-title .cap-line { display: block; }
.capability-area .cap-title .grad { white-space: nowrap; }
@media (min-width: 768px) {
    .capability-area .cap-title .cap-line { white-space: nowrap; }
}
.capability-area .cap-title .grad {
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* design-system logo strip (Supabase-style) */
.capability-area .ds-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px 40px;
    padding: 6px 0 2px;
}
.capability-area .ds-logos img {
    height: 30px;
    width: auto;
    opacity: .48;
    transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s var(--ease);
    will-change: transform;
}
.capability-area .ds-logos img:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(67, 130, 223, .35));
}

.capability-area .cap-note {
    text-align: center;
    margin: 26px auto 0;
    max-width: 680px;
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
}
.capability-area .cap-note b {
    color: var(--text);
    font-weight: 600;
}
.capability-area .cap-note .pill {
    display: inline-block;
    padding: 2px 12px;
    margin: 0 2px;
    border-radius: 100px;
    background: rgba(67, 130, 223, .12);
    border: 1px solid rgba(67, 130, 223, .3);
    color: var(--brand-2);
    font-weight: 600;
}


/* ecosystem / industry tiles */
.capability-area .industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.capability-area .industry-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    text-align: center;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.capability-area .industry-tile .ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(17, 46, 129, .18),
        rgba(67, 130, 223, .14)
    );
    border: 1px solid var(--border);
    animation: tile-float 5s var(--ease) infinite;
}

.capability-area .industry-tile:nth-child(2n) .ico { animation-delay: -1.2s; }
.capability-area .industry-tile:nth-child(3n) .ico { animation-delay: -2.4s; }
.capability-area .industry-tile:nth-child(4n) .ico { animation-delay: -3.6s; }
.capability-area .industry-tile .ico i {
    font-size: 28px;
    color: var(--brand-2);
    transition: transform .4s var(--ease), color .4s var(--ease);
}
.capability-area .industry-tile span {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
}
.capability-area .industry-tile:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 18px 40px -20px var(--brand-glow);
}
.capability-area .industry-tile:hover .ico i { transform: scale(1.18); color: var(--brand-3); }

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

/* ============================================================
   # NDA banner (case studies page)
============================================================ */
.nda-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 28px 0 4px;
    padding: 20px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(170, 204, 214, .18);
    background: linear-gradient(
        135deg,
        rgba(70, 71, 174, .18) 0%,
        rgba(67, 130, 223, .08) 100%
    );
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}


.nda-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        420px circle at 0% 0%,
        rgba(170, 204, 214, .14),
        transparent 60%
    );
    pointer-events: none;
}


.nda-banner .nda-ico {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 26px -10px var(--brand-glow);
}
.nda-banner p {
    margin: 0;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.65;
    position: relative;
}
.nda-banner p b { color: var(--text); font-weight: 600; }
.nda-banner p a { color: var(--brand-3); font-weight: 600; border-bottom: 1px solid rgba(255, 149, 186, .4); }
.nda-banner p a:hover { color: var(--brand-2); }

@media (max-width: 920px) {
    .capability-area .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 585px) {
    .capability-area .cap-block { padding: 26px 20px; }
    .nda-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================
   # About
============================================================ */
.about-area { padding-top: 60px; }
.about-area .about-me-box {
    padding: 46px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.about-area .about-me-box .img-box {
    width: 210px;
    height: 210px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    flex: none;
    border: 1px solid var(--border);
}
.about-area .about-me-box .img-box img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.about-area .about-me-box:hover .img-box img { transform: scale(1.05); }
.about-area .about-me-box .infos { padding-top: 18px; position: initial; }
.about-area .about-me-box .infos h4 {
    color: var(--text-3);
    font-size: 14px;
    letter-spacing: .02em;
    margin-bottom: 6px;
}
.about-area .about-me-box .infos h1 {
    font-size: 38px;
    line-height: 1.05;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.about-area .about-me-box .infos p { color: var(--text-2); margin: 0; }
.about-area .about-me-box .infos .about-btn {
    position: absolute;
    right: 26px;
    bottom: 26px;
}

.about-area .about-credentials-wrap .banner {
    padding: 16px 24px;
    margin-bottom: 24px;
}
.about-area .about-credentials-wrap > .gx-row > * { flex: 1; width: 50%; }

/* bento row: Medium / UX Collective / Profiles — equal columns + equal height */
.blog-service-profile-wrap { display: flex; gap: 24px; align-items: stretch; }
.blog-service-profile-wrap > div { display: flex; }
.blog-service-profile-wrap > div > .info-box { height: 100%; width: 100%; }
@media (min-width: 921px) {
    .blog-service-profile-wrap > div { flex: 1 1 0; min-width: 0; }
}

/* about page */
.about-area .about-image-box {
    width: 360px;
    flex: none;
    padding: 22px;
}
.about-area .about-image-box .image-inner {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.about-area .about-image-box img { display: block; border-radius: var(--radius-sm); width: 100%; }
.about-area .about-details { flex: 1; }
.about-area .about-details .about-details-inner {
    padding: 40px 46px;
    position: relative;
}
.about-area .about-details .about-details-inner > img { display: none; }
.about-area .about-details .about-details-inner h1 {
    color: var(--text);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: 16px;
    background: linear-gradient(120deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-area .about-details .about-details-inner p {
    color: var(--text-2);
    line-height: 1.75;
    margin: 0;
    font-size: 16px;
}

/* experience / education */
.about-area .about-edc-exp { padding: 36px; }
.about-area .about-edc-exp h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand-2);
    margin-bottom: 28px;
    font-weight: 600;
}
.about-area .about-edc-exp ul { position: relative; }
.about-area .about-edc-exp ul li {
    position: relative;
    padding-left: 26px;
}
.about-area .about-edc-exp ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(210, 20, 90, .15);
}
.about-area .about-edc-exp ul li::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: -32px;
    width: 1px;
    background: var(--border);
}
.about-area .about-edc-exp ul li:last-child::after { display: none; }
.about-area .about-edc-exp ul li + li { margin-top: 32px; }
.about-area .about-edc-exp ul li .date {
    color: var(--text-3);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: .02em;
}
.about-area .about-edc-exp ul li h2 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 5px;
    font-weight: 600;
}
.about-area .about-edc-exp ul li .type { color: var(--text-2); font-size: 14px; margin: 0; }

.main-aboutpage .about-area .about-contact-box { padding-top: 80px; }
.about-area .about-details-inner.shadow-box { overflow: visible; }

/* ============================================================
   # Marquee
============================================================ */
.marquee {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee > div {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    font-size: 13px;
    color: var(--text-2);
    animation: marquee 26s linear infinite;
}
.about-area .about-credentials-wrap .banner .marquee b { color: var(--text); font-weight: 600; }
.about-area .about-credentials-wrap .banner .marquee img { display: inline-block; margin: 0 10px; width: 14px; }

/* ============================================================
   # Projects
============================================================ */
.projects-area { padding-top: 40px; }
.projects-area .container > .section-heading { display: none; }
.projects-area .section-heading { margin-bottom: 20px; }
.projects-area .project-item {
    margin-bottom: 24px;
    padding: 16px 16px 24px;
    height: calc(100% - 24px) !important;
}
.projects-area .project-item .project-img {
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}
.projects-area .project-item .project-img img {
    display: block;
    border-radius: var(--radius-sm);
    width: 100%;
    transform: translateY(var(--py, 0)) scale(1.1);
    transition: transform .7s var(--ease);
    will-change: transform;
}
.projects-area .project-item:hover .project-img img { transform: translateY(var(--py, 0)) scale(1.16); }
.projects-area .project-item .project-info p {
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 4px;
    margin-top: 4px;
    font-weight: 500;
}
.projects-area .project-item .project-info h1 {
    font-size: 21px;
    color: var(--text);
    font-weight: 600;
    margin: 0;
    letter-spacing: -.01em;
}
.projects-area .project-item .project-info h6 { color: var(--text-2); font-weight: 500; margin-top: 8px; }

/* --- Applications / Resources uniform card grid (override Bootstrap cols) --- */
.projects-area .row.d-flex {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px !important;
    row-gap: 22px !important;
    margin: 0;
}
.projects-area .row.d-flex > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* card body */
.projects-area .row.d-flex .about-profile-box {
    display: flex;
    flex-direction: column;
    padding: 26px;
    height: 100%;
}
.projects-area .row.d-flex .about-profile-box .infos { width: 100%; }
.projects-area .row.d-flex .about-profile-box .infos > img,
.projects-area .row.d-flex .about-profile-box .infos img:not(.bg-img) {
    max-height: 42px;
    width: auto;
    margin: 14px 0 0 !important;
    display: block;
}
.projects-area .row.d-flex .about-profile-box h3 {
    line-height: 1.45;
    margin-top: 12px !important;
}
.projects-area .row.d-flex .about-profile-box .infos span {
    display: inline-block;
    padding: 5px 12px !important;
    border-radius: 100px !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}
.projects-area .row.d-flex .about-profile-box p { color: var(--text-2); line-height: 1.65; }
.projects-area .row.d-flex .about-profile-box .mt-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto !important;
    padding-top: 18px;
}
.projects-area .row.d-flex .about-profile-box .mt-3 .theme-btn {
    font-size: 13px;
    padding: 9px 18px;
    margin: 0 !important;
}
/* Resources cards: center the single icon nicely */
.main-workspage .projects-area .row.d-flex .inner-profile-icons { margin-bottom: 22px; }
@media (max-width: 920px) {
    .projects-area .row.d-flex { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 585px) {
    .projects-area .row.d-flex { grid-template-columns: 1fr !important; }
}

/* ============================================================
   # Project Details
============================================================ */
.project-details-wrap .project-details-img {
    height: 550px;
    position: relative;
    margin-bottom: 50px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.project-details-wrap .project-details-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-details-wrap .project-infos-wrap { position: relative; gap: 80px; padding: 40px; }
.project-details-wrap .project-infos-wrap > img {
    position: absolute; left: 50%; top: 24px; transform: translateX(-50%); width: 40px; opacity: .6;
}
.project-details-wrap .project-infos-wrap .bg-img { transform: none; }
.project-details-wrap .project-infos-wrap .project-details-info {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
}
.project-details-wrap .project-infos-wrap .project-details-info p {
    color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 18px;
}
.project-details-wrap .project-infos-wrap .project-details-info p:last-child { margin-bottom: 0; }
.project-details-wrap .project-infos-wrap .project-details-info h3 {
    color: var(--brand-2); font-size: 13px; text-transform: uppercase;
    font-weight: 600; letter-spacing: .1em; margin-bottom: 14px;
}
.project-details-wrap .project-details-2-img { height: 400px; border-radius: var(--radius); overflow: hidden; }
.project-details-wrap .project-details-3-img img,
.project-details-wrap .project-details-2-img img {
    display: block; object-fit: cover; width: 100%; height: 100%; border-radius: var(--radius);
}
.project-details-wrap .project-details-3-img { height: 480px; position: relative; border-radius: var(--radius); overflow: hidden; }
.project-details-wrap .project-about-2 { padding: 40px; gap: 70px; }
.project-details-wrap .project-about-2 .left-details {
    position: relative; flex: none; padding: 30px 44px; width: 290px;
    border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface);
}
.project-details-wrap .project-about-2 .left-details img { position: absolute; right: 36px; top: 22px; width: 34px; opacity: .6; }
.project-details-wrap .project-about-2 .left-details ul li + li { margin-top: 26px; }
.project-details-wrap .project-about-2 .left-details ul li p { color: var(--text-3); font-size: 14px; margin-bottom: 8px; }
.project-details-wrap .project-about-2 .left-details ul li h4 { color: var(--text); font-size: 18px; margin: 0; font-weight: 600; }
.project-details-wrap .project-about-2 .right-details h3 {
    font-size: 13px; color: var(--brand-2); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 16px;
}
.project-details-wrap .project-about-2 .right-details p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 22px; }
.project-details-wrap .project-about-2 .right-details p:last-child { margin-bottom: 0; }
.project-details-wrap .big-btn {
    margin-top: 90px; color: var(--text); font-size: clamp(28px, 4vw, 44px); display: block;
    line-height: 1.2; padding: 38px 50px; transition: .4s var(--ease); font-weight: 600; letter-spacing: -.02em;
}
.project-details-wrap .big-btn:hover { transform: translateY(-4px); border-color: var(--border-strong); }

/* ============================================================
   # Credentials
============================================================ */
.credential-area { padding-top: 60px; }
.credential-area .gx-row { gap: 70px; }
.credential-area .credential-sidebar { width: 350px; flex: none; position: sticky; top: 100px; }
.credential-area .credential-sidebar .shadow-box { padding: 26px 26px 34px; }
.credential-area .credential-sidebar .img-box {
    border-radius: var(--radius-sm); margin-bottom: 30px; overflow: hidden; border: 1px solid var(--border);
}
.credential-area .credential-sidebar .img-box img { display: block; margin: auto; width: 100%; }
.credential-area .credential-sidebar h2 { color: var(--text); font-weight: 700; font-size: 25px; letter-spacing: -.02em; }
.credential-area .credential-sidebar p { color: var(--text-3); font-size: 15px; margin: 6px 0 28px; }
.credential-area .credential-sidebar .social-links { gap: 10px; margin-bottom: 30px; }
.credential-area .credential-sidebar .social-links li a {
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 19px; border: 1px solid var(--border); background: var(--surface-2);
    transition: .35s var(--ease);
}
.credential-area .credential-sidebar .social-links li a:hover {
    background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-color: transparent; transform: translateY(-3px);
}
.credential-area .credential-sidebar .theme-btn { width: 100%; justify-content: center; }
.credential-area .credential-content .credential-about { padding-bottom: 80px; }
.credential-area .credential-edc-exp h2,
.credential-area .credential-content .credential-about h2 {
    color: var(--text); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em;
}
.credential-area .credential-content .credential-about h2 { margin-bottom: 28px; }
.credential-area .credential-content .credential-about p { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 24px; }
.credential-area .credential-content .credential-about p:last-child { margin-bottom: 0; }
.credential-area .credential-experience,
.credential-area .credential-education { margin-bottom: 70px; }
.credential-area .credential-edc-exp h2 { margin-bottom: 30px; }
.credential-area .credential-edc-exp .credential-edc-exp-item {
    position: relative;
    padding: 26px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.credential-area .credential-edc-exp .credential-edc-exp-item:hover { border-color: var(--border-strong); transform: translateX(4px); }
.credential-area .credential-edc-exp .credential-edc-exp-item + .credential-edc-exp-item { margin-top: 18px; }
.credential-area .credential-edc-exp .credential-edc-exp-item h4 { color: var(--text-3); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.credential-area .credential-edc-exp .credential-edc-exp-item h3 { font-size: 19px; color: var(--text); font-weight: 600; }
.credential-area .credential-edc-exp .credential-edc-exp-item h5 { font-size: 14px; color: var(--brand-2); font-weight: 500; margin-bottom: 12px; }
.credential-area .credential-edc-exp .credential-edc-exp-item p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.7; }

/* ============================================================
   # Service
============================================================ */
.service-area { padding-top: 70px; }
.service-area .container > .section-heading { display: none; }
.service-area .service-sidebar { height: 100%; }
.service-area .service-sidebar .service-sidebar-inner { height: 100%; padding: 60px 24px 60px 50px; }
.service-area .service-sidebar .service-sidebar-inner ul {
    display: flex; flex-direction: column; height: 100%; justify-content: space-between; gap: 40px;
}
.service-area .service-sidebar .service-sidebar-inner ul li {
    font-size: 16px; color: var(--text); display: flex; align-items: center; gap: 30px;
}
.service-area .service-sidebar .service-sidebar-inner ul li i { color: var(--brand-2); font-size: 28px; display: block; }
.service-area .service-content-wrap .service-content-inner { padding: 28px 30px; }
.service-area .service-content-wrap .service-content-inner .service-items {
    display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between;
}
.service-area .service-content-wrap .service-content-inner .service-item {
    width: calc(50% - 9px); padding: 26px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface);
}
.service-area .service-content-wrap .service-content-inner .service-item h3 {
    color: var(--brand-2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.service-area .service-content-wrap .service-content-inner .service-item p { color: var(--text-2); line-height: 1.6; font-size: 14px; margin: 0; }
.service-area .profile-contact-credentials-wrap .about-contact-box { height: 100%; padding-top: 80px; }

/* ============================================================
   # Blog
============================================================ */
.blog-area { padding-top: 80px; }
.blog-sidebar .blog-sidebar-inner .blog-sidebar-widget { margin-bottom: 36px; }
.blog-sidebar .blog-sidebar-inner .blog-sidebar-widget .blog-sidebar-widget-inner { padding: 36px 28px; }
.blog-sidebar .blog-sidebar-inner .search-widget .blog-sidebar-widget-inner { padding: 0; }
.blog-sidebar .blog-sidebar-inner .search-widget form { position: relative; border-radius: var(--radius-sm); }
.blog-sidebar .blog-sidebar-inner .search-widget form input {
    width: 100%; border: 1px solid var(--border); background: var(--surface); padding: 16px 20px;
    border-radius: var(--radius-sm); color: var(--text);
}
.blog-sidebar .blog-sidebar-inner .search-widget form input:focus { outline: none; border-color: var(--brand); }
.blog-sidebar .blog-sidebar-inner .search-widget form .theme-btn { border-radius: 10px; position: absolute; right: 6px; top: 6px; }
.blog-sidebar .blog-sidebar-inner .categories-widget ul li,
.blog-sidebar .blog-sidebar-inner .recent-post-widget ul li { display: block; margin-bottom: 20px; }
.blog-sidebar .blog-sidebar-inner .categories-widget ul li:last-child,
.blog-sidebar .blog-sidebar-inner .recent-post-widget ul li:last-child { margin-bottom: 0; }
.blog-sidebar .blog-sidebar-inner .categories-widget ul li a,
.blog-sidebar .blog-sidebar-inner .recent-post-widget ul li a { display: block; line-height: 1.5; font-size: 16px; color: var(--text-2); transition: color .3s; }
.blog-sidebar .blog-sidebar-inner .categories-widget ul li a:hover,
.blog-sidebar .blog-sidebar-inner .recent-post-widget ul li a:hover { color: var(--text); }
.blog-sidebar .blog-sidebar-inner .blog-sidebar-widget h3 { color: var(--brand-2); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 26px; font-weight: 600; }
.blog-details-area .blog-details-content .tags,
.blog-sidebar .blog-sidebar-inner .tags-widget ul { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-details-area .blog-details-content .tags a,
.blog-sidebar .blog-sidebar-inner .tags-widget ul li a { padding: 9px 18px; font-size: 14px; }
.blog-area .blog-items { padding-right: 60px; }
.blog-area .blog-items .blog-item + .blog-item { margin-top: 60px; }
.blog-area .blog-items .blog-item .img-box { height: 400px; position: relative; margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.blog-area .blog-items .blog-item .img-box img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-area .blog-items .blog-item:hover .img-box img { transform: scale(1.05); }
.blog-details-area .blog-details-content .meta,
.blog-area .blog-items .blog-item .content .meta { display: block; color: var(--brand-2); font-size: 14px; font-weight: 500; margin-bottom: 12px; letter-spacing: .03em; }
.blog-details-area .blog-details-content h1,
.blog-area .blog-items .blog-item .content h1 { font-size: 26px; line-height: 1.2; margin-bottom: 20px; font-weight: 700; letter-spacing: -.02em; }
.blog-area .blog-items .blog-item .content h1 a { color: var(--text); transition: color .3s; }
.blog-area .blog-items .blog-item .content h1 a:hover { color: var(--brand-2); }
.blog-details-area .blog-details-content p,
.blog-area .blog-items .blog-item .content p { font-size: 16px; line-height: 1.75; color: var(--text-2); margin-bottom: 24px; }

/* Translations listing — 3-up card grid (scoped: leaves the blog listing untouched) */
.blog-area .blog-items.tr-grid { padding-right: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 30px; }
.blog-area .blog-items.tr-grid .blog-item { display: flex; flex-direction: column; }
.blog-area .blog-items.tr-grid .blog-item + .blog-item { margin-top: 0; }
.blog-area .blog-items.tr-grid .blog-item .img-box { height: 200px; margin-bottom: 22px; }
.blog-area .blog-items.tr-grid .blog-item .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-area .blog-items.tr-grid .blog-item .content .meta { font-size: 12px; line-height: 1.7; margin-bottom: 10px; }
.blog-area .blog-items.tr-grid .blog-item .content h1 { font-size: 19px; line-height: 1.45; margin-bottom: 14px; }
.blog-area .blog-items.tr-grid .blog-item .content p { font-size: 14.5px; line-height: 1.85; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.blog-area .blog-items.tr-grid .blog-item .content .theme-btn { margin-top: auto; align-self: flex-start; }
.tr-below { margin-top: 76px; }
@media (max-width: 991px) { .blog-area .blog-items.tr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-area .blog-items.tr-grid { grid-template-columns: 1fr; gap: 44px; } .blog-area .blog-items.tr-grid .blog-item .img-box { height: 220px; } }

.blog-details-area { padding-top: 80px; }
.blog-details-area .blog-details-content { padding-right: 60px; }
.blog-details-area .blog-details-content .img-box { margin-bottom: 50px; border-radius: var(--radius); overflow: hidden; }
.blog-details-area .blog-details-content .img-box img { display: block; width: 100%; }
.blog-details-area .blog-details-content h1 { color: var(--text); }
.blog-details-area .blog-details-content .list { margin-bottom: 24px; }
.blog-details-area .blog-details-content .list li { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 20px; }

/* ============================================================
   # Contact
============================================================ */
.contact-area { padding-top: 60px; }
.contact-area .contact-form { position: relative; max-width: 765px; width: 100%; }
.contact-area .contact-form .shadow-box { padding: 40px; }
.contact-area .contact-form > .shadow-box > img { position: absolute; top: 24px; right: 40px; width: 40px; opacity: .6; }
.contact-area .contact-form h1 { font-size: clamp(30px, 4vw, 44px); color: var(--text); margin-bottom: 30px; font-weight: 700; letter-spacing: -.02em; }
.contact-area .contact-form h1 span { color: var(--brand-2); }
.contact-area .contact-form form .input-group + .input-group { margin-top: 14px; }
.contact-area .contact-form form .input-group textarea,
.contact-area .contact-form form .input-group input {
    width: 100%; border: 1px solid var(--border); background: var(--surface);
    border-radius: 12px; padding: 16px 18px; font-size: 14px; display: block; color: var(--text);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-area .contact-form form .input-group textarea { height: 145px; resize: none; }
.contact-area .contact-form form .input-group textarea:focus,
.contact-area .contact-form form .input-group input:focus { outline: none; border-color: var(--brand); background: var(--surface-2); }
.contact-area .contact-form form .input-group button { width: 100%; border: none; border-radius: 12px; font-size: 15px; padding: 15px 30px; }
.contact-area .contact-infos { width: 300px; flex: none; }
.contact-area .contact-infos h3 { color: var(--brand-2); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 30px; font-weight: 600; }
.contact-area .contact-infos .contact-details { margin-bottom: 50px; }
.contact-area .contact-infos .contact-details li { gap: 22px; }
.contact-area .contact-infos .contact-details li + li { margin-top: 40px; }
.contact-area .contact-infos .contact-details li .icon-box {
    width: 60px; height: 60px; border-radius: 14px; flex: none; display: flex; align-items: center;
    justify-content: center; font-size: 26px; color: var(--text);
}
.contact-area .contact-infos .contact-details li .right span { display: block; color: var(--text-3); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.contact-area .contact-infos .contact-details li .right h4 { color: var(--text); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.contact-area .contact-infos .contact-details li .right h4:last-child { margin-bottom: 0; }
.contact-area .social-links { gap: 14px; }
.contact-area .social-links li a {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    color: var(--text); border-radius: 50%; font-size: 26px; transition: .35s var(--ease);
    border: 1px solid var(--border); background: var(--surface-2);
}
.contact-area .social-links li a:hover { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; border-color: transparent; transform: translateY(-3px); }

/* ============================================================
   # Footer
============================================================ */
.footer-area { padding-top: 110px; padding-bottom: 70px; position: relative; }
.footer-area::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: min(1100px, 90%); height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.main-workspage .footer-area { padding-top: 90px; }
.footer-area .footer-content .logo { display: inline-block; }
.footer-area .footer-content .logo img { display: block; height: 32px; margin: 0 auto; }
.footer-area .footer-content .footer-menu {
    margin: 30px 0 34px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.footer-area .footer-content .footer-menu li a {
    color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; transition: color .3s;
}
.footer-area .footer-content .footer-menu li a:hover { color: var(--text); }
.footer-area .footer-content .copyright { margin: 0; color: var(--text-3); font-size: 14px; font-weight: 500; }
.footer-area .footer-content .copyright span { color: var(--brand-2); }

/* ============================================================
   # Preloader
============================================================ */
html.is-loading { overflow: hidden; }
/* shown only on the first page of a visit (see inline script in <head>) */
html.no-preloader .preloader { display: none !important; }
.preloader {
    position: fixed;
    inset: 0;
    z-index: 111111;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: inset(0 0 0 0);
    transition: clip-path .85s cubic-bezier(.76, 0, .24, 1), visibility .9s;
    will-change: clip-path;
}
.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(46% 38% at 50% 48%, rgba(255, 92, 138, .14), transparent 70%),
        radial-gradient(30% 26% at 82% 88%, rgba(168, 110, 255, .1), transparent 70%);
    pointer-events: none;
    transition: opacity .4s var(--ease);
}
.preloader .black_wall,
.preloader .loader { display: none; }
.preloader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.preloader .pre-greeting {
    height: 1.25em;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.15;
    color: var(--text);
    overflow: hidden;
}
.preloader .pre-word {
    display: block;
    background: linear-gradient(120deg, #fff 30%, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.preloader .pre-word.is-out {
    transition: transform .26s cubic-bezier(.55, 0, .55, .2), opacity .26s;
    transform: translateY(-105%);
    opacity: 0;
}
.preloader .pre-word.is-in {
    transition: transform .3s var(--ease-2), opacity .3s var(--ease-2);
    transform: translateY(0);
    opacity: 1;
}
.preloader .pre-tag {
    margin: 0;
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.preloader .pre-count {
    position: absolute;
    right: clamp(20px, 5vw, 60px);
    bottom: clamp(14px, 4vh, 44px);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(64px, 11vw, 140px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
    opacity: .14;
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
}
.preloader .pre-pct { font-size: .4em; font-weight: 600; }
.preloader .pre-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--surface-2);
    overflow: hidden;
}
.preloader .pre-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
    box-shadow: 0 0 14px var(--brand-glow);
    transition: width .18s var(--ease);
}
/* exit: curtain sweeps up, revealing the page */
.preloader.off {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
}
.preloader.off::before { opacity: 0; }
.preloader.off .preloader-inner,
.preloader.off .pre-count {
    transition: transform .6s cubic-bezier(.76, 0, .24, 1), opacity .45s;
    transform: translateY(-40px);
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .preloader { transition: opacity .2s, visibility .2s; clip-path: none; }
    .preloader.off { opacity: 0; clip-path: none; }
}

/* ============================================================
   # Cursor aura (desktop, pointer)
============================================================ */
.cursor-aura {
    position: fixed;
    top: 0; left: 0;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-glow), transparent 65%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(30px);
    transition: opacity .5s var(--ease);
    will-change: left, top;
}
body.cursor-active .cursor-aura { opacity: .35; }

/* ============================================================
   # Scroll reveal (JS-driven, supplements AOS)
============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px) scale(.985);
    transition: opacity .85s var(--ease-2), transform .85s var(--ease-2);
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ============================================================
   # Animations
============================================================ */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(46, 193, 110, .55); }
    70% { box-shadow: 0 0 0 9px rgba(46, 193, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 193, 110, 0); }
}
@keyframes orb-float {
    from { transform: translate(0, 0); }
    to { transform: translate(60px, 50px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .marquee > div { animation: none; }
}

/* ============================================================
   # Responsive
============================================================ */
@media (max-width: 1090px) {
    .about-area .about-me-box { padding: 36px 28px; }
    .about-area .about-me-box .img-box { width: 180px; height: 180px; }
    .about-area .about-me-box .infos { padding-top: 8px; }
    .about-area .about-me-box .infos h1 { font-size: 30px; }
    .info-box { padding: 22px; }
    .service-area .service-sidebar .service-sidebar-inner { padding: 44px 24px; height: auto; }
    .service-area .service-content-wrap .service-content-inner .service-item { width: 100%; }
}

@media (max-width: 920px) {
    .about-area .container .row:first-child .col-md-6 { flex: 0 0 auto; width: 100%; }
    .about-area .about-me-box { margin-bottom: 24px; }
    .about-area .about-me-box .img-box { width: 210px; height: 210px; }
    .about-area .container > .row:nth-child(2) .blog-service-profile-wrap { flex-wrap: wrap; justify-content: space-between; }
    .about-area .container > .row:nth-child(2) .blog-service-profile-wrap > div { width: calc(50% - 12px); }
    .about-area .container > .row:nth-child(2) .blog-service-profile-wrap > div:nth-child(2) { order: 3; }
    .about-area .container > .row:nth-child(3) .col-md-6 { width: 100%; }
    .info-box.about-client-box { margin-bottom: 24px; }
    .profile-contact-credentials-wrap { display: grid !important; grid-template-columns: 1fr 1fr; }
    .project-details-wrap .project-about-2,
    .project-details-wrap .project-infos-wrap { gap: 24px; }
}

@media (max-width: 810px) {
    .credential-area .credential-sidebar { width: 300px; position: static; }
    .credential-area .container .gx-row { gap: 40px; }
    .about-area .about-me-wrap { flex-direction: column; gap: 32px; align-items: stretch !important; }
    .about-area .about-image-box { width: 100%; max-width: 420px; }
    .project-details-wrap .project-infos-wrap { flex-direction: column; padding: 40px 24px 24px; }
}

@media (max-width: 767px) {
    .header-area { padding: 16px 0; }
    .header-area.scrolled { padding: 12px 0; }
    .header-area .navbar {
        position: fixed; inset: 0; width: 100%;
        background: rgba(8, 8, 10, .96);
        backdrop-filter: blur(20px);
        z-index: 15;
        display: flex; flex-direction: column; justify-content: center;
        padding: 100px 24px 40px;
        opacity: 0; visibility: hidden;
        transform: translateY(-16px);
        transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    }
    .header-area .navbar.active { opacity: 1; visibility: visible; transform: none; }
    .header-area .navbar .menu { flex-direction: column; align-items: center; width: 100%; gap: 14px; }
    .header-area .navbar .menu li a { font-size: 22px; padding: 6px 0; }
    .header-area .navbar .menu li a::after { display: none; }
    .header-area .navbar .theme-btn { display: inline-flex; margin-top: 36px; }
    .header-area .header-actions .theme-btn { display: none; }
    .header-area .header-actions { margin-inline-start: auto; margin-inline-end: 14px; }
    .header-area .show-menu { display: flex; }

    .hero-area { padding: 50px 0 20px; }
    .contact-area .gx-row,
    .credential-area .container .gx-row { flex-direction: column; }
    .contact-area .contact-form { margin-top: 40px; }
    .project-details-wrap .project-about-2 .left-details,
    .contact-area .contact-form,
    .credential-area .credential-sidebar { width: 100%; }
    .about-area .about-experience { margin-bottom: 24px; }
    .projects-area .container > .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .projects-area .container > .row > [class*="col-"] { width: 100%; max-width: 100%; flex: none; }
    .project-details-wrap .project-about-2,
    .projects-area .container > .row .col-md-8 > .d-flex { flex-direction: column; }
    .project-details-wrap .project-details-img { height: 320px; }
    .blog-details-area, .blog-area { padding-top: 40px; }
    .blog-details-area .blog-details-content, .blog-area .blog-items { padding-right: 0; }
    .blog-sidebar { margin-top: 50px; }
}

@media (max-width: 585px) {
    .about-area .about-me-box { flex-direction: column; }
    .about-area .about-me-box .img-box { margin: auto; }
    .about-area .container > .row:nth-child(2) .blog-service-profile-wrap { grid-template-columns: 1fr; }
    .about-area .about-credentials-wrap > .gx-row { flex-wrap: wrap; }
    .about-area .about-credentials-wrap > .gx-row > * { width: 100%; flex: none; }
    .info-box.about-client-box .clients { flex-wrap: wrap; justify-content: center !important; }
    .info-box.about-client-box .clients .client-item { width: calc(50% - 12px); flex: none; }
    .projects-area .container > .row,
    .profile-contact-credentials-wrap { grid-template-columns: 1fr; }
    .about-area .container > .row:nth-child(2) .blog-service-profile-wrap > div,
    .projects-area .project-item .project-img img { width: 100%; }
    .contact-area .social-links li a { width: 52px; height: 52px; font-size: 22px; }
    .contact-area .contact-infos .contact-details li .icon-box { width: 54px; height: 54px; font-size: 24px; }
    .contact-area .contact-infos .contact-details li + li { margin-top: 32px; }
    .hero-area .hero-meta { gap: 22px; }
}

@media (max-width: 425px) {
    .about-area .about-me-box .infos h1 { font-size: 28px; }
    .credential-area .skills-wrap .skill-items,
    .info-box.about-client-box .clients { grid-template-columns: 1fr; }
    .info-box.about-client-box .clients .client-item { width: 100%; }
    .footer-area .footer-content .footer-menu { gap: 18px; }
    .hero-area .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-area .hero-cta .theme-btn { justify-content: center; }
}

/* ============================================================
   # Nav dropdown + footer work-group (build-structure additions)
============================================================ */
.header-area .navbar .menu li.menu-item-has-children { position: relative; }
.header-area .navbar .menu li.menu-item-has-children > a { display: flex; align-items: center; gap: 6px; }
.header-area .navbar .menu li.menu-item-has-children > a i { font-size: 13px; transition: transform .35s var(--ease); }
.header-area .navbar .menu li.menu-item-has-children:hover > a i { transform: rotate(180deg); }
/* invisible hover bridge so the menu doesn't close in the gap */
.header-area .navbar .menu li.menu-item-has-children::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    height: 16px;
}
.header-area .navbar .menu li .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 214px;
    padding: 8px;
    background: rgba(16, 14, 21, .92);
    backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 999;
}
.header-area .navbar .menu li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.header-area .navbar .menu li .sub-menu li a {
    display: block;
    padding: 11px 16px;
    border-radius: 10px;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.header-area .navbar .menu li .sub-menu li a::after { display: none; }
.header-area .navbar .menu li .sub-menu li a:hover,
.header-area .navbar .menu li .sub-menu li.active a { color: var(--text); background: var(--surface-2); }
.header-area .navbar .menu li .sub-menu li a { border-radius: 999px; white-space: nowrap; }

.footer-area .footer-content .footer-menu li.footer-menu-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-area .footer-content .footer-menu li.footer-menu-group span {
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

@media (max-width: 767px) {
    .header-area .navbar .menu li .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        padding: 6px 0 0;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
    }
    .header-area .navbar .menu li.menu-item-has-children::after { display: none; }
    .header-area .navbar .menu li.menu-item-has-children > a { justify-content: center; }
    .header-area .navbar .menu li.menu-item-has-children > a i { display: none; }
    .header-area .navbar .menu li .sub-menu li a { text-align: center; color: var(--text-3); font-size: 18px; }
}

/* ============================================================
   # Fixes + extra motion
============================================================ */
/* Resources cards: single icon shouldn't sit in a bordered panel (removes stray divider line) */
.projects-area .row.d-flex .inner-profile-icons {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 4px 0 12px !important;
}
.projects-area .row.d-flex .inner-profile-icons::before,
.projects-area .row.d-flex .inner-profile-icons::after { content: none !important; }

/* Animated gradient shimmer on highlighted words */
.hero-area h1 .grad,
.capability-area .cap-title .grad {
    background-size: 220% auto;
    animation: text-shimmer 6.5s var(--ease) infinite;
}
@keyframes text-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

/* Card border sheen pans on hover */
.shadow-box::after { background-size: 200% 200%; }
.shadow-box:hover::after { animation: border-pan 3.2s linear infinite; }
@keyframes border-pan {
    0% { background-position: 0% 0%; }
    100% { background-position: -200% -200%; }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    z-index: 200;
    background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
    box-shadow: 0 0 12px var(--brand-glow);
    transition: width .08s linear;
}

/* Back-to-top button */
.to-top {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 120;
    opacity: 0;
    transform: translateY(16px) scale(.85);
    pointer-events: none;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
    box-shadow: 0 12px 30px -10px var(--brand-glow);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.06); }
.to-top i { font-size: 22px; }

@media (prefers-reduced-motion: reduce) {
    .hero-area h1 .grad,
    .capability-area .cap-title .grad,
    .shadow-box:hover::after { animation: none; }
}

/* ============================================================
   # Accessibility
============================================================ */
/* Visible keyboard focus (mouse users unaffected) */
:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 3px;
    border-radius: 6px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Skip-to-content link */
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 100000;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px -10px var(--brand-glow);
    transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* Hamburger as a real button */
.header-area button.show-menu {
    background: none;
    border: none;
    padding: 0;
}

/* ============================================================
   # Project logo marquee
============================================================ */
.logos-area { padding-top: 64px; }
.logos-area .logos-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    margin-bottom: 34px;
}
.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee .logo-track {
    display: flex;
    width: max-content;
    animation: logo-scroll 48s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-marquee .logo-item {
    flex: none;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 38px;
}
.logo-marquee .logo-item img {
    height: 28px;
    width: auto;
    max-width: 124px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .42;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.logo-marquee .logo-item span {
    color: var(--text-3);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: -.01em;
    transition: color .35s var(--ease);
}
.logo-marquee .logo-item:hover img { opacity: .95; transform: translateY(-2px); }
.logo-marquee .logo-item:hover span { color: var(--text); }
@keyframes logo-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-marquee .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 14px 0; }
}

/* ============================================================
   # Recommendations
============================================================ */
.recommend-area { padding-top: 86px; }
.recommend-area .rec-head { text-align: center; margin-bottom: 44px; }
.recommend-area .rec-eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 14px;
}
.recommend-area .rec-head h2 {
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -.025em;
}
.recommend-area .rec-head h2 .grad {
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.recommend-area .rec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.recommend-area .rec-card {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.recommend-area .rec-card .rec-quote {
    font-size: 40px;
    line-height: .6;
    color: var(--brand-2);
    font-family: Georgia, "Times New Roman", serif;
    height: 22px;
    opacity: .8;
}
.recommend-area .rec-card .rec-text {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}
.recommend-area .rec-card .rec-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
    border-top: 1px solid var(--border);
}
.recommend-area .rec-card .rec-author { padding-top: 18px; }
.recommend-area .rec-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    overflow: hidden;
}
.recommend-area .rec-avatar img { width: 100%; height: 100%; object-fit: cover; }
.recommend-area .rec-meta h4 { color: var(--text); font-size: 15px; font-weight: 600; margin: 0; }
.recommend-area .rec-meta p { color: var(--text-3); font-size: 13px; margin: 2px 0 0; line-height: 1.4; }
.recommend-area .rec-cta { text-align: center; margin-top: 36px; }
@media (max-width: 920px) { .recommend-area .rec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 585px) { .recommend-area .rec-grid { grid-template-columns: 1fr; } }

/* ============================================================
   # Marquee locked item + Recommendations carousel
============================================================ */
.logo-marquee .logo-locked { gap: 9px; }
.logo-marquee .logo-locked i { font-size: 18px; color: #fff; opacity: .5; transition: opacity .35s var(--ease); }
.logo-marquee .logo-locked span {
    color: var(--text-3);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    transition: color .35s var(--ease);
}
.logo-marquee .logo-locked:hover i { opacity: .95; }
.logo-marquee .logo-locked:hover span { color: var(--text); }

/* Carousel */
.recommend-area .rec-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 860px;
    margin: 0 auto;
}
.recommend-area .rec-viewport {
    position: relative;
    flex: 1;
    min-width: 0;
}
.recommend-area .rec-viewport .rec-card { display: none; }
.recommend-area .rec-viewport .rec-card.is-active {
    display: flex;
    animation: rec-fade .5s var(--ease);
}
@keyframes rec-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.recommend-area .rec-card { padding: 38px 36px; gap: 22px; min-height: 240px; }
.recommend-area .rec-card .rec-quote { font-size: 50px; height: 26px; }
.recommend-area .rec-card .rec-text { font-size: 17px; line-height: 1.75; }
.recommend-area .rec-avatar { width: 56px; height: 56px; font-size: 18px; }
.recommend-area .rec-meta h4 { font-size: 16px; }
.recommend-area .rec-meta p { font-size: 13px; }

.recommend-area .rec-nav {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.recommend-area .rec-nav:hover {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    transform: scale(1.08);
}
.recommend-area .rec-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}
.recommend-area .rec-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--border-strong);
    transition: background .3s var(--ease), width .3s var(--ease);
}
.recommend-area .rec-dot.is-active {
    width: 26px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand));
}
@media (max-width: 585px) {
    .recommend-area .rec-nav { width: 42px; height: 42px; font-size: 19px; }
    .recommend-area .rec-carousel { gap: 8px; }
    .recommend-area .rec-card { padding: 30px 24px; }
}

/* Full-colour logo badges in the marquee (for solid-background company logos) */
.logo-marquee .logo-item img.logo-badge {
    filter: none;
    opacity: .82;
    height: 34px;
    width: 34px;
    max-width: 34px;
    border-radius: 9px;
    object-fit: cover;
}
.logo-marquee .logo-item:hover img.logo-badge { opacity: 1; transform: translateY(-2px); }

/* ============================================================
   # V22 — Redesign layer: typography, cursor, split-text,
   #       tilt, particles, footer, grain, transitions
============================================================ */

/* ---- Typography: display + editorial serif accents ---- */
h1, h2, h3,
.section-heading,
.footer-big-text {
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
.hero-area h1 { line-height: 1.08; }
.hero-area h1 .grad,
.capability-area .cap-title .grad,
.recommend-area .rec-head h2 .grad,
.footer-big-text em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    font-size: 1.02em;
    padding-right: .06em;
}

/* ---- Custom cursor ---- */
@media (hover: hover) and (pointer: fine) {
    body.cc-on,
    body.cc-on a,
    body.cc-on button,
    body.cc-on .overlay-link,
    body.cc-on input,
    body.cc-on textarea,
    body.cc-on label { cursor: none; }
}
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 100001;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor-dot {
    width: 7px; height: 7px;
    background: #fff;
    mix-blend-mode: difference;
}
.cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid rgba(255, 255, 255, .38);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width .3s var(--ease), height .3s var(--ease),
                background .3s var(--ease), border-color .3s var(--ease),
                opacity .3s var(--ease);
}
.cursor-ring .cursor-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    user-select: none;
}
.cursor-ring.is-link {
    width: 56px; height: 56px;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(2px);
}
.cursor-ring.has-label {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    box-shadow: 0 10px 30px -10px var(--brand-glow);
}
.cursor-ring.has-label .cursor-label { opacity: 1; transform: scale(1); }
.cursor-dot.is-down { transform: translate(-50%, -50%) scale(2.2); }
.cursor-dot, .cursor-ring { opacity: 0; }
body.cc-active .cursor-dot,
body.cc-active .cursor-ring { opacity: 1; }
.cursor-ring.has-label ~ .cursor-dot,
body.cc-active .cursor-ring.has-label + .cursor-dot { opacity: 0; }

/* ---- Split-text word reveal ---- */
.st-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-bottom: -.18em;
    padding-bottom: .18em;
}
.st-wi {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .9s var(--ease-2), opacity .6s var(--ease-2);
    transition-delay: calc(var(--i, 0) * 60ms);
    will-change: transform;
}
.st-ready.st-in .st-wi { transform: translateY(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
    .st-wi { transform: none !important; opacity: 1 !important; transition: none; }
}

/* ---- Rotating hero word ---- */
.rotate-words {
    display: inline-block;
    white-space: nowrap;
    will-change: opacity, transform, filter;
}

/* ---- Button label roll ---- */
.theme-btn .btn-roll {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1.45;
}
.theme-btn .btn-roll > span {
    display: block;
    transition: transform .45s var(--ease-2);
    will-change: transform;
}
.theme-btn .btn-roll .btn-roll-b {
    position: absolute;
    inset: 0;
    transform: translateY(115%);
}
.theme-btn:hover .btn-roll .btn-roll-a { transform: translateY(-115%); }
.theme-btn:hover .btn-roll .btn-roll-b { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .theme-btn:hover .btn-roll .btn-roll-a { transform: none; }
    .theme-btn .btn-roll .btn-roll-b { display: none; }
}

/* ---- Tilt (JS sets the transform; this is just hinting) ---- */
.tilt-on { will-change: transform; }

/* ---- Hero particle canvas ---- */
.hero-area { overflow: visible; }
.hero-canvas {
    position: absolute;
    inset: -40px 0 0;
    width: 100%;
    height: calc(100% + 40px);
    z-index: 0;
    pointer-events: none;
}
.hero-area .container { position: relative; z-index: 1; }

/* ---- Film grain ---- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: .032;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ---- Page-transition veil ---- */
.page-veil {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .32s var(--ease), visibility .32s;
}
.page-veil.on {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* ---- Footer v2 ---- */
.footer-area { padding-top: 90px; text-align: left; }
.footer-cta {
    text-align: center;
    padding-bottom: 72px;
}
.footer-eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 22px;
}
.footer-big-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    max-width: 900px;
}
.footer-big-text {
    font-size: clamp(34px, 5.6vw, 68px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    color: var(--text);
    text-align: left;
    text-wrap: balance;
}
.footer-big-text em {
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-big-arrow {
    flex: none;
    width: clamp(58px, 7vw, 84px);
    height: clamp(58px, 7vw, 84px);
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 3vw, 34px);
    color: var(--text);
    transition: background .4s var(--ease), border-color .4s var(--ease),
                box-shadow .4s var(--ease), transform .4s var(--ease);
}
.footer-big-arrow i { transition: transform .4s var(--ease); }
.footer-big-link:hover .footer-big-arrow {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    box-shadow: 0 16px 44px -14px var(--brand-glow);
}
.footer-big-link:hover .footer-big-arrow i { transform: translate(3px, -3px); }

.footer-area .footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding: 54px 0 46px;
    border-top: 1px solid var(--border);
}
.footer-area .footer-col .logo img { height: 30px; display: block; margin: 0; }
.footer-area .footer-tagline {
    margin: 18px 0 0;
    color: var(--text-3);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
}
.footer-area .footer-col h5 {
    color: var(--text-3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 600;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
}
.footer-area .footer-grid .footer-menu {
    display: block;
    margin: 0;
}
.footer-area .footer-grid .footer-menu li { display: block; }
.footer-area .footer-grid .footer-menu li + li { margin-top: 12px; }
.footer-area .footer-grid .footer-menu li a {
    position: relative;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-area .footer-grid .footer-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1.5px;
    background: var(--brand-2);
    transition: width .3s var(--ease);
}
.footer-area .footer-grid .footer-menu li a:hover {
    color: var(--text);
    padding-left: 16px;
}
.footer-area .footer-grid .footer-menu li a:hover::before { width: 10px; }
.footer-area .footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-area .footer-social li a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-2);
    border: 1px solid var(--border);
    background: var(--surface);
    transition: .35s var(--ease);
}
.footer-area .footer-social li a:hover {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -10px var(--brand-glow);
}
.footer-area .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}
.footer-area .footer-bottom .copyright { font-size: 13px; }
@media (max-width: 920px) {
    .footer-area .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-area .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 585px) {
    .footer-big-link { flex-direction: column; align-items: center; gap: 22px; }
    .footer-big-text { text-align: center; }
    .footer-area .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-area .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* ---- Marquee scroll-skew wrapper ---- */
.logo-marquee, .banner .marquee { will-change: transform; }

/* ---- Reduced motion: kill the fancy stuff ---- */
@media (prefers-reduced-motion: reduce) {
    .cursor-dot, .cursor-ring, .grain, .hero-canvas { display: none !important; }
    .page-veil { transition: none; }
}

/* background-clip:text breaks with overflow-hidden word wrappers —
   move the gradient onto the words themselves */
.about-area .about-details .about-details-inner h1.st-ready {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text);
}
.about-area .about-details .about-details-inner h1.st-ready .st-wi {
    background: linear-gradient(120deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* keep the floating button out of the open mobile menu */
body.menu-open .to-top { opacity: 0; pointer-events: none; }

/* ============================================================
   # World map — global footprint
============================================================ */
.world-area { padding-top: 70px; }
.world-area .cap-block { padding: 44px 36px 38px; }
.world-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 14px;
}
.world-area .cap-title.world-title {
    text-align: center;
    width: auto;
    margin-bottom: 10px;
}
.world-map {
    position: relative;
    max-width: 880px;
    margin: 18px auto 8px;
}
.world-map .world-base {
    display: block;
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
}
.world-pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(92, 144, 255, 0.22), 0 0 18px var(--brand-glow);
    opacity: 0;
    transform: scale(0);
    cursor: default;
}
.world-map.in-view .world-pin {
    animation: pin-pop .55s var(--ease-2) forwards;
    animation-delay: calc(var(--d, 0) * 130ms + .25s);
}
@keyframes pin-pop {
    0% { opacity: 0; transform: scale(0); }
    70% { opacity: 1; transform: scale(1.45); }
    100% { opacity: 1; transform: scale(1); }
}
.world-pin::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
  border: 1px solid rgba(92, 144, 255, .55);

    animation: pin-pulse 2.6s var(--ease) infinite;
    animation-delay: calc(var(--d, 0) * .35s);
}
@keyframes pin-pulse {
    0% { transform: scale(.5); opacity: .9; }
    70%, 100% { transform: scale(1.9); opacity: 0; }
}
.world-pin b {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(16, 14, 21, .92);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: .01em;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.world-pin:hover { z-index: 5; }
.world-pin:hover b {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 585px) {
    .world-area .cap-block { padding: 30px 18px 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .world-map.in-view .world-pin { animation: none; opacity: 1; transform: scale(1); }
    .world-pin::after { animation: none; opacity: 0; }
}

/* world section heading accent (section isn't a .capability-area) */
.world-area .cap-title .grad {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.02em;
    padding-right: .06em;
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   # V24 — Benchmark pass: section heads, selected work,
   #       about snapshot, beyond-work strip
============================================================ */

/* ---- Section head pattern (left-aligned, editorial) ---- */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 52px;
}
.sec-head .sec-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 16px;
}
.sec-head .sec-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-2), transparent);
}
.sec-head .sec-title {
    color: var(--text);
    font-size: clamp(30px, 4.4vw, 50px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin: 0;
    text-wrap: balance;
}
.sec-head .sec-title .grad {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.02em;
    padding-right: .06em;
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sec-head .sec-link {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-strong);
    transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease);
}
.sec-head .sec-link i { font-size: 16px; transition: transform .3s var(--ease); }
.sec-head .sec-link:hover { color: var(--text); border-color: var(--brand-2); }
.sec-head .sec-link:hover i { transform: translateX(4px); }
@media (max-width: 767px) {
    .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 38px; }
}

/* ---- Selected work ---- */
.work-area { padding-top: 110px; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.work-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.work-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft), 0 0 60px -24px var(--brand-glow);
}
.work-card .work-img {
    margin: 14px 14px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10.5;
    border: 1px solid var(--border);
}
.work-card .work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transform: scale(1.02);
    transition: transform .8s var(--ease);
}
.work-card:hover .work-img img { transform: scale(1.07); }
.work-card .work-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px 22px;
}
.work-card .work-info h3 {
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 0 0 5px;
}
.work-card .work-info .work-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}
.work-card .work-info .work-meta .nda {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255, 92, 138, .3);
    background: rgba(255, 92, 138, .08);
    color: var(--brand-3);
    font-size: 11px;
}
.work-card .work-info .work-meta .nda i { font-size: 12px; }
.work-card .project-btn { flex: none; }
@media (max-width: 920px) {
    .work-grid { grid-template-columns: 1fr; gap: 22px; }
    .work-area { padding-top: 80px; }
}

/* ---- About snapshot ---- */
.abouts-area { padding-top: 110px; }
.abouts-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: center;
}
.abouts-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.abouts-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.abouts-photo:hover img { transform: scale(1.04); }
.abouts-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 14, 21, .35), transparent 40%);
    pointer-events: none;
}
.abouts-body .sec-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-2);
    margin-bottom: 16px;
}
.abouts-body .sec-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-2), transparent);
}
.abouts-body h2 {
    color: var(--text);
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin-bottom: 20px;
    text-wrap: balance;
}
.abouts-body h2 .grad {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.02em;
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.abouts-body > p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 34px;
}
.abouts-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 52px;
    margin-bottom: 36px;
}
.abouts-stats .stat .stat-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.abouts-stats .stat .stat-label {
    display: block;
    margin-top: 4px;
    color: var(--text-3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
}
.abouts-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 920px) {
    .abouts-grid { grid-template-columns: 1fr; gap: 36px; }
    .abouts-photo { max-width: 420px; }
    .abouts-area { padding-top: 80px; }
}

/* ---- Beyond client work ---- */
.beyond-area { padding-top: 110px; }
.beyond-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.beyond-card {
    position: relative;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.beyond-card .beyond-ico {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 92, 138, .18), rgba(168, 110, 255, .14));
    border: 1px solid var(--border);
}
.beyond-card .beyond-ico i { font-size: 25px; color: var(--brand-2); }
.beyond-card h3 {
    color: var(--text);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin: 4px 0 0;
}
.beyond-card p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.beyond-card .beyond-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-3);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .3s var(--ease);
}
.beyond-card .beyond-link i { font-size: 15px; transition: transform .3s var(--ease); }
.beyond-card:hover .beyond-link { color: var(--brand-2); }
.beyond-card:hover .beyond-link i { transform: translate(3px, -3px); }
@media (max-width: 920px) {
    .beyond-grid { grid-template-columns: 1fr; }
    .beyond-area { padding-top: 80px; }
}

/* ---- Rhythm: consistent generous spacing for kept sections ---- */
.recommend-area, .world-area { padding-top: 110px; }
.capability-area { padding-top: 110px; }
@media (max-width: 920px) {
    .recommend-area, .world-area, .capability-area { padding-top: 80px; }
}

/* ============================================================
   # Mentoring page
============================================================ */
.mentor-hero { padding-top: 64px; text-align: center; position: relative; }
.mentor-hero .mentor-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
}
.mentor-hero .mentor-eyebrow i { font-size: 16px; color: var(--brand-2); }
.mentor-hero h1 {
    font-size: clamp(38px, 6.4vw, 74px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
    text-wrap: balance;
}
.mentor-hero h1 .grad {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1em;
    background: linear-gradient(120deg, var(--brand-3), var(--brand) 55%, #ff9ec4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lang-fa .mentor-hero h1 .grad { font-family: 'KalamehWeb', sans-serif; font-style: normal; }
.mentor-hero p.lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-2);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.75;
}
.mentor-hero .mentor-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.mentor-hero .mentor-hero-stats .mh-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
}
.mentor-hero .mentor-hero-stats .mh-stat b {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    background: linear-gradient(135deg, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lang-fa .mentor-hero .mentor-hero-stats .mh-stat b { font-family: 'KalamehWeb', sans-serif; }
.mentor-hero .mentor-hero-stats .mh-stat span {
    text-align: left;
    color: var(--text-3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    line-height: 1.4;
}
.lang-fa .mentor-hero .mentor-hero-stats .mh-stat span { text-align: right; text-transform: none; letter-spacing: 0; }

/* How it works */
.mentor-how { padding-top: 96px; }
.mentor-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.mentor-how-card {
    padding: 28px 24px;
    text-align: center;
}
.mentor-how-card .mhow-ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(70, 71, 174, 0.2), rgba(170, 204, 214, 0.15));
    border: 1px solid var(--border);
}
.mentor-how-card .mhow-ico i { font-size: 26px; color: var(--brand-2); }
.mentor-how-card h3 {
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}
.mentor-how-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 0; }
@media (max-width: 920px) { .mentor-how-grid { grid-template-columns: repeat(2, 1fr); } .mentor-how { padding-top: 72px; } }
@media (max-width: 480px) { .mentor-how-grid { grid-template-columns: 1fr; } }

/* Pricing */
.mentor-pricing { padding-top: 96px; }
.mentor-price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
}
.price-card {
    position: relative;
    padding: 38px 34px 34px;
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: var(--border-strong);
    background: linear-gradient(160deg, rgba(70, 71, 174, 0.18), transparent 60%), var(--surface);
}
.price-card .price-tag {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    box-shadow: 0 8px 20px -8px var(--brand-glow);
}
.lang-fa .price-card .price-tag { right: auto; left: 22px; text-transform: none; letter-spacing: 0; }
.price-card .price-loc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 22px;
}
.price-card .price-loc i { font-size: 22px; color: var(--brand-2); }
.price-card .price-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.price-card .price-amount .pa-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    color: var(--text);
}
.lang-fa .price-card .price-amount .pa-num { font-family: 'KalamehWeb', sans-serif; }
.price-card .price-amount .pa-cur { font-size: 18px; font-weight: 600; color: var(--text-2); }
.price-card .price-per { color: var(--text-3); font-size: 14px; margin-bottom: 26px; }
.price-card .price-feats { margin-bottom: 30px; flex: 1; }
.price-card .price-feats li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.5;
    padding: 9px 0;
    border-top: 1px solid var(--border);
}
.price-card .price-feats li:first-child { border-top: none; }
.price-card .price-feats li i {
    flex: none;
    margin-top: 2px;
    font-size: 18px;
    color: var(--brand-2);
}
.price-card .theme-btn { width: 100%; justify-content: center; }
.price-card.featured .theme-btn {
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 30px -12px var(--brand-glow);
}
.price-card.featured .theme-btn:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }
@media (max-width: 767px) { .mentor-price-grid { grid-template-columns: 1fr; } .mentor-pricing { padding-top: 72px; } }

.mentor-price-note {
    text-align: center;
    color: var(--text-3);
    font-size: 13px;
    margin: 26px auto 0;
    max-width: 560px;
    line-height: 1.6;
}

/* CTA */
.mentor-cta { padding-top: 96px; }
.mentor-cta-box {
    text-align: center;
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
}
.mentor-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
background: radial-gradient(60% 80% at 50% 0%, rgba(70, 71, 174, 0.18), transparent 72%);
    pointer-events: none;
}
.mentor-cta-box h2 {
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: 16px;
    position: relative;
}
.mentor-cta-box p { color: var(--text-2); font-size: 16px; max-width: 480px; margin: 0 auto 30px; line-height: 1.7; position: relative; }
.mentor-cta-box .tg-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 30px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 14px 36px -14px var(--brand-glow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.mentor-cta-box .tg-btn i { font-size: 22px; }
.mentor-cta-box .tg-btn:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 20px 44px -14px var(--brand-glow); }
.mentor-cta-box .tg-handle {
    display: block;
    margin-top: 18px;
    color: var(--text-3);
    font-size: 14px;
    position: relative;
}
.mentor-cta-box .tg-handle b { color: var(--text-2); font-weight: 600; direction: ltr; display: inline-block; }
@media (max-width: 767px) { .mentor-cta { padding-top: 72px; } .mentor-cta-box { padding: 44px 24px; } }

/* ============================================================
   # Mentoring — challenges, principles, pull-quote, article link
============================================================ */
.mentor-help { padding-top: 96px; }
.mentor-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.mentor-help-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
}
.mentor-help-card .mh-ico {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
background: linear-gradient(135deg, rgba(70, 71, 174, 0.25), rgba(170, 204, 214, 0.16));
    border: 1px solid var(--border);
}
.mentor-help-card .mh-ico i { font-size: 22px; color: var(--brand-2); }
.mentor-help-card h3 { color: var(--text); font-size: 15px; font-weight: 600; margin: 0 0 3px; letter-spacing: -.01em; }
.mentor-help-card p { color: var(--text-3); font-size: 13px; line-height: 1.5; margin: 0; }
@media (max-width: 920px) { .mentor-help-grid { grid-template-columns: 1fr 1fr; } .mentor-help { padding-top: 72px; } }
@media (max-width: 560px) { .mentor-help-grid { grid-template-columns: 1fr; } }

/* Pull-quote */
.mentor-quote { padding-top: 96px; }
.mentor-quote-box {
    position: relative;
    text-align: center;
    padding: 64px 48px;
    overflow: hidden;
}
.mentor-quote-box::before {
    content: '\201C';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 160px;
    line-height: 1;
    color: var(--brand-2);
    opacity: .14;
    pointer-events: none;
}
.mentor-quote-box blockquote {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(24px, 3.6vw, 38px);
    line-height: 1.35;
    color: var(--text);
    letter-spacing: -.01em;
    text-wrap: balance;
}
.lang-fa .mentor-quote-box blockquote { font-family: 'KalamehWeb', sans-serif; font-style: normal; }
.mentor-quote-box blockquote .grad {
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mentor-quote-box cite {
    display: block;
    margin-top: 26px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-3);
}
.lang-fa .mentor-quote-box cite { font-family: 'KalamehWeb', sans-serif; text-transform: none; letter-spacing: 0; }
@media (max-width: 767px) { .mentor-quote { padding-top: 72px; } .mentor-quote-box { padding: 48px 26px; } }

/* Principles */
.mentor-principles { padding-top: 96px; }
.mentor-principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.principle {
    display: flex;
    gap: 18px;
    padding: 28px 26px;
}
.principle .pr-num {
    flex: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-3); /* آبی یخی برای کنتراست روی پسزمینه تیره */
    background: rgba(70, 71, 174, 0.12);
    border: 1px solid rgba(70, 71, 174, 0.3);
    transition: var(--ease);
}
.lang-fa .principle .pr-num { font-family: 'KalamehWeb', sans-serif; }
.principle .pr-body h3 { color: var(--text); font-size: 18px; font-weight: 600; margin: 6px 0 8px; letter-spacing: -.01em; }
.principle .pr-body p { color: var(--text-2); font-size: 14px; line-height: 1.65; margin: 0; }
@media (max-width: 767px) { .mentor-principles-grid { grid-template-columns: 1fr; } .mentor-principles { padding-top: 72px; } }

/* Article link in CTA */
.mentor-read {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 11px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.mentor-read i { font-size: 17px; color: var(--brand-2); }
.mentor-read:hover { color: var(--text); border-color: var(--brand-2); transform: translateY(-2px); }

/* My Apps — filter & sort controls */
.apps-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.apps-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.af-btn { font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.af-btn:hover { color: var(--text); border-color: var(--border-strong); }
.af-btn.active { color: #fff; background: var(--brand); border-color: transparent; }
.apps-sort { font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.apps-sort:focus { outline: none; border-color: var(--brand); color: var(--text); }
@media (max-width: 560px) { .apps-controls { justify-content: center; } }
/* Translations toolbar: keep filters + tools grouped at the start instead of
   flung to opposite edges now that the listing spans the full container. */
.apps-controls.tr-controls { justify-content: flex-start; gap: 14px 22px; }
.apps-controls.tr-controls .tr-search { width: 240px; }
@media (max-width: 560px) { .apps-controls.tr-controls { justify-content: center; } }

/* ============================================================
   # 404
============================================================ */
.nf-area {
    padding: 90px 0 40px;
    text-align: center;
    position: relative;
}
.nf-area .nf-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(110px, 22vw, 240px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 92, 138, .34));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}
.nf-area h1 {
    font-size: clamp(28px, 4.6vw, 50px);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 20px;
    text-wrap: balance;
}
.nf-area h1 .grad {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(120deg, var(--brand-3), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nf-area p.lead {
    color: var(--text-2);
    font-size: 16px;
    max-width: 460px;
    margin: 0 auto 34px;
    line-height: 1.7;
}
.nf-area .nf-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
/* ===================================
   PWA Install Prompt — Shared Styles
   =================================== */

.pwa-install-prompt {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(18, 16, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease;
}

    .pwa-install-prompt[hidden] {
        display: none !important;
    }


/* English: bottom-right */
.pwa-install-prompt--en {
    right: 24px;
    left: auto;
    direction: ltr;
}

/* Persian: bottom-left */
.pwa-install-prompt--fa {
    right: auto;
    left: 24px;
    direction: rtl;
}

/* Main install button */
.pwa-install-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 5px 6px 5px 5px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 180ms ease;
}

    .pwa-install-action:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .pwa-install-action:focus-visible,
    .pwa-install-dismiss:focus-visible {
        outline: 2px solid #9eeaf1;
        outline-offset: 2px;
    }

/* RTL: correct text alignment */
.pwa-install-prompt--fa .pwa-install-action {
    padding: 5px 5px 5px 6px;
    text-align: right;
}

/* Icon */
.pwa-install-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    color: #101016;
    background: #a6edf3;
    border-radius: 11px;
}

    .pwa-install-icon svg {
        width: 19px;
        height: 19px;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* Content */
.pwa-install-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
}

.pwa-install-title {
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.pwa-install-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

/* Close button */
.pwa-install-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

    .pwa-install-dismiss:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.09);
    }

@media (max-width: 576px) {
    .pwa-install-prompt--en {
        right: 14px;
    }

    .pwa-install-prompt--fa {
        left: 14px;
    }

    .pwa-install-prompt {
        bottom: 14px;
        border-radius: 14px;
    }

    .pwa-install-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .pwa-install-content {
        min-width: auto;
    }
    .pwa-install-prompt {
        flex-wrap: nowrap;
    }

    .pwa-install-action {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pwa-install-dismiss {
        flex-shrink: 0;
    }

}

