/*
Theme Name: Taqnium Studio
Theme URI: https://taqniumstudio.com/
Author: Taqnium Studio
Description: Premium custom WordPress theme for Taqnium Studio.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: taqnium-studio
*/

/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {
    color-scheme: dark;

    --ts-bg: #070D1B;
    --ts-bg-deep: #050914;
    --ts-surface: #0D1628;
    --ts-surface-light: #14223A;
    --ts-cyan: #00E5FF;
    --ts-cyan-soft: #7AEFFF;
    --ts-text: #F4F8FF;
    --ts-muted: #A4B1C7;
    --ts-border: rgba(122, 239, 255, 0.16);

    --ts-container: 1200px;
    --ts-header-height: 88px;

    --ts-radius-sm: 12px;
    --ts-radius-md: 20px;
    --ts-radius-lg: 30px;

    --ts-shadow:
        0 24px 80px rgba(0, 0, 0, 0.28);

    --ts-glow:
        0 0 40px rgba(0, 229, 255, 0.12);

    --ts-transition:
        280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

/* =========================================================
   02. RESET & GLOBAL TYPOGRAPHY
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ts-header-height) + 24px);
    background: var(--ts-bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--ts-bg);
    color: var(--ts-text);
    font-family:
        Inter,
        "Segoe UI",
        -apple-system,
        BlinkMacSystemFont,
        Arial,
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
    font-family:
        Inter,
        "Segoe UI",
        -apple-system,
        BlinkMacSystemFont,
        Arial,
        sans-serif;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ts-cyan);
    outline-offset: 5px;
}

::selection {
    color: var(--ts-bg);
    background: var(--ts-cyan);
}

.container {
    width: min(calc(100% - 48px), var(--ts-container));
    margin-inline: auto;
}

section[id] {
    scroll-margin-top: calc(var(--ts-header-height) + 20px);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ts-text);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

h2 {
    font-size: clamp(2.15rem, 4vw, 3.65rem);
}

h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

p {
    color: var(--ts-muted);
}

.text-gradient {
    color: var(--ts-cyan);
    background: linear-gradient(
        100deg,
        #F4F8FF 0%,
        #7AEFFF 35%,
        #00E5FF 72%,
        #8CF5FF 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--ts-cyan-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.status-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ts-cyan);
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.65);
}

/* =========================================================
   03. ACCESSIBILITY
========================================================= */

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    transform: translateY(-160%);
    border-radius: 8px;
    background: var(--ts-cyan);
    color: var(--ts-bg);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   04. HEADER & BRAND
========================================================= */

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    
    
}

.header-inner {
    display: flex;
    min-height: var(--ts-header-height);
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.brand-monogram {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(0, 229, 255, 0.17),
        rgba(0, 229, 255, 0.025)
    );
    box-shadow: inset 0 0 18px rgba(0, 229, 255, 0.06);
    color: var(--ts-cyan);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.09em;
    transition:
        border-color var(--ts-transition),
        box-shadow var(--ts-transition),
        transform var(--ts-transition);
}

.site-brand:hover .brand-monogram {
    transform: rotate(-5deg);
    border-color: var(--ts-cyan);
    box-shadow: var(--ts-glow);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    color: var(--ts-text);
    font-size: 1.03rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ts-cyan-soft);
    font-size: 0.59rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 30px);
}

.primary-navigation > a:not(.header-cta) {
    position: relative;
    padding-block: 8px;
    color: #C0CADB;
    font-size: 0.83rem;
    font-weight: 550;
    transition: color var(--ts-transition);
}

.primary-navigation > a:not(.header-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--ts-cyan);
    content: "";
    transition: transform var(--ts-transition);
}

.primary-navigation > a:not(.header-cta):hover {
    color: var(--ts-cyan);
}

.primary-navigation > a:not(.header-cta):hover::after {
    transform: scaleX(1);
}

.header-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid var(--ts-cyan);
    border-radius: 10px;
    background: var(--ts-cyan);
    color: var(--ts-bg);
    font-size: 0.83rem;
    font-weight: 750;
    transition:
        background var(--ts-transition),
        box-shadow var(--ts-transition),
        transform var(--ts-transition);
}

.header-cta:hover {
    transform: translateY(-2px);
    background: var(--ts-cyan-soft);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.2);
}

.menu-toggle {
    display: none;
}

/* =========================================================
   05. BUTTONS
========================================================= */

.button {
    position: relative;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform var(--ts-transition),
        background var(--ts-transition),
        border-color var(--ts-transition),
        box-shadow var(--ts-transition);
}

.button span {
    transition: transform var(--ts-transition);
}

.button:hover {
    transform: translateY(-3px);
}

.button:hover span {
    transform: translate(3px, -2px);
}

.button-primary {
    border-color: var(--ts-cyan);
    background: var(--ts-cyan);
    color: #06101E;
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.09);
}

.button-primary:hover {
    background: var(--ts-cyan-soft);
    box-shadow: 0 10px 35px rgba(0, 229, 255, 0.2);
}

.button-secondary {
    border-color: rgba(164, 177, 199, 0.25);
    background: rgba(13, 22, 40, 0.45);
    color: var(--ts-text);
}

.button-secondary:hover {
    border-color: var(--ts-cyan);
    background: rgba(0, 229, 255, 0.06);
}

/* =========================================================
   06. CINEMATIC HERO
========================================================= */

.ts-hero {
    position: relative;
    display: flex;
    min-height: min(790px, calc(100svh - var(--ts-header-height)));
    align-items: center;
    overflow: clip;
    isolation: isolate;
    padding-block: 95px 100px;
    background:
        radial-gradient(
            ellipse at 76% 43%,
            rgba(0, 150, 200, 0.10),
            transparent 37%
        ),
        linear-gradient(180deg, #080F20, var(--ts-bg));
}

.ts-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(122, 239, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 239, 255, 0.035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    content: "";
    pointer-events: none;
}

.ts-hero-glow {
    position: absolute;
    z-index: -1;
    top: 8%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(0, 180, 230, 0.09);
    filter: blur(100px);
    pointer-events: none;
}

.ts-hero-grid {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 229, 255, 0.3),
        transparent
    );
}

.ts-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: 38px;
}

.ts-hero-content {
    position: relative;
    z-index: 2;
}

.ts-hero-content .section-eyebrow {
    margin-bottom: 28px;
}

.ts-hero h1 {
    max-width: 760px;
    margin-bottom: 26px;
    font-size: clamp(3.1rem, 5.5vw, 5.3rem);
    font-weight: 720;
    line-height: 1.025;
    letter-spacing: -0.065em;
}

.ts-hero-description {
    max-width: 580px;
    margin-bottom: 32px;
    font-size: 1.04rem;
    line-height: 1.85;
}

.ts-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ts-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px;
}

.ts-hero-trust span {
    color: #9DADC4;
    font-size: 0.72rem;
    font-weight: 550;
}

.ts-hero-trust span::before {
    margin-right: 8px;
    color: var(--ts-cyan);
    content: "•";
}

.ts-hero-visual {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 480px;
    place-items: center;
    perspective: 1100px;
    isolation: isolate;
}

.ts-hero-visual::before {
    position: absolute;
    z-index: -1;
    width: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.075);
    filter: blur(65px);
    content: "";
}

.ts-orbit {
    position: absolute;
    width: min(94%, 440px);
    aspect-ratio: 1;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.ts-orbit-one {
    transform: rotateX(68deg) rotateZ(-22deg);
}

.ts-orbit-two {
    width: min(77%, 360px);
    border-color: rgba(122, 239, 255, 0.27);
    transform: rotateY(65deg) rotateZ(25deg);
}

.ts-visual-core {
    position: relative;
    display: flex;
    width: min(72%, 300px);
    aspect-ratio: 0.92;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(122, 239, 255, 0.45);
    border-radius: 28px;
    background:
        radial-gradient(
            ellipse at 50% 30%,
            rgba(0, 229, 255, 0.16),
            transparent 60%
        ),
        linear-gradient(145deg, #13243B, #080E1C 70%);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.06),
        0 0 80px rgba(0, 180, 230, 0.11),
        var(--ts-shadow);
    transform: rotateY(-8deg) rotateX(4deg);
    transition:
        transform 500ms ease,
        border-color 500ms ease,
        box-shadow 500ms ease;
}

.ts-visual-core::before {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(122, 239, 255, 0.1);
    border-radius: 19px;
    content: "";
    pointer-events: none;
}

.ts-visual-core::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ts-cyan), transparent);
    content: "";
}

.ts-hero-visual:hover .ts-visual-core {
    transform: rotateY(0) rotateX(0) translateY(-5px);
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 0 0 75px rgba(0, 229, 255, 0.17), var(--ts-shadow);
}

.ts-core-symbol {
    color: var(--ts-cyan);
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 850;
    letter-spacing: -0.12em;
    line-height: 1;
    text-shadow: 0 0 45px rgba(0, 229, 255, 0.2);
}

.ts-core-label {
    color: var(--ts-text);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.2em;
}

.ts-core-caption {
    color: var(--ts-cyan-soft);
    font-size: 0.57rem;
    font-weight: 650;
    letter-spacing: 0.13em;
}

.ts-floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 13px;
    padding: 16px 19px;
    border: 1px solid rgba(122, 239, 255, 0.2);
    border-radius: 15px;
    background: rgba(13, 22, 40, 0.88);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        border-color var(--ts-transition),
        transform var(--ts-transition);
}

.ts-floating-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.6);
}

.ts-floating-card-top {
    top: 15%;
    right: -2%;
}

.ts-floating-card-bottom {
    bottom: 13%;
    left: -3%;
}

.ts-card-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--ts-cyan);
    font-size: 1.25rem;
}

.ts-floating-card strong,
.ts-floating-card small {
    display: block;
}

.ts-floating-card strong {
    color: var(--ts-text);
    font-size: 0.79rem;
}

.ts-floating-card small {
    margin-top: 3px;
    color: var(--ts-muted);
    font-size: 0.68rem;
}

.ts-scroll-cue {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8292AC;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ts-scroll-cue span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid var(--ts-border);
    border-radius: 50%;
    color: var(--ts-cyan);
    transition: transform var(--ts-transition);
}

.ts-scroll-cue:hover span {
    transform: translateY(4px);
}

/* =========================================================
   07. SHARED SECTION LAYOUT
========================================================= */

.ts-section {
    position: relative;
    padding-block: clamp(55px, 6vw, 85px);
}

.ts-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 45px;
    margin-bottom: 52px;
}

.ts-section-heading h2 {
    margin-bottom: 0;
}

.ts-section-heading > p,
.ts-section-heading > div + p {
    max-width: 440px;
    margin-bottom: 4px;
    font-size: 0.96rem;
    line-height: 1.85;
}

.ts-section-heading .section-eyebrow {
    margin-bottom: 20px;
}

.ts-section-heading-centered {
    align-items: center;
}

.ts-section-heading-centered > div {
    flex: 1;
}

.ts-section-heading-centered > p {
    flex: 0 1 390px;
}

/* =========================================================
   08. SERVICES
========================================================= */

.ts-services {
    border-top: 1px solid rgba(122, 239, 255, 0.06);
    background:
        radial-gradient(
            ellipse at 0 50%,
            rgba(0, 229, 255, 0.035),
            transparent 38%
        ),
        var(--ts-bg);
}

.ts-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ts-service-card {
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 29px;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-md);
    background:
        linear-gradient(
            145deg,
            rgba(20, 34, 58, 0.74),
            rgba(13, 22, 40, 0.7) 65%
        );
    transition:
        transform var(--ts-transition),
        border-color var(--ts-transition),
        background var(--ts-transition),
        box-shadow var(--ts-transition);
}

.ts-service-card::before {
    position: absolute;
    top: 0;
    left: 25px;
    width: 65px;
    height: 2px;
    background: linear-gradient(90deg, var(--ts-cyan), transparent);
    opacity: 0;
    transition: opacity var(--ts-transition);
    content: "";
}

.ts-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 229, 255, 0.42);
    background:
        linear-gradient(
            145deg,
            rgba(20, 42, 63, 0.95),
            rgba(13, 22, 40, 0.95)
        );
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), var(--ts-glow);
}

.ts-service-card:hover::before {
    opacity: 1;
}

.ts-service-number {
    position: absolute;
    top: 25px;
    right: 27px;
    color: rgba(164, 177, 199, 0.55);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.ts-service-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 15px;
    background: rgba(0, 229, 255, 0.075);
    color: var(--ts-cyan);
    font-size: 1.65rem;
    transition:
        transform var(--ts-transition),
        background var(--ts-transition);
}

.ts-service-card:hover .ts-service-icon {
    transform: translateY(-3px) rotate(-4deg);
    background: rgba(0, 229, 255, 0.13);
}

.ts-service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    letter-spacing: -0.035em;
}

.ts-service-card p {
    margin-bottom: 24px;
    font-size: 0.86rem;
    line-height: 1.8;
}

.ts-service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--ts-cyan-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.ts-service-card > a span {
    transition: transform var(--ts-transition);
}

.ts-service-card > a:hover span {
    transform: translate(3px, -3px);
}

.ts-service-featured {
    border-color: rgba(0, 229, 255, 0.3);
    background:
        radial-gradient(
            ellipse at 100% 0,
            rgba(0, 229, 255, 0.09),
            transparent 55%
        ),
        var(--ts-surface);
}

/* =========================================================
   09. FEATURED PROJECTS / SWIPER
========================================================= */

.ts-work {
    overflow: hidden;
    border-block: 1px solid rgba(122, 239, 255, 0.07);
    background:
        radial-gradient(
            ellipse at 100% 20%,
            rgba(0, 229, 255, 0.045),
            transparent 35%
        ),
        var(--ts-bg-deep);
}

.ts-slider-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.ts-slider-controls button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--ts-border);
    border-radius: 50%;
    background: var(--ts-surface);
    color: var(--ts-cyan);
    font-size: 1.2rem;
    cursor: pointer;
    transition:
        background var(--ts-transition),
        border-color var(--ts-transition),
        transform var(--ts-transition);
}

.ts-slider-controls button:hover {
    transform: translateY(-2px);
    border-color: var(--ts-cyan);
    background: rgba(0, 229, 255, 0.09);
}

.ts-project-slider {
    width: 100%;
    overflow: visible;
}

.ts-project-slider .swiper-slide {
    height: auto;
}

.ts-project-card {
    height: 100%;
}

.ts-project-visual {
    position: relative;
    display: flex;
    min-height: 320px;
    align-items: flex-end;
    overflow: hidden;
    padding: 25px;
    border: 1px solid rgba(122, 239, 255, 0.2);
    border-radius: var(--ts-radius-md);
    background-color: var(--ts-surface);
    isolation: isolate;
    transition:
        border-color var(--ts-transition),
        box-shadow var(--ts-transition);
}

.ts-project-visual::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(0, 229, 255, 0.3),
            transparent 25%
        ),
        linear-gradient(135deg, #18314A, #0B1425 70%);
    content: "";
    transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.ts-project-visual::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 9, 20, 0.95), transparent 70%);
    content: "";
}

.ts-project-visual-two::before {
    background:
        radial-gradient(
            circle at 25% 30%,
            rgba(56, 189, 248, 0.24),
            transparent 30%
        ),
        linear-gradient(135deg, #102C45, #101426 70%);
}

.ts-project-visual-three::before {
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(0, 229, 255, 0.22),
            transparent 25%
        ),
        linear-gradient(135deg, #172B3E, #111328 70%);
}

.ts-project-card:hover .ts-project-visual {
    border-color: rgba(0, 229, 255, 0.65);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ts-project-card:hover .ts-project-visual::before {
    transform: scale(1.06);
}

.ts-project-placeholder {
    color: rgba(244, 248, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.ts-project-open {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    transform: translateY(5px);
    border: 1px solid rgba(122, 239, 255, 0.25);
    border-radius: 50%;
    background: rgba(7, 13, 27, 0.65);
    color: var(--ts-cyan);
    opacity: 0;
    transition:
        transform var(--ts-transition),
        opacity var(--ts-transition);
}

.ts-project-card:hover .ts-project-open,
.ts-project-card:focus-within .ts-project-open {
    transform: translateY(0);
    opacity: 1;
}

.ts-project-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 2px;
}

.ts-project-category {
    margin-bottom: 9px;
    color: var(--ts-cyan-soft);
    font-size: 0.69rem;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ts-project-info h3 {
    margin-bottom: 0;
    font-size: 1.22rem;
}

.ts-project-index {
    color: #75859F;
    font-size: 0.78rem;
}

.ts-slider-pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
}

.ts-slider-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 20px;
    background: #50617A;
    opacity: 1;
    transition:
        width var(--ts-transition),
        background var(--ts-transition);
}

.ts-slider-pagination .swiper-pagination-bullet-active {
    width: 25px;
    background: var(--ts-cyan);
}

.ts-projects-note {
    margin-top: 25px;
    font-size: 0.75rem;
    text-align: center;
}


/* =========================================
   PREMIUM PROJECT SHOWCASE — TAQNIUM STUDIO
   ========================================= */

/* Smooth project card interaction */
.ts-project-card {
    position: relative;
    height: 100%;
    transition:
        transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.ts-project-card:hover {
    transform: translateY(-5px);
}

/* Premium visual frame */
.ts-project-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(122, 239, 255, 0.18);
    background-color: #081323;
    transition:
        border-color 350ms ease,
        box-shadow 350ms ease;
}

/* Ambient cyan light */
.ts-project-visual::before {
    transform: scale(1);
    transition:
        transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
        filter 500ms ease;
}

/* Subtle moving light sweep */
.ts-project-visual::after {
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(122, 239, 255, 0.035) 42%,
            rgba(122, 239, 255, 0.12) 50%,
            rgba(122, 239, 255, 0.035) 58%,
            transparent 80%
        ),
        linear-gradient(
            0deg,
            rgba(5, 9, 20, 0.72),
            transparent 65%
        );
    background-size: 220% 100%, 100% 100%;
    background-position: 100% 0, 0 0;
    transition: background-position 800ms ease;
}

/* Hover glow */
.ts-project-card:hover .ts-project-visual,
.ts-project-card:focus-within .ts-project-visual {
    border-color: rgba(0, 229, 255, 0.72);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.24),
        0 0 24px rgba(0, 229, 255, 0.09),
        inset 0 0 22px rgba(0, 229, 255, 0.035);
}

.ts-project-card:hover .ts-project-visual::before,
.ts-project-card:focus-within .ts-project-visual::before {
    transform: scale(1.055);
    filter: brightness(1.14);
}

.ts-project-card:hover .ts-project-visual::after,
.ts-project-card:focus-within .ts-project-visual::after {
    background-position: 0 0, 0 0;
}

/* Browser mockup gets a slight lift */
.ts-mockup-browser {
    transition:
        transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1),
        box-shadow 500ms ease;
    transform-origin: center center;
}

.ts-project-card:hover .ts-mockup-browser,
.ts-project-card:focus-within .ts-mockup-browser {
    transform: translateY(-3px) scale(1.012);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

/* Project title interaction */
.ts-project-info h3 {
    transition: color 250ms ease;
}

.ts-project-card:hover .ts-project-info h3,
.ts-project-card:focus-within .ts-project-info h3 {
    color: #7AEFFF;
}

/* Open-project button */
.ts-project-open {
    z-index: 3;
    transition:
        transform 300ms ease,
        opacity 300ms ease,
        background-color 300ms ease,
        border-color 300ms ease;
}

.ts-project-card:hover .ts-project-open,
.ts-project-card:focus-within .ts-project-open {
    border-color: rgba(0, 229, 255, 0.7);
    background-color: rgba(0, 229, 255, 0.12);
}

/* Keyboard accessibility */
.ts-project-visual:focus-visible {
    outline: 2px solid #00E5FF;
    outline-offset: 4px;
}

/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .ts-project-card,
    .ts-project-visual,
    .ts-project-visual::before,
    .ts-project-visual::after,
    .ts-mockup-browser,
    .ts-project-info h3,
    .ts-project-open {
        transition: none !important;
        animation: none !important;
    }

    .ts-project-card:hover {
        transform: none;
    }
}

/* Mobile: keep interactions subtle */
@media (max-width: 767px) {
    .ts-project-card:hover {
        transform: none;
    }

    .ts-project-card:hover .ts-mockup-browser {
        transform: none;
    }

    .ts-project-visual {
        min-height: 260px;
    }
}

/* =========================================================
   10. ABOUT
========================================================= */

.ts-about {
    overflow: hidden;
}

.ts-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(55px, 9vw, 115px);
}

.ts-about-visual {
    position: relative;
    display: grid;
    min-height: 440px;
    place-items: center;
    isolation: isolate;
}

.ts-about-visual::before {
    position: absolute;
    z-index: -1;
    width: 85%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.07);
    filter: blur(75px);
    content: "";
}

.ts-about-frame {
    position: relative;
    display: flex;
    width: min(100%, 400px);
    aspect-ratio: 0.92;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    border: 1px solid rgba(122, 239, 255, 0.28);
    border-radius: 26px;
    background:
        radial-gradient(
            ellipse at 50% 30%,
            rgba(0, 229, 255, 0.14),
            transparent 60%
        ),
        linear-gradient(145deg, #13233B, #080E1C 72%);
    box-shadow: var(--ts-shadow), var(--ts-glow);
}

.ts-about-frame::before {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(122, 239, 255, 0.1);
    border-radius: 17px;
    content: "";
}

.ts-about-monogram {
    color: var(--ts-cyan);
    font-size: clamp(5rem, 9vw, 8rem);
    font-weight: 850;
    letter-spacing: -0.12em;
    line-height: 1;
}

.ts-about-frame-caption {
    color: var(--ts-cyan-soft);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: center;
}

.ts-about-orbit {
    position: absolute;
    z-index: -1;
    width: 110%;
    aspect-ratio: 1;
    border: 1px solid rgba(122, 239, 255, 0.13);
    border-radius: 50%;
    transform: rotateX(67deg) rotateZ(-28deg);
}

.ts-about-content > .section-eyebrow {
    margin-bottom: 20px;
}

.ts-about-content h2 {
    margin-bottom: 24px;
}

.ts-about-content > p:not(.section-eyebrow) {
    margin-bottom: 28px;
    font-size: 0.96rem;
    line-height: 1.9;
}

.ts-value-list {
    display: grid;
    gap: 17px;
    margin: 0 0 31px;
    padding: 0;
    list-style: none;
}

.ts-value-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: #D5DEEC;
    font-size: 0.88rem;
}

.ts-value-list li span {
    display: grid;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.08);
    color: var(--ts-cyan);
    font-size: 0.7rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ts-cyan-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

.text-link span {
    transition: transform var(--ts-transition);
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* =========================================================
   11. PROCESS
========================================================= */

.ts-process {
    border-block: 1px solid rgba(122, 239, 255, 0.08);
    background:
        radial-gradient(
            ellipse at 50% 0,
            rgba(0, 229, 255, 0.055),
            transparent 50%
        ),
        var(--ts-bg-deep);
}

.ts-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.ts-process-grid::before {
    position: absolute;
    top: 27px;
    right: 9%;
    left: 9%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 229, 255, 0.4),
        rgba(0, 229, 255, 0.1),
        transparent
    );
    content: "";
}

.ts-process-step {
    position: relative;
    z-index: 1;
}

.ts-step-number {
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    background: #0B1628;
    box-shadow: 0 0 0 7px var(--ts-bg-deep);
    color: var(--ts-cyan);
    font-size: 0.8rem;
    font-weight: 750;
    transition:
        background var(--ts-transition),
        box-shadow var(--ts-transition),
        transform var(--ts-transition);
}

.ts-process-step:hover .ts-step-number {
    transform: translateY(-4px);
    background: rgba(0, 229, 255, 0.12);
    box-shadow: 0 0 0 7px var(--ts-bg-deep), var(--ts-glow);
}

.ts-process-step h3 {
    margin-bottom: 12px;
    font-size: 1.12rem;
}

.ts-process-step p {
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.8;
}

/* =========================================================
   12. INSIGHTS
========================================================= */

.ts-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ts-insight-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-md);
    background: var(--ts-surface);
    transition:
        transform var(--ts-transition),
        border-color var(--ts-transition),
        box-shadow var(--ts-transition);
}

.ts-insight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}

.ts-insight-image {
    position: relative;
    display: grid;
    min-height: 200px;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(0, 229, 255, 0.16),
            transparent 32%
        ),
        linear-gradient(135deg, #142640, #0A1222);
}

.ts-insight-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 550ms ease;
}

.ts-insight-card:hover .ts-insight-image img {
    transform: scale(1.045);
}

.ts-insight-placeholder {
    color: var(--ts-cyan-soft);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.15em;
}

.ts-insight-content {
    padding: 25px;
}

.ts-insight-meta {
    margin-bottom: 13px;
    color: var(--ts-cyan-soft);
    font-size: 0.72rem;
}

.ts-insight-content h3 {
    margin-bottom: 13px;
    font-size: 1.23rem;
    line-height: 1.4;
}

.ts-insight-content h3 a {
    transition: color var(--ts-transition);
}

.ts-insight-content h3 a:hover {
    color: var(--ts-cyan);
}

.ts-insight-content > p:not(.ts-insight-meta) {
    margin-bottom: 20px;
    font-size: 0.84rem;
    line-height: 1.8;
}

.ts-empty-state {
    grid-column: 1 / -1;
    padding: 35px;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-md);
    text-align: center;
}

/* =========================================================
   13. CONTACT CTA
========================================================= */

.ts-contact {
    padding-top: 80px;
    padding-bottom: clamp(90px, 10vw, 135px);
}

.ts-contact-panel {
    position: relative;
    display: flex;
    min-height: 410px;
    align-items: center;
    overflow: hidden;
    padding: clamp(35px, 6vw, 75px);
    border: 1px solid rgba(122, 239, 255, 0.24);
    border-radius: var(--ts-radius-lg);
    background:
        linear-gradient(
            110deg,
            rgba(17, 37, 58, 0.98),
            rgba(9, 18, 34, 0.97) 62%,
            rgba(8, 23, 39, 0.98)
        );
    box-shadow: var(--ts-shadow);
    isolation: isolate;
}

.ts-contact-glow {
    position: absolute;
    z-index: -1;
    top: -150px;
    right: -50px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.13);
    filter: blur(85px);
    pointer-events: none;
}

.ts-contact-content {
    position: relative;
    z-index: 2;
    max-width: 730px;
}

.ts-contact-content h2 {
    margin-bottom: 23px;
}

.ts-contact-content > p:not(.section-eyebrow) {
    max-width: 590px;
    margin-bottom: 30px;
    font-size: 0.96rem;
    line-height: 1.85;
}

.ts-contact-mark {
    position: absolute;
    right: 2%;
    bottom: -20%;
    z-index: -1;
    color: rgba(122, 239, 255, 0.045);
    font-size: clamp(12rem, 27vw, 25rem);
    font-weight: 850;
    letter-spacing: -0.13em;
    line-height: 1;
    pointer-events: none;
}

/* =========================================================
   14. FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(122, 239, 255, 0.14);
    background: #050A15;
}

.site-footer > .container {
    padding-top: 70px;
}

.footer-cta {
    max-width: 760px;
    margin: 0 auto 75px;
    text-align: center;
}

.footer-cta .section-eyebrow {
    justify-content: center;
}

.footer-cta h2 {
    margin-bottom: 22px;
}

.footer-cta h2 span {
    display: inline-block;
    color: var(--ts-cyan);
}

.footer-cta > p:not(.section-eyebrow) {
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 0.93rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 45px;
    padding-block: 36px;
    border-top: 1px solid rgba(122, 239, 255, 0.1);
}

.footer-brand {
    align-self: start;
}

.footer-description {
    max-width: 300px;
    margin: 4px 0 0;
    font-size: 0.83rem;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.footer-nav a {
    color: var(--ts-muted);
    font-size: 0.8rem;
    transition: color var(--ts-transition);
}

.footer-nav a:hover {
    color: var(--ts-cyan);
}

.footer-bottom {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(122, 239, 255, 0.09);
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #8291A8;
    font-size: 0.75rem;
}

.footer-bottom a {
    transition: color var(--ts-transition);
}

.footer-bottom a:hover {
    color: var(--ts-cyan);
}

/* =========================================================
   15. TABLET
========================================================= */

@media (max-width: 1050px) {
    :root {
        --ts-header-height: 78px;
    }

    .primary-navigation {
        gap: 16px;
    }

    .primary-navigation > a:not(.header-cta) {
        font-size: 0.76rem;
    }

    .header-cta {
        min-height: 42px;
        padding-inline: 14px;
    }

    .ts-hero-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
        gap: 18px;
    }

    .ts-hero h1 {
        font-size: clamp(3rem, 5.6vw, 4.6rem);
    }

    .ts-hero-visual {
        min-height: 410px;
    }

    .ts-floating-card-top {
        right: -1%;
    }

    .ts-service-card {
        padding: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

/* =========================================================
   16. MOBILE NAVIGATION & TABLET LAYOUT
========================================================= */

@media (max-width: 800px) {
    :root {
        --ts-header-height: 74px;
    }

    .header-inner {
        gap: 16px;
    }

    .menu-toggle {
        display: flex;
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 1px solid var(--ts-border);
        border-radius: 11px;
        background: var(--ts-surface);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 3px;
        background: var(--ts-cyan);
        transition:
            transform var(--ts-transition),
            opacity var(--ts-transition);
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100svh - var(--ts-header-height));
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        padding: 15px 24px 24px;
        border-bottom: 1px solid var(--ts-border);
        background: rgba(7, 13, 27, 0.98);
        box-shadow: 0 25px 40px rgba(0, 0, 0, 0.25);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation > a:not(.header-cta) {
        padding: 12px 4px;
        font-size: 0.93rem;
    }

    .primary-navigation > a:not(.header-cta)::after {
        display: none;
    }

    .primary-navigation .header-cta {
        align-self: flex-start;
        margin-top: 10px;
    }

    .ts-hero {
        min-height: auto;
        padding-block: 90px 80px;
    }

    .ts-hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .ts-hero-content {
        max-width: 720px;
    }

    .ts-hero h1 {
        max-width: 700px;
        font-size: clamp(3.1rem, 8vw, 5rem);
    }

    .ts-hero-visual {
        width: min(100%, 560px);
        min-height: 440px;
        margin-inline: auto;
    }

    .ts-hero-trust {
        gap: 9px 18px;
    }

    .ts-section-heading {
        align-items: flex-start;
        gap: 25px;
    }

    .ts-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-project-visual {
        min-height: 290px;
    }

    .ts-about-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 50px;
    }

    .ts-about-visual {
        width: min(100%, 500px);
        min-height: 400px;
        margin-inline: auto;
    }

    .ts-about-content {
        max-width: 700px;
    }

    .ts-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
    }

    .ts-process-grid::before {
        display: none;
    }

    .ts-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-insight-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .ts-contact-mark {
        right: -5%;
        bottom: -5%;
        font-size: 17rem;
    }

    .footer-main {
        gap: 25px;
    }
}

/* =========================================================
   17. SMALL MOBILE
========================================================= */

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 36px), var(--ts-container));
    }

    body {
        font-size: 15px;
    }

    h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .site-brand {
        gap: 9px;
    }

    .brand-monogram {
        width: 39px;
        height: 39px;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .brand-copy strong {
        font-size: 0.9rem;
    }

    .brand-copy small {
        font-size: 0.53rem;
    }

    .ts-hero {
        padding-block: 68px 65px;
    }

    .ts-hero-content .section-eyebrow {
        align-items: flex-start;
        font-size: 0.61rem;
        letter-spacing: 0.11em;
    }

    .ts-hero h1 {
        font-size: clamp(2.75rem, 11.4vw, 4rem);
        line-height: 1.05;
        letter-spacing: -0.065em;
    }

    .ts-hero-description {
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .ts-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-hero-actions .button {
        width: 100%;
    }

    .ts-hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .ts-hero-visual {
        min-height: 350px;
    }

    .ts-orbit {
        width: 92%;
    }

    .ts-orbit-two {
        width: 73%;
    }

    .ts-visual-core {
        width: 65%;
        border-radius: 22px;
    }

    .ts-core-symbol {
        font-size: 4.4rem;
    }

    .ts-core-label {
        font-size: 0.65rem;
    }

    .ts-core-caption {
        font-size: 0.48rem;
        letter-spacing: 0.08em;
    }

    .ts-floating-card {
        max-width: 205px;
        gap: 9px;
        padding: 11px 12px;
        border-radius: 12px;
    }

    .ts-floating-card-top {
        top: 8%;
        right: -1%;
    }

    .ts-floating-card-bottom {
        bottom: 7%;
        left: -1%;
    }

    .ts-card-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .ts-floating-card strong {
        font-size: 0.68rem;
    }

    .ts-floating-card small {
        font-size: 0.6rem;
    }

    .ts-scroll-cue {
        display: none;
    }

    .ts-section {
        padding-block: 78px;
    }

    .ts-section-heading {
        flex-direction: column;
        gap: 22px;
        margin-bottom: 35px;
    }

    .ts-section-heading > p,
    .ts-section-heading > div + p {
        max-width: 100%;
        font-size: 0.89rem;
    }

    .ts-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ts-service-card {
        min-height: 260px;
        padding: 25px;
    }

    .ts-service-icon {
        margin-bottom: 24px;
    }

    .ts-slider-controls button {
        width: 43px;
        height: 43px;
    }

    .ts-project-visual {
        min-height: 250px;
        padding: 20px;
    }

    .ts-project-open {
        transform: none;
        opacity: 1;
    }

    .ts-project-info {
        padding-top: 19px;
    }

    .ts-project-info h3 {
        font-size: 1.12rem;
    }

    .ts-projects-note {
        font-size: 0.7rem;
        line-height: 1.7;
    }

    .ts-about-layout {
        gap: 35px;
    }

    .ts-about-visual {
        min-height: 330px;
    }

    .ts-about-frame {
        width: 83%;
        border-radius: 20px;
    }

    .ts-about-monogram {
        font-size: 6rem;
    }

    .ts-about-frame-caption {
        font-size: 0.53rem;
    }

    .ts-value-list li {
        font-size: 0.83rem;
    }

    .ts-process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ts-process-step {
        display: grid;
        grid-template-columns: 55px minmax(0, 1fr);
        align-items: start;
        column-gap: 18px;
    }

    .ts-step-number {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .ts-process-step h3 {
        margin-bottom: 8px;
    }

    .ts-process-step p {
        grid-column: 2;
    }

    .ts-insights-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ts-insight-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ts-insight-image,
    .ts-insight-image img {
        min-height: 190px;
        height: 190px;
    }

    .ts-insight-content {
        padding: 22px;
    }

    .ts-contact {
        padding-top: 0;
        padding-bottom: 80px;
    }

    .ts-contact-panel {
        min-height: 390px;
        padding: 35px 25px;
        border-radius: 22px;
    }

    .ts-contact-content h2 {
        font-size: clamp(2rem, 8.8vw, 2.7rem);
    }

    .ts-contact-content > p:not(.section-eyebrow) {
        font-size: 0.88rem;
    }

    .ts-contact-mark {
        right: -12%;
        bottom: -3%;
        font-size: 12rem;
    }

    .site-footer > .container {
        padding-top: 55px;
    }

    .footer-cta {
        margin-bottom: 45px;
        text-align: left;
    }

    .footer-cta .section-eyebrow {
        justify-content: flex-start;
    }

    .footer-cta h2 {
        font-size: 2.25rem;
    }

    .footer-cta > p:not(.section-eyebrow) {
        font-size: 0.88rem;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
        padding-block: 30px;
    }

    .footer-description {
        margin: 0;
    }

    .footer-nav {
        grid-column: auto;
        justify-content: flex-start;
        gap: 12px 20px;
    }

    .footer-bottom {
        min-height: 85px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding-block: 18px;
    }
}

/* =========================================================
   18. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   Taqnium Studio — Interaction Layer
   ========================================= */

/* Scroll reveal */
.reveal,
.service-card,
.project-card,
.process-step {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 650ms ease,
        transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible,
.service-card.is-visible,
.project-card.is-visible,
.process-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Premium service and project hover */
.service-card,
.project-card {
    border: 1px solid var(--ts-border);
    border-radius: 16px;
    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease,
        background-color 300ms ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.55);
    box-shadow: 0 12px 36px rgba(0, 229, 255, 0.09);
}

/* Hero visual pointer movement */
.hero-visual {
    --pointer-x: 0px;
    --pointer-y: 0px;
}

.hero-visual .hero-visual__inner {
    transform: translate3d(
        var(--pointer-x),
        var(--pointer-y),
        0
    );
    transition: transform 220ms ease-out;
}

/* Accessible keyboard focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--ts-cyan);
    outline-offset: 4px;
}

/* Mobile navigation */
@media (max-width: 800px) {
    .primary-nav {
        display: none;
    }

    .primary-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .service-card,
    .project-card,
    .process-step,
    .hero-visual .hero-visual__inner {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   PROJECT PREVIEW MOCKUPS
========================================= */

.ts-project-visual {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
}

.ts-mockup-browser {
    position: absolute;
    inset: 9% 7% 7%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    background: #08111f;
    box-shadow: 0 22px 65px rgba(0,0,0,.3);
    transition: transform .45s ease, box-shadow .45s ease;
}

.ts-project-visual:hover .ts-mockup-browser {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 28px 70px rgba(0,0,0,.4);
}

.ts-mockup-browser-bar {
    min-height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    background: #101c2d;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ts-mockup-browser-bar > span:nth-child(-n+3) {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #60728b;
}

.ts-mockup-address {
    margin-left: 8px;
    color: #9aabc0;
    font-size: 8px;
}

.ts-mockup-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: clamp(7px, .8vw, 11px);
}

.ts-mockup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 5%;
    color: #dce9f8;
    font-size: .75em;
    letter-spacing: .04em;
}

.ts-mockup-nav strong,
.ts-workflow-header strong {
    font-size: 1.3em;
    letter-spacing: -.04em;
}

.ts-mockup-nav strong span,
.ts-workflow-header strong span {
    color: #00e5ff;
}

.ts-mockup-hero {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 8px;
    padding: 2% 6%;
}

.ts-mockup-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #f2f7ff;
}

.ts-mockup-copy small,
.ts-business-hero small {
    color: #75e9f6;
    font-size: .72em;
    letter-spacing: .12em;
}

.ts-mockup-copy > strong {
    font-size: clamp(16px, 2.1vw, 29px);
    line-height: 1.05;
    letter-spacing: -.055em;
}

.ts-mockup-cta {
    padding: 7px 9px;
    border: 1px solid rgba(0,229,255,.55);
    color: #aaf7ff;
    font-size: .7em;
}

.ts-product-art {
    position: relative;
    height: 88%;
    min-height: 80px;
    border-radius: 45% 45% 8px 8px;
    background: radial-gradient(ellipse at 50% 35%, #387d91, #173044 48%, #101b2b 78%);
}

.ts-product-shape {
    position: absolute;
    width: 44%;
    height: 56%;
    top: 21%;
    left: 28%;
    border-radius: 42% 42% 34% 34%;
    border: 1px solid rgba(220,250,255,.5);
    background: linear-gradient(120deg, #e0c9a4, #8e7558 48%, #e7d9bf);
    box-shadow: 0 12px 25px rgba(0,0,0,.28);
}

.ts-mockup-bottom,
.ts-business-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 5%;
    color: #92a8bd;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .68em;
    letter-spacing: .06em;
}

/* Business website preview */

.ts-business-preview {
    background: linear-gradient(135deg, #f2f0e9, #d9e1e4);
    color: #142334;
}

.ts-business-preview .ts-mockup-nav {
    color: #142334;
    border-bottom: 1px solid rgba(20,35,52,.13);
}

.ts-business-preview .ts-mockup-nav strong span {
    color: #168a9b;
}

.ts-business-hero {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 4% 7%;
    overflow: hidden;
}

.ts-business-hero small {
    color: #267b89;
}

.ts-business-hero > strong {
    position: relative;
    z-index: 1;
    font-size: clamp(19px, 2.6vw, 35px);
    line-height: 1.02;
    letter-spacing: -.065em;
}

.ts-business-hero > strong span {
    color: #168a9b;
}

.ts-business-hero > span:not(.ts-business-shape) {
    position: relative;
    z-index: 1;
    max-width: 65%;
    color: #516273;
    line-height: 1.5;
}

.ts-business-shape {
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    right: 2%;
    top: 10%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8cdce0, #2b899a 55%, #174657);
    opacity: .85;
}

.ts-business-footer {
    color: #526575;
    border-color: rgba(20,35,52,.15);
}

/* Workflow dashboard preview */

.ts-workflow-preview {
    background: #0d1727;
    color: #eaf3ff;
}

.ts-workflow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 5%;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.ts-workflow-header > span {
    color: #8ca1ba;
    font-size: .7em;
}

.ts-workflow-layout {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: .65fr 2fr;
}

.ts-workflow-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 18px 10px;
    color: #91a6c0;
    border-right: 1px solid rgba(255,255,255,.08);
    font-size: .7em;
}

.ts-workflow-sidebar span:first-child {
    color: #68efff;
}

.ts-workflow-main {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px 4%;
}

.ts-workflow-main > strong {
    font-size: 1.2em;
}

.ts-workflow-main > span:nth-child(2) {
    color: #91a6c0;
    font-size: .8em;
}

.ts-workflow-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.ts-workflow-stats > span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 5px;
    color: #92a7c0;
    font-size: .65em;
}

.ts-workflow-stats strong {
    color: #f2f8ff;
    font-size: 1.8em;
}

.ts-workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-top: 4px;
    color: #69efff;
    font-size: .7em;
}

.ts-workflow-diagram span:nth-child(odd) {
    padding: 7px 5px;
    border: 1px solid rgba(0,229,255,.3);
    border-radius: 4px;
    background: rgba(0,229,255,.05);
}

@media (max-width: 600px) {
    .ts-mockup-browser {
        inset: 8% 5% 6%;
    }

    .ts-mockup-nav {
        padding: 9px 4%;
    }

    .ts-mockup-nav > span:nth-child(2) {
        font-size: .75em;
    }

    .ts-mockup-copy > strong {
        font-size: clamp(15px, 5vw, 23px);
    }

    .ts-business-hero > strong {
        font-size: clamp(18px, 5vw, 26px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-mockup-browser {
        transition: none;
    }
}

/* =========================================
   TAQNIUM STUDIO — REFERENCE HERO
========================================= */

.ts-hero-reference {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 0 0;
    background: #030a12;
    color: #f4f8ff;
}

.ts-hero-reference-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 75% 38%, rgba(0, 114, 255, .14), transparent 38%),
        radial-gradient(ellipse at 88% 70%, rgba(0, 229, 255, .08), transparent 28%),
        linear-gradient(110deg, #030811 0%, #04101c 58%, #020811 100%);
}

.ts-hero-reference-container {
    position: relative;
    z-index: 1;
}

.ts-hero-reference-main {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 12px;
    min-height: 530px;
}

.ts-hero-reference-content {
    position: relative;
    z-index: 2;
    padding: 22px 0 28px;
}

.ts-hero-reference .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    color: #c0d1e3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.6;
}

.ts-hero-reference .status-dot {
    display: inline-block;
    flex: 0 0 5px;
    width: 5px;
    height: 12px;
    border-radius: 0;
    background: #00e5ff;
    box-shadow: 0 0 14px rgba(0,229,255,.5);
}

.ts-hero-reference h1 {
    max-width: 600px;
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(38px, 4.25vw, 65px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.01;
}

.ts-hero-reference .text-gradient {
    color: #00dfff;
    background: linear-gradient(100deg, #00e5ff 0%, #149aff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ts-hero-reference-description {
    max-width: 470px;
    margin: 22px 0 25px;
    color: #b5c3d4;
    font-size: 14px;
    line-height: 1.8;
}

.ts-hero-reference-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ts-hero-reference-actions .button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.ts-hero-reference-actions .button-primary {
    color: #03101c;
    background: linear-gradient(110deg, #00e5ff, #129cff);
    border: 1px solid #00cfff;
    box-shadow: 0 8px 30px rgba(0,170,255,.13);
}

.ts-hero-reference-actions .button-secondary {
    color: #f3f7ff;
    background: rgba(3,12,22,.55);
    border: 1px solid rgba(0,218,255,.6);
}

.ts-hero-reference-actions .button:hover {
    transform: translateY(-2px);
}

.ts-hero-reference-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 42px;
}

.ts-hero-reference-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ts-hero-stat-icon {
    color: #00e5ff;
    font-size: 23px;
    line-height: 1;
}

.ts-hero-reference-stat > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ts-hero-reference-stat strong {
    color: #f5f8ff;
    font-size: 17px;
    line-height: 1;
}

.ts-hero-reference-stat > div > span {
    color: #91a5bb;
    font-size: 9px;
    line-height: 1.4;
}

.ts-hero-reference-visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 420px;
}

.ts-hero-reference-visual > img {
    display: block;
    width: 125%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateX(-5%);
    filter: drop-shadow(0 18px 45px rgba(0,115,255,.14));
}

.ts-hero-reference-sidewords {
    position: absolute;
    top: 8%;
    right: -1%;
    display: flex;
    flex-direction: column;
    color: #a5bbd5;
    font-size: 13px;
    line-height: 1.5;
    transform: rotate(-5deg);
    opacity: .75;
    pointer-events: none;
}

.ts-hero-reference-industries {
    position: relative;
    margin-top: 0;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(116,164,204,.13);
    background: rgba(2,8,15,.48);
}

.ts-hero-reference-industries > p {
    margin: 0 0 24px;
    color: #9aacc1;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
}

.ts-hero-industry-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.ts-hero-industry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    color: #a6b5c7;
    text-align: center;
    font-size: 11px;
    transition: color .25s ease, transform .25s ease;
}

.ts-hero-industry > span:first-child {
    color: #9eafc3;
    font-size: 28px;
    line-height: 1;
}

.ts-hero-industry:hover {
    color: #00e5ff;
    transform: translateY(-3px);
}

.ts-hero-industry:hover > span:first-child {
    color: #00e5ff;
}

/* Tablet */
@media (max-width: 1000px) {
    .ts-hero-reference-main {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        min-height: 470px;
    }

    .ts-hero-reference h1 {
        font-size: clamp(37px, 5.2vw, 54px);
    }

    .ts-hero-reference-visual > img {
        width: 140%;
    }

    .ts-hero-reference-stats {
        gap: 8px;
    }

    .ts-hero-stat-icon {
        font-size: 18px;
    }

    .ts-hero-reference-stat strong {
        font-size: 15px;
    }

    .ts-hero-reference-stat > div > span {
        font-size: 8px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .ts-hero-reference {
        padding-top: 20px;
    }

    .ts-hero-reference-main {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: 0;
    }

    .ts-hero-reference-content {
        padding: 22px 0 0;
    }

    .ts-hero-reference .section-eyebrow {
        margin-bottom: 19px;
        font-size: 9px;
    }

    .ts-hero-reference h1 {
        font-size: clamp(39px, 10vw, 58px);
        line-height: 1.02;
    }

    .ts-hero-reference-description {
        margin: 18px 0 22px;
        font-size: 13px;
    }

    .ts-hero-reference-actions {
        gap: 10px;
    }

    .ts-hero-reference-actions .button {
        min-height: 45px;
        gap: 10px;
        padding: 0 13px;
        font-size: 11px;
    }

    .ts-hero-reference-stats {
        gap: 7px;
        margin-top: 28px;
    }

    .ts-hero-reference-stat {
        align-items: flex-start;
        gap: 6px;
    }

    .ts-hero-stat-icon {
        font-size: 16px;
    }

    .ts-hero-reference-stat strong {
        font-size: 14px;
    }

    .ts-hero-reference-stat > div > span {
        font-size: 8px;
    }

    .ts-hero-reference-visual {
        min-height: 0;
        margin: -2px -10px 0;
        overflow: hidden;
    }

    .ts-hero-reference-visual > img {
        width: 112%;
        max-width: none;
        transform: translateX(-3%);
    }

    .ts-hero-reference-sidewords {
        display: none;
    }

    .ts-hero-reference-industries {
        padding: 20px 0;
    }

    .ts-hero-reference-industries > p {
        margin-bottom: 18px;
        font-size: 9px;
        line-height: 1.7;
    }

    .ts-hero-industry-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 22px;
    }

    .ts-hero-industry {
        gap: 8px;
        font-size: 9px;
    }

    .ts-hero-industry > span:first-child {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-hero-reference-actions .button,
    .ts-hero-industry {
        transition: none;
    }
}

/* =========================================
   CINEMATIC HERO INTERACTIONS
========================================= */

/* Slowly shifting blue light */
.ts-hero-reference-bg {
    background-size: 150% 150%;
    animation: tsAmbientLight 12s ease-in-out infinite alternate;
}

@keyframes tsAmbientLight {
    0% {
        background-position: 0% 30%;
        filter: brightness(.9);
    }
    100% {
        background-position: 100% 70%;
        filter: brightness(1.15);
    }
}

/* Cinematic entrance */
.ts-hero-reference-content .section-eyebrow,
.ts-hero-reference-content h1,
.ts-hero-reference-description,
.ts-hero-reference-actions,
.ts-hero-reference-stats {
    animation: tsHeroReveal .85s cubic-bezier(.2,.7,.2,1) both;
}

.ts-hero-reference-content h1 {
    animation-delay: .12s;
}

.ts-hero-reference-description {
    animation-delay: .22s;
}

.ts-hero-reference-actions {
    animation-delay: .32s;
}

.ts-hero-reference-stats {
    animation-delay: .42s;
}

.ts-hero-reference-visual {
    animation: tsVisualReveal 1.2s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: .12s;
}

@keyframes tsHeroReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tsVisualReveal {
    from {
        opacity: 0;
        transform: translateX(24px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Mouse parallax: JS controls these variables */
.ts-hero-reference-visual > img {
    transform: translate3d(
        calc(-5% + var(--hero-pointer-x, 0px)),
        var(--hero-pointer-y, 0px),
        0
    );
    transition: filter .35s ease;
    will-change: transform;
}

.ts-hero-reference-visual.ts-is-interacting > img {
    filter: drop-shadow(0 22px 48px rgba(0, 140, 255, .3));
}

/* Floating industry icons */
.ts-hero-industry > span:first-child {
    transition: transform .3s ease, color .3s ease, text-shadow .3s ease;
}

.ts-hero-industry:hover > span:first-child {
    transform: translateY(-5px) scale(1.12);
    text-shadow: 0 0 18px rgba(0, 229, 255, .45);
}

/* CTA micro-interactions */
.ts-hero-reference-actions .button {
    position: relative;
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.ts-hero-reference-actions .button-primary:hover {
    box-shadow: 0 0 28px rgba(0, 200, 255, .3);
}

.ts-hero-reference-actions .button-secondary:hover {
    box-shadow: 0 0 22px rgba(0, 200, 255, .15);
    border-color: #00e5ff;
}

.ts-hero-reference-actions .button span {
    display: inline-block;
    transition: transform .25s ease;
}

.ts-hero-reference-actions .button:hover span {
    transform: translateX(4px);
}

/* Keep mobile stable and lightweight */
@media (max-width: 700px) {
    .ts-hero-reference-visual > img {
        transform: none;
        will-change: auto;
    }

    .ts-hero-reference-bg {
        animation-duration: 18s;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ts-hero-reference-bg,
    .ts-hero-reference-content .section-eyebrow,
    .ts-hero-reference-content h1,
    .ts-hero-reference-description,
    .ts-hero-reference-actions,
    .ts-hero-reference-stats,
    .ts-hero-reference-visual {
        animation: none !important;
    }

    .ts-hero-reference-visual > img {
        transform: none !important;
        transition: none !important;
    }
}


/* =========================================
   REFINED CINEMATIC HERO — LESS IS MORE
========================================= */

/* Keep the background calm */
.ts-hero-reference-bg {
    animation: none !important;
    background-size: auto !important;
    background-position: center !important;
}

/* Give the hero a cleaner, more integrated composition */
.ts-hero-reference-main {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 0;
    min-height: 560px;
}

.ts-hero-reference-content {
    z-index: 2;
}

/* Remove image parallax and keep the artwork stable */
.ts-hero-reference-visual {
    overflow: hidden;
    min-width: 0;
}

.ts-hero-reference-visual > img {
    width: 120%;
    max-width: none;
    height: auto;
    transform: translateX(-7%) !important;
    filter: drop-shadow(0 12px 30px rgba(0, 100, 255, .12));
    animation: tsHeroArtworkFloat 7s ease-in-out infinite;
    will-change: transform;
}

/* Very subtle artwork movement */
@keyframes tsHeroArtworkFloat {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -5px;
    }
}

/* Soft light behind the artwork */
.ts-hero-reference-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 65%;
    aspect-ratio: 1;
    top: 14%;
    left: 24%;
    border-radius: 50%;
    background: rgba(0, 126, 255, .12);
    filter: blur(75px);
    pointer-events: none;
}

/* Cleaner button interactions */
.ts-hero-reference-actions .button {
    transform: none;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.ts-hero-reference-actions .button:hover {
    transform: none;
}

.ts-hero-reference-actions .button-primary:hover {
    box-shadow: 0 0 22px rgba(0, 205, 255, .2);
}

.ts-hero-reference-actions .button-secondary:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 16px rgba(0, 205, 255, .1);
}

/* Keep the industry strip understated */
.ts-hero-reference-industries {
    background: rgba(2, 8, 15, .24);
}

/* Tablet */
@media (max-width: 1000px) {
    .ts-hero-reference-main {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        min-height: 470px;
    }

    .ts-hero-reference-visual > img {
        width: 130%;
        transform: translateX(-8%) !important;
    }
}

/* Mobile: no floating movement */
@media (max-width: 700px) {
    .ts-hero-reference-main {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .ts-hero-reference-visual {
        overflow: hidden;
    }

    .ts-hero-reference-visual > img {
        width: 108%;
        transform: translateX(-4%) !important;
        animation: none;
    }

    .ts-hero-reference-visual::before {
        filter: blur(45px);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ts-hero-reference-visual > img {
        animation: none !important;
        translate: none !important;
    }
}

/* ========================================
   TAQNIUM STUDIO — CINEMATIC VIDEO HERO
======================================== */

.ts-energy-hero {
    position: relative;
    isolation: isolate;
    min-height: 760px;
    
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 7% 100px;
    background: #020812;
    color: #ffffff;
}


.ts-energy-video {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}


.ts-energy-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(2, 8, 17, 0.96) 0%,
            rgba(2, 8, 17, 0.82) 35%,
            rgba(2, 8, 17, 0.42) 68%,
            rgba(2, 8, 17, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 8, 17, 0.65),
            transparent 45%
        );
    pointer-events: none;
}

.ts-energy-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
}

.ts-energy-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    color: #9dc7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.ts-energy-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #3e9cff;
    box-shadow: 0 0 14px #3e9cff;
}

.ts-energy-heading {
    max-width: 1000px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 6.4vw, 86px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -3px;
    overflow-wrap: anywhere;
}

.ts-typing-text {
    color: #65adff;
    text-shadow: 0 0 35px rgba(40, 130, 255, 0.25);
}

.ts-typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    margin-left: 5px;
    vertical-align: -0.04em;
    background: #65adff;
    animation: ts-cursor-blink 0.8s steps(2, start) infinite;
}

@keyframes ts-cursor-blink {
    to {
        visibility: hidden;
    }
}

.ts-energy-description {
    max-width: 610px;
    margin: 28px 0 32px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.8;
}

.ts-energy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ts-energy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ts-energy-button:hover {
    transform: translateY(-3px);
}

.ts-energy-button-primary {
    border-color: #318bff;
    background: #247fff;
}

.ts-energy-button-primary:hover {
    background: #0868ec;
}

.ts-energy-button-secondary {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.ts-energy-button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.ts-energy-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ts-energy-trust-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ts-energy-trust-item strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
}

.ts-energy-trust-item span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.ts-energy-scroll {
    position: absolute;
    right: 7%;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.ts-energy-scroll-line {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #65adff;
}

@media (max-width: 768px) {
    .ts-energy-hero {
        min-height: 780px;
        min-height: 100svh;
        padding: 115px 24px 100px;
    }

    .ts-energy-video {
        object-position: 60% center;
    }

    .ts-energy-overlay {
        background: linear-gradient(
            90deg,
            rgba(2, 8, 17, 0.91),
            rgba(2, 8, 17, 0.65)
        );
    }

    .ts-energy-heading {
        font-size: clamp(40px, 10vw, 64px);
        letter-spacing: -1.8px;
        line-height: 1.12;
    }

    .ts-energy-description {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .ts-energy-trust {
        gap: 22px;
        margin-top: 38px;
    }

    .ts-energy-trust-item {
        min-width: 110px;
    }

    .ts-energy-scroll {
        right: auto;
        left: 24px;
        bottom: 25px;
        font-size: 9px;
    }
}

@media (max-width: 420px) {
    .ts-energy-hero {
        padding-right: 19px;
        padding-left: 19px;
    }

    .ts-energy-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ts-energy-button {
        width: 100%;
        box-sizing: border-box;
    }

    .ts-energy-trust {
        gap: 18px;
    }

    .ts-energy-trust-item {
        min-width: 125px;
    }

    .ts-energy-scroll {
        left: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-typing-cursor {
        animation: none;
    }
}

/* Taqnium Studio — Video clarity and full-width fix */

.ts-energy-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #020812;
}

.ts-energy-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    filter: none !important;
    pointer-events: none;
}

/* Reduce the dark overlay so more video detail is visible */
.ts-energy-overlay {
    background: linear-gradient(
        90deg,
        rgba(2, 8, 17, 0.90) 0%,
        rgba(2, 8, 17, 0.72) 35%,
        rgba(2, 8, 17, 0.18) 72%,
        rgba(2, 8, 17, 0.10) 100%
    ) !important;

    filter: none !important;
    backdrop-filter: none !important;
}

/* Prevent other hero effects from blurring the video */
.ts-energy-hero video {
    filter: none !important;
    backdrop-filter: none !important;
}


/* Hero heading and button color refinement */

.ts-typing-text {
    color: #00d9f5 !important;
    text-shadow: 0 0 24px rgba(0, 217, 245, 0.16);
}

.ts-typing-cursor {
    background: #00d9f5 !important;
}

.ts-energy-button-primary {
    background: #00d9f5 !important;
    border-color: #00d9f5 !important;
    color: #03101b !important;
}

.ts-energy-button-primary:hover {
    background: #45eaff !important;
    border-color: #45eaff !important;
}

.ts-energy-button-secondary {
    border-color: rgba(0, 217, 245, 0.55) !important;
    color: #ffffff !important;
}

.ts-energy-button-secondary:hover {
    background: rgba(0, 217, 245, 0.12) !important;
    border-color: #00d9f5 !important;
}

/* Balance the animated hero headline */

.ts-energy-heading {
    font-size: clamp(42px, 5.2vw, 76px) !important;
    line-height: 1.12;
    letter-spacing: -2px;
}

.ts-typing-text {
    display: inline-block;
    max-width: 100%;
    font-size: 0.72em !important;
    line-height: 1.2;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

/* Keep headline comfortable on mobile */
@media (max-width: 768px) {
    .ts-energy-heading {
        font-size: clamp(38px, 8vw, 58px) !important;
        letter-spacing: -1px;
    }

    .ts-typing-text {
        font-size: 0.76em !important;
        letter-spacing: -0.5px;
    }
}

/* Transparent header over the hero video */
.site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Dark fixed header after scrolling */
.site-header.is-scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(5, 12, 25, 0.97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* WordPress admin toolbar */
body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar .site-header.is-scrolled {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header,
    body.admin-bar .site-header.is-scrolled {
        top: 46px;
    }
}

/* FINAL FIX — Transparent header over video hero */

/* Header overlays the hero without taking layout space */
#site-header.site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Dark header after scrolling */
#site-header.site-header.is-scrolled {
    position: fixed !important;
    top: 0 !important;
    background: rgba(5, 12, 25, 0.97) !important;
    background-color: rgba(5, 12, 25, 0.97) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* WordPress admin toolbar */
body.admin-bar #site-header.site-header {
    top: 32px !important;
}

body.admin-bar #site-header.site-header.is-scrolled {
    top: 32px !important;
}

@media (max-width: 782px) {
    body.admin-bar #site-header.site-header,
    body.admin-bar #site-header.site-header.is-scrolled {
        top: 46px !important;
    }
}

/* Restore full hero height */
.ts-energy-hero {
    min-height: 100vh !important;
    min-height: 100svh !important;
}

/* Remove background from header and its inner wrappers at page top */

#site-header,
#site-header .header-inner {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Keep header transparent until user scrolls */
#site-header:not(.is-scrolled),
#site-header:not(.is-scrolled) .header-inner {
    background: transparent !important;
    background-color: transparent !important;
}

/* Restore dark background after scrolling */
#site-header.is-scrolled,
#site-header.is-scrolled .header-inner {
    background: rgba(5, 12, 25, 0.97) !important;
    background-color: rgba(5, 12, 25, 0.97) !important;
}

/* =========================================
   TAQNIUM STUDIO — CONSISTENT SITE WIDTH
========================================= */

/* Shared width for header and content sections */
.container {
    width: calc(100% - 64px) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Align hero content with the wider containers */
.ts-energy-hero {
    padding-left: max(32px, calc((100% - 1440px) / 2)) !important;
    padding-right: max(32px, calc((100% - 1440px) / 2)) !important;
}

/* Keep header content aligned with the same container */
#site-header .header-inner {
    width: calc(100% - 64px) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 768px) {
    .container,
    #site-header .header-inner {
        width: calc(100% - 40px) !important;
    }

    .ts-energy-hero {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container,
    #site-header .header-inner {
        width: calc(100% - 32px) !important;
    }

    .ts-energy-hero {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* =========================================
   TAQNIUM STUDIO — HERO VISUAL REFINEMENT
   Add at the very end of the existing CSS
========================================= */

/* Better balance between text and video */
.ts-energy-hero {
    min-height: 100svh !important;
    padding-top: 150px !important;
    padding-bottom: 110px !important;
}

/* Keep the content readable without overpowering the video */
.ts-energy-content {
    max-width: 790px !important;
}

/* Stronger, cleaner headline */
.ts-energy-heading {
    max-width: 790px !important;
    font-size: clamp(48px, 5.4vw, 78px) !important;
    line-height: 1.08 !important;
    letter-spacing: -2.6px !important;
    text-wrap: balance;
}

/* Consistent animated text size and spacing */
.ts-energy-heading .ts-typing-text {
    display: inline-block;
    font-size: 0.88em !important;
    line-height: 1.12 !important;
    letter-spacing: -1.8px !important;
    overflow-wrap: normal !important;
    text-shadow: 0 0 30px rgba(0, 217, 245, 0.18);
}

/* More polished description */
.ts-energy-description {
    max-width: 590px !important;
    margin-top: 24px !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: rgba(235, 244, 255, 0.78) !important;
}

/* Refined primary CTA */
.ts-energy-button-primary {
    border-radius: 8px !important;
    box-shadow: 0 8px 28px rgba(0, 217, 245, 0.13);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease !important;
}

.ts-energy-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 217, 245, 0.25);
}

/* Cleaner secondary CTA */
.ts-energy-button-secondary {
    border-radius: 8px !important;
    background: rgba(5, 17, 31, 0.55) !important;
    backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease !important;
}

.ts-energy-button-secondary:hover {
    transform: translateY(-3px);
    background: rgba(0, 217, 245, 0.10) !important;
}

/* Improve spacing and separation in the service strip */
.ts-energy-trust {
    gap: 32px !important;
    margin-top: 46px !important;
    padding-top: 25px !important;
    border-top-color: rgba(180, 215, 255, 0.20) !important;
}

.ts-energy-trust-item {
    gap: 8px !important;
}

.ts-energy-trust-item strong {
    font-size: 13px !important;
    letter-spacing: -0.1px;
}

.ts-energy-trust-item span {
    font-size: 12px !important;
    line-height: 1.6;
}

/* Keep the video prominent, with extra contrast behind the text */
.ts-energy-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(2, 8, 17, 0.94) 0%,
            rgba(2, 8, 17, 0.82) 34%,
            rgba(2, 8, 17, 0.38) 65%,
            rgba(2, 8, 17, 0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(2, 8, 17, 0.48) 0%,
            transparent 38%
        ) !important;
}

/* Scroll prompt: subtle, readable and away from the edge */
.ts-energy-scroll {
    right: 5% !important;
    bottom: 30px !important;
    z-index: 2;
    color: rgba(235, 244, 255, 0.78) !important;
}

/* Tablet */
@media (max-width: 768px) {
    .ts-energy-hero {
        min-height: 100svh !important;
        padding-top: 135px !important;
        padding-bottom: 100px !important;
    }

    .ts-energy-content {
        max-width: 100% !important;
    }

    .ts-energy-heading {
        font-size: clamp(42px, 8vw, 60px) !important;
        letter-spacing: -1.5px !important;
    }

    .ts-energy-heading .ts-typing-text {
        font-size: 0.78em !important;
        letter-spacing: -0.6px !important;
        overflow-wrap: anywhere !important;
    }

    .ts-energy-description {
        max-width: 540px !important;
        font-size: 15px !important;
    }

    .ts-energy-trust {
        gap: 22px !important;
        margin-top: 35px !important;
    }

    .ts-energy-scroll {
        right: auto !important;
        left: 20px !important;
        bottom: 22px !important;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ts-energy-hero {
        padding-top: 120px !important;
        padding-bottom: 95px !important;
    }

    .ts-energy-heading {
        font-size: clamp(38px, 10vw, 48px) !important;
        letter-spacing: -1.1px !important;
    }

    .ts-energy-heading .ts-typing-text {
        font-size: 0.8em !important;
    }

    .ts-energy-trust {
        gap: 18px !important;
    }

    .ts-energy-trust-item {
        min-width: 125px;
    }

    .ts-energy-scroll {
        left: 16px !important;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ts-energy-button,
    .ts-energy-button-primary,
    .ts-energy-button-secondary {
        transition: none !important;
    }

    .ts-typing-cursor {
        animation: none !important;
    }
}



/* HERO — NOTICEABLE COMPOSITION CHANGE */

.ts-energy-hero {
    min-height: 780px !important;
    padding-top: 135px !important;
    padding-bottom: 90px !important;
}

.ts-energy-content {
    max-width: 760px !important;
    transform: translateY(-12px);
}

.ts-energy-eyebrow {
    margin-bottom: 18px !important;
    font-size: 11px !important;
    letter-spacing: 2.2px !important;
}

.ts-energy-heading {
    max-width: 760px !important;
    font-size: clamp(50px, 5.3vw, 76px) !important;
    line-height: 1.04 !important;
    letter-spacing: -2.8px !important;
}

.ts-energy-heading .ts-typing-text {
    margin-top: 8px;
    font-size: 0.74em !important;
    line-height: 1.16 !important;
}

.ts-energy-description {
    max-width: 550px !important;
    margin-top: 22px !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}

.ts-energy-actions {
    margin-top: 28px;
    gap: 12px !important;
}

.ts-energy-button {
    min-height: 56px !important;
    padding: 0 26px !important;
}

.ts-energy-trust {
    max-width: 780px;
    margin-top: 40px !important;
    padding-top: 22px !important;
    gap: 30px !important;
}

/* Make the energy visual stand out on the right */
.ts-energy-video {
    object-fit: cover !important;
    object-position: 62% center !important;
}

.ts-energy-overlay {
    background:
        linear-gradient(
            90deg,
            #020812 0%,
            rgba(2, 8, 18, 0.94) 25%,
            rgba(2, 8, 18, 0.68) 43%,
            rgba(2, 8, 18, 0.12) 75%,
            rgba(2, 8, 18, 0.08) 100%
        ) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .ts-energy-hero {
        min-height: 100svh !important;
        padding-top: 125px !important;
        padding-bottom: 100px !important;
    }

    .ts-energy-content {
        transform: none;
    }

    .ts-energy-heading {
        font-size: clamp(40px, 9vw, 58px) !important;
        letter-spacing: -1.4px !important;
    }

    .ts-energy-video {
        object-position: 66% center !important;
    }

    .ts-energy-overlay {
        background: linear-gradient(
            90deg,
            rgba(2, 8, 18, 0.92),
            rgba(2, 8, 18, 0.65)
        ) !important;
    }
}










/* =========================================
   TRUSTED INDUSTRIES STRIP
========================================= */

.ts-industries-strip {
    position: relative;
    padding: 50px 32px;
    background: #050b17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-industries-heading {
    margin: 0 0 25px;
    color: #7aefff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.ts-industries-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
}

.ts-industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 8px;
    color: rgba(220, 230, 245, 0.68);
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.ts-industry-item + .ts-industry-item {
    border-left: 1px solid rgba(255, 255, 255, 0.045);
}

.ts-industry-item:hover {
    color: #ffffff;
}

.ts-industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    color: #9baec7;
    font-size: 30px;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ts-industry-item:hover .ts-industry-icon {
    color: #00d9f5;
    transform: translateY(-3px);
}

/* Tablet */
@media (max-width: 900px) {
    .ts-industries-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 12px;
    }

    .ts-industry-item:nth-child(5) {
        border-left: none;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .ts-industries-strip {
        padding: 25px 0;
    }

    .ts-industries-heading {
        max-width: 290px;
        margin: 0 auto 20px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .ts-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 8px;
    }

    .ts-industry-item {
        gap: 8px;
        padding: 15px 6px;
        font-size: 11px;
    }

    .ts-industry-item + .ts-industry-item {
        border-left: none;
    }

    .ts-industry-item:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ts-industry-icon {
        font-size: 27px;
    }
}

/* =========================================
   CONTINUOUS INDUSTRY STRIP ANIMATION
========================================= */

.ts-industries-strip {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Moving ambient cyan glow */
.ts-industries-strip::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -100%;
    left: -35%;
    width: 45%;
    height: 300%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 217, 245, 0.045),
        rgba(0, 217, 245, 0.12),
        rgba(0, 217, 245, 0.045),
        transparent
    );
    transform: skewX(-20deg);
    animation: tsIndustryLightSweep 7s ease-in-out infinite;
}

/* Continuously glowing bottom border */
.ts-industries-strip::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -30%;
    width: 30%;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        transparent,
        #00d9f5,
        #70f3ff,
        transparent
    );
    box-shadow: 0 0 12px rgba(0, 217, 245, 0.55);
    animation: tsIndustryBorderFlow 5s linear infinite;
}

/* Subtle continuous icon glow */
.ts-industry-icon {
    animation: tsIndustryIconGlow 3s ease-in-out infinite;
}

.ts-industry-item:nth-child(2) .ts-industry-icon {
    animation-delay: 0.4s;
}

.ts-industry-item:nth-child(3) .ts-industry-icon {
    animation-delay: 0.8s;
}

.ts-industry-item:nth-child(4) .ts-industry-icon {
    animation-delay: 1.2s;
}

.ts-industry-item:nth-child(5) .ts-industry-icon {
    animation-delay: 1.6s;
}

.ts-industry-item:nth-child(6) .ts-industry-icon {
    animation-delay: 2s;
}

.ts-industry-item:nth-child(7) .ts-industry-icon {
    animation-delay: 2.4s;
}

@keyframes tsIndustryLightSweep {
    0% {
        left: -45%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

@keyframes tsIndustryBorderFlow {
    from {
        left: -30%;
    }
    to {
        left: 110%;
    }
}

@keyframes tsIndustryIconGlow {
    0%, 100% {
        color: #9baec7;
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        color: #00d9f5;
        filter: drop-shadow(0 0 5px rgba(0, 217, 245, 0.35));
    }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ts-industries-strip::before,
    .ts-industries-strip::after,
    .ts-industry-icon {
        animation: none !important;
    }
}

/* =========================================
   INDUSTRY STRIP — PREMIUM POLISH
========================================= */

.ts-industries-strip {
    padding-top: 34px;
    padding-bottom: 34px;
    background:
        radial-gradient(
            ellipse at 50% 100%,
            rgba(0, 217, 245, 0.045),
            transparent 65%
        ),
        #050b17;
}

/* Heading: keep current size, improve clarity */
.ts-industries-heading {
    margin-bottom: 26px;
    color: #a9eefa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

/* Balanced industry columns */
.ts-industries-grid {
    align-items: stretch;
}

.ts-industry-item {
    position: relative;
    gap: 13px;
    padding: 18px 10px;
    color: #aab6c8;
    font-size: 12px;
    font-weight: 500;
    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

/* Consistent icon sizing and appearance */
.ts-industry-icon {
    min-height: 50px;
    font-size: 45px;
    color: #8fa9c4;
    transition:
        color 0.3s ease,
        transform 0.3s ease,
        filter 0.3s ease;
}

/* Subtle hover highlight */
.ts-industry-item:hover {
    color: #f2fbff;
    background-color: rgba(0, 217, 245, 0.035);
}

.ts-industry-item:hover .ts-industry-icon {
    color: #00d9f5;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 7px rgba(0, 217, 245, 0.3));
}

/* Softer vertical dividers */
.ts-industry-item + .ts-industry-item {
    border-left-color: rgba(150, 190, 220, 0.07);
}

/* Mobile spacing */
@media (max-width: 520px) {
    .ts-industries-strip {
        padding-top: 28px;
        padding-bottom: 26px;
    }

    .ts-industries-heading {
        margin-bottom: 18px;
        letter-spacing: 1.5px;
    }

    .ts-industry-item {
        padding: 14px 6px;
    }
}

/* =========================================
   SERVICES — PREMIUM CYAN GLASS CARDS
========================================= */

.ts-services {
    position: relative;
    overflow: hidden;
}

.ts-services .ts-section-heading {
    margin-bottom: 34px;
    align-items: end;
    gap: 40px;
}

.ts-services .ts-section-heading h2 {
    margin-bottom: 0;
}

.ts-services .ts-section-heading > p {
    max-width: 390px;
    margin-bottom: 6px;
}

.ts-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ts-service-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 218px;
    padding: 24px 24px 20px;
    overflow: hidden;
    border: 1px solid rgba(100, 165, 205, 0.15);
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(0, 217, 245, 0.055),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            rgba(16, 30, 49, 0.96),
            rgba(7, 15, 29, 0.98)
        );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

/* Service number */
.ts-service-card .ts-service-number {
    position: absolute;
    top: 19px;
    right: 20px;
    color: #526d8c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Icon tile */
.ts-service-card .ts-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border: 1px solid rgba(0, 217, 245, 0.24);
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        rgba(0, 217, 245, 0.13),
        rgba(0, 217, 245, 0.025)
    );
    color: #00d9f5;
    font-size: 31px;
    line-height: 1;
    text-shadow: 0 0 14px rgba(0, 217, 245, 0.3);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Card title */
.ts-service-card h3 {
    max-width: calc(100% - 8px);
    margin: 0 0 10px;
    color: #f3f7ff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

/* Description */
.ts-service-card > p {
    max-width: 340px;
    margin: 0 0 22px;
    color: #a9bad0;
    font-size: 13px;
    line-height: 1.75;
}

/* Circular arrow link */
.ts-service-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 34px;
    margin-top: auto;
    color: #00d9f5;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ts-service-card > a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-left: 2px;
    border: 1px solid rgba(0, 217, 245, 0.65);
    border-radius: 50%;
    font-size: 17px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover glow */
.ts-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 245, 0.65);
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(0, 217, 245, 0.10),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            rgba(17, 37, 58, 0.98),
            rgba(7, 15, 29, 0.98)
        );
    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.20),
        0 0 22px rgba(0, 217, 245, 0.055);
}

.ts-service-card:hover .ts-service-icon {
    transform: translateY(-2px);
    background: rgba(0, 217, 245, 0.15);
    box-shadow: 0 0 20px rgba(0, 217, 245, 0.10);
}

.ts-service-card > a:hover span {
    transform: translateX(3px);
    background: rgba(0, 217, 245, 0.12);
    box-shadow: 0 0 14px rgba(0, 217, 245, 0.15);
}

/* Featured sixth card */
.ts-service-card.ts-service-featured {
    border-color: rgba(0, 217, 245, 0.28);
}

/* Tablet */
@media (max-width: 900px) {
    .ts-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-service-card {
        min-height: 225px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .ts-services .ts-section-heading {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 26px;
    }

    .ts-service-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .ts-service-card {
        min-height: 0;
        padding: 22px 20px;
    }

    .ts-service-card .ts-service-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
    }

    .ts-service-card h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-service-card,
    .ts-service-card .ts-service-icon,
    .ts-service-card > a span {
        transition: none !important;
    }

    .ts-service-card:hover {
        transform: none;
    }
}


/* =========================================
   SERVICES — ANIMATED STATISTICS STRIP
========================================= */

.ts-service-stats {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-top: 38px;
    padding: 25px 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 217, 245, 0.18);
    border-bottom: 1px solid rgba(0, 217, 245, 0.18);
    background: linear-gradient(
        90deg,
        rgba(0, 217, 245, 0.025),
        rgba(8, 20, 36, 0.96) 25%,
        rgba(8, 20, 36, 0.96) 75%,
        rgba(0, 217, 245, 0.025)
    );
}

/* Blue energy flowing behind the numbers */
.ts-service-stats::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -65%;
    left: -30%;
    width: 35%;
    height: 230%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 160, 255, 0.08),
        rgba(0, 217, 245, 0.20),
        rgba(0, 160, 255, 0.08),
        transparent
    );
    transform: skewX(-22deg);
    pointer-events: none;
    animation: tsStatsEnergyFlow 8s ease-in-out infinite;
}

.ts-service-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1440px;
    width: calc(100% - 64px);
    margin: 0 auto;
}

.ts-service-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 4px 16px;
    text-align: center;
}

.ts-service-stat + .ts-service-stat {
    border-left: 1px solid rgba(100, 165, 205, 0.13);
}

.ts-service-stat strong {
    color: #00d9f5;
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 18px rgba(0, 217, 245, 0.16);
}

.ts-service-stat span {
    color: #bdc9da;
    font-size: 12px;
    line-height: 1.5;
}

@keyframes tsStatsEnergyFlow {
    0% {
        left: -35%;
        opacity: 0;
    }
    20%, 75% {
        opacity: 1;
    }
    100% {
        left: 110%;
        opacity: 0;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .ts-service-stats-inner {
        width: calc(100% - 40px);
    }

    .ts-service-stat {
        padding: 4px 10px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .ts-service-stats {
        margin-top: 26px;
        padding: 20px 0;
    }

    .ts-service-stats-inner {
        width: calc(100% - 32px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .ts-service-stat:nth-child(3) {
        border-left: none;
    }

    .ts-service-stat strong {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-service-stats::before {
        animation: none !important;
    }
}

/* ==========================================
   SERVICES — VISIBLE ANIMATED BACKGROUND GLOW
========================================== */

.ts-services {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #070e1c;
}

/* Keep the background effect behind all service content */
.ts-services > .container {
    position: relative;
    z-index: 2;
}

/* Large ambient blue light */
.ts-services::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;

    width: 750px;
    height: 500px;
    top: 5%;
    left: -260px;

    background: radial-gradient(
        ellipse,
        rgba(0, 174, 255, 0.16) 0%,
        rgba(0, 120, 255, 0.07) 38%,
        transparent 72%
    );

    filter: blur(55px);
    animation: tsServicesGlow 12s ease-in-out infinite alternate;
}

/* Second moving cyan glow */
.ts-services::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;

    width: 700px;
    height: 480px;
    top: 20%;
    right: -260px;

    background: radial-gradient(
        ellipse,
        rgba(0, 217, 245, 0.13) 0%,
        rgba(0, 130, 255, 0.06) 42%,
        transparent 72%
    );

    filter: blur(65px);
    animation: tsServicesGlow 15s ease-in-out infinite alternate-reverse;
}

@keyframes tsServicesGlow {
    0% {
        transform: translate3d(0, -15px, 0) scale(0.9);
        opacity: 0.65;
    }

    50% {
        transform: translate3d(100px, 25px, 0) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translate3d(35px, 65px, 0) scale(1);
        opacity: 0.8;
    }
}

/* Slightly brighter card edges on hover */
.ts-services .ts-service-card {
    position: relative;
    z-index: 1;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.ts-services .ts-service-card:hover {
    border-color: rgba(0, 217, 245, 0.42);
    box-shadow: 0 0 30px rgba(0, 174, 255, 0.09);
}

@media (prefers-reduced-motion: reduce) {
    .ts-services::before,
    .ts-services::after {
        animation: none !important;
    }
}

/* Statistics counter layout fix */
.ts-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  min-height: 100px;
}

.ts-stat-number {
  display: block;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  color: #08d8f5;
  font-variant-numeric: tabular-nums;
}

.ts-stat-item > span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #c1ccdc;
}

@media (max-width: 600px) {
  .ts-stat-item {
    min-height: 85px;
    gap: 6px;
  }

  .ts-stat-number {
    font-size: 25px;
  }

  .ts-stat-item > span {
    font-size: 12px;
  }
}

/* =========================================
   OUR WORK — LAYOUT POLISH
   ========================================= */

/* Consistent section heading spacing */
.ts-projects .ts-section-heading {
    margin-bottom: 42px;
}

/* Project cards align consistently */
.ts-project-slider .swiper-wrapper {
    align-items: stretch;
}

.ts-project-slider .swiper-slide {
    height: auto;
}

.ts-project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Consistent preview height and spacing */
.ts-project-visual {
    min-height: 320px;
    padding: 24px;
    border-radius: 20px;
}

/* Softer, more premium hover */
.ts-project-card:hover .ts-project-visual,
.ts-project-card:focus-within .ts-project-visual {
    border-color: rgba(0, 229, 255, 0.52);
    box-shadow:
        0 12px 34px rgba(0, 0, 0, 0.20),
        0 0 16px rgba(0, 229, 255, 0.055);
}

/* Keep project titles aligned */
.ts-project-info {
    flex: 1;
    min-height: 88px;
    padding: 22px 2px 16px;
}

/* Navigation arrows: balanced spacing */
.ts-slider-prev,
.ts-slider-next {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(122, 239, 255, 0.20);
    border-radius: 50%;
    background: rgba(12, 24, 42, 0.75);
    color: var(--ts-cyan);
    cursor: pointer;
    transition:
        border-color 250ms ease,
        background-color 250ms ease,
        transform 250ms ease;
}

.ts-slider-prev:hover,
.ts-slider-next:hover {
    border-color: rgba(0, 229, 255, 0.65);
    background: rgba(0, 229, 255, 0.08);
    transform: translateY(-2px);
}

.ts-slider-prev:focus-visible,
.ts-slider-next:focus-visible {
    outline: 2px solid var(--ts-cyan);
    outline-offset: 3px;
}

/* Disabled slider controls */
.ts-slider-prev.swiper-button-disabled,
.ts-slider-next.swiper-button-disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

/* Pagination spacing */
.ts-slider-pagination {
    margin-top: 24px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .ts-projects .ts-section-heading {
        margin-bottom: 28px;
    }

    .ts-project-visual {
        min-height: 250px;
        padding: 16px;
        border-radius: 16px;
    }

    .ts-project-info {
        min-height: auto;
        padding-top: 18px;
    }

    .ts-slider-prev,
    .ts-slider-next {
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-slider-prev,
    .ts-slider-next {
        transition: none;
    }
}

/* Our Work — final visual refinements */

.ts-projects .ts-section-heading {
    margin-bottom: 30px;
}

.ts-project-card:hover .ts-project-visual,
.ts-project-card:focus-within .ts-project-visual {
    border-color: rgba(0, 229, 255, 0.48);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.22),
        0 0 14px rgba(0, 229, 255, 0.045);
}

.ts-slider-prev,
.ts-slider-next {
    background: #0B1628;
    border-color: rgba(122, 239, 255, 0.25);
    color: #00E5FF;
}

.ts-slider-prev:hover,
.ts-slider-next:hover {
    background: rgba(0, 229, 255, 0.10);
    border-color: rgba(0, 229, 255, 0.65);
}

.ts-project-info {
    padding-top: 18px;
}

@media (max-width: 767px) {
    .ts-projects .ts-section-heading {
        margin-bottom: 24px;
    }
}

/* =========================================
   OUR WORK — FILTERABLE PROJECT GRID
========================================= */

.ts-work-grid-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ts-work-grid-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 8%;
    right: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 210, 255, 0.07) 0%,
        rgba(0, 210, 255, 0.025) 38%,
        transparent 70%
    );
    pointer-events: none;
}

.ts-work-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

.ts-work-heading h2 {
    margin-bottom: 0;
}

.ts-work-intro {
    max-width: 490px;
    justify-self: end;
    margin: 0 0 5px;
    color: var(--ts-text-muted, #a8b5c9);
    font-size: 1rem;
    line-height: 1.8;
}

/* Filter buttons */

.ts-work-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.ts-work-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(122, 180, 220, 0.19);
    border-radius: 999px;
    background: rgba(13, 24, 42, 0.55);
    color: #aebbd0;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        color 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.ts-work-filter span {
    color: #7085a3;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
}

.ts-work-filter:hover {
    border-color: rgba(0, 229, 255, 0.55);
    color: #ffffff;
    transform: translateY(-2px);
}

.ts-work-filter.is-active {
    border-color: var(--ts-cyan, #00e5ff);
    background: var(--ts-cyan, #00e5ff);
    color: #04111b;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.ts-work-filter.is-active span {
    color: #075568;
}

/* Three-column project grid */

.ts-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px 22px;
}

.ts-grid-project {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    animation: ts-project-enter 360ms ease both;
}

.ts-grid-project[hidden] {
    display: none !important;
}

@keyframes ts-project-enter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project preview */

.ts-grid-project .ts-project-visual {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.42 / 1;
    padding: clamp(12px, 1.4vw, 20px);
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    text-decoration: none;
}

.ts-grid-project .ts-mockup-browser {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(164, 202, 226, 0.2);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.24);
    transition: transform 350ms ease;
}

.ts-grid-project:hover .ts-mockup-browser {
    transform: translateY(-3px) scale(1.015);
}

.ts-grid-project .ts-project-open {
    top: 14px;
    right: 14px;
    z-index: 2;
}

.ts-grid-project-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 2px 4px;
}

.ts-grid-project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.ts-grid-project-top .ts-project-category {
    margin: 0;
    color: var(--ts-cyan-soft, #7aefff);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.075em;
    line-height: 1.5;
}

.ts-grid-project-top .ts-project-index {
    flex-shrink: 0;
    color: #71839e;
    font-size: 0.76rem;
}

.ts-grid-project-info h3 {
    margin: 0 0 10px;
    color: var(--ts-text, #f4f7ff);
    font-size: clamp(1.08rem, 1.35vw, 1.3rem);
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.ts-grid-project-description {
    margin: 0 0 17px;
    color: var(--ts-text-muted, #a8b5c9);
    font-size: 0.84rem;
    line-height: 1.75;
}

/* Technology and service tags */

.ts-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.ts-project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 9px;
    border: 1px solid rgba(126, 157, 191, 0.18);
    border-radius: 6px;
    background: rgba(14, 25, 43, 0.55);
    color: #9aabc2;
    font-size: 0.68rem;
    line-height: 1.3;
}

.ts-grid-project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 4px;
    color: var(--ts-cyan, #00e5ff);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 220ms ease, color 220ms ease;
}

.ts-grid-project-link span {
    font-size: 1rem;
}

.ts-grid-project-link:hover {
    gap: 14px;
    color: #a2f7ff;
}

/* Keyboard accessibility */

.ts-work-filter:focus-visible,
.ts-grid-project-link:focus-visible,
.ts-grid-project .ts-project-visual:focus-visible {
    outline: 2px solid var(--ts-cyan, #00e5ff);
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1000px) {
    .ts-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .ts-work-heading {
        gap: 28px;
    }

    .ts-grid-project .ts-project-visual {
        aspect-ratio: 1.35 / 1;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .ts-work-heading {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 25px;
    }

    .ts-work-intro {
        justify-self: start;
        font-size: 0.9rem;
    }

    .ts-work-filters {
        gap: 8px;
        margin-bottom: 24px;
    }

    .ts-work-filter {
        min-height: 38px;
        gap: 7px;
        padding: 8px 12px;
        font-size: 0.73rem;
    }

    .ts-project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .ts-grid-project .ts-project-visual {
        aspect-ratio: 1.3 / 1;
        padding: 13px;
        border-radius: 14px;
    }

    .ts-grid-project-info {
        padding-top: 16px;
    }

    .ts-grid-project-info h3 {
        font-size: 1.15rem;
    }

    .ts-grid-project-description {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-grid-project {
        animation: none;
    }

    .ts-grid-project .ts-project-visual,
    .ts-grid-project .ts-mockup-browser,
    .ts-work-filter,
    .ts-grid-project-link {
        transition: none;
    }
}

/* =========================================
   ABOUT — PREMIUM STUDIO SECTION
========================================= */

.ts-about {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-top: clamp(90px, 10vw, 145px);
    padding-bottom: clamp(90px, 10vw, 145px);
}

.ts-about::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: -210px;
    width: 540px;
    height: 540px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 208, 255, 0.09) 0%,
        rgba(0, 208, 255, 0.035) 38%,
        transparent 70%
    );
    pointer-events: none;
}

.ts-about-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 110px);
}

/* Left visual */

.ts-about-visual {
    position: relative;
    display: grid;
    min-height: 440px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(122, 239, 255, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(
            ellipse at 50% 45%,
            rgba(0, 216, 255, 0.13),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            rgba(17, 39, 61, 0.85),
            rgba(5, 12, 26, 0.96) 70%
        );
    isolation: isolate;
}

.ts-about-visual::before,
.ts-about-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.ts-about-visual::before {
    animation: ts-about-orbit 24s linear infinite;
}

.ts-about-visual::after {
    width: 250px;
    height: 250px;
    border-color: rgba(125, 222, 255, 0.12);
    animation: ts-about-orbit 18s linear infinite reverse;
}

.ts-about-frame {
    position: relative;
    display: flex;
    width: min(72%, 300px);
    aspect-ratio: 0.86;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid rgba(122, 239, 255, 0.24);
    border-radius: 18px;
    background: linear-gradient(
        150deg,
        rgba(24, 57, 81, 0.66),
        rgba(5, 13, 28, 0.88)
    );
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ts-about-frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(122, 239, 255, 0.09);
    border-radius: 11px;
    pointer-events: none;
}

.ts-about-monogram {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, 0.48);
    border-radius: 30px;
    background: linear-gradient(
        145deg,
        rgba(0, 229, 255, 0.15),
        rgba(0, 229, 255, 0.025)
    );
    box-shadow:
        0 0 45px rgba(0, 229, 255, 0.09),
        inset 0 0 24px rgba(0, 229, 255, 0.05);
    color: var(--ts-cyan, #00e5ff);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.09em;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.ts-about-frame-caption {
    color: #a6bfd3;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-align: center;
}

.ts-about-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 150px;
    transform: translate(-50%, -50%) rotate(-32deg);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.ts-about-orbit::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 43px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.85);
}

/* Right content */

.ts-about-content {
    min-width: 0;
}

.ts-about-content .section-eyebrow {
    margin-bottom: 20px;
}

.ts-about-content h2 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.ts-about-content > p:not(.section-eyebrow) {
    max-width: 620px;
    margin-bottom: 26px;
    color: var(--ts-text-muted, #a8b5c9);
    font-size: 0.97rem;
    line-height: 1.9;
}

/* Value points */

.ts-value-list {
    display: grid;
    gap: 0;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.ts-value-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(125, 157, 190, 0.13);
    color: #d6e1f0;
    font-size: 0.88rem;
    line-height: 1.65;
}

.ts-value-list li:first-child {
    border-top: 1px solid rgba(125, 157, 190, 0.13);
}

.ts-value-list li > span {
    display: grid;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    place-items: center;
    margin-top: 1px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.08);
    color: var(--ts-cyan, #00e5ff);
    font-size: 0.75rem;
    font-weight: 800;
}

.ts-about-content .text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 220ms ease, color 220ms ease;
}

.ts-about-content .text-link:hover {
    gap: 16px;
    color: #a2f7ff;
}

/* Animation */

@keyframes ts-about-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Tablet */

@media (max-width: 900px) {
    .ts-about-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 35px;
    }

    .ts-about-visual {
        min-height: 370px;
    }

    .ts-about-visual::before {
        width: 280px;
        height: 280px;
    }

    .ts-about-visual::after {
        width: 210px;
        height: 210px;
    }

    .ts-about-frame {
        width: 78%;
    }

    .ts-about-monogram {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }

    .ts-about-content h2 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
}

/* Mobile */

@media (max-width: 640px) {
    .ts-about {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .ts-about-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .ts-about-visual {
        min-height: 310px;
        border-radius: 18px;
    }

    .ts-about-visual::before {
        width: 250px;
        height: 250px;
    }

    .ts-about-visual::after {
        width: 190px;
        height: 190px;
    }

    .ts-about-frame {
        width: min(70%, 235px);
    }

    .ts-about-monogram {
        width: 82px;
        height: 82px;
        border-radius: 23px;
        font-size: 2.2rem;
    }

    .ts-about-orbit {
        width: 310px;
        height: 120px;
    }

    .ts-about-content h2 {
        font-size: clamp(2.1rem, 9vw, 2.8rem);
    }

    .ts-about-content > p:not(.section-eyebrow) {
        font-size: 0.91rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-about-visual::before,
    .ts-about-visual::after {
        animation: none;
    }

    .ts-about-content .text-link {
        transition: none;
    }
}

/* FIX: Make About orbital rings visibly rotate */

.ts-about-visual::before {
    animation: ts-about-ring-rotate 18s linear infinite !important;
    transform-origin: center center;
    will-change: transform;
}

.ts-about-visual::after {
    animation: ts-about-ring-rotate 26s linear infinite reverse !important;
    transform-origin: center center;
    will-change: transform;
}

@keyframes ts-about-ring-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-about-visual::before,
    .ts-about-visual::after {
        animation: none !important;
        will-change: auto;
    }
}

/* =========================================
   TAQNIUM STUDIO — Animated About Visual
========================================= */

.ts-about-visual {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 480px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 50% 48%,
            rgba(0, 132, 190, 0.16), transparent 48%),
        linear-gradient(145deg, #0c1c2d, #050b17 75%);
}

.ts-about-visual::before,
.ts-about-visual::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.ts-about-visual::before {
    inset: -35%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 229, 255, 0.04) 55deg,
        transparent 110deg,
        rgba(38, 137, 255, 0.09) 190deg,
        transparent 260deg,
        rgba(0, 229, 255, 0.04) 320deg,
        transparent 360deg
    );
    animation: ts-about-ambient-spin 32s linear infinite;
}

.ts-about-visual::after {
    inset: 0;
    opacity: 0.24;
    background-image: radial-gradient(
        rgba(112, 207, 255, 0.45) 0.8px,
        transparent 0.8px
    );
    background-size: 25px 25px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 20%,
        #000 80%,
        transparent
    );
}

.ts-about-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: grid;
    place-items: center;
    perspective: 1000px;
}

/* Orbital rings */

.ts-about-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 67%;
    height: 34%;
    border: 1px solid rgba(0, 205, 255, 0.48);
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
}

.ts-about-orbit-one {
    transform: translate(-50%, -50%) rotate(-32deg);
    animation: ts-about-orbit-one 14s linear infinite;
}

.ts-about-orbit-two {
    width: 73%;
    height: 42%;
    border-color: rgba(55, 151, 255, 0.32);
    transform: translate(-50%, -50%) rotate(42deg);
    animation: ts-about-orbit-two 19s linear infinite;
}

.ts-about-orbit-three {
    width: 54%;
    height: 64%;
    border-style: dashed;
    border-color: rgba(0, 229, 255, 0.23);
    transform: translate(-50%, -50%) rotate(60deg);
    animation: ts-about-orbit-three 28s linear infinite;
}

/* Orbiting light nodes */

.ts-about-orbit-dot {
    position: absolute;
    z-index: 3;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow:
        0 0 10px #00e5ff,
        0 0 25px rgba(0, 229, 255, 0.65);
}

.ts-about-dot-one {
    top: 29%;
    left: 27%;
    animation: ts-about-dot-float 4s ease-in-out infinite;
}

.ts-about-dot-two {
    top: 63%;
    right: 24%;
    animation: ts-about-dot-float 5s ease-in-out infinite reverse;
}

.ts-about-dot-three {
    bottom: 24%;
    left: 39%;
    width: 6px;
    height: 6px;
    animation: ts-about-dot-float 4.5s ease-in-out infinite;
}

/* 3D TS cube */

.ts-about-cube-wrap {
    position: relative;
    z-index: 2;
    width: 145px;
    height: 145px;
    display: grid;
    place-items: center;
    transform-style: preserve-3d;
    animation: ts-about-cube-float 5s ease-in-out infinite;
}

.ts-about-cube {
    position: relative;
    width: 112px;
    height: 112px;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(-32deg);
    animation: ts-about-cube-rotate 16s linear infinite;
}

.ts-about-cube-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(77, 221, 255, 0.8);
    background: rgba(0, 143, 205, 0.11);
    box-shadow: inset 0 0 25px rgba(0, 198, 255, 0.09);
    backface-visibility: visible;
}

.ts-about-cube-face.ts-cube-front {
    color: #00e5ff;
    font-size: 2.7rem;
    font-weight: 850;
    text-shadow: 0 0 24px rgba(0, 229, 255, 0.7);
    background: linear-gradient(
        145deg,
        rgba(21, 89, 125, 0.78),
        rgba(4, 16, 32, 0.92)
    );
    transform: translateZ(56px);
    box-shadow:
        inset 0 0 25px rgba(0, 229, 255, 0.2),
        0 0 28px rgba(0, 163, 255, 0.12);
}

.ts-cube-back {
    transform: rotateY(180deg) translateZ(56px);
}

.ts-cube-right {
    transform: rotateY(90deg) translateZ(56px);
}

.ts-cube-left {
    transform: rotateY(-90deg) translateZ(56px);
}

.ts-cube-top {
    transform: rotateX(90deg) translateZ(56px);
}

.ts-cube-bottom {
    transform: rotateX(-90deg) translateZ(56px);
}

/* Floating service labels */

.ts-about-label {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid rgba(0, 218, 255, 0.3);
    border-radius: 13px;
    background: rgba(5, 17, 32, 0.88);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    animation: ts-about-label-float 6s ease-in-out infinite;
}

.ts-about-label-icon {
    display: grid;
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    place-items: center;
    border-radius: 9px;
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    font-size: 1.25rem;
}

.ts-about-label strong,
.ts-about-label small {
    display: block;
    white-space: nowrap;
}

.ts-about-label strong {
    color: #f3f8ff;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
}

.ts-about-label small {
    margin-top: 4px;
    color: #9eb3c9;
    font-size: 0.65rem;
}

.ts-about-label-strategy {
    top: 15%;
    left: 7%;
    animation-delay: -1s;
}

.ts-about-label-development {
    top: 32%;
    right: 4%;
    animation-delay: -3s;
}

.ts-about-label-design {
    bottom: 24%;
    left: 5%;
    animation-delay: -2s;
}

.ts-about-label-automation {
    right: 8%;
    bottom: 15%;
    animation-delay: -4s;
}

/* Motion */

@keyframes ts-about-ambient-spin {
    to { transform: rotate(360deg); }
}

@keyframes ts-about-orbit-one {
    from { transform: translate(-50%, -50%) rotate(-32deg); }
    to   { transform: translate(-50%, -50%) rotate(328deg); }
}

@keyframes ts-about-orbit-two {
    from { transform: translate(-50%, -50%) rotate(42deg); }
    to   { transform: translate(-50%, -50%) rotate(-318deg); }
}

@keyframes ts-about-orbit-three {
    from { transform: translate(-50%, -50%) rotate(60deg); }
    to   { transform: translate(-50%, -50%) rotate(420deg); }
}

@keyframes ts-about-cube-rotate {
    from { transform: rotateX(-22deg) rotateY(-32deg); }
    to   { transform: rotateX(338deg) rotateY(328deg); }
}

@keyframes ts-about-cube-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes ts-about-label-float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -7px; }
}

@keyframes ts-about-dot-float {
    0%, 100% { translate: 0 0; opacity: 0.65; }
    50%      { translate: 8px -12px; opacity: 1; }
}

/* Tablet and mobile */

@media (max-width: 900px) {
    .ts-about-visual,
    .ts-about-frame {
        min-height: 420px;
    }

    .ts-about-label-development {
        right: 3%;
    }
}

@media (max-width: 560px) {
    .ts-about-visual,
    .ts-about-frame {
        min-height: 350px;
        border-radius: 20px;
    }

    .ts-about-cube-wrap {
        transform: scale(0.78);
    }

    .ts-about-label {
        gap: 6px;
        padding: 8px;
    }

    .ts-about-label-icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 1rem;
    }

    .ts-about-label strong {
        font-size: 0.52rem;
    }

    .ts-about-label small {
        font-size: 0.55rem;
    }

    .ts-about-label-strategy { top: 12%; left: 3%; }
    .ts-about-label-development { top: 30%; right: 2%; }
    .ts-about-label-design { bottom: 23%; left: 2%; }
    .ts-about-label-automation { right: 3%; bottom: 12%; }
}

/* Respect visitors who prefer less motion */

@media (prefers-reduced-motion: reduce) {
    .ts-about-visual *,
    .ts-about-visual::before {
        animation: none !important;
        transition: none !important;
    }
}

/* About: premium value proposition list */
.ts-value-list {
    list-style: none;
    margin: 28px 0;
    padding: 0;
    border-top: 1px solid rgba(122, 239, 255, 0.12);
}

.ts-value-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(122, 239, 255, 0.12);
}

.ts-value-list .ts-value-icon {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.38);
    border-radius: 15px;
    background: #071725;
    color: #00e5ff;
    font-size: 25px;
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.07);
}

.ts-value-list .ts-value-icon::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -70%;
    background: conic-gradient(
        transparent 0deg,
        transparent 245deg,
        #00e5ff 285deg,
        #b5fbff 305deg,
        transparent 330deg
    );
    animation: ts-value-border-spin 3s linear infinite;
}

.ts-value-list .ts-value-icon::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1px;
    border-radius: 13px;
    background: linear-gradient(145deg, #0b2637, #06111f);
}

.ts-value-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ts-value-copy strong {
    color: #f4f8ff;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.45;
}

.ts-value-copy > span {
    color: #aabbd0;
    font-size: 0.84rem;
    line-height: 1.5;
}

.ts-value-list li:hover .ts-value-icon {
    border-color: #00e5ff;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.13);
}

@keyframes ts-value-border-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 600px) {
    .ts-value-list li {
        gap: 14px;
        padding: 13px 0;
    }

    .ts-value-list .ts-value-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 22px;
    }

    .ts-value-copy strong {
        font-size: 0.88rem;
    }

    .ts-value-copy > span {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-value-list .ts-value-icon::before {
        animation: none;
    }
}

/* FIX: About value list alignment and text wrapping */
.ts-about-content .ts-value-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ts-about-content .ts-value-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 0;
    min-height: 78px;
    padding: 12px 0;
    box-sizing: border-box;
}

.ts-about-content .ts-value-list .ts-value-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}

.ts-about-content .ts-value-copy {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ts-about-content .ts-value-copy strong {
    display: block;
    width: 100%;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
}

.ts-about-content .ts-value-copy > span {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    color: #aabbd0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: normal;
}

.ts-about-content .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .ts-about-content .ts-value-list li {
        gap: 14px;
        min-height: 72px;
    }

    .ts-about-content .ts-value-list .ts-value-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

/* Remove unwanted decorative lines from About list rows */
.ts-about-content .ts-value-list li::before,
.ts-about-content .ts-value-list li::after,
.ts-about-content .ts-value-copy::before,
.ts-about-content .ts-value-copy::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Keep only the intended row separators */
.ts-about-content .ts-value-list li {
    background-image: none !important;
    box-shadow: none;
}

/* Preserve the animated icon border */
.ts-about-content .ts-value-icon::before {
    content: "" !important;
    display: block !important;
    background: conic-gradient(
        transparent 0deg,
        transparent 245deg,
        #00e5ff 285deg,
        #b5fbff 305deg,
        transparent 330deg
    ) !important;
    box-shadow: none;
}

.ts-about-content .ts-value-icon::after {
    content: "" !important;
    display: block !important;
    background: linear-gradient(145deg, #0b2637, #06111f) !important;
}

/* FINAL FIX: remove unwanted pointed cyan shapes */
.ts-about .ts-value-list li {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    overflow: hidden;
}

.ts-about .ts-value-list li::before,
.ts-about .ts-value-list li::after,
.ts-about .ts-value-list .ts-value-icon ~ *::before,
.ts-about .ts-value-list .ts-value-icon ~ *::after,
.ts-about .ts-value-copy::before,
.ts-about .ts-value-copy::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep separators simple and clean */
.ts-about .ts-value-list {
    border-top: 1px solid rgba(122, 239, 255, 0.12) !important;
}

.ts-about .ts-value-list li {
    border-bottom: 1px solid rgba(122, 239, 255, 0.12) !important;
}

/* Preserve animated icon border */
.ts-about .ts-value-list .ts-value-icon {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    filter: none !important;
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.07);
}

.ts-about .ts-value-list .ts-value-icon::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: -70%;
    z-index: -1;
    background: conic-gradient(
        transparent 0deg,
        transparent 245deg,
        #00e5ff 285deg,
        #b5fbff 305deg,
        transparent 330deg
    ) !important;
    animation: ts-value-border-spin 3s linear infinite;
}

.ts-about .ts-value-list .ts-value-icon::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: 13px;
    background: linear-gradient(145deg, #0b2637, #06111f) !important;
}

/* =========================================
   TAQNIUM STUDIO — PROCESS TIMELINE
========================================= */

.ts-process-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

/* Animated timeline behind the steps */
.ts-process-grid::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 28px;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(0, 229, 255, 0.08),
        rgba(0, 229, 255, 0.65),
        rgba(0, 229, 255, 0.08)
    );
    background-size: 200% 100%;
    animation: ts-process-line-flow 5s linear infinite;
}

.ts-process-step {
    position: relative;
    min-width: 0;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(122, 239, 255, 0.12);
    transition:
        border-color 300ms ease,
        transform 300ms ease;
}

/* Number circle */
.ts-process-step .ts-step-number {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 50%;
    background: #071321;
    color: #00e5ff;
    font-size: 0.82rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 rgba(0, 229, 255, 0);
    transition:
        color 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease,
        transform 300ms ease;
}

/* Rotating cyan border effect */
.ts-process-step .ts-step-number::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -50%;
    background: conic-gradient(
        transparent 0deg,
        transparent 230deg,
        #00e5ff 280deg,
        #b5fbff 305deg,
        transparent 330deg
    );
    animation: ts-process-ring-spin 4s linear infinite;
}

/* Inner circle */
.ts-process-step .ts-step-number::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 2px;
    border-radius: 50%;
    background: #071321;
    transition: background 300ms ease;
}

.ts-process-step h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    transition: color 300ms ease;
}

.ts-process-step h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: #00e5ff;
    transition: width 350ms ease;
}

.ts-process-step p {
    color: #aabbd0;
    font-size: 0.88rem;
    line-height: 1.8;
    transition: color 300ms ease;
}

/* Hover interaction */
.ts-process-step:hover {
    transform: translateY(-5px);
    border-bottom-color: rgba(0, 229, 255, 0.4);
}

.ts-process-step:hover .ts-step-number {
    transform: scale(1.06);
    border-color: #00e5ff;
    color: #b5fbff;
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.15);
}

.ts-process-step:hover .ts-step-number::after {
    background: #0a2637;
}

.ts-process-step:hover h3 {
    color: #69f2ff;
}

.ts-process-step:hover h3::after {
    width: 100%;
}

.ts-process-step:hover p {
    color: #d5e5f5;
}

/* Animations */
@keyframes ts-process-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ts-process-line-flow {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: -100% 0;
    }
}

/* Tablet */
@media (max-width: 1000px) {
    .ts-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 36px;
    }

    .ts-process-grid::before {
        display: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ts-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 18px;
    }

    .ts-process-step .ts-step-number {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .ts-process-step h3 {
        font-size: 1rem;
    }

    .ts-process-step p {
        font-size: 0.84rem;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .ts-process-grid::before,
    .ts-process-step .ts-step-number::before {
        animation: none;
    }

    .ts-process-step,
    .ts-process-step .ts-step-number,
    .ts-process-step h3,
    .ts-process-step h3::after,
    .ts-process-step p {
        transition: none;
    }
}

/* =========================================
   TAQNIUM STUDIO — INSIGHTS CARDS
========================================= */

.ts-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.ts-insight-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(122, 239, 255, 0.14);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(0, 229, 255, 0.07),
            transparent 38%
        ),
        linear-gradient(145deg, #0c1929, #07101e 75%);
    transition:
        transform 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease;
}

.ts-insight-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 229, 255, 0.48);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

/* Image area */
.ts-insight-image {
    position: relative;
    display: grid;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(122, 239, 255, 0.12);
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(0, 229, 255, 0.17),
            transparent 35%
        ),
        linear-gradient(135deg, #142b40, #08111f 75%);
    text-decoration: none;
}

.ts-insight-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(4, 10, 20, 0.45)
    );
    pointer-events: none;
}

.ts-insight-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ts-insight-card:hover .ts-insight-image img {
    transform: scale(1.045);
}

.ts-insight-placeholder {
    position: relative;
    z-index: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 8px;
    background: rgba(5, 17, 31, 0.7);
    color: #67efff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.16em;
}

/* Card content */
.ts-insight-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 25px;
    min-height: 270px;
}

.ts-insight-meta {
    margin: 0;
    color: #63eafa;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ts-insight-content h3 {
    margin: 0;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.4;
}

.ts-insight-content h3 a {
    color: #f2f6ff;
    text-decoration: none;
    transition: color 250ms ease;
}

.ts-insight-content h3 a:hover {
    color: #67efff;
}

.ts-insight-content > p:not(.ts-insight-meta) {
    margin: 0;
    color: #aabbd0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.ts-insight-content .text-link {
    margin-top: auto;
    padding-top: 8px;
    color: #00e5ff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.ts-insight-content .text-link span {
    display: inline-block;
    transition: transform 250ms ease;
}

.ts-insight-content .text-link:hover span {
    transform: translate(3px, -3px);
}

/* Keyboard accessibility */
.ts-insight-card a:focus-visible {
    outline: 2px solid #67efff;
    outline-offset: 4px;
}

/* Tablet */
@media (max-width: 950px) {
    .ts-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-insight-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .ts-insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ts-insight-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .ts-insight-image,
    .ts-insight-image img {
        min-height: 190px;
    }

    .ts-insight-content {
        min-height: 0;
        padding: 21px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .ts-insight-card,
    .ts-insight-image img,
    .ts-insight-content h3 a,
    .ts-insight-content .text-link span {
        transition: none;
    }

    .ts-insight-card:hover {
        transform: none;
    }

    .ts-insight-card:hover .ts-insight-image img {
        transform: none;
    }
}

/* =========================================
   CONTACT SECTION — TWO-COLUMN INQUIRY FORM
========================================= */

.ts-contact {
    position: relative;
    overflow: hidden;
}

.ts-contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

.ts-contact-content {
    position: relative;
    min-width: 0;
}

.ts-contact-content h2 {
    max-width: 600px;
    margin: 22px 0;
    font-size: clamp(2.5rem, 4.2vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.ts-contact-content h2 .text-gradient {
    display: block;
    margin-top: 5px;
}

.ts-contact-description {
    max-width: 490px;
    margin: 0;
    color: var(--ts-text-muted, #aabbd0);
    font-size: 1rem;
    line-height: 1.9;
}

.ts-contact-benefits {
    display: grid;
    gap: 0;
    margin-top: 34px;
}

.ts-contact-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(122, 157, 190, 0.15);
}

.ts-contact-benefit:first-child {
    border-top: 1px solid rgba(122, 157, 190, 0.15);
}

.ts-contact-benefit-icon {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 13px;
    background: rgba(0, 229, 255, 0.06);
    color: var(--ts-cyan, #00e5ff);
    font-size: 1.2rem;
    transition:
        border-color 250ms ease,
        background 250ms ease,
        transform 250ms ease;
}

.ts-contact-benefit:hover .ts-contact-benefit-icon {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.75);
    background: rgba(0, 229, 255, 0.12);
}

.ts-contact-benefit div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ts-contact-benefit strong {
    color: #f4f8ff;
    font-size: 0.9rem;
    font-weight: 650;
}

.ts-contact-benefit div span {
    color: #9aacc2;
    font-size: 0.82rem;
    line-height: 1.6;
}

.ts-contact-direct {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 30px;
}

.ts-contact-direct-label,
.ts-contact-form-kicker {
    color: var(--ts-cyan, #00e5ff);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.ts-contact-direct a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #eaf3ff;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 200ms ease;
}

.ts-contact-direct a:hover {
    color: var(--ts-cyan, #00e5ff);
}

/* Form panel */

.ts-contact-form-panel {
    position: relative;
    min-width: 0;
    padding: clamp(24px, 3vw, 42px);
    overflow: hidden;
    border: 1px solid rgba(122, 239, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(0, 229, 255, 0.075),
            transparent 34%
        ),
        linear-gradient(145deg, #0d1b2b 0%, #07111f 70%);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.ts-contact-form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.ts-contact-form-heading h3 {
    margin: 12px 0 0;
    color: #f4f8ff;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.ts-contact-form-number {
    flex-shrink: 0;
    padding-top: 3px;
    color: #71869d;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.07em;
}

.ts-contact-form-intro {
    margin: 13px 0 27px;
    color: #9aacc2;
    font-size: 0.88rem;
    line-height: 1.75;
}

.ts-project-inquiry-form {
    display: grid;
    gap: 21px;
}

.ts-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ts-form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.ts-form-field label {
    color: #dce7f5;
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.5;
}

.ts-form-field label span {
    color: var(--ts-cyan, #00e5ff);
}

.ts-form-field input,
.ts-form-field select,
.ts-form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 49px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid #263d52;
    border-radius: 10px;
    outline: none;
    background-color: #081522;
    color: #f4f8ff;
    font: inherit;
    font-size: 0.84rem;
    line-height: 1.5;
    box-shadow: none;
    transition:
        border-color 200ms ease,
        background-color 200ms ease,
        box-shadow 200ms ease;
}

.ts-form-field input::placeholder,
.ts-form-field textarea::placeholder {
    color: #71869d;
    opacity: 1;
}

.ts-form-field select {
    color-scheme: dark;
    cursor: pointer;
}

.ts-form-field textarea {
    min-height: 125px;
    resize: vertical;
}

.ts-form-field input:hover,
.ts-form-field select:hover,
.ts-form-field textarea:hover {
    border-color: #3b596f;
}

.ts-form-field input:focus,
.ts-form-field select:focus,
.ts-form-field textarea:focus {
    border-color: var(--ts-cyan, #00e5ff);
    background-color: #091927;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.09);
}

.ts-contact-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 54px;
    padding: 15px 19px;
    border: 1px solid var(--ts-cyan, #00e5ff);
    border-radius: 11px;
    background: var(--ts-cyan, #00e5ff);
    color: #03101b;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background-color 200ms ease;
}

.ts-contact-submit:hover {
    transform: translateY(-2px);
    background: #45edff;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.ts-contact-submit:focus-visible {
    outline: 2px solid #f4f8ff;
    outline-offset: 4px;
}

.ts-contact-submit-arrow {
    font-size: 1.15rem;
    transition: transform 200ms ease;
}

.ts-contact-submit:hover .ts-contact-submit-arrow {
    transform: translate(3px, -3px);
}

.ts-contact-form-note {
    margin: -7px 0 0;
    color: #71869d;
    font-size: 0.72rem;
    line-height: 1.7;
    text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
    .ts-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .ts-contact-content {
        max-width: 680px;
    }

    .ts-contact-content h2 {
        max-width: 650px;
    }

    .ts-contact-form-panel {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .ts-contact-layout {
        gap: 32px;
    }

    .ts-contact-content h2 {
        font-size: clamp(2.2rem, 10vw, 3.1rem);
    }

    .ts-contact-description {
        font-size: 0.92rem;
    }

    .ts-contact-form-panel {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .ts-contact-form-heading h3 {
        font-size: 1.4rem;
    }

    .ts-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
    }

    .ts-project-inquiry-form {
        gap: 19px;
    }

    .ts-contact-benefit {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-contact-benefit-icon,
    .ts-contact-direct a,
    .ts-form-field input,
    .ts-form-field select,
    .ts-form-field textarea,
    .ts-contact-submit,
    .ts-contact-submit-arrow {
        transition: none;
    }
}

.ts-form-status {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(122, 239, 255, 0.25);
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.ts-form-status-success {
    background: rgba(0, 229, 255, 0.07);
    color: #b5fbff;
}

.ts-form-status-error {
    border-color: rgba(255, 100, 100, 0.4);
    background: rgba(255, 70, 70, 0.06);
    color: #ffb8b8;
}

/* =========================================
   TAQNIUM STUDIO — PREMIUM FOOTER
========================================= */

.ts-premium-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #050b17;
    border-top: 1px solid rgba(125, 157, 190, 0.16);
}

.ts-premium-footer > .container {
    position: relative;
    z-index: 1;
}

.ts-footer-glow {
    position: absolute;
    z-index: -1;
    width: 700px;
    height: 480px;
    top: 35%;
    left: 45%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse,
        rgba(55, 75, 190, 0.16) 0%,
        rgba(0, 190, 255, 0.055) 38%,
        transparent 72%
    );
    filter: blur(35px);
    pointer-events: none;
}

.ts-premium-footer .footer-cta {
    position: relative;
    padding: 100px 20px 84px;
    text-align: center;
    border-bottom: 1px solid rgba(125, 157, 190, 0.16);
}

.ts-premium-footer .footer-cta h2 {
    max-width: 850px;
    margin: 18px auto;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.ts-premium-footer .footer-cta h2 span {
    display: block;
    color: #00e5ff;
}

.ts-premium-footer .footer-cta > p:not(.section-eyebrow) {
    max-width: 610px;
    margin: 0 auto 28px;
    color: #aabbd0;
    line-height: 1.8;
}

.ts-footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr 0.75fr 0.85fr 1.55fr;
    gap: 38px;
    padding: 58px 0 50px;
    align-items: start;
}

.ts-footer-brand-column,
.ts-footer-column,
.ts-footer-contact-column {
    min-width: 0;
}

.ts-footer-brand-column .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ts-footer-description {
    max-width: 310px;
    margin: 22px 0 24px;
    color: #a4b2c5;
    font-size: 0.92rem;
    line-height: 1.85;
}

.ts-footer-column h3,
.ts-footer-contact-column > h3 {
    margin: 4px 0 24px;
    color: #f4f7ff;
    font-size: 1.05rem;
    font-weight: 700;
}

.ts-footer-column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.ts-footer-column nav a {
    color: #a4b2c5;
    font-size: 0.9rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ts-footer-column nav a:hover {
    color: #00e5ff;
    transform: translateX(3px);
}

.ts-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ts-footer-socials a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(140, 160, 190, 0.22);
    border-radius: 50%;
    color: #f3f7ff;
    background: rgba(255, 255, 255, 0.018);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.ts-footer-socials a:hover {
    color: #03111b;
    border-color: #00e5ff;
    background: #00e5ff;
    transform: translateY(-3px);
}

.ts-footer-newsletter-copy {
    margin: -12px 0 16px;
    color: #a4b2c5;
    font-size: 0.88rem;
    line-height: 1.7;
}

.ts-footer-newsletter {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 5px 6px 5px 15px;
    border: 1px solid rgba(160, 174, 195, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}

.ts-footer-newsletter > span {
    color: #c4d1e2;
    flex: 0 0 auto;
}

.ts-footer-newsletter input {
    width: 100%;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    outline: none;
    color: #eef5ff;
    background: transparent;
    font: inherit;
    font-size: 0.84rem;
}

.ts-footer-newsletter input::placeholder {
    color: #a4b2c5;
}

.ts-footer-newsletter input:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.ts-footer-newsletter button {
    flex: 0 0 auto;
    padding: 11px 20px;
    border: 0;
    border-radius: 999px;
    color: #07111f;
    background: linear-gradient(135deg, #00e5ff, #8b82ff);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 750;
}

.ts-footer-newsletter button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.ts-footer-contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    margin-top: 28px;
}

.ts-footer-contact-details h4 {
    margin: 0 0 9px;
    color: #f4f7ff;
    font-size: 0.95rem;
    font-weight: 700;
}

.ts-footer-contact-details p,
.ts-footer-contact-details a {
    margin: 0;
    color: #a4b2c5;
    font-size: 0.84rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.ts-footer-contact-details a:hover {
    color: #00e5ff;
}

.ts-footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 76px;
    border-top: 1px solid rgba(125, 157, 190, 0.16);
}

.ts-footer-bottom p {
    margin: 0;
    color: #9eafc4;
    font-size: 0.8rem;
    line-height: 1.7;
}

.ts-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ts-footer-legal a,
.ts-footer-back-top {
    color: #a4b2c5;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ts-footer-legal a:hover,
.ts-footer-back-top:hover {
    color: #00e5ff;
}

.ts-footer-back-top {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.ts-footer-back-top span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 229, 255, 0.55);
    border-radius: 50%;
    color: #00e5ff;
    transition: background 0.25s ease, color 0.25s ease;
}

.ts-footer-back-top:hover span {
    color: #04111d;
    background: #00e5ff;
}

/* Tablet */
@media (max-width: 1100px) {
    .ts-footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 42px 30px;
    }

    .ts-footer-brand-column {
        grid-column: span 1;
    }

    .ts-footer-contact-column {
        grid-column: span 2;
    }

    .ts-footer-contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 680px) {
    .ts-premium-footer .footer-cta {
        padding: 70px 0 58px;
        text-align: left;
    }

    .ts-premium-footer .footer-cta h2 {
        font-size: clamp(2.15rem, 9vw, 3.2rem);
    }

    .ts-premium-footer .footer-cta > p:not(.section-eyebrow) {
        margin-left: 0;
        margin-right: 0;
    }

    .ts-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 22px;
        padding: 42px 0;
    }

    .ts-footer-brand-column {
        grid-column: 1 / -1;
    }

    .ts-footer-contact-column {
        grid-column: 1 / -1;
    }

    .ts-footer-description {
        max-width: 360px;
    }

    .ts-footer-contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .ts-footer-bottom {
        grid-template-columns: 1fr auto;
        gap: 16px;
        padding: 22px 0;
    }

    .ts-footer-legal {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .ts-footer-back-top {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 380px) {
    .ts-footer-main {
        grid-template-columns: 1fr;
    }

    .ts-footer-brand-column,
    .ts-footer-contact-column {
        grid-column: auto;
    }

    .ts-footer-bottom {
        grid-template-columns: 1fr;
    }

    .ts-footer-back-top {
        grid-column: auto;
        grid-row: auto;
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-premium-footer *,
    .ts-premium-footer *::before,
    .ts-premium-footer *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Premium gradient footer separator */
.ts-premium-footer {
    border-top: 0;
    box-shadow: none;
    position: relative;
}

.ts-premium-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 229, 255, 0.15) 15%,
        rgba(0, 229, 255, 0.75) 50%,
        rgba(0, 229, 255, 0.15) 85%,
        transparent 100%
    );
    pointer-events: none;
}

/* =========================================
   MOBILE HERO — Taqnium Studio
   ========================================= */

@media (max-width: 600px) {

    .ts-energy-hero {
        min-height: auto;
        padding: 54px 0 34px;
        overflow: hidden;
    }

    .ts-energy-container {
        width: 100%;
        padding-left: 22px;
        padding-right: 22px;
    }

    .ts-energy-content {
        width: 100%;
        max-width: 100%;
    }

    /* Eyebrow */
    .ts-energy-eyebrow {
        font-size: 0.7rem;
        line-height: 1.6;
        letter-spacing: 0.12em;
        margin-bottom: 24px;
        max-width: 100%;
    }

    /* Main headline */
    .ts-energy-heading {
        font-size: clamp(2.25rem, 9.5vw, 3.2rem);
        line-height: 1.08;
        letter-spacing: -0.045em;
        max-width: 100%;
        margin-bottom: 20px;
        overflow-wrap: normal;
    }

    /* Typing headline must wrap instead of getting cut */
    .ts-typing-text {
        display: inline;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .ts-typing-cursor {
        display: inline-block;
        vertical-align: baseline;
    }

    /* Supporting description */
    .ts-energy-description {
        font-size: 0.94rem;
        line-height: 1.8;
        max-width: 100%;
        margin-bottom: 26px;
    }

    /* Full-width buttons */
    .ts-energy-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-bottom: 30px;
    }

    .ts-energy-button {
        width: 100%;
        min-height: 52px;
        padding: 14px 18px;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }

    /* Service highlights */
    .ts-energy-trust {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 14px;
        width: 100%;
        margin-top: 28px;
    }

    .ts-energy-trust-item {
        min-width: 0;
    }

    .ts-energy-trust-item strong {
        display: block;
        font-size: 0.82rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .ts-energy-trust-item span {
        display: block;
        font-size: 0.73rem;
        line-height: 1.6;
        margin-top: 5px;
        overflow-wrap: anywhere;
    }

    /* Keep background visual but improve text contrast */
    .ts-energy-overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 8, 17, 0.72) 0%,
            rgba(2, 8, 17, 0.52) 48%,
            rgba(2, 8, 17, 0.82) 100%
        );
    }

    /* Prevent oversized visual elements from causing overflow */
    .ts-energy-video {
        object-position: 58% center;
    }

    .ts-energy-scroll {
        display: none;
    }
}

/* Very narrow mobile screens */
@media (max-width: 380px) {

    .ts-energy-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ts-energy-heading {
        font-size: clamp(2rem, 9vw, 2.4rem);
    }

    .ts-energy-trust {
        column-gap: 10px;
    }
}

/* Mobile hero — final refinements */
@media (max-width: 600px) {

    .ts-energy-hero {
        padding-top: 38px;
        padding-bottom: 28px;
    }

    .ts-energy-heading {
        font-size: clamp(2.25rem, 9vw, 2.75rem);
        line-height: 1.1;
        margin-bottom: 18px;
    }

    .ts-energy-description {
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .ts-energy-actions {
        gap: 10px;
        margin-bottom: 24px;
    }

    .ts-energy-button {
        min-height: 50px;
    }

    .ts-energy-trust {
        margin-top: 24px;
        padding-top: 18px;
        border-top: 1px solid rgba(122, 180, 210, 0.18);
        row-gap: 16px;
    }

    .ts-energy-trust-item strong {
        font-size: 0.8rem;
    }

    .ts-energy-trust-item span {
        font-size: 0.7rem;
    }

    .ts-energy-overlay {
        background: linear-gradient(
            180deg,
            rgba(2, 8, 17, 0.88) 0%,
            rgba(2, 8, 17, 0.68) 58%,
            rgba(2, 8, 17, 0.78) 100%
        );
    }
}

/* =================================
   TAQNIUM STUDIO — PRELOADER
================================= */

.ts-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 7vw, 100px);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(0, 229, 255, 0.13),
            transparent 38%
        ),
        linear-gradient(135deg, #071321 0%, #030812 72%);
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.65s ease,
        visibility 0.65s ease;
}

.ts-preloader.ts-preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ts-loader-glow {
    position: absolute;
    left: -170px;
    bottom: -240px;
    width: min(65vw, 680px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 229, 255, 0.24),
        rgba(0, 160, 255, 0.08) 42%,
        transparent 72%
    );
    filter: blur(12px);
    animation: ts-loader-breathe 3s ease-in-out infinite alternate;
    pointer-events: none;
}

.ts-loader-orb {
    position: absolute;
    left: -155px;
    bottom: -235px;
    width: clamp(230px, 37vw, 510px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(
        145deg,
        #00e5ff 5%,
        #00a6d6 48%,
        #075b9d 100%
    );
    box-shadow:
        0 0 70px rgba(0, 229, 255, 0.25),
        inset -25px -25px 65px rgba(0, 8, 25, 0.4);
    opacity: 0.9;
    pointer-events: none;
}

.ts-loader-orb::after {
    content: "";
    position: absolute;
    inset: -35px;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 50%;
    animation: ts-loader-orbit 12s linear infinite;
}

.ts-loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(540px, 100%);
}

.ts-loader-percent {
    color: #f4f8ff;
    font-size: clamp(76px, 16vw, 190px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.085em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
}

.ts-loader-label {
    margin-top: 22px;
    color: #8ca9bd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.ts-loader-track {
    width: min(310px, 75%);
    height: 2px;
    margin-top: 16px;
    overflow: hidden;
    background: rgba(151, 190, 215, 0.18);
}

.ts-loader-progress {
    display: block;
    width: 0%;
    height: 100%;
    background: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
}

.ts-loader-brand {
    position: absolute;
    z-index: 2;
    top: 28px;
    right: clamp(24px, 5vw, 70px);
    color: #f4f8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ts-loader-brand span {
    color: #00e5ff;
    font-size: 9px;
    letter-spacing: 0.2em;
}

@keyframes ts-loader-breathe {
    from { transform: scale(0.94); opacity: 0.65; }
    to   { transform: scale(1.08); opacity: 1; }
}

@keyframes ts-loader-orbit {
    from { transform: rotate(0deg) scaleX(1); }
    to   { transform: rotate(360deg) scaleX(1); }
}

@media (max-width: 600px) {
    .ts-preloader {
        padding: 24px;
    }

    .ts-loader-orb {
        left: -105px;
        bottom: -145px;
        width: 290px;
    }

    .ts-loader-glow {
        left: -120px;
        bottom: -160px;
        width: 360px;
    }

    .ts-loader-percent {
        font-size: clamp(78px, 24vw, 130px);
    }

    .ts-loader-label {
        max-width: 240px;
        font-size: 9px;
        line-height: 1.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-loader-glow,
    .ts-loader-orb::after {
        animation: none;
    }

    .ts-preloader {
        transition-duration: 0.15s;
    }
}

/* Taqnium expanding cyan preloader */

.ts-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: clamp(28px, 7vw, 100px);
    background: #030812;
    clip-path: inset(0);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ts-preloader.ts-preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ts-loader-fill {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #00e5ff;
    clip-path: circle(0% at 0% 100%);
    pointer-events: none;
    will-change: clip-path;
}

.ts-loader-orb {
    position: absolute;
    z-index: 2;
    left: -150px;
    bottom: -210px;
    width: clamp(260px, 40vw, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 35%,
        #00f0ff,
        #00a9db 52%,
        #075b9d 100%
    );
    box-shadow: 0 0 90px rgba(0, 229, 255, 0.28);
    pointer-events: none;
}

.ts-loader-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(540px, 100%);
}

.ts-loader-percent {
    color: #f4f8ff;
    font-size: clamp(82px, 16vw, 190px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.085em;
    font-variant-numeric: tabular-nums;
}

.ts-loader-label {
    margin-top: 22px;
    color: #8ca9bd;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.ts-loader-track {
    width: min(310px, 75%);
    height: 2px;
    margin-top: 16px;
    overflow: hidden;
    background: rgba(151, 190, 215, 0.2);
}

.ts-loader-progress {
    display: block;
    width: 0%;
    height: 100%;
    background: #00e5ff;
}

.ts-loader-brand {
    position: absolute;
    z-index: 3;
    top: 28px;
    right: clamp(24px, 5vw, 70px);
    color: #f4f8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ts-loader-brand span {
    color: #00e5ff;
    font-size: 9px;
    letter-spacing: 0.2em;
}

/* Keep the counter visible above the expanding layer */
.ts-loader-content,
.ts-loader-brand,
.ts-loader-orb {
    transition: opacity 0.35s ease;
}

.ts-preloader.ts-loader-expanding .ts-loader-content,
.ts-preloader.ts-loader-expanding .ts-loader-brand,
.ts-preloader.ts-loader-expanding .ts-loader-orb {
    opacity: 0;
}

@media (max-width: 600px) {
    .ts-preloader {
        padding: 24px;
    }

    .ts-loader-orb {
        left: -100px;
        bottom: -140px;
        width: 290px;
    }

    .ts-loader-percent {
        font-size: clamp(80px, 24vw, 130px);
    }

    .ts-loader-label {
        font-size: 9px;
        line-height: 1.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-loader-content,
    .ts-loader-brand,
    .ts-loader-orb {
        transition-duration: 0.1s;
    }
}

/* ==========================================
   PARTNER LOGO MARQUEE
========================================== */

.ts-partner-marquee {
    --ts-marquee-bg: #050b17;
    --ts-marquee-cyan: #00e5ff;
    --ts-marquee-text: #d4d8e3;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(75px, 9vw, 125px) 0;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(82, 65, 180, 0.25),
            transparent 58%
        ),
        radial-gradient(
            ellipse at 50% 100%,
            rgba(0, 170, 255, 0.09),
            transparent 48%
        ),
        var(--ts-marquee-bg);
    border-top: 1px solid rgba(120, 157, 190, 0.12);
    border-bottom: 1px solid rgba(120, 157, 190, 0.12);
}

.ts-partner-inner {
    position: relative;
    z-index: 1;
}

.ts-partner-heading {
    max-width: 850px;
    margin: 0 auto 48px;
    padding: 0 24px;
    text-align: center;
}

.ts-partner-heading .section-eyebrow {
    margin-bottom: 20px;
    color: var(--ts-marquee-cyan);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.ts-partner-heading h2 {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.045em;
}

.ts-partner-heading h2 span {
    display: block;
    color: #c5c9d8;
    font-weight: 450;
}

/* Subtle animated star field */

.ts-partner-stars {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: 0.65;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.85) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(150,160,255,.7) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.5px);
    background-size: 173px 151px, 239px 211px, 307px 263px;
    background-position: 0 0, 70px 40px, 130px 100px;
    animation: ts-partner-stars-drift 35s linear infinite;
}

@keyframes ts-partner-stars-drift {
    from {
        background-position: 0 0, 70px 40px, 130px 100px;
    }
    to {
        background-position: 173px 151px, -169px 251px, 437px -163px;
    }
}

/* Marquee viewport */

.ts-marquee {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    margin-top: 24px;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 7%,
        #000 93%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 7%,
        #000 93%,
        transparent
    );
}

.ts-marquee-track {
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    animation: ts-marquee-scroll-left 42s linear infinite;
    will-change: transform;
}

.ts-marquee-right .ts-marquee-track {
    animation-name: ts-marquee-scroll-right;
    animation-duration: 48s;
}

.ts-marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    padding: 14px clamp(20px, 3vw, 46px);
}

/* Logo items */

.ts-partner-logo,
.ts-partner-wordmark {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 115px;
    height: 76px;
    /*color: var(--ts-marquee-text);*/
    
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ts-partner-logo::before,
.ts-partner-wordmark::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(103, 88, 255, 0.24);
    filter: blur(1px);
    transform: scale(0.15);
    opacity: 0;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.ts-partner-logo img {
    display: block;
    width: auto;
    max-width: 155px;
    height: auto;
    max-height: 43px;
    object-fit: contain;
    /*filter: grayscale(1) brightness(0) invert(1);*/
    transition: filter 0.3s ease, transform 0.3s ease;
}

.ts-partner-wordmark {
    font-size: clamp(1.05rem, 1.7vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.ts-partner-logo:hover,
.ts-partner-wordmark:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.ts-partner-logo:hover::before,
.ts-partner-wordmark:hover::before {
    opacity: 1;
    transform: scale(1);
}

.ts-partner-logo:hover img {
    filter: none;
    transform: scale(1.04);
}

.ts-partner-logo:hover::before {
    background: rgba(0, 229, 255, 0.17);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.12);
}

/* Opposite movement directions */

@keyframes ts-marquee-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes ts-marquee-scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* Pause a row while hovering its logos */

.ts-marquee:hover .ts-marquee-track {
    animation-play-state: paused;
}

/* Responsive */

@media (max-width: 767px) {
    .ts-partner-marquee {
        padding: 70px 0;
    }

    .ts-partner-heading {
        margin-bottom: 30px;
        padding: 0 22px;
    }

    .ts-partner-heading h2 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }

    .ts-marquee {
        margin-top: 14px;
    }

    .ts-marquee-group {
        gap: 30px;
        padding: 10px 15px;
    }

    .ts-partner-logo,
    .ts-partner-wordmark {
        min-width: 95px;
        height: 64px;
    }

    .ts-partner-logo img {
        max-width: 115px;
        max-height: 34px;
    }

    .ts-partner-wordmark {
        font-size: 1rem;
    }

    .ts-marquee-track {
        animation-duration: 34s;
    }

    .ts-marquee-right .ts-marquee-track {
        animation-duration: 40s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-partner-stars {
        animation: none;
    }

    .ts-marquee-track {
        animation: none;
        transform: none;
    }

    .ts-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .ts-partner-logo,
    .ts-partner-wordmark,
    .ts-partner-logo::before,
    .ts-partner-wordmark::before {
        transition: none;
    }
}

/* Fix: Partner marquee heading alignment */
.ts-partner-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
}

.ts-partner-heading .section-eyebrow,
.ts-partner-heading h2 {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.ts-partner-heading h2 {
    max-width: 850px;
}

/* Final alignment fix for partner marquee heading */
.ts-partner-marquee .ts-partner-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 48px;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
}

.ts-partner-marquee .ts-partner-heading .section-eyebrow {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    text-align: center;
}

.ts-partner-marquee .ts-partner-heading h2 {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.ts-partner-marquee .ts-partner-heading h2 span {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 767px) {
    .ts-partner-marquee .ts-partner-heading {
        margin-bottom: 30px;
    }
}

/* =====================================================
   TAQNIUM STUDIO — ANIMATED TESTIMONIALS
===================================================== */

.ts-testimonials {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(100, 210, 255, 0.12);
    border-bottom: 1px solid rgba(100, 210, 255, 0.12);
    background:
        radial-gradient(ellipse at 50% 42%,
            rgba(55, 43, 135, 0.23), transparent 48%),
        radial-gradient(ellipse at 50% 90%,
            rgba(0, 211, 235, 0.07), transparent 45%),
        #050b17;
}

.ts-testimonials-heading {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
}

.ts-testimonials-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.ts-testimonials-controls {
    display: flex;
    gap: 10px;
}

.ts-testimonials-controls button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(151, 181, 211, 0.24);
    border-radius: 50%;
    background: rgba(9, 18, 32, 0.8);
    color: #f4f8ff;
    font-size: 24px;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease,
                color .25s ease, transform .25s ease;
}

.ts-testimonials-controls button:hover {
    background: #00d8ee;
    border-color: #00d8ee;
    color: #03101b;
    transform: translateY(-2px);
}

.ts-testimonials-stage {
    position: relative;
    isolation: isolate;
    padding-top: 100px;
}

.ts-globe {
    position: absolute;
    z-index: -1;
    top: -80px;
    left: 50%;
    width: min(66vw, 690px);
    aspect-ratio: 1;
    transform: translateX(-50%);
    pointer-events: none;
    opacity: .68;
}

.ts-globe-sphere {
    position: absolute;
    inset: 7%;
    overflow: hidden;
    border: 1px solid rgba(190, 225, 255, .6);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 35% 25%,
            rgba(170, 210, 255, .15), transparent 40%),
        radial-gradient(ellipse at 50% 55%,
            rgba(5, 14, 32, .05), rgba(2, 8, 18, .82) 75%);
    box-shadow:
        inset -25px -8px 55px rgba(0, 5, 20, .7),
        inset 8px 0 35px rgba(100, 220, 255, .08),
        0 0 65px rgba(0, 211, 235, .06);
}

.ts-globe-latitudes,
.ts-globe-longitudes {
    position: absolute;
    inset: -5%;
    border-radius: 50%;
}

.ts-globe-latitudes {
    background: repeating-radial-gradient(
        ellipse at center,
        transparent 0,
        transparent 16px,
        rgba(190, 225, 255, .5) 17px,
        transparent 18px,
        transparent 25px
    );
    animation: ts-globe-latitude 22s linear infinite;
}

.ts-globe-longitudes {
    inset: 0 18%;
    border-right: 1px dotted rgba(180, 220, 255, .7);
    border-left: 1px dotted rgba(180, 220, 255, .7);
    border-radius: 50%;
    box-shadow:
        22px 0 0 -1px rgba(180, 220, 255, .45),
        -22px 0 0 -1px rgba(180, 220, 255, .45),
        45px 0 0 -1px rgba(180, 220, 255, .3),
        -45px 0 0 -1px rgba(180, 220, 255, .3);
    animation: ts-globe-longitude 16s linear infinite;
}

.ts-globe-orbit {
    position: absolute;
    inset: 2% -4%;
    border: 1px solid rgba(0, 216, 238, .24);
    border-radius: 50%;
}

.ts-globe-orbit-one {
    transform: rotate(-24deg) scaleY(.48);
    animation: ts-globe-orbit 18s linear infinite;
}

.ts-globe-orbit-two {
    transform: rotate(42deg) scaleY(.68);
    border-color: rgba(155, 175, 255, .22);
    animation: ts-globe-orbit 25s linear infinite reverse;
}

.ts-globe-point {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e1f5;
    box-shadow: 0 0 16px rgba(0, 225, 245, .9);
}

.ts-globe-point-one { top: 27%; left: 29%; }
.ts-globe-point-two { top: 49%; right: 17%; }
.ts-globe-point-three { bottom: 20%; left: 47%; }

@keyframes ts-globe-latitude {
    from { transform: rotate(0deg) scaleX(1); }
    50% { transform: rotate(180deg) scaleX(.92); }
    to { transform: rotate(360deg) scaleX(1); }
}

@keyframes ts-globe-longitude {
    from { transform: rotateY(0deg) scaleX(1); }
    to { transform: rotateY(360deg) scaleX(1); }
}

@keyframes ts-globe-orbit {
    from { rotate: 0deg; }
    to { rotate: 360deg; }
}

.ts-testimonial-timeline {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
    margin: 0 0 -10px;
}

.ts-timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(120, 151, 183, .12),
        rgba(0, 218, 239, .75),
        rgba(120, 151, 183, .12)
    );
}

.ts-timeline-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(0, 216, 238, .45);
    border-radius: 50%;
    background: #071222;
    color: #c4f8ff;
    font-size: 14px;
    transition: background .25s ease, box-shadow .25s ease;
}

.ts-timeline-node-two {
    background: #0c2335;
    border-color: #00d8ee;
    box-shadow: 0 0 0 7px rgba(0, 216, 238, .08),
                0 0 28px rgba(0, 216, 238, .22);
}

.ts-testimonials-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.ts-testimonial-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(151, 181, 211, .2);
    border-radius: 17px;
    background: rgba(8, 15, 28, .94);
    backdrop-filter: blur(14px);
    transition: border-color .25s ease, transform .25s ease,
                background .25s ease;
}

.ts-testimonial-card:hover,
.ts-testimonial-card.is-featured {
    border-color: rgba(0, 216, 238, .42);
    background: linear-gradient(
        135deg,
        rgba(12, 30, 49, .97),
        rgba(8, 15, 28, .97)
    );
}

.ts-testimonial-card:hover {
    transform: translateY(-4px);
}

.ts-testimonial-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ts-testimonial-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 216, 238, .3);
    border-radius: 50%;
    background: linear-gradient(135deg, #143b51, #14213a);
    color: #9af5ff;
    font-size: 13px;
    font-weight: 800;
}

.ts-testimonial-person h3 {
    margin: 0 0 5px;
    color: #f4f8ff;
    font-size: 14px;
}

.ts-testimonial-person p {
    margin: 0;
    color: #9baec4;
    font-size: 12px;
}

.ts-testimonial-rating {
    margin-left: auto;
    color: #a7a3ff;
    font-size: 13px;
    white-space: nowrap;
}

.ts-testimonial-divider {
    height: 1px;
    margin: 22px 0 18px;
    background: rgba(151, 181, 211, .15);
}

.ts-testimonial-card blockquote {
    margin: 0 0 24px;
    color: #dce6f5;
    font-size: 15px;
    line-height: 1.8;
}

.ts-testimonial-tag {
    margin-top: auto;
    align-self: flex-start;
    padding: 7px 10px;
    border: 1px solid rgba(0, 216, 238, .2);
    border-radius: 30px;
    color: #83eefa;
    font-size: 11px;
    letter-spacing: .03em;
}

.ts-testimonials-note {
    margin: 18px 0 0;
    color: #8295aa;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 900px) {
    .ts-globe {
        width: 85vw;
        top: -35px;
    }

    .ts-testimonials-track {
        gap: 14px;
    }

    .ts-testimonial-card {
        padding: 20px;
    }

    .ts-testimonial-person {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .ts-testimonials-heading {
        align-items: flex-end;
        margin-bottom: 24px;
    }

    .ts-testimonials-heading h2 {
        font-size: 34px;
    }

    .ts-testimonials-controls button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .ts-testimonials-stage {
        padding-top: 75px;
    }

    .ts-globe {
        top: -8px;
        width: 105vw;
        opacity: .48;
    }

    .ts-testimonial-timeline {
        height: 44px;
        margin-bottom: 14px;
    }

    .ts-timeline-node {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .ts-testimonials-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        gap: 14px;
        padding-bottom: 8px;
    }

    .ts-testimonials-track::-webkit-scrollbar {
        display: none;
    }

    .ts-testimonial-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        min-height: 270px;
        padding: 22px;
    }

    .ts-testimonial-person {
        flex-wrap: nowrap;
    }

    .ts-testimonial-card blockquote {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-globe-latitudes,
    .ts-globe-longitudes,
    .ts-globe-orbit-one,
    .ts-globe-orbit-two {
        animation: none !important;
    }

    .ts-testimonials-track {
        scroll-behavior: auto;
    }
}


/* Testimonials carousel viewport */
.ts-testimonials-viewport {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
}

.ts-testimonials-track {
    display: flex;
    width: max-content;
    grid-template-columns: none;
    gap: 22px;
    will-change: transform;
}

.ts-testimonial-card {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .ts-testimonials-track {
        gap: 14px;
    }
}

/* More breathing room between timeline and cards */
.ts-testimonial-timeline {
    height: 56px;
    margin-bottom: 22px;
}

.ts-timeline-node {
    flex-shrink: 0;
}

.ts-testimonials-viewport {
    position: relative;
    z-index: 2;
}

@media (max-width: 640px) {
    .ts-testimonial-timeline {
        margin-bottom: 18px;
    }
}

/* =========================================
   MOVING MARQUEE — Taqnium Studio
========================================= */

.ts-marquee-section {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    background:
        radial-gradient(
            ellipse at 50% 50%,
            rgba(0, 217, 238, 0.055),
            transparent 65%
        ),
        #050b17;
    border-top: 1px solid rgba(105, 145, 180, 0.13);
    border-bottom: 1px solid rgba(105, 145, 180, 0.13);
}

.ts-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: ts-marquee-scroll 32s linear infinite;
    will-change: transform;
}

.ts-marquee-content {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 38px;
    padding-right: 38px;
    white-space: nowrap;
}

.ts-marquee-content > span:not(.ts-marquee-dot) {
    color: #00d9ee;
    font-size: clamp(34px, 4.4vw, 68px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.ts-marquee-dot {
    color: #00d9ee;
    font-size: clamp(30px, 3.8vw, 54px);
    line-height: 1;
    opacity: 0.75;
}

@keyframes ts-marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause when visitors hover over the marquee */
.ts-marquee-section:hover .ts-marquee-track {
    animation-play-state: paused;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ts-marquee-track {
        animation: none;
        transform: none;
    }

    .ts-marquee-content[aria-hidden="true"] {
        display: none;
    }

    .ts-marquee-section {
        overflow-x: auto;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .ts-marquee-section {
        padding: 42px 0;
    }

    .ts-marquee-content {
        gap: 24px;
        padding-right: 24px;
    }

    .ts-marquee-track {
        animation-duration: 24s;
    }
}

/* =========================================
   SMOOTH SCROLL — Taqnium Studio
========================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =========================================
   CINEMATIC SCROLL EXPERIENCE
========================================= */

/* Initial state for reveal elements */
.ts-service-card,
.ts-project-card,
.ts-process-step,
.ts-insight-card,
.ts-about-content,
.ts-contact-panel {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

/* Visible state applied by existing JavaScript */
.ts-service-card.is-visible,
.ts-project-card.is-visible,
.ts-process-step.is-visible,
.ts-insight-card.is-visible,
.ts-about-content.is-visible,
.ts-contact-panel.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Subtle stagger between cards */
.ts-service-card:nth-child(2),
.ts-project-card:nth-child(2),
.ts-insight-card:nth-child(2) {
    transition-delay: 100ms;
}

.ts-service-card:nth-child(3),
.ts-project-card:nth-child(3),
.ts-insight-card:nth-child(3) {
    transition-delay: 180ms;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .ts-service-card,
    .ts-project-card,
    .ts-process-step,
    .ts-insight-card,
    .ts-about-content,
    .ts-contact-panel {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================
   HERO SCROLL INDICATOR — VISIBILITY FIX
========================================= */

.ts-energy-scroll {
    position: absolute;
    z-index: 5;
    right: clamp(20px, 5vw, 80px);
    bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 18px;
    border: 1px solid rgba(0, 217, 238, 0.38);
    border-radius: 999px;

    background: rgba(3, 11, 24, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;

    box-shadow: 0 0 24px rgba(0, 217, 238, 0.08);
    transition:
        background 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease,
        transform 250ms ease;
}

.ts-energy-scroll-line {
    display: block;
    width: 25px;
    height: 1px;
    flex-shrink: 0;
    background: #00d9ee;
    box-shadow: 0 0 8px rgba(0, 217, 238, 0.7);
}

.ts-energy-scroll:hover {
    color: #ffffff;
    background: rgba(0, 217, 238, 0.14);
    border-color: #00d9ee;
    box-shadow: 0 0 24px rgba(0, 217, 238, 0.18);
    transform: translateY(-3px);
}

.ts-energy-scroll > span:last-child {
    color: #00d9ee;
    font-size: 16px;
}

/* Mobile positioning */
@media (max-width: 640px) {
    .ts-energy-scroll {
        right: 16px;
        bottom: 16px;
        gap: 8px;
        padding: 11px 13px;
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .ts-energy-scroll-line {
        width: 16px;
    }
}

/* =========================================
   DEFAULT PAGE TEMPLATE
========================================= */

.ts-page-main {
    min-height: 60vh;
    padding: clamp(55px, 8vw, 100px) 0;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(0, 215, 239, 0.07),
            transparent 55%
        ),
        #050b17;
}

.ts-page-content {
    width: 100%;
    max-width: 1000px;
    margin-inline: auto;
}

.ts-page-header {
    margin-bottom: 36px;
    text-align: center;
}

.ts-page-eyebrow {
    margin: 0 0 16px;
    color: #00d7ef;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ts-page-title {
    margin: 0;
    color: #f4f8ff;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.ts-page-body {
    color: #aebbd0;
    font-size: 16px;
    line-height: 1.85;
}

.ts-page-body h2,
.ts-page-body h3,
.ts-page-body h4 {
    margin-top: 32px;
    color: #f4f8ff;
    line-height: 1.3;
}

.ts-page-body a {
    color: #00d7ef;
}

.ts-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ts-page-body > *:first-child {
    margin-top: 0;
}

@media (max-width: 600px) {
    .ts-page-main {
        padding: 48px 0;
    }

    .ts-page-header {
        margin-bottom: 28px;
        text-align: left;
    }

    .ts-page-body {
        font-size: 15px;
    }
}


/* =========================================
   SINGLE BLOG POST
========================================= */

.ts-single-main {
    min-height: 60vh;
    padding: clamp(55px, 8vw, 100px) 0;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(0, 215, 239, 0.07),
            transparent 55%
        ),
        #050b17;
}

.ts-single-article {
    max-width: 900px;
    margin-inline: auto;
}

.ts-single-header {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.ts-single-eyebrow {
    margin: 0 0 16px;
    color: #00d7ef;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ts-single-title {
    margin: 0 0 22px;
    color: #f4f8ff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.ts-single-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    color: #8fa2bc;
    font-size: 13px;
}

.ts-single-featured-image {
    margin-bottom: 36px;
    overflow: hidden;
    border: 1px solid rgba(0, 215, 239, 0.2);
    border-radius: 18px;
}

.ts-single-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.ts-single-content {
    color: #b8c5d8;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.ts-single-content h2,
.ts-single-content h3,
.ts-single-content h4 {
    margin: 38px 0 16px;
    color: #f4f8ff;
    line-height: 1.3;
}

.ts-single-content a {
    color: #00d7ef;
}

.ts-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ts-single-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    border-left: 3px solid #00d7ef;
    background: rgba(0, 215, 239, 0.05);
    color: #e2eaf6;
}

.ts-single-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(143, 162, 188, 0.18);
}

.ts-single-tags {
    color: #aebbd0;
    font-size: 14px;
}

.ts-single-tags a {
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    border: 1px solid rgba(0, 215, 239, 0.25);
    border-radius: 30px;
    color: #00d7ef;
    text-decoration: none;
}

.ts-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.ts-post-navigation a {
    color: #eaf2ff;
    text-decoration: none;
}

.ts-post-navigation a:hover {
    color: #00d7ef;
}

@media (max-width: 600px) {
    .ts-single-main {
        padding: 48px 0;
    }

    .ts-single-header {
        text-align: left;
    }

    .ts-single-meta {
        justify-content: flex-start;
    }

    .ts-single-content {
        font-size: 15px;
    }

    .ts-post-navigation {
        flex-direction: column;
    }
}

/* =========================================
   BLOG ARCHIVE & INSIGHTS
========================================= */

.ts-archive-main {
    min-height: 60vh;
    padding: clamp(55px, 8vw, 100px) 0;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(0, 215, 239, 0.07),
            transparent 55%
        ),
        #050b17;
}

.ts-archive-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.ts-archive-eyebrow {
    margin: 0 0 16px;
    color: #00d7ef;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ts-archive-title {
    margin: 0;
    color: #f4f8ff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.ts-archive-intro,
.ts-archive-description {
    max-width: 620px;
    margin: 20px auto 0;
    color: #aebbd0;
    font-size: 16px;
    line-height: 1.8;
}

.ts-archive-description > *:first-child {
    margin-top: 0;
}

.ts-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.ts-archive-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(143, 162, 188, 0.17);
    border-radius: 15px;
    background: rgba(9, 19, 35, 0.82);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.ts-archive-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 215, 239, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.ts-archive-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #091425;
}

.ts-archive-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ts-archive-card:hover .ts-archive-card-image img {
    transform: scale(1.045);
}

.ts-archive-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    background:
        radial-gradient(circle, rgba(0, 215, 239, 0.14), transparent 60%),
        #091425;
}

.ts-archive-image-placeholder span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(0, 215, 239, 0.5);
    border-radius: 18px;
    color: #00d7ef;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ts-archive-card-content {
    padding: 22px;
}

.ts-archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #8495ad;
    font-size: 11px;
}

.ts-archive-card-category {
    color: #00d7ef;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ts-archive-card-title {
    margin: 15px 0 10px;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.ts-archive-card-title a {
    color: #f4f8ff;
    text-decoration: none;
}

.ts-archive-card-title a:hover {
    color: #00d7ef;
}

.ts-archive-card-excerpt {
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.75;
}

.ts-archive-card-excerpt p {
    margin: 0;
}

.ts-archive-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #00d7ef;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ts-archive-read-more:hover {
    color: #f4f8ff;
}

.ts-archive-pagination {
    margin-top: 48px;
    text-align: center;
}

.ts-archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ts-archive-pagination a,
.ts-archive-pagination span.page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid rgba(143, 162, 188, 0.22);
    border-radius: 9px;
    color: #dce7f7;
    text-decoration: none;
}

.ts-archive-pagination .current,
.ts-archive-pagination a:hover {
    border-color: #00d7ef;
    background: rgba(0, 215, 239, 0.1);
    color: #00d7ef;
}

.ts-archive-empty {
    padding: 55px 20px;
    border: 1px solid rgba(143, 162, 188, 0.17);
    border-radius: 15px;
    text-align: center;
    color: #aebbd0;
}

.ts-archive-empty h2 {
    color: #f4f8ff;
}

@media (max-width: 900px) {
    .ts-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .ts-archive-main {
        padding: 48px 0;
    }

    .ts-archive-header {
        margin-bottom: 32px;
        text-align: left;
    }

    .ts-archive-intro,
    .ts-archive-description {
        font-size: 14px;
    }

    .ts-archive-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ts-archive-card-content {
        padding: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-archive-card,
    .ts-archive-card-image img {
        transition: none;
    }

    .ts-archive-card:hover,
    .ts-archive-card:hover .ts-archive-card-image img {
        transform: none;
    }
}

/* ==========================================
   FIX: STANDARD INNER PAGE SPACING
========================================== */

.ts-page-main {
    min-height: 0;
    padding: 0;
    background: #050b18;
}

/* Keep the common title area compact and premium */
.ts-page-main .ts-page-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(68px, 8vw, 100px) 24px 48px;
    text-align: center;
}

/* Eyebrow */
.ts-page-main .ts-page-eyebrow {
    margin: 0 0 20px;
    color: #00d9f5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Page title */
.ts-page-main .ts-page-title {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

/* Actual page content */
.ts-page-main .ts-page-body {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 76px;
    color: #b9c7da;
    font-size: 16px;
    line-height: 1.85;
}

.ts-page-main .ts-page-body:empty {
    display: none;
}

.ts-page-main .ts-page-body > :first-child {
    margin-top: 0;
}

.ts-page-main .ts-page-body h2,
.ts-page-main .ts-page-body h3 {
    color: #f4f7ff;
    line-height: 1.3;
}

.ts-page-main .ts-page-body a {
    color: #00d9f5;
}

.ts-page-main .ts-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

@media (max-width: 640px) {
    .ts-page-main .ts-page-header {
        padding: 58px 20px 34px;
    }

    .ts-page-main .ts-page-title {
        letter-spacing: -0.035em;
    }

    .ts-page-main .ts-page-body {
        padding: 0 20px 52px;
    }
}

/* ==========================================
   TAQNIUM STUDIO — CONTACT PAGE
========================================== */

.ts-contact-page {
    --tc-cyan: #00d9f5;
    --tc-bg: #050b18;
    --tc-panel: #091321;
    --tc-border: rgba(139, 169, 201, 0.18);
    background: var(--tc-bg);
    color: #f4f7ff;
    overflow: hidden;
}

.ts-contact-page .container {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
}

.ts-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(64px, 8vw, 104px) 0 60px;
    border-bottom: 1px solid rgba(0, 217, 245, 0.13);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(51, 39, 119, .27), transparent 60%),
        linear-gradient(180deg, #060d1b, #050b18);
}

.ts-contact-hero-glow {
    position: absolute;
    z-index: -1;
    top: -180px;
    left: 50%;
    width: 600px;
    height: 360px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(0, 217, 245, .09);
    filter: blur(100px);
    pointer-events: none;
}

.ts-contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px !important;
    padding-top: 50px;
}

.ts-contact-eyebrow,
.ts-contact-kicker {
    color: var(--tc-cyan);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    line-height: 1.6;
    text-transform: uppercase;
}

.ts-contact-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
}

.ts-contact-eyebrow > span,
.ts-contact-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--tc-cyan);
    box-shadow: 0 0 15px rgba(0, 217, 245, .6);
}

.ts-contact-hero h1 {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(38px, 5.6vw, 72px);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.05em;
}

.ts-contact-hero h1 span,
.ts-contact-info h2 span {
    color: var(--tc-cyan);
}

.ts-contact-hero-copy {
    max-width: 650px;
    margin: 22px auto 0;
    color: #aab9cd;
    font-size: 16px;
    line-height: 1.8;
}

.ts-contact-main {
    position: relative;
    padding: clamp(54px, 7vw, 90px) 0 clamp(70px, 8vw, 110px);
    background:
        radial-gradient(ellipse at 15% 30%, rgba(0, 217, 245, .045), transparent 38%),
        #050b18;
}

.ts-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(40px, 7vw, 100px);
}

.ts-contact-info {
    padding-top: 18px;
}

.ts-contact-info .ts-contact-kicker {
    margin: 0 0 18px;
}

.ts-contact-info h2 {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 740;
    line-height: 1.13;
    letter-spacing: -.045em;
}

.ts-contact-intro {
    max-width: 440px;
    margin: 22px 0 0;
    color: #aab9cd;
    font-size: 15px;
    line-height: 1.9;
}

.ts-contact-points {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}

.ts-contact-point {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--tc-border);
    border-radius: 15px;
    background: rgba(11, 22, 38, .65);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ts-contact-point[href]:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 217, 245, .45);
    background: rgba(0, 217, 245, .045);
}

.ts-contact-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border: 1px solid rgba(0, 217, 245, .22);
    border-radius: 12px;
    background: rgba(0, 217, 245, .07);
    color: var(--tc-cyan);
}

.ts-contact-icon svg {
    width: 21px;
    height: 21px;
}

.ts-contact-point > span:nth-child(2) {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.ts-contact-point small {
    color: #8193ab;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
}

.ts-contact-point strong {
    overflow-wrap: anywhere;
    color: #eef4ff;
    font-size: 13px;
    font-weight: 600;
}

.ts-contact-arrow {
    margin-left: auto;
    color: var(--tc-cyan);
}

.ts-contact-services {
    margin-top: 35px;
}

.ts-contact-services > p {
    margin: 0 0 14px;
    color: #8193ab;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
}

.ts-contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ts-contact-tags span {
    padding: 9px 12px;
    border: 1px solid rgba(0, 217, 245, .19);
    border-radius: 30px;
    color: #b9d8e8;
    font-size: 11px;
    background: rgba(0, 217, 245, .035);
}

.ts-contact-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: #8496ad;
    font-size: 12px;
    line-height: 1.7;
}

.ts-contact-status-dot {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
}

.ts-contact-form-panel {
    position: relative;
    padding: clamp(24px, 3.2vw, 42px);
    border: 1px solid rgba(105, 151, 188, .23);
    border-radius: 23px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(0, 217, 245, .075), transparent 42%),
        linear-gradient(145deg, rgba(13, 27, 44, .97), rgba(7, 15, 28, .98));
    box-shadow: 0 25px 80px rgba(0, 0, 0, .18);
}

.ts-contact-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.ts-contact-form-heading .ts-contact-kicker {
    margin: 0 0 9px;
}

.ts-contact-form-heading h2 {
    margin: 0;
    color: #f4f7ff;
    font-size: clamp(23px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ts-contact-form-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(0, 217, 245, .25);
    border-radius: 50%;
    color: var(--tc-cyan);
    font-size: 20px;
}

.ts-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 16px;
}

.ts-contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.ts-contact-field-full {
    grid-column: 1 / -1;
}

.ts-contact-field label {
    color: #dce6f5;
    font-size: 12px;
    font-weight: 600;
}

.ts-contact-field label span {
    color: var(--tc-cyan);
}

.ts-contact-field input,
.ts-contact-field select,
.ts-contact-field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 51px;
    margin: 0;
    padding: 14px 15px;
    border: 1px solid rgba(140, 164, 193, .22);
    border-radius: 10px;
    outline: none;
    background: rgba(3, 10, 21, .62);
    color: #f4f7ff;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ts-contact-field textarea {
    min-height: 145px;
    resize: vertical;
}

.ts-contact-field input::placeholder,
.ts-contact-field textarea::placeholder {
    color: #71839a;
    opacity: 1;
}

.ts-contact-field select {
    color-scheme: dark;
}

.ts-contact-field input:focus,
.ts-contact-field select:focus,
.ts-contact-field textarea:focus {
    border-color: var(--tc-cyan);
    background: rgba(3, 10, 21, .9);
    box-shadow: 0 0 0 3px rgba(0, 217, 245, .09);
}

.ts-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    padding: 15px 20px;
    border: 1px solid var(--tc-cyan);
    border-radius: 11px;
    background: var(--tc-cyan);
    color: #03101a;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ts-contact-submit:hover {
    transform: translateY(-2px);
    background: #48e7f8;
    box-shadow: 0 9px 28px rgba(0, 217, 245, .16);
}

.ts-contact-submit span:last-child {
    font-size: 18px;
}

.ts-contact-privacy {
    margin: 15px 0 0;
    color: #8193ab;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.ts-contact-notice {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--tc-border);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.65;
}

.ts-contact-success {
    border-color: rgba(0, 217, 140, .35);
    background: rgba(0, 217, 140, .07);
    color: #a4f4d4;
}

.ts-contact-error {
    border-color: rgba(255, 120, 120, .35);
    background: rgba(255, 120, 120, .07);
    color: #ffc2c2;
}

.ts-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 850px) {
    .ts-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .ts-contact-info {
        padding-top: 0;
    }

    .ts-contact-intro {
        max-width: 600px;
    }

    .ts-contact-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-contact-point {
        padding: 13px;
    }

    .ts-contact-point strong {
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .ts-contact-page .container {
        width: calc(100% - 36px);
    }

    .ts-contact-hero {
        padding: 58px 0 44px;
    }

    .ts-contact-hero h1 {
        font-size: clamp(35px, 10vw, 48px);
        letter-spacing: -.04em;
    }

    .ts-contact-hero-copy {
        font-size: 14px;
    }

    .ts-contact-main {
        padding: 48px 0 65px;
    }

    .ts-contact-info h2 {
        font-size: 38px;
    }

    .ts-contact-points {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-contact-form-panel {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .ts-contact-form-heading {
        align-items: flex-start;
    }

    .ts-contact-form-heading h2 {
        font-size: 23px;
    }

    .ts-contact-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ts-contact-field-full {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-contact-point,
    .ts-contact-submit,
    .ts-contact-field input,
    .ts-contact-field select,
    .ts-contact-field textarea {
        transition: none;
    }
}

/* ==========================================
   CONTACT PAGE — MOBILE REFINEMENTS
   Desktop styles remain unchanged.
========================================== */

@media (max-width: 560px) {

    /* Prevent horizontal overflow */
    .ts-contact-page {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .ts-contact-page .container {
        width: auto;
        max-width: none;
        margin-inline: 18px;
    }

    /* Compact hero */
    .ts-contact-hero {
        padding: 44px 0 38px;
    }

    .ts-contact-eyebrow {
        margin-bottom: 16px;
        font-size: 9px;
        letter-spacing: .13em;
    }

    .ts-contact-hero h1 {
        font-size: clamp(32px, 8.5vw, 42px);
        line-height: 1.12;
        letter-spacing: -.045em;
        overflow-wrap: normal;
    }

    .ts-contact-hero-copy {
        max-width: 340px;
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.75;
    }

    /* Contact information spacing */
    .ts-contact-main {
        padding: 42px 0 52px;
    }

    .ts-contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .ts-contact-info {
        min-width: 0;
    }

    .ts-contact-info .ts-contact-kicker {
        margin-bottom: 14px;
        font-size: 10px;
    }

    .ts-contact-info h2 {
        font-size: clamp(32px, 8vw, 39px);
        line-height: 1.15;
        letter-spacing: -.04em;
    }

    .ts-contact-intro {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.8;
    }

    /* Contact details cards */
    .ts-contact-points {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 25px;
    }

    .ts-contact-point {
        gap: 12px;
        min-width: 0;
        padding: 13px;
        border-radius: 14px;
    }

    .ts-contact-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .ts-contact-point strong {
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .ts-contact-point small {
        font-size: 9px;
    }

    /* Services tags */
    .ts-contact-services {
        margin-top: 27px;
    }

    .ts-contact-services > p {
        margin-bottom: 12px;
        font-size: 9px;
    }

    .ts-contact-tags {
        gap: 8px;
    }

    .ts-contact-tags span {
        padding: 9px 11px;
        font-size: 10px;
    }

    .ts-contact-note {
        align-items: flex-start;
        gap: 9px;
        margin-top: 24px;
        font-size: 11px;
        line-height: 1.7;
    }

    /* Form panel */
    .ts-contact-form-panel {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 22px 17px;
        border-radius: 17px;
    }

    .ts-contact-form-heading {
        gap: 12px;
        margin-bottom: 23px;
    }

    .ts-contact-form-heading .ts-contact-kicker {
        margin-bottom: 8px;
        font-size: 9px;
    }

    .ts-contact-form-heading h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .ts-contact-form-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 17px;
    }

    /* One field per row */
    .ts-contact-fields {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .ts-contact-field,
    .ts-contact-field-full {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
    }

    .ts-contact-field label {
        font-size: 12px;
    }

    .ts-contact-field input,
    .ts-contact-field select,
    .ts-contact-field textarea {
        width: 100%;
        min-width: 0;
        min-height: 49px;
        box-sizing: border-box;
        padding: 13px 13px;
        border-radius: 9px;
        font-size: 13px;
    }

    .ts-contact-field textarea {
        min-height: 125px;
    }

    .ts-contact-submit {
        min-height: 51px;
        margin-top: 20px;
        padding: 13px 15px;
        font-size: 12px;
    }

    .ts-contact-privacy {
        font-size: 10px;
        line-height: 1.7;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {

    .ts-contact-page .container {
        margin-inline: 14px;
    }

    .ts-contact-hero h1 {
        font-size: 31px;
    }

    .ts-contact-info h2 {
        font-size: 31px;
    }

    .ts-contact-form-panel {
        padding: 19px 13px;
    }

    .ts-contact-form-heading h2 {
        font-size: 20px;
    }
}

/* Mobile contact hero — add space below fixed/sticky header */
@media (max-width: 560px) {

    .ts-contact-hero {
        padding-top: 64px !important;
        padding-bottom: 38px;
    }
    
    .ts-contact-hero-inner {
    padding-top:50px;
}

    .ts-contact-hero h1 {
        margin-top: 0;
    }
}

/* Hero service highlights */
.ts-energy-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 900px);
    margin-top: 40px;
    padding: 50px 20px 0;
    border-top: 1px solid rgba(160, 190, 220, 0.24);
    border-bottom: 1px solid rgba(160, 190, 220, 0.16);
}

.ts-energy-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 4px 20px;
    border-right: 1px solid rgba(160, 190, 220, 0.18);
}

.ts-energy-trust-item:first-child {
    padding-left: 0;
}

.ts-energy-trust-item:last-child {
    padding-right: 0;
    border-right: 0;
}

.ts-energy-trust-icon {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

.ts-energy-trust-icon svg {
    display: block;
    width: 30px;
    height: 30px;
    stroke: #00d7f5;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ts-energy-trust-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ts-energy-trust-text strong {
    color: #f5f8ff;
    font-size: 15px!important;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
	text-align: center;
}

.ts-energy-trust-text > span {
    color: #aeb9c9;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 900px) {
    .ts-energy-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
        margin-top: 32px;
    }

    .ts-energy-trust-item {
        padding: 5px 14px;
    }

    .ts-energy-trust-item:nth-child(2) {
        border-right: 0;
    }

    .ts-energy-trust-item:nth-child(3) {
        padding-left: 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ts-energy-trust {
        column-gap: 8px;
        padding: 16px 0;
    }

    .ts-energy-trust-item {
        gap: 8px;
        padding: 4px 6px;
    }

    .ts-energy-trust-icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .ts-energy-trust-icon svg {
        width: 24px;
        height: 24px;
    }

    .ts-energy-trust-text strong {
        font-size: 11px;
        white-space: normal;
    }

    .ts-energy-trust-text > span {
        font-size: 10px;
        white-space: normal;
    }
}

