/* =========================================================================
   IVONIX INFOTEK — design system v3
   Editorial studio style: Sora + Plus Jakarta Sans, electric-blue accent,
   two-line headlines, "— DASH" labels, alternating dark/light bands with a
   soft starfield + glow, white hairline cards, pill buttons with arrows.
   Single stylesheet, no framework, no build step.
   ========================================================================= */

:root {
    /* Accent */
    --accent: #3B63F6;
    --accent-600: #2F52DE;
    --accent-300: #7E9BFF;
    --cyan: #35C4EC;
    --coral: #F0703A;
    --tile-badge: #EAF1FB;

    /* Dark surfaces */
    --d-bg: #0B1728;
    --d-bg-2: #0E1E34;
    --d-card: rgba(255,255,255,.045);
    --d-line: rgba(255,255,255,.10);
    --d-ink: #F4F7FC;
    --d-body: #A6B4C8;
    --d-muted: #7C8AA0;

    /* Light surfaces */
    --ink: #0F1B2D;
    --body: #56637A;
    --muted: #8A97AC;
    --line: #E4E9F2;
    --bg: #FFFFFF;
    --bg-alt: #F5F7FB;
    --bg-alt2: #EEF1F8;

    /* Effects */
    --glow: 0 14px 44px rgba(59,99,246,.38);
    --shadow-xs: 0 1px 2px rgba(15,27,45,.05);
    --shadow-sm: 0 2px 8px rgba(15,27,45,.06), 0 12px 28px rgba(15,27,45,.05);
    --shadow-md: 0 20px 50px rgba(15,27,45,.12);
    --starfield:
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,.28), transparent 60%),
        radial-gradient(1.2px 1.2px at 68% 14%, rgba(255,255,255,.20), transparent 60%),
        radial-gradient(1.6px 1.6px at 84% 62%, rgba(255,255,255,.22), transparent 60%),
        radial-gradient(1.1px 1.1px at 32% 74%, rgba(255,255,255,.18), transparent 60%),
        radial-gradient(1.3px 1.3px at 52% 42%, rgba(255,255,255,.16), transparent 60%),
        radial-gradient(1.2px 1.2px at 8% 88%, rgba(255,255,255,.18), transparent 60%);
    --glow-blue: radial-gradient(48% 42% at 50% 8%, rgba(59,99,246,.30), transparent 70%);

    /* Geometry */
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --container: 1300px;
    --pad: clamp(1.1rem, 3vw, 1.6rem);
    --sec: clamp(2.75rem, 5.5vw, 4.25rem);
    --header-h: 76px;

    /* Type */
    --f-display: "Poppins", system-ui, sans-serif;
    --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: 1rem;              /* 16px base */
    line-height: 1.6;
    font-weight: 400;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}
h1, h2, h3, h4 {
    font-family: var(--f-display);
    color: var(--ink);
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); font-weight: 600; line-height: 1.16; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, [role="button"], .btn, summary, label { -webkit-tap-highlight-color: transparent; }
.btn, .nav-toggle, summary, input, select, textarea, [data-menu-trigger] { touch-action: manipulation; }
img, svg, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }
.section { padding-block: var(--sec); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--alt2 { background: var(--bg-alt2); }
.section--dark { background: var(--d-bg); color: var(--d-body); position: relative; overflow: hidden; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: var(--starfield), var(--glow-blue); background-repeat: no-repeat; pointer-events: none; }
.section--dark > .container { position: relative; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--d-ink); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* section label: — WHAT WE BUILD */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--f-body); text-transform: uppercase; letter-spacing: .16em;
    font-size: .72rem; font-weight: 700; color: var(--muted); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section--dark .eyebrow { color: var(--d-muted); }

.section__head { max-width: 640px; margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }
.section__head.center { margin-inline: auto; }
.section__head h2, .hero h1, .cta-band__title, .split h2, .casestrip h2 { white-space: pre-line; }
.section__intro { font-size: 1.05rem; margin: 0; }
.section--dark .section__intro { color: var(--d-body); }

/* accent word inside headings */
.hl { color: var(--accent); }
.section--dark .hl { color: var(--accent-300); }

/* pill badge */
.badge {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .5rem 1rem; border-radius: 999px;
    border: 1px solid var(--d-line); background: rgba(255,255,255,.04);
    color: var(--d-body); font-size: .82rem; font-weight: 500;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-300); box-shadow: 0 0 0 4px rgba(126,155,255,.18); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--f-body); font-weight: 600; font-size: .95rem; line-height: 1;
    min-height: 46px; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: transform .15s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn__i { font-size: 1.05em; transition: transform .2s ease; }
.btn:hover .btn__i { transform: translate(2px, -2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: var(--accent-600); color: #fff; box-shadow: 0 18px 52px rgba(59,99,246,.5); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { border-color: var(--d-line); color: #fff; background: rgba(255,255,255,.05); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .875rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.section--dark .btn--outline { background: transparent; border-color: var(--d-line); color: #fff; }
.section--dark .btn--outline:hover { border-color: #fff; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    padding-top: env(safe-area-inset-top);
    background: rgba(11,23,40,0);
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--line);
}
/* header sits over the dark hero: white text until scrolled */
.site-header:not(.is-scrolled) .primary-nav__link { color: #fff; }
.site-header:not(.is-scrolled) .nav-toggle { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.site-header:not(.is-scrolled) .nav-toggle__bar { background: #fff; }

.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__img { height: 34px; width: auto; display: block; }
/* light logo (white text) over the dark hero; dark logo (navy) once the header turns white */
.brand__img--dark { display: none; }
.site-header.is-scrolled .brand__img--light { display: none; }
.site-header.is-scrolled .brand__img--dark { display: block; }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav__list { display: flex; align-items: center; gap: .1rem; }
.primary-nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: var(--r-sm); color: var(--ink); font-weight: 500; font-size: .9375rem; }
.primary-nav__link:hover { background: rgba(127,127,127,.12); text-decoration: none; }
.has-menu { position: relative; }
.has-menu > .primary-nav__link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .55; }

.mega {
    position: absolute; top: calc(100% + .5rem); left: 50%; translate: -50% 0; width: min(520px, 90vw);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-md); padding: .7rem;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__list { display: grid; gap: 2px; }
.mega__list a { display: grid; gap: .1rem; padding: .7rem .8rem; border-radius: var(--r-sm); color: var(--ink); }
.mega__list a:hover { background: var(--bg-alt); text-decoration: none; }
.mega__list strong { font-family: var(--f-display); font-size: .92rem; }
.mega__list span { font-size: .82rem; color: var(--muted); }

/* rich mega menu — icon badge + title + tagline, two columns */
.mega--rich { width: min(600px, 92vw); padding: .6rem; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__grid a { display: flex; align-items: flex-start; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; color: var(--ink); }
.mega__grid a:hover { background: var(--bg-alt); text-decoration: none; }
.mega__ic {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(140deg, var(--accent), var(--accent-300));
}
.mega__ic .icon { width: 17px; height: 17px; }
.mega__txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.mega__txt strong { font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--accent); line-height: 1.25; }
.mega__txt span { font-size: .8rem; color: var(--body); line-height: 1.4; }
.mega__all {
    display: flex; align-items: center; gap: .35rem; justify-content: flex-end;
    margin: .35rem .2rem 0; padding-top: .6rem; border-top: 1px solid var(--line);
    font-family: var(--f-display); font-weight: 600; font-size: .78rem; color: var(--accent);
}
.mega__all:hover { text-decoration: none; gap: .55rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle__bar { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: left;
    color: var(--d-body);
    background:
        radial-gradient(38% 46% at 100% 0%, rgba(59,99,246,.24), transparent 62%),
        radial-gradient(44% 54% at 0% 100%, rgba(53,196,236,.14), transparent 60%),
        var(--d-bg);
    padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
    margin-top: calc(-1 * var(--header-h)); padding-top: calc(clamp(1.5rem, 4vw, 2.5rem) + var(--header-h) + env(safe-area-inset-top));
}
/* faint full-bleed dot grid — fills the width, fades toward the centre */
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.5px);
    background-size: 34px 34px;
    -webkit-mask: radial-gradient(72% 64% at 50% 42%, transparent 22%, #000 92%);
            mask: radial-gradient(72% 64% at 50% 42%, transparent 22%, #000 92%);
}
.hero::after { content: ""; position: absolute; left: 58%; top: -8%; width: 900px; height: 640px; translate: -50% 0; background: radial-gradient(50% 50% at 50% 50%, rgba(59,99,246,.26), transparent 70%); pointer-events: none; }

.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__stars .tw { animation: twinkle 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 0%, 100% { opacity: .1; } 50% { opacity: .95; } }

.hero__inner {
    position: relative; z-index: 2; margin-inline: auto;
    display: grid; grid-template-columns: 1fr 1.16fr; gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: stretch;
}
.hero__col { min-width: 0; }
.hero h1 { color: #fff; font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.16; margin: 0 0 1.1rem; white-space: pre-line; min-height: 2.7em; }

/* typewriter */
.hero h1[data-typewriter].is-typing::after,
.hero h1[data-typewriter].is-typed::after {
    content: ""; display: inline-block; width: 4px; height: .82em;
    margin-left: 6px; vertical-align: -0.06em; background: var(--accent-300);
    animation: caret 1s steps(1) infinite;
}
.hero h1[data-typewriter].is-typed::after { animation-duration: 1.2s; opacity: .55; }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.hero h1 .hl { color: var(--accent-300); }
.hero h1 .dim { color: rgba(255,255,255,.62); }
.hero__kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--accent-300); font-weight: 700; font-size: .92rem; margin: 0 0 1.1rem;
}
.hero__kicker::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-300); box-shadow: 0 0 0 4px rgba(126,155,255,.18);
}
.hero__lead { font-size: 1.14rem; max-width: 46ch; margin: 0 0 1.9rem; color: var(--d-body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero .btn--outline { background: transparent; border-color: var(--d-line); color: #fff; }
.hero .btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.04); }

.hero__proof {
    display: flex; align-items: center; gap: .95rem;
    margin-top: clamp(1.6rem, 4vw, 2.4rem); padding-top: clamp(1.6rem, 4vw, 2.4rem);
    border-top: 1px solid rgba(255,255,255,.09);
}
.hero__proof p { margin: 0; font-size: .92rem; color: var(--d-muted); }
.hero__proof strong { color: #fff; font-weight: 700; }
.hero__proof-avatars { display: inline-flex; flex: none; }
.hero__proof-avatars i {
    width: 34px; height: 34px; border-radius: 50%; margin-left: -11px;
    background: linear-gradient(135deg, var(--accent), var(--accent-300));
    border: 2px solid var(--d-bg);
}
.hero__proof-avatars i:first-child { margin-left: 0; }

.hero__viz { min-width: 0; position: relative; }
.hero__viz::before {
    content: ""; position: absolute; inset: 4% -4% -2% -4%;
    background: radial-gradient(58% 56% at 52% 46%, rgba(59,99,246,.14), transparent 72%);
    pointer-events: none;
}
.hero__viz-img { position: relative; width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 70px rgba(0,0,0,.42)); }
@media (min-width: 1025px) {
    .hero__viz { display: flex; align-items: stretch; justify-content: center; }
    .hero__viz-img { width: 100%; height: 100%; object-fit: contain; object-position: center; margin: 0; }
}

/* trust bar */
.trustbar { background: var(--d-bg); border-top: 1px solid rgba(255,255,255,.07); padding: clamp(1.6rem, 4vw, 2.4rem) 0 clamp(2rem, 5vw, 2.8rem); }
.trustbar__label { text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--d-muted); margin: 0 0 1.2rem; }
.trustbar__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 2.6rem; }
.trustbar__logos li { font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em; color: #fff; opacity: .4; text-transform: uppercase; white-space: nowrap; }
.hero__chart { width: 100%; }
.hero__chart svg { border-radius: 12px; background: #071730; }

.hero__contact { margin-top: clamp(1rem, 3vw, 1.75rem); display: inline-flex; align-items: center; gap: 1rem; }
.hero__contact__ic {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 50%;
    border: 1px solid var(--d-line); background: rgba(255,255,255,.045); color: var(--accent-300);
}
.hero__contact__ic svg { width: 26px; height: 26px; }
.hero__contact__txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding-left: 1rem; border-left: 2px solid var(--accent); }
.hero__contact__txt small { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--d-muted); margin-bottom: .15rem; }
.hero__contact__txt a { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.6vw, 1.5rem); color: #fff; letter-spacing: -.01em; }
.hero__contact__txt a:hover { color: var(--accent-300); text-decoration: none; }

/* ---------- split (text + card) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__panel {
    background: var(--d-bg-2); color: var(--d-body); border-radius: var(--r-xl);
    padding: 1.8rem; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.06);
}
.split__panel::before { content: ""; position: absolute; inset: 0; background: var(--starfield); background-repeat: no-repeat; }
.split__panel h3 { position: relative; color: #fff; font-size: 1rem; }
.split__panel ul { position: relative; display: grid; gap: .85rem; margin-top: 1rem; }
.split__panel li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.split__panel li::before { content: ""; flex: none; margin-top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--accent-300); border-bottom: 2px solid var(--accent-300); transform: rotate(-45deg); }

/* ---------- cards ---------- */
.card-grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    display: flex; flex-direction: column; gap: .5rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.5rem; color: var(--body); text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #cfd8e8; text-decoration: none; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: .5rem; color: var(--accent); background: rgba(59,99,246,.10); }
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-family: var(--f-display); margin: 0; }
.card__tag { font-weight: 600; color: var(--accent); margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.card__text { margin: 0; font-size: .94rem; }
.card__more { margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--accent); font-size: .88rem; display: inline-flex; gap: .3rem; }
.card__more::after { content: "→"; transition: transform .2s ease; }
a.card:hover .card__more::after { transform: translateX(3px); }
.section--dark .card { background: var(--d-card); border-color: var(--d-line); color: var(--d-body); box-shadow: none; }
.section--dark .card__title { color: var(--d-ink); }
.section--dark .card__icon { background: rgba(126,155,255,.14); color: var(--accent-300); }

/* value cards (dark "built different") */
.value-card { padding: 1.5rem; }
.value-card b { font-family: var(--f-display); color: #fff; font-size: 1.05rem; display: block; margin-bottom: .35rem; }
.value-card p { margin: 0; font-size: .92rem; }

/* ---------- work / project cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filters button {
    font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer;
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--body);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 2vw, 1.4rem); }
.work {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs); text-decoration: none; color: var(--body);
    transition: transform .18s ease, box-shadow .25s ease;
}
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); text-decoration: none; }
.work__thumb { aspect-ratio: 16 / 10; position: relative; display: flex; align-items: flex-end; padding: 1rem; }
.work__thumb b { position: relative; font-family: var(--f-display); font-weight: 800; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.work__thumb::after { content: ""; position: absolute; inset: 0; background: var(--starfield); background-repeat: no-repeat; opacity: .5; }
.work__thumb--photo { background-size: cover; background-position: center 30%; background-color: #eef2fb; }
.work__thumb--photo::after {
    background: linear-gradient(180deg, transparent 55%, rgba(11,23,40,.22) 100%);
    opacity: 1;
}
.work__thumb--photo b {
    font-size: 1rem; text-shadow: none;
    background: rgba(11,23,40,.8); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    padding: .42rem .8rem; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.28);
    max-width: calc(100% - .5rem);
}
.work__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.work__cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.work__body p { margin: 0; font-size: .93rem; }
.work__metric { margin-top: auto; font-size: .82rem; color: var(--muted); }
.work__metric strong { color: var(--ink); }

/* thumbnail gradients */
.g-blue   { background: linear-gradient(135deg,#1d3fb0,#3B63F6); }
.g-cyan   { background: linear-gradient(135deg,#0e5a86,#35C4EC); }
.g-teal   { background: linear-gradient(135deg,#0c5a52,#14b8a6); }
.g-violet { background: linear-gradient(135deg,#3b2b8f,#7c5cff); }
.g-magenta{ background: linear-gradient(135deg,#7a1f63,#d6409f); }
.g-slate  { background: linear-gradient(135deg,#1c2b45,#3d5170); }

/* ---------- feature callout + tile grid ---------- */
/* these sections sit right under the hero — tighten the top */
#travel-crm-features, #travel-website-features {
    padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
    padding-bottom: clamp(3rem, 6vw, 4.25rem);
}
#travel-crm-features .section__head, #travel-website-features .section__head {
    margin-bottom: clamp(1.3rem, 3vw, 1.9rem);
}

.callout {
    display: flex; gap: .9rem; align-items: flex-start;
    max-width: 780px; margin: 0 0 clamp(1.5rem, 3.5vw, 2.2rem);
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent);
    border-radius: var(--r); padding: 1rem 1.25rem; box-shadow: var(--shadow-xs);
}
.callout__ic {
    flex: none; width: 38px; height: 38px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--coral); background: var(--tile-badge);
}
.callout__ic .ficon { width: 20px; height: 20px; }
.callout p { margin: 0; font-size: .96rem; color: var(--body); line-height: 1.55; }
.callout strong { color: var(--ink); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.feat {
    position: relative; overflow: hidden;
    display: flex; gap: .85rem; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: .95rem 1.05rem; box-shadow: var(--shadow-xs);
    transition: transform .16s ease, box-shadow .22s ease, border-color .22s ease;
}
.feat::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--accent); transform: scaleY(0); transform-origin: center;
    transition: transform .22s ease;
}
.feat:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #cbd6ea; }
.feat:hover::before { transform: scaleY(1); }
.feat__ic {
    flex: none; width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--coral); background: var(--tile-badge);
    transition: transform .2s ease, background .2s ease;
}
.feat__ic .ficon { width: 24px; height: 24px; }
.feat:hover .feat__ic { transform: scale(1.06); background: #E3ECF9; }
.feat__txt { min-width: 0; }
.feat__txt b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.25; }
.feat__txt span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }

/* ---------- white label solutions ---------- */
.wl-hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.wl-hero__text h2 { white-space: pre-line; font-size: clamp(1.5rem, 2.9vw, 2.05rem); line-height: 1.14; }
.wl-grad {
    background: linear-gradient(90deg, var(--accent) 15%, #7C5CFF 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wl-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.4rem; margin-top: 1.4rem; }
.wl-checks li { position: relative; padding-left: 1.9rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.wl-checks li::before {
    content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
    background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.wl-label {
    display: inline-flex; align-items: center; gap: .55rem;
    text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
    font-weight: 700; color: var(--accent); margin: 0 0 1.1rem;
}
.wl-label::before { content: ""; width: 20px; height: 2px; background: var(--accent); }

.wl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.wl-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .3rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 1.05rem 1.1rem 1.2rem; box-shadow: var(--shadow-xs);
    transition: transform .16s ease, box-shadow .22s ease;
}
.wl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.wl-card__ic {
    width: 42px; height: 42px; border-radius: 50%; margin-bottom: .35rem;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--wl, var(--accent));
    background: color-mix(in srgb, var(--wl, var(--accent)) 13%, #fff);
}
.wl-card__ic .icon { width: 21px; height: 21px; }
.wl-card h3 { font-family: var(--f-display); font-size: .92rem; margin: 0; }
.wl-card p { margin: 0; font-size: .8rem; color: var(--body); line-height: 1.5; }
.wl-card__bar { margin-top: .55rem; width: 28px; height: 3px; border-radius: 2px; background: var(--wl, var(--accent)); }
.wl-card--0 { --wl: #3B63F6; } .wl-card--1 { --wl: #16A34A; } .wl-card--2 { --wl: #7C5CFF; }
.wl-card--3 { --wl: #F59E0B; } .wl-card--4 { --wl: #EC4899; } .wl-card--5 { --wl: #14B8A6; }
.wl-card--6 { --wl: #9333EA; grid-column: 1 / -1; flex-direction: row; align-items: center; }
.wl-card--6 .wl-card__ic { margin-bottom: 0; }
.wl-card--6 .wl-card__bar { display: none; }

.wl-tagline {
    text-align: center; margin: clamp(2rem, 5vw, 3rem) 0 0;
    text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--muted);
}
.wl-tagline span { color: var(--accent); }

/* white label on dark */
.section--dark .wl-grad { background: linear-gradient(90deg, var(--accent-300) 10%, #A78BFA 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--dark .wl-checks li { color: var(--d-body); }
.section--dark .wl-label { color: var(--accent-300); }
.section--dark .wl-label::before { background: var(--accent-300); }
.section--dark .wl-card {
    background: var(--d-card); border-color: var(--d-line); box-shadow: none;
}
.section--dark .wl-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .38); }
.section--dark .wl-card h3 { color: var(--d-ink); }
.section--dark .wl-card p { color: var(--d-body); }
.section--dark .wl-card__ic { background: color-mix(in srgb, var(--wl, var(--accent)) 22%, transparent); }
.section--dark .wl-tagline { color: var(--d-muted); }
.section--dark .wl-tagline span { color: var(--accent-300); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.8vw, 1.2rem); }
.steps__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem; box-shadow: var(--shadow-xs); }
.steps__num { font-family: var(--f-display); font-weight: 800; color: var(--accent); font-size: .92rem; letter-spacing: .06em; }
.steps__item h3 { font-family: var(--f-display); margin: .4rem 0 .3rem; font-size: 1rem; }
.steps__item p { margin: 0; font-size: .88rem; }

/* ---------- dashed centred label ("— HOW WE WORK —") ---------- */
.dash-label {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 700;
    color: var(--accent); margin: 0 0 1.1rem;
}
.dash-label::before, .dash-label::after {
    content: ""; width: clamp(28px, 6vw, 60px); height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), #7C5CFF);
}

/* ---------- process ("From first call to launch") ---------- */
.proc { position: relative; overflow: hidden; background: linear-gradient(180deg, #F3F5FC, #EDF0FA); }
.proc__title { white-space: pre-line; max-width: 24ch; margin-inline: auto; font-size: clamp(1.5rem, 2.9vw, 2.05rem); }
.proc__lead { text-align: center; max-width: 52ch; margin: 0 auto clamp(3rem, 7vw, 4.5rem); color: var(--body); }

.proc-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: start; }
.proc-card {
    position: relative; margin-top: var(--o, 0);
    background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9);
    border-radius: 22px; padding: 3.2rem 1.2rem 1.5rem;
    box-shadow: 0 20px 40px rgba(60,80,160,.10); backdrop-filter: blur(4px);
}
.proc-card::before {
    content: ""; position: absolute; inset: 18px -6px -12px 6px; z-index: -1; border-radius: 26px;
    background: var(--pc, var(--accent)); opacity: .12; filter: blur(6px);
}
.proc-card--0 { --o: 0;    --pc: #3B63F6; }
.proc-card--1 { --o: 42px; --pc: #7C5CFF; }
.proc-card--2 { --o: 70px; --pc: #14B8A6; }
.proc-card--3 { --o: 42px; --pc: #F59E0B; }
.proc-card--4 { --o: 0;    --pc: #8B5CF6; }
.proc-card__ill {
    position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
    width: 64px; height: 64px; border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(145deg, var(--pc), color-mix(in srgb, var(--pc) 55%, #fff));
    box-shadow: 0 14px 26px color-mix(in srgb, var(--pc) 40%, transparent);
}
.proc-card__ill .ficon { width: 30px; height: 30px; }
.proc-card__num {
    position: absolute; top: 14px; left: 14px;
    width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--d-bg); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .8rem;
}
.proc-card h3 { font-family: var(--f-display); font-size: 1.1rem; margin: .2rem 0 .5rem; }
.proc-card p { margin: 0; font-size: .84rem; color: var(--body); line-height: 1.55; }

.proc-pills {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
    margin-top: clamp(2rem, 5vw, 3.25rem); position: relative;
}
.proc-pills::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 7px;
    border-top: 2px dashed #C4CEE6;
}
.proc-pill { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; }
.proc-pill__dot {
    width: 14px; height: 14px; border-radius: 50%; background: var(--pc, var(--accent));
    box-shadow: 0 0 0 5px #F1F4FC; position: relative; z-index: 1;
}
.proc-pill__ic {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--pc, var(--accent)); background: color-mix(in srgb, var(--pc, var(--accent)) 12%, #fff);
}
.proc-pill__ic .icon { width: 18px; height: 18px; }
.proc-pill span:last-child { font-size: .82rem; font-weight: 600; color: var(--ink); max-width: 16ch; }
.proc-pill--0 { --pc: #3B63F6; } .proc-pill--1 { --pc: #7C5CFF; } .proc-pill--2 { --pc: #14B8A6; }
.proc-pill--3 { --pc: #F59E0B; } .proc-pill--4 { --pc: #8B5CF6; }

/* ---------- testimonials — world-map carousel ("Trusted by Travel Businesses") ---------- */
.tworld { position: relative; overflow: hidden; background: linear-gradient(180deg, #F4F8FE, #EAF1FB); padding-block: clamp(2.4rem, 5vw, 3.8rem); }
.tworld__map {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url("../img/world-dots.svg") no-repeat center 52%;
    background-size: min(1180px, 118%) auto; opacity: .6;
    -webkit-mask-image: radial-gradient(125% 80% at 50% 45%, #000 40%, transparent 92%);
            mask-image: radial-gradient(125% 80% at 50% 45%, #000 40%, transparent 92%);
}
.tworld__sky { position: absolute; top: clamp(1rem, 5vw, 3rem); left: 0; width: 100%; height: auto; z-index: 0; pointer-events: none; }
.tworld > .container { position: relative; z-index: 1; }

.tworld__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: clamp(1.4rem, 3.5vw, 2.2rem); }
.tworld__title { font-size: clamp(1.45rem, 2.8vw, 2.05rem); line-height: 1.14; letter-spacing: -.02em; }
.tworld__lead { margin-top: .55rem; max-width: 44ch; color: var(--body); font-size: .95rem; }
.tworld__script {
    flex: none; font-family: var(--f-display); font-style: italic; font-weight: 600;
    text-align: right; line-height: 1.3; font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--accent); opacity: .85;
}

/* --- carousel --- */
.tcar { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.4rem, 2vw, 1.2rem); }
.tcar__viewport { overflow: hidden; padding-block: .8rem; }
.tcar__track {
    display: flex; gap: clamp(1rem, 2.5vw, 1.6rem); list-style: none; margin: 0; padding: 0;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform;
}

.tcard {
    flex: 0 0 clamp(300px, 58vw, 600px); box-sizing: border-box;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: clamp(1.3rem, 2.6vw, 1.9rem);
    box-shadow: 0 4px 14px rgba(20, 45, 90, .05);
    transform: scale(.9); opacity: .45; transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .6s ease, box-shadow .6s ease;
}
.tcard.is-active { transform: scale(1); opacity: 1; box-shadow: 0 30px 60px rgba(20, 45, 90, .14); }

.tcard__head { display: flex; align-items: center; gap: .8rem; }
.tcard__av {
    flex: none; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .85rem;
    background: linear-gradient(140deg, var(--accent), var(--accent-300));
}
.tcard__id { display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.tcard__id b { font-family: var(--f-display); color: var(--ink); font-size: 1rem; }
.tcard__id > span { font-size: .82rem; color: var(--muted); }
.tcard__co { color: var(--accent); font-weight: 600; }
.tcard__stars { color: #F5A623; font-size: .88rem; letter-spacing: 2px; line-height: 1; margin-top: .15rem; }

.tcard__mark { display: block; font-family: var(--f-display); font-weight: 800; font-size: 2.1rem; line-height: .6; color: var(--accent); opacity: .28; margin: .7rem 0 .35rem; }
.tcard blockquote { margin: 0; font-size: clamp(.92rem, 1.5vw, 1rem); line-height: 1.55; color: var(--body); }

.tcard__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.tcard__chips span {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .76rem; font-weight: 600; color: var(--accent);
    background: rgba(59, 99, 246, .08); border-radius: 999px; padding: .38rem .85rem;
}
.tcard__chips .icon { width: 15px; height: 15px; }

/* --- nav arrows + dots --- */
.tcar__nav {
    flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: var(--accent);
    background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(20, 45, 90, .1);
    transition: transform .25s ease, color .25s ease, background .25s ease;
}
.tcar__nav:hover { background: var(--accent); color: #fff; transform: scale(1.06); }
.tcar__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tcar__dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: .5rem; margin-top: .9rem; }
.tcar__dot {
    width: 8px; height: 8px; border-radius: 50%; cursor: pointer; padding: 0;
    background: var(--accent); opacity: .28; border: 0;
    transition: opacity .25s ease, width .25s ease, border-radius .25s ease;
}
.tcar__dot:hover { opacity: .55; }
.tcar__dot.is-active { opacity: 1; width: 22px; border-radius: 4px; }
.tcar__dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .tcar__track, .tcard { transition: none; }
}

/* ---------- stats band ---------- */
.stats-band { background: var(--d-bg); color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: var(--starfield), var(--glow-blue); background-repeat: no-repeat; }
.stats-band__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); }
.stats-band__item { text-align: center; }
.stats-band__value { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: #fff; display: block; letter-spacing: -.02em; }
.stats-band__label { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: .3rem; display: block; }

/* ---------- case strip ---------- */
.casestrip { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.casestrip__metrics { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 1.4rem; }
.casestrip__metrics span { border: 1px solid var(--d-line); border-radius: 12px; padding: .7rem 1rem; font-family: var(--f-display); font-weight: 700; color: #fff; font-size: 1rem; }
.casestrip__metrics small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--d-muted); font-size: .72rem; margin-top: .15rem; }

/* ---------- client logo marquee (dark) ---------- */
.clients .section__head { margin-bottom: clamp(1.8rem, 4.5vw, 2.8rem); }
.marquee {
    position: relative; 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);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-tile {
    flex: none; display: grid; place-items: center;
    width: clamp(180px, 17vw, 228px); height: 108px;
    margin-right: clamp(1rem, 2.2vw, 1.5rem); padding: 0 1.6rem;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.logo-tile img {
    max-width: min(100%, 174px); max-height: 64px; width: auto; height: auto;
    object-fit: contain; display: block;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .38); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; }
    .marquee__track { animation: none; }
}

/* ---------- pricing / engagement ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.8rem; box-shadow: var(--shadow-xs); }
.plan--featured { background: var(--d-bg); color: var(--d-body); border-color: var(--d-bg); box-shadow: var(--shadow-md); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__name { font-family: var(--f-display); font-size: 1.1rem; }
.plan__price { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); margin: .3rem 0 1rem; }
.plan ul { display: grid; gap: .6rem; margin: 1rem 0 1.4rem; }
.plan li { position: relative; padding-left: 1.6rem; font-size: .92rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan--featured li::before { border-color: var(--accent-300); }

/* ---------- ticks / chips ---------- */
.ticks { display: grid; gap: .6rem; margin: .3rem 0 1.4rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 13px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks.two-col { grid-template-columns: 1fr 1fr; gap: .6rem 1.6rem; }
.section--dark .ticks li::before { border-color: var(--accent-300); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .3rem 0 0; }
.chips li { font-size: .8rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; color: var(--body); }
.chips strong { color: var(--ink); }
.section--dark .chips li { background: rgba(255,255,255,.05); border-color: var(--d-line); color: var(--d-body); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.3rem; box-shadow: var(--shadow-xs); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 0; font-family: var(--f-display); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { padding-bottom: .5rem; }
.faq p { margin: 0 0 1.15rem; font-size: .96rem; }

/* ---------- quotes ---------- */
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow-xs); }
.quote blockquote { margin: 0 0 1rem; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.quote blockquote::before { content: "\201C"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: .1em; }
.quote__name { display: block; font-weight: 700; color: var(--ink); }
.quote__role { display: block; font-size: .84rem; color: var(--muted); }

/* ---------- tech grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.tech-grid__group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-xs); }
.tech-grid__group h3 { font-family: var(--f-display); font-size: 1rem; color: var(--accent); margin-bottom: .7rem; }
.tech-grid__group li { padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.tech-grid__group li:last-child { border-bottom: 0; }

/* ---------- pill grid ---------- */
.pill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pill-grid__item { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; font-family: var(--f-display); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-xs); }
.pill-grid__icon { color: var(--accent); display: inline-flex; }

/* ---------- CTA (dark, with form) ---------- */
.cta-band { background: var(--d-bg); color: var(--d-body); padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--starfield), var(--glow-blue); background-repeat: no-repeat; }
.cta-band__inner { position: relative; }
.cta-band__head { max-width: 620px; margin-bottom: 2.2rem; }
.cta-band__title { color: #fff; margin: 0 0 .6rem; }
.cta-band__lead { color: var(--d-body); margin: 0; }
.cta-band__actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ---------- page hero (inner) ---------- */
.page-hero {
    position: relative; overflow: hidden; background: var(--d-bg); color: var(--d-body);
    padding-block: clamp(2.4rem, 6vw, 4rem) clamp(2.4rem, 6vw, 4rem);
    margin-top: calc(-1 * var(--header-h));
    padding-top: calc(clamp(2.4rem, 6vw, 4rem) + var(--header-h) + env(safe-area-inset-top));
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--starfield), var(--glow-blue); background-repeat: no-repeat; }
.page-hero > .container { position: relative; }
.page-hero__kicker { color: var(--d-muted); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.page-hero__kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.page-hero__title { color: #fff; margin: 0 0 .8rem; max-width: 20ch; }
.page-hero__lead { font-size: 1.12rem; max-width: 62ch; margin: 0; color: var(--d-body); }
.breadcrumb { margin: 0 0 1.4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--d-muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .5; }
.breadcrumb a { color: var(--d-body); }
.breadcrumb [aria-current="page"] { color: #fff; }

/* ---------- services / industries list ---------- */
.service-list { display: grid; gap: clamp(1rem, 3vw, 1.8rem); }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-xs); scroll-margin-top: 100px; }
.service h2 { font-size: 1.4rem; }
.service__outcome { font-size: .92rem; color: var(--accent); }
.service__caps { align-self: center; margin: 0; }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.product-detail h2 { font-size: 1.3rem; margin-top: 1.7rem; }
.product-detail h2:first-child { margin-top: 0; }
.lead-tag { font-size: 1.1rem; font-weight: 600; color: var(--accent); font-family: var(--f-display); margin: 0 0 1rem; }
.panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.6rem; position: sticky; top: 100px; }
.panel h2, .panel h3 { font-family: var(--f-display); margin-top: 0; }
.stat-list { display: grid; gap: 1rem; margin: 0 0 1.3rem; }
.stat-list__value { display: block; font-family: var(--f-display); font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.stat-list__label { display: block; font-size: .87rem; color: var(--muted); }

/* ---------- case studies page ---------- */
.case-list { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: var(--shadow-xs); }
.case__head h2 { font-size: 1.4rem; margin: .2rem 0 0; }
.case__body { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.5rem, 4vw, 2.5rem); margin-top: 1rem; }
.case__body h3 { font-family: var(--f-display); font-size: .95rem; color: var(--accent); margin: 1rem 0 .3rem; }
.case__body h3:first-child { margin-top: 0; }

/* ---------- insights ---------- */
.post-list { display: grid; gap: 1.6rem; }
.post-list__item { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.post-list__item h2 { font-size: 1.3rem; margin: .2rem 0 .4rem; }
.post-back { margin-top: 2rem; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.9rem; }
.prose p { margin: 0 0 1.1rem; }

/* ---------- about ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.pillars__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.7rem; box-shadow: var(--shadow-xs); }
.pillars__word { display: inline-block; font-family: var(--f-body); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--accent); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.pillars__item h2 { font-size: 1.2rem; }
.timeline { display: grid; gap: 1.3rem; border-left: 2px solid var(--line); padding-left: 1.5rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 6px); top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(59,99,246,.16); }
.timeline__year { font-family: var(--f-display); font-weight: 800; color: var(--accent); margin-right: .5rem; }
.jobs { display: grid; gap: 1rem; }
.job { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-xs); }
.job__head h3 { font-family: var(--f-display); margin: 0; }
.job__meta { margin: .25rem 0 0; font-size: .85rem; color: var(--muted); }
.job__summary { grid-column: 1 / -1; margin: 0; font-size: .95rem; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form-card { background: var(--d-bg-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-xl); padding: clamp(1.4rem, 4vw, 2rem); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0; background: var(--starfield); background-repeat: no-repeat; }
.form-card > * { position: relative; }
.form-card .field label { color: rgba(255,255,255,.82); }
.form-card .field input, .form-card .field select, .form-card .field textarea { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #fff; }
.form-card .field select { background-color: var(--d-bg-2); }
/* native option list renders on a white sheet — force dark text so items are legible */
.field select option, .form-card .field select option { color: var(--ink); background: #fff; }
.form-card .field input::placeholder, .form-card .field textarea::placeholder { color: rgba(255,255,255,.4); }
.form-card .field__hint { color: rgba(255,255,255,.5); }
.field { display: grid; gap: .35rem; margin-bottom: 1.05rem; }
.field label { font-weight: 600; font-size: .86rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .8rem .9rem; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(59,99,246,.16); }
.field textarea { resize: vertical; }
.field__hint { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.field .text-danger, .field span[data-valmsg-for] { color: #ff8a8a; font-size: .82rem; }
.input-validation-error { border-color: #ff8a8a !important; }
.notice { border-radius: var(--r-sm); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.notice--success { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #6ee7b7; }
.notice--error { background: rgba(255,120,120,.12); border: 1px solid rgba(255,120,120,.4); color: #fca5a5; }
.notice--error:empty { display: none; }
.contact__list { display: grid; gap: .95rem; }
.contact__list li { display: grid; grid-template-columns: 92px 1fr; gap: .5rem; font-size: .95rem; }
.contact__list span:first-child { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .2rem; }
.map { margin-top: 1.2rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--d-bg); color: var(--d-body); padding-block: clamp(2rem, 4.5vw, 3rem) 1.25rem; font-size: .9rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--starfield); background-repeat: no-repeat; }
.site-footer > * { position: relative; }
.site-footer h3 { font-family: var(--f-body); color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .85rem; }
.site-footer a { color: var(--d-body); }
.site-footer a:hover { color: #fff; }

.site-footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.site-footer__col ul, .site-footer__contact ul { display: grid; gap: .5rem; font-size: .88rem; }
.site-footer__contact li { line-height: 1.5; }
.site-footer__logo { height: 30px; width: auto; margin-bottom: .9rem; }
.site-footer__blurb { max-width: 42ch; margin: 0 0 1.1rem; line-height: 1.6; font-size: .88rem; }

.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; text-transform: uppercase;
    font-family: var(--f-display); font-weight: 700; font-size: .74rem;
    border: 1px solid var(--d-line); color: var(--d-body);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

/* SEO keyword band */
.site-footer__seo {
    margin-top: clamp(1.6rem, 3vw, 2.2rem); padding-top: clamp(1.3rem, 2.5vw, 1.8rem);
    border-top: 1px solid var(--d-line);
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem 2rem;
}
.seo-group__head {
    display: inline-block; font-family: var(--f-display); font-weight: 600;
    font-size: .8rem; color: var(--accent-300); margin-bottom: .3rem;
}
.seo-group__head:hover { color: #fff; text-decoration: none; }
.seo-group__terms { margin: 0; font-size: .72rem; line-height: 1.65; color: var(--d-muted); }
.seo-group__terms a { color: var(--d-muted); }
.seo-group__terms a:hover { color: var(--d-body); text-decoration: none; }
.seo-group__terms span { color: rgba(255,255,255,.16); }

.site-footer__legal {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    margin-top: clamp(1.4rem, 3vw, 2rem); padding-top: 1.2rem;
    border-top: 1px solid var(--d-line); font-size: .8rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 1.3rem; }
.site-footer__bharat { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--d-body); }
.site-footer__bharat .flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

.to-top {
    position: absolute; right: clamp(1rem, 4vw, 2.4rem); bottom: clamp(4.5rem, 9vw, 6rem);
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: var(--d-bg-2); border: 1px solid var(--d-line); color: var(--d-body);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* ---------- industry / product landing pages ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--accent); }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover span { transform: translateX(3px); }

.hero--lp h1 { min-height: 0; }
.lp-frame {
    position: relative; background: var(--d-bg-2); border: 1px solid var(--d-line);
    border-radius: var(--r-xl); padding: clamp(.9rem, 2.5vw, 1.4rem);
    box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.lp-frame :is(svg, img) { border-radius: 12px; display: block; width: 100%; height: auto; }
.lp-hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.6rem 0 0; }
.lp-hero-points li { position: relative; padding-left: 1.4rem; font-size: .85rem; color: var(--d-body); }
.lp-hero-points li::before {
    content: ""; position: absolute; left: 0; top: .35em; width: 11px; height: 7px;
    border-left: 2px solid var(--accent-300); border-bottom: 2px solid var(--accent-300); transform: rotate(-45deg);
}

.lp-strip-sec { padding-block: clamp(1.6rem, 3.5vw, 2.4rem); }
.lp-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1rem, 3vw, 2rem);
}
.lp-strip li { text-align: center; }
.lp-strip b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--accent); letter-spacing: -.02em; }
.lp-strip span { font-size: .8rem; color: var(--muted); }

.lp-shift { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.8rem); }
.lp-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 1.9rem); box-shadow: var(--shadow-xs); }
.lp-col--gain { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); box-shadow: 0 24px 50px rgba(59,99,246,.12); }
.lp-col__label { font-family: var(--f-body); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 700; color: var(--muted); margin: 0 0 1.1rem; }
.lp-col--gain .lp-col__label { color: var(--accent); }
.lp-item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--line); }
.lp-item:first-of-type { border-top: 0; padding-top: 0; }
.lp-item b { display: block; font-family: var(--f-display); font-size: .92rem; color: var(--ink); margin-bottom: .1rem; }
.lp-item > span:last-child { font-size: .86rem; color: var(--body); line-height: 1.5; }
.lp-item__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.lp-item__mark--x { background: rgba(120,130,150,.14); color: var(--muted); font-size: 1rem; }
.lp-item__mark--check { background: var(--accent); color: #fff; }

.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); list-style: none; counter-reset: none; }
.lp-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.6rem); box-shadow: var(--shadow-xs); }
.lp-step__no { font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: #fff; background: linear-gradient(140deg, var(--accent), var(--accent-300)); width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: .9rem; }
.lp-step h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.lp-step p { margin: 0; font-size: .88rem; color: var(--body); line-height: 1.55; }

.lp-quote-sec { padding-top: 0; }
.lp-quote { max-width: 760px; margin: 0 auto; text-align: center; position: relative; }
.lp-quote__mark { font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: .5; color: var(--accent); opacity: .22; display: block; margin-bottom: .4rem; }
.lp-quote blockquote { margin: 0 0 1.4rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.lp-quote figcaption { display: inline-flex; align-items: center; gap: .8rem; }
.lp-quote__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .85rem; background: linear-gradient(140deg, var(--accent), var(--accent-300)); }
.lp-quote figcaption > span { display: flex; flex-direction: column; text-align: left; }
.lp-quote figcaption b { font-family: var(--f-display); color: var(--ink); font-size: .95rem; }
.lp-quote figcaption span span { font-size: .82rem; color: var(--muted); }

.lp-form-wrap { max-width: 560px; margin: 0 auto; }

@media (max-width: 900px) {
    .lp-strip { grid-template-columns: repeat(2, 1fr); }
    .lp-shift { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .lp-strip, .lp-steps { grid-template-columns: 1fr; }
}

/* ---------- request-a-demo popup ---------- */
.demo-dialog {
    border: 0; padding: 0; max-width: 460px; width: calc(100% - 2rem);
    border-radius: var(--r-xl); background: var(--d-bg-2); color: var(--d-body);
    box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.demo-dialog::backdrop { background: rgba(6,12,26,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.demo-dialog[open] { animation: demoIn .18s ease; }
@keyframes demoIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.demo-dialog__inner { padding: clamp(1.4rem, 4vw, 2rem); position: relative; }
.demo-dialog .eyebrow { color: var(--accent-300); margin-bottom: .5rem; }
.demo-dialog h2 { color: #fff; font-size: 1.3rem; margin: 0 0 .3rem; }
.demo-dialog__lead { color: var(--d-muted); font-size: .9rem; margin: 0 0 1.3rem; line-height: 1.5; }
.demo-dialog__close {
    position: absolute; top: .9rem; right: .9rem; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--d-line); background: transparent; color: var(--d-body); cursor: pointer;
    display: grid; place-items: center; transition: background .15s ease, color .15s ease;
}
.demo-dialog__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.demo-dialog .field label { color: rgba(255,255,255,.82); }
.demo-dialog .field input, .demo-dialog .field textarea {
    background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #fff;
}
.demo-dialog .field input::placeholder, .demo-dialog .field textarea::placeholder { color: rgba(255,255,255,.4); }
.demo-dialog .field__hint { color: rgba(255,255,255,.5); text-align: center; }
.service__intro .btn { margin-top: .8rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .card-grid--3, .card-grid--4, .tech-grid, .pill-grid, .plans { grid-template-columns: repeat(2, 1fr); }
    .work-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .proc-flow { grid-template-columns: repeat(2, 1fr); gap: 3.5rem 1.5rem; }
    .proc-card { margin-top: 0; padding-top: 3rem; }
    .proc-pills { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
    .proc-pills::before { display: none; }
    .tworld__head { flex-direction: column; gap: 1rem; }
    .tworld__script { text-align: left; }
    .wl-hero { grid-template-columns: 1fr; }
    .wl-grid { grid-template-columns: repeat(3, 1fr); }
    .wl-card--6 { grid-column: auto; flex-direction: column; align-items: flex-start; }
    .wl-card--6 .wl-card__bar { display: block; }
    .stats-band__grid, .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .hero__stats div:nth-child(3) { border-left: 0; }
    .pillars { grid-template-columns: 1fr; }
    .split, .casestrip, .product-detail, .contact { grid-template-columns: 1fr; }
    .panel { position: static; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__seo { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: clamp(1.5rem, 5vw, 2.25rem); }
    .hero__chart { max-width: 520px; }
    .hero { text-align: center; }
    .hero h1 { min-height: 2.4em; margin-bottom: 1.1rem; }
    .hero__col { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__viz { display: flex; justify-content: center; }
}

@media (max-width: 980px) {
    :root { --header-h: 60px; }
    .nav-toggle { display: flex; }
    .site-header:not(.is-scrolled) { background: var(--d-bg); }
    .brand__img { height: 30px; }

    /* app-style full-height slide-in menu */
    .primary-nav {
        position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top)) 0 0 0;
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; box-shadow: var(--shadow-md);
        padding: .25rem var(--pad) 0;
        overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
        transform: translateX(12%); opacity: 0; visibility: hidden;
        transition: opacity .22s ease, transform .22s cubic-bezier(.22,1,.36,1), visibility .22s;
    }
    .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
    .site-header:not(.is-scrolled) .primary-nav .primary-nav__link { color: var(--ink); }

    .primary-nav__list { flex: 1 0 auto; flex-direction: column; align-items: stretch; }
    .primary-nav__list > li { border-bottom: 1px solid var(--bg-alt2); }
    .primary-nav__link {
        padding: 1rem .25rem; border-radius: 0; min-height: 52px;
        font-size: 1.02rem; font-weight: 600; color: var(--ink);
    }
    .primary-nav__link:hover, .primary-nav__link:active { background: var(--bg-alt); }
    .has-menu > .primary-nav__link::after { margin-left: auto; width: 8px; height: 8px; transition: transform .2s ease; }
    .has-menu.is-open > .primary-nav__link::after { transform: rotate(225deg) translate(-1px, -1px); }

    .mega { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .6rem .35rem; display: none;
        background: transparent;
    }
    .has-menu.is-open .mega { display: block; }
    .mega--rich { width: auto; padding: 0 0 .6rem .35rem; }
    .mega__grid { grid-template-columns: 1fr; gap: 0; }
    .mega__grid a { padding: .75rem .4rem; min-height: 48px; }
    .mega__ic { width: 32px; height: 32px; }
    .mega__txt strong { font-size: .92rem; }
    .mega__txt span { font-size: .82rem; }
    .mega__all { justify-content: flex-start; margin: .2rem 0 0 .35rem; padding-top: .7rem; }

    .primary-nav__actions {
        position: sticky; bottom: 0; margin-top: auto;
        background: #fff; border-top: 1px solid var(--line);
        padding: .9rem 0 calc(1rem + env(safe-area-inset-bottom));
    }
    .primary-nav__actions .btn { width: 100%; min-height: 50px; font-size: 1rem; }
}

@media (max-width: 680px) {
    .card-grid--2, .card-grid--3, .card-grid--4, .tech-grid, .pill-grid, .plans,
    .work-grid, .feat-grid, .steps, .service, .case__body, .ticks.two-col { grid-template-columns: 1fr; }
    .proc-flow, .proc-pills { grid-template-columns: 1fr; }
    .proc-pill { flex-direction: row; justify-content: flex-start; text-align: left; }
    .dash-label::before, .dash-label::after { width: 22px; }
    .tcar__nav { width: 40px; height: 40px; }
    .wl-grid { grid-template-columns: repeat(2, 1fr); }
    .wl-checks { grid-template-columns: 1fr; }
    .job { grid-template-columns: 1fr; }
    .stats-band__grid, .hero__stats { grid-template-columns: 1fr 1fr; }
    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__seo { grid-template-columns: 1fr; }
    .site-footer__legal { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---------- mobile: read like a native app ---------- */
@media (max-width: 640px) {
    :root { --sec: clamp(2.4rem, 9vw, 3.25rem); }

    /* type: keep body 16px, bring headings to comfortable phone sizes */
    h1 { font-size: clamp(1.6rem, 7.5vw, 2rem); line-height: 1.16; }
    h2 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
    h3 { font-size: 1.05rem; }
    .section__intro, .hero__lead, .page-hero__lead { font-size: 1rem; line-height: 1.6; }
    .section__head { margin-bottom: clamp(1.3rem, 5vw, 1.8rem); }
    .hero h1 { min-height: 2.6em; }
    .page-hero { padding-bottom: clamp(1.6rem, 6vw, 2.2rem); }
    .page-hero__lead { margin-bottom: 0; }
    .breadcrumb { margin-bottom: .9rem; }

    /* full-width, thumb-friendly primary actions */
    .hero__actions, .cta-band__actions, .lp-hero-points ~ .hero__actions { width: 100%; }
    .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
    .btn { min-height: 48px; }

    /* comfortable card / section padding */
    .card, .feat, .lp-col, .lp-step, .service, .tcard, .plan, .job { padding: 1.15rem 1.15rem; }
    .container { padding-inline: 1.15rem; }

    /* stop wide UI mock-ups from cramping */
    .lp-frame { padding: .8rem; }
    .stats-band__grid { gap: 1.4rem 1rem; }

    /* the demo popup should sit like a sheet, not a tiny box */
    .demo-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 20px 20px 0 0; align-self: end; }
    .demo-dialog__inner { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
}

/* keep form inputs at 16px so iOS never zooms the viewport on focus */
@media (max-width: 900px) {
    .field input, .field select, .field textarea,
    .loop-form input, .demo-dialog input, .demo-dialog textarea { font-size: 16px; }
}

/* safe-area padding for the footer on notched phones */
.site-footer { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .btn:hover, a.card:hover, .work:hover { transform: none; }
}
