/* ===================================
   Tushar Sharma Portfolio - Dark Theme
   =================================== */

/* CSS Variables */
:root {
    --accent-color: #ee4a2b;
    --accent-dark: #c1121f;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --black: #0a0a0a;
    --dark: #111111;
    --dark-gray: #1a1a1a;
    --gray: #888888;
    --light-gray: #cccccc;
    --font-serif: 'Helvetica Bold Oblique', 'Helvetica Bold', 'Helvetica Oblique', Helvetica, Arial, sans-serif;
    --font-sans: 'Helvetica Bold', 'Helvetica', Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--white);
    line-height: 1.6;
    background: var(--black);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   Header - Dark Minimal
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1.5rem clamp(24px, 5vw, 80px);
}

.navbar-brand {
    padding: 0;
}

.brand-text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.brand-first {
    color: #ee4a2b;
}

.brand-last {
    color: var(--white);
}

.navbar-nav {
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ee4a2b;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link.active::after {
    opacity: 1;
}

.nav-link:hover {
    color: var(--white) !important;
}

.nav-link.active {
    color: #ee4a2b !important;
}

/* Custom Toggler - Mobile Only */
.custom-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.toggler-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.custom-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .custom-toggler {
        display: flex;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        padding: 120px 40px 60px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-link {
        font-size: 2rem;
        font-weight: 300;
        letter-spacing: 0.02em;
        padding: 1rem 0 !important;
        color: var(--white) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-color) !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-collapse {
        padding: 100px 24px 40px;
    }
}

/* ===================================
   Hero Section - Dramatic Dark
   =================================== */

.hero-section {
    min-height: 100vh;
    background-image: url('../images/bg.png');
    background-size: 155% auto;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* IMAGE LAYER — z-index: 2 (sits ON TOP of text) */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 720px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    height: 92vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    z-index: -1;
}

.hero-profile-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

/* Circular Badge - Download CV */
.hero-badge {
    position: absolute;
    right: 20%;
    top: 40%;
    transform: translateY(-50%);
    /* ONLY positioning — never touched by JS again */
    width: 180px;
    height: 180px;
    z-index: 200;
    pointer-events: auto;
    text-decoration: none;
    cursor: pointer;
}

.contact-hero {
    min-height: 30vh !important;
    /* slightly shorter for contact page */
}

.hero-badge-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #252525;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
}

.hero-badge-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    /* full size of the circle, always */
    background: #ee4a2b;
    border-radius: 50%;
    z-index: -1;
    clip-path: inset(100% 0 0 0);
    /* fully hidden — clipped from the top down */
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge:hover .hero-badge-inner::after {
    clip-path: inset(0 0 0 0);
    /* fully revealed — wipes up to fill */
}

.hero-badge-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: oblique;
    line-height: 1.4;
    letter-spacing: 0.01em;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-badge-icon {
    display: block;
}

.hero-badge-text-default {
    color: var(--white);
    opacity: 1;
    transform: translateY(0);
}

.hero-badge-text-hover {
    color: var(--black);
    opacity: 0;
    transform: translateY(10px);
}

.hero-badge:hover .hero-badge-text-default {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-badge:hover .hero-badge-text-hover {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT LAYER — z-index: 1 (sits BEHIND image) */
.hero-container {
    width: 100%;
    font-family: var(--font-sans);
    /* padding: 0 clamp(24px, 5vw, 80px); */
    position: relative;
    z-index: 100;
}

.hero-content {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
    max-width: 100%;
}

/* Hero Text */
.hero-text {
    position: relative;
    padding-bottom: 0;
}

.hero-greeting {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 1.4vw, 1.375rem);
    font-style: italic;
    color: #ee4a2b;
    margin-bottom: 26px;
    letter-spacing: 0.02em;
    padding: 0 clamp(24px, 5vw, 80px);
}

.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-line {
    display: block;
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 0.9;
    color: var(--white);
}

.hero-line-1 {
    font-size: 4vw;
    font-style: italic;
    padding: 0 clamp(24px, 5vw, 80px);
}

.hero-line-2 {
    font-size: 16.5vw;
    /* scales linearly with viewport, no cap */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-style: italic;
    white-space: nowrap;
    width: 100%;
}

/* Hero CTA */
.hero-cta {
    margin-top: 32px;
}

/* Hero Responsive */
@media (max-width: 1199.98px) {
    .hero-image-wrapper {
        max-width: 620px;
    }

    .hero-badge {
        right: clamp(20px, 4vw, 60px);
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        align-items: center;
        flex-direction: column;
    }

    .hero-visual {
        position: relative;
        width: 100%;
        height: auto;
        order: -1;
        pointer-events: auto;
        z-index: 2;
    }

    .hero-image-wrapper {
        height: auto;
        max-width: 380px;
    }

    .hero-image-frame {
        height: 55vh;
    }

    .hero-container {
        z-index: 1;
    }

    .hero-content {
        text-align: center;
        justify-content: center;
        padding-top: 40px;
        min-height: auto;
    }

    .hero-badge {
        right: 0;
        top: 100px;
        bottom: auto;
        transform: none;
        width: 120px;
        height: 120px;
        z-index: 200;
    }

    .hero-badge-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        position: relative;
        /* if not already set elsewhere */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        /* pushes hero-container to the bottom */
        min-height: 60vh;
        /* or whatever height the section should be */
        background-size: 300% auto;
        background-position: center bottom;
    }

    .contact-hero {
        min-height: 30vh !important;
        /* slightly shorter for contact page */
    }

    .work-hero {
        min-height: 30vh !important;
        /* slightly shorter for contact page */
    }

    .about-hero {
        min-height: 30vh !important;
        /* slightly shorter for contact page */
    }

    .hero-container {
        margin-top: auto;
        /* pushes it to the bottom within the flex parent */
        padding-bottom: 30px;
        /* spacing from the bottom edge, adjust to taste */
    }

    .hero-image-wrapper {
        max-width: 300px;
    }

    .hero-image-frame {
        height: 50vh;
    }

    .hero-badge {
        width: 120px;
        height: 120px;
        top: 120px;
        bottom: auto;
        right: 0;
        padding: 16px;
    }

    .hero-greeting {
        text-align: left;
    }

    .hero-badge-text {
        font-size: 0.5rem;
        line-height: 1.3;
    }

    .hero-line-1 {
        margin-bottom: 26px;
        font-size: 4.5vw !important;
        text-align: left;
    }

    .hero-line-2 {
        font-size: 16.5vw;
    }
}

/* ===================================
   Introduction Section
   =================================== */

.intro-section {
    padding: clamp(80px, 5vw, 140px) 0;
    background: var(--white);
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.intro-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
}

.intro-content {
    max-width: 900px;
    position: relative;
}

.intro-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-label.animated {
    opacity: 1;
    transform: translateX(0);
}

.intro-label-line {
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.intro-label.animated .intro-label-line {
    transform: scaleX(1);
}

.intro-label-text {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ee4a2b;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-text.animated {
    opacity: 1;
    transform: translateY(0);
}

.intro-highlight {
    color: #ee4a2b;
    font-style: italic;
}

.intro-cta {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.intro-cta.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .intro-label,
    .intro-text,
    .intro-cta {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .intro-label-line {
        transition: none !important;
        transform: scaleX(1) !important;
    }

    .hero-badge {
        transition: none !important;
    }

    .hero-badge:hover {
        transform: translateY(-50%) !important;
    }
}

/* ===================================
   Orbit + Video Combined Section
   =================================== */

.orbit-video-section {
    --accent-rgb: 230, 57, 70;
    padding: clamp(40px, 6vw, 80px) 0;
    background: var(--black);
    overflow: visible;
    position: relative;
}

.orbit-video-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orbit-video-container .orbit-header {
    text-align: center;
    margin-bottom: clamp(30px, 7vw, 94px);
    position: relative;
    z-index: 2;
}

.orbit-video-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(30px, 4vw, 60px);
    width: 100%;
}

.orbit-video-row {
    flex: 1;
}

.orbit-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    width: 100%;
}

.orbit-row .orbit-wrapper {
    position: relative;
    width: 530px;
    height: 530px;
    overflow: visible;
    flex-shrink: 0;
}

.video-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-row .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--dark-gray);
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid rgba(238, 74, 43, 0.3);
    box-shadow: 0 8px 32px rgba(238, 74, 43, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-row .video-wrapper:hover {
    border-color: rgba(238, 74, 43, 0.6);
    box-shadow: 0 12px 40px rgba(238, 74, 43, 0.25), 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .orbit-video-content {
        flex-direction: column;
    }
}

/* ===================================
   Video Section
   =================================== */

.video-section {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--black);
}

.video-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--dark-gray);
    overflow: hidden;
    cursor: pointer;
}

.video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-wrapper:hover .video-thumbnail {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 4px;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid var(--white);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
}

.video-wrapper:hover .play-button {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper:hover .play-button::after {
    border-left-color: var(--white);
}

.video-wrapper:hover .play-button::after {
    border-left-color: var(--white);
}


/* ===================================
   Work Section
   =================================== */

.work-section {
    padding: clamp(80px, 5vw, 160px) 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: clamp(80px, 10vw, 160px);
}

.work-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
}

.work-header {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.work-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    font-style: italic;
    color: #ee4a2b;
    line-height: 1.2;
}

/* 2x2 Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.project-item {
    position: relative;
    overflow: hidden;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-gray);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image-wrapper:hover .project-image {
    transform: scale(1.04);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(230, 97, 57, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-image-wrapper:hover .project-overlay {
    opacity: 1;
}

.view-project {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.view-project:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.project-content {
    padding: clamp(16px, 2vw, 24px) 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* Work Responsive */
@media (max-width: 767.98px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===================================
   Work Page - Intro Section
   =================================== */

.work-intro-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background: var(--white);
}

.work-intro-content {
    max-width: 900px;
}

.work-intro-categories {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ee4a2b;
    margin-bottom: clamp(24px, 3vw, 40px);
}

.work-intro-text {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
    color: var(--black);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.work-intro-text .accent-text {
    color: #ee4a2b;
    font-style: italic;
}

/* ===================================
   Work Page - Project List (Editorial)
   =================================== */

.project-list-section {
    padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px) 0;
    background: #fff;
    position: relative;
    overflow-x: hidden;
}

.project-list-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.project-list-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: clamp(24px, 4vw, 48px);
}

.project-list-count {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 600;
    color: #999;
    letter-spacing: 0.05em;
}

/* ===================================
   Work Preview (Floating Image)
   =================================== */

.work-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: clamp(220px, 26vw, 380px);
    height: clamp(150px, 18vw, 260px);
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    border-radius: 8px;
    will-change: transform, opacity;
    /* No CSS transitions — JS handles everything for 60fps */
}

.work-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* ===================================
   Projects Heading
   =================================== */

.projects-heading-section {
    background: #fff;
    padding: clamp(40px, 5vw, 80px) clamp(32px, 6vw, 100px);
    overflow-x: hidden;
}

.projects-heading-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.projects-heading-left {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 20px);
}

.projects-heading-label {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    font-weight: 700;
    color: #ee4a2b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-heading-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 700;
    color: #111;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
}

.projects-heading-right {
    flex-shrink: 0;
}

.projects-heading-count {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: #ccc;
}

@media (max-width: 767.98px) {
    .projects-heading-section {
        padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 24px);
    }

    .projects-heading-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
}

/* ===================================
   Project List
   =================================== */

.project-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #d0d0d0;
}

.project-row {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    background: #fff;
    transition: background 0.35s ease;
}

.project-row:hover,
.project-row.is-hovered {
    background: #ee4a2b;
}

.project-list.is-active .project-row {
    transition: opacity 0.4s ease, background 0.35s ease;
}

.project-list.is-active .project-row:not(.is-hovered) {
    opacity: 0.9;
}

.project-row-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: clamp(16px, 2.5vw, 32px) clamp(32px, 6vw, 100px); */
    padding: 60px 120px;
}

.project-row-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.project-row-line {
    width: 100%;
    height: 1px;
    background: #d0d0d0;
    transition: background 0.35s ease;
}

.project-row:hover .project-row-line,
.project-row.is-hovered .project-row-line {
    background: rgba(255, 255, 255, 0.3);
}

.project-row-category {
    font-family: var(--font-sans);
    font-size: clamp(0.6875rem, 0.85vw, 0.8125rem);
    font-weight: 700;
    color: #000;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.35s ease;
}

.project-row:hover .project-row-category,
.project-row.is-hovered .project-row-category {
    color: rgba(255, 255, 255, 0.8);
}

.project-row-title {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: #111;
    line-height: 1.1;
    transition: color 0.35s ease;
    margin: 0;
    text-align: center;
}

.project-row:hover .project-row-title,
.project-row.is-hovered .project-row-title {
    color: #fff;
}

.project-row-right {
    display: flex;
    justify-content: flex-end;
}

.project-row-cta {
    font-family: var(--font-sans);
    font-size: clamp(0.6875rem, 0.8vw, 0.8125rem);
    font-weight: 500;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-row:hover .project-row-cta,
.project-row.is-hovered .project-row-cta {
    color: #fff;
}

.project-row-cta::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.35s ease;
}

.project-row:hover .project-row-cta::after,
.project-row.is-hovered .project-row-cta::after {
    transform: rotate(-45deg) translate(2px, 2px);
}

.project-row-year {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 0.85vw, 0.875rem);
    font-weight: 600;
    color: #111;
    min-width: 50px;
    text-align: right;
    transition: color 0.35s ease;
}

.project-row:hover .project-row-year,
.project-row.is-hovered .project-row-year {
    color: #fff;
}

/* Inline thumbnail — hidden on desktop, shown on mobile */
.project-row-thumb {
    display: none;
}

/* Project List Responsive */
@media (max-width: 991.98px) {
    .project-row-left {
        display: none;
    }

    .project-row-title {
        font-size: clamp(1.25rem, 3vw, 2rem);
    }

    .project-list.is-active .project-row {
        opacity: 0.3;
    }

    .project-list.is-active .project-row.is-hovered {
        opacity: 1;
    }

    .projects-heading-title {
        font-size: clamp(1.75rem, 4vw, 3rem);
    }
}

@media (max-width: 767.98px) {
    /* Hide floating preview on mobile */
    .work-preview {
        display: none;
    }

    /* Disable row dimming on mobile */
    .project-list.is-active .project-row {
        opacity: 1;
    }

    .project-row-inner {
        padding: clamp(14px, 3vw, 20px) clamp(16px, 4vw, 24px);
    }

    .project-row-center {
        position: static;
        transform: none;
        text-align: left;
        pointer-events: auto;
    }

    .project-row-title {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
    }

    .project-row-year {
        font-size: 0.75rem;
    }

    /* Show inline thumbnail on mobile */
    .project-row-thumb {
        display: block;
        padding: 0 0 12px;
    }

    .project-row-thumb img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 6px;
    }

    /* Work intro mobile */
    .work-intro-section {
        padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 24px);
    }

    .work-intro-content {
        max-width: 100%;
    }

    .work-intro-categories {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .work-intro-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Projects heading mobile */
    .projects-heading-section {
        padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 24px);
    }

    .projects-heading-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .projects-heading-count {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
    }

    /* Project list section mobile */
    .project-list-section {
        padding: clamp(32px, 5vw, 48px) 0 clamp(40px, 6vw, 60px) 0;
    }

    .project-list-header {
        padding: 0 clamp(16px, 4vw, 24px);
    }
}

@media (max-width: 575.98px) {
    .project-row-title {
        font-size: 1.1rem;
    }

    .project-row-thumb img {
        height: 314px;
        padding: 15px 20px;
    }

    .projects-heading-title {
        font-size: 1.4rem;
    }

    .projects-heading-label {
        font-size: 0.7rem;
    }

    .work-intro-text {
        font-size: 0.9rem;
    }

    /* Work page hero mobile */
    .hero-section {
        padding-top: clamp(80px, 12vw, 120px) !important;
    }
}

/* ===================================
   CTA Parallax Section
   =================================== */

.cta-parallax-section {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0;
    overflow: hidden;
}

.cta-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.cta-parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1;
}

/* ===================================
   Services Scroll Section
   =================================== */

.services-scroll-section {
    height: 400vh;
    background: #111;
    position: relative;
}

.services-scroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.services-scroll-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.services-visual {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: block;
    opacity: 0;
    transform: scale(1.15) rotate(-2deg);
    transition: opacity 0.7s ease, transform 0.7s ease;
    object-fit: cover;
    will-change: opacity, transform;
}

.service-bg.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.services-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    color: #fff;
    line-height: 0.95;
    text-transform: uppercase;
    pointer-events: none;
    text-align: center;
    width: 90%;
    mix-blend-mode: difference;
}

.services-headline span {
    display: block;
}

.services-scroll-right {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 5vw, 80px);
    background: #1a1a1a;
}

.services-divider {
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.services-scroll-line {
    position: absolute;
    /* right: clamp(20px, 4vw, 60px); */
    right: clamp(10px, 25vw, 148px);
    top: 5%;
    height: 90%;
    width: 6px;
    z-index: 1;
}

.scroll-line-bg {
    stroke: rgba(255, 255, 255, 0.15);
}

.scroll-line-fill {
    stroke: #ee4a2b;
    transition: stroke-dashoffset 0.15s linear;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 32px);
    height: 72%;
}

.services-label {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    font-weight: 700;
    color: #ee4a2b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 10px);
}

.service-item {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3.25rem);
    font-weight: 700;
    /* color: rgba(255, 255, 255, 0.15); */
    color: rgb(255 255 255 / 68%);
    margin: 0;
    line-height: 1.15;
    cursor: default;
    transition: color 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
    transform: translateY(0);
    opacity: 0.9;
}

.service-item.active {
    color: #fff;
    transform: translateY(-4px);
    opacity: 1;
}

.services-desc-wrap {
    position: relative;
    min-height: 80px;
    margin-top: auto;
}

.services-description {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.services-description.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.services-count {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: clamp(30px, 5vw, 60px);
    right: clamp(30px, 5vw, 60px);
}

/* Tablet */
@media (max-width: 991.98px) {
    .services-scroll-section {
        height: 380vh;
    }

    .services-scroll-sticky {
        grid-template-columns: 1fr;
        grid-template-rows: 40% 60%;
    }

    .services-scroll-left {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: clamp(24px, 4vw, 48px);
    }

    .services-visual {
        width: 50%;
        max-width: 350px;
    }

    .services-headline {
        font-size: clamp(2rem, 6vw, 3rem);
        left: -5%;
    }

    .services-scroll-right {
        padding: clamp(32px, 5vw, 48px) clamp(24px, 5vw, 48px);
    }

    .services-divider {
        display: none;
    }

    .services-scroll-line {
        right: 16px;
        width: 40px;
        opacity: 0.4;
    }

    .service-item {
        font-size: clamp(1.5rem, 3vw, 2.25rem);
    }

    .services-count {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: clamp(16px, 2vw, 24px);
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .services-scroll-section {
        height: 320vh;
    }

    .services-scroll-sticky {
        grid-template-rows: 45% 55%;
    }

    .services-scroll-left {
        padding: 0;
    }

    .services-visual {
        width: 100%;
        height: 100%;
    }

    .service-bg {
        border-radius: 0;
    }

    .services-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }

    .services-scroll-right {
        padding: clamp(20px, 5vw, 28px) clamp(16px, 4vw, 24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-scroll-line {
        display: none;
    }

    .services-content {
        align-items: center;
    }

    .services-label {
        font-size: 0.65rem;
        margin-bottom: clamp(4px, 1vw, 8px);
    }

    .services-list {
        gap: clamp(10px, 0.6vw, 4px);
        align-items: center;
    }

    .service-item {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        font-weight: 600;
    }

    .service-item.active {
        transform: translateY(-2px);
    }

    .services-desc-wrap {
        min-height: 50px;
        margin-top: clamp(12px, 3vw, 20px);
        width: 100%;
    }

    .services-description {
        font-size: clamp(1.05rem, 2.5vw, 0.85rem);
        padding-left: 11px;
        line-height: 1.6;
        text-align: center;
        width: 100%;
    }

    .services-count {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-top: clamp(10px, 2vw, 14px);
        position: relative;
        bottom: auto;
        right: auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .services-scroll-section {
        height: 300vh;
    }

    .services-scroll-sticky {
        grid-template-rows: 40% 60%;
    }

    .services-headline {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }

    .service-item {
        font-size: clamp(1rem, 4.5vw, 1.35rem);
    }
}

/* ===================================
   Testimonial Section
   =================================== */

.testimonial-section {
    padding: clamp(80px, 5vw, 160px) 0;
    background: var(--white);
}

.testimonial-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
}

.testimonial-header {
    margin-bottom: clamp(40px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.testimonial-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    font-style: italic;
    color: #ee4a2b;
    margin: 0;
}

.testimonial-arrow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-arrow-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Image Side */
.testimonial-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image-wrapper {
    position: relative;
    width: 180px;
    height: 186px;
}

.testimonial-image-circle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    height: 95px;
    border: 4px solid var(--accent-color);
    border-top: none;
    border-radius: 0 0 190px 190px;
    z-index: 0;
}

.testimonial-client-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    background: #f0f0f0;
}

/* Content Side */
.testimonial-content-side {
    position: relative;
    padding-left: 20px;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.7;
    color: var(--black);
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 32px;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
}

.author-role {
    font-size: 0.875rem;
    color: #ee4a2b;
}

/* Responsive */
@media (max-width: 767.98px) {
    .testimonial-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-image-wrapper {
        width: 160px;
        height: 170px;
    }

    .testimonial-image-circle {
        width: 150px;
        height: 75px;
        border-radius: 0 0 150px 150px;
        bottom: 0;
    }

    .testimonial-client-img {
        width: 153px;
        height: 167px;
    }

    .testimonial-quote-mark {
        position: static;
        font-size: 4rem;
        display: block;
        margin-bottom: 16px;
    }

    .testimonial-header {
        flex-wrap: wrap;
    }
}

/* ===================================
   Contact Page
   =================================== */

.contact-section {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-intro {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
}

.contact-item-value {
    font-size: 1rem;
    color: var(--white);
}

.contact-item-value a {
    color: var(--white);
    transition: color 0.3s ease;
}

.contact-item-value a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    padding-top: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-gray);
    padding: clamp(32px, 4vw, 56px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
}

.form-control {
    padding: 16px 18px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--white);
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: 0;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 160px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--accent-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.form-success {
    padding: 16px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
    font-size: 0.9375rem;
}

/* Contact Responsive */
@media (max-width: 991.98px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: clamp(40px, 6vw, 60px) 0;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-form-wrapper {
        padding: 32px;
    }
}

@media (max-width: 575.98px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-details {
        gap: 24px;
    }

    .contact-item {
        padding-bottom: 20px;
    }
}

/* ===================================
   Image Banner
   =================================== */

.image-banner {
    width: 100%;
    overflow: hidden;
}

.image-banner-container {
    width: 100%;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===================================
   Buttons - Universal
   =================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: #ee4a2b;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ee4a2b;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-primary .btn-arrow {
    display: flex;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black);
    background: transparent;
    border: 1px solid var(--black);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

/* ===================================
   Footer
   =================================== */

.site-footer {
    background: #1a1a1a;
    border-top: none;
}

.footer-container {
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 0.5fr auto 1fr;
    /* equal left/right, auto divider */
    gap: 0;
    padding: clamp(60px, 8vw, 80px) clamp(40px, 8vw, 219px);
    border-bottom: none;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left: Contact Info */
.footer-contact-info {
    padding-right: clamp(40px, 5vw, 80px);
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Divider column - stretches full row height */
.footer-divider {
    width: 1px;
    background: var(--accent-color);
    align-self: stretch;
}

.footer-contact-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin: 0 0 32px 0;
}

.footer-contact-title .text-accent {
    color: #ee4a2b;
}

.footer-contact-info .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info .footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-info .footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-contact-info .footer-contact-item a:hover {
    color: var(--white);
}

.footer-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ee4a2b;
    flex-shrink: 0;
}

/* Right: Brand Info */
.footer-brand-info {
    padding-left: clamp(40px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-brand-header {
    margin-bottom: 24px;
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 2.25rem;
    font-weight: 600;
    color: #ee4a2b;
    letter-spacing: 0.01em;
    line-height: 1.2;
    display: block;
    margin: 0 0 8px 0;
}

.footer-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.footer-specializations {
    margin-bottom: 28px;
}

.footer-specializations p {
    font-size: 1rem;
    color: rgb(255, 255, 255);
    margin: 0;
    line-height: 1.9;
    font-weight: 400;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    vertical-align: middle;
}

.footer-social-link:hover {
    color: var(--white);
}

.footer-social-link > span:last-child {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}

.footer-social-icon.linkedin-icon {
    background: #0077B5;
    color: var(--white);
}

.footer-bottom {
    background: #ee4a2b;
    padding: 20px clamp(24px, 5vw, 80px);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.footer-legal {
    display: none;
}

@media (max-width: 991.98px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-divider {
        display: none;
    }

    .footer-contact-info {
        padding-right: 0;
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .footer-brand-info {
        padding-left: 0;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 40px 24px;
    }

    .footer-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ===================================
   About Page - Hexagonal Skills
   =================================== */

.skills-section {
    padding: clamp(80px, 10vw, 140px) 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.skills-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
    height: 1px;
}

.circuit-line-1 {
    top: 20%;
    left: 10%;
    width: 150px;
    transform: rotate(-15deg);
}

.circuit-line-2 {
    bottom: 30%;
    right: 15%;
    width: 120px;
    transform: rotate(20deg);
}

.circuit-line-3 {
    top: 60%;
    left: 5%;
    width: 100px;
    transform: rotate(-5deg);
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.5;
}

.circuit-dot-1 {
    top: 25%;
    left: 12%;
}

.circuit-dot-2 {
    bottom: 35%;
    right: 18%;
}

.circuit-dot-3 {
    top: 55%;
    left: 8%;
}

.skills-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.skills-header .work-title {
    color: var(--white);
}

.skills-header .section-label {
    color: var(--accent-color);
}

/* Hex Grid Container */
.hex-grid {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 80px;
}

.hex-row {
    display: flex;
    justify-content: center;
    gap: 0;
}

.hex-row-top {
    margin-bottom: -28px;
}

.hex-row-bottom {
    padding-left: clamp(75px, 8.5vw, 95px);
}

.hex-item {
    position: relative;
    width: clamp(150px, 17vw, 190px);
    height: clamp(170px, 19vw, 210px);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(180deg, #1e2030 0%, #1a1c2e 50%, #2a2040 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
    margin: 0 -6px;
}

.hex-item::before {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(180deg, #181a2a 0%, #14162a 50%, #1e1a30 100%);
    z-index: 0;
}

.hex-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 16px;
}

.hex-number {
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.hex-name {
    font-family: var(--font-sans);
    font-size: clamp(0.625rem, 0.8vw, 0.75rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.hex-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.4) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hex-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, #2a2a3e 0%, #3a3a4e 100%);
}

.hex-item:hover .hex-number {
    color: var(--accent-color);
}

.hex-item:hover .hex-name {
    color: var(--white);
}

.hex-item:hover .hex-glow {
    opacity: 1;
}

.hex-active {
    background: linear-gradient(180deg, #2a2040 0%, #2e2050 50%, #3a2040 100%);
}

.hex-active::after {
    content: '';
    position: absolute;
    inset: -5px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--accent-color);
    z-index: -1;
    opacity: 0.9;
    animation: hex-pulse 2s ease-in-out infinite;
}

.hex-active .hex-glow {
    opacity: 1;
}

.hex-active .hex-number {
    color: var(--accent-color);
}

@keyframes hex-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* Hex Circuit Decorations */
.hex-circuit-decor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.hex-circuit-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 180px;
}

.hex-circuit-right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 180px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .hex-item,
    .hex-number,
    .hex-name,
    .hex-glow,
    .hex-active::after {
        transition: none !important;
        animation: none !important;
    }

    .hex-item:hover {
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .hex-grid {
        padding: 20px 40px;
    }

    .hex-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .hex-row-bottom {
        margin-top: 10px;
    }

    .hex-item {
        width: 140px;
        height: 160px;
        margin: 0 3px;
    }

    .hex-circuit-left,
    .hex-circuit-right {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hex-grid {
        padding: 20px 20px;
    }

    .hex-row {
        gap: 8px;
    }

    .hex-item {
        width: 120px;
        height: 140px;
        margin: 0 2px;
    }

    .hex-number {
        font-size: 1.25rem;
    }

    .hex-name {
        font-size: 0.5625rem;
    }
}

@media (max-width: 575.98px) {
    .hex-grid {
        padding: 0;
    }

    .hex-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hex-row-top {
        margin-bottom: 0;
    }

    .hex-row-bottom {
        margin-top: 0;
    }

    .hex-item {
        width: 100%;
        height: 150px;
        margin: 0;
    }
}

/* ===================================
   About Page - Skills Progress
   =================================== */
.skills-progress-section {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--black);
}

.skills-progress-section .intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

/* Row 1: Image */
.skills-image-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills-profile-img {
    width: 100%;
    max-width: 583px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Row 2: Skill Bars */
.skills-bars-row {
    width: 100%;
}

.skills-bars-header {
    margin-bottom: 40px;
}

.skills-bars-header .section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.skills-bars-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.skills-bars-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    position: relative;
}

.skill-bar-item {
    margin-bottom: 24px;
}

.skill-bar-item:last-child {
    margin-bottom: 0;
}

.skill-bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-bar-name {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.skill-bar-percent {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-color);
}

.skill-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: visible;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(230, 57, 70, 0.5);
}

/* Skills Progress Responsive */
@media (max-width: 991.98px) {
    .skills-progress-section .intro-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-image-row {
        order: 1;
        text-align: center;
    }

    .skills-bars-row {
        order: 2;
    }

    .skills-profile-img {
        max-width: 350px;
    }
}

@media (max-width: 767.98px) {
    .skills-progress-section {
        padding: clamp(40px, 6vw, 60px) 0;
    }

    .skills-profile-img {
        max-width: 300px;
    }

    .skills-bars-header {
        margin-bottom: 30px;
    }

    .skill-bar-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .skills-profile-img {
        max-width: 250px;
    }

    .skill-bar-name {
        font-size: 0.5625rem;
        letter-spacing: 0.04em;
    }

    .skill-bar-percent {
        font-size: 0.625rem;
    }

    .skill-bar-track {
        height: 3px;
    }

    .skill-bar-fill::after {
        width: 6px;
        height: 6px;
        right: -3px;
    }

    .skill-bar-item {
        margin-bottom: 16px;
    }
}

/* Skills Progress Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .skill-bar-fill {
        transition: none;
    }
}

/* About Page Mobile Fixes */
@media (max-width: 767.98px) {

    .intro-section [style*="grid-template-columns: 1fr 1fr"],
    .intro-container [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .edu-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {

    .intro-section [style*="grid-template-columns: 1fr 1fr"],
    .intro-container [style*="grid-template-columns: 1fr 1fr"] {
        gap: 24px !important;
    }
}

/* ===================================
   About Page - Timeline
   =================================== */

.timeline-section {
    padding: clamp(80px, 5vw, 140px) 0;
    background: var(--black);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.1s linear;
    z-index: 1;
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

.timeline-item {
    position: relative;
    padding-bottom: clamp(40px, 5vw, 60px);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.timeline-position {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.timeline-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
}

@media (max-width: 767.98px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -30px;
    }
}

/* ===================================
   Animations
   =================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-in"] {
    transform: translateY(0) scale(0.98);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.page-content {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* ─── Parallax base styles ─── */
[data-parallax] {
    will-change: transform;
}

/* ─── Reduced motion: disable parallax & scroll animations ─── */
@media (prefers-reduced-motion: reduce) {

    [data-parallax],
    [data-animate] {
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-section [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .orbit-ring-1,
    .orbit-ring-2,
    .orbit-ring-3,
    .orbit-node,
    .orbit-glow,
    .orbit-center-ring {
        animation: none !important;
    }

    .orbit-item-inner,
    .orbit-icon,
    .orbit-item-title,
    .orbit-item-desc,
    .orbit-item-dot,
    .orbit-center,
    .orbit-center-ring,
    .orbit-glow {
        transition-duration: 0.01ms !important;
    }

    .intro-text,
    .intro-cta {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .industries-marquee-track {
        animation: none !important;
    }

    .industry-item,
    .industry-svg,
    .industries-trophy,
    .cta-red {
        transition: none !important;
    }

    .industry-item:hover,
    .industry-item:hover .industry-svg,
    .industries-right:hover .industries-trophy,
    .industries-right:hover .cta-red {
        transform: none !important;
        filter: none !important;
        text-shadow: none !important;
    }
}

/* Professional Journey - Responsive */
.pj-outer {
    position: relative;
}

.pj-nav-wrapper {
    position: relative;
}

.pj-content-wrapper {
    position: relative;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .pj-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        position: static !important;
    }

    .pj-outer {
        height: auto !important;
    }

    .pj-nav-wrapper {
        order: -1;
        margin-bottom: 20px;
    }

    .pj-deco-bg {
        font-size: 12rem !important;
        right: -10% !important;
    }
}

@media (max-width: 575.98px) {
    .pj-deco-bg {
        font-size: 8rem !important;
        top: 5% !important;
        right: -15% !important;
    }

    .pj-content-wrapper {
        min-height: auto !important;
    }

    .pj-content-wrapper .pj-mobile-item {
        margin-bottom: 48px;
    }

    .pj-content-wrapper .pj-mobile-item:last-child {
        margin-bottom: 0;
    }
}

/* Education Cards - Responsive */
@media (max-width: 991.98px) {
    .edu-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 575.98px) {
    .edu-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   ORBIT SECTION
   ======================================== */

.orbit-section {
    --accent-rgb: 230, 57, 70;
    padding: clamp(40px, 6vw, 80px) 0;
    background: var(--black);
    overflow: hidden;
    position: relative;
}

.orbit-container {
    width: 100%;
    padding: 0 clamp(24px, 5vw, 80px);
    max-width: 1400px;
    margin: 0 auto;
}

.orbit-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 80px);
    position: relative;
    z-index: 2;
}

.orbit-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    margin: 0;
}

/* Orbit Wrapper */
.orbit-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Background Glow */
.orbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: orbit-glow-pulse 6s ease-in-out infinite;
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-ring-1 {
    width: 110%;
    height: 110%;
    border: 2px dashed rgba(var(--accent-rgb), 0.5);
    animation: orbit-rotate-slow 120s linear infinite;
}

.orbit-ring-2 {
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(var(--accent-rgb), 0.4);
    animation: orbit-rotate-reverse 90s linear infinite;
}

.orbit-ring-3 {
    width: 50%;
    height: 50%;
    border: 2px dashed rgba(var(--accent-rgb), 0.45);
    animation: orbit-rotate-slow 60s linear infinite;
}

/* Connection Lines */
.orbit-connections {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.4) 0%, rgba(var(--accent-rgb), 0.08) 100%);
    transform-origin: left center;
    transform: rotate(var(--angle));
}

/* Glowing Nodes */
.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    transform:
        translate(-50%, -50%) rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle)));
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6), 0 0 20px rgba(var(--accent-rgb), 0.3);
    pointer-events: none;
    animation: orbit-node-pulse 4s ease-in-out infinite;
}

.orbit-node:nth-of-type(2n) {
    animation-delay: -1s;
}

.orbit-node:nth-of-type(3n) {
    animation-delay: -2s;
}

/* Center Circle */
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    border: 2px solid rgba(var(--accent-rgb), 0.4);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.orbit-center-ring {
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1.5px dashed rgba(var(--accent-rgb), 0.45);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: border-color 0.4s ease, transform 0.4s ease;
    animation: orbit-rotate-reverse 40s linear infinite;
}

.orbit-center-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 6px 0;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.orbit-center-subtitle {
    font-family: var(--font-serif);
    font-size: 0.6875rem;
    font-style: italic;
    color: var(--accent-color);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Orbit Items */
.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    transform-origin: center center;
    transform:
        translate(-50%, -50%) rotate(var(--angle)) translateY(-215px) rotate(calc(-1 * var(--angle)));
    text-align: center;
    cursor: default;
}

.orbit-item-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.orbit-item-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 50%;
}

.orbit-item-inner {
    padding: 12px;
    /* background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(4px); */
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

@supports not (backdrop-filter: blur(4px)) {
    .orbit-item-inner {
        background: rgba(10, 10, 10, 0.95);
    }
}

.orbit-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.orbit-icon i {
    font-size: 1rem;
    color: var(--accent-color);
}

.orbit-item-title {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.08em;
    margin: 0 0 3px 0;
    transition: color 0.4s ease;
}

.orbit-item-desc {
    font-family: var(--font-serif);
    font-size: 0.625rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
    transition: color 0.4s ease;
}

/* ========================================
   ORBIT KEYFRAME ANIMATIONS
   ======================================== */

@keyframes orbit-rotate-slow {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbit-rotate-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes orbit-node-pulse {

    0%,
    100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6), 0 0 20px rgba(var(--accent-rgb), 0.3);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.8), 0 0 28px rgba(var(--accent-rgb), 0.4);
    }
}

@keyframes orbit-glow-pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.35;
    }
}

/* ========================================
   ORBIT HOVER & FOCUS STATES
   ======================================== */

.orbit-item:focus {
    outline: none;
}

.orbit-item:focus-visible .orbit-item-inner {
    border-color: rgba(var(--accent-rgb), 0.6);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.4);
}

.orbit-item:focus-visible .orbit-icon {
    transform: scale(1.1);
    background: rgba(var(--accent-rgb), 0.2);
    border-color: rgba(var(--accent-rgb), 0.5);
}

.orbit-item:focus-visible .orbit-item-title {
    color: #ffffff;
}

.orbit-item:focus-visible .orbit-item-desc {
    color: rgba(255, 255, 255, 0.8);
}

.orbit-item:focus-visible .orbit-item-dot {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
}

.orbit-item:hover .orbit-item-inner,
.orbit-item:focus .orbit-item-inner {
    border-color: rgba(var(--accent-rgb), 0.4);
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.15);
}

.orbit-item:hover .orbit-icon,
.orbit-item:focus .orbit-icon {
    transform: scale(1.1);
    background: rgba(var(--accent-rgb), 0.2);
    border-color: rgba(var(--accent-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
}

.orbit-item:hover .orbit-item-title,
.orbit-item:focus .orbit-item-title {
    color: #ffffff;
}

.orbit-item:hover .orbit-item-desc,
.orbit-item:focus .orbit-item-desc {
    color: rgba(255, 255, 255, 0.8);
}

.orbit-item:hover .orbit-item-dot,
.orbit-item:focus .orbit-item-dot {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
}

.orbit-section:has(.orbit-item:hover) .orbit-center,
.orbit-section:has(.orbit-item:focus-within) .orbit-center,
.orbit-video-section:has(.orbit-item:hover) .orbit-center,
.orbit-video-section:has(.orbit-item:focus-within) .orbit-center {
    border-color: rgba(var(--accent-rgb), 0.6);
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.2);
}

.orbit-section:has(.orbit-item:hover) .orbit-center-ring,
.orbit-section:has(.orbit-item:focus-within) .orbit-center-ring,
.orbit-video-section:has(.orbit-item:hover) .orbit-center-ring,
.orbit-video-section:has(.orbit-item:focus-within) .orbit-center-ring {
    border-color: rgba(var(--accent-rgb), 0.5);
    transform: translate(-50%, -50%) scale(1.02);
}

.orbit-section:has(.orbit-item:hover) .orbit-glow,
.orbit-section:has(.orbit-item:focus-within) .orbit-glow,
.orbit-video-section:has(.orbit-item:hover) .orbit-glow,
.orbit-video-section:has(.orbit-item:focus-within) .orbit-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* ========================================
   ORBIT RESPONSIVE
   ======================================== */

@media (max-width: 1199.98px) {

    .orbit-wrapper,
    .orbit-row .orbit-wrapper {
        width: 460px;
        height: 460px;
    }

    .orbit-item {
        width: 110px;
        transform:
            translate(-50%, -50%) rotate(var(--angle)) translateY(-190px) rotate(calc(-1 * var(--angle)));
    }

    .orbit-node {
        transform:
            translate(-50%, -50%) rotate(var(--angle)) translateY(-225px) rotate(calc(-1 * var(--angle)));
    }
}

@media (max-width: 991.98px) {

    .orbit-video-content {
        flex-direction: column;
        gap: 30px;
    }

    .orbit-video-row {
        width: 100%;
        order: 0;
    }

    .orbit-row {
        order: 1;
    }

    .video-row {
        order: 2;
    }

    .orbit-wrapper,
    .orbit-row .orbit-wrapper {
        width: 400px;
        height: 400px;
    }

    .orbit-item {
        width: 100px;
        transform:
            translate(-50%, -50%) rotate(var(--angle)) translateY(-165px) rotate(calc(-1 * var(--angle)));
    }

    .orbit-node {
        transform:
            translate(-50%, -50%) rotate(var(--angle)) translateY(-195px) rotate(calc(-1 * var(--angle)));
    }

    .orbit-center {
        width: 120px;
        height: 120px;
    }

    .orbit-center-ring {
        width: 140px;
        height: 140px;
    }

    .orbit-center-title {
        font-size: 1rem;
    }

    .orbit-glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 767.98px) {

    .orbit-video-content {
        flex-direction: column;
        gap: 30px;
    }

    .orbit-video-row {
        width: 100%;
    }

    .orbit-row {
        order: 1;
    }

    .video-row {
        order: 2;
        margin-top: 339px;
    }

    .orbit-wrapper,
    .orbit-row .orbit-wrapper {
        width: 100%;
        max-width: 340px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 0;
        position: relative;
    }

    .orbit-ring,
    .orbit-connections,
    .orbit-node,
    .orbit-glow {
        display: none !important;
    }

    .orbit-center,
    .orbit-wrapper .orbit-center {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 120px !important;
        height: 120px !important;
        min-width: 120px !important;
        min-height: 120px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0;
    }

    .orbit-center-ring {
        display: none;
    }

    .orbit-center-title {
        font-size: 0.725rem;
    }

    .orbit-center-subtitle {
        font-size: 0.6875rem;
    }

    .orbit-item,
    .orbit-wrapper .orbit-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 340px !important;
        transform: none !important;
        text-align: left;
        z-index: 1;
    }

    .orbit-item-dot {
        display: none;
    }

    .orbit-item-inner {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        background: var(--dark-gray);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        width: 100%;
    }

    .orbit-icon {
        margin: 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .orbit-icon i {
        font-size: 1rem;
    }

    .orbit-item-title {
        font-size: 0.6875rem;
        margin: 0 0 2px 0;
        letter-spacing: 0.03em;
    }

    .orbit-item-desc {
        font-size: 0.6875rem;
        letter-spacing: 0.01em;
    }

    .orbit-item:hover .orbit-item-inner,
    .orbit-item:focus .orbit-item-inner {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 255, 255, 0.06);
    }

    .orbit-item:hover .orbit-icon,
    .orbit-item:focus .orbit-icon {
        transform: scale(1.05);
        box-shadow: none;
    }

    .orbit-section:has(.orbit-item:hover) .orbit-center,
    .orbit-section:has(.orbit-item:focus-within) .orbit-center,
    .orbit-video-section:has(.orbit-item:hover) .orbit-center,
    .orbit-video-section:has(.orbit-item:focus-within) .orbit-center {
        border-color: rgba(var(--accent-rgb), 0.4);
        box-shadow: none;
    }

    .video-row {
        width: 100%;
        padding: 0;
    }

    .video-row .video-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {

    .orbit-section,
    .orbit-video-section {
        padding: clamp(40px, 6vw, 60px) 0;
    }

    .orbit-center {
        width: 100px;
        height: 100px;
        min-width: 100px;
        min-height: 100px;
        margin-bottom: 4px;
    }

    .orbit-item {
        max-width: 100%;
    }

    .orbit-item-inner {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 8px;
    }

    .orbit-icon {
        width: 36px;
        height: 36px;
    }

    .orbit-icon i {
        font-size: 0.875rem;
    }

    .orbit-item-title {
        font-size: 0.625rem;
    }

    .orbit-item-desc {
        font-size: 0.625rem;
    }

    .video-row .video-wrapper {
        max-width: 100%;
        border-radius: 8px;
    }
}

/* ========================================
   INDUSTRIES SECTION
   ======================================== */

.industries-section {
    padding: clamp(40px, 4vw, 50px) 0;
    background: #0f1620;
}

.industries-container {
    width: 100%;
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.industries-content {
    display: flex;
    align-items: center;
    /* padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); */
    background: transparent;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    overflow: hidden;
}

/* LEFT ZONE - 20% */
.industries-left {
    flex: 0 0 20%;
    max-width: 20%;
    padding-right: clamp(20px, 2.5vw, 40px);
}

.industries-heading {
    font-family: var(--font-sans);
    font-size: clamp(0.9375rem, 0.2vw, 1.125rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.5;
    display: block;
}

/* CENTER ZONE - MARQUEE */
.industries-center {
    flex: 1;
    max-width: 55%;
    padding: 0 clamp(20px, 2.5vw, 40px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.industries-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.industries-marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    animation: marquee-scroll 25s linear infinite;
    padding-right: 24px;
}

.industries-marquee-track:last-child {
    padding-right: 0;
    padding-left: 24px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    flex-shrink: 0;
    padding: 8px 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-item:hover {
    transform: translateY(-2px);
}

.industry-svg {
    width: 36px;
    height: 36px;
    color: #ee4a2b;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.industry-item:hover .industry-svg {
    transform: translateY(-3px);
    filter: drop-shadow(0 2px 8px rgba(230, 57, 70, 0.3));
}

.industry-label {
    font-family: var(--font-sans);
    font-size: clamp(0.5rem, 0.65vw, 0.625rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    white-space: nowrap;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.industry-item:hover .industry-label {
    color: var(--white);
}

.industry-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* RIGHT ZONE - 25% */
.industries-right {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: clamp(20px, 2.5vw, 40px);
}

.industries-trophy {
    width: 40px;
    height: 40px;
    color: #ee4a2b;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.industries-right:hover .industries-trophy {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 8px rgba(230, 57, 70, 0.3));
}

.industries-cta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cta-line {
    font-family: var(--font-sans);
    font-size: clamp(0.625rem, 0.75vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
}

.cta-white {
    color: var(--white);
}

.cta-red {
    color: #ee4a2b;
    font-weight: 700;
    transition: text-shadow 0.3s ease;
}

.industries-right:hover .cta-red {
    text-shadow: 0 0 12px rgba(230, 57, 70, 0.4);
}

/* Industries Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .industries-marquee-track {
        animation: none !important;
    }

    .industry-item,
    .industry-svg,
    .industries-trophy,
    .cta-red {
        transition: none !important;
    }

    .industry-item:hover,
    .industry-item:hover .industry-svg,
    .industries-right:hover .industries-trophy,
    .industries-right:hover .cta-red {
        transform: none !important;
        filter: none !important;
        text-shadow: none !important;
    }
}

/* ========================================
   INDUSTRIES RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 991.98px) {
    .industries-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: clamp(20px, 3vw, 32px);
    }

    .industries-left {
        flex: none;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: clamp(16px, 2vw, 24px);
        margin-bottom: clamp(16px, 2vw, 24px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
    }

    .industries-heading {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
    }

    .industries-center {
        flex: none;
        max-width: 100%;
        padding: 0;
        border-left: none;
        border-right: none;
        margin-bottom: clamp(16px, 2vw, 24px);
    }

    .industries-marquee-track {
        animation-duration: 20s;
    }

    .industry-item {
        padding: 8px 16px;
    }

    .industry-divider {
        height: 40px;
    }

    .industries-right {
        flex: none;
        max-width: 100%;
        padding-left: 0;
        padding-top: clamp(16px, 2vw, 24px);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        justify-content: center;
        gap: clamp(12px, 1.5vw, 20px);
    }

    .industries-trophy {
        width: clamp(32px, 4vw, 40px);
        height: clamp(32px, 4vw, 40px);
    }

    .cta-line {
        font-size: clamp(0.5625rem, 0.8vw, 0.6875rem);
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .industries-section {
        padding: clamp(32px, 5vw, 40px) 0;
    }

    .industries-container {
        padding: 0 clamp(16px, 4vw, 24px);
    }

    .industries-content {
        padding: clamp(16px, 4vw, 24px);
    }

    .industries-left {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .industries-heading {
        font-size: clamp(0.75rem, 3vw, 0.875rem);
    }

    .industries-center {
        margin-bottom: 12px;
    }

    .industries-marquee-track {
        animation-duration: 18s;
    }

    .industry-item {
        gap: 8px;
        padding: 8px 12px;
    }

    .industry-svg {
        width: clamp(24px, 6vw, 28px);
        height: clamp(24px, 6vw, 28px);
    }

    .industry-label {
        font-size: clamp(0.4375rem, 2vw, 0.5rem);
        letter-spacing: 0.06em;
    }

    .industry-divider {
        height: 36px;
    }

    .industries-right {
        padding-top: 12px;
        gap: 12px;
    }

    .industries-trophy {
        width: clamp(28px, 7vw, 32px);
        height: clamp(28px, 7vw, 32px);
    }

    .cta-line {
        font-size: clamp(0.5rem, 2.2vw, 0.5625rem);
    }
}

/* ─── Background / Professional Journey Section ─── */
.bg-journey-section {
    padding: clamp(60px, 5vw, 100px) 0;
    background: #fff;
}

.journey-carousel {
    margin-top: clamp(32px, 4vw, 48px);
    overflow: hidden;
}

.journey-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.journey-card {
    position: relative;
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
}

.journey-card-inner {
    position: relative;
    background: linear-gradient(160deg, #1a1a1a 0%, #111 50%, #1a0a0a 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
    padding: clamp(24px, 3vw, 32px);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.journey-card-inner:hover {
    border-color: rgba(230, 57, 70, 0.5);
    transform: translateY(-4px);
}

.journey-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 56px;
    height: 56px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.journey-badge-number {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.journey-badge-label {
    font-family: var(--font-sans);
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
}

.journey-icon {
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-bottom: 16px;
    color: var(--accent-color);
    opacity: 0.8;
}

.journey-card-title {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: 16px;
}

.journey-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.journey-card-list li {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
    margin-bottom: 6px;
}

.journey-card-list li::before {
    content: '\2013';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Decorative Circuit Lines */
.journey-circuit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.journey-circuit::before {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 1px;
    background: var(--accent-color);
}

.journey-circuit::after {
    content: '';
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 1px;
    height: 40px;
    background: var(--accent-color);
}

.journey-circuit-1::before {
    width: 50px;
    bottom: 24px;
    right: 12px;
}

.journey-circuit-1::after {
    height: 50px;
    bottom: 24px;
    right: 12px;
}

.journey-circuit-2::before {
    width: 35px;
    bottom: 20px;
    right: 20px;
}

.journey-circuit-2::after {
    height: 35px;
    bottom: 20px;
    right: 20px;
}

.journey-circuit-3::before {
    width: 45px;
    bottom: 28px;
    right: 14px;
}

.journey-circuit-3::after {
    height: 45px;
    bottom: 28px;
    right: 14px;
}

.journey-circuit-4::before {
    width: 55px;
    bottom: 22px;
    right: 18px;
}

.journey-circuit-4::after {
    height: 55px;
    bottom: 22px;
    right: 18px;
}

/* Journey Dots */
.journey-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.journey-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.journey-dot.active {
    background: var(--accent-color);
    width: 28px;
    border-radius: 5px;
}

/* Journey Responsive */
@media (max-width: 991.98px) {
    .journey-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575.98px) {
    .journey-card {
        flex: 0 0 100%;
        min-width: auto;
    }

    .journey-card-inner {
        padding: 24px;
    }
}

/* Journey Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .journey-track {
        transition: none;
    }

    .journey-card-inner {
        transition: none;
    }
}

/* ===================================
   Black Forested Grey 4-Card Scale Loader
   =================================== */

.site-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #141414;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.7s ease;
}

.site-loader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Cards Stack Wrapper */
.loader-cards-stack {
    position: relative;
    width: clamp(260px, 35vw, 360px);
    height: clamp(180px, 24vw, 240px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Card Base — Sharp rectangular images (NO border-radius) */
.loader-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    overflow: hidden;
    background: #1a1a1a;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform-origin: center center;
    will-change: transform, opacity;
    animation: loaderCardScaleIn 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.loader-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}

/* Card Stack Angles & Staggered Animations */
.loader-card:nth-child(1) {
    --card-angle: 12deg;
    --card-offset-y: 10px;
    z-index: 1;
    animation-delay: 0.05s;
}

.loader-card:nth-child(2) {
    --card-angle: -10deg;
    --card-offset-y: 5px;
    z-index: 2;
    animation-delay: 0.35s;
}

.loader-card:nth-child(3) {
    --card-angle: 8deg;
    --card-offset-y: 0px;
    z-index: 3;
    animation-delay: 0.65s;
}

.loader-card:nth-child(4) {
    --card-angle: -4deg;
    --card-offset-y: -5px;
    z-index: 4;
    animation-delay: 0.95s;
}

/* Card Scale In Keyframes */
@keyframes loaderCardScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.2) rotate(calc(var(--card-angle) * 1.5)) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(var(--card-angle)) translateY(var(--card-offset-y));
    }
}

/* Bottom Percentage counter (Italicized, centered at bottom) */
.loader-percentage {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Exit Scale Effect on Cards when loaded */
.site-loader-overlay.exiting .loader-card {
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.5s ease;
    opacity: 0 !important;
}

.site-loader-overlay.exiting .loader-card:nth-child(1) { transform: scale(1.2) rotate(18deg) translateY(-40px) !important; }
.site-loader-overlay.exiting .loader-card:nth-child(2) { transform: scale(1.2) rotate(-16deg) translateY(-40px) !important; }
.site-loader-overlay.exiting .loader-card:nth-child(3) { transform: scale(1.2) rotate(12deg) translateY(-40px) !important; }
.site-loader-overlay.exiting .loader-card:nth-child(4) { transform: scale(1.2) rotate(-8deg) translateY(-40px) !important; }

/* ===================================
   Films Page
   =================================== */

/* Hero */
.flm-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    padding: clamp(140px, 14vw, 200px) 0 clamp(48px, 6vw, 80px) 0;
    background: url('../images/work/port-1.jpg') center 30% / cover no-repeat;
    overflow: hidden;
}

.flm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0.92) 100%);
    z-index: 1;
}

.flm-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.flm-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.flm-hero-kicker::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.flm-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 11vw, 10rem);
    font-weight: 700;
    font-style: italic;
    color: var(--accent-color);
    line-height: 0.9;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.flm-hero-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.6rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    line-height: 1.5;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.flm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 40px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: clamp(16px, 2vw, 24px);
}

.flm-hero-meta span {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.flm-hero-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

/* Intro (white) */
.flm-intro {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--white);
    color: var(--black);
}

.flm-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 80px);
}

.flm-intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.flm-intro-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.6vw, 3rem);
    font-weight: 700;
    font-style: italic;
    color: var(--black);
    line-height: 1.25;
    margin-bottom: clamp(24px, 3vw, 36px);
    text-transform: uppercase;
}

.flm-intro-title em {
    color: var(--accent-color);
    font-style: italic;
}

.flm-intro-text {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: clamp(16px, 2vw, 22px);
}

.flm-intro-text strong {
    color: var(--black);
    font-weight: 600;
}

.flm-intro-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--dark-gray);
}

.flm-intro-visual img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flm-intro-visual:hover img {
    transform: scale(1.05);
}

.flm-intro-visual-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--accent-color);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 22px;
    z-index: 2;
}

/* Process Strip (dark) */
.flm-process {
    padding: clamp(60px, 8vw, 110px) 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.flm-process-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: clamp(36px, 5vw, 64px);
    flex-wrap: wrap;
}

.flm-process-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    line-height: 1.3;
    max-width: 720px;
    margin: 0;
}

.flm-process-title em {
    color: var(--accent-color);
    font-style: italic;
}

.flm-steps {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 1.6vw, 20px);
    margin-bottom: clamp(40px, 5vw, 70px);
}

.flm-step {
    display: inline-flex;
    align-items: center;
    padding: clamp(14px, 1.8vw, 20px) clamp(24px, 3vw, 38px);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    transition: all 0.35s ease;
}

.flm-step:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.flm-step-num {
    display: none;
}

.flm-step-name {
    font-family: var(--font-sans);
    font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    margin: 0;
}


.flm-quote {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: clamp(32px, 4vw, 48px);
    text-align: center;
}

.flm-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
}

.flm-quote p em {
    color: var(--accent-color);
    font-style: italic;
}

/* Case Studies */
.flm-case {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--white);
}

.flm-case-dark {
    background: var(--dark);
}

.flm-case-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 60px);
    margin-bottom: clamp(32px, 4vw, 56px);
    flex-wrap: wrap;
}

.flm-case-index {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: rgba(10, 10, 10, 0.07);
}

.flm-case-dark .flm-case-index {
    color: rgba(255, 255, 255, 0.07);
}

.flm-case-client {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: clamp(14px, 2vw, 20px);
}

.flm-case-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.75rem, 3.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin: 0 0 clamp(16px, 2vw, 24px) 0;
    text-transform: uppercase;
}

.flm-case-dark .flm-case-title {
    color: var(--white);
}

.flm-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.flm-case-tags span {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    border: 1px solid rgba(10, 10, 10, 0.2);
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.flm-case-tags span:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.flm-case-dark .flm-case-tags span {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
}

.flm-case-dark .flm-case-tags span:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.flm-case-body {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.85;
    color: var(--gray);
    max-width: 860px;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.flm-case-body strong {
    color: var(--black);
    font-weight: 600;
}

.flm-case-dark .flm-case-body {
    color: rgba(255, 255, 255, 0.68);
}

.flm-case-dark .flm-case-body strong {
    color: var(--white);
}

/* Case media */
.flm-media {
    display: grid;
    gap: clamp(14px, 1.8vw, 24px);
}

.flm-media-a {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.flm-media-a .flm-media-item:first-child {
    grid-row: span 2;
}

.flm-media-b {
    grid-template-columns: repeat(3, 1fr);
}

.flm-media-item {
    position: relative;
    overflow: hidden;
    background: var(--dark-gray);
    aspect-ratio: 4 / 3;
}

.flm-media-a .flm-media-item:first-child {
    aspect-ratio: auto;
    min-height: 100%;
}

.flm-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.flm-media-item:hover img {
    transform: scale(1.06);
}

.flm-media-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.85) 100%);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.flm-media-item:hover .flm-media-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Stats band */
.flm-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.8vw, 24px);
    margin-top: clamp(40px, 5vw, 70px);
}

.flm-stat {
    background: var(--black);
    padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px);
    position: relative;
    overflow: hidden;
}

.flm-stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.flm-stat:hover::after {
    transform: scaleX(1);
}

.flm-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 14px;
}

.flm-stat-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Creative Role */
.flm-role {
    padding: clamp(56px, 7vw, 100px) 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flm-role-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
}

.flm-role-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: block;
    margin-bottom: 16px;
}

.flm-role-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.flm-role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.flm-role-pills span {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.flm-role-pills span:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Full-Width Banner (story_ban) */
.flm-banner {
    background: var(--black);
    line-height: 0;
    overflow: hidden;
}

.flm-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery */
.flm-gallery {
    padding: clamp(60px, 8vw, 120px) 0;
    background: var(--white);
}

.flm-gallery-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 56px);
    flex-wrap: wrap;
}

.flm-gallery-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.75rem, 3.4vw, 3rem);
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    margin: 0;
    line-height: 1.15;
}

.flm-gallery-note {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.flm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 20px);
}

.flm-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--dark-gray);
    display: block;
}

.flm-gallery-item:nth-child(even) {
    margin-top: clamp(20px, 3vw, 48px);
}

.flm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.flm-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(238, 74, 43, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
}

.flm-gallery-item:hover .flm-gallery-overlay {
    opacity: 1;
}

.flm-gallery-item:hover img {
    transform: scale(1.06);
}

.flm-gallery-overlay strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.flm-gallery-overlay span {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
}

/* Films Responsive */
@media (max-width: 1199.98px) {
    .flm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .flm-intro-grid {
        grid-template-columns: 1fr;
    }

    .flm-intro-visual {
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .flm-media-a {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .flm-media-a .flm-media-item:first-child {
        grid-row: auto;
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .flm-role-inner {
        grid-template-columns: 1fr;
    }

    .flm-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .flm-hero {
        min-height: 58vh;
    }

    .flm-media-a,
    .flm-media-b {
        grid-template-columns: 1fr;
    }

    .flm-media-a .flm-media-item:first-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .flm-case-head {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .flm-gallery-grid {
        grid-template-columns: 1fr;
    }

    .flm-gallery-item:nth-child(even) {
        margin-top: 0;
    }
}

/* ===================================
   Films v2 — sections after the intro
   Uses existing vars: --accent-color --white --black --dark --dark-gray --gray --font-serif --font-sans
   =================================== */

/* shared */
.fx-client {
    display: block;
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: clamp(14px, 2vw, 22px);
}

.fx-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0;
}

.fx-title em { color: var(--accent-color); }

.fx-body {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
}

.fx-split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(32px, 6vw, 100px);
    align-items: start;
}

.fx-sticky { position: sticky; top: 120px; }

/* 03 Journey */
.fx-journey {
    background: var(--black);
    padding: clamp(70px, 9vw, 130px) 0;
    text-align: center;
    overflow: hidden;
}

.fx-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.8rem, 4.6vw, 3.8rem);
    line-height: 1.25;
    color: var(--white);
    text-transform: uppercase;
    margin: 0 0 clamp(48px, 7vw, 96px);
}

.fx-quote em { color: var(--accent-color); }

.fx-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.fx-track::before {               /* connecting line */
    content: '';
    position: absolute;
    top: 32px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color) 15%, var(--accent-color) 85%, transparent);
    opacity: .6;
}

.fx-track li {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.fx-node {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--black);
    border: 1.5px solid var(--accent-color);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    color: var(--white);
    transition: all .35s ease;
}

.fx-track li:hover .fx-node {
    background: var(--accent-color);
    transform: translateY(-4px) scale(1.06);
}

.fx-step {
    font-family: var(--font-sans);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

/* 04 Dalmia */
.fx-dalmia {
    background: var(--white);
    color: var(--black);
    padding: clamp(70px, 9vw, 130px) 0;
}

.fx-dalmia .fx-title { color: var(--black); }

.fx-index {
    display: block;
    margin-top: 28px;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1;
    color: rgba(10, 10, 10, .07);
}

.fx-kinds {
    list-style: none;
    margin: 0 0 clamp(24px, 3vw, 36px);
    padding: 0;
    border-top: 1px solid rgba(10, 10, 10, .15);
}

.fx-kinds li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(10, 10, 10, .15);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    transition: all .3s ease;
}

.fx-kinds li:hover { color: var(--accent-color); padding-left: 14px; }

.fx-dalmia .fx-body { color: var(--gray); }
.fx-dalmia .fx-body strong { color: var(--black); }

.fx-lead-in {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: clamp(32px, 4vw, 52px) 0 20px;
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.fx-lead-in::after { content: ''; flex: 1; height: 1px; background: rgba(10, 10, 10, .2); }

.fx-reel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 1.5vw, 20px);
}

.fx-film {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--dark-gray);
}

.fx-film-wide { grid-column: span 2; aspect-ratio: 16 / 9; }

.fx-film img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}

.fx-film::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, .65));
}

.fx-film:hover img { transform: scale(1.06); }

.fx-play {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    border-radius: 50%;
    background: var(--accent-color);
    transition: transform .35s ease;
}

.fx-play::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 21px;
    border-left: 18px solid var(--white);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.fx-film:hover .fx-play { transform: scale(1.12); }

/* 05 Serendipity */
.fx-serendipity {
    background: var(--dark);
    padding: clamp(70px, 9vw, 130px) 0;
}

.fx-title-xl {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 4.4rem);
    max-width: 1100px;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.fx-chapters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
    margin-bottom: clamp(44px, 6vw, 80px);
}

.fx-chapter {
    border-top: 2px solid var(--accent-color);
    padding-top: 22px;
}

.fx-chapter-no {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: 2rem;
    color: var(--accent-color);
}

.fx-chapter p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .68);
}

.fx-chapter strong { color: var(--white); font-weight: 600; }

.fx-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.4vw, 18px);
}

.fx-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--dark-gray);
}

.fx-frame:nth-child(even) { margin-top: clamp(16px, 3vw, 44px); }

.fx-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(.6);
    transition: transform .7s cubic-bezier(.4, 0, .2, 1), filter .5s ease;
}

.fx-frame:hover img { transform: scale(1.06); filter: grayscale(0); }

.fx-frame span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 10, .9));
    font-family: var(--font-sans);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
}

/* 06 Creative role */
.fx-role {
    background: var(--white);
    color: var(--black);
    padding: clamp(70px, 9vw, 130px) 0;
}

.fx-role .fx-title { color: var(--black); }

.fx-roles {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(10, 10, 10, .15);
}

.fx-roles li {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(10, 10, 10, .15);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    text-transform: uppercase;
    transition: all .3s ease;
}

.fx-roles li span {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: .75rem;
    letter-spacing: .14em;
    color: var(--accent-color);
}

.fx-roles li:hover { color: var(--accent-color); padding-left: 18px; }

/* 07 Closing */
.fx-close {
    background: var(--black);
    padding: clamp(70px, 10vw, 150px) 0;
}

.fx-close-line {
    margin: 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.2rem, 7vw, 6.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
}

.fx-close-line.fx-accent { color: var(--accent-color); -webkit-text-stroke: 0; }

/* Responsive */
@media (max-width: 991.98px) {
    .fx-split { grid-template-columns: 1fr; }
    .fx-sticky { position: static; }
    .fx-chapters { grid-template-columns: 1fr; }
    .fx-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .fx-track { flex-direction: column; gap: 22px; align-items: flex-start; }
    .fx-track::before { top: 0; bottom: 0; left: 31px; right: auto; width: 1px; height: auto; }
    .fx-track li { flex-direction: row; gap: 20px; }
    .fx-reel { grid-template-columns: 1fr; }
    .fx-film-wide { grid-column: auto; }
    .fx-frame:nth-child(even) { margin-top: 0; }
}







/* ===================================
   Digital Page
   =================================== */

.dgt-hero {
    background-image: url('../images/digital/dig_ban.jpg');
    background-position: center 25%;
}

.dgt-case-sub {
    margin-bottom: clamp(20px, 3vw, 32px);
}

.dgt-work-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 14px;
}

.dgt-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
    border-top: 1px solid rgba(10, 10, 10, 0.12);
    padding-top: clamp(28px, 3.5vw, 44px);
}

.flm-case-dark .dgt-details {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.dgt-detail h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0 0 14px 0;
}

.dgt-detail p {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.3vw, 1.0625rem);
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
}

.flm-case-dark .dgt-detail p {
    color: rgba(255, 255, 255, 0.68);
}

/* Digital Responsive */
@media (max-width: 991.98px) {
    .dgt-details {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}



/* Digi Page */


/* =========================================================
   Digital page - case study redesign
   Append to css/style.css. Uses your existing variables:
   --accent-color, --font-serif, --font-sans, --gray, --white
   (fallbacks are provided in case one is missing)
   You can delete the old .dgt-case-sub, .dgt-work-label,
   .dgt-details, .dgt-detail rules and their media query.
   Keep .dgt-hero.
   ========================================================= */

.dgt-case {
    position: relative;
    overflow: hidden;
}

/* Big outlined index number */
.dgt-bgnum {
    position: absolute;
    top: clamp(12px, 3vw, 40px);
    right: clamp(8px, 4vw, 64px);
    font-family: var(--font-serif, Georgia, serif);
    font-style: italic;
    font-size: clamp(9rem, 22vw, 20rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(10, 10, 10, 0.1);
    pointer-events: none;
    user-select: none;
}

.flm-case-dark .dgt-bgnum {
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.1);
}

.dgt-case--rev .dgt-bgnum {
    right: auto;
    left: clamp(8px, 4vw, 64px);
}

/* Two-column layout: text + sticky visual */
.dgt-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.dgt-case--rev .dgt-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.dgt-case--rev .dgt-visual {
    order: -1;
}

.dgt-visual {
    position: sticky;
    top: 110px;
}

/* ---------- Text side ---------- */

.dgt-client {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.dgt-client b {
    font-family: var(--font-serif, Georgia, serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0;
}

.dgt-client::after {
    content: "";
    order: 3;
    width: 48px;
    height: 1px;
    background: currentColor;
}

.dgt-title {
    margin: 0 0 20px;
    font-family: var(--font-serif, Georgia, serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--black, #0a0a0a);
}

.flm-case-dark .dgt-title {
    color: var(--white, #fff);
}

.dgt-sub {
    max-width: 52ch;
    margin: 0 0 28px;
    font-family: var(--font-sans, sans-serif);
    font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
    line-height: 1.7;
    color: var(--gray);
}

.flm-case-dark .dgt-sub {
    color: rgba(255, 255, 255, 0.72);
}

.dgt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 clamp(28px, 4vw, 44px);
    padding: 0;
    list-style: none;
}

.dgt-tags li {
    padding: 7px 14px;
    border: 1px solid rgba(10, 10, 10, 0.18);
    border-radius: 999px;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.8125rem;
    color: var(--black, #0a0a0a);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.dgt-tags li:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white, #fff);
}

.flm-case-dark .dgt-tags li {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.88);
}

/* Challenge / work / outcome as a vertical timeline */
.dgt-steps {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dgt-steps::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(10, 10, 10, 0.16);
}

.flm-case-dark .dgt-steps::before {
    background: rgba(255, 255, 255, 0.18);
}

.dgt-steps li {
    position: relative;
    padding: 0 0 30px 42px;
}

.dgt-steps li:last-child {
    padding-bottom: 0;
}

.dgt-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent-color) 22%, transparent);
}

.dgt-step-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.dgt-steps p {
    margin: 0;
    font-family: var(--font-sans, sans-serif);
    font-size: clamp(1rem, 1.25vw, 1.0625rem);
    line-height: 1.75;
    color: var(--gray);
}

.flm-case-dark .dgt-steps p {
    color: rgba(255, 255, 255, 0.68);
}

/* Stats (case 03) */
.dgt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: 28px;
    border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.dgt-stat-num {
    display: block;
    font-family: var(--font-serif, Georgia, serif);
    font-style: italic;
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    line-height: 1;
    color: var(--accent-color);
}

.dgt-stat-label {
    display: block;
    margin-top: 10px;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
}

/* ---------- Visual side ---------- */

.dgt-visual {
    --shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.35), 0 0 0 1px rgba(10, 10, 10, 0.06);
}

.flm-case-dark .dgt-visual {
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* offset outline behind the frame */
/* .dgt-backdrop {
    position: absolute;
    inset: 7% -5% -6% 8%;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
}

.dgt-case--rev .dgt-backdrop {
    inset: 7% 8% -6% -5%;
} */

/* browser frame */
.dgt-browser {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dgt-browser:hover {
    transform: translateY(-6px);
}

.dgt-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #f1efeb;
}

.dgt-browser-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d2cdc5;
}

.dgt-browser-bar i:first-child {
    background: var(--accent-color);
}

.dgt-browser-bar span {
    flex: 1;
    min-width: 0;
    margin-left: 10px;
    padding: 4px 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.7rem;
    color: #777;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dgt-browser img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.dgt-browser--wide img {
    aspect-ratio: 16 / 9;
}

.flm-case-dark .dgt-browser {
    background: #161616;
}

.flm-case-dark .dgt-browser-bar {
    background: #1d1d1d;
}

.flm-case-dark .dgt-browser-bar i {
    background: #444;
}

.flm-case-dark .dgt-browser-bar i:first-child {
    background: var(--accent-color);
}

.flm-case-dark .dgt-browser-bar span {
    background: #2a2a2a;
    color: #aaa;
}

/* floating chips */
.dgt-float,
.dgt-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 14px;
    background: #fff;
    color: #0a0a0a;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
    animation: dgtFloat 6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.dgt-float i,
.dgt-chip i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.dgt-float--br {
    right: -4%;
    bottom: -6%;
}

.dgt-case--rev .dgt-float--br {
    right: auto;
    left: -4%;
}

.dgt-chip {
    padding: 9px 16px;
    border-radius: 999px;
}

@keyframes dgtFloat {
    50% {
        transform: translateY(-8px);
    }
}

/* case 02: arch + badge */
.dgt-arch {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 20px 20px;
    box-shadow: var(--shadow);
}

.dgt-arch img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dgt-arch:hover img {
    transform: scale(1.06);
}

.dgt-badge {
    position: absolute;
    z-index: 2;
    right: -3%;
    bottom: 9%;
    display: grid;
    place-items: center;
    width: clamp(96px, 12vw, 128px);
    aspect-ratio: 1;
    padding: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white, #fff);
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.15;
    text-align: center;
}

.dgt-case--rev .dgt-badge {
    right: auto;
    left: -3%;
}

/* case 03: edition strip */
.dgt-editions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.dgt-editions img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0.55;
    transition: opacity 0.3s;
}

.dgt-editions li:first-child img {
    opacity: 1;
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.dgt-editions li:hover img {
    opacity: 1;
}

.dgt-editions span {
    display: block;
    margin-top: 8px;
    font-family: var(--font-sans, sans-serif);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
}

/* case 04: five become one */
.dgt-merge-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.dgt-mini {
    margin: 0 4%;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.dgt-mini img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.dgt-merge-lines {
    display: block;
    width: 100%;
    height: 56px;
    overflow: visible;
}

.dgt-merge-lines path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    vector-effect: non-scaling-stroke;
}

/* case 06: fanned cards */
.dgt-visual--fan {
    position: sticky;
}

.dgt-fan {
    position: relative;
    aspect-ratio: 1 / 1.02;
}

.dgt-fan::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.14;
}

.dgt-fan-card {
    position: absolute;
    width: 62%;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dgt-fan-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dgt-fan-card.c1 {
    z-index: 1;
    left: 0;
    top: 10%;
    transform: rotate(-8deg);
}

.dgt-fan-card.c2 {
    z-index: 3;
    left: 19%;
    top: 0;
}

.dgt-fan-card.c3 {
    z-index: 2;
    right: 0;
    top: 16%;
    transform: rotate(8deg);
}

.dgt-fan:hover .c1 {
    transform: translateX(-4%) rotate(-12deg);
}

.dgt-fan:hover .c2 {
    transform: translateY(-3%);
}

.dgt-fan:hover .c3 {
    transform: translateX(4%) rotate(12deg);
}

/* ---------- Responsive & motion ---------- */

@media (max-width: 991.98px) {
    .dgt-grid,
    .dgt-case--rev .dgt-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .dgt-visual,
    .dgt-case--rev .dgt-visual {
        order: -1;
        position: static;
    }

    .dgt-bgnum {
        font-size: 8rem;
    }

    .dgt-backdrop {
        inset: 6% -2% -4% 4%;
    }

    .dgt-case--rev .dgt-backdrop {
        inset: 6% 4% -4% -2%;
    }

    .dgt-chip,
    .dgt-float {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .dgt-stats {
        grid-template-columns: 1fr;
    }

    .dgt-chip:nth-of-type(n + 4) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dgt-float,
    .dgt-chip {
        animation: none;
    }

    .dgt-browser,
    .dgt-fan-card,
    .dgt-arch img {
        transition: none;
    }
}

