/* =====================================================================
   NextApp Lab — site styles
   Visual system: monochrome ink + cool greys, pill buttons that flip
   to yellow on hover, large bold headings, alternating light / dark
   sections. Brand orange survives only in the logo mark.
   ===================================================================== */

:root {
    --primary: #0f1112;
    --black: #000;
    --white: #fff;
    --text: #4b5154;
    --gray-100: #f5f6f7;
    --gray-200: #ebeef0;
    --gray-300: #c6cacc;
    --gray-500: #7e8385;
    --aluminium: #aab0b3;
    --hero-bg: #d5d8db;
    --counter-bg: #b5bfca;
    --soft-bg: #edf0f2;
    --contact-bg: #d6dce1;
    --footer-strip: #202324;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --green: #3cd382;
    --brand: #f97316;
    --radius: 8px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font: 'Inter Tight', Arial, sans-serif;
}

/* ---------- reset ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); font-size: 20px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #0050bd; outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 100px; font-size: 15px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 992px) { .container { padding-inline: 48px; } }
.section-padding { padding-block: 160px; }
@media (max-width: 991px) { .section-padding { padding-block: 100px; } }
@media (max-width: 767px) { .section-padding { padding-block: 72px; } }
.bg-primary { background: var(--primary); }
.color-white { color: var(--white); }

/* ---------- type ---------- */
.h1 { color: #101010; font-size: 65px; font-weight: 700; line-height: 1.2; letter-spacing: .5px; }
.h2 { color: var(--primary); font-size: 48px; font-weight: 700; line-height: 1.2; }
.h2-xl { color: var(--primary); font-size: 64px; font-weight: 700; line-height: 1.2; }
.h3 { color: var(--primary); font-size: 36px; font-weight: 700; line-height: 1.4; }
.color-white.h2, .color-white .h2, .h2.color-white, .h2-xl.color-white { color: var(--white); }
.lead { font-size: 22px; line-height: 1.5; }
.p { font-size: 16px; line-height: 1.6; }
.p-18 { font-size: 18px; line-height: 1.5; }
.eyebrow { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--aluminium); font-weight: 500; }
@media (max-width: 991px) {
    .h1 { font-size: 48px; } .h2-xl { font-size: 48px; } .h2 { font-size: 40px; } .h3 { font-size: 28px; } .lead { font-size: 19px; }
}
@media (max-width: 767px) {
    body { font-size: 18px; }
    .h1 { font-size: 38px; } .h2-xl, .h2 { font-size: 32px; } .h3 { font-size: 24px; } .lead { font-size: 17px; }
}

/* ---------- buttons (pill: black → yellow) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 28px; border-radius: 100px; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: .5px;
    background: var(--primary); color: var(--white); white-space: nowrap;
    transition: background-color .3s, color .3s, transform .3s var(--ease);
}
/* orange appears on hover only — buttons rest in ink / white */
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent-dark); color: #fff; }
.btn-accent { background: var(--accent-dark); color: #fff; }
.btn-accent:hover { background: var(--white); color: var(--primary); }
.btn-sm { padding: 12px 22px; font-size: 15px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; color: var(--primary); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: gap .3s var(--ease); }
.text-link:hover { gap: 12px; }
.text-link.color-white { color: var(--white); }

/* ---------- navbar ---------- */
.navbar { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.navbar.is-scrolled { background: rgba(213, 216, 219, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(15, 17, 18, .08); }
.navbar.is-hidden { transform: translateY(-100%); }
.navbar-wrapper { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
/* original NextApp Lab logo: orange round mark + "NextApp" over a spaced "LAB" */
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary); user-select: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-dark); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .55); transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: scale(1.06); }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-text .lt-main { font-size: 19px; font-weight: 700; letter-spacing: -.3px; line-height: 1; color: inherit; }
.logo-text .lt-sub { font-size: 9px; font-weight: 700; letter-spacing: .3em; line-height: 1; text-transform: uppercase; color: var(--accent-dark); margin-top: 3px; margin-left: 1px; }
.footer .logo { color: #fff; }
.footer .logo-text .lt-sub { color: var(--accent); }
.nav-menu { display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 24px 12px; font-size: 16px; font-weight: 500; line-height: 24px; color: var(--primary); transition: color .2s; }
.nav-link:hover { color: #7d7d82; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.menu-button { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: none; place-items: center; color: var(--primary); }
@media (max-width: 991px) {
    .nav-menu, .nav-right .btn { display: none; }
    .menu-button { display: grid; }
}

/* services dropdown (mega menu) */
.dropdown { position: relative; }
.dropdown-toggle .chev { transition: transform .3s var(--ease); }
.dropdown.is-open .dropdown-toggle .chev { transform: rotate(180deg); }
.dropdown-panel {
    position: absolute; top: calc(100% - 6px); left: 50%; width: 760px; transform: translate(-50%, 8px);
    background: var(--white); border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px -20px rgba(15, 17, 18, .3);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.dropdown.is-open .dropdown-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 10px; transition: background-color .2s; }
.dd-item:hover { background: var(--gray-100); }
.dd-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gray-100); display: grid; place-items: center; color: var(--primary); flex-shrink: 0; transition: background-color .2s; }
.dd-title { display: block; font-size: 16px; font-weight: 600; color: var(--primary); line-height: 1.3; }
.dd-sub { display: block; font-size: 13.5px; color: var(--gray-500); line-height: 1.45; margin-top: 3px; }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--hero-bg); padding: 100px 24px 32px; overflow-y: auto; transition: opacity .3s, visibility .3s; }
.mobile-menu[hidden] { display: block; opacity: 0; visibility: hidden; pointer-events: none; }
.mobile-menu a.m-link { display: block; padding: 16px 0; font-size: 28px; font-weight: 700; color: var(--primary); border-bottom: 1px solid rgba(15, 17, 18, .1); }
.mobile-menu .m-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 16px 0 8px; }
.mobile-menu .m-sub a { font-size: 15px; color: var(--text); }

/* ---------- hero (banner) ---------- */
.banner-area { position: relative; overflow: hidden; background: var(--hero-bg); padding-top: 190px; padding-bottom: 60px; }
.banner-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; position: relative; z-index: 2; }
.banner-content { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.banner-title { max-width: 780px; }
.banner-paragraph { color: #101010; max-width: 680px; font-size: 24px; line-height: 1.5; }
.banner-button-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #000; }
.trust-logos { display: flex; }
.trust-logos span { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--hero-bg); display: grid; place-items: center; margin-left: -10px; overflow: hidden; }
.trust-logos span:first-child { margin-left: 0; }
.trust-logos img { width: 20px; height: 20px; object-fit: contain; }
.trust-text strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--primary); }
.trust-text small { font-size: 14px; color: #444446; }
/* hero visual: the NextApp mark as a glass object, close-up.
   Orange glass disc behind, clear iridescent </> in front; each solid is a
   stack of thin slices (translateZ) so it reads as thick glass when it turns.
   --mx/--my come from the pointer (see initHeroCollage). */
.hero-glass { --mx: 0; --my: 0; --s: clamp(320px, 44vw, 660px); position: relative; height: calc(var(--s) * 1.02); margin-right: calc(var(--s) * -.12); }
.hc-layer { transform: translate3d(calc(var(--mx) * var(--d, 10) * 1px), calc(var(--my) * var(--d, 10) * 1px), 0); transition: transform .6s var(--ease); }
.hg-beams { position: absolute; inset: -20% -30% -20% -10%; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 38%, transparent 46%),
                linear-gradient(115deg, transparent 52%, rgba(255, 255, 255, .35) 58%, transparent 64%),
                radial-gradient(50% 45% at 55% 45%, rgba(255, 255, 255, .55), transparent 70%);
    -webkit-mask-image: radial-gradient(60% 55% at 55% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(60% 55% at 55% 50%, #000 40%, transparent 100%); }
.hg-scene { position: absolute; left: 50%; top: 48%; width: var(--s); height: var(--s); margin: calc(var(--s) * -.5) 0 0 calc(var(--s) * -.5); perspective: 1400px; }
.hg-obj { position: absolute; inset: 0; transform-style: preserve-3d; animation: hgSway 10s ease-in-out infinite; }
@keyframes hgSway { 0%, 100% { transform: rotateX(14deg) rotateY(-26deg) rotateZ(-4deg); } 50% { transform: rotateX(6deg) rotateY(20deg) rotateZ(2deg); } }
.hg-disc, .hg-glyph { position: absolute; transform-style: preserve-3d; }
.hg-disc > i, .hg-disc > b, .gb > i, .gb > b { position: absolute; inset: 0; border-radius: inherit; }

/* orange glass disc */
.hg-disc { inset: 4%; border-radius: 50%; transform: translateZ(-70px); }
.hg-disc > i { transform: translateZ(calc(var(--i) * -4px)); background: linear-gradient(140deg, rgba(253, 186, 116, .55), rgba(194, 65, 12, .6) 55%, rgba(124, 45, 18, .7)); }
.hg-disc > i:nth-child(3n) { background: linear-gradient(140deg, rgba(255, 214, 165, .5), rgba(234, 88, 12, .55) 50%, rgba(255, 166, 210, .35)); }
.hg-disc > b { background:
        radial-gradient(60% 55% at 30% 25%, rgba(255, 237, 213, .9), transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(154, 52, 18, .55), transparent 55%),
        linear-gradient(150deg, rgba(251, 146, 60, .92), rgba(234, 88, 12, .9) 55%, rgba(194, 65, 12, .95));
    box-shadow: inset 0 0 0 2px rgba(255, 237, 213, .55), inset 0 -30px 60px rgba(124, 45, 18, .35), inset 0 30px 60px rgba(255, 255, 255, .25); }
.hg-disc > b::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .5) 44%, transparent 56%); background-size: 260% 100%; animation: hgShine 10s ease-in-out infinite; }
@keyframes hgShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* clear glass </> strokes, iridescent edges */
.hg-glyph { left: 16%; top: 25%; width: 68%; height: calc(68% * .78); transform: translateZ(40px); --gs: calc(var(--s) * .68); }
.gb { position: absolute; transform-style: preserve-3d; border-radius: 999px;
    width: calc(var(--l) * var(--gs)); height: calc(var(--gs) * .085);
    left: calc(var(--cx) * 100%); top: calc(var(--cy) / .78 * 100%);
    margin: calc(var(--gs) * -.0425) 0 0 calc(var(--l) * var(--gs) * -.5);
    transform: rotate(var(--r)); }
.gb > i { transform: translateZ(calc(var(--i) * -3.2px)); opacity: .55;
    background: linear-gradient(90deg, #ffb3dc, #ffe9a3 22%, #b9fbe9 45%, #a8cbff 68%, #e0b3ff 85%, #ffb3dc); }
.gb > i:nth-child(odd) { opacity: .3; background: linear-gradient(90deg, #a8cbff, #ffe9a3, #ffb3dc, #b9fbe9); }
.gb > b { background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .45) 45%, rgba(236, 242, 255, .7));
    border: 1.5px solid rgba(255, 255, 255, .95);
    box-shadow: inset 0 3px 8px rgba(255, 255, 255, .9), inset 0 -4px 10px rgba(160, 176, 210, .35), 0 0 0 1px rgba(255, 214, 240, .45), 0 10px 30px -10px rgba(124, 45, 18, .45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* coloured light thrown on the floor */
.hg-caustic { position: absolute; left: 20%; right: 8%; bottom: 0; height: 12%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(234, 88, 12, .35), rgba(255, 179, 220, .18) 55%, transparent);
    filter: blur(14px); animation: hgCaustic 10s ease-in-out infinite; }
@keyframes hgCaustic { 50% { transform: translateX(6%) scaleX(.9); opacity: .8; } }
@media (max-width: 991px) { .hero-glass { --s: min(86vw, 560px); margin: 8px auto 0; } }
.banner-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(15, 17, 18, .14); font-size: 16px; color: var(--primary); position: relative; z-index: 2; }
.banner-bottom .tags { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.banner-bottom .tags span { display: inline-flex; align-items: center; gap: 8px; }
.banner-bottom .tags span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 991px) {
    .banner-area { padding-top: 130px; }
    .banner-inner { grid-template-columns: 1fr; }
    .banner-paragraph { font-size: 19px; }
    .banner-bottom { margin-top: 48px; }
    .scroll-cue { display: none; }
}

/* ---------- logo slider ---------- */
.logo-slider-area { padding-block: 70px 80px; background: var(--white); }
.logo-slider-heading { text-align: center; font-size: 20px; font-weight: 500; color: var(--primary); margin-bottom: 48px; padding-inline: 24px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-logo { display: inline-flex; align-items: center; gap: 12px; padding: 0 36px; font-size: 22px; font-weight: 700; letter-spacing: -.3px; color: #9aa0a3; white-space: nowrap; transition: color .25s; }
.client-logo img { width: 28px; height: 28px; border-radius: 6px; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .25s, opacity .25s; }
.client-logo:hover { color: var(--primary); }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---------- about / one partner ---------- */
.about-content-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 120px; align-items: start; }
.about-right .lead { color: var(--text); }
.phase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.phase-card { background: var(--gray-100); border-radius: var(--radius); padding: 28px; transition: background-color .3s; }
.phase-card:hover { background: var(--gray-200); }
.phase-num { font-size: 14px; letter-spacing: 2px; color: var(--gray-500); font-weight: 500; }
.phase-card h3 { font-size: 22px; font-weight: 600; color: var(--primary); margin-top: 28px; line-height: 1.3; }
.phase-card p { font-size: 16px; line-height: 1.55; margin-top: 8px; }
@media (max-width: 991px) { .about-content-wrapper { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 575px) { .phase-grid { grid-template-columns: 1fr; } }

/* ---------- case studies (dark) ---------- */
.case-study-area { background: var(--primary); }
.case-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 72px; }
.case-head .p-18 { color: rgba(255, 255, 255, .7); max-width: 460px; }
.case-study-wrap { display: flex; flex-direction: column; gap: 80px; }
.case-item { position: sticky; top: 100px; }
.case-image { position: relative; border-radius: 16px; overflow: hidden; background: #1a1d1f; aspect-ratio: 16 / 8.2; }
.case-image > img, .case-image > .case-visual { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.case-item:hover .case-image > img, .case-item:hover .case-image > .case-visual { transform: scale(1.025); }
.case-quick { position: absolute; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--primary); display: grid; place-items: center; transition: background-color .3s, transform .3s var(--ease); z-index: 2; }
.case-item:hover .case-quick { background: var(--accent); color: #fff; }
.case-content { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-top: 32px; }
.case-title { color: var(--white); font-size: 24px; font-weight: 500; line-height: 1.3; }
.case-title strong { font-weight: 700; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.case-tag { font-size: 14px; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .22); border-radius: 100px; padding: 6px 14px; white-space: nowrap; }
/* built visual for products without a screenshot */
.case-visual { display: grid; place-items: center; padding: 6%; background: radial-gradient(ellipse 80% 70% at 70% 20%, #2b3033, #16181a 70%); }
.case-visual .mock { width: min(640px, 100%); }
/* project grid (client sites) */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin-top: 120px; }
@media (max-width: 1199px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.project-card .case-title { font-size: 20px; }
.project-card .case-image { aspect-ratio: 16 / 10; }
.project-card .case-content { margin-top: 24px; flex-direction: column; gap: 14px; }
.project-card .case-tags { justify-content: flex-start; }
.brand-visual { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; transition: transform .8s var(--ease); }
.project-card:hover .brand-visual { transform: scale(1.03); }
.brand-visual .b-logo { width: 96px; height: 96px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.brand-visual .b-logo img { width: 56px; height: 56px; object-fit: contain; }
.brand-visual .b-name { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.brand-visual .b-url { font-size: 14px; color: rgba(255, 255, 255, .55); letter-spacing: 1px; }
.tone-1 { background: radial-gradient(ellipse at 30% 20%, #2f3a4a, #15191f 70%); }
.tone-2 { background: radial-gradient(ellipse at 70% 20%, #3a3a33, #181816 70%); }
.tone-3 { background: radial-gradient(ellipse at 30% 80%, #2c3b35, #141a17 70%); }
.tone-4 { background: radial-gradient(ellipse at 70% 80%, #3a2f3a, #181418 70%); }
.tone-5 { background: radial-gradient(ellipse at 50% 10%, #2e3236, #131516 70%); }
.case-more { display: flex; justify-content: center; margin-top: 96px; }
@media (max-width: 991px) {
    .case-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
    .case-item { position: relative; top: auto; }
    .case-image { aspect-ratio: 4 / 3; }
    .case-content { flex-direction: column; gap: 14px; }
    .case-tags { justify-content: flex-start; }
    .project-grid { grid-template-columns: 1fr; margin-top: 80px; gap: 48px; }
}

/* ---------- product mock (used inside case visuals) ---------- */
.mock { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); font-size: 13px; color: var(--primary); text-align: left; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); font-size: 11.5px; color: var(--gray-500); }
.mock-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.mock-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #11804a; font-weight: 600; }
.mock-body { padding: 16px; }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.m-tile { background: var(--gray-100); border-radius: 8px; padding: 10px; }
.m-tile small { display: block; font-size: 11px; color: var(--gray-500); }
.m-tile strong { display: block; font-size: 17px; font-weight: 700; }
.m-tile em { font-style: normal; font-size: 11px; font-weight: 600; color: #11804a; }
.m-chart { border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.m-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--gray-200); border-radius: 8px; margin-top: 8px; }
.m-row small { display: block; font-size: 11px; color: var(--gray-500); }
.m-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---------- counter ("We are") ---------- */
.counter-area { background: var(--counter-bg); position: relative; overflow: hidden; }
.counter-animated-title { font-size: clamp(90px, 13.9vw, 200px); font-weight: 700; line-height: 1; color: var(--white); letter-spacing: -2px; padding-inline: 24px; }
.counter-animated-title.title-top { padding-left: 16.6vw; margin-bottom: -.2em; position: relative; z-index: 0; }
.counter-animated-title.title-bottom { text-align: right; padding-right: 16vw; margin-top: -.25em; position: relative; z-index: 0; }
.counter-wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 16px; max-width: 1920px; margin-inline: auto; padding-inline: 32px; position: relative; z-index: 1; }
/* each stat card gets its own colour; --c is the card colour, --c2 a lighter glow */
.counter-single-item {
    --c: #ea580c; --c2: #fb923c;
    position: relative; overflow: hidden; color: #fff; border-radius: 16px;
    background: radial-gradient(120% 90% at 100% 0%, var(--c2), var(--c) 60%);
    box-shadow: 0 24px 50px -28px var(--c);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.counter-single-item:nth-child(2) { --c: #4f46e5; --c2: #818cf8; }
.counter-single-item:nth-child(3) { --c: #059669; --c2: #34d399; }
.counter-single-item:nth-child(4) { --c: #0284c7; --c2: #38bdf8; }
.counter-single-item:nth-child(5) { --c: #db2777; --c2: #f472b6; }
.counter-single-item::after { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -70px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .1); pointer-events: none; }
.counter-single-item:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -26px var(--c); }
.counter-content { padding: 2.083vw; padding-bottom: 0; }
.counter-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); color: #fff; margin-bottom: 7vw; backdrop-filter: blur(4px); }
.count-title { font-size: 22px; font-weight: 500; color: rgba(255, 255, 255, .92); position: relative; z-index: 1; }
.counter-number-block { display: flex; align-items: baseline; color: #fff; border-top: 1px solid rgba(255, 255, 255, .22); padding: 1.46vw 2.083vw 2.083vw; margin-top: 16px; position: relative; z-index: 1; }
.counterup { font-size: 3.75vw; font-weight: 700; line-height: 1.05; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.counter-suffix { font-size: 3.75vw; font-weight: 700; line-height: 1.05; color: rgba(255, 255, 255, .7); margin-left: 2px; }
@media (max-width: 991px) {
    .counter-wrap { grid-template-columns: repeat(2, 1fr); padding-inline: 24px; }
    .counter-wrap > :last-child { grid-column: span 2; }
    .counter-content { padding: 22px 22px 0; }
    .counter-icon { margin-bottom: 48px; }
    .counter-number-block { padding: 16px 22px 22px; }
    .counterup, .counter-suffix { font-size: 52px; }
    .counter-animated-title.title-top, .counter-animated-title.title-bottom { padding-inline: 24px; }
}

/* ---------- services: capability cards ---------- */
.cap-head { margin-bottom: 48px; }
.cap-head-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 20px; }
.cap-head-row p { max-width: 560px; font-size: 17px; line-height: 1.55; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
    position: relative; display: block; height: 460px; padding: 28px; border-radius: 10px; overflow: hidden; isolation: isolate;
    background: linear-gradient(160deg, var(--bg1), var(--bg2));
    transition: background .5s var(--ease);
}
.cap::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(160deg, #fed7aa, #ffedd5); transition: opacity .5s var(--ease); }
.cap:hover::before, .cap:focus-visible::before { opacity: 1; }
.cap h3 { position: relative; z-index: 3; font-size: 24px; font-weight: 600; line-height: 1.3; color: var(--primary); max-width: 300px; }

/* the visual sits in the lower part of the card and bleeds off the edge */
.cap-visual { position: absolute; left: 28px; right: 0; bottom: 0; top: 120px; transition: opacity .5s var(--ease), filter .5s var(--ease), transform .7s var(--ease); }
.cap:hover .cap-visual, .cap:focus-visible .cap-visual { opacity: .28; filter: blur(2px); transform: translateY(10px); }

.cap-hover { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 3; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cap:hover .cap-hover, .cap:focus-visible .cap-hover { opacity: 1; transform: none; }
.cap-hover p { font-size: 16px; line-height: 1.55; color: var(--primary); }
.cap-btn { display: inline-flex; margin-top: 18px; padding: 11px 20px; border-radius: 100px; background: var(--primary); color: #fff; font-size: 14.5px; font-weight: 500; }
@media (hover: none) {
    .cap { height: auto; min-height: 420px; padding-bottom: 300px; }
    .cap-hover { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; transform: none; margin-top: 12px; }
    .cap-hover p { font-size: 15px; color: var(--text); }
    .cap-btn { display: none; }
    .cap-visual { top: auto; height: 270px; }
}

/* mock UI pieces used inside the cards */
.mk { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 24px 50px -24px rgba(15, 17, 18, .35), 0 0 0 1px rgba(15, 17, 18, .05); font-size: 12.5px; color: var(--primary); }
.mk-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 100px; font-weight: 600; white-space: nowrap; }
.mk-chat { left: 0; right: 0; bottom: -10px; padding: 16px; border-radius: 14px 0 0 0; }
.mk-chat ~ .mk-pill { right: 18px; top: 0; }
.mk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.mk-head b { font-weight: 600; } .mk-head em { font-style: normal; margin-left: auto; color: #16a34a; font-weight: 600; font-size: 11.5px; }
.mk-ava { width: 26px; height: 26px; border-radius: 8px; background: #6d5df5; color: #fff; display: grid; place-items: center; }
.mk-msg { max-width: 80%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #f2f3f5; line-height: 1.45; margin-bottom: 8px; }
.mk-msg.is-bot { margin-left: auto; border-radius: 12px 12px 4px 12px; background: #6d5df5; color: #fff; }
.mk-typing { display: flex; gap: 4px; width: 54px; padding: 12px; }
.mk-typing span { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: typing 1.2s infinite; }
.mk-typing span:nth-child(2) { animation-delay: .15s; } .mk-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.mk-flow { left: 0; right: 0; bottom: 0; top: 50px; padding: 20px; border-radius: 14px 0 0 0; display: flex; flex-direction: column; gap: 22px; background: #fff; }
.mk-flow ~ .mk-pill { right: 18px; top: 0; }
.mk-node { position: relative; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 14px; border-radius: 10px; border: 1px solid #ececec; background: #fafafa; font-weight: 500; }
.mk-node:nth-child(2) { margin-left: 34px; } .mk-node:nth-child(3) { margin-left: 68px; } .mk-node:nth-child(4) { margin-left: 34px; }
.mk-node::after { content: ''; position: absolute; left: 22px; top: 100%; width: 2px; height: 22px; background: repeating-linear-gradient(#f97316 0 4px, transparent 4px 8px); }
.mk-node:last-child::after { display: none; }
.mk-node.is-done { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.mk-node i, .mk-node svg { color: var(--accent-dark); }
.mk-node.is-done svg { color: #16a34a; }

.mk-browser { left: 0; width: 120%; top: 0; border-radius: 12px 0 0 0; overflow: hidden; }
.mk-browser img { display: block; width: 100%; }
.mk-bar { display: flex; gap: 5px; padding: 8px 10px; background: #f1f3f5; border-bottom: 1px solid #e5e7eb; }
.mk-bar span { width: 8px; height: 8px; border-radius: 50%; background: #d4d7dc; }
.mk-bar span:nth-child(1) { background: #ff6159; } .mk-bar span:nth-child(2) { background: #ffbd2e; } .mk-bar span:nth-child(3) { background: #28c941; }
.mk-phone { right: 22px; bottom: -40px; width: 128px; aspect-ratio: 1080 / 2400; padding: 5px; border-radius: 22px; background: #0b0d0e; overflow: hidden; }
.mk-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.mk-wide { top: 40px; }
.mk-pill-2 { left: 0; top: 0; }

.mk-code { left: 0; right: 0; bottom: 0; top: 60px; border-radius: 14px 0 0 0; padding: 20px; background: #0f1112; color: #d1d5db; box-shadow: 0 24px 50px -24px rgba(15, 17, 18, .5); }
.mk-code pre { margin: 0; font: 13px/1.7 ui-monospace, 'SFMono-Regular', Consolas, monospace; white-space: pre; }
.mk-code b { color: #fdba74; font-weight: 600; } .mk-code i { font-style: normal; color: #93c5fd; }
.mk-ok { display: inline-block; margin-top: 14px; padding: 5px 10px; border-radius: 100px; background: rgba(34, 197, 94, .15); color: #4ade80; font-size: 12px; font-weight: 600; }
.mk-code ~ .mk-pill { right: 18px; top: 0; }

.mk-board { left: 0; right: 0; bottom: 0; top: 30px; border-radius: 14px 0 0 0; padding: 22px; }
.mk-board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mk-board-head b { font-size: 15px; } .mk-board-head em { font-style: normal; color: #16a34a; font-weight: 600; font-size: 12px; }
.mk-bar-row { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text); }
.mk-bar-row i { display: block; height: 8px; border-radius: 99px; background: #eef0f2; position: relative; overflow: hidden; }
.mk-bar-row i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, #10b981, #34d399); }
.mk-avatars { display: flex; margin-top: 22px; }
.mk-avatars span { width: 36px; height: 36px; border-radius: 50%; margin-right: -8px; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; border: 2px solid #fff; background: #0f1112; }
.mk-avatars span:nth-child(2) { background: #ea580c; } .mk-avatars span:nth-child(3) { background: #0284c7; } .mk-avatars span:nth-child(4) { background: #e5e7eb; color: var(--primary); }

@media (max-width: 1199px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
    .cap-grid { grid-template-columns: 1fr; }
    .cap-head-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- who we are (dark) ---------- */
.who-we-area { position: relative; overflow: hidden; }
.about-who-wrap { display: flex; gap: 120px; max-width: 1272px; margin-inline: auto; }
.who-left { flex: none; width: 42%; }
.who-left .p-18 { color: rgba(255, 255, 255, .9); margin-top: 32px; }
.who-left .btn { margin-top: 40px; }
.std-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.std { background: var(--primary); padding: 32px; transition: background-color .3s; }
.std:hover { background: #181b1c; }
.std-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: var(--white); margin-bottom: 36px; transition: background-color .3s, color .3s; }
.std h3 { color: var(--white); font-size: 20px; font-weight: 600; line-height: 1.3; }
.std p { color: rgba(255, 255, 255, .6); font-size: 15.5px; line-height: 1.55; margin-top: 8px; }
@media (max-width: 991px) {
    .about-who-wrap { flex-direction: column; gap: 48px; }
    .who-left { width: 100%; }
}
@media (max-width: 575px) { .std-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials (template — shown only when real quotes exist) ---------- */
.testimonial-areas { background: var(--soft-bg); padding-block: 120px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-s-area { background: var(--white); }
.faq-item-wrap { display: grid; grid-template-columns: 1fr 1.75fr; gap: 0 100px; align-items: start; }
.faq-left { position: sticky; top: 110px; }
.faq-card { margin-top: 40px; border-radius: var(--radius); padding: 28px; background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.faq-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 248, 75, .18), transparent 70%); pointer-events: none; }
.faq-avatars { display: flex; }
.faq-avatars span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary); margin-left: -10px; display: grid; place-items: center; background: #2a2e30; color: #fff; }
.faq-avatars span:first-child { margin-left: 0; background: var(--accent); color: #fff; }
.team-heading { color: #fff; max-width: 280px; margin-top: 16px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.faq-card .btn { margin-top: 28px; }
.faq-bottom-item { border-bottom: 1.5px solid var(--gray-300); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 26px 0; text-align: left; cursor: pointer; }
.faq-title { font-size: 22px; font-weight: 500; line-height: 32px; color: var(--primary); }
.faq-arrow-wrap { width: 44px; height: 44px; border-radius: 50%; background: var(--soft-bg); display: grid; place-items: center; flex: none; color: var(--primary); transition: background-color .3s, transform .4s var(--ease); }
.faq-question:hover .faq-arrow-wrap { background: var(--accent); color: #fff; }
.faq-bottom-item.is-open .faq-arrow-wrap { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-bottom-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-paragraph { color: var(--text); letter-spacing: .2px; font-size: 18px; line-height: 1.5; padding: 0 100px 28px 0; }
@media (max-width: 991px) {
    .faq-item-wrap { grid-template-columns: 1fr; gap: 48px; }
    .faq-left { position: static; }
    .faq-paragraph { padding-right: 0; }
    .faq-title { font-size: 19px; line-height: 28px; }
}

/* ---------- contact ---------- */
.contact-section { background: var(--contact-bg); padding-block: 140px; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.contact-section-heading { color: var(--primary); margin-bottom: 20px; }
.contact-left .lead { color: var(--text); max-width: 520px; }
.contact-person { display: flex; align-items: center; gap: 16px; margin-top: 48px; }
.contact-person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.contact-person strong { display: block; color: var(--primary); font-size: 18px; font-weight: 600; }
.contact-person span { font-size: 15px; }
.contact-lines { margin-top: 40px; display: grid; gap: 18px; }
.contact-line { display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--primary); font-weight: 500; }
.contact-line .ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .6); display: grid; place-items: center; flex-shrink: 0; transition: background-color .3s; }
a.contact-line:hover .ic { background: var(--accent); color: #fff; }
.form-bottom-text { color: var(--primary); margin-top: 40px; font-size: 22px; line-height: 1.4; }
.contact-form { background: var(--white); padding: 40px; border-radius: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.form-grid .full { grid-column: span 2; }
.contact-form-label { display: block; color: #000; margin-bottom: 4px; font-size: 18px; font-weight: 500; }
.contact-form-label .req { color: #c0392b; }
.field-line {
    width: 100%; height: 48px; padding: 0; margin-bottom: 32px; border: 0; border-bottom: 2px solid #000; border-radius: 0;
    background: transparent; color: #000; font-size: 20px; line-height: 32px; outline: none; transition: border-color .25s;
}
.field-line::placeholder { color: rgba(64, 64, 63, .8); font-size: 18px; }
.field-line:focus { border-bottom-color: var(--green); }
.field-line.is-invalid { border-bottom-color: #d93025; }
/* custom service dropdown (replaces the native <select>) */
.select { position: relative; }
.select.is-open { z-index: 40; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; cursor: pointer; font-size: 18px; }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.select-value.is-placeholder { color: rgba(64, 64, 63, .8); }
.select-value .opt-ic { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.select-chev { flex-shrink: 0; transition: transform .3s var(--ease); }
.select.is-open .select-trigger { border-bottom-color: var(--green); }
.select.is-open .select-chev { transform: rotate(180deg); }
.select-menu {
    position: absolute; z-index: 30; right: 0; top: calc(100% - 26px); width: max(100%, 360px); max-width: calc(100vw - 48px);
    max-height: 360px; overflow-y: auto; padding: 8px; margin: 0; list-style: none;
    background: #fff; border-radius: 16px; border: 1px solid var(--gray-200);
    box-shadow: 0 30px 60px -18px rgba(15, 17, 18, .35);
    animation: menuIn .22s var(--ease) both; scrollbar-width: thin;
}
.select-menu[hidden] { display: none; }
.select-menu:focus { outline: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.select-group { padding: 10px 12px 6px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-500); font-weight: 500; }
.select-group:not(:first-child) { border-top: 1px solid var(--gray-200); margin-top: 6px; padding-top: 14px; }
.select-option { display: flex; align-items: center; gap: 12px; padding: 10px 12px; white-space: nowrap; border-radius: 10px; cursor: pointer; font-size: 16px; color: var(--primary); transition: background-color .15s; }
.select-option .opt-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--gray-100); display: grid; place-items: center; flex-shrink: 0; transition: background-color .15s, color .15s; }
.select-option .opt-check { margin-left: auto; opacity: 0; color: var(--accent-dark); }
.select-option.is-active { background: var(--gray-100); }
.select-option.is-active .opt-ic { background: #fff; }
.select-option[aria-selected="true"] { font-weight: 600; }
.select-option[aria-selected="true"] .opt-ic { background: var(--accent); color: #fff; }
.select-option[aria-selected="true"] .opt-check { opacity: 1; }
textarea.field-line { height: auto; min-height: 110px; resize: vertical; padding-top: 8px; font-size: 18px; line-height: 1.5; }
.budget-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 32px; }
.budget-options input { position: absolute; opacity: 0; pointer-events: none; }
.budget-options label { padding: 9px 16px; border-radius: 100px; border: 1.5px solid var(--gray-300); font-size: 15px; color: var(--primary); cursor: pointer; transition: all .2s; }
.budget-options label:hover { border-color: var(--primary); }
.budget-options input:checked + label { background: var(--primary); border-color: var(--primary); color: #fff; }
.budget-options input:focus-visible + label { outline: 2px solid #0050bd; outline-offset: 2px; }
.form-error { display: none; color: #d93025; font-size: 15px; margin-bottom: 16px; }
.form-error.is-on { display: block; }
.form-fine { font-size: 14px; color: var(--gray-500); margin-top: 16px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile-slot:empty { display: none; }
.cf-turnstile-slot { margin-bottom: 16px; }
.contact-form .btn.is-busy { opacity: .7; pointer-events: none; }
.contact-form .btn.is-busy .arrow { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-success { background: var(--white); padding: 56px 40px; border-radius: 4px; text-align: center; outline: none; }
.contact-success[hidden] { display: none; }
.contact-success .cs-ok { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; background: #dcfce7; color: #15803d; }
.contact-success h3 { font-size: 28px; font-weight: 700; color: var(--primary); margin-top: 20px; }
.contact-success p { font-size: 17px; line-height: 1.55; margin: 10px auto 0; max-width: 380px; }
.contact-success .btn { margin-top: 28px; }
@media (max-width: 991px) {
    .contact-section { padding-block: 90px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 575px) {
    .contact-form { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full { grid-column: auto; }
}

/* ---------- footer ---------- */
.footer { background: var(--black); padding-top: 6.25vw; position: relative; overflow: hidden; color: var(--aluminium); }
.footer-columns { display: grid; grid-template-columns: 2.5fr 2fr 1fr 1fr; gap: 24px; padding-bottom: 100px; }
.footer-about { padding-right: 20px; }
.footer-about p { font-size: 16px; line-height: 1.6; margin-top: 24px; max-width: 380px; }
.footer-about .btn { margin-top: 40px; }
.footer-contact-item-title { color: rgba(255, 255, 255, .9); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; font-size: 16px; line-height: 1; font-weight: 500; }
.footer-list-item { margin-bottom: 14px; line-height: 1.2; }
.footer-nav-link { color: var(--aluminium); font-size: 14px; transition: color .2s; }
.footer-nav-link:hover { color: var(--white); }
.footer-services { columns: 2; column-gap: 24px; }
.footer-location-area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; background: var(--footer-strip); padding: 40px; border-radius: 4px; margin-bottom: 40px; }
.country-location { color: rgba(255, 255, 255, .9); margin: 10px 0; font-size: 24px; font-weight: 500; line-height: 1.3; }
.location-line { color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.5; transition: color .2s; }
a.location-line:hover { color: #fdba74; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 25px; font-size: 14px; }
.footer-social-block { display: flex; gap: 12px; }
.footer-social-link { width: 36px; height: 36px; border-radius: 100px; background: #232323; color: var(--gray-100); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.footer-social-link:hover { background: var(--accent); color: #fff; }
.footer-wordmark { font-size: 15.5vw; font-weight: 700; line-height: .8; letter-spacing: -.04em; color: #0d0e0f; text-align: center; margin-top: 40px; user-select: none; white-space: nowrap; -webkit-text-stroke: 1px #1c1f20; }
@media (max-width: 991px) {
    .footer { padding-top: 80px; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 48px 24px; padding-bottom: 64px; }
    .footer-about { grid-column: span 2; }
    .footer-location-area { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
    .footer-bottom-content { flex-direction: column-reverse; align-items: flex-start; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--primary); color: #fff; padding: 14px 22px; border-radius: 100px; font-size: 15px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- motion: slide-top reveal (initial state only when JS runs) ---------- */
.js .slide-top { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .slide-top.is-in { opacity: 1; transform: none; }
.js .title-animation .word { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .title-animation.is-in .word { opacity: 1; transform: none; }

/* =====================================================================
   Conversion sections: pain vs solution, industry cards, case study
   P/S/R, 5-step process, security, tech stack, values, booking CTA
   ===================================================================== */

/* hero mini badges + secondary button */
.mini-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: rgba(255, 255, 255, .55); font-size: 15px; font-weight: 500; color: var(--primary); }
.btn-ghost-dark { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-ghost-dark:hover { background: var(--primary); color: var(--white); }


/* case study: problem / solution / result */
.psr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.psr > div { background: #16191a; padding: 26px; }
.psr .psr-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--aluminium); font-weight: 500; }
.psr .psr-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6b7175; }
.psr .is-result { background: #1d2021; }
.psr .is-result .psr-label::before { background: var(--accent); }
.psr p { color: rgba(255, 255, 255, .86); font-size: 16.5px; line-height: 1.55; margin-top: 12px; }
@media (max-width: 991px) { .psr { grid-template-columns: 1fr; } }
.more-work-title { color: var(--white); font-size: 28px; font-weight: 700; margin-top: 140px; }
.project-grid.after-title { margin-top: 40px; }

/* process — 5 steps */
.process-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 72px; }
.process-head .lead { max-width: 520px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; min-height: 340px; padding: 28px; border-radius: var(--radius); background: var(--gray-100); transition: background-color .4s var(--ease), color .4s; }
.step:hover { background: var(--primary); color: rgba(255, 255, 255, .75); }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-num { font-size: 64px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--primary); transition: -webkit-text-stroke-color .4s; }
.step:hover .step-num { -webkit-text-stroke-color: var(--accent); }
.step-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--primary); transition: background-color .4s; }
.step h3 { margin-top: 96px; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.step:hover h3 { color: var(--white); }
.step p { font-size: 15.5px; line-height: 1.55; margin-top: 10px; }
@media (max-width: 1199px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } .step h3 { margin-top: 40px; } .process-head { flex-direction: column; align-items: flex-start; margin-bottom: 48px; } }

/* security note */
.sec-badge { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.45; }
.sec-badge svg { color: var(--accent); flex-shrink: 0; }

/* tech stack — technology-agnostic logo rows */
.tech-area { background: var(--soft-bg); overflow: hidden; }
.tech-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.tech-head .lead { max-width: 520px; }
.tech-rows { margin-top: 64px; display: grid; gap: 14px; }
.tech-row { position: relative; }
.tech-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 320px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--soft-bg) 45%, transparent); }
@media (max-width: 575px) { .tech-row::before { display: none; } }
.tech-row .marquee-track { animation-duration: var(--speed, 50s); }
.tech-row.is-reverse .marquee-track { animation-direction: reverse; }
.tech-row-label { position: absolute; left: 24px; pointer-events: none; top: 50%; transform: translateY(-50%); z-index: 2; padding: 8px 14px; border-radius: 100px; background: var(--primary); color: #fff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(15, 17, 18, .5); }
@media (min-width: 992px) { .tech-row-label { left: 48px; } }
.tech-pill { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: 12px; padding: 10px 20px 10px 10px; border-radius: 100px; background: var(--white); font-size: 17px; font-weight: 600; color: var(--primary); white-space: nowrap; box-shadow: 0 1px 0 rgba(15, 17, 18, .04); transition: transform .3s var(--ease), box-shadow .3s; }
.tech-pill:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(15, 17, 18, .45); }
.tech-pill .ti { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100); display: grid; place-items: center; overflow: hidden; }
.tech-pill .ti img { width: 20px; height: 20px; }
.tech-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--gray-300); }
.tech-foot p { font-size: 19px; color: var(--text); }
.tech-foot strong { color: var(--primary); }
@media (max-width: 991px) { .tech-head, .tech-foot { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575px) { .tech-pill { font-size: 15px; padding: 8px 16px 8px 8px; } .tech-pill .ti { width: 30px; height: 30px; } .tech-row-label { display: none; } }

/* core values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.value-card { padding: 32px; border-radius: var(--radius); background: var(--gray-100); }
.value-card .v-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: grid; place-items: center; color: var(--primary); }
.value-card h3 { font-size: 24px; font-weight: 700; color: var(--primary); margin-top: 40px; }
.value-card p { font-size: 16.5px; line-height: 1.55; margin-top: 8px; }
@media (max-width: 991px) { .values-grid { grid-template-columns: 1fr; } }

/* booking box in the final CTA */
.booking-box { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--primary); color: #fff; }
.booking-box strong { display: block; font-size: 22px; font-weight: 700; }
.booking-box p { color: rgba(255, 255, 255, .75); font-size: 16px; line-height: 1.5; margin-top: 8px; }
.booking-box .btn { margin-top: 22px; }

/* ---------- team: leadership in colour, team grid in monochrome with department filter ---------- */
.team-grid { display: grid; gap: 28px 20px; margin-top: 48px; }
.person { margin: 0; min-width: 0; }
.person-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: #c9ced3; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .8s var(--ease), filter .6s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person figcaption { margin-top: 16px; }
.person-name { font-size: 19px; font-weight: 600; line-height: 1.25; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person-role { font-size: 14px; line-height: 1.45; color: var(--text); margin-top: 4px; }

/* leadership: three larger cards in colour */
.team-founders { grid-template-columns: repeat(4, minmax(0, 300px)); gap: 28px; }
@media (max-width: 1199px) { .team-founders { grid-template-columns: repeat(2, minmax(0, 300px)); } }
.team-founders .person-name { font-size: 24px; }
.team-founders .person-role { font-size: 15px; }
.person-in { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 13px; border-radius: 100px; background: var(--gray-100); color: #0a66c2; font-size: 13.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.person-in:hover { background: #0a66c2; color: #fff; }

/* team bar: title + head count */
.team-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 80px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.team-sub { font-size: 24px; font-weight: 600; color: var(--primary); }

/* team grid: monochrome until hovered, department tag on hover */
.team-members { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 32px; }
.team-members .person-photo img { filter: grayscale(1) contrast(1.05) brightness(1.02); }
.team-members .person:hover .person-photo img { filter: none; }
.person-dept { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 100px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 600; color: var(--primary); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.person:hover .person-dept { opacity: 1; transform: none; }
@media (hover: none) { .team-members .person-photo img { filter: none; } .person-dept { opacity: 1; transform: none; } }
@media (max-width: 1199px) { .team-members { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .team-founders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .team-founders .person-name { font-size: 19px; }
    .team-members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
    .person-name { font-size: 16px; }
}

/* =====================================================================
   Case studies — one-screen showcase (auto-playing, story-style tabs)
   Slides are stacked in one grid cell; only .is-active is visible.
   --f (registered, so it transitions) fans the screenshots out from a
   centred stack every time a slide becomes active.
   ===================================================================== */
@property --f { syntax: '<number>'; inherits: true; initial-value: 1; }
.work { background: #0b0c0d; color: #fff; overflow: hidden; padding-block: 100px; }
.work .eyebrow { color: rgba(255, 255, 255, .5); }
.work-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.work-title { font-size: clamp(48px, 7vw, 104px); font-weight: 700; line-height: .95; letter-spacing: -.045em; color: #fff; margin-top: 14px; }
.work-title em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.work-tabs { display: flex; gap: 10px; }
.work-tab { min-width: 172px; padding: 14px 16px 16px; border-radius: 14px; text-align: left; color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .3s, color .3s, border-color .3s; }
.work-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .2); }
.work-tab.is-active { color: #fff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); }
.wt-num { display: block; font-size: 12px; letter-spacing: 2px; color: rgba(255, 255, 255, .45); }
.wt-name { display: block; font-size: 17px; font-weight: 600; margin-top: 4px; }
.wt-bar { display: block; height: 3px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.wt-bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.work-tab.is-active .wt-bar i { animation: wtFill var(--dur, 7s) linear forwards; }
.work.is-paused .work-tab.is-active .wt-bar i { animation-play-state: paused; }
.work.no-autoplay .work-tab.is-active .wt-bar i { animation: none; width: 100%; }
@keyframes wtFill { to { width: 100%; } }

.cs-deck { display: grid; touch-action: pan-y; }
.cs { grid-area: 1 / 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.cs.is-active { opacity: 1; visibility: visible; }

.cs-canvas { --f: 0; position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; isolation: isolate; cursor: zoom-in;
    background: radial-gradient(130% 100% at 50% 0%, var(--t1), var(--t2) 70%); transition: --f 1.3s var(--ease) .12s; }
.cs.is-active .cs-canvas { --f: 1; }
@media (hover: hover) { .cs-canvas { cursor: none; } }
.cs-mesh { position: absolute; inset: -20%; z-index: -1; pointer-events: none;
    background: radial-gradient(40% 40% at 25% 30%, color-mix(in srgb, var(--t1) 80%, #fff 20%), transparent 70%),
                radial-gradient(35% 35% at 80% 75%, color-mix(in srgb, var(--t3) 45%, transparent), transparent 70%);
    filter: blur(30px); animation: mesh 14s ease-in-out infinite alternate; }
.cs-canvas::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
@keyframes mesh { to { transform: translate(6%, -5%) rotate(8deg); } }
.cs-stage { position: absolute; inset: 0; z-index: 1; perspective: 1800px; transform: scale(calc(1.06 - .06 * var(--f))); }
.shot { position: absolute; left: 50%; top: 50%; width: var(--w); z-index: var(--z, 1); will-change: transform;
    transform: translate(-50%, -50%) translate(calc(var(--tx, 0%) * var(--f)), calc(var(--ty, 0%) * var(--f)))
               rotateY(calc(var(--ry, 0deg) * var(--f))) rotateZ(calc(var(--rz, 0deg) * var(--f))); }
.shot.frame { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); }
.shot .frame-bar { display: flex; align-items: center; gap: 6px; padding: 8px 11px; background: #f1f3f5; border-bottom: 1px solid #e5e7eb; }
.shot .frame-bar span { width: 8px; height: 8px; border-radius: 50%; }
.shot .frame-bar span:nth-child(1) { background: #ff6159; } .shot .frame-bar span:nth-child(2) { background: #ffbd2e; } .shot .frame-bar span:nth-child(3) { background: #28c941; }
.shot .frame-bar em { font-style: normal; margin-left: 8px; font-size: 11px; color: #8a9096; }
.shot img { display: block; width: 100%; height: auto; }
.shot.phone { aspect-ratio: 1080 / 2400; padding: .7%; border-radius: 13% / 6%; background: #0b0d0e; box-shadow: 0 60px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .16); }
.shot.phone .phone-screen { width: 100%; height: 100%; border-radius: 11% / 5%; overflow: hidden; background: #fff; }
.shot.phone .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot.cs-icon { border-radius: 24%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }

.cs-chip, .cs-langs { position: absolute; left: clamp(80px, var(--x), calc(100% - 80px)); top: var(--y); z-index: 6; opacity: var(--f);
    transform: translate(-50%, -50%) scale(calc(.85 + .15 * var(--f))); animation: drift 6s ease-in-out infinite; }
.cs-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 100px; background: #fff; color: var(--primary); font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); }
.cs-chip:nth-of-type(2) { animation-delay: -3s; }
.cs-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }
@keyframes drift { 50% { translate: 0 -10px; } }
.cs-langs { display: flex; gap: 4px; padding: 5px; border-radius: 100px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); }
.cs-langs span { font-size: 12.5px; font-weight: 600; color: var(--primary); padding: 6px 11px; border-radius: 100px; transition: background-color .4s, color .4s; }
.cs-langs span.is-on { background: var(--primary); color: #fff; }
.cs-view { position: absolute; left: 18px; bottom: 18px; z-index: 7; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 100px; font-size: 13px; font-weight: 500; color: #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); }

/* text side: rises in when its slide becomes active */
.cs-side > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cs.is-active .cs-side > * { opacity: 1; transform: none; }
.cs.is-active .cs-side > :nth-child(2) { transition-delay: .06s; } .cs.is-active .cs-side > :nth-child(3) { transition-delay: .12s; }
.cs.is-active .cs-side > :nth-child(4) { transition-delay: .18s; } .cs.is-active .cs-side > :nth-child(5) { transition-delay: .24s; }
.cs.is-active .cs-side > :nth-child(6) { transition-delay: .3s; }
.cs-name { display: flex; align-items: center; gap: 12px; font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.cs-wordmark { height: 38px; width: auto; }
.cs-appicon { width: 44px; height: 44px; border-radius: 12px; }
.cs-desc { font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); margin-top: 18px; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.cs-tags li { padding: 6px 12px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: rgba(255, 255, 255, .86); }
.cs-story { margin: 22px 0 0; }
.cs-story > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.cs-story dt { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, .5); padding-top: 3px; }
.cs-story > div:last-child dt { color: var(--t3); }
.cs-story dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.cs-stats { display: flex; gap: 26px; margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.cs-stats strong { display: block; font-size: 26px; font-weight: 700; line-height: 1; color: #fff; }
.cs-stats span { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 6px; max-width: 110px; }
.cs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; transition: border-color .2s, gap .3s var(--ease); }
.cs-link:hover { border-color: #fff; gap: 12px; }
.cs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.cs-actions .cs-link { margin-top: 0; }
.cs-visit { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 100px; background: #fff; color: var(--t2); font-size: 15px; font-weight: 600;
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); transition: background-color .25s, color .25s, gap .3s var(--ease), transform .3s var(--ease); }
.cs-visit:hover { background: var(--t3); color: var(--t2); gap: 12px; transform: translateY(-2px); }
.cs-visit:focus-visible, .cs-link:focus-visible { outline: 2px solid var(--t3); outline-offset: 3px; }

.deck-nav { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.deck-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .22); transition: background-color .2s, color .2s, border-color .2s; }
.deck-btn:hover { background: #fff; color: var(--primary); border-color: #fff; }
.deck-count { font-size: 14px; letter-spacing: 2px; color: rgba(255, 255, 255, .5); min-width: 64px; text-align: center; }
.deck-count b { color: #fff; font-weight: 600; }
.deck-cta { margin-left: auto; }

/* cursor bubble that follows the pointer over a canvas */
.cs-cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; pointer-events: none;
    transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0); scale: 0; transition: scale .35s var(--ease); }
.cs-cursor.is-on { scale: 1; }

/* full-size screenshot viewer */
.lb { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 64px 80px; background: rgba(8, 9, 10, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); animation: lbIn .35s var(--ease) both; background: #fff; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.lb-btn:hover { background: var(--accent-dark); color: #fff; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 14px; letter-spacing: 2px; color: rgba(255, 255, 255, .6); }

@media (max-width: 1199px) {
    .work-bar { flex-direction: column; align-items: flex-start; gap: 24px; }
    .work-tabs { width: 100%; }
    .work-tab { flex: 1; min-width: 0; }
    .cs { grid-template-columns: 1fr; gap: 28px; align-items: start; }
}
@media (max-width: 767px) {
    .work { padding-block: 72px; }
    .work-tab { padding: 10px 12px 12px; }
    .wt-name { font-size: 14px; }
    .cs-canvas { aspect-ratio: 4 / 3.6; border-radius: 18px; }
    .shot { width: calc(var(--w) * 1.35); }
    .shot.phone { width: calc(var(--w) * 1.45); }
    .shot .frame-bar { padding: 5px 8px; } .shot .frame-bar em { display: none; }
    .cs-chip { font-size: 12px; padding: 7px 11px; }
    .cs-langs { left: 50%; } .cs-langs span { font-size: 11px; padding: 5px 8px; }
    .cs-name { font-size: 30px; } .cs-wordmark { height: 30px; }
    .cs-story > div { grid-template-columns: 1fr; gap: 4px; }
    .deck-cta { display: none; }
    .lb { padding: 64px 12px; }
    .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
