/* ==========================================================
   SITE CHROME — header, mega menu, mobile nav, footer
   Scoped with .tq- so it can sit on top of legacy page CSS.
   ========================================================== */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --tq-cyan: #00B4F1;
    --tq-blue: #0081ad;
    --tq-deep: #006b90;
    --tq-navy: #0b2a3a;
    --tq-lav: #C9C4E1;
    --tq-ink: #1A1D21;
    --tq-mute: #64748B;
    --tq-soft: #F5F9FC;
    --tq-line: rgba(0, 129, 173, 0.14);
    --tq-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --tq-display: 'Oswald', sans-serif;
    --tq-body: 'Satoshi', sans-serif;
    --tq-header-h: 84px;
}

/* scroll progress */
.tq-progress {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 6001;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--tq-cyan), var(--tq-blue));
    transform-origin: left center;
    transform: scaleX(0);
    pointer-events: none;
}

/* ---------- Header ---------- */
.tq-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6000;
    height: var(--tq-header-h);
    font-family: var(--tq-body);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: height 0.4s var(--tq-ease), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.tq-header.is-scrolled {
    --tq-header-h: 70px;
    background: rgba(255, 255, 255, 0.7);
    border-bottom-color: var(--tq-line);
    box-shadow: 0 10px 30px rgba(11, 42, 58, 0.06);
}

.tq-header__inner {
    height: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.tq-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.tq-logo img {
    height: 42px;
    width: auto;
    transition: height 0.4s var(--tq-ease);
}

.tq-header.is-scrolled .tq-logo img {
    height: 36px;
}

.tq-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tq-nav > a,
.tq-nav__item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tq-ink);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease;
}

.tq-nav > a::after,
.tq-nav__item > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--tq-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--tq-ease);
}

.tq-nav > a:hover,
.tq-nav__item > a:hover,
.tq-nav a[aria-current="page"] {
    color: var(--tq-blue);
}

.tq-nav > a:hover::after,
.tq-nav__item > a:hover::after,
.tq-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.tq-nav__item {
    position: relative;
}

.tq-nav__item > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.tq-nav__item:hover > a i,
.tq-nav__item:focus-within > a i {
    transform: rotate(180deg);
}

/* mega menu */
.tq-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 760px;
    padding: 26px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 26px;
    background: #fff;
    border: 1px solid var(--tq-line);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(11, 42, 58, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.3s ease, transform 0.4s var(--tq-ease), visibility 0.3s;
}

.tq-mega::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.tq-nav__item:hover .tq-mega,
.tq-nav__item:focus-within .tq-mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.tq-mega__label {
    display: block;
    margin: 0 0 12px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tq-mute);
}

.tq-mega__svc {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.25s ease;
}

.tq-mega__svc:hover {
    background: var(--tq-soft);
}

.tq-mega__svc > i {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--tq-blue);
    background: linear-gradient(135deg, rgba(0, 180, 241, 0.12), rgba(201, 196, 225, 0.45));
    transition: background 0.3s ease, color 0.3s ease;
}

.tq-mega__svc:hover > i {
    background: var(--tq-cyan);
    color: #fff;
}

.tq-mega__svc b {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--tq-ink);
}

.tq-mega__svc span {
    display: block;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--tq-mute);
}

.tq-mega__side {
    padding: 18px;
    border-radius: 16px;
    background: var(--tq-soft);
}

.tq-mega__side a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tq-ink);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.3s var(--tq-ease);
}

.tq-mega__side a i {
    font-size: 11px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.3s var(--tq-ease);
}

.tq-mega__side a:hover {
    color: var(--tq-blue);
}

.tq-mega__side a:hover i {
    opacity: 1;
    transform: none;
}

.tq-mega__side .tq-mega__label {
    margin-left: 0;
}

.tq-mega__side .tq-mega__label + a {
    margin-top: -4px;
}

.tq-mega__side hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid var(--tq-line);
    opacity: 1;
}

/* buttons */
.tq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 0;
    border-radius: 50px;
    background: var(--tq-cyan);
    color: #fff;
    font-family: var(--tq-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 180, 241, 0.28);
    transition: background 0.3s ease, transform 0.35s var(--tq-ease), box-shadow 0.3s ease, color 0.3s ease;
}

.tq-btn:hover,
.tq-btn:focus-visible {
    background: var(--tq-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 129, 173, 0.3);
}

.tq-btn i {
    transition: transform 0.35s var(--tq-ease);
}

.tq-btn:hover i {
    transform: translateX(4px);
}

.tq-btn--sm {
    padding: 11px 22px;
    font-size: 13.5px;
}

.tq-btn--ghost {
    background: transparent;
    color: var(--tq-ink);
    box-shadow: inset 0 0 0 1.5px var(--tq-line);
}

.tq-btn--ghost:hover,
.tq-btn--ghost:focus-visible {
    background: #fff;
    color: var(--tq-blue);
    box-shadow: inset 0 0 0 1.5px var(--tq-cyan), 0 12px 26px rgba(0, 129, 173, 0.12);
}

.tq-btn--light {
    background: #fff;
    color: var(--tq-blue);
    box-shadow: 0 12px 28px rgba(0, 40, 60, 0.2);
}

.tq-btn--light:hover,
.tq-btn--light:focus-visible {
    background: #fff;
    color: var(--tq-deep);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28), 0 18px 36px rgba(0, 40, 60, 0.24);
}

/* burger */
.tq-burger {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 1px solid var(--tq-line);
    border-radius: 14px;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.tq-burger span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--tq-ink);
    transition: transform 0.4s var(--tq-ease), top 0.4s var(--tq-ease);
}

.tq-burger span:nth-child(1) { top: 18px; }
.tq-burger span:nth-child(2) { top: 26px; }

.tq-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.tq-burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* mobile panel */
.tq-mobile {
    position: fixed;
    inset: 0;
    z-index: 5999;
    padding: calc(var(--tq-header-h) + 20px) 24px 30px;
    overflow-y: auto;
    font-family: var(--tq-body);
    background: #fff;
    clip-path: circle(0% at calc(100% - 46px) 42px);
    visibility: hidden;
    transition: clip-path 0.7s var(--tq-ease), visibility 0.7s;
}

.tq-mobile.is-open {
    clip-path: circle(150% at calc(100% - 46px) 42px);
    visibility: visible;
}

.tq-mobile a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--tq-line);
    font-family: var(--tq-display);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--tq-ink);
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.6s var(--tq-ease), color 0.2s ease;
}

.tq-mobile a i {
    font-size: 14px;
    color: var(--tq-cyan);
}

.tq-mobile.is-open a {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.15s + var(--i, 0) * 0.05s);
}

.tq-mobile a[aria-current="page"] {
    color: var(--tq-blue);
}

.tq-mobile__foot {
    margin-top: 26px;
    font-size: 15px;
    color: var(--tq-mute);
}

.tq-mobile__foot a {
    display: inline;
    padding: 0;
    border: 0;
    font-family: var(--tq-body);
    font-size: 15px;
    font-weight: 700;
    color: var(--tq-blue);
}

body.tq-lock {
    overflow: hidden;
}

/* ---------- Footer ---------- */
.tq-footer {
    position: relative;
    overflow: hidden;
    font-family: var(--tq-body);
    color: rgba(255, 255, 255, 0.78);
    background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(0, 180, 241, 0.25), transparent 70%), var(--tq-navy);
}

.tq-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
    mask-image: linear-gradient(180deg, #000, transparent 70%);
    pointer-events: none;
}

.tq-footer__inner {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 90px 24px 0;
}

.tq-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tq-footer__big {
    margin: 0;
    font-family: var(--tq-display);
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 600;
    line-height: 1.02;
    color: #fff;
}

.tq-footer__big span {
    color: var(--tq-cyan);
}

.tq-footer__mail {
    display: inline-block;
    margin-top: 18px;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(var(--tq-cyan), var(--tq-cyan)) left bottom / 0 2px no-repeat;
    transition: background-size 0.5s var(--tq-ease), color 0.3s ease;
}

.tq-footer__mail:hover {
    color: var(--tq-cyan);
    background-size: 100% 2px;
}

.tq-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 0;
}

.tq-footer__brand img {
    display: block;
    height: 40px;
    width: auto;
}

.tq-footer__brand p {
    margin: 18px 0 20px;
    max-width: 320px;
    line-height: 1.7;
    font-size: 14.5px;
}

.tq-footer h6 {
    margin: 0 0 16px;
    font-family: var(--tq-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.tq-footer__col a {
    display: block;
    padding: 5px 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.3s var(--tq-ease);
}

.tq-footer__col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.tq-social {
    display: flex;
    gap: 10px;
}

.tq-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--tq-ease);
}

.tq-social a:hover {
    background: var(--tq-cyan);
    border-color: var(--tq-cyan);
    color: #fff;
    transform: translateY(-3px);
}

.tq-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12.5px;
    letter-spacing: 0.5px;
}

.tq-footer__bottom nav {
    display: flex;
    gap: 22px;
}

.tq-footer__bottom a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.tq-footer__bottom a:hover {
    color: #fff;
}

.tq-footer__mark {
    position: absolute;
    right: -2vw;
    bottom: -3.2vw;
    font-family: var(--tq-display);
    font-size: 15vw;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .tq-nav > a,
    .tq-nav__item > a {
        padding: 10px 9px;
        font-size: 13.5px;
    }

    .tq-header__inner {
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .tq-nav,
    .tq-header__cta {
        display: none;
    }

    .tq-burger {
        display: block;
    }

    .tq-footer__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .tq-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .tq-header__inner {
        padding: 0 16px;
    }

    .tq-logo img {
        height: 34px;
    }

    .tq-footer__inner {
        padding: 70px 16px 0;
    }

    .tq-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tq-mobile,
    .tq-mobile a,
    .tq-mega {
        transition: none;
    }
}

/* ---------- Transparent header over a dark hero (home) ---------- */
.tq-header.is-over-hero:not(.menu-open) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.tq-header.is-over-hero:not(.menu-open) .tq-nav > a,
.tq-header.is-over-hero:not(.menu-open) .tq-nav__item > a {
    color: rgba(255, 255, 255, 0.88);
}

.tq-header.is-over-hero:not(.menu-open) .tq-nav > a:hover,
.tq-header.is-over-hero:not(.menu-open) .tq-nav__item > a:hover,
.tq-header.is-over-hero:not(.menu-open) .tq-nav a[aria-current="page"] {
    color: #fff;
}

.tq-header.is-over-hero:not(.menu-open) .tq-nav > a::after,
.tq-header.is-over-hero:not(.menu-open) .tq-nav__item > a::after {
    background: #33c3f5;
}

/* dropdown items keep their dark text on the white mega panel */
.tq-header.is-over-hero .tq-mega a {
    color: var(--tq-ink);
}

.tq-header.is-over-hero:not(.menu-open) .tq-burger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.tq-header.is-over-hero:not(.menu-open) .tq-burger span {
    background: #fff;
}

.tq-header.is-over-hero:not(.menu-open) .tq-logo img {
    filter: brightness(1.15);
}

/* scrolled but still over the dark hero: navy glass so content behind stays readable */
.tq-header.is-over-hero.is-scrolled:not(.menu-open) {
    background: rgba(11, 31, 58, 0.82);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* header CTA: calmer — no glow; glass outline while over the dark hero */
.tq-header .tq-header__cta {
    box-shadow: none;
}

.tq-header .tq-header__cta:hover,
.tq-header .tq-header__cta:focus-visible {
    box-shadow: 0 8px 20px rgba(0, 129, 173, 0.22);
}

.tq-header.is-over-hero:not(.menu-open) .tq-header__cta {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.tq-header.is-over-hero:not(.menu-open) .tq-header__cta:hover,
.tq-header.is-over-hero:not(.menu-open) .tq-header__cta:focus-visible {
    background: #fff;
    color: #0b1f3a;
    box-shadow: none;
}

/* mega menu: service lines only (side panel hidden) */
.tq-mega {
    width: 420px;
    grid-template-columns: 1fr;
}

.tq-mega__side {
    display: none;
}

/* footer watermark: compact word under the link columns, above the copyright bar */
.tq-footer__grid {
    padding-bottom: 24px;
}

.tq-footer__mark {
    position: static;
    display: block;
    /* line up with the Services column (grid: 1.4fr 1fr 1fr 1fr, 40px gaps) */
    margin: 0 0 18px calc((100% - 120px) * 1.4 / 4.4 + 40px);
    font-size: clamp(56px, 8.4vw, 128px);
    line-height: 0.8;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 991px) {
    .tq-footer__mark {
        margin-left: 0;
        font-size: 15vw;
    }
}

/* compact footer: tighter vertical rhythm overall */
.tq-footer__inner {
    padding-top: 56px;
}

.tq-footer__top {
    padding-bottom: 36px;
}

.tq-footer__big {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.tq-footer__grid {
    padding: 36px 0 12px;
}

.tq-footer__brand p {
    margin: 14px 0 16px;
}

.tq-footer h6 {
    margin-bottom: 12px;
}

.tq-footer__col a {
    padding: 3px 0;
}

/* line-height 1 + a little bottom room so the Q's tail clears the copyright rule */
.tq-footer__mark {
    margin-bottom: 6px;
    padding-bottom: 0.08em;
    font-size: clamp(48px, 6.6vw, 100px);
    line-height: 1;
    overflow: visible;
}

.tq-footer__bottom {
    padding: 16px 0 20px;
}

@media (max-width: 575px) {
    .tq-footer__inner {
        padding-top: 44px;
    }

    .tq-footer__grid {
        gap: 24px;
    }
}

/* ---------- Mobile safety net (all pages) ---------- */
/* long URLs / emails in copy (e.g. privacy policy) wrap instead of widening the page */
p,
li,
a,
td {
    overflow-wrap: break-word;
}

/* decorative hero glows can be larger than a phone screen */
.hero-banner,
.hero-banner .hero-glow {
    max-width: 100vw;
}

@media (max-width: 575px) {
    /* Bootstrap g-5 gutters (48px) exceed the 12px container padding on phones */
    .row.g-5,
    .row.gx-5 {
        --bs-gutter-x: 1.5rem;
    }
}

/* grid children may shrink below their content width (stops forms/cards pushing the page wider) */
.tq-contact > *,
.tq-suite > *,
.tq-lab > *,
.tq-accel > *,
.tq-leader > * {
    min-width: 0;
}

/* oversized decorative circles on the older service pages */
.tr-services-capabilities,
.tr-stack-cta {
    overflow-x: clip;
}

@media (max-width: 575px) {
    /* phone footer: brand + Services full width, Company and Get in Touch side by side */
    .tq-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .tq-footer__brand,
    .tq-footer__grid > .tq-footer__col:nth-child(2) {
        grid-column: 1 / -1;
    }

    .tq-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ---------- Older service pages: phone fixes ---------- */
@media (max-width: 767px) {
    /* the banner art (floating tech icons) sat right behind the centred title */
    .hero-banner:not(.ai-dark-hero) .hero-mask::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.82);
    }
}

@media (max-width: 992px) {
    /* the inline page style's media query lost on specificity, leaving the heading right-aligned */
    .svc-suite--light .svc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }
}

/* ---------- Mobile menu: same light look, just refined proportions ---------- */
.tq-mobile {
    padding: calc(var(--tq-header-h) + 8px) 24px 30px;
}

.tq-mobile a {
    padding: 13px 0;
    border-bottom-color: rgba(0, 129, 173, 0.08);
    font-size: 1.35rem;
    letter-spacing: 0.2px;
}

.tq-mobile a i {
    font-size: 12px;
    color: #b6c3d1;
    transition: color 0.2s ease, transform 0.3s var(--tq-ease);
}

.tq-mobile a:hover i,
.tq-mobile a[aria-current="page"] i {
    color: var(--tq-cyan);
    transform: translateX(3px);
}

.tq-mobile__foot {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.8;
}

.tq-mobile__foot a {
    font-size: 14px;
}

/* ---------- Mobile menu: Services with expandable service lines ---------- */
.tq-mobile__group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 129, 173, 0.08);
}

.tq-mobile__group > a {
    flex: 1 1 auto;
    border-bottom: 0;
}

/* the chevron toggle replaces the arrow on this row */
.tq-mobile__group > a i {
    display: none;
}

.tq-mobile__toggle {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-right: -10px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: #8fa0b3;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.tq-mobile__toggle i {
    transition: transform 0.4s var(--tq-ease);
}

.tq-mobile__toggle:hover,
.tq-mobile__toggle[aria-expanded="true"] {
    color: var(--tq-cyan);
    background: rgba(0, 180, 241, 0.08);
}

.tq-mobile__toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.tq-mobile__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--tq-ease);
}

.tq-mobile__sub.is-open {
    grid-template-rows: 1fr;
}

.tq-mobile__sub > div {
    overflow: hidden;
}

.tq-mobile .tq-mobile__sub a {
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 0 10px 2px;
    border: 0;
    font-family: var(--tq-body);
    font-size: 15px;
    font-weight: 500;
    color: #475569;
}

.tq-mobile .tq-mobile__sub a:first-child {
    padding-top: 6px;
}

.tq-mobile .tq-mobile__sub a:last-child {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 129, 173, 0.08);
}

.tq-mobile .tq-mobile__sub a i {
    width: 18px;
    font-size: 13px;
    text-align: center;
    color: var(--tq-cyan);
    transform: none;
}

.tq-mobile .tq-mobile__sub a:hover {
    color: var(--tq-ink);
}

/* ---------- Footer watermark: full width, faint, behind the link columns (adds no height) ---------- */
.tq-footer__grid,
.tq-footer__bottom {
    position: relative;
    z-index: 1;
}

.tq-footer__grid {
    padding-bottom: 36px;
}

.tq-footer__mark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 64px;
    z-index: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: min(17vw, 236px);
    line-height: 0.8;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 575px) {
    .tq-footer__mark {
        bottom: 90px;
        font-size: 19vw;
    }
}

/* watermark spans the full container width: wider tracking instead of a taller font, no clipping */
.tq-footer__mark {
    bottom: 44px;
    font-size: min(16.5vw, 250px);
    line-height: 1;
    letter-spacing: 0.13em;
    text-indent: 0.13em;
    overflow: visible;
}

@media (max-width: 575px) {
    .tq-footer__mark {
        bottom: 84px;
        font-size: 17vw;
        letter-spacing: 0.08em;
        text-indent: 0.08em;
    }
}

/* ==========================================================
   CURSOR DOTS (see chrome.js) — 26px grid (same as the hero dot
   pattern), shown only in a circle around the mouse, behind content
   ========================================================== */
.tq-has-dots {
    isolation: isolate;
}

/* sections that were not positioned get a containing block for the layer */
.tq-has-dots:not(.tq-phero):not(.hero-banner):not(.hx-hero) {
    position: relative;
}

.tq-dots-lit {
    --mx: -999px;
    --my: -999px;
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 180, 241, 0.28) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(circle 140px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    mask-image: radial-gradient(circle 140px at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tq-dots-lit.is-on {
    opacity: 1;
}

/* dark areas: lighter cyan */
.hx-hero .tq-dots-lit,
.tq-footer .tq-dots-lit {
    background-image: radial-gradient(rgba(127, 220, 255, 0.28) 1.5px, transparent 1.5px);
}

/* ---------- Floating contact button (injected by chrome.js) ---------- */
.tq-fab {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 5000;
    display: inline-flex;
    align-items: center;
    height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: var(--tq-body);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--tq-cyan), var(--tq-blue));
    box-shadow: 0 12px 28px rgba(0, 129, 173, 0.35);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease, bottom 0.4s var(--tq-ease);
}

.tq-fab i {
    font-size: 20px;
}

.tq-fab__label {
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    /* closing: text fades first, then the pill shrinks */
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.tq-fab:hover,
.tq-fab:focus-visible {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 129, 173, 0.45);
}

.tq-fab:hover .tq-fab__label,
.tq-fab:focus-visible .tq-fab__label {
    /* --tq-fab-label is the measured text width (set in chrome.js) */
    max-width: var(--tq-fab-label, 6em);
    margin-left: 10px;
    opacity: 1;
    /* opening: the pill grows, the text fades in as it is revealed */
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.12s;
}

.tq-fab:focus-visible {
    outline: 3px solid rgba(0, 180, 241, 0.45);
    outline-offset: 3px;
}

.tq-fab--raised {
    bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
    .tq-fab {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        height: 52px;
        padding: 0 16px;
    }

    .tq-fab--raised {
        bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .tq-fab,
    .tq-fab__label {
        transition: none;
    }
}

/* ---------- Smooth scroll (Lenis, initialised in chrome.js) ---------- */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}
